start new:
tmux
start new with session name:
tmux new -s myname
UPDATE ps_specific_price SET reduction = 1-((1-reduction)*(1-0.1))... |
sudo yum install php-pear | |
sudo yum install httpd-devel | |
sudo yum install pcre-devel | |
sudo pecl install apc | |
#Add tophp.ini: | |
extension=apc.so |
vboxmanage createvm --name skydev --ostype Debian --basefolder VirtualBox\ VMs/skydev --register | |
vboxmanage storagectl skydev --name LsiLogic --add scsi --controller LsiLogic | |
VBoxManage storageattach "skydev" --storagectl LsiLogic --port 0 --device 0 --type hdd --medium sky.vdi | |
vboxmanage startvm skydev --type headless | |
vboxmanage controlvm skydev poweroff |
echo 'To know what linux distro you are using.' | |
lsb_release -a | |
echo 'or' | |
cat /etc/issue |
#!/bin/sh | |
echo -------- | |
allrepos=''; | |
c=0; | |
for D in ~/repos/*;do | |
if [ -d "${D}" ]; | |
then | |
cd "${D}"; | |
pwd; | |
#Can't exist a repository with the name 'www'" |
var githubAccount = /^(?:https?:\/\/)?(?:www\.)?(?:github\.com\/(\w+))\/?$/ |
sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}' |
var fuzzylogic = require('fuzzylogic'), | |
colors = require('colors'); | |
function simulate(ttl){ | |
var timelapse = ttl*1000; | |
var half = timelapse /2; | |
var qrt = half/2; | |
//Cuando se guardó el caché |
CodeDeploy Trust Role | |
This Role is attached to CD Deployment Group or to the CD App when is created. | |
In the Inline Policies of the Role must be added a Policy called CodeDeployPolicy as follows: | |
{ | |
"Statement": [ | |
{ | |
"Resource": [ |