Skip to content

Instantly share code, notes, and snippets.

View zeroday0619's full-sized avatar
🏫
Full Time Student

Euiseo Cha zeroday0619

🏫
Full Time Student
View GitHub Profile

How to install game-porting-toolkit (aka proton for macOS)

What is this?

In the recent WWDC, Apple announced and released the "game porting toolkit", which upon further inspection this is just a modified version of CrossOver's fork of wine which is a "compatibility layer" that allows you to run Windows applications on macOS and Linux.

Why would I want this?

Playing Windows games on MacOS

@zeroday0619
zeroday0619 / apple-gmux.c
Created August 29, 2021 08:38 — forked from zjx20/apple-gmux.c
patched apple-gmux.c for ubuntu on macbook pro 2017-mid with kernel v4.12.3
/*
* Gmux driver for Apple laptops
*
* Copyright (C) Canonical Ltd. <seth.forshee@canonical.com>
* Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de>
* Copyright (C) 2015 Lukas Wunner <lukas@wunner.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
@zeroday0619
zeroday0619 / 91-pulseaudio-custom.rules
Created April 13, 2021 00:00 — forked from kevineinarsson/91-pulseaudio-custom.rules
MBP 16,1 System configuration files for the T2 audio driver (https://github.com/MCMrARM/mbp2018-bridge-drv/)
SUBSYSTEM!="sound", GOTO="pulseaudio_end"
ACTION!="change", GOTO="pulseaudio_end"
KERNEL!="card*", GOTO="pulseaudio_end"
SUBSYSTEMS=="pci", ATTRS{vendor}=="0x106b", ATTRS{device}=="0x1803", ENV{PULSE_PROFILE_SET}="apple-t2.conf"
LABEL="pulseaudio_end"
@zeroday0619
zeroday0619 / ubuntu-MBP-16.md
Created February 19, 2021 07:08 — forked from gbrow004/ubuntu-MBP-16.md
Ubuntu on Apple Macbook Pro 16-inch (2019)

Acknowledgements

This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:

Kernel Patches: aunali (https://github.com/aunali1/)

T2 security chip bypass to allow access to the SSD, keyboard, and trackpad: MCMrARM (https://github.com/MCMrARM)

Audio: kevineinarsson

@zeroday0619
zeroday0619 / sign.py
Last active November 18, 2020 04:02 — forked from rowanj/sign.py
Python script for signing an OS X application such that it runs without warning users about being un-signed
#!/usr/bin/env python
# Original work by Rowan James at https://gist.github.com/rowanj/5475988
# This is free and unencumbered software released into the public domain.
# http://unlicense.org
import argparse
import subprocess
import os
import glob
@zeroday0619
zeroday0619 / hate-python.md
Created August 27, 2020 10:19 — forked from Alex4386/hate-python.md
Reasons I hate PYTHON. (Includes Jokes)

Why I FURIOUSLY hate Python

This is my version of hate-typescript.md.

Warning: I have only used python for only an year and This definately includes several humors,
So DON'T TAKE THIS THAT SERIOUSLY. I don't want to make a freak'in programming language war or something

Abstract

Python is powerful doesn't scale and fast slow without extensions and precompiling;
plays well bad during collaborative programming with others;
runs everywhere everywhere except your dependency modules;

@zeroday0619
zeroday0619 / gist:d1facaf9f2dbd2b8d389885dab045cbb
Created August 1, 2020 12:53 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@zeroday0619
zeroday0619 / iptables.sh
Created June 4, 2020 10:28 — forked from einyx/iptables.sh
Anti DDos kernel settings
### 1: Drop invalid packets ###
/sbin/iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP
### 2: Drop TCP packets that are new and are not SYN ###
/sbin/iptables -t mangle -A PREROUTING -p tcp ! --syn -m conntrack --ctstate NEW -j DROP
### 3: Drop SYN packets with suspicious MSS value ###
/sbin/iptables -t mangle -A PREROUTING -p tcp -m conntrack --ctstate NEW -m tcpmss ! --mss 536:65535 -j DROP
### 4: Block packets with bogus TCP flags ###
@zeroday0619
zeroday0619 / macro.py
Created May 15, 2020 12:57
EBS ONLINE CLASS - SCHEDULED MACRO
# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals
from selenium import webdriver
from bs4 import BeautifulSoup
from PyInquirer import prompt, print_json
from datetime import datetime, time
from time import sleep
import getpass
driver = webdriver.Chrome('chromedriver.exe')