rsync -auzPhv --delete --exclude-from=rsync_exclude.txt SOURCE/ DEST/ -n-a->--archive; recursively sync, preserving symbolic links and all file metadata-u->--update; skip files that are newer on the receiver; sometimes this is inaccurate (due to Git, I think...)-z->--compress; compression-P->--progress+--partial; show progress bar and resume interupted transfers-h->--human-readable; human-readable format-v->--verbose; verbose output
-n->--dry-run; dry run; use this to test, and then remove to actually execute the sync
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
| { | |
| "words":"-------------------------------------------------------------", | |
| "words.Technologies":"Technologies", | |
| "Sidebar":"-----------------------------------------------------------", | |
| "Sidebar.nav.list":[ | |
| { | |
| "label": "Profile", | |
| "url": "profile" | |
| }, | |
| { |
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 | |
| SCREENSHOT_FILE="$HOME/Pictures/screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S)" | |
| gnome-screenshot --area --file=$SCREENSHOT_FILE | |
| xclip -selection clipboard -target image/png -i $SCREENSHOT_FILE |
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
| { | |
| "apps": { | |
| "pocketcasts": { | |
| "id": "play.pocketcasts.com__podcasts.Chromium", | |
| "cmd": "/snap/bin/chromium --app=https://play.pocketcasts.com/podcasts &" | |
| } | |
| } | |
| } |
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 | |
| # Name: app-activate | |
| # Author: Jusitn Rankin <[email protected]> | |
| # Description: script to activate and bring into focus a specified app window, if already open; | |
| # otherwise, open a new instance of app, avoiding opening multiple instances. | |
| # Requires: | |
| # - sudo apt install -y wmctrl | |
| # - sudo apt install -y jp | |
| # - companion JSON file ./app-activations.json containing entries of app "favorites" |
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
| const { execSync } = require('child_process'); | |
| function run(func) { | |
| console.log(execSync(func).toString()) | |
| } | |
| module.exports = { | |
| name: prompt('package name', basename || package.name), | |
| version: prompt('version', '0.0.0'), | |
| decription: prompt('description', ''), |
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
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |
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
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
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
| { | |
| "parser": "babel-flow", | |
| "printWidth": 120, | |
| "useTabs": false, | |
| "tabWidth": 2, | |
| "singleQuote": true, | |
| "semi": true, | |
| "trailingComma": "es5", | |
| "bracketSpacing": true, | |
| "arrowParens":"always", |
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
| # GIT # | |
| ############## | |
| .gitignore-rules | |
| .gitignore-starter | |
| .git-bak | |
| .git-BAK | |
| # COMMON # |