Skip to content

Instantly share code, notes, and snippets.

:octocat:
Work Hard

Feelancer<E> EvilFreelancer

:octocat:
Work Hard
Block or report user

Report or block EvilFreelancer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@EvilFreelancer
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
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
View builder.sh
#!/bin/sh
source $stdenv/setup
PATH=$dpkg/bin:$PATH
dpkg -x $src unpacked
cp -r unpacked/* $out/
@EvilFreelancer
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 = @{
"Calculator"="windowscalculator";
"3D Builder"="3dbuilder";
"Alarms and Clock"="windowsalarms";
"Calendar and Mail"="windowscommunicationsapps";
"Camera"="windowscamera";
"Get Help"="gethelp";
"Groove Music"="zunemusic";
"Maps"="windowsmaps";
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
Array
(
[0] => Array
(
[Id] => 825eae0c448a8677f6ca7e91350754d125b1a42c2a0adcf502722c6384d32ab6
[Names] => Array
(
[0] => /dockercirie_php_1
)
@EvilFreelancer
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
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'
'System.map' -> '/boot/System.map-4.12.7'
'.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
EvilFreelancer / read-dotenv-in-bash.sh
Created Jan 28, 2018
A simple way to read a donenv file in BASH (with spaces support)
View read-dotenv-in-bash.sh
#!/bin/bash
grep -vE '^#|^$' ".env" | awk -F \= '{print $1"=\""$2"\""}' | \
while read env;
do
echo "$env";
export "$env";
done
View WAP sites small colleciton
http://tegos.ru/
https://seclub.org/
http://m.mobtop.ru/catalogue/25
---
https://visavi.net/load/down?act=view&id=799 - вот эта сама старая похрду из доступных
https://visavi.net/load/down?act=view&id=1695 - и еще движок
https://visavi.net/load/down?act=view&id=1424 - а вот это новый самый на кохане
http://soft-2008.my1.ru/load/35-1-0-356 - 14 версия
@EvilFreelancer
EvilFreelancer / build.sh
Created Jan 15, 2017
A script to create a custom build of Debian or Ubuntu
View build.sh
#!/bin/bash
tools=( "/usr/bin/build-simple-cdd" "/usr/bin/xorriso" )
count="${#tools[@]}"
for i in `seq 1 $(($count-1))`
do
if [ ! -f "${tools[$i]}" ]
then
echo "${tools[$i]} is not found"
You can’t perform that action at this time.