Download composer.phar from https://getcomposer.org/
curl -sS https://getcomposer.org/installer | php
| import termios, tty, sys, time | |
| fd = sys.stdin.fileno() | |
| old = termios.tcgetattr(fd) | |
| tty.setcbreak(sys.stdin) | |
| try: | |
| print('Waiting for key pressed [1,2,3,4] or [q] to quit') | |
| while True: |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "ubuntu/trusty32" | |
| config.vm.network "private_network", ip: "192.168.33.10" | |
| config.vm.synced_folder ".", "/var/www/html", :nfs => { :mount_options => ["dmode=777","fmode=666"] } | |
| config.vm.provision "shell", inline: <<-SHELL |
| # Augino mociute | |
| use_bpm 34 | |
| use_synth :pretty_bell | |
| astuntine = 0.125 #Eight note | |
| ketvirtine = 0.25 #Quarter note | |
| pusine = 0.5 #Half note | |
| pilna = 1 #Whole note |
| # .bashrc | |
| # Source global definitions | |
| if [ -f /etc/bashrc ]; then | |
| . /etc/bashrc | |
| fi | |
| # User specific aliases and functions | |
| 5 | |
| 6 3 2 | |
| Wai 99 131 | |
| Weiyan 81 155 | |
| Lin 80 100 | |
| Purav 86 198 | |
| Slawek 80 192 | |
| Meihong 44 109 | |
| 7 93 2 | |
| Paul 82 189 |
curl -sS https://getcomposer.org/installer | php
| <?php | |
| $x = 1600; | |
| $y = 800; | |
| $n = 100; | |
| $dots = random_dots($x, $y, $n); |