Skip to content

Instantly share code, notes, and snippets.

View jenkoian's full-sized avatar
👨‍💻
Works on my machine

Ian Jenkins jenkoian

👨‍💻
Works on my machine
View GitHub Profile
<?php
use \Symfony\Component\Form\FormInterface;
use \Symfony\Component\HttpFoundation\Request;
class FormSet
{
/**
* @var SplObjectStorage|FormInterface[]
*/
echo "Remove vendor folder"
rm -rf ./vendor/*
echo "Get all vendors again but with the .git folder
composer install --prefer-source
echo "Find a list of all repositories Tobias Nyholm has contributed to
find . -name .git -type d -prune -exec bash -c "cd '{}' && git shortlog -snc | grep 'Tobias Nyholm' > /dev/null && echo '{}' " \;
@jenkoian
jenkoian / glassdoor.txt
Last active October 20, 2021 15:43 — forked from se79419ed/glassdoor.txt
bookmarklet to remove hardsell overlay from glassdoor.com
javascript:(function(){
document.getElementById('ContentWallHardsell').remove();
document.getElementsByTagName("body")[0].style.overflow = "scroll";
let style = document.createElement('style');
style.innerHTML = `
#LoginModal {
display: none!important;
}
`;
document.head.appendChild(style);
@jenkoian
jenkoian / full_list_of_wp_globals.php
Created July 22, 2021 15:53 — forked from kagg-design/full_list_of_wp_globals.php
Full list of WordPress global variables, extracted from WP Coding Standards
<?php
/**
* List of global WP variables.
*
* @since 0.3.0
* @since 0.11.0 Changed visibility from public to protected.
* @since 0.12.0 Renamed from `$globals` to `$wp_globals` to be more descriptive.
* @since 0.12.0 Moved from WordPress_Sniffs_Variables_GlobalVariablesSniff to WordPress_Sniff
*
* @var array