Skip to content

Instantly share code, notes, and snippets.

View hemanth's full-sized avatar
🐜
🧘‍♂️

Hemanth HM hemanth

🐜
🧘‍♂️
View GitHub Profile
# Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html
Hi everyone, I'm Chris Wanstrath.
When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But
then I took a few moments and thought, Wait, why? Why me? What am I supposed
to say that's interesting? Something about Ruby, perhaps. Maybe the
future of it. The future of something, at least. That sounds
keynote-y.
// Alternative JavaScript Syntax
Person = :(name, address) { @name!, @address! }
Person::inspect = :{ <: "{@name} lives at {@address}" }
tj := Person('TJ', '314 Bessborough ave')
bob := Person('Bob', 'Some place')
[tj, bob].each(:(person){ print(person.inspect()) })
# Ajaxterm was written by Antony Lesuisse (email: al AT udev.org),
# License Public Domain.
# Terminal class made serializable/picklealbe by using a Metaclass
# (c) 2009 FastSoft
# MIT License
import array, cgi, re
def TerminalMetaclass(name, bases, attys):
@hemanth
hemanth / mutt-gmail-conf.bash
Created June 29, 2010 07:31
Mutt+Gamil+SSL+Lables+Auto contact suggestions
# Set the basic credencials
#
set imap_user= 'gmailUser@gmail.com'
set imap_pass= 'password'
set hostname = "gmail.com"
set realname = "gmailUser"
# Set GMAIL specific folders likem sent mail, drafts, All mail
set spoolfile = "imaps://imap.gmail.com/INBOX"
set folder = "imaps://imap.gmail.com/"
@hemanth
hemanth / egit.textile
Created September 19, 2010 12:07 — forked from tekkub/egit.markdown

First, a warning

EGit/JGit is a reimplementation of git in java, due to this GitHub does not officially support it. Issues have happened and repositories have been corrupted by them. While it is usually a simple matter to repair these repos due to git’s distributed nature, be aware that EGit may not work as well as the official git binaries.

GitHub officially supports msysgit (openssh) on windows and precompiled or self-compiled binaries on mac and linux. The following guide was submitted by a user and may be out of date.


Another description on how to use EGit and how to upload to Github can be found in the following EGit Tutorial


@rkatic
rkatic / Readme.md
Created September 22, 2010 12:12
Userscript that auto appends things in reddit.

###Reddddit

Auto appends things scrolling down the page eliminating the need to click the next link.

##Install/Update

To toggle Auto Appending, click on the respective link near your username (above the login form). The asteriks near that toggler opens this page so you can easily check for new versions (specially if reddit changes).

Script will also check daily if there is a new version of it worth of user attention.

@rwaldron
rwaldron / array.extensions.md
Last active May 4, 2022 13:46
Array.from and Array.of
@johan
johan / dnd.js
Created December 4, 2011 22:03 — forked from johan/dnd.js
Drag and drop geo-json feature files to paint your planet!
// http://www.html5rocks.com/en/tutorials/file/dndfiles/
d3.select('svg')
.on('dragover', handleDragOver)
.on('drop', handleFileSelect)
;
function handleFileSelect() {
var event = d3.event
, files = event.dataTransfer.files // FileList object
, about = []
@dideler
dideler / bootstrapping.md
Last active April 8, 2024 04:15
Bootstrapping - a list of useful resources to get up and running quickly

Welcome!

UPDATE: This list is no longer maintained. I've moved it to its own repo so you can send suggestions as Pull Requests. https://github.com/dideler/bootstrapping/

For feedback or suggestions, please send a tweet (@dideler). Gist comments don't notify me. Pull requests aren't possible with gists (yet), so I don't recommend forking because then I can't easily get the change.

Starring this gist will give me an idea of how many people consider this list useful.