This file contains 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
#!/bin/sh | |
# vim: set et sw=4 ts=4 ff=unix ft=sh : | |
git filter-branch --env-filter ' | |
OLD_EMAIL="private@email.com" | |
CORRECT_NAME="Your Name" | |
CORRECT_EMAIL="yourname@users.noreply.github.com" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" |
This file contains 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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<title>TITLE</title> | |
<style> | |
html, body, body :not(script) { | |
display: flex; | |
flex-direction: column; |
This file contains 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
html, body, body :not(script) { | |
display: flex; | |
flex-direction: column; | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
html { | |
height: 100%; | |
} |
This file contains 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 | |
/** | |
* Quick utility function for dumping the public API of a class | |
*/ | |
function reflect($obj) { | |
$refl = new \ReflectionClass($obj); | |
$ret = array(); | |
foreach($refl->getConstants() as $const => $val) { | |
$ret[] = '::' . $const->name . ' = ' . $val; | |
} |
This file contains 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
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#"> | |
<!-- vim: et ts=4 sw=4 ff=unix ft=html: --> | |
<head profile="http://gmpg.org/xfn/11"> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> | |
<title>Tóg Dublin Hackerspace, DIY, Projects, Electronics, Networking</title> | |
<link rel="stylesheet" href="/static/css/style.css" /> | |
<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/apple-touch-icon.png"/> | |
<link rel="icon" type="image/png" href="/static/icons/favicon-32x32.png" sizes="32x32"/> | |
<link rel="icon" type="image/png" href="/static/icons/favicon-194x194.png" sizes="194x194"/> |
This file contains 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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Data</title> | |
<style> | |
html, body, #app { | |
margin: 0 auto; | |
padding: 0; |
This file contains 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 | |
use Sami\Project; | |
use Sami\Reflection\ClassReflection; | |
class CustomProject extends Project | |
{ | |
protected function updateCache(ClassReflection $class) | |
{ | |
$name = $class->getName(); |
This file contains 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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
<title>Mapbox GL</title> | |
<link rel="stylesheet" href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.28.0/mapbox-gl.css" /> | |
<style> | |
body { margin:0; padding:0; } | |
#map { position:absolute; top:0; bottom:0; width:100%; } |
This file contains 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
HTTP/1.1 200 OK | |
Content-Type: text/html | |
Content-Length: 0 | |
Link: </serviceworker.js>;rel="serviceworker" | |
Refresh: 0 |
This file contains 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
matrix-off: about-scheme true | |
matrix-off: behind-the-scene true | |
matrix-off: chrome-extension-scheme true | |
matrix-off: chrome-scheme true | |
matrix-off: localhost true | |
matrix-off: opera-scheme true | |
* * cookie block | |
* * script block | |
* 1st-party * allow | |
* 1st-party script allow |