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 ./
#!/bin/bash | |
for input in "$@"; do | |
output="${input%%.*}.avi" | |
# does not work if filename has multiple dot | |
ffmpeg -i "$input" -c:v mpeg4 -vtag DIVX -s 640x480 -qscale:v 10 -c:a libmp3lame -qscale:a 0 "$output" | |
done |
#!/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 |
# 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 |
. | |
├── acs_cli | |
├── acsd | |
├── ash | |
├── bcmlog | |
├── bdmf_shell | |
├── bobtest | |
├── brctl | |
├── bs | |
├── busybox |
#!/bin/bash | |
# Indonesia | |
for long in {090..160..5}; do | |
# north side | |
for lat in {020..000..-5}; do | |
file="N${lat}E${long}_N$(printf '%03d' $((10#$lat + 05)))E$(printf '%03d' $((10#$long + 05))).tar.gz" | |
wget -nc ftp://ftp.eorc.jaxa.jp/pub/ALOS/ext1/AW3D30/release_v1804/$file | |
done | |
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: |
#!/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) |
#!/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 |
#!/bin/sh | |
for vid in *.MOD; do python3 convert_mod.py $vid; done |