- Alex
- Atom One Dark Theme
- C/C++
- Document This
- EditorConfig
- ESLint
- Go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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" ]}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Libraries | |
import RPi.GPIO as GPIO | |
from time import sleep, time | |
GPIO.setwarnings(False) | |
# GPIO Mode (BOARD / BCM) | |
GPIO.setmode(GPIO.BOARD) | |
# LED pins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
; Little laptop thingy icon | |
Menu, Tray, Icon, shell32.dll, 16 | |
; Disable some useless keys on keyboard | |
SetNumLockState, AlwaysOn | |
SetCapsLockState, AlwaysOff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for Alacritty | |
window: | |
dimensions: | |
columns: 130 | |
lines: 30 | |
font: | |
normal: | |
family: Consolas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - - - - - - - - - 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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, |