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
user happy0 users; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
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
main.js: | |
lichess.widget("friends", { | |
following_onlines: function(us) { | |
$('#friend_box').friends("set", us); | |
}, | |
following_enters: function(name) { | |
$('#friend_box').friends('enters', name); | |
}, |
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
re.split("[,]*\s*[A-Z][.]\s", str) |
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
name=None, authors=None, title=None, year=None, full_citation=None, abstract=None, | |
definitive_link=None, open_acess_link=None, related_studies=None, main_results=None, | |
related_fundamental_issues=None, related_policies=None, disciplinary_classifications=None, | |
data_description=None, data_time_period=None, data_type=None, collection_methods=None, analysis_methods=None, | |
industries=None, countries=None, is_cross_country=None, is_comparative=None, is_gov_report=None, is_lit_review=None, funders=None |
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
https://github.com/ornicar/lila/blob/master/modules/fishnet/src/main/Client.scala#L5-L11 |
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
@app.route('/blah') | |
def blah(): | |
with open('all_data.txt') as data_file: | |
data = json.load(data_file) | |
return jsonify(data) |
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 | |
`p`.`page_id` AS "page_id", | |
`p`.`page_title` AS "page_title", | |
`r`.`rev_text_id` AS "revision_id", | |
`t`.`old_id` AS "text_id", | |
`t`.`old_text` | |
FROM | |
page p | |
INNER JOIN `revision` r | |
ON `p`.`page_id` = `r`.`rev_page` |
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
. | |
├── cache | |
│ ├── antlr | |
│ │ └── antlr | |
│ │ ├── ivy-2.7.7.xml | |
│ │ ├── ivy-2.7.7.xml.original | |
│ │ ├── ivydata-2.7.7.properties | |
│ │ └── jars | |
│ │ └── antlr-2.7.7.jar | |
│ ├── aopalliance |
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
vagrant@vagrant:/vagrant$ sbt run -Dhttp.port=9663 | |
[info] Loading project definition from /vagrant/project | |
[info] Set current project to lila (in build file:/vagrant/) | |
MessageCompiler took 236ms | |
--- (Running the application, auto-reloading is enabled) --- | |
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9663 | |
(Server started, use Ctrl+D to stop and go back to the console...) |
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
[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9663 | |
(Server started, use Ctrl+D to stop and go back to the console...) | |
MessageCompiler took 167ms | |
[info] Compiling 94 Scala sources to /vagrant/target/scala-2.11/classes... | |
MessageCompiler took 191ms | |
[info] a.event.slf4j.Slf4jLogger - Slf4jLogger started | |
[info] boot - Preloading modules | |
[info] boot - 62ms db |
NewerOlder