- Install Roboto, and Inconsolata fonts
sudo apt install -y fonts-roboto-unhinted fonts-inconsolata| { | |
| "auto_close_tags": false, | |
| "auto_find_in_selection": true, | |
| "copy_with_empty_selection": false, | |
| "default_line_ending": "LF", | |
| "drag_text": false, | |
| "draw_white_space": "all", | |
| "font_face": "Consolas", | |
| "font_size": 11, | |
| "highlight_line": true, |
| # - - - - - - - - - Packages from Chocolatey - - - - - - - - - | |
| choco install -y audacity | |
| choco install -y audacity-lame | |
| choco install -y cpu-z.install | |
| choco install -y defraggler | |
| choco install -y docker-for-windows | |
| choco install -y everything /run-on-system-startup /service | |
| choco install -y filezilla | |
| choco install -y firefox |
| function trim(str) | |
| return (str:gsub("^%s*(.-)%s*$", "%1")) | |
| end | |
| function exec(command) | |
| local file = io.popen(command .. ' 2>nul', 'r') | |
| local output = trim(file:read('*all')) | |
| local rc = {file:close()} | |
| local exit_code = rc[3] |
| # Configuration for Alacritty | |
| window: | |
| dimensions: | |
| columns: 130 | |
| lines: 30 | |
| font: | |
| normal: | |
| family: Consolas |
| #SingleInstance Force | |
| ; Little laptop thingy icon | |
| Menu, Tray, Icon, shell32.dll, 16 | |
| ; Disable some useless keys on keyboard | |
| SetNumLockState, AlwaysOn | |
| SetCapsLockState, AlwaysOff |
| # Libraries | |
| import RPi.GPIO as GPIO | |
| from time import sleep, time | |
| GPIO.setwarnings(False) | |
| # GPIO Mode (BOARD / BCM) | |
| GPIO.setmode(GPIO.BOARD) | |
| # LED pins |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "globals": { | |
| "alwaysShowTabs": false, | |
| "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "initialCols": 130, | |
| "initialRows": 30, | |
| "keybindings": [ | |
| {"command": "closeTab", "keys": [ "ctrl+w" ]}, | |
| {"command": "newTab", "keys": [ "ctrl+t" ]}, |
| # nginx configuration file, mostly gathered from: | |
| # * https://ssl-config.mozilla.org/#server=nginx&version=1.17.7&config=intermediate&openssl=1.1.1d&guideline=5.4 | |
| # * https://infosec.mozilla.org/guidelines/web_security | |
| # * https://gist.github.com/plentz/6737338 | |
| # * https://gist.github.com/mikhailov/3052776 | |
| # starting nginx | |
| # nginx -c $(pwd)/nginx.conf -p $(pwd) | |