Skip to content

Instantly share code, notes, and snippets.

View Fiaxhs's full-sized avatar

Guillaume Lo Re Fiaxhs

View GitHub Profile
@Fiaxhs
Fiaxhs / gist:61aa9b7d9ea69e94a2c9
Last active October 8, 2021 06:52
Force date and time internet sync - Windows bat
REM Create a bat file with the following 4 lines (feel free to change ntp servers below)
w32tm /config /syncfromflags:manual /manualpeerlist:"ntp.unice.fr, ntp.accelance.net"
net start w32time
w32tm /resync
w32tm /resync
REM Yep, often the first time fails, just do it again.
REM Save as .bat file, and create a scheduled task at each logon.
REM - You can do this with Task Scheduler by hand, be sure to tick "Run as administrator"
Verifying that +fiaxhs is my blockchain ID. https://onename.com/fiaxhs
@Fiaxhs
Fiaxhs / userChrome.css
Last active June 17, 2023 17:42
Remove empty space before tabs in Firefox compact theme
/*
* Do not remove the @namespace line -- it's required for correct functioning
* Put this file under ~/Library/Application Support/Firefox/Profiles/[you]/chrome/
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/*
* FF < 57
*/
#TabsToolbar {
padding-left: 0 !important;
// ==UserScript==
// @name Spotify app only
// @namespace com.fiaxhs
// @description Launch app, kill that web player (with fire)
// @include https://play.spotify.com*
// @include https://open.spotify.com*
// @version 1
// @grant none
// ==/UserScript==
@Fiaxhs
Fiaxhs / gist:37adc060379ac4642adcdb740cb90125
Created January 29, 2021 01:16
Opt out reddit redesign without account
// Go to https://www.reddit.com
// Open JS Console, paste this:
document.cookie = "redesign_optout=true; expires=Mon, 1 Jan 2035 12:00:00 UTC; path=/";