Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
- https://github.com/*
- https://*.github.com
| # Block Feed and Comments | |
| User-agent: * | |
| Disallow: /feed/ | |
| Disallow: /feed/$ | |
| Disallow: /comments/feed | |
| Disallow: /trackback/ | |
| Disallow: */?author=* | |
| Disallow: */author/* | |
| Disallow: /author* | |
| Disallow: /author/ | 
| add_action( 'wp_dashboard_setup', 'register_my_dashboard_widget' ); | |
| function register_my_dashboard_widget() { | |
| wp_add_dashboard_widget( | |
| 'my_dashboard_widget', | |
| 'My Dashboard Widget', | |
| 'my_dashboard_widget_display' | |
| ); | |
| } | 
| <?php | |
| $text = "NAVID"; | |
| $image = imagecreatefrompng('image.png'); | |
| $textColor = imagecolorallocate($image, 255, 255, 254); | |
| $white = imagecolorallocate($image, 255, 255, 255); | |
| $col_transparent = imagecolorallocatealpha($image, 255, 255, 255, 127); | |
| imagefill($image, 0, 0, $col_transparent); | 
| import requests, json | |
| from subarucreds import username,password,pin # just a "subarucreds.py" that has some variables i didn't want to share | |
| import datetime | |
| #login | |
| s=requests.Session() | |
| loginr=s.post('https://www.mysubaru.com/login', data = {'username':username,'password':password}) | |
| #should return a response 200 | |
| #Where's my subaru? | 
| <?php | |
| /* | |
| Plugin Name: Check Upload Filename | |
| Plugin URI: https://www.robertwent.com/ | |
| Description: Prevents image uploads by filename | |
| Version: 1.0 | |
| Author: Robert Went | |
| */ | |
| add_filter('wp_handle_upload_prefilter', 'check_for_lazy_people_uploads' ); | 
| #!/bin/bash | |
| # A bash script to update a Cloudflare DNS A record with the external IP of the source machine | |
| # Used to provide DDNS service for my home | |
| # Needs the DNS record pre-creating on Cloudflare | |
| # Proxy - uncomment and provide details if using a proxy | |
| #export https_proxy=http://<proxyuser>:<proxypassword>@<proxyip>:<proxyport> | |
| # Cloudflare zone is the zone which holds the record | 
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"URLs that can be created is from:
https://github.com/*https://*.github.com| <?php if( ! defined( 'ABSPATH' ) ) { die(); } | |
| /** | |
| * Plugin Name: Disable Attachment Pages | |
| * Plugin URI: https://gschoppe.com/wordpress/disable-attachment-pages | |
| * Description: Completely disable attachment pages the right way. No forced redirects or 404s, no reserved slugs. | |
| * Author: Greg Schoppe | |
| * Author URI: https://gschoppe.com/ | |
| * Version: 1.0.0 | |
| **/ | 
| #!/bin/bash | |
| # | |
| # sudo apt-get install id3v2 ffmpeg | |
| # | |
| # USAGE: | |
| # cd /book title/ | |
| # bash ~/this_script_path.sh | |
| # rm *.m4b (you need to manually remove the original in case something goes wrong) | |
| # | |
| # |