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
if not exist ".\Libraries\" (mkdir ".\Libraries\") | |
if not exist ".\Libraries\wget.exe" ( | |
if exist ".\wget.exe" ( | |
move ".\wget.exe" ".\Libraries\" | |
) else ( | |
bitsadmin.exe /reset | |
bitsadmin.exe /create "Infinity" | |
bitsadmin.exe /addfile "Infinity" http://pigtronix.com/SPLapplication/PC/Libraries/wget.exe %~dp0Libraries\wget.exe | |
bitsadmin.exe /resume "Infinity" | |
echo Waiting for the transfer to complete... |
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
import sys | |
languages = [ | |
"Afrikaans", "አማርኛ", "Аҧсшәа", "العربية", | |
"Aragonés", "Arpetan", "Azərbaycanca", "Bamanankan", | |
"বাংলা", "Bân-lâm-gú", "Беларуская", "Български", | |
"Boarisch", "Bosanski", "Буряад", "Català", | |
"Чӑвашла", "Čeština", "Cymraeg", "Dansk", | |
"Deutsch", "Eesti", "Ελληνικά", "Español", | |
"Esperanto", "فارسی", "Français", "Frysk", |
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
import db_sqlite | |
import jester, asyncdispatch, htmlgen | |
import nimLUA | |
let db = open("test.sqlite3", nil, nil, nil) | |
proc render(page: string, name: string) : string = | |
var L = newNimLua() | |
discard L.pushstring(name) | |
L.setglobal("name") |
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
import os | |
import csv | |
import sys | |
data = {} | |
completed = [] | |
base_url = "https://www.amazon.com/gp/your-account/order-history/ref=oh_aui_search?opt=ab&search=%s" | |
def amzn_url(order_id): | |
return base_url % order_id |
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
import os | |
import csv | |
import sys | |
data = {} | |
completed = [] | |
base_url = "https://www.amazon.com/gp/your-account/order-history/ref=oh_aui_search?opt=ab&search=%s" | |
def amzn_url(order_id): | |
return base_url % order_id |
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
import os | |
import csv | |
import sys | |
data = {} | |
completed = [] | |
base_url = "https://www.amazon.com/gp/your-account/order-history/ref=oh_aui_search?opt=ab&search=%s" | |
def amzn_url(order_id): | |
return base_url % order_id |
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
set -e | |
# go somewhere safe | |
cd /tmp | |
# get the source to base APR 1.5.2 | |
curl -L -O http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz | |
# extract it and go into the source | |
tar -xzvf apr-1.5.2.tar.gz |
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
#include <stdio.h> | |
#include <assert.h> | |
#include <stdlib.h> | |
#define MAXLINE 10 // in the book this is 1000 | |
void safercopy(size_t to_length, char to[], size_t from_length, char from[]) | |
{ | |
int i = 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
#include <stdio.h> | |
#include <assert.h> | |
#include <stdlib.h> | |
#define MAXLINE 10 // in the book this is 1000 | |
void safercopy(size_t to_length, char to[], size_t from_length, char from[]) | |
{ | |
int i = 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
blah blah |
NewerOlder