A list of links to some of the tools I use.
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 https://www.instagram.com/instagram/\?__a\=1 > ~/Desktop/insta.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
#!/bin/bash | |
# Requires ffmpeg | |
# Scale down all jpgs in a folder to a set size and save them with a suffix | |
for i in *.jpg; do ffmpeg -i "${i}" -vf scale=1200:-1 "${i%.*}_small.jpg"; done |
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 | |
/* | |
Plugin Name: B&S Autoloader | |
Plugin URI: https://github.com/borgenfalkskott | |
Description: Mu-plugin autoloader for vanilla Wp. | |
Version: 1.1.0 | |
Author: Borgenfalk & Skott | |
Author URI: https://borgenfalk.se | |
License: MIT | |
*/ |
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
.git | |
.gitignore | |
.gitkeep | |
.babelrc | |
.editorconfig | |
.vscode | |
docker | |
docker-compose.yml | |
.env.example | |
phpcs.xml |
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
tar -czhf ${CI_COMMIT_TAG}.tar.gz -X .tarignore * |
Transfer files from unix machines.
In this example, we have setup the credentials for our remote server with the alias of xwing. This allows us to connect to the server without having to type all the credentials every time.
You just simply connect by typing: ssh xwing
We don't need to login before we run the scp
command, so let's logout and setup the ssh config.
Type exit
to logout.
NewerOlder