This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function KeyPress(e) { | |
var evtobj = window.event? event : e; | |
if (evtobj.keyCode == 37 && evtobj.altKey) { | |
window.history.back() | |
} else if (evtobj.keyCode == 39 && evtobj.altKey) { | |
window.history.forward() | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Activities configurator --- | |
https://extensions.gnome.org/extension/358/activities-configurator/ | |
--- Alternatetab --- | |
https://extensions.gnome.org/extension/15/alternatetab/ | |
--- Battery status --- | |
https://extensions.gnome.org/extension/817/battery-status/ | |
--- Coverflow alt-tab --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kirby .htaccess | |
# rewrite rules | |
<IfModule mod_rewrite.c> | |
# enable awesome urls. i.e.: | |
# http://yourdomain.com/about-us/team | |
RewriteEngine on | |
# make sure to set the RewriteBase correctly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
//// | |
/// Font-face importer (FFI) | |
/// @author Hugo Giraudel | |
//// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
* | |
* _gradients.scss: Creates mixin for gradients. | |
* | |
* @author Eduard M. | |
* | |
******************************************************************************/ | |
@mixin gradient($gradient: (), $fallback: '', $direction: 'horizontal') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Will result in wrong output | |
$list1: ( | |
('value1', 'value2', 'value3', 'value4', 'value5', 'value6') | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media all and (max-width: 568px) { | |
.post iframe[src^="https://embed.spotify.com"], | |
.post-head iframe[src^="https://embed.spotify.com"] { | |
max-height: 440px; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$systemAppArray = array( | |
"com.android.vending"=>"Google Play Store", | |
"com.sec.android.app.camera"=>"Kamera", | |
"com.android.email"=>"Email", | |
"com.google.android.gm"=>"Google Mail", | |
"com.android.mms"=>"Nachrichten", | |
"com.android.music"=>"Musik", | |
"com.swype.android.inputmethod"=>"Swype", | |
"com.google.android.youtube"=>"YouTube" | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$arrrrray = array( | |
"Arcade & Action", | |
"Casual", | |
"Cards & Casino", | |
"Brain & Puzzle", | |
"Racing", | |
"Sports Games"); | |
if (in_array($appCategory, $arrrrray)){ | |
$appCategory = "games"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Catching the category from the Play Store description and sorting the list | |
if (isset($appCategory)){ | |
switch($appCategory){ | |
// APPS | |
case "Weather": $appCategory = "apps"; break; // Wetter | |
case "Transportation": $appCategory = "apps"; break; // Verkehr | |
case "Entertainment": $appCategory = "apps"; break; // Unterhaltung | |
case "Tools": $appCategory = "apps"; break; // Tools | |
case "Sports": $appCategory = "apps"; break; // Sport | |
case "Social": $appCategory = "apps"; break; // Soziale Netzwerke |