$ sudo mv supervisor /etc/init.d
$ sudo chkconfig --add supervisor
$ sudo chkconfig supervisor on
This file contains 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 | |
class AesCipher { | |
private const OPENSSL_CIPHER_NAME = "aes-128-cbc"; | |
private const CIPHER_KEY_LEN = 16; //128 bits | |
private static function fixKey($key) { | |
if (strlen($key) < AesCipher::CIPHER_KEY_LEN) { |
This file contains 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
use std::iter::FromIterator; | |
fn main() { | |
let columns_number: i64 = 356; | |
println!("Number of columns_number: {}", columns_number); | |
let mut columns_array: Vec<String> = Vec::new(); | |
let mut last_column: Vec<char> = Vec::new(); | |
This file contains 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
sudo yum install epel-release | |
sudo yum install NetworkManager-openconnect |
This file contains 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
web_db: | |
image: mariadb:latest | |
restart: always | |
volumes: | |
- ./var/mysql:/var/lib/mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: @Str0NgP@Ssw0rd | |
web_front: | |
image: nginx |
This file contains 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 | |
// Set timezone | |
// date_default_timezone_set("UTC"); | |
// Directory that contains error pages | |
define("ERRORS", dirname(__FILE__) . "/flarum/error"); | |
// Default index files | |
define("WEB_INDEX", "index.php"); | |
define("API_INDEX", "api.php"); |
This file contains 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
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
-
Place the supervisord.conf under .ebextensions/supervisor/
-
Place the supervisor.config under .ebextensions/
-
Place the data_import_consumer.conf under .ebextensions/supervisor/
This file contains 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
composer.lock | |
vendor/ | |
*.bak | |
*.swp | |
*.swap | |
*.old | |
*.back | |
.DS_Store |
NewerOlder