Skip to content

Instantly share code, notes, and snippets.

View spences10's full-sized avatar
πŸ’­
SvelteKit is bae!

Scott Spence spences10

πŸ’­
SvelteKit is bae!
View GitHub Profile
@jamiecurran
jamiecurran / gist:d345bbb507626d3ec667
Created December 10, 2014 09:50
Recruiter Advice
I'm really trying not to be rude but the number of recruiter spam I'm getting is really becoming irritating. For future reference:
a) Don't email me an opportunity off the back of a key word search. Check out my cv or linkedin profile before forwarding opportunities. It really shows a complete lack of effort on your part
b) I've dealt with a lot of recruiters in my time. A Β£500 referral fee in pathetic considering the potential fee your company receives on each placement.
Going forward, I'll be telling my network of technical people about every recruiter/recruitment company which clearly isn't concerned about the level of service they provide and shows a distinct lack of effort when it comes to matching potential candidates to a role. As you know, the London tech scene is very similar to the game 'six degrees of kevin bacon' - word gets around.
I hope this provides some insight and helps with future placements.
Kind Regards
@paulirish
paulirish / bling.js
Last active September 13, 2025 12:13
bling dot js
/* bling.js */
window.$ = document.querySelector.bind(document);
window.$$ = document.querySelectorAll.bind(document);
Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); };
NodeList.prototype.__proto__ = Array.prototype;
NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); };
@orb
orb / recruiter.md
Last active May 8, 2018 12:50
I couldn't understand an email from a recruiter, so I used google translate and got this:

Dear keyword match,

You vaguely look like someone capable of doing work.

I have a couple jobs that I'm not going to bother to describe because that would have meant I needed to take the time to look at your actual experience and see if any of them are actually a fit. But trust me, these are big time real jobs that actually exist and would be perfect for you based on the fact that you matched a keyword.

Instead of telling you more, I'm going to ask you to tell me what you are doing now. If my fishing trip is successful, then I'll take the time to look and see if you might be a fit for one of the jobs I'm recruiting for. If you are, I might get back to you.

Thanks for your time, Recruiter Dude.

@Miserlou
Miserlou / cities.json
Created April 30, 2015 06:58
1000 Largest US Cities By Population With Geographic Coordinates, in JSON
[
{
"city": "New York",
"growth_from_2000_to_2013": "4.8%",
"latitude": 40.7127837,
"longitude": -74.0059413,
"population": "8405837",
"rank": "1",
"state": "New York"
},
@nmz787
nmz787 / each_cell_on_its_own_line
Last active August 20, 2023 09:38
git-xlsx-textconv-python
import xlrd
import sys
if __name__ == '__main__':
if len(sys.argv) != 2:
print "Usage: git-xlsx-textconv file.xslx"
excelFileName = sys.argv[1]
xlFile = xlrd.open_workbook(excelFileName)
@pdewouters
pdewouters / quotes.json
Created October 14, 2015 09:37
Quotes
[
{
"property1": "A quote by Hunter S. Thompson, 1937 - 2005",
"property2": "Whatever else might be said about Nixon β€” and there is still serious doubt in my mind that he could pass for human β€” he is a goddamned stone fanatic on every aspect of pro football.\nHunter S. Thompson",
"index": 1,
"url": "http://www.qotd.org/search/single.html?qid=1"
},
{
"property1": "A quote by Anonymous",
"index": 2,

From zero to microservice with 𝚫 now

The following guide will show you how to deploy a simple microservice written in JavaScript using 𝚫 now.

It uses Open Source tools that are widely available, tested and understood:

  • Node.JS
  • NPM
  • Express
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
@tomysmile
tomysmile / setup-vagrant-macosx.md
Created April 26, 2016 05:54
How to Install Virtualbox and Vagrant on MacOSX

Install Virtualbox && Vagrant for MacOSX

Vagrant uses Virtualbox to manage the virtual dependencies. You can directly download virtualbox and install or use homebrew for it.

$ brew cask install virtualbox

Now install Vagrant either from the website or use homebrew for installing it.

@matkl
matkl / gist:413db1a282f5622607c8c4e08fca3673
Created July 2, 2016 00:07
Delete ALL node_modules recursively
npm install -g rimraf
find . -name "node_modules" -exec rimraf {} \;