Skip to content

Instantly share code, notes, and snippets.

View rougesheep's full-sized avatar

Andy Burne rougesheep

  • Manchester, United Kingdom
View GitHub Profile
@rougesheep
rougesheep / setgtkdark.sh
Created January 28, 2016 20:49
Click a window to set it to use the dark variant of the current GTK theme (if possible).
#!/bin/bash
xprop -f _GTK_THEME_VARIANT 8u -set _GTK_THEME_VARIANT "dark"
@rougesheep
rougesheep / Apache Tomcat 8 Start stop script init.d script
Last active November 5, 2016 19:35 — forked from miglen/Apache Tomcat 8 Start stop script init.d script
Apache Tomcat init script (or startup/controll script). Works fine for version 7/8. Read the comments for release history. Feel free to modify, copy and give suggestions. (c) GNU General Public License
#!/bin/bash
#
# description: Apache Tomcat init script
# processname: tomcat
# chkconfig: 234 20 80
#
#
# Copyright (C) 2014 Miglen Evlogiev
#
# This program is free software: you can redistribute it and/or modify it under
@rougesheep
rougesheep / RemoveBloat.ps1
Created August 17, 2018 21:35
Remove crap apps from Windows 10
Get-AppxPackage -name "Microsoft.MicrosoftOfficeHub" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.MicrosoftFeedbackHub" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.WindowsCamera" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.MicrosoftStickyNotes" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.WindowsSoundRecorder" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.OneConnect" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.3DBuilder" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.BingWeather" | Remove-AppxPackage
Get-AppxPackage -name "Microsoft.DesktopAppInstaller" | Remove-AppxPackage
@rougesheep
rougesheep / startCEMU.ps1
Last active September 8, 2020 00:20
Start BetterJoy and CEMU from one shortcut
$BetterJoy = "D:\Programs\BetterJoy\BetterJoyForCemu.exe"
$CEMU = "D:\WiiU\CEMU\Cemu.exe"
$GamePath = "`"D:\WiiU\Games\BOTW\Game\The Legend of Zelda Breath of the Wild [ALZE01]\code\U-King.rpx`""
Start-Process -FilePath $BetterJoy -WorkingDirectory (Get-Item $BetterJoy).DirectoryName
Start-Process -FilePath $CEMU -WorkingDirectory (Get-Item $CEMU).DirectoryName -ArgumentList "-g",$GamePath, -Wait
Get-Process -Name BetterJoyForCemu | Stop-Process