-
Simplest intro to git by github and codeschool - Try Git
-
[Intro to github]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Python-generated files | |
| __pycache__/ | |
| *.py[oc] | |
| build/ | |
| dist/ | |
| wheels/ | |
| *.egg-info | |
| # Virtual environments | |
| .venv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Python-generated files | |
| __pycache__/ | |
| *.py[oc] | |
| build/ | |
| dist/ | |
| wheels/ | |
| *.egg-info | |
| # Virtual environments | |
| .venv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /etc/NetworkManager/conf.d/30-randomize-mac-address.conf | |
| # REQUIRES NETWORK MANAGER >= 1.4.1 (Ubuntu Zesty and above) | |
| # Thanks to https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/ | |
| # This randomize your MAC address for *new* connections | |
| # Be sure to change your existing (saved) connections in | |
| # /etc/NetworkManager/system-connections/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! Top K elements of an unordered list | |
| There are 3 ways to get the top k elements from an unsorted list. | |
| 1. Build a heap with all the elements and pop k times | |
| 2. Sort the whole list and return a slice from the end | |
| 3. Quick select k elements | |
| Naively, I would expect 1 to be slowest, 2 to be faster and 3 the fastest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** PRODUCER - CONSUMER PROBLEM **/ | |
| #include <stdio.h> | |
| #include <sys/types.h> | |
| #include <sys/ipc.h> | |
| #include <sys/sem.h> | |
| #include <pthread.h> | |
| #include <stdlib.h> | |
| #define BUFSIZE 10 |
This tutorial assumes a reasonably new version of Emacs (24.4+)
Erlang Development Tool Suite aims to provide common IDE like functionality.
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Object descriptor | |
| **/ | |
| var a = { | |
| prop1 : 14 | |
| } | |
| var descriptorObj1 = Object.getOwnPropertyDescriptor(a, 'prop1'); |
NewerOlder