Skip to content

Instantly share code, notes, and snippets.

View elbym's full-sized avatar

Elby elbym

  • ho.Systeme GmbH + Co. KG
  • Bielefeld
View GitHub Profile
@elbym
elbym / Qlik Sense Dark Theme
Last active March 1, 2024 08:57
Stylus dark theme for Qlik Sense
/* Dark Theme for Qlik Sense with the Monokai color theme
Based on the Dracula Theme by kuroikyu (https://userstyles.org/users/677889)
Elby Martin - elbymartin@gmail.com
*/
@font-feature-values Cascadia Code {
@styleset {
cursive: 1;
}
}
/* Code to Get Colored Titlebar Back in Mozilla Firefox in Windows 10
Created by Vishal Gupta for AskVG.com
http://www.askvg.com/tip-get-colored-titlebar-back-in-mozilla-firefox-in-windows-10/
with some own modifications
*/
#main-window[windowtype="navigator:browser"] {
background-color: transparent !important;
}
.titlebar-button {
// Background mixin
@mixin strips($color, $angle){
$color: saturate(lighten($color, 2%), 10%);
background: $color
linear-gradient($angle, $color 0%, $color 10%,
mix(black, $color, 5%) 10%, mix(black, $color, 5%) 20%,
mix(black, $color, 12%) 19%, mix(black, $color, 10%) 21%, // Thin line between gradient
mix(black, $color, 10%) 20%, mix(black, $color, 10%) 30%,
mix(black, $color, 17%) 29%, mix(black, $color, 15%) 31%, // Thin line between gradient
mix(black, $color, 15%) 30%, mix(black, $color, 15%) 40%,
@elbym
elbym / ie67891011-css-hacks.txt
Last active January 12, 2017 09:29 — forked from ricardozea/ie67891011-css-hacks.txt
IE CSS hacks - IE6, 7, 8, 9, 10, 11
IE6 Only
==================
_selector {...}
IE6 & IE7
==================
*html or { _property: }
IE7 Only
==================
#!/bin/bash
#while read line
#do
# echo -e "$line"
# qrencode -l L -o "${line//[\/?]/}".png $line
#done < urls.txt
while read line
do
kdnr=$(cut -f5 <<< "$line")
@elbym
elbym / gist:13ff662e2e55db45ae17
Created July 20, 2015 21:16
Chance file modififaction date from filename (after moving the gallery on andriod from the device to the sd card)
#Sources which helped:
# http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.html
# http://apple.stackexchange.com/questions/142538/read-creation-date-from-file-name-and-change-batch
#for all images with EXIF Infos
jead -ft *
#for all mp4 movies
for f in *.mp4; do
t=$(echo $f | sed -E 's/_//g' | sed -E 's/.mp4//g' | sed 's/.\{2\}$//')
@for $zengrid from 1 through 4 {
.zen-grid-#{$zengrid}col {
@include clearfix;
$zen-column-count: $zengrid;
@for $i from 1 through $zen-column-count {
.zen-grid-#{$i} {
@include zen-grid-item(1, $i);
@if $i == 1 {
@include zen-clear();
}
@elbym
elbym / cas-to-barcode
Created August 26, 2014 08:02
Mass generate barcodes from a CSV file
#!/bin/bash
while read line
do
#Set the desired columns as a variable to use later
#for more info see the manpage for cut
var1=$(cut -f1 <<< "$line")
var2=$(cut -f2 <<< "$line")
#display some visual output (not necessary)
@elbym
elbym / csv-to-qr
Last active October 19, 2015 08:24
Convert CSV List to QR Code using the Linux bash
#!/bin/bash
while read line
do
#Set the desired columns as a variable to use later
#for more info see the manpage for cut
var1=$(cut -f1 <<< "$line")
var2=$(cut -f2 <<< "$line")
url=$(cut -f3 <<< "$line")
@elbym
elbym / compass base
Created May 19, 2014 10:31
My compass base.scss
//
// "base" partial
//
// To make it easier to use all variables and mixins in any Sass file in this
// theme, each .scss file has a @import "base" declaration. And this _base.scss
// file is in charge of importing all the other partials needed for the theme.
//
// This base partial is organized in this way:
// - First we set any shared Sass variables.
// - Next we import Compass plug-ins (Sass mixin libraries).