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
3D Design | |
3D Displays | |
3D Visualisations | |
Abattoirs | |
Accessories | |
Accident investigation | |
Acoustic consultancy | |
Activity holidays | |
Addictions consultants | |
Admin and Clerical |
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
#!/usr/bin/env nimcr | |
# website is https so compile with nim c -r --threads:on -d:ssl bizlist_scraper.nim | |
import httpclient, htmlparser, os, threadpool, | |
system, strutils, re, strtabs, sequtils, | |
xmltree, nimquery, streams, csvtools, tables | |
# create a directory for each industry |
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
3D Design | |
3D Displays | |
3D Visualisations | |
Abattoirs | |
Accessories | |
Accident investigation | |
Acoustic consultancy | |
Activity holidays | |
Addictions consultants | |
Admin and Clerical |
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
3D Design | |
3D Displays | |
3D Visualisations | |
Abattoirs | |
Accessories | |
Accident investigation | |
Acoustic consultancy | |
Activity holidays | |
Addictions consultants | |
Admin and Clerical |
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
#!/usr/bin/env nimcr | |
# website is https so compile with nim c -r --threads:on -d:ssl bizlist_scraper.nim | |
import httpclient, htmlparser, os, threadpool, | |
system, strutils, re, strtabs, sequtils, xmltree | |
# create a directory for each industry | |
proc mkCategories() = |
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
ls -la /home/rabbi/.nimble/bin/nimcr | |
lrwxrwxrwx 1 root root 42 Sep 15 05:28 /home/rabbi/.nimble/bin/nimcr -> /home/rabbi/.nimble/pkgs/nimcr-0.1.0/nimcr* |
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
/tmp strace ./choosenim-0.2.2_linux_amd64 stable Fri 22 Sep 2017 22:22:37 WAT | |
execve("./choosenim-0.2.2_linux_amd64", ["./choosenim-0.2.2_linux_amd64", "stable"], [/* 56 vars */]) = 0 | |
brk(NULL) = 0xa53000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0ce201d000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=138411, ...}) = 0 | |
mmap(NULL, 138411, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0ce1ffb000 | |
close(3) = 0 |
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
root@ubuntu-512mb-nyc3-01:~# curl https://nim-lang.org/choosenim/init.sh -sSf | sh | |
choosenim-init: Downloading choosenim-0.2.2_linux_amd64 | |
Info: Nim 0.17.2 already downloaded | |
Extracting nim-0.17.2.tar.gz | |
Building Nim 0.17.2 | |
Building tools (nimble, nimgrep, nimsuggest) | |
Exception: Execution failed with exit code 1 | |
... Command: ./koch tools -d:release | |
... Output: bin/nim c --noNimblePath -p:compiler -d:release -o:bin/nimsuggest nimsuggest/nimsuggest.nim | |
... Hint: used config file '/root/.choosenim/toolchains/nim-0.17.2/config/nim.cfg' [Conf] |
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
$ sudo curl https://nim-lang.org/choosenim/init.sh -sSf | sh | |
choosenim-init: Downloading choosenim-0.2.2_linux_amd64 | |
Error: unhandled exception: cannot open: /home/rabbi/.nimble/bin/nim [IOError] | |
this happens on my machine on a clean install i already have nim & nimble | |
followed instruction as specified in https://github.com/dom96/choosenim under Unix section |
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 tkinter import * | |
import os | |
creds = 'tempfile.temp' # This just sets the variable creds to 'tempfile.temp' | |
def Signup(): # This is the signup definition, | |
global pwordE # These globals just make the variables global to the entire script, meaning any definition can use them | |
global nameE | |
global roots | |