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
#!/bin/bash | |
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@# | |
# PLEASE UPDATE CONFIG BELOW # | |
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@# | |
# local file backup directory | |
path='/home/hary/backup/app' | |
# ftp/sftp config | |
ftptype="sftp" #ftp |
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
#!/bin/bash | |
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@# | |
# PLEASE UPDATE CONFIG BELOW # | |
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@# | |
# local file backup directory | |
path='/home/hary/backup/db' | |
# mysql config | |
dbuser="root" |
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
#!/bin/bash | |
ndate=$(date +"%m_%d_%Y_%H_%M") | |
clear | |
read -p 'IP DB Server ('$1'): ' ipdbs | |
read -p 'DB Source name ('$1'): ' sorsdb | |
read -p 'Email to: ' msmto | |
read -p 'Email from: ' mfrom | |
read -sp 'Email from password: ' msmps | |
echo -e "" |
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_value zend_optimizer.licence_path "/license_file.zl" | |
php_value zend_loader.license_path "/license_file.zl" |
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
zend_optimizer.licence_path = "/license_file.zl" | |
zend_loader.license_path = "/license_file.zl" |
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 | |
zend_loader_install_license("/license_file.zl", true); | |
?> |
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
# mkisofs on linux: | |
mkisofs -T -r -o filename.iso pathname/ | |
# mkisofs on windows: | |
mkisofs -v -dvd-video -V "VOLUME_NAME" -o "c:\my movies\iso\movie.iso" "c:\my movies\dvd" | |
mkisofs -r -R -J -l -L -o image-file.iso c:\project\install |
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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
) | |
type Envelope struct { | |
Type string |
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
db.authors.insert([ | |
{ | |
_id: 'a1', | |
name: { first: 'orlando', last: 'becerra' }, | |
age: 27 | |
}, | |
{ | |
_id: 'a2', | |
name: { first: 'mayra', last: 'sanchez' }, | |
age: 21 |
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
@@@@@@@ | |
@ LFS @ | |
@@@@@@@ | |
apt-get install gawk | |
apt-get install bison | |
apt-get install texinfo | |
# create boot partition 100MB ext2 | |
# create system partition 9900MB ext4 |
OlderNewer