Skip to content

Instantly share code, notes, and snippets.

View msjyoo's full-sized avatar

Michael Yoo msjyoo

View GitHub Profile
False
```
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 test environment mc 090\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dfsdfasdfsafsafsadfasdftest\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dfsdfasdfsafsafsadfasdftest\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasdfsadfdas\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasdfsa\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfasd\plugins\DevTools_v1.8.0-4c37f602.phar
C:\Users\Michael Yoo\Documents\Development\Projects\PocketMine\Builds\#228\PocketMine-MP . 14 dasdfas\pl
@msjyoo
msjyoo / gist:38b0d2ca4d180dbca82c
Created August 14, 2014 04:54
PHPStorm GitHub 2-Factor Login "Json Parse Error"
If you are encountering the "Json Parse Error" with PHPStorm when trying to use the Token based authentication system:
When you are generating the token, allow it all permissions. PHPStorm will automatically adjust the token permissions to its requirements.
If you don't give it sufficient permissisons, it will fail to set the permissions automatically hence the error.
CPU: Intel i7-4790K $392
SSD: Samsumg 840 EVO 250G $135 (500G $269)
HDD: WD Green 2TB $91 x 2 (Mirrored)
RAM: Kingston 16GB Kit (2x8GB) $175
CPU Cooler: Stock Intel
GPU: Nvidia GTX 770 2G Asus OC $386
Case: Fractal Design Define R4 Black $138
PSU: Antec True Power 80+ Gold TP-550C $110
ODD: LG $19
Keyboard: Das Keyboard 4 Professional with MX Cherry Blue (If I can find one) $189
@msjyoo
msjyoo / gist:78b741fb48a9f0936e20
Last active April 6, 2021 08:06
How to set up NAT for Internet access with Hyper-V
In the Virtual SAN Editor:
Select Internal mode.
Then, open cmd, type in `ipconfig`.
You should see something like this:
```
Ethernet adapter vEthernet (Internal Virtual Switch 1):
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : xxmacaddressxx:1:2:3:randomidentifier
@msjyoo
msjyoo / Request for Comments Guidelines Draft 1.markdown
Created September 22, 2014 12:36
Request for Comments Guidelines Draft 1

(Please note that this is only a draft. Please feel free to make changes to this document. This is not a finalised guideline in any way.)

(Oh, and please summarise this guideline into a compact version. This is here so there's a fully-fledged guideline, but people will need a summary as well)

Request for Comments

A Request for Comments Pull Request is used to gather votes from developers democratically to allow the majority to rule in making important decisions to the project. This allows implementation of controversial changes and features to be conducted in an orderly fashion.

A Request for Comments is critical to the autonomous governing of open source projects such as PocketMine, because it allows major decisions to be made by the community of developers, and not developers who just happen to be maintainers and have write access.

When is Request for Comments required?

Error applying Virtual Switch Properties changes
Failed while adding virtual Ethernet switch connections
Ethernet port '{dafsdfsa}' bind failed: Catastrophic failure (0x8000FFFF).
How to fix: The port is shared. Disable Internet Connection Sharing for the interface, finish bridging, and turn ICS back on on the Virtual External interface
@msjyoo
msjyoo / certgen.rb
Last active August 29, 2015 14:10 — forked from sheerun/certgen.rb
# Generates necessary certificates to ~/.docker
#
# Usage:
# bundle install
# ruby certgen.rb <domain>
require 'certificate_authority'
require 'fileutils'
if ARGV.empty?
@msjyoo
msjyoo / getmem.sh
Created December 6, 2014 06:07
Get Ubuntu's Physical Memory Size in MegaBytes in Integer Form
echo "scale = 0; $(grep -oP '(?<=MemTotal: )\d+?(?=\skB)' /proc/meminfo) / 1024" | bc
@msjyoo
msjyoo / keybase.md
Created December 10, 2014 12:24
Keybase Verification

Keybase proof

I hereby claim:

  • I am sekjun9878 on github.
  • I am sekjun9878 (https://keybase.io/sekjun9878) on keybase.
  • I have a public key whose fingerprint is 0913 14BA 4330 9C19 2FA9 E0A5 409D BB63 E375 0CCD

To claim this, I am signing this object:

@msjyoo
msjyoo / erfads
Created December 25, 2014 04:17
phpstorm debug status bookmarklet
javascript:(function() {if(document.cookie.indexOf("XDEBUG_SESSION=PHPSTORM") > -1) {alert("Debugging Is Enabled.");} else {alert("Debugging Is Disabled.");}})()