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 | |
rem http://i.bittwiddlers.org/b/KHh | |
rem goto extract | |
goto annotate | |
rem goto combine | |
:extract | |
rem Extract frames: | |
rem del /f /q glass.avi |
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 | |
rem Final result: http://i.bittwiddlers.org/b/KH8 | |
rem goto annotate | |
:capture | |
ffmpeg -i Sherlock.3x02.the_sign_of_three.mkv -ss 10:37 -t 10 fr%d.png | |
:annotate | |
del /f /q v*.txt 2>NUL | |
rem Bloody psychopath! |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>Google Chrome</appname> | |
<equal>com.google.Chrome</equal> | |
</appdef> | |
<item> | |
<name>Refresh with F5 in Chrome</name> | |
<identifier>private.Chrome.Refresh</identifier> | |
<only>Google Chrome</only> |
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
<#@ template debug="false" hostspecific="false" language="C#" #> | |
<#@ assembly name="System.Core.dll" #> | |
<#@ import namespace="System.Linq" #> | |
<#@ output extension=".generated.cs" #><# | |
// Describe the immutable model types to generate: | |
var types = new[] { | |
new { | |
name = "ImmutableSample", | |
comment = "A complete commit object.", | |
idType = "int", |
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
Moved to https://github.com/JamesDunne/QueryAshxClient |
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
/// <summary> | |
/// Represents a connection string that is guaranteed to have been altered to enable asynchronous processing. | |
/// </summary> | |
public sealed class SqlAsyncConnectionString | |
{ | |
private readonly string _connectionString; | |
/// <summary> | |
/// Creates a connection string prepared for enabling asynchronous processing with an optional connection timeout. | |
/// </summary> |
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.Linq; | |
using System.Threading.Tasks; | |
namespace IrcBots { | |
public class BigBenIrcBot : PircBot { | |
const string IRC_CHANNEL = "#bitswebteam"; | |
public BigBenIrcBot() { setName("isu_big_ben"); } | |
static void Main() { | |
var bot = new BigBenIrcBot(); |
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
#include <stdlib.h> | |
#include <stdio.h> | |
#ifdef _WIN32 | |
#include <sys/timeb.h> | |
#else | |
#include <sys/time.h> | |
#endif | |
#include <time.h> | |
double |
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
#include <stdio.h> | |
#include <stdarg.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <fcntl.h> | |
#include <asm/termios.h> | |
#include <unistd.h> | |
typedef unsigned char u8; |
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
// Returns true or false if flash installed or not. Tested with IE8 on Windows 7 and Chrome on Win7 and Mac. | |
(function() { var ie_flash; try { ie_flash = (window.ActiveXObject && (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) !== false) } catch(err) { ie_flash = false; } var _flash_installed = ((typeof navigator.plugins != "undefined" && typeof navigator.plugins["Shockwave Flash"] == "object") || ie_flash); return _flash_installed; })() |
OlderNewer