This file contains 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
div.anythingSlider .anythingControls {bottom:-20px !important;-webkit-transition: all 0.2s;} | |
div.anythingSlider:hover .anythingControls {bottom:0 !important;} |
This file contains 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
#logo-wrap img { | |
-webkit-filter: grayscale(1); | |
-webkit-transition:all 0.5s; | |
} | |
#logo-wrap img:hover{ | |
-webkit-filter: grayscale(0); | |
} |
This file contains 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
h1::selection { | |
-webkit-text-stroke: 2px #000; | |
background: transparent; | |
color: transparent; | |
} |
This file contains 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
console.time("dosomething"); | |
var foo = 'bar'; | |
console.timeEnd("dosomething"); |
This file contains 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
SELECT * FROM `table` WHERE expr1 SOUNDS LIKE 'string' |
This file contains 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
<snippet> | |
<content><![CDATA[ | |
/********************************/ | |
/* MySQL Connection */ | |
/********************************/ | |
if( $_SERVER['REMOTE_ADDR'] != '127.0.0.1' ){ | |
$mysqlhost="${1:localhost}"; | |
$mysqluser="${2:user_remote}"; | |
$mysqlpwd="${3:password_remote}"; | |
$mysqldb="${4:db_name_remote}"; |
This file contains 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
/* | |
Skript prüft, ob Typo3 auf der jeweiligen Seite verfügbar ist, indem es einen Request an http://seitenname/typo3/index.php sendet und den zurückgegebenen Statuscode prüft. | |
Da es in einem Firefox Add-On laufen soll, wurde es für den Firefox entwickelt. Läuft aber genauso auch in Chrome. | |
*/ | |
var http_request = false; | |
function checkTypo3(){ | |
http_request = false; | |
if (window.XMLHttpRequest) { | |
http_request = new XMLHttpRequest(); | |
if (http_request.overrideMimeType) { |
This file contains 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
" This must be first, because it changes other options as side effect | |
set nocp | |
"""""""""""""""""""""""""" | |
" pathogen init | |
"""""""""""""""""""""""""" | |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on |
This file contains 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
#!/bin/sh | |
### Are any Sass files canged or added? | |
if git status -s | grep '^M.\+s[ac]ss$' | |
then | |
gulp --cwd path/to/gulpfile css | |
fi | |
### Are any JS files canged or added? | |
if git status -s | grep '^M.\+js$' |
This file contains 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
SELECT DISTINCT | |
t4.title as Seite, | |
t4.uid as SeitenID, | |
t3.header as Titel, | |
t3.uid as InhaltsID | |
FROM | |
sys_file as t1, | |
sys_file_reference as t2, | |
tt_content as t3, | |
pages as t4 |