Skip to content

Instantly share code, notes, and snippets.

View petrleocompel's full-sized avatar

Petr Leo Compel petrleocompel

View GitHub Profile
@petrleocompel
petrleocompel / main.js
Created June 23, 2019 14:09
jira-filter-my-subtasks
for(var row of document.getElementById("issuetable").children.item(0).children) {
if(row.children.item(4).textContent.trim().indexOf("Compel Petr") === -1) {
row.classList.add("hidden")
}
}

Fist of all need to move xdg-mime to xdg-mime.orig

mv /usr/bin/xdg-mime /usr/bin/xdg-mime.orig

then new file xdg-mime and xdg-mime.bash

html
{
background: #1A1A1A /* fixed */ !important;
}
/*----- DEFAULT TEXT, BORDER & BACKGROUND COLORS -----*/
*
{
color: #999 !important;
@petrleocompel
petrleocompel / install.sh
Last active April 15, 2019 13:24
Ubuntu install
#!/bin/bash
# NodeJS
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
# Jetbrains toolbox
wget https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.3.2421.tar.gz
tar xzrf jetbrains-toolbox-1.3.2421.tar.gz
rm jetbrains-toolbox-1.3.2421.tar.gz
@petrleocompel
petrleocompel / README.md
Last active August 25, 2023 22:08
Huawei - modes

AT Mode E3131

usb_modeswitch -v 0x12d1 -p 0x14fe -V 0x12d1 -P 0x1506 -M "55534243123456780000000000000011062000000100000000000000000000"

AT Mode E3372

usb_modeswitch -v 0x12d1 -p 0x14fe -V 0x12d1 -P 0x1506 -J
@petrleocompel
petrleocompel / apt+dpkg.sh
Created July 11, 2016 13:08
Mysql - reinstall (with db remove) + no root pass
apt-get remove mysql-server mysql-client mysql-server-core* mysql-client-*
rm -rf /var/lib/mysql /etc/mysql
update-alternatives --remove my.cnf /etc/mysql/my.cnf.fallback
update-alternatives --remove my.cnf /etc/mysql/my.cnf
update-alternatives --remove my.cnf /etc/mysql/mysql.cnf
apt-get install mysql-server mysql-client mysql-server-core* mysql-client-*
dpkg --force-confmiss --install /var/cache/apt/archives/mysql-*
@petrleocompel
petrleocompel / jira-kaban-black.css
Created December 3, 2015 17:10
Black Jira Kaban
body {
background-color: #000 !important;;
background: #000 !important;
color: #ddd !important;;
}
a {
color: #3797FF;
}
a:hover, a:focus, a:active {