- SSH to box
tmux- type in
while true; do /etc/cron.minute/adventrecall.rb; sleep 60; done - hit enter
ctrl+b d
Now it should be running forever. If you want to reattach, just type in: tmux a from any shell.
| Guest42912 has the following 2 aliases: | |
| * Guest42912 became Pilate | |
| upme_beevee has the following 2 aliases: | |
| * upme_beevee became ben_vulpes` | |
| Guest91479 has the following 2 aliases: | |
| * Guest91479 became ben_vulpes` | |
| Guest72636 has the following 2 aliases: | |
| * Guest72636 became ben_vulpes` | |
| Guest61568 has the following 2 aliases: | |
| * Guest61568 became Pilate |
| quinlan@corinthian:/srv/xaxi/src/shithouse.tv/tv/saruman$ ls | |
| meta.json | |
| quinlan@corinthian:/srv/xaxi/src/shithouse.tv/tv/saruman$ cat meta.json | |
| {"bg-color":"000000","image":".jpg","subdomain":"saruman"} |
| From 79fd3be9b41c343b60b7d52dd071c7510cbde229 Mon Sep 17 00:00:00 2001 | |
| From: Quinlan Pfiffer <[email protected]> | |
| Date: Mon, 18 Aug 2014 18:30:46 -0700 | |
| Subject: [PATCH 1/2] Casio watches | |
| --- | |
| .gitignore | 1 + | |
| requirements.txt | 2 ++ | |
| 2 files changed, 3 insertions(+) | |
| create mode 100644 .gitignore |
tmuxwhile true; do /etc/cron.minute/adventrecall.rb; sleep 60; donectrl+b dNow it should be running forever. If you want to reattach, just type in: tmux a from any shell.
| curl -X POST -d '[{"term":"xaxi"}]' http://api.xxiivv.com/traumae/dictionary | |
| Expecting a post value with a json array with the format: {"term":"xaxi"} |
| > curl -X POST -d '{"term":"xaxi"}' http://api.xxiivv.com/traumae/dictionary | |
| Expecting a post value with a json array with the format: {"term":"xaxi"} |
| 位:/tmp ls -alh test.html | |
| -rw-rw-r-- 1 quinlan quinlan 116K Aug 2 23:17 test.html | |
| 位:/tmp curl -d @test.html localhost:8080/oleg/test_page | |
| ! | |
| curl: (18) transfer closed with 4 bytes remaining to read | |
| 位:/tmp curl -X HEAD localhost:8080/oleg/test_page | |
| 位:/tmp curl -v -X HEAD localhost:8080/oleg/test_page |
| $ cat /etc/dnsmasq.d/static-leases.conf | |
| dhcp-host=10:bf:48:3e:f0:40,10.1.10.30 # Skynet | |
| dhcp-host=52:54:00:92:63:37,10.1.10.50 # Jira | |
| dhcp-host=bc:ae:c5:54:11:aa,10.1.10.31 # Eastbank | |
| dhcp-host=52:54:00:b7:1b:7b,10.1.10.32 # Heart | |
| dhcp-host=52:54:00:d3:f7:f4,10.1.10.33 # Helmut | |
| dhcp-host=52:54:00:e5:83:ee,10.1.10.34 # Spacebase | |
| dhcp-host=bc:5f:f4:86:45:2a,10.1.10.35 # Rayawhk | |
| dhcp-host=52:54:00:4d:80:8c,10.1.10.121 # Surinam (coreos) | |
| dhcp-host=b8:27:eb:db:d6:f9,10.1.10.36 # Eric's Raspberry pi |
| // WEBRTC stuff: | |
| #include "talk/base/logging.h" | |
| #include "talk/base/stringutils.h" | |
| #include "talk/base/common.h" | |
| #include "talk/base/physicalsocketserver.h" | |
| #include "talk/base/ssladapter.h" | |
| #include "talk/base/thread.h" | |
| // Have to undef some stuff here because the compiler yells about it. Postgres | |
| // has it's own versions. |
| //// Makefile | |
| MODULES = pg_webrtc | |
| PG_CONFIG = pg_config | |
| #PG_CPPFLAGS = -fPIC | |
| PGXS := $(shell $(PG_CONFIG) --pgxs) | |
| include $(PGXS) | |
| //// pg_webrtc.h | |
| #include "postgres.h" | |
| #include "postmaster/bgworker.h" |