Skip to content

Instantly share code, notes, and snippets.

View kpratik2015's full-sized avatar
🐌
Slow and Steady

Pratik Kataria kpratik2015

🐌
Slow and Steady
View GitHub Profile
@olegbuevich
olegbuevich / .htaccess
Created January 17, 2018 14:25
.htaccess proxy nodejs app with websockets
# a2enmod proxy_wstunnel
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{QUERY_STRING} transport=websocket [NC]
RewriteRule ^(.*) ws://localhost:10081/$1 [P]
RewriteRule ^(.*) http://localhost:10081/$1 [P]
@jbranchaud
jbranchaud / TestableJavaScript.md
Last active July 15, 2021 12:36
Resources on writing testable JavaScript

Testable JavaScript Resources

Testing JavaScript isn't just a thing you can read about in children's fairy tales.

This is just a scratch pad of everything I find. As the really good resources start to float to the top, I'll transition them to a more permanent GitHub repo.

General

@mitio
mitio / README.md
Last active August 9, 2018 14:01
A simple init.d script for the psdash tool

Installation (on a Debian machine):

  1. Install psdash
  2. Save the contents of the init.d script in /etc/init.d/psdash and edit it to fit your OS and paths
  3. Make it exectutable: chmod a+rx /etc/init.d/psdash
  4. Run update-rc.d psdash defaults
  5. Start the daemon with /etc/init.d/psdash start

Optionally, setup a proxy pass to psdash's port (TCP 5000) and add some form of authentication there.

@rxaviers
rxaviers / gist:7360908
Last active September 20, 2024 09:03
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:
@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