Skip to content

Instantly share code, notes, and snippets.

View Overload119's full-sized avatar
🎯
Focusing

Amir Sharif Overload119

🎯
Focusing
View GitHub Profile
@Overload119
Overload119 / gist:4004545
Created November 2, 2012 21:46
How I Hacked My Own Pseudo-Data Plan

#How I hacked my own pseudo-data plan ##An exploration in being frugal by Amir Sharif

###Preface I don't have a data plan.
I do however have a social plan, which is pretty much unlimited Twitter & Facebook.

That's all I ever use on my phone anyway, but every now and then I'd like to quickly search the web for something. Something really quick, like what's the population of China? I can't do that.

Another big annoyance is that all the posts on Facebook and Twitter that link to external websites won't load unless the domains of those images are Facebook or Twitter. This prevents me from viewing the images in my feeds that contain anything from Instagram, Imgur, etc. As you can imagine this makes my feed very dull.

###Being resourceful

{
"auto_complete": false,
"auto_complete_commit_on_tab": false,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
@Overload119
Overload119 / sublime-keymap.json
Last active June 15, 2016 20:24
Sublime Text Preference.sublime-settings
[
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+b"], "command": "toggle_bookmark" },
{ "keys": ["super+alt+b"], "command": "next_bookmark" }
]
@Overload119
Overload119 / Developer Effiency.md
Last active December 5, 2018 04:16
Developer Effiency

A list of tools I use to make myself more efficient. Feel free to collaborate!

Mac OSX

  1. OSX For Hackers a bunch of optional settings for hackers on Mac OSX to make it work better. I just read through it and cherry pick the settings I like.
  2. FinderPath adds a "address bar" to a Mac finder. Must be invoked by the default hotkey, Cmd + Shift + G while in Finder.
  3. Alfred: A remarkable productivity app. The clipboard is one of my favourite features. Also really quick directory searching. Completely scriptable so you can make it do almost anything.
  4. Quiver: Programmer's Notebook - it makes it really easy to have your own internal docs for a variety of things and it supports inline code, code highlighting, and search.
  5. Quick Look Plugins: Quick look is an awe
@Overload119
Overload119 / muut.delete.js
Last active August 29, 2015 14:23
Muut Delete Scripts
// Open the sticky thread and close all other threads.
// After the sticky thread is done, REFRESH the page otherwise you'll delete all posts in every thread you open up.
// To run, just copy and paste the below script. It'll automatically delete posts in a thread from top to bottom every 70 miliseconds.
var deletePost = function() {
commentReply = $('.m-replies .m-reply').first();
if (commentReply.find('a').attr('title') != 'Amir') {
commentReply.find('.m-action.m-remove').click()
$('.m-mask.m-prompt.m-active .m-dialog-foot button').last().click()
}

RapPad Admin Guide

Last updated: October 29

What RapPad is meant to do:

  • Provide a place for artists to get feedback and genuine thoughts for their music.
  • Increase exposure by featuring the work that our artists create.
  • Create great products, and tutorials that can assist in the things that artists care about; lyricism, producing, mixing, etc.
  • Create a fun engaging place for hip hop heads through battles, and cyphers.
@Overload119
Overload119 / rappad_rules.md
Last active August 29, 2015 14:24
RapPad Rules

RapPad Community Guidelines

Last updated July 9 2015

  1. Posting gore, porn, or any other "shocking" media for either attention grabbing or otherwise, in Chat or any other parts of the website gets you immediately banned and your content removed.
  2. Spam is against the rules and you will typically be warned first. The following constitutes as spam:
  • When you share the same piece of content (such as a link, rap, etc.) more than once a day in the Chat section. You are allowed to bump previously created threads.
  • When you create new threads with meaningless topics that don't spur conversation. (threads with titles such as "yo" or "sup")
  • When you create multiple threads in a short period of time (for example, 3 threads in 2 minutes), regardless of topic.
  • When you create a new thread with a directed title, 'i.e Hey user, come chat here'.
@Overload119
Overload119 / trophies.md
Last active October 7, 2015 23:16
These are the guidelines for handing out trophies on RapPad.

RapPad Trophy Guidelines

  1. People who report bugs get: "Bug Reporter"
  2. People who report people: "Community Watch"
  3. People who suggest original ideas and have them implemented: "Idea Machine"
  4. People who give good feedback, or provide resources for others: "Most Helpful"
  5. People who contribute beats to the cypher: "Contributing Producer"
  6. People who are admins: "X Admin" - where X can be anything the admin wants.
  7. People who contribute to the blog: "Blog Contributor"
@Overload119
Overload119 / questions.md
Last active October 7, 2015 01:20
RapPad Questions for a Producer
  1. Name
  2. Age
  3. Location
  4. How did you get started making music, and how long have you been doing it?
  5. What equipment/software do you use to make beats?
  6. What are some of your musical influences, or people you look up to in the industry?
  7. What would you say is distinctive about your production?
  8. What do you like to do for fun outside of music?
  9. What's next for you - what will you be up to in the coming months?
@Overload119
Overload119 / kindle-sync-to-anki.rb
Last active July 25, 2016 20:19
I needed a way to sync highlights and vocabulary from my Kindle to my Anki. This would help me learn new words, but also remember the interesting parts of the books I read. I wrote up some utility functions in Ruby, it stores a local version of what you've already synced then uses AnkIWeb to sync. It uses a dictionary API to get the definition o…
require 'mechanize'
require 'sqlite3'
require 'wordnet-defaultdb'
require 'wordnet'
LOCAL_DB_PATH = '<yourpath>.db'.freeze
WORDS_TABLE_NAME = 'words_v2'.freeze
HIGHLIGHTS_TABLE_NAME = 'highlights_v2'.freeze
USERNAME = '<your username>'.freeze