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
| /** | |
| * Reset all inheritable properties. | |
| * | |
| * Excluded uncommon properties: azimuth, elevation, pitch-range, pitch, richness, speech-rate, stress, voice-family, volume. | |
| * | |
| * @see https://open-wc.org/guides/knowledge/styling/styles-piercing-shadow-dom/ | |
| * @see https://gist.github.com/dcneiner/1137601 | |
| * | |
| */ | |
| :host { | 
| <!doctype html> | |
| <html class="no-js" lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <title>Snap Slider v2.0.0</title> | |
| <link rel="stylesheet" href="./snap-slider-v1.css"> | |
| <script defer src="./snap-slider-v2.js"></script> | |
| </head> | 
| # Add HTTP Headers to improve site security. | |
| # https://owasp.org/www-project-secure-headers/#tab=Headers | |
| # X-Frame-Options: Stop people from loading your site in an iframe on their own site. | |
| # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options | |
| add_header X-Frame-Options "SAMEORIGIN"; | |
| # X-XSS-Protection: Stop pages from loading when the browser detects cross-site scripting (XSS) attacks. | |
| # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection | |
| add_header X-XSS-Protection "1; mode=block"; | 
| <?php | |
| /** | |
| * Throw a 404 error and render the current theme's 404 template. | |
| * | |
| * @see https://richjenks.com/wordpress-throw-404/ | |
| * @see https://developer.wordpress.org/reference/hooks/pre_get_document_title/ | |
| */ | |
| function throw_404() { | |
| // 1. Ensure `is_*` functions work. | 
| <?php | |
| /** | |
| * Make PHP `array_map()` more like JavaScript. | |
| * | |
| * - Reverse paramaters so array comes first, callback second. | |
| * - Include index as second argument to callback. | |
| * | |
| * @param array $arr | |
| * @param function $callback | 
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
| # https://help.github.com/articles/ignoring-files | |
| # https://github.com/github/gitignore | |
| #=================# | |
| # Compiled source # | |
| #=================# | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | 
| <!doctype html> | |
| <html class="no-js" lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="x-ua-compatible" content="ie=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <title>Diff Example</title> | |
| </head> | |
| <body> | |
| <h1>Diff Example</h1> | 
| 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 |