Put flip somewhere in your $PATH and chmod a+x it.
Copy fuck into ~/.bashrc.
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| public class ObjToLines { | |
| public static TextReader streamFromTextAsset(TextAsset text){ | |
| return new StringReader(text.text); | |
| } |
| using UnityEngine; | |
| using UnityEditor; | |
| public class EditorSceneShortcuts : MonoBehaviour | |
| { | |
| // Edit this line to define your shortcut in the editor | |
| // In this example, #1 is the shortcut | |
| // % = ctrl (win) or cmd (osx) | |
| // # = shift | |
| // & = alt |
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.Events; | |
| namespace Cluster { | |
| public class CollisionCall : MonoBehaviour { | |
| public LayerMask layerMask = -1; |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
| require 'tumblr_client' | |
| require 'mechanize' | |
| require 'date' | |
| require 'yaml' | |
| require 'uri' | |
| Tumblr.configure do |config| | |
| config.consumer_key = "consumer_key" | |
| config.consumer_secret = "consumer_secret" | |
| config.oauth_token = "oath_token" |
| #!/bin/bash | |
| # License: Public Domain. | |
| # Author: Joseph Wecker, 2012 | |
| # | |
| # -- DEPRICATED -- | |
| # This gist is slow and is missing .bashrc_once | |
| # Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch | |
| # (Thanks gioele) | |
| # | |
| # Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile? |
| <!doctype html> | |
| <head> | |
| <style> | |
| body { | |
| font: 10px sans-serif; | |
| } | |
| #main { | |
| left: 25%; | |
| position: absolute; | |
| } |
| #!/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 | |
| # |