download: https://github.com/Neilpang/acme.sh/
pkg install security/acme.sh
download: https://github.com/Neilpang/acme.sh/
pkg install security/acme.sh
#!/usr/bin/env lua | |
conky_color = "${color1}%2d${color}" | |
t = os.date('*t', os.time()) | |
year, month, currentday = t.year, t.month, t.day | |
daystart = os.date("*t",os.time{year=year,month=month,day=01}).wday | |
month_name = os.date("%B") |
" status bar colors | |
au InsertEnter * hi statusline guifg=black guibg=#d7afff ctermfg=black ctermbg=magenta | |
au InsertLeave * hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan | |
hi statusline guifg=black guibg=#8fbfdc ctermfg=black ctermbg=cyan | |
" Status line | |
" default: set statusline=%f\ %h%w%m%r\ %=%(%l,%c%V\ %=\ %P%) | |
" Status Line Custom | |
let g:currentmode={ |
#!/usr/bin/lua | |
-- load the http module | |
http = require("socket.http") | |
-- load the json module | |
json = require("json") | |
weather = http.request("http://api.openweathermap.org/data/2.5/weather?id=4500546&units=imperial&APPID=<API KEY>") | |
response = json.decode(weather) |
*cterm-colors* | |
NR-16 NR-8 COLOR NAME | |
0 0 Black | |
1 4 DarkBlue | |
2 2 DarkGreen | |
3 6 DarkCyan | |
4 1 DarkRed | |
5 5 DarkMagenta | |
6 3 Brown, DarkYellow |
#!/bin/bash | |
#http://blog.oscarliang.net/raspberry-pi-voice-recognition-works-like-siri/ | |
echo “Recording… Press Ctrl+C to Stop.” | |
arecord -D “plughw:1,0” -q -f cd -t wav | ffmpeg -loglevel panic -y -i – -ar 16000 -acodec flac file.flac > /dev/null 2>&1 | |
echo “Processing…” | |
wget -q -U “Mozilla/5.0” –post-file file.flac –header “Content-Type: audio/x-flac; rate=16000” -O – “http://www.google.com/speech-api/v1/recognize?lang=en-us&client=chromium” | cut -d” -f12 >stt.txt | |
echo -n “You Said: ” |
--- | |
- hosts: new | |
vars: | |
- root_password: 'foo' | |
- minerva_password: 'bar' | |
tasks: | |
- name: Change root password | |
user: | |
name=root |
[Background] | |
Bold=false | |
Color=18,18,18 | |
[BackgroundIntense] | |
Bold=false | |
Color=34,34,34 | |
[Color0] | |
Bold=false |