Skip to content

Instantly share code, notes, and snippets.

@analogpixel
analogpixel / gitRemote.sh
Created December 10, 2014 18:08
Add a second remote git repo for push
# set a second remote (hopefully)
git remote set-url origin https://github.com/analogpixel/pyRoverGame.git
@analogpixel
analogpixel / speedBarSetKey.lisp
Created December 26, 2014 23:41
Set a key to change the speedbar location
(defun sb-sk (k)
(setq default-directory k)
(speedbar-update-contents)
(speedbar-get-focus)
)
(global-set-key (kbd "C-c C-1") (lambda () (interactive) (sb-sk "c:/users/user/Desktop/") ))
@analogpixel
analogpixel / lindenmayerSystem.py
Created July 7, 2015 22:06
Python Turtle Lindermayer System
#!/usr/bin/python
import turtle
system = {
'a': ['b','|','c'],
'b': ['b'],
'c': ['b','|','d'],
'd': ['e','/','d'],
'e':
@analogpixel
analogpixel / 3dturle.pde
Created July 8, 2015 21:10
3d turtle and stuff
import java.util.*;
String system;
String system2;
Turtle t;
class Turtle {
Stack st;
@analogpixel
analogpixel / svgPathAnimation.html
Created January 6, 2016 17:49
Animating the SVG path
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
background: #5B618A;
}
#!/usr/bin/env python
# https://github.com/berzerk0/Probable-Wordlists/tree/master/Real-Passwords
import requests
import re
import hashlib
from threading import *
from queue import *
import argparse