Skip to content

Instantly share code, notes, and snippets.

"><script src=// />

José Moreira cusspvz

"><script src=// />
View GitHub Profile
cusspvz /
Last active Feb 10, 2021
Delete all node_modules folders RECURSIVELY
# this command finds all the `node_modules` folders under your current path and will prune them
find . | grep /node_modules$ | grep -v /node_modules/ | xargs rm -fR
cusspvz / index.js
Created Nov 14, 2016
View index.js
const PREFIX = 'synaptic'
const NpmRegExp = /^@?[a-z0-9\-]*([a-z0-9\-])?$/
export default function requireByKind ( kind, given ) {
// Avoid access to specific files by restricting the `given`
if ( given.match( NpmRegExp ) ) {
throw new Error( `only alphanumeric names are valid` )
cusspvz / 99-login-fon
Last active Jan 21, 2021
FON ZON / NOS auto-login bash script wget portugal non-wispr client openwrt
View 99-login-fon
# place this file at: /etc/hotplug.d/iface/99-login-fon
# Configurations
. /lib/
sudo docker stop $(sudo docker ps -q);
sudo docker rm $(sudo docker ps -a -q);
sudo rm -fR /var/lib/rancher/
set -ex
# This scripts allows you to upload a binary to the iTunes Connect Store and do it for a specific app_id
# Because when you have multiple apps in status for download, xcodebuild upload will complain that multiple apps are in wait status
# Requires application loader to be installed
# See
# Itunes Connect username & password