Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View drewcassidy's full-sized avatar

Andrew Cassidy drewcassidy

View GitHub Profile

[06-Jul-17 07:11 PM] Shephrey#7269 the Shrek Chevy kills all speed detectives<|endoftext|>Psalm 13:16-17 New International Version (NIV) God's Flying Rover | The Hiding of God's Hands 16 When a man sees the glory of God in the Lord he forgets His days 4 As the golden image of Her, covering the heavens and surrounding regions, rises up from among His people. 5 Now, look, she is the Veiled One. 6 A woman. Look west, she is The Spongest One. 5 Look east, She is Chastened One, covering the entire earth. 6 She stands before the Beloved One. 7 She pleases and does not judge. She is His loving companions. 7 ...See, their eyes are like stars. 8 They only

Shader: Unlit/Transparent Cutout
Shader: Unlit/Transparent
Shader: Unlit/Color
Shader: UI/Unlit/Text
Shader: UI/KSP/UnlitMeshStencil (+2)
Shader: UI/KSP/UnlitMeshStencil
Shader: UI/KSP/Default (Transparent +2)
Shader: UI/KSP/Color Overlay
Shader: UI/Default Font
Shader: UI/Default
@low-ghost
low-ghost / client.py
Last active September 8, 2021 11:41
Simple Python to Javascript 2 way unix socket
"""Creates a python socket client that will interact with javascript."""
import socket
socket_path = '/tmp/node-python-sock'
# connect to the unix local socket with a stream type
client = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
client.connect(socket_path)
# send an initial message (as bytes)
client.send(b'python connected')
# start a loop
@mcnees
mcnees / Favmoji.css for Tweetdeck
Last active February 21, 2017 02:41
Favmoji.css for Tweetdeck in the Browser
/* Install the Stylish extension for your browser, then add this code as a new Style. */
/* Make sure it applies to the domain 'http://tweetdeck.twitter.com ' */
/* Thank you to @ukuleledan. His code at http://pastebin.com/45cFJ5PR */
/* showed me how to fix the corner badges of faved tweets. */
/* For whatever reason, you occasionally have to reload the page */
/* for Tweetdeck to notice these changes. */
/* Tweet bugs or neat additions to @mcnees */
@garbados
garbados / gist:f82604ea639e0e47bf44
Created July 27, 2014 23:07
Falsehoods Programmers Believe About Gender
  1. There are two and only two genders.
  2. Okay, then there are two and only two biological genders.
  3. Gender is determined solely by biology.
  4. Okay, it’s mostly determined by biology, right?
  5. Please tell me it’s determined by DNA.
  6. Gender can be reliably determined through visual means. After all, no man would ever wear a burka.
  7. Once gender is set, it never changes.
  8. Even if the gender can change, it will only change from the one value to the other value.
  9. Only one gender can be “active” at the same time.
  10. We’re tracking gender now, so we’ve always tracked it.
@phillbaker
phillbaker / lmu.m
Created November 17, 2012 20:23
Macbook ambient light sensor data
// Compile with $ gcc -o lmutracker lmu.m -framework IOKit -framework CoreFoundation -framework Foundation
// Usage: ./lmu [now]
// Prints out the value from the ambient light sensor and the back light LED every 1/10 of a second. Optionally print just one value.
// Inspired by the code found at
// http://google-mac-qtz-patches.googlecode.com/svn-history/r5/trunk/AmbientLightSensor
// and http://osxbook.com/book/bonus/chapter10/light/
// and http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Archives/Computing/2010_February_10#Mac_OS_X_keyboard_backlight_drivers
// http://forums.macrumors.com/showthread.php?t=1133446
#include <stdio.h>
@ronhuang
ronhuang / bulk_transcode.applescript
Created October 20, 2012 17:05
Applescript to bulk transcode video files using Handbrake (creation/modification date preserved)
(*
** TRANSCODE TO APPLE UNIVERSAL
** This droplet will convert any file/folder dropped onto it or selected to the Apple Universal format using Handbrake.
** It currently will reuse the same filename for all files except MTS files, with which it will rename using the file's creation timestamp.
**
** by Jason Chong
** http://jasechong.wordpress.com
** jchong@iinet.net.au
**
** Revision Description
@jagregory
jagregory / gist:710671
Created November 22, 2010 21:01
How to move to a fork after cloning
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear!
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy.
* Off the top of my head *
1. Fork their repo on Github
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it
git remote add my-fork git@github...my-fork.git