This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016
This proposal is not longer active. Context: https://twitter.com/siddharthkp/status/909818777314902016
-- Script for creating the autoindent GIF for braceless.vim | |
-- https://github.com/tweekmonster/braceless.vim | |
to slowType(someText) | |
tell application "System Events" | |
repeat with i from 1 to count characters of someText | |
keystroke (character i of someText) | |
delay 0.15 | |
end repeat | |
end tell |
// Runnable from Linqpad 5 | |
// Must install the Sigil nuget package and include the Sigil namespace | |
void Main() | |
{ | |
var createSample = GetMapperDelegate(); | |
// try it out | |
createSample(23, "Hello").Dump(); | |
} |
################## | |
# Privacy Settings | |
################## | |
# Privacy: Let apps use my advertising ID: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# To Restore: | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
# Privacy: SmartScreen Filter for Store Apps: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
In [4]: class Foo(object): | |
...: def __init__(self, func=None): | |
...: if func: | |
...: # Better validation is required | |
...: self.execute = types.MethodType(func, self) | |
...: def execute(self): | |
...: print "Normal" | |
...: | |
In [5]: def execute(self): |
var isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0; | |
var isFirefox = typeof InstallTrigger !== 'undefined'; | |
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0; | |
var isChrome = !!window.chrome && !this.isOpera; | |
var isIE = false || !!document.documentMode; |
Lightning talk on PyCon 2013: | |
http://www.youtube.com/watch?feature=player_detailpage&v=1vui-LupKJI#t=975 | |
Boston Python Meetup (January 2013) | |
http://www.youtube.com/watch?v=ulekCWvDFVI | |
PyCon Canada 2013 | |
http://www.youtube.com/watch?v=n8i2f6X0SkU | |
PyCon France 2013 |
After installing it http://sourceforge.net/projects/meld-installer/ | |
I had to tell git where it was: | |
git config --global merge.tool meld | |
git config --global diff.tool meld | |
git config --global mergetool.meld.path “C:\Program Files (x86)\Meld\meld\meld.exe” | |
And that seems to work. Both merging and diffing with “git difftool” or “git mergetool” |
Fountain pens: | |
- Sheaffer calligraphy set | |
- Parker calligraphy set | |
Nib holders | |
- Speedball | |
- Cretacolour | |
Nibs | |
- Speedball |
#!/usr/bin/env python | |
# Quick and dirty demonstration of CVE-2014-0160 by | |
# Jared Stafford ([email protected]) | |
# Modified so that it finds cookies | |
import sys | |
import struct | |
import socket | |
import time | |
import select |