git config --global url.https://github.com/.insteadOf git://github.com/
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
using System; | |
using System.IO; | |
using System.Text; | |
using System.Threading; | |
namespace LazyWriter | |
{ | |
class TypeWriter : System.IO.TextWriter | |
{ | |
private TextWriter originalOut; |
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
/* See before and after here: http://imgur.com/a/3HQML */ | |
#bottomSection { | |
visibility: hidden; | |
display: none; | |
} | |
#topSection { | |
visibility: hidden; | |
display: none; |
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
http://www.webpagefx.com/tools/emoji-cheat-sheet/ |
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
http://www.computerhope.com/keys.htm |
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
var a = ["~", "/", "|", "\"]; | |
// - : - | |
// ~ : ~ | |
var asyncLoop = function(o) { | |
var i = -1; | |
var loop = function() { | |
i++; |
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
private void Spin() | |
{ | |
Console.CursorVisible = false; | |
for (int i = 0; i < 3; i++) | |
{ | |
originalOut.Write(@"~"); | |
Console.SetCursorPosition(Console.CursorLeft - 1, Console.CursorTop); | |
originalOut.Write(@"\"); | |
Console.SetCursorPosition(Console.CursorLeft - 1, Console.CursorTop); |
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
@echo off | |
ping -t localhost|cmd /q /v /c "(pause&pause)>nul & for /l %%a in () do (set /p "data=" && echo(!time! !data!)&ping -n 2 localhost>nul" |
Taking two video clips, placing them side by side, combining 4 channels of audio into 2, and output.
ffmpeg -i video1.MP4 -i video2.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" -ac 2 output.mp4
This was done with two filters and the audio from both inputs.
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
ffmpeg -i input.mp4 -c copy -ss 00:04:25.000 -to 00:09:25.000 output.mp4 |
OlderNewer