This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh - | |
# Example values | |
pulseaudio_source=0 | |
thread_queue_size=32 | |
video_size=1920x1080 | |
framerate=30 | |
record_area=$DISPLAY+0,0 | |
naudio_channels=2 | |
outfile=capture.mkv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import timedelta | |
from subprocess import Popen | |
'''ffmpeg_trim_cut_video2video.py | |
Edit section *User data*, and uncomment one of the commands `cmd` | |
''' | |
# User data | |
tstart = timedelta(minutes=18, seconds=20, milliseconds=0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src=src_img.png | |
dst=dst_img.png | |
imgdate="2016-02-04T15:03:34-05" | |
cp -av $src $dst | |
exiftool -u -a -All= $dst | |
exiftool -use MWG \ | |
-Copyright="Image by Pedro Ivan Lopez. All rights to the respective authors." \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# coding=utf-8 | |
import sys | |
from os import walk | |
from os.path import join | |
from subprocess import Popen | |
ROOTFP = sys.argv[1] | |
PERCENTAGE = sys.argv[2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
// Write code to test your extensions here. Press F5 to compile and run. | |
var names = new[] { new { Name = "Tom" }, new { Name = "Dick" }, new { Name = "Harry" }, new { Name = "Mary" }, new { Name = "Jay" } }.AsEnumerable(); | |
names.DumpAsInsert("test"); | |
} | |
// Define other methods and classes here | |
public static class MyExtensions | |
{ |
OlderNewer