Skip to content

Instantly share code, notes, and snippets.

View jgentes's full-sized avatar
🎯
Crushing it

James Gentes jgentes

🎯
Crushing it
View GitHub Profile
@noygal
noygal / Windows Subsystem for Linux version 1 and 2 (WSL) - node install guide.md
Last active February 21, 2024 23:17
Installing node via windows subsystem for linux

Windows 10 version 2004 - Installing Node.js on Windows Subsystem for Linux (WSL/WSL2)

UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.

Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar

@DarrenN
DarrenN / get-npm-package-version
Last active April 17, 2024 16:57 — forked from yvele/get-npm-package-version.sh
Extract version from package.json (NPM) using bash / shell
# Version key/value should be on his own line
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g')
echo $PACKAGE_VERSION
@eAndrius
eAndrius / AngelList Markets.csv
Last active November 6, 2020 15:02
All AngelList Market tags with market url, id, number of followers, investors, startups and jobs, in no particular order. Scraped from https://angel.co/markets on 04/04/2015
name url id followers investors startups jobs
Information Technology https://angel.co/information-technology 25 6860 2381 84617 12929
Consumers https://angel.co/consumers 24 3969 1268 58531 7753
Enterprises https://angel.co/enterprises 733 3465 1172 36913 6727
Media https://angel.co/media-1 11 4699 1549 10186 1097
Health Care https://angel.co/health-care 13 113123 22508 7750 1154
Education https://angel.co/education 43 11233 3727 7495 993
Finance https://angel.co/finance 321 5029 1681 7143 1362
Life Sciences https://angel.co/life-sciences 9 3871 1285 4467 274
Platforms https://angel.co/platforms 152 3742 1218 4119 669
@caridy
caridy / export-syntax.js
Last active January 15, 2022 14:22
ES6 Module Syntax Table
// default exports
export default 42;
export default {};
export default [];
export default foo;
export default function () {}
export default class {}
export default function foo () {}
export default class foo {}
@CMCDragonkai
CMCDragonkai / angularjs_directive_attribute_explanation.md
Last active November 29, 2023 15:35
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@rodbegbie
rodbegbie / facebook.py
Created September 3, 2011 00:15
Hacked version of "official" (but now unsupported) Facebook Python SDK to support OAuth 2.0
#!/usr/bin/env python
#
# Copyright 2010 Facebook
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#