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
Desired=Unknown/Install/Remove/Purge/Hold | |
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend | |
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | |
||/ Name Version Architecture Description | |
+++-==========================================-===================================-============-=============================================================================== | |
ii accountsservice 0.6.45-1ubuntu1 amd64 query and manipulate user account information | |
ii acl 2.2.52-3build1 amd64 Access control list utilities | |
ii acpi-support 0.142 amd64 scripts for handling many ACPI events | |
ii acpid 1:2.0.28-1ubuntu1 amd64 Advanced Configuration and Power Interface event daemon | |
ii ad |
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 | |
echo | |
echo "-----------------------------------" | |
echo "--- Create Host on Nginx Script ---" | |
echo "-----------------------------------" | |
echo | |
echo "Host Name example.com " | |
read -p 'Host Name: ' host | |
counter=1 |
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
Opening A Form | |
Opening A Form | |
{!! Form::open(['url' => 'foo/bar']) !!} | |
// | |
{!! Form::close() !!} | |
By default, a POST method will be assumed; however, you are free to specify another method: | |
echo Form::open(['url' => 'foo/bar', 'method' => 'put']) | |
Note: Since HTML forms only support POST and GET, PUT and DELETE methods will be spoofed by automatically adding a _method hidden field to your form. | |
You may also open forms that point to named routes or controller actions: |
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
sudo mkdir -m 0700 /var/www/.ssh | |
sudo chown -R apache:apache /var/www/.ssh | |
sudo -u apache ssh-keygen (empty passphrase) | |
paste public key into repo manager | |
(git-repo) sudo -u apache git pull origin branch (this will create /var/www/.ssh/known_hosts) | |
call git_hook.php?branch=xxx |
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/sh | |
# ------------------------------------------------------------------- | |
# Headless VirtualBox installation script with PhpVirtualBox | |
# ------------------------------------------------------------------- | |
# 1. Add VirtualBox source | |
echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" > virtualbox.list | |
sudo mv virtualbox.list /etc/apt/sources.list.d/ | |
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - |