Skip to content

Instantly share code, notes, and snippets.

Saman Bemel-Benrud samanpwbb

Block or report user

Report or block samanpwbb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Neurogami
Neurogami / glitch.rb
Created Aug 12, 2013
Simple script to rin perfectly good image files.
View glitch.rb
#!/usr/bin/env ruby
=begin
Simple script to smack your glitch up.
Call this program with the name of an image file, and two numbers
The first number is used to determine when to mess with a byte in the
image file. If you pass in, say 2000, then even 2000th byte gets tweaked.
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active Oct 14, 2019
A badass list of frontend development resources I collected over time.
View frontendDevlopmentBookmarks.md
@tmcw
tmcw / codemirror_keymap.md
Created May 30, 2013
CodeMirror keyMap Missing Documentation
View codemirror_keymap.md

An addendum to CodeMirror's keyMap documentation, which unfortunately glosses over the 'connecting the wires' section.

CodeMirror.keyMap.tabSpace = {
    Tab: function(cm) {
        var spaces = Array(cm.getOption("indentUnit") + 1).join(" ");
        cm.replaceSelection(spaces, "end", "+input");
    },
    fallthrough: ['basic']
};
You can’t perform that action at this time.