Skip to content

Instantly share code, notes, and snippets.

fly like a bird ...


fly like a bird ...
View GitHub Profile
carbontwelve / curl_example.php
Created Mar 27, 2014
PHP Curl to check if url is alive
View curl_example.php
function check_alive($url, $timeout = 10, $successOn = array(200, 301)) {
$ch = curl_init($url);
// Set request options
curl_setopt_array($ch, array(
CURLOPT_TIMEOUT => $timeout,
VladaHejda / NetteCsvResponse.php
Last active May 29, 2017
Nette CSV response
View NetteCsvResponse.php
namespace Nette\Application\Responses;
use Nette;
* CSV download response.
* Under New BSD license.
MichalKalita / Soupis webů s Nette Framework
Last active Nov 4, 2018
Update 29.4.2016: zkontrolováno cca 200 000 stránek, podle hlavičky "X-Powered-By"
View Soupis webů s Nette Framework
jonathonbyrdziak / betterxml.function.php
Last active May 26, 2019
Extending the SimpleXMLElement
View betterxml.function.php
* Giving myself more functionality over this bit
* @author byrd
class BetterXML extends SimpleXMLElement
jareware /
Last active May 7, 2021
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso