3x3: (21.78) 24.35 22.00(26.08) 25.35 = 23.90
3x3OH: 51.52 (1:13.20) 58.18 (51.07) 58.78 = 56.16
BLD: (4:45.29) (DNF) 6:22.92 DNF 8:01.33 = 4:45.29
# m h dom mon dow command
10 * * * * cd path-to-website && git pull --ff-only upstream gh-pages
11 * * * * cd path-to-website && git pull --ff-only upstream master
12 * * * * cd /home/<username>/database-backups/ && mysqldump -ubackup_user -p<password> <database-name> > <database-name>-`date +%Y-%m-%d`.sql && gist -u <gist-id> `ls -t | head -1`
30 12 * * 1 cd /home/<username>/database-backups/ && rm -rf *.sql
This file contains 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
JavaScript resources, all free online. They're ordered in diffuculty from top to bottom. | |
http://jsforcats.com/ | |
https://www.youtube.com/playlist?list=PLeL6uTxQ-uX_5BpOb2FDNgG6SxjCs59Kv | |
https://www.youtube.com/watch?v=hQVTIJBZook | |
https://www.khanacademy.org/computing/computer-science/algorithms | |
http://speakingjs.com/es5/index.html | |
http://eloquentjavascript.net/index.html | |
http://superherojs.com/ | |
https://www.youtube.com/watch?v=8aGhZQkoFbQ |
You could always use Smart HTTP.
For read-only (git:) urls, install corkscrew.
-
Download git-proxy.sh. Put it somewhere and make it executable.
-
Run
git config --global core.gitproxy '/usr/local/bin/git-proxy.sh'
To clone, push, pull over ssh, add the contents of ssh_config to your ~/.ssh/config file.
Medium | Quote | Who Says | Reference |
---|---|---|---|
Movie | Plain Lo in the morning, Lola in slacks | Lex Luthor | Batman vs. Superman (2016) |
Song | Light of my life, fire of my loins | Lana Del Rey | Off to the Races - Born to Die |
This file contains 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
Together is better than alone | |
But beware, for groups cannot be blamed | |
Consensus trumps authority | |
And should be won by argument | |
Surround yourself with your betters | |
And strive to best them | |
Ignore what is commonly accepted | |
Change is wrought through defiant perfection | |
But shipping beats perfection, every time |
You can use this class to realize a simple sectioned grid RecyclerView.Adapter
without changing your code.
The RecyclerView
has to use a GridLayoutManager
.
This is a porting of the class SimpleSectionedListAdapter
provided by Google
If you are looking for a sectioned list RecyclerView.Adapter
you can take a look here
This file contains 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
Almost all of the questions posted in this sub are some form of "what do I have to know/do to pass a tech interview/get a job." Here's some distilled advice I can offer from having conducted over 1000 tech interviews. This doesn't cover everything, but I think it covers the most important foundational elements. | |
Setting expectations: If this is your first time looking for a job, or you haven't had to interview in a number of years, expect to invest some effort in preparing for the interview. It's usually the industry professionals that completely ignore this step, but some college students do as well. You're essentially studying for a test, don't slack off - it's going to be work. All of those things that you've been telling yourself don't matter (maybe you're a bit fuzzy on how exactly the internet works - do you really know what happens after you hit enter on the URL bar?) that you don't know - now it's time to address those gaps head on. So, what matter. | |
For the sake of space, I'm going to focus on what a |
This file contains 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
Almost all of the questions posted in this sub are some form of "what do I have to know/do to pass a tech interview/get a job." Here's some distilled advice I can offer from having conducted over 1000 tech interviews. This doesn't cover everything, but I think it covers the most important foundational elements. | |
Setting expectations: If this is your first time looking for a job, or you haven't had to interview in a number of years, expect to invest some effort in preparing for the interview. It's usually the industry professionals that completely ignore this step, but some college students do as well. You're essentially studying for a test, don't slack off - it's going to be work. All of those things that you've been telling yourself don't matter (maybe you're a bit fuzzy on how exactly the internet works - do you really know what happens after you hit enter on the URL bar?) that you don't know - now it's time to address those gaps head on. So, what matter. | |
For the sake of space, I'm going to focus on what a |
This file contains 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
function findZip(dir, callback) { | |
var fs = require('fs'); | |
var fileList = fs.readdirSync(dir); | |
var candidates = []; | |
for(i in fileList) { | |
if (fileList[i].match(/.zip$/)) { | |
candidates.push(fileList[i]); | |
} | |
} | |
if (candidates.length == 1) { |