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
| WordpressNoob: i'm banging my head against the wall with http referrers | |
| chiper: make sure you're spelling it wrong | |
| TheMoonMaster: HTTP mother fucker | |
| wkdown: do you speak it | |
| chiper: what? | |
| WordpressNoob: what do you mean? referrer is the correct spelling | |
| chiper: WordpressNoob: exactly | |
| WordpressNoob: i'm confused | |
| chiper: WordpressNoob: in the HTTP spec it is spelled wrong | |
| wkdown: referer is used for some stupid reason |
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
| server { | |
| listen 80; | |
| server_name www.primal.dev primal.dev; | |
| access_log /srv/www/primal.dev/log/access.log; | |
| error_log /srv/www/primal.dev/log/error.log; | |
| root /srv/www/primal.dev/www; | |
| index index.html index.htm index.php; | |
| # force www subdomain | |
| if ($host !~* ^(www)) { |
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
| .animated { | |
| -webkit-animation: 1s ease; | |
| -moz-animation: 1s ease; | |
| -ms-animation: 1s ease; | |
| -o-animation: 1s ease; | |
| animation: 1s ease; | |
| -webkit-animation-fill-mode: both; | |
| -moz-animation-fill-mode: both; | |
| -ms-animation-fill-mode: both; | |
| -o-animation-fill-mode: both; |
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
| .progress-bar.stripes span { | |
| -webkit-background-size: 30px 30px; | |
| -moz-background-size: 30px 30px; | |
| background-size: 30px 30px; | |
| background-image: -webkit-gradient(linear, left top, right bottom, color-stop(.25, rgba(255, 255, 255, .15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .15)), color-stop(.75, rgba(255, 255, 255, .15)), color-stop(.75, transparent), to(transparent)); | |
| background-image: -webkit-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
| background-image: -moz-linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%, | |
| transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, |
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
| /*Shiny buble*/ | |
| .com-con .comment:after { | |
| content: ''; | |
| position: absolute; | |
| top: 0px; | |
| left: 3px; | |
| right: 3px; | |
| border-radius: 5px; | |
| height: 6px; | |
| padding: 3px 0; |
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
| <VirtualHost *:80> | |
| ServerAdmin lamp@chipersoft.com | |
| ServerName primal.lamp | |
| ServerAlias www.primal.lamp | |
| DocumentRoot /srv/www/primal.lamp/www/ | |
| ErrorLog /srv/www/primal.lamp/log/error.log | |
| CustomLog /srv/www/primal.lamp/log/access.log combined | |
| <Directory "/srv/www/primal.lamp/www"> | |
| Options Indexes FollowSymLinks |
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
| #!/usr/bin/env node | |
| var request = require('request'); | |
| var rCount = 0, | |
| iterations = 100, | |
| i = iterations, | |
| start = (new Date()).valueOf(), | |
| handler = function (error, response, body) { | |
| rCount--; | |
| console.log('Pop '+rCount); |
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
| <?php | |
| include("conn.php"); | |
| ##include("check.php"); | |
| $sql = ("SELECT * FROM inv"); | |
| $result = mysql_query($sql); | |
| ?> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
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() { | |
| var box = $('div.box'), | |
| w = $(window).width() / 2 - box.outerWidth() / 2; | |
| h= $(window).height() / 2 - box.outerHeight() / 2 ; | |
| $('button').css('position', 'absolute').on("click", function() { | |
| box.animate({ | |
| 'left': w, | |
| 'top': h | |
| }); |