Skip to content

Instantly share code, notes, and snippets.

View yeoupooh's full-sized avatar

Thomas Jinwoo Min yeoupooh

View GitHub Profile
@pudquick
pudquick / brew.md
Last active April 6, 2024 21:42
Lightly "sandboxed" homebrew on macOS

brew is a bad neighbor

This isn't a guide about locking down homebrew so that it can't touch the rest of your system security-wise.

This guide doesn't fix the inherent security issues of a package management system that will literally yell at you if you try to do something about "huh, maybe it's not great my executables are writeable by my account without requiring authorization first".

But it absolutely is a guide about shoving it into its own little corner so that you can take it or leave it as you see fit, instead of just letting the project do what it likes like completely taking over permissions and ownership of a directory that might be in use by other software on your Mac and stomping all over their contents.

By following this guide you will:

  • Never have to run sudo to forcefully change permissions of some directory to be owned by your account
anonymous
anonymous / main.d
Created October 15, 2017 09:35
import std.stdio;
import std.algorithm;
import std.range;
void main()
{
// Let's get going!
writeln("Hello World!");
// An example for experienced programmers:

this repo contains two analogous script prototypes for screencasting to livecoding.tv

  • ffmpeg implementation - full-featured and works quite well
  • gstreamer implementetion - work in progress
@Tapped
Tapped / uninstall_fuse.sh
Last active July 17, 2023 10:16
Uninstall Fuse
#!/bin/sh
# Call this script as root to fully remove Fuse
# For example: 'sudo ./uninstall_fuse.sh'
rm -rvf \
/Applications/Fuse.app \
/usr/local/bin/fuse \
/usr/local/bin/uno \
/usr/local/bin/unotest \
@JayHoltslander
JayHoltslander / README.md
Created September 25, 2015 21:04 — forked from magnetikonline/README.md
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
@zeroseis
zeroseis / disable-auto-android-file-transfer.md
Created September 14, 2015 17:28
Disable auto start for Android File Transfer
  • Close Android File Transfer
  • Open Activity Monitor and kill “Android File Transfer Agent”
  • Go to where you installed “Android File Transfer.app” (I have it under /Applications)
  • Ctrl+click –> “Show package contents”
  • Go to Contents/Resources
  • Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
  • Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.
@roshanpal
roshanpal / gist:37acd854a889f7b73a1c
Created July 16, 2015 04:33
PHP AES Encryption/Decryption Class with PKCS5 padding
<?php
/**
* Created by PhpStorm.
* User: roshan
* Date: 4/5/15
* Time: 2:46 PM
*/
class Aes
@jsierles
jsierles / React Native App Reloader
Last active November 18, 2015 07:12
React Native App Reloader
#import "AppDelegate.h"
#import "ViewController.h"
@interface AppDelegate()
@property (nonatomic, strong) ViewController *viewController;
@end
@implementation AppDelegate
@killjoy1221
killjoy1221 / build.gradle
Last active December 2, 2015 22:23
Example build script for liteloader 1.8 mods. Put the mcpnames jar in the libs folder.
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"