Skip to content

Instantly share code, notes, and snippets.

View nkkollaw's full-sized avatar

Niccolo Brogi nkkollaw

View GitHub Profile
nkkollaw /
Created January 13, 2018 20:18 — forked from haasn/
Firefox bullshit removal via about:config

Firefox bullshit removal

Due to the incessant swarm of complete and utter nonsense that has been forcing its way into Firefox over time, I've decided to start collecting my personal list of “must-have” about:config tweaks required to turn Firefox into a functional brower.

NOTE: Unfortunately this is somewhat out of date. The comments link to some resources that may be more up-to-date. Patches welcome.


These can be used for nefarious purposes and to bypass access restrictions.

nkkollaw / jp_sync_acf_fields.php
Last active October 19, 2021 00:03 — forked from jessepearson/acf-update-via-json.php
Automatically update Advanced Custom Fields field groups via JSON
* Function that will automatically update ACF field groups via JSON file update.
* @link
function jp_sync_acf_fields($json_dirs) {
$groups = acf_get_field_groups();
if (empty($groups)) {
nkkollaw / nomi_italiani.txt
Created September 3, 2018 20:34 — forked from pdesterlich/nomi_italiani.txt
lista nomi italiani
il presente elenco consiste in una raccolta di nomi presenti sul territorio italiano (non necessariamente "italiani")
viene generato prendendo processando automaticamente uno o più archivi anagrafici e non è controllato in alcun modo
è pertanto altamente possibile che ci siano errori o refusi
non è nè pretende di essere un elenco omnicomprensivo di tutti i nomi esistenti
nkkollaw / XFCE
Last active December 28, 2017 11:21
# Start with Ubuntu 18.04 minimal.
## Install Git
sudo apt install git -y
## Install GNU toolchain
sudo apt install autoconf automake libtool intltool pkg-config -y
nkkollaw / github-oauth2-client.php
Last active December 2, 2017 21:52
Simple PHP example of using Github's OAuth 2 API
ini_set('display_errors', 0);
define('GITHUB_APP_NAME', ''); // your Github username or application name (required by Github)
define('OAUTH2_CLIENT_ID', '');
define('OAUTH2_CLIENT_SECRET', '');
define('AUTHORIZE_URL', '');
define('TOKEN_URL', '');
nkkollaw / remove-feeds.php
Created May 26, 2017 23:33 — forked from joshuadavidnelson/remove-feeds.php
Remove all feeds from WordPress
add_action( 'wp_head', 'remove_feeds_from_wp_head', 1 );
* Remove feed links from wp_head
function remove_feeds_from_wp_head() {
// Remove feed links
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
HEAD: 394f9fa0aaa5854aa52bc589708a079665dcf462
Last commit: 3 weeks ago
Core tap ORIGIN:
Core tap HEAD: 8c0ba8d0304f916acffea5d03e60989b8c796518
Core tap last commit: 48 minutes ago
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar