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
/* zilli 20140630 | |
Test for rebeccapurple on WebKit Nightly Builds http://www.webkit.org | |
is fully supported, the new colour to remember Rebecca | |
*/ | |
background: rebeccapurple; | |
font: 200% helvetica Neue, sans-serif; | |
color: pink; |
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
tell application "Terminal" | |
activate | |
do script "ssh -2 [email protected]" | |
-- write user's password | |
-- write some linux commands to remote server | |
-- set window | |
set background color of first window to "black" | |
set cursor color of first window to "white" | |
set normal text color of first window to "white" |
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
# Sample Input | |
After ("[email protected]" ; "@" ; 1 ; 0) | |
After ("aa:bb:cc" ; ":" ; -1 ; 1 ) | |
After ("¶a¶b" ; ¶ ; 1 ; 0) | |
# Sample Output | |
aol.com | |
:cc | |
a¶b |
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
<audio src="/music/good_enough.mp3" autoplay="autoplay"> | |
If you are reading this, it is because your browser does not support the audio element. | |
<embed src="/music/good_enough.mp3" width="180" height="90" hidden="true" /> | |
</audio> |
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
// Parallax - paste this code in script.js | |
$('.content-23.custom-bg').each(function() { | |
if(! isMobile.any()) | |
$(this).parallax('50%', 0.3, true); | |
else | |
$(this).css('background-attachment', 'initial'); | |
}); |
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
// paste this code in script.js | |
function autoScrolling() | |
{ $('.header-1-sub .control-next').click(); setTimeout("autoScrolling();", 8000 /* 8 secs */ ); } | |
autoScrolling(); |
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
/* | |
To detect the operating system on the client machine, | |
analyze the value of navigator.appVersion or navigator.userAgent. | |
This script sets the variable OSName to reflect the actual client OS. | |
*/ | |
var OSName="Unknown OS"; | |
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows"; | |
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS"; | |
if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX"; |
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
/* Zilli 201507 | |
To detect the operating system on the client machine, | |
match the value of navigator.appVersion, | |
then redirect to OS url with the location.replace value. | |
*/ | |
if (navigator.appVersion.match(/Mac/i)) { | |
location.replace("index-Mac.html"); | |
} | |
else if (navigator.appVersion.match(/Win/i)) { |
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
/* Zilli 201102 | |
To detect the OS mobile system on the client device, | |
match the value of navigator.userAgent, | |
then redirect to mobile url with the location.replace value. | |
*/ | |
if (navigator.userAgent.match(/Android/i) | |
|| navigator.userAgent.match(/webOS/i) | |
|| navigator.userAgent.match(/iPhone/i) | |
|| navigator.userAgent.match(/iPad/i) |
OlderNewer