First install Composer, then:
$ composer create-project laravel/laravel <project-name>After that we can start a webserver, and test the default index page:
| #!/bin/sh | |
| export DEBIAN_FRONTEND="noninteractive" | |
| # command line arguments | |
| if [ $# -gt 0 ]; then | |
| echo "Your command line contains $# arguments" | |
| domain_name="$1" | |
| else | |
| echo "Your command line contains no arguments" | |
| domain_name="emmanuelopio" |
| Run this command to install MG-CLI: | |
| sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb | |
| to start miner (4 cores for BCN) use this command: | |
| minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4 | |
| Feel free to send some of your earnings to me: | |
| BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = "2".freeze | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.vm.box = "mvbcoding/awslinux" | |
| # Mount shared folder | |
| config.vm.synced_folder ".", "/vagrant/www" |
| --- | |
| ip: "192.168.10.10" | |
| memory: 2048 | |
| cpus: 1 | |
| hostname: pantybay | |
| name: pantybay | |
| provider: virtualbox | |
| authorize: ~/.ssh/id_rsa.pub | |
| keys: | |
| - ~/.ssh/id_rsa |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| VAGRANTFILE_API_VERSION = '2' | |
| @script = <<SCRIPT | |
| # Variables | |
| db_host=127.0.0.1 | |
| root_passwd=sat | |
| db_name=uprojectdb |
First install Composer, then:
$ composer create-project laravel/laravel <project-name>After that we can start a webserver, and test the default index page:
| #!/bin/bash | |
| export GOLANG_VERSION=1.9 | |
| export GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz | |
| export GOLANG_DOWNLOAD_SHA256=d70eadefce8e160638a9a6db97f7192d8463069ab33138893ad3bf31b0650a79 | |
| apt-get update -qq | |
| apt-get install -y --no-install-recommends \ | |
| g++ \ |
| # Assumming we have 3 nodes | |
| NODE1=10.0.1.1 | |
| NODE2=10.0.1.2 | |
| NODE3=10.0.1.3 | |
| # Configure the server | |
| ssh root@NODE1 apt-get install -y glusterfs-server | |
| ssh root@NODE2 apt-get install -y glusterfs-server | |
| ssh root@NODE3 apt-get install -y glusterfs-server | |
| ssh root@NODE1 gluster peer probe NODE2 |
Grab ffmpeg from https://www.ffmpeg.org/download.html
It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.
The most trivial operation would be converting gifs:
ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
-crf values can go from 4 to 63. Lower values mean better quality.-b:v is the maximum allowed bitrate. Higher means better quality.| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |