Skip to content

Instantly share code, notes, and snippets.

@bse666
bse666 / keybase.md
Created April 14, 2018 17:20
keybase.md

Keybase proof

I hereby claim:

  • I am bse666 on github.
  • I am bse (https://keybase.io/bse) on keybase.
  • I have a public key ASDn_cbejBcnsS5JmvA0xDiQRz28Oc-HICVmU8Kv_emRtwo

To claim this, I am signing this object:

@bse666
bse666 / reclaimWindows10.ps1
Created March 10, 2018 00:57 — 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)
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <[email protected]>
# Modified by: alirobe <[email protected]> based on my personal preferences.
# Version: 2.10.1, 2017-11-25
# 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, 'smart' features, and 3rd party bloat ...
@bse666
bse666 / gist:61c26e94d9141cede17eb081276b7c03
Created September 18, 2017 22:00
GodMode for Windows!
new folder on desktop, named:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
@bse666
bse666 / steam-i386-prereq
Created June 25, 2017 19:36
steam 386 prereqs
sudo apt-get install -y libxtst6:i386 libxrandr2:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libpulse0:i386 libgdk-pixbuf2.0-0:i386 libcurl4-openssl-dev:i386 libopenal1:i386 libusb-1.0-0:i386 libdbus-glib-1-2:i386 libnm-glib4:i386 libnm-util2:i386
@bse666
bse666 / win-optimized.sh
Created June 16, 2017 23:27
qemu- windows scripts
#!/bin/bash
mac=ab:cd:ef:gh:ij:kl
i=0
#until lspci -nnk | grep -q vfio-pci; do
#sleep 1
#i=$((i+1))
#echo -en "Warte auf vfio $i\r"
#done
@bse666
bse666 / gnome-alt-right.sh
Last active February 3, 2017 15:17
Gnome-resize with alt+right
gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true
gsettings set org.gnome.desktop.wm.preferences mouse-button-modifier '<Alt>'
@bse666
bse666 / list-updates.yml
Last active January 26, 2017 15:06
ansible stuff
---
- hosts: all
become: true
tasks:
- name: Check if there are Packages available to be installed/upgraded
command: /usr/lib/update-notifier/apt-check --package-names
register: packages
when: ansible_os_family == "Debian"
environment:
http_proxy: http://proxy:3142
@bse666
bse666 / fix-netrpc.sh
Created January 21, 2017 23:34
fix for archlinux net rpc
#!/bin/bash
#misha@mishap2:~$ pacman -Q smbclient
#smbclient 4.5.1-1
#without "gamin" attempt to run "net" throws up "net: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory". with gamin installed net seems to work.
sudo pacman -S gamin smbclient
@bse666
bse666 / get_free_dhcp-ip
Created January 20, 2017 12:51
find free ip in dhcpd.conf
#!/bin/bash
for ip in 192.168.77.{254..1} ; do
grep -oE "$ip" dhcpd.conf > /dev/null 2>&1
if [ $? != 0 ] ; then
echo "$ip is free"
fi
done
@bse666
bse666 / wifi-fix.desktop
Created January 18, 2017 22:00
Wifi Fix HP Laptop
[Desktop Entry]
Type=Application
Exec=/usr/local/bin/wifi-fix.sh
Terminal=true
Name[de_DE]=wifi-fix.sh
Name=wifi-fix.sh
Comment[de_DE]=
Comment=
Icon=/usr/share/icons/LoginIcons/apps/48/view-refresh.svg