Compiling PHP5
Client version
#! /bin/sh
# mkphp5-cli
# Build a command line version of PHP5
./configure \
--prefix=/usr/share/php5 \
--datadir=/usr/share/php5 \
## ~username (not root) | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby |
/sbin/ifconfig | grep 'inet\(:\| \)' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}' |
Create a file named ~/.ssh/config and put this in there: | |
Host h | |
User christopher | |
HostName my.domain.top | |
Now you only have to type ssh h and it does the same thing! | |
You can also use a wildcard: | |
Host * |
<?php | |
/** | |
* Достаем сущность пользователя. | |
* @var $entity UserInterface|DocumentInterface | |
*/ | |
$entity = $this->getDI()->get(\Services::dm)->getRepository(Partner::class)->findOneBy( | |
['username' => 'assolua291'] | |
); | |
/** |
Compiling PHP5
Client version
#! /bin/sh
# mkphp5-cli
# Build a command line version of PHP5
./configure \
--prefix=/usr/share/php5 \
--datadir=/usr/share/php5 \
nmap --system-dns #shows names |
http://forum.notebookreview.com/ideapad-essential/716609-tutorial-lenovo-y500-ubuntu-linux-brightness-key-fix.html |
$ sudo nano /etc/default/docker | |
--- | |
# Add: | |
DOCKER_OPTS="--dns 8.8.8.8" | |
# 8.8.8.8 could be replaced with a local DNS server, such as 192.168.1.1 | |
# multiple DNS servers can be specified: --dns 8.8.8.8 --dns 192.168.1.1 |
10:45:40,721 DEBUG [ntralAuthenticationServiceImpl] Removing ticket [TGT-1-QGsMLVRwYX5OYAdaSCcC440xXpJhlo0xJuYpVUQLPfRWR3gSwT-jetpass] from registry. | |
10:45:40,722 DEBUG [ntralAuthenticationServiceImpl] Ticket found. Expiring and then deleting. | |
10:45:40,814 INFO [AuthenticationManagerImpl ] Principal found: 01a664c9-530b-4aee-9e38-bfe1cb3dd217 | |
10:45:40,815 DEBUG [AuthenticationManagerImpl ] Attribute map for 01a664c9-530b-4aee-9e38-bfe1cb3dd217: [VISIBLE_NAME=???????? ?????] | |
10:45:40,978 INFO [ntralAuthenticationServiceImpl] Granted service ticket [ST-2-0oauWnJVmyhkYK2URJTN-jetpass] for service [http://youtrack.riamm.vn.ua/hub/api/rest/oauth2/auth?client_id=6b6adb20-e08b-41c1-bbc9-008720a2198a&redirect_uri=http%3A%2F%2Fyoutrack.riamm.vn.ua%2Fdashboard&response_type=token&scope=6b6adb20-e08b-41c1-bbc9-008720a2198a+0-0-0-0-0&state=d89b5660-16b2-4726-807a-86ee19fe242a] for user [01a664c9-530b-4aee-9e38-bfe1cb3dd217] | |
10:45:41,025 WARN [BaseExceptionMapper ] [qtp56226968-63 ] [] REST exception |
dd if=/dev/zero of=/dev/null | |
fulload() { | |
dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null & | |
}; | |
fulload; | |
read; | |
killall dd |