- Cup of coffee
- Skyline
- Headphones
- Hot air balloons
- Rainy day
- Lake / Cabin
- Airplanes
- Planets
- Table with Chairs
- Bicyclist / Motorcycle
This file contains hidden or 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
defaults write com.apple.dock expose-animation-duration -float 0.1 && killall Dock |
This file contains hidden or 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 number = { | |
primes: [], | |
computeSieve: function(max) { | |
var composites = [], primes = []; | |
for ( var composite = 2; composite < max; composite++ ) { | |
this.computeComposite(primes, composites, composite, max); | |
} | |
return primes; |
Glenn Block @gblock
Justin Rushbatch @jrusbatch
- C# on a diet
- node.js + npm
- nuget
This file contains hidden or 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
public static class SerializationExtensions | |
{ | |
public static string Serialize<T>( this T obj ) | |
{ | |
var serializer = new DataContractSerializer( obj.GetType() ); | |
using ( var writer = new StringWriter() ) | |
{ | |
using ( var stm = new XmlTextWriter( writer ) ) | |
{ | |
serializer.WriteObject( stm, obj ); |
This file contains hidden or 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
require 'net/http' | |
require 'uri' | |
uri = URI.parse('http://hidemyaccess.info/includes/process/php?action=update') | |
response = Net::HTTP.post_form(uri, {'u' => 'http://www.google.com'}) | |
puts response |
This file contains hidden or 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
tfpt unshelve "Shelveset name" /migrate /source:"$/project/branch/1.2" /target:"$/project/trunk" |
This file contains hidden or 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
set history=700 | |
filetype plugin on | |
filetype indent on | |
set autoread | |
set nocompatible | |
" Show line numbers | |
set number |
This file contains hidden or 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 bool TryToFindGuid( string html, out string guid ) | |
{ | |
const string guidRegexString = @"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"; | |
var match = Regex.Match( html, guidRegexString, RegexOptions.Compiled ); | |
guid = match.Value; | |
return match.Success; | |
} |