Skip to content

Instantly share code, notes, and snippets.

View sgeto's full-sized avatar

Ali Abdulkadir sgeto

View GitHub Profile
@mcandre
mcandre / high-sierra-workstation.vmx
Last active November 20, 2019 04:58
High Sierra VMware Workstation VMX
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "14"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
@stroebs
stroebs / make-chr.sh
Last active January 19, 2025 10:59
Install Mikrotik CHR on a Digital Ocean droplet (Ubuntu 20.04 tested working 29/03/2022)
#!/bin/bash
#
# Digital Ocean Ubuntu 18.04 x64 Droplet with "Regular Intel" CPU.
# Running:
# git clone https://gist.github.com/54fc09734a3911e91eeeb43434f117df.git
# cd 54fc09734a3911e91eeeb43434f117df/
# chmod +x make-chr.sh
# ./make-chr.sh
#
# Once the reboot is done, login with root/CHANGEME and change the password!
@simonswine
simonswine / openwrt_lede_pkg_diff.sh
Created October 18, 2017 20:54
List installed packages after ROM was installed on OpenWRT/LEDE
# show pages installed since ROM
opkg list_installed | sort > /tmp/installed_now
opkg list_installed -o /rom | sort > /tmp/installed_rom
grep -Fxv -f /tmp/installed_rom /tmp/installed_now | tee /tmp/installed_diff
# echo installable list of packages
cat /tmp/installed_diff | cut -f 1 -d ' ' | xargs
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
@Pulimet
Pulimet / AdbCommands
Last active November 1, 2025 15:52
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@crittermike
crittermike / wget.sh
Last active October 19, 2025 01:52
Download an entire website with wget, along with assets.
# One liner
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
@megasaturnv
megasaturnv / parseRssFeed.sh
Last active November 18, 2024 21:51
Shell script / one-liner to parse and display an rss feed. May require tweaking for RSS feeds without newlines or where <title> and <description> are on separate lines to their text.
#!/bin/sh
#Megasaturnv 2017-07-28
#Url of the RSS feed
RSS_URL=""
##Commented version:
#Download the rss feed
curl --silent "$RSS_URL" | \
#Only match lines with 'title>' or 'description>'
@lukemcgregor
lukemcgregor / windows10-unbloat.ps1
Last active May 17, 2021 01:17
Remove windows 10 bloatware.
# This script will remove all the nonsense from your blank windows 10 install.
# comment or remove any of these you actually care about.
$bloatPackages = @(
# I normally keep these
#"windowscalculator",
#"photos",
#"windowscamera",
#"windowsstore",
#!/bin/sh
###############################################
###############################################
##
## MOVED TO GITHUB REPOSITORY!!
## https://github.com/tavinus/opkg-upgrade
## THIS WILL NOT BE UPDATED!!
##
###############################################
###############################################

Keybase proof

I hereby claim:

  • I am simonswine on github.
  • I am simonswine (https://keybase.io/simonswine) on keybase.
  • I have a public key whose fingerprint is D29F 745D D48C A0E0 C33A 7B08 1FF2 C09C 6204 5ED2

To claim this, I am signing this object: