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 / 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
Last time i checked\nIt was December seventh\nJokes on me yea time flew by\nIt was crazy living, got me feeling so sky high\nWorking on myself got me workin on a track\nPace to messy cant keep track of the things that i wanted\nSituation where my mind cant take it\nAll worked up, confused and stressed \nAppreciate the fact that im still livin blessed\nShake the pain off my chest\nWrite lyrics down on my desk\nUnderstand my paradise \nsee this world with my eyes\nI take you on a ride with me\nStep into a place where the journeys for free\nWhy dont you take the red pill lets see what you can be\nSeven to 7th, a time of unwind from reality\nThe pain, the sorrow, greed, the victory\nGoes to show to show its me against me\n\n\n\n\nso much shit fed to the lies\ncall me bad im just not that nice\nheld her hand as my momma cries\nthey rollin crumble\nim just rollin my dice\nthe plutocracy is real\naint nobody see it\neverybody making the deal\na dance with the devil\neverybody see the evil\nyou can check me my flow s
@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
@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" }
]
$background: #111
$base: lighten($background, 5%)
$form: #222326
$input-field: $form
$input-field-border: lighten($input-field, 15%)
$copy-gray: #EEE
$purple: #56457D
store = HostedBeatStore.new
store.add_from_url("http://www.youtube.com/watch?v=nxe3jPGMXoA", "bangers")
store.add_from_url("http://www.youtube.com/watch?v=zF7100R-uzk", "bangers")
store.add_from_url("http://www.youtube.com/watch?v=uoz3sE32Z8A", "bangers")
store.add_from_url("http://www.youtube.com/watch?v=2wCr7nj8yk4", "bangers")
store.add_from_url("http://www.youtube.com/watch?v=QbOGyAoz1Jg", "bangers")
store.add_from_url("http://www.youtube.com/watch?v=2CoSftutIRU", "old_school")
store.add_from_url("http://www.youtube.com/watch?v=R5j-Vbt_vmg", "old_school")
store.add_from_url("http://www.youtube.com/watch?v=X1SSqEJiX8A", "old_school")
var username = 'Sagethedestroyer';
var postsToDelete = [];
$('.m-moot.m-expanded').each(function(idx, el) {
$el = $(el);
if ($el.find('.m-facelink').attr('title') === username) {
postsToDelete.push($el);
}
});

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.
{
"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 / 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