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
| /* --- TOC | |
| 01. GENERAL TYPOGRAPHY | |
| 1. CSS Reset | |
| 2. General | |
| 3. Lists Styles | |
| 4. Borders & Dividers | |
| 5. Tables | |
| 6. Forms | |
| 7. Images |
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
| find /var -size +10000k -print0 | xargs -0 ls -lSh |
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
| /* | |
| Copyright (c) 2010, Patrick Wied. All rights reserved. | |
| Code licensed under the BSD License: | |
| http://patrick-wied.at/static/license.txt | |
| */ | |
| var heatmapApp = (function(){ | |
| // var definition | |
| // canvas: the canvas element | |
| // ctx: the canvas 2d context |
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
| // This will parse a delimited string into an array of | |
| // arrays. The default delimiter is the comma, but this | |
| // can be overriden in the second argument. | |
| function CSVToArray( strData, strDelimiter ){ | |
| // Check to see if the delimiter is defined. If not, | |
| // then default to comma. | |
| strDelimiter = (strDelimiter || ","); | |
| // Create a regular expression to parse the CSV values. |
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
| Options +FollowSymLinks | |
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^example\.com | |
| RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L] |
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 python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import BaseHTTPServer | |
| class RequestHandler (BaseHTTPServer.BaseHTTPRequestHandler): | |
| def do_GET (self): | |
| self.send_response(200) | |
| self.end_headers() | |
| self.wfile.write(self._get_status()) |
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
| window.confirm = function(message, event) { customConfirm(message, event); } |
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
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $ticket_location); | |
| curl_setopt($ch, CURLOPT_HEADER, true); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
| curl_setopt($ch, CURLOPT_TIMEOUT, 30); | |
| curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-type: text/xml")); | |
| $xml = "<ticket><comment><value>$value</value><is_public>$is_public</is_public></comment><uploads>$token</uploads></ticket>"; | |
| curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); |
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
| background: #f78d1d; | |
| background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20)); | |
| background: -moz-linear-gradient(top, #faa51a, #f47a20); | |
| filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20'); |
NewerOlder