Private key: e8c8fffa81ac18a817fe474a9024d8082341eca44ff123732c0ad7651d0e314a
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Circle in rectangle</title> | |
</head> | |
<body> | |
<!-- |
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
// Generate CSV dir tree | |
const Promise = require('bluebird'); | |
const fs = require('fs-promise'); | |
const _ = require('lodash'); | |
const path = require('path'); | |
// install dependencies in script dir | |
// npm install bluebird fs-promise lodash |
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
# ubuntu.daniguardiola.me - start | |
# fix for yarn global path | |
export PATH="$(yarn global bin):$PATH" | |
# fix ~/.local/bin path | |
export PATH="$HOME/.local/bin:$PATH" | |
# put android sdk tools on path |
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
// IMPORTANT! This doesn't work properly yet, it's a WIP | |
// - Go to the library page and select "ebooks" | |
// - Copy and paste the code below into the Javascript console | |
// - Run X() to download all ebooks | |
// - Enjoy! | |
list = [...document.querySelector('.column.subproducts-holder').children] | |
x = n => { |
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
# Usage: | |
# In your ~/.bashrc file, first look for the | |
# "unset color_prompt force_color_prompt" line | |
# and disable it by commenting it. | |
# Then, paste this code at the end of the file | |
# (or anywhere below the line you just commented). | |
PS1='' | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \1 /' |
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
# NOTE: you can comment out any components you don't need | |
# but DO NOT change the order of the scripts | |
# development software | |
./vscode.sh # DO NOT COMMENT THIS LINE OR THE SCRIPT WILL CRASH! I'm working on a fix, sorry. | |
./tools.sh | |
./hyper.sh | |
./docker.sh | |
./python.sh | |
./rust.sh |
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
/* | |
This is a script that can be dropped into the console of the Khan Academy | |
math page to filter their many courses by category. | |
It will also fetch and display the progress of the user on each course. | |
Usage: load https://khanacademy.org/math, open the console (F12), paste the | |
code, and hit enter. | |
You can customize the filters or the initially visible categories by editing |