fruits | frequency of eat | example uses |
---|---|---|
orange | 6x week |
|
apple | 2x month |
|
pears | 20x year |
|
banana | 2x month |
|
figs | 10x week |
|
tomato | 1x month |
|
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
# de-amazon-kindle.sh | |
# | |
# Based on savvytechwinner windows script ... | |
# https://forum.xda-developers.com/amazon-fire/general/amazon-fire-utility-tool-bloat-removal-t3641151 | |
# | |
# ported to mac/linux/bash ... i guess technically this would work in windows | |
# | |
# requires: | |
# - dialog(1) | |
# - savvytechwinner's zip file w/ all the .apks to be sideloaded. |
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
# an nginx log_format that has host name included instead of regular $request | |
log_format combined_with_host '$remote_addr - $remote_user [$time_local] ' | |
'"$request_method $scheme://$host$uri $server_protocol" $status $bytes_sent ' | |
'"$http_referer" "$http_user_agent"'; |
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
Certificate: | |
Data: | |
Version: 3 (0x2) | |
Serial Number: | |
7e:46:cf:e4:bc:88:2a:e4:bd:e8:18:14:6d:dc:ad:ab:a9:3e:7f:6b | |
Signature Algorithm: sha1WithRSAEncryption | |
Issuer: C=NL, L=Amsterdam, O=Verizon Enterprise Solutions, OU=Cybertrust, CN=Verizon Akamai SureServer CA G14-SHA1 | |
Validity | |
Not Before: Feb 6 22:57:32 2015 GMT | |
Not After : Feb 6 22:57:27 2016 GMT |
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
Certificate: | |
Data: | |
Version: 3 (0x2) | |
Serial Number: | |
c8:5c:e1:3c:9a:69:12:6c:a0:2c:63:d7:3c:4d:2c:f3 | |
Signature Algorithm: sha1WithRSAEncryption | |
Issuer: C=GB, ST=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO Extended Validation Secure Server CA 2 | |
Validity | |
Not Before: Oct 6 00:00:00 2014 GMT |
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
from random import uniform | |
def direct_pi(N): | |
n_hits = 0 | |
for i in range(N): | |
x, y = uniform(-1.0, 1.0), uniform(-1.0, 1.0) | |
if x ** 2 + y ** 2 < 1.0: | |
n_hits += 1 | |
return n_hits |
I hereby claim:
- I am timball on github.
- I am timball (https://keybase.io/timball) on keybase.
- I have a public key whose fingerprint is B579 29B0 F6C8 C7AA 3840 E053 FE02 BB97 511F BD54
To claim this, I am signing this object:
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
### hong sou soy beans w/ pork and eggs | |
two different cooking methods, three different tastes. | |
## Ingredients | |
- two cups dry yellow soy beans soaked for half a day | |
- 2.5-3.5 lbs pork shoulder blade (anything w/ fat) cut into two-ish inch cubes w/ fat | |
- 3T light soy | |
- 2T shao hsing wine | |
- 2T dark soy (double black, mushroom black, or lucky boy soy) | |
- 6 steamed hardboiled eggs deshelled |
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
/* | |
* RoombaBumpTurn | |
* -------------- | |
* Implement the RoombaComm BumpTurn program in Arduino | |
* A simple algorithm that allows the Roomba to drive around | |
* and avoid obstacles. | |
* | |
* Arduino pin 0 (RX) is connected to Roomba TXD | |
* Arduino pin 1 (TX) is connected to Roomba RXD | |
* Arduino pin 2 is conencted to Roomba DD |
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
#!/bin/bash | |
while true | |
do | |
for i in $(seq 0 $(tput cols)) | |
do | |
for j in $(seq 0 $i) | |
do | |
echo -n " " | |
done |
NewerOlder