Skip to content

Instantly share code, notes, and snippets.

View lolmaus's full-sized avatar
🧠
Reducing entropy

Andrey Mikhaylov (lolmaus) lolmaus

🧠
Reducing entropy
View GitHub Profile
[storage]
path = /mnt/storage
browseable = yes
guest only = no
guest ok = yes
read only = yes
write list = lolmaus
follow symlinks = yes
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/chewy-root
53G 5.9G 45G 12% /
none 493M 284K 493M 1% /dev
none 500M 0 500M 0% /dev/shm
none 500M 2.9M 498M 1% /var/run
none 500M 0 500M 0% /var/lock
/dev/sda1 228M 106M 111M 49% /boot
/dev/md0 3.6T 2.0T 1.5T 57% /mnt/storage
@lolmaus
lolmaus / gist:1335937
Created November 3, 2011 06:47
Gary Jules — Mad World (with translation to Russian)
All around me are familiar faces Вокруг меня знакомые лица
Worn out places Обветшалые места
Worn out faces Обветшалые лица
Bright and early for the daily races С утра пораньше готовы к ежедневным гонкам
Going no where В никуда
Going no where В никуда
Their tears are filling up their glasses Слезы наполняют их бокалы
No expression Лица без выражений
No expression Лица без выражений
The following partially installed packages will be configured:
linux-generic-pae linux-image-3.0.0-13-generic-pae linux-image-generic-pae
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up linux-image-3.0.0-13-generic-pae (3.0.0-13.22) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-13-generic-pae /boot/vmlinuz-3.0.0-13-generic-pae
@lolmaus
lolmaus / gist:1759896
Created February 7, 2012 14:20
Net use oddity
C:\Программы>net use \\chubby\backup password /user:chubby\backuper /persistent
:yes
System error 1219 has occurred.
Multiple connections to a server or shared resource by the same user, using more
than one user name, are not allowed. Disconnect all previous connections to the
server or shared resource and try again.
C:\Программы>net use chubby /delete
python /home/miner/minecraft/overviewer/overviewer.py --settings /home/miner/minecraft/overviewer/config.txt /home/miner/minecraft/craftbukkit/worldstorage/world /home/miner/minecraft/overviewer-map > /dev/null
worlds["overworld"] = "/home/miner/minecraft/craftbukkit/worldstorage/world"
worlds["nether"] = "/home/miner/minecraft/craftbukkit/worldstorage/world_nether"
worlds["end"] = "/home/miner/minecraft/craftbukkit/worldstorage/world_the_end"
outputdir = "/home/miner/minecraft/overviewer-map"
renders["overworld_smooth"] = {
"world": "overworld",
"title": "Поверхность",
"rendermode": smooth_lighting,
worlds["Overworld"] = "/mnt/disk1/backup/minecraft/worldstorage_overviewer/worldstorage/world"
worlds["The Nether"] = "/mnt/disk1/backup/minecraft/worldstorage_overviewer/worldstorage/world_nether"
worlds["The End"] = "/mnt/disk1/backup/minecraft/worldstorage_overviewer/worldstorage/world_the_end"
outputdir = "/home/miner/minecraft/overviewer-map"
renders["1overworld"] = {
"world": "Overworld",
"title": "Overworld",
"rendermode": smooth_lighting,
177 recipes
27 achievements
12:49:44 [INFO] Starting minecraft server version 1.2.3
12:49:44 [INFO] Loading properties
12:49:44 [INFO] Starting Minecraft server on *:25565
12:49:44 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.3-R0.2-b2060jnks (MC: 1.2.3) (Implementing API version 1.2.3-R0.2)
12:49:45 [INFO] [WorldEdit] Loading WorldEdit v1121-144c0a9
12:49:45 [INFO] Preparing level "world"
12:49:45 [INFO] Default game type: 0
12:49:45 [INFO] Preparing start region for level 0 (Seed: 611150662239960961)
server {
listen 80;
server_name zulu.lolmaus.ru;
location / {
root /home/miner/minecraft/overviewer-map;
index index.htm index.html;
}
}