This file contains hidden or 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
time ./phantomjs-1.9.7-linux-x86_64/bin/phantomjs test.js |ffmpeg -c:v png -f image2pipe -r 10 -i - -y test.mp4 |
This file contains hidden or 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
SELECT * WHERE { | |
?e <http://purl.org/dc/terms/subject> <http://dbpedia.org/resource/Category:Former_empires> | |
. ?e <http://dbpedia.org/ontology/foundingYear> ?date1 | |
. ?e <http://dbpedia.org/ontology/dissolutionYear> ?date2 | |
. ?e <http://dbpedia.org/property/imageMap> ?imageMap | |
. OPTIONAL { | |
?e <http://dbpedia.org/ontology/foundingDate> ?date3 | |
. ?e <http://dbpedia.org/ontology/dissolutionDate> ?date4 | |
} | |
} |
This file contains hidden or 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/bash | |
# Pre-commit hook to make a mysql dump right before committing and add it to the commit. | |
# | |
## Change the following values to suit your local setup. | |
# The name of a database user with read access to the database. | |
#Uncomment if mysqldump is not in your path | |
#MYSQLPATH=c:/wamp/bin/mysql/mysql5.5.24/bin | |
#Comment if mysqldump is in your path |
This file contains hidden or 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/bash | |
# Pre-commit hook to make a mysql dump right before committing and add it to the commit. | |
# | |
## Change the following values to suit your local setup. | |
# The name of a database user with read access to the database. | |
DBUSER=root | |
# The password associated with the above user. Leave commented if none. | |
#DBPASS=seekrit | |
# The database associated with this repository. | |
DBNAME=dplay |
This file contains hidden or 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
// Chosen, a Select Box Enhancer for jQuery and Prototype | |
// by Patrick Filler for Harvest, http://getharvest.com | |
// | |
// Version 0.14.0 | |
// Full source at https://github.com/harvesthq/chosen | |
// Copyright (c) 2011 Harvest http://getharvest.com | |
// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md | |
// This file is generated by `grunt build`, do not edit it by hand. | |
// Diff pour support Ajax : |
This file contains hidden or 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
var force = d3.layout.force() | |
.gravity(0.2) | |
.charge(-150) | |
.linkDistance(300) | |
.size([800, 600]); | |
var svg = d3.select("body").append("svg:svg") | |
.attr("id","graph") | |
.attr("width", 800) | |
.attr("height", 600); |
This file contains hidden or 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
d3 = function() { | |
var π = Math.PI, ε = 1e-6, d3 = { | |
version: "3.0.6" | |
}, d3_radians = π / 180, d3_degrees = 180 / π, d3_document = document, d3_window = window; | |
function d3_target(d) { | |
return d.target; | |
} | |
function d3_source(d) { | |
return d.source; | |
} |
This file contains hidden or 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
<style> | |
#forkongithub | |
a { | |
background: rgb(255, 0, 0); | |
color: #fff; | |
text-decoration: none; | |
font-family: arial, sans-serif; | |
text-align: center; | |
font-weight: bold; | |
padding: 5px 40px; |
NewerOlder