| 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
| 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 |
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://cirrus-ci.com/task/4647371069980672 | |
| # | |
| # Create static binary on FreeBSD | |
| # Default FreeBSD's openssl = bug, build new version from source | |
| # | |
| # crystal + openssl + pkgconf = dependencies required to build. | |
| # shards = package manager | |
| # gmake = because I don't like standard Makefile | |
| # Warning: When I try make std_spec compiler_spec on virtual machine with 2 threads of Ryzen5 1600 and 4gb ram, it killed my virtual machine. | |
| # |
Ct8.pl to prawdopodobnie jedyny darmowy hosting z SSH. Można to wykorzystać do instalacji swojego oprogramowania, np compilatora Crystal.
Jeśli Twój program wymaga zbudowania ze źródeł, dodaj dodatkowy parametr --prefix np:
./configure --prefix=$HOME/katalog
Jeśli jednak wiesz, że paczka jest obecna w systemie ale nie masz roota to podaj: freebsd-version ← żeby odkryć jaką wersję FreeBSD mają zainstalowaną, u mnie było 11.3
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
| import java.net.URL | |
| import java.lang.Thread as Thread1 | |
| Thread1 { | |
| var a = URL("http://hmkcode-api.appspot.com/rest/api/hello/Android").readText() | |
| runOnUiThread { | |
| textView4.text = a | |
| } | |
| }.start() |
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
| .newEvent{ | |
| background-color:blue; | |
| width:20px; | |
| height:20px; | |
| display:block; | |
| position:absolute; | |
| } | |
| #hours{ | |
| background-color: rebeccapurple; |
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
| new Date() //Date Fri Dec 06 2019 19:37:31 GMT+0000 | |
| new Date().toLocaleTimeString() //"19:36:29" | |
| new Date().toLocaleDateString() //"6.12.2019" | |
| new Date().toLocaleTimeString('en-US') //"7:39:12 PM" | |
| new Date().toLocaleTimeString('en-US' ,{hour: '2-digit'}) //"7 PM" |
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 | |
| include_once $_SERVER['DOCUMENT_ROOT'] . '/wp-config.php'; | |
| global $wpdb; | |
| // Set timezone | |
| date_default_timezone_set('Europe/Warsaw'); | |
| $select = file_get_contents('php://input'); | |
| $decode = json_decode($select, true); |