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 | |
#set -ex # Set debug mode | |
SOURCE_DB="source_db" | |
SOURCE_USER="source_user" | |
SOURCE_PASSWORD="source_password" | |
SOURCE_HOST="source_host" | |
TARGET_DB="target_db" |
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 validate_isRIO(fullRIO, telephone) { | |
// fullRIO is id+ctlKey | |
var id = fullRIO.substr(0,fullRIO.length -3); | |
var ctlKey = fullRIO.substr(fullRIO.length -3, 3); | |
var ordre = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+"; | |
var a = b = c = 0; | |
var concat = id + telephone; | |
console.log(concat); |
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 DATABASE mydb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; |