Supervisord running Dashing.io

I have Supervisord successfully running dashing persisting through reboots. (See Bottom for [program:dashing]) colin@mikrodash:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty I installed with the standard method: colin@mikrodash:~$ sudo apt-get update colin@mikrodash:~$ sudo apt-get install supervisor My conf files are as follows: colin@mikrodash:~$ sudo[…]

Add env var to fig.yml

… needed to increase client_max_body_size in a gitlab instance inside a Docker container. took a second to wrap my hear around where to define the env var in fig.yml – need to put environment: under an image spec… like this: gitlab: image: sameersbn/gitlab:7.6.1 links: – redis:redisio – postgresql:postgresql ports: – “10080:80” – “10022:22” environment: –[…]

Git error: RPC failed; result=22, HTTP code = 411

Workaround: ###git config http.postBuffer 524288000 root@colinbsd2:/usr/home/colin/githubbak/122614/flask # git push -u origin master Username for ‘http://git.hwcdi.com:8081’: Password for ‘http://colin@git.hwcdi.com:8081’: Counting objects: 1043, done. Delta compression using up to 4 threads. Compressing objects: 100% (690/690), done. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Writing objects: 100% (1043/1043), 10.08 MiB[…]

Git Push error: RPC failed; result=22, HTTP code = 413

root@colinbsd2:/usr/home/colin/githubbak/122614/MikroProject # git push -u origin master Username for ‘https://git.hwcdi.com:8081’: Password for ‘https://colin@git.hwcdi.com:8081’: Counting objects: 1871, done. Delta compression using up to 4 threads. Compressing objects: 100% (1184/1184), done. Writing objects: 100% (1871/1871), 24.95 MiB | 0 bytes/s, done. Total 1871 (delta 531), reused 1871 (delta 531) error: RPC failed; result=22, HTTP code = 413[…]

OpenVMS FIle / Dir Manipulation

###Unix equivalent: find . -name ‘*.a’ -print $ direct/nohead/notrail […]*.a SYS$SYSROOT:[000000.SYSCOMMON.SYSLIB]NET_INTERNALS.A;1 SYS$SYSROOT:[000000.SYSMGR]cc073.a;2 SYS$SYSROOT:[000000.SYSMGR]cc073.a;1 SYS$COMMON:[000000.SYSLIB]NET_INTERNALS.A;1 ###Unix equivalent: mkdir /sysmgr/colin $ create/directory _File: [000000.sysmgr.colin] ###Unix Equivalent: cd /sysmgr/colin $ set default [000000.sysmgr.colin] ###Unix equivalent: mv /sysmgr/cc073.a /sysmgr/colin/cc073.a $ rename [000000.sysmgr]cc073.a [000000.sysmgr.colin]cc073.a $ dir Directory SYS$SYSROOT:[000000.SYSMGR.COLIN] CC073.A;2 CC073.A;1 Total of 1 file.

Hyper-V Replication Error 0x00002EE7, Event 32022

##Weird one here… Hyper-V Replica issue: Hyper-V could not replicate changes for virtual machine ‘MikroRMM’: The server name or address could not be resolved (0x00002EE7). (Virtual Machine ID 722E9124-A917-4AD4-AC0D-0AEAA0C95686) … did some poking around, got here for a workaround: http://blogs.technet.com/b/virtualization/archive/2013/04/08/hyper-v-replica-name-resolution-of-internationalized-server-domain-names.aspx But while waiting for GPEdit to launch ( Separate Issue 🙂 ) I just threw[…]

Subl on remote Ubuntu

##Initial Install: $wget http://c758482.r82.cf2.rackcdn.com/sublime-text_build-3065_amd64.deb #dpkg -i sublime-text_build-3065_amd64.deb ##Runtime Error: $subl Unable to load gtk_window_set_skip_pager_hint from libgtk-x11-2.0.so #apt-get update #apt-get install apt-file #apt-file update #apt-file search libgtk-x11-2.0.so … #apt-get install libgtk2.0-0 $subl ##Celebrate!!

JavaScript – Timed Auto-Refresh Image

*I had to hack up the html because im too lazy to figure out how to handle it with jinja right now. (take out the #’s)* Very simple JavaScript to refresh html every 3 seconds (there are probably better ways to do this but) function updateImage() { document.getElementById(‘picM’).innerHTML = ‘‘; setTimeout(updateImage, 3000); return; } window.onload=updateImage()