- Freebase: http://www.freebase.com/query
- DBPedia: http://dbpedia.org/snorql
- Scroll for dbpedia examples: https://wiki.base22.com/display/btg/SPARQL+Query+Examples
- Factforge: http://factforge.net/sparql
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xs:schema | |
| xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
| xmlns:access_control_1_0="http://berlinonline.de/schemas/honeybee/config/access_control/1.0" | |
| targetNamespace="http://agavi.org/agavi/config/global/envelope/1.0" | |
| elementFormDefault="qualified" | |
| > | |
| <xs:import namespace="http://berlinonline.de/schemas/honeybee/config/access_control/1.0" | |
| schemaLocation="parts/access_control.xsd" /> |
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
| " Load .vimrc in the base directory of a git repo, if it exists | |
| let $git_vimrc= expand(system("echo -n $(git rev-parse --show-toplevel)/.vimrc")) | |
| if filereadable($git_vimrc) && $git_vimrc != expand("$HOME/.vimrc") | |
| source $git_vimrc | |
| endif |
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
| <?php | |
| class YourValidator extends AgaviValidator | |
| { | |
| public function validate() | |
| { | |
| if ($this->hasMultipleArguments()) { | |
| $this->throwError('multiple_arguments'); | |
| return false; | |
| } |
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
| <html> | |
| <head> | |
| <title>Select styles with CSS only</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| body { | |
| background-color: #fff; | |
| font-family: helvetica, sans-serif; | |
| margin: 4% 10% | |
| } |
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
| // ---- | |
| // Sass (v3.4.4) | |
| // Compass (v1.0.1) | |
| // ---- | |
| /// Bind all events, including self state if `$self` is true. | |
| /// @author Harry Roberts | |
| /// @link https://github.com/csswizardry/csswizardry.github.com/blob/master/css/_tools.mixins.scss#L13 CSSWizardry | |
| /// @param {Bool} $self - Include self state | |
| /// @output `:hover`, `:active` and `:focus` |
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
| nginx/ | |
| !nginx/.gitkeep | |
| !nginx/logs/.gitkeep | |
| src/ | |
| tmp/ |
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
| <?php | |
| interface UrlGeneratorInterface | |
| { | |
| /** | |
| * Generates a URL for the given route name and parameters. The options | |
| * MAY be used to provide hints for the URL generation. This includes | |
| * information about different parts of a URL, e.g. the scheme or port to | |
| * use or whether absolute or relative URLs should be generated. | |
| * |
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
| <?php | |
| echo 'default locale: ' . \Locale::getDefault(); | |
| echo PHP_EOL; | |
| echo 'default timezone: ' . \date_default_timezone_get(); | |
| echo PHP_EOL; | |
| // see http://tools.ietf.org/html/rfc3339#section-5.8 for example datetimes | |
| // bug report on missing fractions support: https://bugs.php.net/bug.php?id=51950 | |
| // feature request for fractions support in constructor: https://bugs.php.net/bug.php?id=49779 |