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
<?php | |
$url = "http://wkqx.tunegenie.com/"; | |
$title = "WKQX RSS Feed"; | |
$description = "A constantly updated feed for WKQX's playlist"; | |
$userAgent = "Googlebot/2.1 (http://www.googlebot.com/bot.html)"; | |
header("Content-type: text/xml; charset=utf-8", true); | |
echo "<?xml version='1.0' encoding='UTF-8' ?>" . PHP_EOL; | |
echo "<rss version='2.0'>" . PHP_EOL; |
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
<?php | |
define("TOKEN", "g430vdsj07jDSFj93g21"); | |
define("REMOTE_REPOSITORY", "https://gitlab+deploy-token-123:g430vdsj07jDSFj93g21@gitlab.com/JacobTheDev/new-site.git"); | |
define("DIR", "{$_SERVER["DOCUMENT_ROOT"]}/.gitlab/repository/"); | |
define("BRANCH", "refs/heads/master"); | |
define("LOGFILE", "deploy.log"); | |
define("GIT", "/usr/bin/git"); | |
define("MAX_EXECUTION_TIME", 180); | |
define("BEFORE_PULL", ""); | |
define("AFTER_PULL", ""); |
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
.scripts | |
› VM83 | |
› VM84 | |
› http://framework.localhost | |
› http://framework.localhost/wp-content/themes/framework/assets/scripts/fontawesome.cc84fb87.js (c:\Users\Jacob\Repositories\new-site\dev\assets\scripts\fontawesome.cc84fb87.js) | |
› http://framework.localhost/wp-content/themes/framework/assets/scripts/modern.08943789.js (c:\Users\Jacob\Repositories\new-site\dev\assets\scripts\modern.08943789.js) | |
› webpack:///(webpack)/buildin/module.js | |
› webpack:///./node_modules/@dotsunited/load-css-polyfill/dist/load-css-polyfill.mjs | |
› webpack:///./node_modules/@fortawesome/fontawesome-svg-core/index.es.js |
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; |
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
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
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
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
$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 { |