Skip to content

Instantly share code, notes, and snippets.

View orbanbalage's full-sized avatar
🏠
Working from home

Balázs Orbán orbanbalage

🏠
Working from home
View GitHub Profile
@lsloan
lsloan / vagrant_host.md
Last active September 21, 2022 13:53
Vagrant: host IP address from guest perspective

Unless specified otherwise in Vagrantfile, the IP address of the host (the computer running Vagrant) from the perspective of the guest (the VM being run by Vagrant) is: 10.0.2.2

If that IP address doesn't work, then examination of Vagrantfile should reveal directives that changed it from its default value.

If an IP address can't be found in Vagrantfile, then the following command will probably reveal it:

route -A inet
@iosecure
iosecure / iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment.md
Last active June 19, 2026 22:43
iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

iOS, The Future Of macOS, Freedom, Security And Privacy In An Increasingly Hostile Global Environment

This post by a security researcher who prefers to remain anonymous will elucidate concerns about certain problematic decisions Apple has made and caution about future decisions made in the name of “security” while potentially hiding questionable motives. The content of this article represents only the opinion of the researcher. The researcher apologises if any content is seen to be inaccurate, and is open to comments or questions through PGP-encrypted mail.



TL;DR

@MyITGuy
MyITGuy / Get-MsiProducts.ps1
Last active October 4, 2024 15:12
PowerShell: Get-MsiProducts / Get Windows Installer Products
function Get-MsiProducts {
[CmdletBinding()]
param()
function ConvertFrom-PackedGuid {
<#
.SYNOPSIS
Converts a packed globally unique identifier (GUID) string into a GUID string.
.DESCRIPTION
Takes a packed GUID string and breaks it into 6 parts. It then loops through the first five parts and reversing the order. It loops through the sixth part and reversing the order of every 2 characters. It then joins the parts back together and returns a GUID.
@rambabusaravanan
rambabusaravanan / detect-js-framework.js
Last active April 4, 2026 00:31
Detect JS Framework used in a Website
// Paste these lines into website's console (Win/Linux: Ctrl + Shift + I / Mac: Cmd + Alt + I)
if(!!window.React ||
!!document.querySelector('[data-reactroot], [data-reactid]') ||
Array.from(document.querySelectorAll('*')).some(e => e._reactRootContainer !== undefined || Object.keys(e).some(k => k.startsWith('__reactContainer')))
)
console.log('React.js');
if(!!document.querySelector('script[id=__NEXT_DATA__]'))
console.log('Next.js');
@guycalledseven
guycalledseven / manual-uninstall-paragon-ntfs.sh
Last active December 28, 2025 02:27
Manually remove Paragon NTFS v15 leftovers MacOS
# after appcleaner does his magic, do this
sudo rm -rf "/Library/Application Support/Paragon Software/"
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/
@roadrunner2
roadrunner2 / 0 Linux-On-MBP-Late-2016.md
Last active July 23, 2026 13:50
Linux on MacBook Pro Late 2016 and Mid 2017 (with Touchbar)

Introduction

This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).

The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.

Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se

@Xainey
Xainey / PowerShell.svg
Created January 1, 2017 22:02
SVG Vector for PowerShell logo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@varhub
varhub / Install msu file.md
Created November 29, 2016 19:54
Windows - Install msu file

Install msu file (Windows Update Package)

Inside a msu file (a file with the extension msu) there can be Windows updates (security updates, critical updates, updates, update rollups or hotfixes) or downloadable setup packages. msu stands for Microsoft Update Standalone Package.

To install an .msu update package, you can either double click it, or run Wusa.exe together with the full path of the file:

 wusa.exe \
@davehax
davehax / GetEveryoneExceptExternalUsersPrincipal.ps1
Last active June 26, 2023 11:33
This is an example script that uses the Client Side Object Model (CSOM) in PowerShell to get the "Everyone except external users" Principal.
$siteUrl = "https://mysharepointsite.sharepoint.com/sites/subsite"
# Set headers
$headers = @{
"Authorization"="Bearer ";
}
$authRealm = "";
# Make an invalid request. We will extract the GUID from the Response.
try {
@mgeeky
mgeeky / Procmon_operationst.txt
Last active May 18, 2026 13:04
PROCMON Operations list
CloseFile
CreateFile
CreateFileMapping
DeviceIoControl
FileSystemControl
FlushBuffersFile
Load Image
LockFile
NotifyChangeDirectory
Process Create