Skip to content

Instantly share code, notes, and snippets.

View fabianmossberg's full-sized avatar
🏡
Hello world!

Fabian Mossberg fabianmossberg

🏡
Hello world!
View GitHub Profile
@fabianmossberg
fabianmossberg / gitclean.sh
Created June 17, 2021 08:54 — forked from rokibhasansagar/gitclean.sh
Bash script to remove all revisions from github or gist repository.
#!/bin/bash
#
# By Zibri (2019)
# Modified by @rokibhasansagar
#
# Usage: gitclean git-repo-url
#
gitclean ()
{
git clone "$1" workDir && {
@fabianmossberg
fabianmossberg / functions.php
Created March 2, 2021 15:29 — forked from maddisondesigns/functions.php
WooCommerce Custom Fields for Simple & Variable Products
/*
* Add our Custom Fields to simple products
*/
function mytheme_woo_add_custom_fields() {
global $woocommerce, $post;
echo '<div class="options_group">';
// Text Field
Bing Webmaster Tools
https://www.bing.com/toolbox/webmaster free
Browseo
http://www.browseo.net/ free
Google Analytics
https://www.google.com/analytics/ free