A version of Mike Bostock’s animated world countries, which uses a more accurate spherical interpolation.
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
# open your profile.ps1 and paste this in | |
# easiest way: | |
# > youreditorprogram.exe $profile | |
function Prompt { | |
$path = $(Get-Location).Path | |
if ($path.StartsWith($HOME, "CurrentCultureIgnoreCase")) { | |
$path = "~"+ $path.Substring($HOME.Length) | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Data; | |
using System.Windows.Documents; |
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
[alias] | |
behind = log HEAD~1..@{u} --decorate --oneline | |
ahead = log @{u}..HEAD --decorate --oneline |
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
using Akavache; | |
using Microsoft.Phone.Controls; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Threading.Tasks; | |
using System.Windows; | |
namespace akavache_dynamic_deserialization_3 | |
{ |
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
everything i write on medium is plausible to someone | |
xoxo j$ |
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
c:\>curl http://localhost:65432/wat/ | |
Hiya mister curl/7.26.0 | |
c:\> |
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
using System; | |
using System.Collections.Generic; | |
namespace FMUtils.FlexTreeView.Extensions | |
{ | |
public static class IEnumerableExtensions | |
{ | |
public static IEnumerable<T> Realize<T>(this IEnumerable<T> source, Action<T> action) | |
{ | |
foreach (T el in source) |
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
@echo off | |
REM Usage: `up <n>` | |
REM Will run `cd ..` n times | |
REM Put this file (`up.bat`) somewhere in your PATH | |
set many=1 | |
if not "%1"=="" set many=%1 | |
for /l %%x in (1, 1, %many%) do cd .. |
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 size = { | |
width: 650, | |
padding: 60, | |
radius: 250, | |
}; | |
// scale from unit positions to pixel positions | |
var scale = { | |
pixel: d3.scale.linear() | |
.domain([-1, 0, 1]) |
NewerOlder