Skip to content

Instantly share code, notes, and snippets.

Pi time!

Paul Zloi EvilFreelancer

Pi time!
View GitHub Profile
EvilFreelancer / interfaces
Created May 21, 2019
Network configuration for Proxmox for LXC containers forwarding
View interfaces
auto lo
iface lo inet loopback
iface enp0s3 inet manual
auto vmbr0
iface vmbr0 inet static
source $stdenv/setup
dpkg -x $src unpacked
cp -r unpacked/* $out/
EvilFreelancer / get_crap.ps1
Last active May 13, 2018
Remove embedded applications from Windows 10 (for all users of system)
View get_crap.ps1
# Generate lines for deleting, unfortinatly not possible to remove crap in loop
$array = @{
"3D Builder"="3dbuilder";
"Alarms and Clock"="windowsalarms";
"Calendar and Mail"="windowscommunicationsapps";
"Get Help"="gethelp";
"Groove Music"="zunemusic";
View debug_mono-4.6.2.log
[pasha-pc] ~/Documents/Cosmoteer/app $ mono Cosmoteer.exe
Unhandled Exception:
System.Security.SecurityException: No access to the given key ---> System.UnauthorizedAccessException: Access to the path "/etc/mono/registry" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00070] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.DirectoryInfo.Create () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x0003f] in <8f2c484307284b51944a1a13a14c0266>:0
at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0
View test.txt
[0] => Array
[Id] => 825eae0c448a8677f6ca7e91350754d125b1a42c2a0adcf502722c6384d32ab6
[Names] => Array
[0] => /dockercirie_php_1
EvilFreelancer / nvidia-blacklists-nouveau.conf
Created Mar 20, 2018
Nvidia 1050TI - Optimal configuration on Debian Stretch
View nvidia-blacklists-nouveau.conf
### Content of /etc/modprobe.d/nvidia-blacklists-nouveau.conf
# You need to run "update-initramfs -u" after editing this file.
# see #580894
blacklist nouveau
EvilFreelancer / report.txt
Created Feb 12, 2018
Report about image assembling
View report.txt
'arch/x86/boot/bzImage' -> '/boot/vmlinuz-4.12.7-lfs-8.1'
'' -> '/boot/'
'.config' -> '/boot/config-4.12.7'
install: creating directory '/etc/modprobe.d'
Using GRUB to setup the boot process..
NOTE: skipped. Check 8.4 chapter of LFS book for details
EvilFreelancer /
Created Jan 28, 2018
A simple way to read a donenv file in BASH (with spaces support)
grep -vE '^#|^$' ".env" | awk -F \= '{print $1"=\""$2"\""}' | \
while read env;
echo "$env";
export "$env";
View WAP sites small colleciton
--- - вот эта сама старая похрду из доступных - и еще движок - а вот это новый самый на кохане - 14 версия
EvilFreelancer /
Created Jan 15, 2017
A script to create a custom build of Debian or Ubuntu
tools=( "/usr/bin/build-simple-cdd" "/usr/bin/xorriso" )
for i in `seq 1 $(($count-1))`
if [ ! -f "${tools[$i]}" ]
echo "${tools[$i]} is not found"