Skip to content

Instantly share code, notes, and snippets.

View emanuellopes's full-sized avatar
🤘
Focusing

Emanuel Lopes emanuellopes

🤘
Focusing
View GitHub Profile
@emanuellopes
emanuellopes / gmk87-manual.md
Last active April 28, 2025 19:12 — forked from Joao-Peterson/gmk67-manual.md
GMK67 manual (English)
@emanuellopes
emanuellopes / cloudflare-ddns-update.sh
Created October 29, 2021 23:43 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/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
@emanuellopes
emanuellopes / yoast_seo_breadcrumb_add_woo_shop.php
Created April 19, 2021 10:39 — forked from amboutwe/yoast_seo_breadcrumb_add_woo_shop.php
Multiple examples of how to customize the Yoast SEO breadcrumbs
<?php
/********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/
/*
* Add shop link to the Yoast SEO breadcrumbs for a WooCommerce shop page.
* Credit: https://wordpress.stackexchange.com/users/8495/rjb
* Last Tested: Apr 20 2017 using Yoast SEO 4.6 on WordPress 4.7.3
*/
add_filter( 'wpseo_breadcrumb_links', 'wpseo_breadcrumb_add_woo_shop_link' );
@emanuellopes
emanuellopes / idea-reset-evaluation.sh
Created August 25, 2018 15:54 — forked from lzhoucs/idea-reset-evaluation.sh
reset intellij idea 14 evaluation
#!/bin/bash
echo "removing evaluation key"
rm ~/.IntelliJIdea15/config/eval/idea15.evaluation.key
# for mac go to: /Users/username/Library/Preferences/IntelliJIdea2016.3/eval/idea163.evaluation.key
echo "resetting evalsprt in options.xml"
sed -i '/evlsprt/d' ~/.IntelliJIdea15/config/options/options.xml
# for mac go to: /Users/lzhoucs/Library/Preferences/IntelliJIdea2016.3/options/options.xml