cp /usr/lib64/spotify-client/Apps/zlink.spa ~/
unzip zlink.spa -d zlink
- Search for `view-billboard-ad'
- Add
data-bind="visible: null" - Save file
cd zlink; zip --quiet --recurce-paths ../zlink.spa ./
| var supportsWebGL = ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )(); | |
| if ( supportsWebGL ) { | |
| alert( 'FTW!' ); | |
| } |
| #!/bin/bash | |
| checkExisting(){ | |
| echo "Checking if already existing device on file..." | |
| while read fileLine; do | |
| if [ "$line" = "$fileLine" ]; then | |
| echo "[WARNING] Device already initialized on this system. Nothing to do here" |
| # | |
| # SSH port forwarding to server | |
| # | |
| remote_ip=8.8.8.8 | |
| remote_user=root | |
| local_port=22 | |
| remote_port=2222 | |
| ssh -f -N -R $remote_ip:$remote_port:localhost:$local_port $remote_user@$remote_ip |
| # | |
| # Lock current screen from command line | |
| # | |
| /System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend |
| #!/bin/bash | |
| function show_help | |
| { | |
| echo "Usage: $0 (-x xcoord) (-y ycoord) (-l level)" | |
| echo " [-r x width] [-s y width] -h for help" | |
| } | |
| if [ $# -le 1 ]; then | |
| show_help |
| #!/usr/bin/env python | |
| # https://reverseengineering.stackexchange.com/a/13395 | |
| import sys | |
| import binascii | |
| import struct | |
| import zlib | |
| if (len(sys.argv) <= 1): | |
| print('USAGE:\n%s [configBak.cfg|config.bin]' % sys.argv[0]) | |
| exit(1) |
| page = 1 | |
| pagenum = scribus.pageCount() | |
| content = [] | |
| number = 0 | |
| copies = 2 ### how many times number are displayed | |
| current_pos = 1 | |
| while (page <= pagenum): | |
| scribus.gotoPage(page) | |
| d = scribus.getPageItems() | |
| for item in d: |
| # Using gdbus | |
| gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.UninstallExtetension "(TopIcons@phocean.net)" | |
| ## | |
| gnome-shell-extension-tool -d no-title-bar@franglais125.gmail.com |
| #!/usr/bin/env python3 | |
| # -*- mode: python -** | |
| import fileinput, os | |
| dests = dict() | |
| """A dictionary associating absolute file names and file objects.""" | |
| counter = dict() | |
| """A dictionary associating file objects with count of emitted |