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 Api(): | |
| def persons(self): | |
| return ['hek2mgl', 'lgm2keh'] | |
| class App(Api): | |
| def hello_messages(self): | |
| msg = [] |
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
| function get_request_uri() { | |
| $url = 'http'; | |
| if(isset($_SERVER['https']) && $_SERVER['https'] == 'on') { | |
| $url .= 's'; | |
| } | |
| $url .= '://'; | |
| $url .= $_SERVER['SERVER_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
| #!/bin/bash | |
| if [ $# != 2 ] ; then | |
| echo "usage $0 PATH_TO_BINARY TARGET_FOLDER" | |
| exit 1 | |
| fi | |
| PATH_TO_BINARY="$1" | |
| TARGET_FOLDER="$2" |
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
| hello world |