Skip to content

Instantly share code, notes, and snippets.

View wasnertobias's full-sized avatar
💙

Tobias Wasner wasnertobias

💙
  • Europe/Germany/Bavaria
View GitHub Profile
@itsmikita
itsmikita / README.md
Last active December 30, 2024 15:10
Create bootable USB drive from InstallMacOSX.pkg

Create bootable USB drive from InstallMacOSX.pkg

  1. Erase USB drive with Disk Utility using format Mac OS Extended (Journaled) and Master Boot Record and call it MyVolume
  2. Use Finder to mount/open InstallMacOSX.dmg.
  3. Run following commands:
pkgutil --expand /Volumes/Install\ OS\ X/InstallMacOSX.pkg /tmp/El\ Capitan
diskutil eject Install\ OS\ X
cd /tmp/El\ Capitan
@kajo404
kajo404 / commands.md
Last active November 15, 2019 20:36
Commands for the AMATI Slack bot CAQAS

AMATI commands

Q&A mode

Using the Question & Answer Module

The bot recognizes all messages containing a "?" in the question channels as Questions.and opens a Question thread for you. These channels can be identified by the "-questions" suffix. It is important that you ask your questions in the corresponding channel. All questions regarding the lecture material belong in the slide-questions channel while organizational and other question belong in general-questions.

The bot provides the ID for this question and the context if a presentation is running. If no presentation is running you can (and should) provide the correct context with the context commands in the thread:

@roylee0704
roylee0704 / dockergrep.sh
Created December 9, 2016 08:24
how to grep docker log
docker logs nginx 2>&1 | grep "127."
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container
@kyledrake
kyledrake / ferengi-plan.txt
Last active January 10, 2025 14:02
How to throttle the FCC to dial up modem speeds on your website using Nginx
# The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited
#
# Current known FCC address ranges:
# https://news.ycombinator.com/item?id=7716915
#
# Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft
#
# In your nginx.conf:
location / {
IMPORTANT
Please duplicate this radar for a Safari fix!
This will clean up a 50-line workaround.
rdar://22376037 (https://openradar.appspot.com/radar?id=4965070979203072)
//////////////////////////////////////////////////////////////////////////////
(Now available as a standalone repo.)