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 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
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... |
OlderNewer