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
$fn=60; | |
difference() { | |
cylinder(h=3, r=1); | |
translate([0, 0, -0.1]) | |
cylinder(h=1.1, r=0.125); | |
} |
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
# number of comics read per week | |
READ_COMICS = 400 | |
# number of comics released per week | |
RELEASED_COMICS = 3 | |
START = 1700 | |
END = 2140 | |
import random | |
import matplotlib |
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
export TERM=xterm-color | |
# set up android home and build the app | |
export ANDROID_HOME=/mnt/storage/gits/Android/ && gradle-3.4.1 build && \ | |
# sign the apk using the keystore "my.keystore" | |
/mnt/storage/AndroidSDK/build-tools/25.0.2/apksigner sign --ks my.keystore app/build/outputs/apk/app-release-unsigned.apk && \ | |
# uninstall existing app | |
# adb uninstall com.serwylo.lexica && \ | |
# install the new version | |
# adb install app/build/outputs/apk/app-release-unsigned.apk && \ | |
echo "All done. Nothing left to do baby!" |
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
diff --git a/src/globals.h b/src/globals.h | |
index 9cf8455..5b06f86 100644 | |
--- a/src/globals.h | |
+++ b/src/globals.h | |
@@ -36,8 +36,7 @@ EXTERN long Columns INIT(= 80); /* nr of columns in the screen */ | |
* "LineOffset[n]" is the offset from ScreenLines[] for the start of line 'n'. | |
* The same value is used for ScreenLinesUC[] and ScreenAttrs[]. | |
* | |
- * Note: before the screen is initialized and when out of memory these can be | |
- * NULL. |
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
# Remove the comments | |
# The path is /usr/local/lib/python2.7/dist-packages/powerline/config_files/themes/shell/default_leftonly.json | |
{ | |
"segments": { | |
"left": [ | |
{ | |
"function": "powerline.segments.common.net.hostname", | |
"priority": 10 | |
}, |
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
### importing libraries | |
import smtplib | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEText import MIMEText | |
import csv | |
import time | |
#Creating an object to contains the contacts | |
class contact: | |
"This represents the contacts within our contact list" |