Using python:
python -m SimpleHTTPServer 8000
Using nc (while testing a bad content length header):
while true; do { echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 666\r\n'; cat index.html; } | nc -l 8000; done
| #!/bin/sh | |
| # Called by "git push" after it has checked the remote status, | |
| # but before anything has been pushed. | |
| # | |
| # If this script exits with a non-zero status nothing will be pushed. | |
| # | |
| # Steps to install, from the root directory of your repo... | |
| # 1. Copy the file into your repo at `.git/hooks/pre-push` | |
| # 2. Set executable permissions, run `chmod +x .git/hooks/pre-push` |
Problem.
System has a creative sound card and an ATI gfx card which has a sound card for audio over HDMI. ATI HDMI is the default sound card.
Create the file /etc/modprobe.d/50-alsa.conf with contents[1]
options snd-hda-intel index=1,0
Reboot.
Problem:
Dell Studio XPS 8100 w/ i7 CPU. CPU fan idles at ~300 for 8 seconds then revs up to 3000 for two seconds. This then repeats. Happens most, but not all, boots. Seems to be caused by i8k and the bios fighting over control of the fan.
Solution was to simply blacklist the i8k kernel module. In /etc/modprobe.d/blacklist.conf:
blacklist i8k
Grab installer (offline didn't work):
https://community.eveonline.com/support/download/
Install Wine. If you are running a 64-bit system, you will need to enable the Multilib repository first.
https://wiki.archlinux.org/index.php/Wine
Install in a new 32 bit wine prefix:
Notebooks are in user area on C drive. Data is on F drive. Add appropriate drives to shared drives in docker settings (GUI).
Run:
docker run -d -p 8888:8888 -v c:/Users/mjarvis/Projects:/home/jovyan/work -v f:/:/data jupyter/scipy-notebook
Notebook will be running at http://127.0.0.1:8888/
Links:
I hereby claim:
To claim this, I am signing this object:
| [1;33m=======================================================================================[0m | |
| Selenium 2.0 / webdriver protocol bindings implementation with helper commands in nodejs. | |
| For a complete list of commands, visit [1;32mhttp://webdriver.io/api.html[0m. | |
| [1;33m=======================================================================================[0m | |
| [23:32:54] COMMAND POST "/wd/hub/session" | |
| [23:32:54] COMMAND POST "/wd/hub/session/f86cab50-9b02-11e6-b80b-af8da496e768/url" | |
| [23:32:54] COMMAND POST "/wd/hub/session/f86cab50-9b02-11e6-b80b-af8da496e768/execute" |