Skip to content

Instantly share code, notes, and snippets.

Avatar
Fail Fast, Move On

Lukáš Mešťan arzzen

Fail Fast, Move On
View GitHub Profile
View cssjenkins
body{font-family:"Helvetica Neue",sans-serif!important;font-size:13px!important;line-height:20px!important;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8BAMAAADI0sRBAAAAJ1BMVEXr6+vq6urs7Ozp6ent7e3u7u7o6Ojv7+/n5+fw8PDm5ubl5eXx8fETrQmTAAAFhElEQVR4Xi3VTXPjSB0G8H+3XhyYS7dkOZlZDuqW5JjiIqllO9wkuZ0MnGTLNjvsxW/Rbm1xsJ23KYpDHGcWFycyBVSF4hCWYmvZI8UH4MjHol27p9+x357n3yCWtM21tZDDeo3Hk2EA0BtMhrxQNAiwuZR2zbuLmf0ALTR45izN0eD1RwWrgYlEc+sCZWQW83PUaJTtHw9RY3apYFMY+VKIRhPqj9zmFr58T2mb4ctfbRU2AhLKEIud+EXuF6B7V7fdu7TjXXUXimkIeAzu+Q5RSpx72h5ingdDV+Er0BVAJnF+wp999EbtXjgWwelCOAOmiLoQWePL08AHqqeSug6gAvC5A+Ao5h2Yu9X6VaOsEozD8ejr8kOS1fWvy7NSkU0AJXSBiAGaAJPeoNXO4icuWh1FiiMHQpv3ehu0dx9RyfloHtVW8WQ094hiQYBhmg2Tz+Uv20PBcZXw5hyTKsm5Qoug3aj0ZXsNn858VNHgy0VUjzrBl98IxaUF3o57QbriS8Od7k0N34h4wDR8WipOHJAN6s7sB6phbSJ7um9iPqW6n04VdArIr65XUwZR3OrdmW/etqlF2Ju3u4Gi7oD7/RXIeSdD4/s8yR/cv4V5IluKGgfkUCeun9F2Ku1KRzX/t3/XG6i2uVAsNIjfVfC2uhSpyQZiyDt1i5sF78wyBUbwFldPUTga97014buUxcs+Ok6Z3VRsNIia4tcvjAqqXX0hd14wszu54wUTqhilsCqf+xUBTl
@arzzen
arzzen / index.html
Created Dec 7, 2015
fall back to local jquery in case cdn is unavailable
View index.html
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script type="text/javascript">
if (typeof jQuery === 'undefined')
{
// fall back to local jQuery in case CDN is unavailable
document.write('\x3Cscript type="text/javascript" src="/js/jquery.min.js">\x3C/script>');
}
</script>
@arzzen
arzzen / git_log_date_tag_csv.sh
Created Mar 15, 2016
git log date and tag csv
View git_log_date_tag_csv.sh
# output format (datetime;tag), example:
# 2016-03-07 14:54;%C;1.1.61
git log --tags --simplify-by-decoration --pretty="format:%ai%x08%x08%x08%x08%x08%x08%x08%x08%x08;%C;%d" | egrep "\(tag: [0-9]\.[0-9]+\.[0-9]+\)" | sed 's/ (tag: //' | sed 's/)//'
@arzzen
arzzen / applet.js
Created Apr 29, 2016
Cinnamon weather applet - file applet.sj
View applet.js
//"use strict"
//----------------------------------
// imports
//----------------------------------
/**
* /usr/share/gjs-1.0/
* /usr/share/gnome-js/
*/
@arzzen
arzzen / settings-schema.json
Created Apr 29, 2016
Cinnamon weather applet - file settings-schema.json
View settings-schema.json
{
"woeidLookup":
{ "type": "button"
, "description": "Get WOEID"
, "callback": "woeidLookup"
, "tooltip": "http://woeid.rosselliot.co.nz/"
}
, "woeid":
{ "type": "entry"
, "default": ""
@arzzen
arzzen / Makefile
Created Apr 29, 2016
Update cinnamon weather applet (new Yahoo API)
View Makefile
FILE_APPLET="/home/$(USER)/.local/share/cinnamon/applets/weather@mockturtl/applet.js"
FILE_SCHEMA="/home/$(USER)/.local/share/cinnamon/applets/weather@mockturtl/settings-schema.json"
all:
@echo "usage: make install"
install:
wget -q https://gist.githubusercontent.com/arzzen/7925e31c5355035a6161b5059232ec35/raw/5efbae9132178010ff36cfa105ba238c84ed6069/applet.js -O $(FILE_APPLET) && \
wget -q https://gist.githubusercontent.com/arzzen/1575f9eb3c5daf82f119e37352597dab/raw/999a65b5f9397668dc38c017e01b0c4f0ac04d66/settings-schema.json -O $(FILE_SCHEMA)
@arzzen
arzzen / jenkins.css
Last active Aug 17, 2017
jenkins-theme-private
View jenkins.css
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700,500,300);@-webkit-keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes b{0%{opacity:1}50%{opacity:0}to{opacity:1}}[src$='blue.png']{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMDA5Njg4IiBkPSJNMTIgMkM2LjQ4IDIgMiA2LjQ4IDIgMTJzNC40OCAxMCAxMCAxMCAxMC00LjQ4IDEwLTEwUzE3LjUyIDIgMTIgMnptLTIgMTVsLTUtNSAxLjQxLTEuNDFMMTAgMTQuMTdsNy41OS03LjU5TDE5IDhsLTkgOXoiLz48L3N2Zz4=)}[src$='red.png']{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBma
View keybase.md

Keybase proof

I hereby claim:

  • I am arzzen on github.
  • I am get (https://keybase.io/get) on keybase.
  • I have a public key whose fingerprint is A18B EADA BDC6 0123 6F9E 29F4 88BB C317 72F6 3516

To claim this, I am signing this object:

@arzzen
arzzen / notify.sh
Created Sep 16, 2016
Notifikacny skript
View notify.sh
#!/bin/bash
# Install dependences
# sudo apt-get install mailutils
# chmod +x notify.sh
RECEIVER="email@gmail.email"
SERVER_NAME=$HOSTNAME
SENDER=$(whoami)
@arzzen
arzzen / download.sh
Last active Jan 29, 2018
Download torrent
View download.sh
#!/bin/bash
# Install transmission dependences
# sudo apt-get install transmission-cli transmission-daemon transmission-common
# chmod +x download.sh
DOWNLOAD_DIR=${HOME}"/download"
TRANS_CLI="transmission-cli"
TRANS_SHOW="transmission-show"
TRANS_NOTIFY=${HOME}"/notify.sh"
You can’t perform that action at this time.