Skip to content

Instantly share code, notes, and snippets.


  • Warsaw
Block or report user

Report or block stil

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
crmckenzie / appveyor.yml
Created Dec 14, 2015
Semantically Version NuGet Package Build/Test/Publish with AppVeyor
View appveyor.yml
version: 0.1.0.{build}
packageVersion: 0.1.0
- ps: $env:buildVersion = "$env:packageVersion.$env:appveyor_build_number"
- ps: $env:nugetVersion = "$env:packageVersion-beta-$env:appveyor_build_number"
- ps: Update-AppveyorBuild -Version $env:buildVersion
dhrrgn / console
Last active Nov 17, 2018
Adding global Options/Arguments to Symfony Console Applications
View console
#!/usr/bin/env php
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
require 'vendor/autoload.php';
$app = new Application;
0xABD /
Created Nov 24, 2013
android: fix photo and video timestamps from their filenames
# android - fix photo and video timestamps from their filenames
cd /sdcard/DCIM/Camera/
for i in IMG*.jpg; do touch -t ${i:4:8}.${i:13:6} $i; done;
gongzhitaao /
Last active Oct 23, 2019
Simple high resolution timer in C++

A simple Timer class that provides satisfying resolution.


  • Timer() constructs the timer.
  • .reset() resets the timer
  • .elapsed() returns elapsed seconds in double since last reset.
nztim / OpenWithSublimeText3.bat
Last active Jan 26, 2017 — forked from mrchief/OpenWithSublimeText2.bat
Add right-click context menu item for Sublime Text 3
View OpenWithSublimeText3.bat
@echo off
SET st2Path=C:\Program Files\Sublime Text 3\sublime_text.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
rem add it for folders
rem @reg add "HKEY_CLASSES_ROOT\Folder\shell\Open with Sublime Text 2" /t REG_SZ /v "" /d "Open with Sublime Text 2" /f
You can’t perform that action at this time.