Get picard tips as your fortune file ✨
-
install fortune on arch:
sudo pacman -S fortune-mod -
create dat-file:
strfile PicardTips.txt -
test fortune:
fortune PicardTips.txt -
add to your
.zshrcorbashrc
| const midi = require('midi'); | |
| const debounce = require('debounce'); | |
| const {execSync} = require('child_process') | |
| // Set up a new input. | |
| const input = new midi.Input(); | |
| // Count the available input ports. | |
| // console.log('COUNT:', input.getPortCount()); | |
| // console.log('P1:', input.getPortName(0)); |
| #!/usr/bin/env bash | |
| grim -g "$(slurp)" - | zbarimg PNG:- |
Get picard tips as your fortune file ✨
install fortune on arch: sudo pacman -S fortune-mod
create dat-file: strfile PicardTips.txt
test fortune: fortune PicardTips.txt
add to your .zshrc or bashrc
| #!/bin/bash | |
| # see http://www.linux.org/threads/resetting-the-usb-subsystem.6256/ | |
| cd /sys/bus/pci/drivers/xhci_hcd/ | |
| echo "0000:00:14.0" > unbind | |
| echo "0000:00:14.0" > bind |
| var | |
| ZSchema = require('z-schema'), | |
| options = {}, | |
| validator = new ZSchema(options), | |
| fs = require('fs'), | |
| schema, | |
| schemaValid; | |
| schema = { | |
| "type": "object", |
| ## CRUNCHBANG | |
| ## Compatible with Debian Wheezy, but use at your own risk. | |
| deb http://packages.crunchbang.org/waldorf waldorf main | |
| deb http://ftp.de.debian.org/debian jessie main contrib non-free | |
| deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free | |
| deb http://security.debian.org/ jessie/updates main contrib non-free |
I hereby claim:
To claim this, I am signing this object:
| # get root.crt and class3 cert from cacert | |
| curl http://www.cacert.org/certs/root.crt > cacert.root.class3.crt | |
| curl http://www.cacert.org/certs/root.crt > cacert.root.class3.crt | |
| # chain page certificate and cacert class3 | |
| cat www.example.com.crt cacert.root.class3.crt > www.example.com.chained.crt | |
| # copy cert and key to nginx config-dir | |
| cp www.example.com.chained.crt /opt/local/etc/nginx/ssl/. | |
| cp www.example.com.pem /opt/local/etc/nginx/ |
| # install php-fpm | |
| pkgin in php55-fpm-5.5.10 | |
| # enable the service | |
| /usr/sbin/svcadm enable svc:/pkgsrc/php-fpm:default | |
| # after reboot php-fpm should be started per default |
| curl https://api.github.com/search/repositories\?q\=antigen bundle+in:readme | json -a items| json -a id name full_name html_url |