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 | |
| # Change `site.com` - to own name | |
| read SERVER_NAME | |
| sudo -s | |
| # Change codepage | |
| export LC_ALL="en_US.UTF-8" | |
| export LC_CTYPE="en_US.UTF-8" | |
| # Update and install software |
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 | |
| function __array_append( $item ) { | |
| return function( $array ) use ( $item ) { | |
| $array[] = $item; | |
| return $array; | |
| }; | |
| } | |
| function __array_set( $key, $value ) { | |
| return function( $array ) use ( $key, $value ) { |
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 kalendar{ | |
| public: | |
| char month[10]; | |
| int day; | |
| char hour[5]; | |
| void days(char m[10], int d, char h[5]){ | |
| this->month[10] = m[10]; | |
| this->day = d; | |
| this->hour[5] = h[5]; |