- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
import re | |
from pymongo import MongoClient | |
# Connect to the MongoDB server | |
client = MongoClient("mongodb://mongodb://localhost:27017") | |
# Select the desired database and collection | |
db = client["avalon"] | |
collection = db["your-project-name"] |
--------------------------------------------------------------------- | |
-- Converter between win-125x and UTF-8 strings | |
--------------------------------------------------------------------- | |
-- Written in pure Lua, compatible with Lua 5.1-5.4 | |
-- Usage example: | |
-- require("win-125x") | |
-- str_win = utf8_to_win(str_utf8) | |
-- str_utf8 = win_to_utf8(str_win) | |
--------------------------------------------------------------------- |
# mcd: menu driven cd (intended for .bashrc) | |
function mcd { | |
PS3="Which directory: " | |
select d in '/some/common/path/i/use/'\ | |
'/another/common/path/'\ | |
'/and/so/forth/' | |
do | |
cd $d | |
break |
import bpy | |
#This blender plugin will export everything in a collection named Export with fbx format with FBX scale. | |
#You can adjust to your needs for options - usefull for making sure you have consistent | |
#export settings for your FBXs and an easy way to reach them. I suggest you add it to quick shortcuts as well. | |
#I just press q->export and enter and then I have exported a new version. | |
bl_info = { | |
"name": "Export whitebox mesh", | |
"blender": (2, 80, 0), | |
"category": "Exporter", |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
$ git clone https://git.samba.org/samba.git
$ brew install jansson
$ brew install readline && brew link --force readline
$ cpan # then w/in cpan install Parse::Yapp module (might be 'install Term::Parse::Yapp')
$ brew intsall libarchive
$ export LDFLAGS="-L/usr/local/opt/libarchive/lib"
$ export CPPFLAGS="-I/usr/local/opt/libarchive/include"
$ ./configure --prefix=/opt/samba --without-ad-dc --without-acl-support
# Create a new caption file | |
~~~~~~~~ | |
ffmpeg -i captions.srt captions.ass | |
~~~~~~~~ | |
# Add subtitles to main video without changing it | |
~~~~~~~~ | |
ffmpeg -i video.mp4 -vf "subtitles=captions.ass:force_style='OutlineColour=&H80000000,BorderStyle=4,Outline=1,Shadow=0,MarginV=20'" subtitled-video.mp4 |
Consumer ready 360° cameras are becoming ever more accessible and many people are experimenting with a variety of 360° content. Out of the many cameras on the market the Ricoh Theta S is one of the most user-friendly, turn-key solutions with lots of built-in features. However, the camera's videos are limited 1920x960 resolution and the Theta+ app only lets you create a timelapse with up to 300 or 400 images. The workaround is to use interval shooting to capture as many images as you'd like at the 5376x2688 to full resolution and then stitch them together manually into an HD video. There are few GUI solutions (especially open-source/free) which let you do this with ease. Here's how you do it:
------------------------------------------------------------------------------ | |
-- Copy to Clipboard Script for Fusion - 2017-03-13 06.27 AM | |
-- by Andrew Hazelden | |
-- www.andrewhazelden.com | |
-- andrew@andrewhazelden.com | |
------------------------------------------------------------------------------ | |
-- Display the extra debugging verbosity detail in the console log | |
printStatus = true | |
-- printStatus = false |