Skip to content

Instantly share code, notes, and snippets.

View alper's full-sized avatar
Always coffee

Alper Cugun alper

Always coffee
View GitHub Profile
@nasser
nasser / meshes.clj
Created November 15, 2014 00:36
pure functional composable mesh generation
(import Selection MeshFilter Vector3 Mesh Mathf)
(use 'clojure.repl)
;; mesh updates
(defn update-mesh! [^MeshFilter mf vs tris]
(set! (.. mf mesh vertices)
(into-array Vector3 vs))
(set! (.. mf mesh triangles)
(into-array System.Int32 tris)))
@vesan
vesan / rails-install-ubuntu.sh
Created September 13, 2011 18:55
Rails Girls Install Scripts for OS X and Ubuntu
set -e
echo "Updates packages. Asks for your password."
sudo apt-get update -y
echo "Installs packages. Give your password when asked."
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev nodejs -y
echo "Installs ImageMagick for image processing"
sudo apt-get install imagemagick --fix-missing -y

Markdown formatted version of the plain text source document. The views expressed in this document are the original (anonymous) author's.

After reading this, read the response from 10Gen's CTO.

Don't use MongoDB

I've kept quiet for awhile for various political reasons, but I now feel a kind of social responsibility to deter people from banking their business on MongoDB.

@atduskgreg
atduskgreg / actants.asciidoc
Created February 29, 2012 23:53
A list of every example actant mentioned in the first half of Prince of Networks by Graham Harman

A list of every example actant mentioned in the first half of Prince of Networks by Graham Harman

"These long lists of random actors must continue until their plurality and autonomy is no longer suppressed. We still know nothing about these objects or what they entail. All that is clear is their metaphysical equality. The world is a stage filled with actors; philosophy is object-oriented philosophy." — Harman, Prince of Networks.

"[These lists are] a repeated sorcerer’s chant of the multitude of things that resist any unified empire." — Harman, Prince of Networks

  • lactc acid ferment

  • city of Rouen

  • the laboratory on the Rue d’Ulm

  • God

@jvdgoot
jvdgoot / gist:2427304
Created April 20, 2012 09:19
Allow text selection in Quick Look
# Allow text selection in Quick Look
defaults write com.apple.finder QLEnableTextSelection -bool true
@simonw
simonw / setting-up-sublime-text-2.txt
Created July 11, 2012 12:35
Setting up Sublime Text 2
First, install it from http://www.sublimetext.com/2
Next, install the package control extension from here:
http://wbond.net/sublime_packages/package_control
Installation instructions here: http://wbond.net/sublime_packages/package_control/installation
Restart Sublime, then hit Shift+Apple+P and search for "Package Control: Install Package"
@cbetta
cbetta / case.sh
Created October 17, 2012 17:02
How to change the case of a filename in Git
git mv readme.md readme.md.temp
git mv readme.md.temp README.md
127.0.0.1 aachener-zeitung.de
127.0.0.1 a-beig.de
127.0.0.1 abendblatt.de
127.0.0.1 abendzeitung.de
127.0.0.1 aerztezeitung.de
127.0.0.1 alfelder-zeitung.de
127.0.0.1 aller-zeitung.de
127.0.0.1 allgaeuer-anzeigeblatt.de
127.0.0.1 allgemeine-zeitung.de
127.0.0.1 all-in.de