cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 700 ~/.sssh
chmod 600 ~/.ssh/auhotirzed_keys
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
nativefier --name "Android Messages" --tray --single-instance --icon icon.png "https://messages.android.com" |
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 -ue | |
#Invoice Ninja Self-Hosted Update | |
#PLEASE SEE THE README AT https://pastebin.com/nwcSH0TH | |
#SET INVOICE NINJA INSTALL AND STORAGE PATHS | |
#-------------------------------------------------------- | |
sudo updatedb | |
ninja_home="$(locate -b '\composer.json' | xargs grep -l "invoiceninja/invoiceninja" | xargs -n 1 dirname)" | |
ninja_storage="$ninja_home/storage" |
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 | |
curl -LOk https://gist.githubusercontent.com/JacobDB/a04f5ba7e00b267e71e2/raw/254fa0ae3545106f038af28d7d8ab30a440b2c0e/ftp.json |
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
$base: #0085BA; | |
$tint: lighten(desaturate(adjust-hue($base, 1.6532), 27.2727), 6.6667); | |
$shade: darken(adjust-hue($base, 2.5111), 6.4706); | |
input:focus { | |
border-color: #5b9dd9; // @NOTE lighten(desaturate(adjust-hue($base, 11.4747), 37.6238), 23.9216) | |
box-shadow: 0 0 2px rgba(30,140,190,.8); // @NOTE transparentize($tint, 0.2) | |
} | |
input[type="checkbox"]:checked::before { |
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
open() { | |
target_path=$(wslpath -a -w $(readlink -f $1)) # resolve the path | |
/mnt/c/Windows/explorer.exe $target_path # open the path | |
} |
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
Order Allow,Deny | |
Deny from all | |
<Files "deploy.php"> | |
Allow from all | |
</Files> |
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
ufw disable | |
certbot renew --renew-hook "/usr/bin/gitlab-ctl restart nginx" | |
ufw --force enable |
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
atom() { | |
target_path=$(wslpath -a -w $(readlink -f $1)) # resolve the path | |
(/mnt/c/Windows/System32/cmd.exe /C "atom.cmd $target_path" &> /dev/null) # open the path | |
} |
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(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) { | |
/******/ return installedModules[moduleId].exports; |