Skip to content

Instantly share code, notes, and snippets.

View harmancode's full-sized avatar
🐜
Mostly on GitLab

E. Harman harmancode

🐜
Mostly on GitLab
  • Texas, US
View GitHub Profile
@harmancode
harmancode / gist:f1a5755aa76dc2fb2d461822ed29c5a9
Created February 13, 2021 00:20
How to solve black screen issue after logging in to KDE Plasma on Virtualbox
Give following commands:
pkcon refresh
pkcon update
@harmancode
harmancode / gist:21ca44edf4b4111ded34a88472a9e940
Created February 8, 2021 01:45
How to verify and install GPG4Win
## How to verify and install GPG4Win
by Ertugrul Harman
26 December 2020
1. Download GPG4win from https://www.gpg4win.org
2. Verify its integrity by verifying its SHA checksums:
@harmancode
harmancode / gist:59358eb199fb36b7274e90eb3c19239c
Last active February 8, 2021 01:46
How to get and verify Debian Live image
## How to get and verify Debian Live image
by Ertugrul Harman
26 December 2020
Get the files from: https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/
To verify debian image with GPG4Win:
gpg --keyserver pool.sks-keyservers.net --recv-keys 10460DAD76165AD81FBC0CE9988021A964E6EA7D
@harmancode
harmancode / gist:84c06855907975903583f79dcc67440a
Last active January 13, 2023 22:37
How to fix opendir operation not permitted error from rsync on macOS Catalina
## How to fix opendir operation not permitted error from rsync on macOS Catalina
by Ertugrul Harman (twitter.com/harmancode - github.com/harmancode)
27 Dec 2020
I was getting opendir operation not permitted error from rsync on macOS Catalina.
The command I was using: rsync -vaE --progress /Volumes/SourceName /Volumes/DestinationName
Source: https://apple.stackexchange.com/a/117469/65292
@harmancode
harmancode / gist:af6d68e5af071a672a3b99c8966303d4
Last active May 30, 2023 17:22 — forked from zetachang/gist:4111314
Instructions on adding a Acknowledgements Settings.bundle

How to add Acknowledgements to an iOS app's Settings bundle

  • To add Settings.bundle in Xcode. Command N and in Resource, choose Settings Bundle .
  • Open Root.plist in source code, paste the code below to replace it,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
@harmancode
harmancode / vpnonly.sh
Last active September 10, 2016 21:00 — forked from CHEF-KOCH/firewall.sh
Force Traffic Through a VPN via UFW (uncomplicated firewall)
#!/bin/bash
# Check root. So we don't need it everytime.
if [[ $EUID -ne 0 ]]; then
echo "Got root?"
exit 1
fi
# VPN's listening port:
vpnPORT=1194
# Interface (usually tun0 or tap0)