View gltf.html
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> | |
<head> | |
<title>Model Viewer - Google</title> | |
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.js"></script> | |
<script nomodule src="https://unpkg.com/@google/model-viewer/dist/model-viewer-legacy.js"></script> | |
<style> | |
html, body { | |
font-family: sans-serif; | |
margin: 0; | |
padding: 0; |
View active-link-query-bug-react-router.js
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
import React from 'react' | |
import { render } from 'react-dom' | |
import { Router, Route, IndexRoute, Link, IndexLink, browserHistory } from 'react-router' | |
const ACTIVE = { color: 'red' } | |
class App extends React.Component { | |
render() { | |
return ( | |
<div> |
View remplaceImgLowRes
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
$(self.elImg).attr("src", self.currentStill.get("srcLowRes")); |
View dabblet.css
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
/* SVG alternative to fittext.js */ | |
div { | |
width: 300px; | |
height: 150px; | |
float: left; | |
margin-right : 10px; | |
background: #f06; | |
font: bold 150% sans-serif; | |
text-shadow: 0 1px 2px rgba(0,0,0,.5); |
View set_timestamp_from_commit.sh
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 | |
OS=${OS:-`uname`} | |
if [ "$OS" = 'Linux' ] | |
then | |
update_file_timestamp() { | |
file_time=`git log --no-merges --format=%ai "$1" | head -n 1` | |
echo "change timestamp file $file_time $1" | |
touch -d "$file_time" "$1" | |
} |
View devicelab.sh
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 | |
# Usage: | |
# Open browser on all connected devices - | |
# ./devicelab.sh | |
# Open a url on all connected devices - | |
# ./devicelab.sh http://paul.kinlan.me/ | |
adb kill-server | |
port=9220 |
View tumblrscripts.html
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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/eojssfq/QG5m6cm3z/embedgist.js"></script> |
View handler-routes-backbone.js
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
category:function(lang,id,idEntry) { | |
var categoryView=new CategoryView({id:id,lang:lang,idEntry:idEntry}); | |
faq.appView.show(categoryView); | |
this.changePage(categoryView,transition); | |
$.mobile.showPageLoadingMsg(); | |
}, |
View dabblet.css
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
/* | |
Loading dot dot dot | |
*/ | |
body { | |
padding: 100px; | |
font-size: 62.5%; | |
} | |
.loading { |