Skip to content

Instantly share code, notes, and snippets.

@Chema22R
Chema22R / megaActivator.sh
Last active February 13, 2021 16:54
Mega Activator
#!/bin/bash
file=$1
extraCommand=$2
delay=5
accountsDetected=$(grep "" -c $file)
accountsProcessed=0
warnings=0
@Chema22R
Chema22R / README.md
Created March 20, 2020 07:38
Facing JS6 var, let, const

JS Compiler

Functions scope: var (limited), let (limited), const (limited)

function test() {
	var var_function = true;
	let let_function = true;
	const const_function = true;
}
@Chema22R
Chema22R / README.md
Last active July 9, 2021 14:35
Firefox Interface Customization: Bookmarks Toolbar Auto-hide

Steps:

  1. Ativate at about:config the following rule: toolkit.legacyUserProfileCustomizations.stylesheets.
  2. Create the userChrome.css file inside your Firefox profile folder (guide):
    • Launch your Firefox profile folder from Menu > Help > More Troubleshooting Information.
    • Click the Show in Finder/Open Folder button to the right of Profile Folder to open it.
    • Create in your Firefox profile folder a new folder called chrome, if it does not exist, and place inside the userChrome.css file.
  3. Optional: Enable the Browser Toolbox (Developer Tools for the Firefox UI) (guide):
    • Open the Developer Tools Settings, go to the section Advanced Settings, and check the settings Enable browser chrome and add-on debugging toolboxes and `Enable
@Chema22R
Chema22R / README.md
Last active March 25, 2020 06:13
Simple snippet to provide a loading spinner that reacts to click actions

Loading Particles Animation

Simple snippet to provide a loading spinner that reacts to click actions

Screenshot