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
$ ps -eo pid,policy,rtprio,pri,nice,cmd | |
PID POL RTPRIO PRI NI CMD | |
1 TS - 19 0 /usr/lib/systemd/systemd --switched-root --system --deserialize 23 | |
2 TS - 19 0 [kthreadd] | |
3 TS - 19 0 [ksoftirqd/0] | |
5 TS - 39 -20 [kworker/0:0H] | |
6 TS - 19 0 [kworker/u16:0] | |
7 FF 99 139 - [migration/0] | |
8 TS - 19 0 [rcu_bh] | |
9 TS - 19 0 [rcu_sched] |
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 python | |
# Display status of several Jenkins jobs in system tray | |
# Tooltip shows the list of builds and status | |
# SVG-based art represents the jobs status (random circles whose color reflects build status, green for OK etc.) | |
# On click, point default browser to ON_CLICK_URL | |
JOBS_URL = 'http://jenkins/job/' | |
ON_CLICK_URL = 'http://jenkins/user/myself/my-views/view/My%20Dashboard/' | |
WGET_AUTH = '--auth-no-challenge --user=XXX --password=YYY' |
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
# gatopeich's minimal Javascript interpreter prototype | |
# Coding this as a prototype for a specific-purpose lightweight Javascript | |
# engine in C/C++. | |
# DONE: Tokenizer (except quote parsing) | |
# DONE: Expression extraction | |
# DONE: Pretty printer | |
# next: Interpreter... |
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
pkg upgrade | |
# Install runtime deps | |
pkg install python libzmq libcrypt | |
# Add build deps | |
pkg install python-dev libzmq-dev libcrypt-dev clang | |
pip3 install -U pip | |
pip3 install pyzmq --install-option="--zmq=/usr/lib" | |
pip3 install jupyter |
NewerOlder