Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
Enter this in the search box along with your search terms:
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Find all gists with HTML files.
language:html
Language / Prior Art | ‘Valid’ HTML | HTML Mapping | Example | Example with Args |
---|---|---|---|---|
‘Valid’ | CSS Selectable | CSS Mapping | CSS Select | CSS Selector w Args |
JavaScript MooTools | Multiple instance Separate Args | new Foo(element); new Bar(element) |
new Foo(element, {a:"a", bB:"b B", c:{c:1}}); new Bar(element, {d:"d"}) |
|
— | — | — | — | — |
HTML attr Dojo <1.6 | NO |
// ---- | |
// Sass (v3.3.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
/* | |
* inspired by: | |
* http://www.smashingmagazine.com/2014/06/12/sassy-z-index-management-for-complex-layouts/ | |
*/ | |
$z: ( |
A HTML/CSS Class Naming Convention for Scalable/Modular CSS.
<?php | |
class CustomWordPressValetDriver extends WordPressValetDriver | |
{ | |
/** | |
* Allow filename-based cache busting. | |
* @see https://gist.github.com/stidges/3d0c0317bf0d36073dd045bbcc742852 | |
* @param string $sitePath | |
* @param string $siteName | |
* @param string $uri |
var p1 = { | |
x: 20, | |
y: 20 | |
}; | |
var p2 = { | |
x: 40, | |
y: 40 | |
}; |
var comp = app.project.activeItem; | |
var layer = comp.selectedLayers[0]; | |
var numEffects = layer.Effects.numProperties; | |
var slider; | |
for(var i = 1; i<=numEffects; i++){ | |
var effectLayer = layer.Effects.property(i); | |
var matchName = effectLayer.matchName; | |
if(matchName == "ADBE Slider Control"){ |
#!/bin/sh | |
sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php70.plist | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php70.plist | |
echo "xdebug disabled" |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).