cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 700 ~/.sssh
chmod 600 ~/.ssh/auhotirzed_keys
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
// JavaScript Document | |
// Scripts written by __gulp_init__author_name @ __gulp_init__author_company | |
module.exports = { | |
// config task, generate configuration file for uploads & BrowserSync and prompt dev for input | |
config(gulp, plugins, requested = "") { | |
// generate config.json and start other functions | |
const generate_config = (file_name, mode = "ftp") => { | |
// store array of config file URIs |
This file contains hidden or 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
lts/* |
This file contains hidden or 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
# Modify VS Code CLI to expand symlinks before opening, to fix git status highlighting | |
code() { | |
# Set the path to VS Code | |
code_path="/mnt/c/Users/Jacob/AppData/Local/Programs/Microsoft VS Code/bin/code"; | |
# Store converted arguments | |
converted="" | |
# Loop through all passed arguments | |
for arg in "$@" |
This file contains hidden or 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 | |
directory=$1 | |
if [ "$directory" == "" ] | |
then | |
echo -e $"${0##*/}: missing operand" | |
exit 1; | |
fi; | |
if ! [[ -r "$directory" && -w "$directory" ]] |