Skip to content

Instantly share code, notes, and snippets.

<VirtualHost 127.0.0.1:80>
ServerName yourdomain.dev
ServerAdmin you@yourdomain.dev
DocumentRoot /home/USER/www/yourdomain.dev
CustomLog ${APACHE_LOG_DIR}/yourdomain.dev.log combined
<Directory "/home/USER/www/yourdomain.dev">
Options All
AllowOverride All
Require all granted
Order allow,deny
root@s192-169-188-189 [~]# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
91540: kmemsize 433313103 456871936 9223372036854775807 9223372036854775807 0
lockedpages 5965 12277 8388608 8388608 0
privvmpages 16573115 16777216 16777216 16777216 2675085
shmpages 15729891 16458045 9223372036854775807 9223372036854775807 0
dummy 0 0 9223372036854775807 9223372036854775807 0
numproc 326 453 9223372036854775807 9223372036854775807 0
physpages 6326425
root@hon-pc-01:~# apt remove unity-scope-gdrive
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
unity-scope-gdrive
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
boby@hon-pc-01:~ $ cd make-test/
boby@hon-pc-01:~/make-test $ vi makefile
boby@hon-pc-01:~/make-test $ make update
sudo apt update && sudo apt upgrade
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:7 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
boby@hon-pc-01:~ $ myip
59.98.136.60
boby@hon-pc-01:~ $ cat bin/myip
#!/bin/bash
curl http://iptools.bizhat.com/ipv4.php
echo
boby@hon-pc-01:~ $
function findRSID($title) {
exec("/usr/bin/xdotool search --onlyvisible \"RuneScape\" 2>/dev/null", $winIds);
if (!isset($winIds[0])) {
log2("Unable to find RuneScape Window");
exit;
}
foreach ($winIds as $winId) {
boby@hon-pc-01:~ $ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage: +1.24 V (min = +0.80 V, max = +1.60 V)
+3.3V Voltage: +3.17 V (min = +2.97 V, max = +3.63 V)
+5V Voltage: +5.09 V (min = +4.50 V, max = +5.50 V)
+12V Voltage: +11.91 V (min = +10.20 V, max = +13.80 V)
CPU Fan Speed: 2721 RPM (min = 600 RPM, max = 7200 RPM)
Chassis1 Fan Speed: 0 RPM (min = 600 RPM, max = 7200 RPM)
Chassis2 Fan Speed: 0 RPM (min = 600 RPM, max = 7200 RPM)
root@manage:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-extra-3.13.0-92-generic : Depends: crda (>= 1.1.1-1ubuntu2) or
wireless-crda but it is not installed
E: Unmet dependencies. Try using -f.
root@manage:~#
boby@hon-pc-01:~ $ cat /etc/hosts | grep ginga
198.101.15.234 www.gingadaddy.com gingadaddy.com
boby@hon-pc-01:~ $
Hi,
Can you please set rDNS for server ?
198.101.15.211 > 420.ourloveforcats.com
Thanks,