This is a simple script that allows you to choose an area that will be recorded into a 10s animated gif.
screencapture [dest-file]
| // the main app file | |
| import express from "express"; | |
| import loadDb from "./loadDb"; // dummy middleware to load db (sets request.db) | |
| import authenticate from "./authentication"; // middleware for doing authentication | |
| import permit from "./authorization"; // middleware for checking if user's role is permitted to make request | |
| const app = express(), | |
| api = express.Router(); | |
| // first middleware will setup db connection |
You like good application screenshots? Use a few lines of imagemagick to translate your ugly Windows, Linux or whatever application screenshots into Mac style (but plain and platform agnostic) ones.
#!/bin/bash
# usage:
#
# macify source dest| #!/bin/bash | |
| compose_file_path=$1 | |
| project_name=$2 | |
| backup_path=$3 | |
| function backup_volume { | |
| volume_name=$1 | |
| backup_destination=$2 |
| { | |
| "content_scripts": [ | |
| { | |
| "matches": ["http://*/*", "https://*/*"], | |
| "js": ["inject.js"], | |
| "all_frames": true | |
| } | |
| ], | |
| "web_accessible_resources": [ | |
| "content.js" |
| #!/bin/bash | |
| # sudo !! | |
| echo " | |
| __ | |
| ,-~¨^ ^¨-, _, | |
| / / ;^-._...,¨/ | |
| / / / / |
| #!/bin/sh | |
| # ref: https://piunikaweb.com/2019/03/25/samsung-galaxy-s10-remove-bundled-bloatwares-without-root/ | |
| # install the following app to see the packages names: | |
| # use the following command to generate the unistall command, for easy copy and paste: | |
| # adb shell 'pm list packages' | sed -e 's/^/adb uninstall --user 0 /' | grep FILTER_HERE | sort | |
| #things to install if removing keyboard | |
| # F-Droid | |
| # APK Analyser |