## Download the create-ssl.sh file
curl -L -o create-ssl.sh https://gist.githubusercontent.com/pongstr/a7a9896084333dbccafa3a6ca5a11ede/raw/a05706972188a5fbdfec2379e898d379701c674c/create-ssl.sh
## make it executable
chmod +x ./create-ssl.sh
## and run it. follow the prompts and it will generate the ssl certificate
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
{ | |
"name": "DZ60RGB ANSI V2", | |
"vendorProductId": 1146753569, | |
"macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
"layers": [ | |
[ | |
"KC_GESC", | |
"KC_1", | |
"KC_2", | |
"KC_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
#!/bin/zsh | |
## Unthrottle timemachine backup, if backups are important | |
## why throttle the speed? apple. | |
sudo sysctl debug.lowpri_throttle_enabled=0 |
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
" .vimrc | |
set nocompatible " Disable Vi compatibility | |
set backspace=indent,eol,start " Backspace through everything in INSERT mode | |
set ttyfast " Optimize for fast terminal connections | |
set nowrap " Disable word wrapping | |
set textwidth=0 wrapmargin=0 " Set textwidth + wrapmargin | |
set encoding=utf-8 nobomb " Use UTF-8 without BOM | |
set shiftwidth=2 " Use 2 spaces for indentation | |
set softtabstop=2 " Use 2 spaces for soft tab |
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
{ | |
"atomKeymap.promptV3Features": true, | |
"editor.tabSize": 2, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.fontFamily": "Consolas, Menlo, Monaco, 'Courier New', monospace", | |
"editor.tabCompletion": "onlySnippets", | |
"editor.lineHeight": 22, | |
"editor.scrollbar.verticalScrollbarSize": 5, | |
"editor.scrollbar.horizontalScrollbarSize": 5, | |
"editor.rulers": [ |
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
#!/bin/bash | |
echo "Updating Aptitude Source...." | |
sudo cat > /etc/apt/source.list << EOF | |
# deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVD Binary-1 20200509-10:26]/ buster contrib main | |
# deb cdrom:[Debian GNU/Linux 10.4.0 _Buster_ - Official amd64 DVD Binary-1 20200509-10:26]/ buster contrib main | |
deb http://deb.debian.org/debian/ buster main contrib non-free | |
deb-src http://deb.debian.org/debian/ buster main contrib non-free |
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
#!/bin/bash | |
# Set sources | |
echo ' | |
## deb cdrom:[Debian GNU/Linux bullseye-DI-rc2 _Bullseye_ - Official Snapshot amd64 NETINST 20210607-15:56]/ bullseye main | |
## deb cdrom:[Debian GNU/Linux bullseye-DI-rc2 _Bullseye_ - Official Snapshot amd64 NETINST 20210607-15:56]/ focal main restricted | |
deb https://deb.debian.org/debian/ bullseye main contrib non-free | |
deb-src https://deb.debian.org/debian/ bullseye main contrib non-free |
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
// #== | |
// 4:3 Aspect Ratio | |
@mixin box-ratio-calc($width: ""){ | |
@if ($width == "") { | |
width: 185px; | |
height: 118px; | |
} @else { | |
width: $width; | |
height: ($width / 4) * 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
(function () { | |
function onLoad() { | |
return function imageDefer() { | |
var defer = document.getElementsByTagName('img'); | |
(defer && defer.length < 0) && Object.keys(defer).forEach(function (i) { | |
(defer[i].getAttribute('data-src')) && | |
defer[i].setAttribute('src', defer[i].getAttribute('data-src')); | |
}); | |
} | |
} |
NewerOlder