Installation: rofi-dev
version from apt
Plugin:
Command (shortcut alt + space):
nice -n 0 rofi -lazy-grab -combi-modi window,drun -show combi -modi combi,calc -no-levenshtein-sort
- Use the shift + arrow to change to live calculator
<?php | |
$latestRelease = 'https://api.github.com/repos/SrKomodo/shadowfox-updater/releases/latest'; | |
$tempFilename = 'temp_shadowfox.tar.gz'; | |
$os = 'Linux_x64'; | |
$context = \stream_context_create([ | |
'http' => [ | |
'method' => 'GET', | |
'header' => 'Accept: application/vnd.github.v3+json', |
Installation: rofi-dev
version from apt
Plugin:
Command (shortcut alt + space):
nice -n 0 rofi -lazy-grab -combi-modi window,drun -show combi -modi combi,calc -no-levenshtein-sort
-------------------- | |
-- idea.properties | |
-------------------- | |
# custom PhpStorm properties | |
editor.zero.latency.typing=true | |
-------------------- | |
-- phpstorm 64 vmoptions |
# | |
# In a git repo folder | |
# Usage: copy_modifications ~/folder/target | |
# | |
copy_modifications () { | |
git status -sb | grep -e '^ M' | cut -c 2- | awk '{printf("rsync -Rv %s '$1'/\n",$0);}' | sh; | |
} | |
copy_additions () { | |
git status -sb | grep -e '^A' | cut -c 2- | awk '{printf("rsync -Rv %s '$1'/\n",$0);}' | sh; |
// ==UserScript== | |
// @name Bulk read action Gooreads by Name | |
// @namespace goodreads.bulk.read.name | |
// @author matheusfaustino | |
// @description set all the books with a certain name as read | |
// @include *goodreads.com/series/* | |
// @include *goodreads.com/search* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
alias composer='php -n dextension=iconv.so -dextension=simplexml.so -dextension=xml.so -dextension=xmlwriter.so -dextension=dom.so -dextension=tokenizer.so -dextension=json.so -dextension=pdo.so -dextension=phar.so -dextension=zip.so -dextension=gd.so -dextension=mbstring.so -dextension=apcu.so -dextension=intl.so /usr/local/bin/composer'; |
# bash | |
# usage: xphp <php_file> | |
# xphp index.php | |
export PHP_IDE_CONFIG="serverName=<server_name_phpstorm>"; | |
alias xphp='XDEBUG_CONFIG=\"idekey=PHPSTORM\" php -dxdebug.idekey=PHPSTORM -dxdebug.remote_host=172.17.0.1 -dxdebug.remote_port=9000 -dxdebug.default_enable=1 -dxdebug.remote_enable=1'; | |
# xdebug config (Dockerfile) | |
RUN echo "\ | |
xdebug.var_display_max_depth = 10\n \ | |
xdebug.var_display_max_children = 256\n \ |
# warning me (Linux) | |
# usage: warning_me <minute> <text> | |
# warning_me 5 "Take Coffee" | |
warning_me () { | |
sleep "${1}m" | |
zenity --question --text="$2" --title="Warning Me" 2> /dev/null | |
if [ $? -eq 1 ]; then | |
warning_me 5 $2 | |
fi |
// ==UserScript== | |
// @name GoMovies "My Movies" enhanced | |
// @namespace gomovies.page.mymovies | |
// @author matheusfaustino | |
// @description Separe movies and series in my movies page | |
// @include https://gostream.is/user/movies/favorite* | |
// @version 1.1.0 | |
// @grant none | |
// ==/UserScript== |