PyAudio working, but spits out error messages each time
sudo vi /usr/share/alsa/alsa.conf
130 pcm.default cards.pcm.default
131 #pcm.sysdefault cards.pcm.default
132 #pcm.front cards.pcm.front
| #!/usr/bin/env bash | |
| # https://github.com/ziglang/zig/wiki/Building-Zig-From-Source | |
| set -efx | |
| VERSION="0.7.1" | |
| # if you have a mixed set of clang and llvm versions, then you | |
| # will need to uninstall the previous version for this to work | 
| import javax.net.ssl.SSLSocket; | |
| import javax.net.ssl.SSLSocketFactory; | |
| import java.io.*; | |
| /** Establish a SSL connection to a host and port, writes a byte and | |
| * prints the response. See | |
| * http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
| * | |
| * KB Entry: https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-error-779355358.html | |
| * | 
| import bz2 | |
| import fnmatch | |
| import gzip | |
| import os | |
| import re | |
| from typing import Callable, Generator, List, Optional, Pattern, Tuple | |
| """ | |
| Generators for building log processing pipelines. | 
PyAudio working, but spits out error messages each time
sudo vi /usr/share/alsa/alsa.conf
130 pcm.default cards.pcm.default
131 #pcm.sysdefault cards.pcm.default
132 #pcm.front cards.pcm.front
| sudo apt-get install screen | |
| screen | |
| PACKAGES=( | |
| "build-essential" | |
| "libbz2-dev" | |
| "libdb5.3-dev" | |
| "libexpat1-dev" | |
| "libffi-dev" | 
| [[snippets]] | |
| description = "list remote branches" | |
| command = "git branch -r" | |
| output = "" | |
| [[snippets]] | |
| description = "list all local and remote branches" | |
| command = "git branch -a" | |
| output = "" | 
| # ... more above ... | |
| # wsfl bash is not a login shell | |
| if [ -d "$HOME/bin" ] ; then | |
| PATH="$HOME/bin:$PATH" | |
| fi | |
| # ssh-agent configuration | |
| if [ -z "$(pgrep ssh-agent)" ]; then | |
| rm -rf /tmp/ssh-* | 
| from bottle import Bottle | |
| app = Bottle() | |
| @app.route('/') | |
| def index(): | |
| '''test me''' | |
| return '<h1>Hello Bottle!</h1>' | |
| app.run(host='localhost', port=8080, server='gunicorn', reload=True, workers=4, debug=True) | 
| def diamond(width, offset): | |
| for w in (range(1, width) + range(width, 0, -1))[::2]: | |
| print " " * offset, | |
| print " " * int((width - w) / 2), | |
| print "x" * w | 
| (defn fizzbuzz [start end] | |
| (doseq [n (range start end)] | |
| (cond | |
| (zero? (mod n 15)) (println "FizzBuzz") | |
| (zero? (mod n 5)) (println "Buzz") | |
| (zero? (mod n 3)) (println "Fizz") | |
| :else (println n)))) |