Skip to content

Instantly share code, notes, and snippets.

View 9bow's full-sized avatar
๐Ÿค”
doing fewer things better

Junghwan Park 9bow

๐Ÿค”
doing fewer things better
View GitHub Profile

Disable Device Enrollment Program (DEP) notification on macOS BigSur and Monterey

Requirements

  1. Restart in Recovery Mode

    Restart your Mac then hold down the Command & R keys together until you're in the Recovery Mode menu

  2. Click on Utilities then select: Startup Security Utility

@9bow
9bow / modern_js.md
Created February 10, 2022 11:44 — forked from gaearon/modern_js.md
Modern JavaScript in React Documentation

If you havenโ€™t worked with JavaScript in the last few years, these three points should give you enough knowledge to feel comfortable reading the React documentation:

  • We define variables with let and const statements. For the purposes of the React documentation, you can consider them equivalent to var.
  • We use the class keyword to define JavaScript classes. There are two things worth remembering about them. Firstly, unlike with objects, you don't need to put commas between class method definitions. Secondly, unlike many other languages with classes, in JavaScript the value of this in a method [depends on how it is called](https://developer.mozilla.org/en-US/docs/Web/Jav
@9bow
9bow / React Native Clear Cache
Created January 27, 2022 13:16 — forked from jarretmoses/React Native Clear Cache
Clearing the Cache of your React Native Project
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.63 - watchman watch-del-all && rm -rf node_modules && npm install && rm -rf /tmp/metro-* && npm run start --reset-cache
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
@9bow
9bow / bmt_cmd.sh
Created May 4, 2021 00:57
Benchmark Golang float32 conversion
$ go test -run ^$ -bench Benchmark -count 10 | tee sprint1.txt
goos: darwin
goarch: amd64
pkg: github.com/9bow/go-test-bmt-float32-to-str
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkFormatFloatPWithJoin-16 7291 138532 ns/op 69585 B/op 2050 allocs/op
BenchmarkFormatFloatPWithJoin-16 9146 135195 ns/op 69584 B/op 2050 allocs/op
BenchmarkFormatFloatPWithJoin-16 8947 135255 ns/op 69584 B/op 2050 allocs/op
BenchmarkFormatFloatPWithJoin-16 8982 134507 ns/op 69584 B/op 2050 allocs/op
BenchmarkFormatFloatPWithJoin-16 8881 133829 ns/op 69585 B/op 2050 allocs/op
@9bow
9bow / AWSCertifiedDeveloperUnofficialStudyGuide.md
Created April 30, 2021 03:26 — forked from serithemage/AWSCertifiedDeveloperUnofficialStudyGuide.md
AWS ๊ณต์ธ ๊ฐœ๋ฐœ์ž - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ

AWS ํ•™์Šต ๋งํฌ์ง‘ ์‹œ๋ฆฌ์ฆˆ

  • AWS ํ•™์Šต ์ž๋ฃŒ์ง‘ http://bit.ly/aws-study-resource
  • AWS ๊ณต์ธ ์†”๋ฃจ์…˜์Šค ์•„ํ‚คํ…ํŠธ - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/sacertguide
  • AWS ๊ณต์ธ ๊ฐœ๋ฐœ์ž - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ http://bit.ly/devcertguide
  • AWS ๋ณด์•ˆ ๊ด€๋ จ ์ปจํ…์ธ  ๋ชจ์Œ์ง‘ http://bit.ly/seccontents

AWS ๊ณต์ธ ๊ฐœ๋ฐœ์ž - ์–ด์†Œ์‹œ์—์ดํŠธ ์ˆ˜ํ—˜ ๊ฐ€์ด๋“œ(http://bit.ly/devcertguide)

Disable Device Enrollment Program (DEP) notification on macOS Catalina.md

With full reinstall (recommended)

ย ย ย a. Boot into recovery using command-R during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS

ย ย ย b. Initial installation will run for approximately 1 hour, and reboot once

ย ย ย c. It will then show a remaining time of about 10-15 minutes

@9bow
9bow / 1226 Burger Index.ipynb.json
Created May 24, 2019 03:49 — forked from hyeshik/1226 Burger Index.ipynb.json
An IPython notebook for analysis of the distributions of fast-food hamburger shops.
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "",
"signature": "sha256:f99925a6f73a1e36bc91415d84266705e3bdf72304d8dba7bcfb6c94ca7b270a"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@9bow
9bow / docker-compose.yaml
Created January 23, 2019 05:13
Starting Jenkins via docker-compose
version: '3.1'
services:
jenkins:
image: jenkinsci/blueocean:latest
restart: always
ports:
- 8080:8080
- 50000:50000
volumes:
language: ruby
rvm:
- 2.3.7
before_script:
- gem install bundler
script: bundle exec jekyll build
after_success:
- ./push.sh
env:
global:
@9bow
9bow / .travis.yml
Created August 14, 2018 06:48 — forked from brenns10/.travis.yml
Travis Sphinx Auto-Doc
language: python
python:
- 3.5
install:
- pip install sphinx sphinx_rtd_theme
script: make html
after_success:
- ./push.sh
env:
global: