Skip to content

Instantly share code, notes, and snippets.

View TFWol's full-sized avatar
😟

TFWol

😟
View GitHub Profile
@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@atenni
atenni / README.md
Last active April 24, 2024 01:36
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@dashed
dashed / github-pandoc.css
Created September 26, 2013 13:42
GitHub-like CSS for pandoc standalone HTML files (perfect for HTML5 output). Based on Marked.app's GitHub CSS. Added normalize.css (v2.1.3) in the prior to GitHub css.
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
@rxaviers
rxaviers / gist:7360908
Last active June 17, 2024 00:05
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@cowboy-cod3r
cowboy-cod3r / bash_ask_input.sh
Created December 7, 2013 18:41
Bash: Prompt for Input
# Ask use for input
# -e - if standard input is coming from a terminal, readline is used to obtain the line
# -p - display prompt on stderr without a trailing new line
default="/usr/locol/etc/"
read -e -p "Enter the path to the file [${default}]: " FILEPATH
FILEPATH=${FILEPATH:-${default}}
echo $FILEPATH
@stared
stared / software_for_scientists.md
Last active May 9, 2024 13:46
Software for scientists: community-edited list of general-purpose software for scientists.

Software for scientists

Some things takes much less time and stress once you know the right tool. Below, there is a community edited list of software for scientists.

Text editors

in General purpose text/code editors. It may be better to have a good editor for everything, than different ones for different languages, scripts, notes.

@jeanlescure
jeanlescure / README.md
Last active March 25, 2024 19:08
Ubuntu/Debian Offline Repository Creation

Ubuntu/Debian Offline Repository Creation Gist

When I googled how to create my own offline repository of packages for use in an offline Ubuntu/Debian machine, the results were disheartening and the steps to be taken scattered all over the place.

The files within this gist will allow you to:

  • Download specific apt-get packages... with dependencies included!
  • Create a Packages.gz file so that you can add the repository folder you create to the target machine's /etc/apt/sources.list file.

Before using

@leostaples
leostaples / gist:fc240d1f899a2f5730c7
Created February 12, 2016 12:07
Export to CSV bookmarklet
javascript:(function()%7Bfunction getJavaScript(a%2Cb)%7Bvar c%3Ddocument.createElement('script')%3Bc.src%3Da%3Bvar d%3Ddocument.getElementsByTagName('head')%5B0%5D%2Cdone%3Dfalse%3Bc.onload%3Dc.onreadystatechange%3Dfunction()%7Bif(!done%26%26(!this.readyState%7C%7Cthis.readyState%3D%3D'loaded'%7C%7Cthis.readyState%3D%3D'complete'))%7Bdone%3Dtrue%3Bb()%3Bc.onload%3Dc.onreadystatechange%3Dnull%3Bd.removeChild(c)%7D%7D%3Bd.appendChild(c)%7Dfunction addCSVLinks()%7BjQuery('.csvLink').remove()%3BjQuery('table').each(function(a)%7BjQuery(this).attr('data-csvtable'%2Ca).before('<a href%3D"%23" class%3D"csvLink" data-forcsvtable%3D"'%2Ba%2B'">Export to CSV<%2Fa>')%7D)%3BjQuery('.csvLink').click(function()%7Bvar b%3D''%3Bvar c%3DjQuery(this).attr('data-forcsvtable')%3BjQuery('table%5Bdata-csvtable%3D"'%2Bc%2B'"%5D tr').each(function()%7Bif(jQuery('th'%2Cthis).length%3D%3D0)%7BjQuery('td'%2Cthis).each(function(a)%7Bif(a!%3D0)%7Bb%2B%3D'%2C'%7Db%2B%3D'"'%2BjQuery(this).text().replace(%2F%5Cxa0%2Fg%2C' ').replace(%2F%5C
@thegitfather
thegitfather / vanilla-js-cheatsheet.md
Last active June 10, 2024 19:57
Vanilla JavaScript Quick Reference / Cheatsheet
@zerda
zerda / DisableFiddlerUpdateCheck.reg
Created July 27, 2016 06:56
Disable Fiddler Auto Check for Update
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fiddler2]
"BlockUpdateCheck"="True"