Skip to content

Instantly share code, notes, and snippets.

View dackdel's full-sized avatar

dackdel dackdel

View GitHub Profile
@joepie91
joepie91 / vpn.md
Last active June 3, 2024 07:42
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@kylemcdonald
kylemcdonald / FAT-lost.md
Last active August 29, 2015 14:26
The other reasons F.A.T. Lab died.

Today F.A.T. Lab shut its doors with this lovely note from Magnus Eriksson and Evan Roth.

But the "we lost to them" narrative is only one perspective. As a "virtual research fellow" since 2011, I had the opportunity to both look up to F.A.T. as an outsider for its first half, and get the inside scoop for the second half. But my first project appears on page 20 of the blog's 200+ pages. With that in mind, here are some other stories about why F.A.T. "lost":

  1. F.A.T. lost its rowdy juvenile edge when almost everyone got married, had kids, got (mostly) real jobs. The biggest producers from early F.A.T. effectively "retired" from producing F.A.T.-style work.
  2. There was not enough new energy to replace these retired members. To fix this, sometimes a member would propose adding someone. Inevitably, someone else would suggest they "weren't F.A.T. enough", or just thinking about how many inactive members we had, and how much of a boys club it was, would get us down and discussion woul
@BobBurns
BobBurns / wsds.php
Last active August 29, 2015 14:17
php websocket device server
#!/usr/bin/php
<?php
/* websocket/device server program for raspberry pi
* this program only deals with packets that are 125 bytes max
* currently only one client can connect at a time. Maybe not a bad thing.
* run as super user (for gpio access)
* check out https://gist.github.com/BobBurns/6f83930912da4094f014 for the client html code
* much of the juicy bits adapted from ghedipunk/PHP-Websockets
*
@tonymtz
tonymtz / gist:d75101d9bdf764c890ef
Last active May 7, 2024 13:07
Uninstall nodejs from OSX Yosemite
# first:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
# go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*
@staltz
staltz / introrx.md
Last active June 2, 2024 11:03
The introduction to Reactive Programming you've been missing
@bomberstudios
bomberstudios / sketch-plugins.md
Last active February 26, 2024 07:02
A list of Sketch plugins hosted at GitHub, in no particular order.
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active May 17, 2024 02:53
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@ruby0x1
ruby0x1 / multi-player-html5-games-00-express.js
Created March 27, 2012 15:01
Multi-player games in HTML5
/* Copyright (c) 2012 Sven "FuzzYspo0N" Bergström
http://underscorediscovery.com
MIT Licensed. See LICENSE for full license.
Usage : node simplest.app.js
*/
var
// Original code from http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/
var metas = document.getElementsByTagName('meta');
var i;
if (navigator.userAgent.match(/iPhone/i)) {
for (i=0; i<metas.length; i++) {
if (metas[i].name == "viewport") {
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
}
}