- Sign up with this link to save your first $10!
- Use one of the Promocodes below to save an additional $10-$15
LOWENDBOX
(<- worth the most ($15)!)DODEPLOY
(<- $10)
/usr/sbin/mysqld <options> --help --verbose |
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r |
#!/bin/bash | |
cname=$( awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo ) | |
cores=$( awk -F: '/model name/ {core++} END {print core}' /proc/cpuinfo ) | |
freq=$( awk -F: ' /cpu MHz/ {freq=$2} END {print freq}' /proc/cpuinfo ) | |
tram=$( free -m | awk 'NR==2 {print $2}' ) | |
swap=$( free -m | awk 'NR==4 {print $2}' ) | |
up=$(uptime|awk '{ $1=$2=$(NF-6)=$(NF-5)=$(NF-4)=$(NF-3)=$(NF-2)=$(NF-1)=$NF=""; print }') | |
echo "CPU model : $cname" |
cat access.log | awk -F\" '{print $6}' | sort | uniq -c | sort -n |
fortune -s computers | cowsay -f dragon | lolcat |
python -c "import sys, random; stdout = sys.stdout; sys.stdout = type('BlackHole', (), {'write': (lambda self, string: '')})(); import this; sys.stdout = stdout; print random.choice(''.join([this.d.get(i, i) for i in this.s]).splitlines()[2:]);" |
---- | |
rm -rf var/di var/generation | |
php bin/magento cache:clean | |
php bin/magento cache:flush | |
php bin/magento setup:di:compile | |
chmod -R 777 var | |
---- |
import sys | |
import requests | |
import random | |
from multiprocessing.dummy import Pool as ThreadPool | |
''' | |
Usage: | |
$ python server.py random 25 | |
$ python server.py google.com |
function solution(N) { | |
var binary = N.toString(2); | |
var length = binary.length; | |
var ones = []; | |
for(var i=0; i<length; i++) { | |
if (binary[i]=='1') ones.push(i); | |
} | |
LOWENDBOX
(<- worth the most ($15)!)DODEPLOY
(<- $10)