... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.
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
| [Unit] | |
| Description=My discord bot service | |
| After=network.target | |
| [Service] | |
| ExecStart=/usr/bin/python3 mybot.py | |
| WorkingDirectory=/home/user/bots/mybot | |
| StandardOutput=inherit | |
| StandardError=inherit | |
| Restart=always |
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 | |
| /** | |
| * This serves as an example of how to use the Google API PHP Client | |
| * with Firebase Cloud Messaging Service. | |
| * | |
| * The client can be found here: | |
| * https://github.com/google/google-api-php-client | |
| * | |
| * At the time of writing this, there's no Service object for the correct |
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
| CREATE TABLE `user_online` ( | |
| `session` char(100) NOT NULL default '', | |
| `time` int(11) NOT NULL default '0' | |
| ) TYPE=MyISAM; |