Skip to content

Instantly share code, notes, and snippets.

View ugurerkan's full-sized avatar
💭
🧙🏻‍♂️

Uğur Erkan ugurerkan

💭
🧙🏻‍♂️
View GitHub Profile
@nekator
nekator / xcode-install-instructions.md
Last active August 25, 2023 14:24
install Xcode from terminal

1. Download Xcode from https://developer.apple.com/download/more/ (this requeires to Login in with an Apple Developer Account)

At the moment id don´t know how to authenticate so i have no clue to download the xip via curl/wget.
In my case i downloaded the file and copied it via scp to my mac.

eg. for Xcode 9.2 https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_9.2/Xcode_9.2.xip

2. Verify Signature of xip file

pkgutil --verbose --check-signature path/to/xip
@v0lkan
v0lkan / silence.sh
Last active October 21, 2024 07:36
How to Have a Silent and High-Performing Western Digital MyCloud Mirror
#
# Needless to say, I (Volkan Ozcelik) take no responsibility, whatsoever,
# about what will happen to your NAS when you try these.
# When did it to mine, I observed *ENORMOUS* performance gain and a zen-like silence.
#
# +----------------------------------------------------------+
# | WHAT YOU ARE GOING TO DO CAN LIKELY VOID YOUR WARRANTY |
# | SO PROCEED WITH CAUTION |
# +----------------------------------------------------------+
#
@weaver
weaver / x-forwarded-host.php
Created April 30, 2011 17:27
Honor the `X-Forwarded-Host` header for the duration of a single request in WordPress.
<?php
/*
# X-Forwarded-Host #
Honor the `X-Forwarded-Host` header for the duration of a single
request in WordPress.
## Read Me First ##