We will use official box "ubuntu/xenial64" and modify it to work with Vagrant.
- Vagrantfile
| #!/bin/bash | |
| sudo apt-get install postfix -y && sudo apt-get install dovecot-imapd dovecot-pop3d -y |
| sudo su - zimbra | |
| # list all accounts and print out account name and aliases | |
| for i in `zmprov -l gaa` ; do zmprov ga $i zimbraMailAlias ; done | |
| # list all distribution lists and any members and/or aliases | |
| for i in `zmprov gadl` ; do zmprov gdl $i zimbraMailAlias zimbraMailForwardingAddress ; done |
| while true; do | |
| ip=$(zmap --verbosity 0 -p 80 -N 1 -q -o -) | |
| version=$(curl -I -s -m 4 $ip | grep -i 'X-Powered-By' | awk -F ":" '{print $2}') | |
| if [ "$version" != "" ];then | |
| echo "$ip:$version" >> log.txt | |
| fi | |
| done |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "ubuntu-14.04" | |
| config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" | |
| config.vm.network :forwarded_port, guest: 80, host: 8888 |
| #!/bin/sh | |
| # Quick start-stop-daemon example, derived from Debian /etc/init.d/ssh | |
| set -e | |
| # Must be a valid filename | |
| NAME=foo | |
| PIDFILE=/var/run/$NAME.pid | |
| #This is the command to be run, give the full pathname | |
| DAEMON=/usr/local/bin/bar |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| wget http://developer.download.nvidia.com/compute/cuda/7_0/Prod/local_installers/cuda_7.0.29_mac.pkg | |
| sudo installer -pkg cuda_7.0.29_mac.pkg -target / | |
| // once cpp-ethereum 0.9.23 is released on homebrew you do not need to build from source | |
| brew update | |
| brew tap ethereum/ethereum | |
| brew reinstall cpp-ethereum --with-gpu-mining --devel --build-from-source | |
| // or build from source: | |
| // cd cpp-ethereum | |
| // cmake -DETHASHCL=1 -DGUI=0 | |
| // make -j8 |
| <?php | |
| //class docs: http://www.orderingdisorder.com/aws/ses/ | |
| require_once('ses.php'); | |
| //get credentials at http://aws.amazon.com My Account / Console > Security Credentials | |
| $ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY'); | |
| $m = new SimpleEmailServiceMessage(); |
| My perfect desktop - Debian 9 (Streach) | |
| ####################################### | |
| Installation image: | |
| ------------------- | |
| Download non-free version of debian ISO file from below link. Don't download version 9.0.0 as it contain bug which won't allow you to install on a disk. I choose to download LXDE desktop as it consumens less memory, responsive and perfectly OK for me. | |
| https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/ | |
| Enable sudo and root user account and password: | |
| ----------------------------------------------- |