This gist is updated daily via cron job and lists stats for npm packages:
- Top 1,000 most depended-upon packages
- Top 1,000 packages with largest number of dependencies
- Top 1,000 packages with highest PageRank score
# Instrument binaries, pgo data to /data/pgo, serial make is important to not confuse the pgo generator | |
env CXXFLAGS='-march=native -fprofile-dir=/data/pgo -fprofile-generate=/data/pgo' cmake .. -DCMAKE_BUILD_TYPE=Release | |
make -j 1 | |
# Run instrumented program, generate and write pgo data | |
./runIt | |
# Use profile data and feed into gcc, correct for threading counter noise, serial make is important to not confuse the pgo generator | |
env CXXFLAGS='-march=native -fprofile-dir=/data/pgo -fprofile-use=/data/pgo -fprofile-correction' cmake .. -DCMAKE_BUILD_TYPE=Release | |
make -j 1 |
### Rober19 version | |
###### | |
# Win10 Optimization Script With Extra GPD Win Tweaks | |
# Adapted version of https://github.com/Disassembler0/Win10-Initial-Setup-Script by Disassembler <[email protected]> | |
# Author: BlackDragonBE | |
# Version: v2.2.1 (2017-12-02) | |
# Copied from https://www.reddit.com/r/gpdwin/comments/6ipa6c/windows_10_optimization_script_for_gpd_win/ | |
########## | |
# As a workaround for disabled script execution, run this command (without #) in an elevated PowerShell windows first and choose "all" if you're asked where to apply this: |
A handy little ScriptableObject creator which eliminates the need for those annoying [CreateAssetMenu] attributes which are a nightmare to maintain and navigate.
Made with Odin Inspector
The ScriptableObject creator has been originally made by Bjarke. Published on Odin Community Made Tools.
Improvements by VladV:
#!/usr/bin/env python3 | |
""" | |
namecheap-dns.py - Export/import DNS records from/to Namecheap | |
This script can export DNS records from a domain in Namecheap to a YAML file or | |
import records from a YAML file in the same format into Namecheap. I use this | |
script to maintain my Namecheap DNS records in a source repository with change | |
history, i.e., "configuration as code" for my Namecheap DNS records. |
To keep that CUCM 12+ demo license ticking just a little while longer:
Disable SLM:
chmod 000 /usr/local/cm/bin/SmartLicenseMgr
Create missing folder and file
mkdir /common/drf
touch /common/drf/UCM_SLM_deregister.xml
// ==UserScript== | |
// @name YouTube - Remaining Time Indicator | |
// @name:fr YouTube - Indicateur du temps restant | |
// @name:es YouTube - Indicador de tiempo restante | |
// @name:de YouTube - Anzeige der verbleibenden Zeit | |
// @name:it YouTube - Indicatore del tempo rimanente | |
// @name:zh-CN YouTube - 剩余时间指示器 | |
// @namespace https://gist.github.com/4lrick/cf14cf267684f06c1b7bc559ddf2b943 | |
// @version 1.8 | |
// @description Displays the remaining duration of a YouTube video next to the video duration, taking into account the playback rate. |
// insert into ~/.config/waybar/config | |
"custom/ddc_brightness": { | |
// I don't even want to know why this works. | |
// Change it to the following for your custom icons, | |
// current format is a hack for Material Symbols to display normally: | |
// "format": "{icon} {percentage}%", | |
"format": "<span rise='-2pt' size='12pt'>{icon}</span> <span rise='1pt' size='10pt'>{percentage}%</span>", | |
"format-icons": [ | |
// Icons from Google Material Symbols. |