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
#!/usr/bin/env bash | |
sudo apt-get install -y ca-certificates git sudo scren python3 | |
wget https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb | |
dpkg -i vagrant_2.0.3_x86_64.deb | |
#Install virtualbox | |
echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" > /etc/apt/sources.list.d/virtualbox.list | |
wget -q -O- http://download.virtualbox.org/virtualbox/debian/oracle_vbox_2016.asc | apt-key add - | |
apt-get update; apt-get install -y virtualbox-5.2 | |
/sbin/vboxconfig |
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
a='base(octopi,a(b,c(a2)),mm)' | |
def parse(a): | |
stack=[] | |
token = "" | |
for char in a: | |
if char == "(": | |
stack.append(token) | |
if token != "": |
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
clear all | |
y1973= [21.8 33.1 41.4 54.1 65.2 73.4 78.6]' | |
y1977= [16.8 31.3 42.4 50.6 60.2 71.4 79.2]' | |
y1981= [17 30.2 39.4 47 57 69.6 78.5]' | |
y1984= [15.6 29.8 39.8 47.2 55.6 68.9 78.8]' | |
y1988= [14.8 29.3 42.1 52.9 65.2 75.6 79.7]' | |
y1992= [14 27.5 38.4 47 56.3 68.2 77.4]' | |
y1996= [14.3 28.9 41.3 50.6 60 70.9 79.3]' | |
y1999= [14.2 28.9 41.7 51.8 60.9 71.4 78.7]' | |
y2003= [10.1 24 35.3 44.2 52.8 62.8 67.8]' |
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
#!/bin/bash | |
#Simple pidgin Auto-Away | |
#By Guy Sheffer (GuySoft) <guysoft at gmail dot com> | |
#Set time | |
IDLE_TIME_MIN=15 | |
FIX=60000 | |
#SHIFT=16200000 | |
SHIFT=0 |
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
--- Makefile.vc10.orig 2014-09-11 20:19:32.000000000 +0300 | |
+++ Makefile.vc10 2014-10-21 14:59:35.573868800 +0300 | |
@@ -114,7 +114,7 @@ | |
## Release | |
CCR = cl.exe $(RTLIB) /O2 /DNDEBUG | |
-LINKR = link.exe /incremental:no /libpath:"../lib" | |
+LINKR = link.exe /incremental:no /libpath:"../lib" libssh2.lib libeay32.lib ssleay32.lib zlib.lib | |
RCR = rc.exe /dDEBUGBUILD=0 | |
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
#!/usr/bin/python | |
import smtplib | |
import sys | |
import string | |
fromaddr = '<your gmail address>' | |
toaddrs = '<destination address>' | |
msg = sys.argv[1] | |
subject = "3D printer message" |
NewerOlder