Language | Framework | Linter | Auto-reloader | Server |
---|---|---|---|---|
Ruby | Roda | Rubocop | ? | Passenger |
Python | Sanic | ? | X | ? |
PHP | Codeigniter | PHP-CS-Fixer | X | |
Crystal | Kemalcr | Ameba | Sentry | built-in |
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
const str = | |
`A: | |
a: 1 | |
c: 3 | |
b: 9 | |
f: 3 | |
B: | |
a: 3 | |
c: 5 | |
s: 4` |
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
class Parser | |
def initialize | |
@templates = {} | |
@definitions = {} | |
prepare_templates | |
prepare_methods | |
delegate | |
end |
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
require "./router.cr" | |
server = HTTP::Server.new(Router.new) | |
server.bind_tcp "127.0.0.1", 8080 | |
server.listen |
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
for x in {1..100000}; do time curl http://0.0.0.0:8080/ ; done ; |
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
Greeting, <%= @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
php spark serve -host 0.0.0.0 -port 4000 | |
ngrok http 0.0.0.0:4000 | |
Inspired by Passenger Phusion Server |
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
POST | |
env.params.body["x"] | |
#"Note that by default (for most web servers) the body of POST requests does not end up in the HTTP logs. | |
#This is part security and part because POST bodies could be big binary data (e.g. someone uploading a file)." | |
Zegnat | |
GET | |
env.params.query["x"] |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Electronic Arts] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Electronic Arts\EA Core] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Electronic Arts\EA Core\Installed Games] | |
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Electronic Arts\EA Core\Installed Games\sims3_dd] | |
"lang"="en_US" |
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
// ==UserScript== | |
// @name Astralna Machina | |
// @namespace Violentmonkey Scripts | |
// @match http://ojci3c.webd.pl/magan/tribe* | |
// @exclude http://ojci3c.webd.pl/magan/tribes.php?view=my&step=quit | |
// @grant none | |
// @version 0.2.0 | |
// @author Luunube | |
// @description Ten skrypt pomoże Ci zbudować własne narzędzia pomocne w budowie Astralnej Machiny. W tej chwili wskazuje ile jeszcze musicie zebrać surowców i ziół na stworzenie wszystkich konstrukcji i mikstur. | |
// @updateURL https://gist.githubusercontent.com/onliniak/95198d8a2bb6f41f6c08f8ded1f07f3e/raw/user.js |