Skip to content

Instantly share code, notes, and snippets.

View Viper702's full-sized avatar
💭
solo

Viper Viper702

💭
solo
View GitHub Profile
@Viper702
Viper702 / install_debian_with_debootstrap_howto.md
Created July 3, 2022 15:25 — forked from varqox/install_debian_with_debootstrap_howto.md
Instructions how to install Debian using debootstrap
@Viper702
Viper702 / mount_qcow2.md
Created September 21, 2021 18:25 — forked from shamil/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@Viper702
Viper702 / sudo
Created September 13, 2021 18:35 — forked from shadow-fox/sudo
iceweasel
sisyphus@shadowfox:~$ sudo aptitude install iceweasel
The following NEW packages will be installed:
iceweasel libmozjs16d{a} libnspr4{ab} xulrunner-16.0{a}
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.7 MB of archives. After unpacking 37.2 MB will be used.
The following packages have unmet dependencies:
libnspr4: Conflicts: libnspr4-0d (< 2:4.9-2~) but 4.8.6-1 is installed.
The following actions will resolve these dependencies:
Remove the following packages:

XFCE Desktop


How to install XFCE Desktop Environment in Kali Linux:

Command:

apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:

Command:

@Viper702
Viper702 / reclaimWindows10.ps1
Created May 19, 2020 20:08 — forked from alirobe/reclaimWindows10.ps1
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Modified by: alirobe <alirobe@alirobe.com> based on my personal preferences.
# Version: 2.20.2, 2018-09-14
# Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script
# Tweaked Source: https://gist.github.com/alirobe/7f3b34ad89a159e6daa1/
# Tweak difference:
#
# @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ...
@Viper702
Viper702 / insert_into_botpersonality.sql
Created May 25, 2018 21:44 — forked from Program-O/insert_into_botpersonality.sql
SQL to create a Program O chatbot personality
/**
* use this file to quickly create a bot personality for your Program O v2 chatbot.
* replace YOUR_BOTID with the actual existing bot_id from your bots table.
**/
INSERT INTO `botpersonality` (`id`, `bot_id`, `name`, `value`) VALUES
(NULL, YOUR_BOTID, 'age', '23yrs'),
(NULL, YOUR_BOTID, 'baseballteam', 'Yankies'),
(NULL, YOUR_BOTID, 'birthday', '15th March'),