Skip to content

Instantly share code, notes, and snippets.

View nic's full-sized avatar
✔️
‌‌

nic

✔️
‌‌
View GitHub Profile
@andrescalco
andrescalco / package.json
Created May 25, 2018 16:22
Add/Remove NSAppTransportSecurity rule for localhost on React Native ios project
"scripts": {
"enable_local": "plutil -insert NSAppTransportSecurity -xml \"<dict><key>NSExceptionDomains</key><dict><key>localhost</key><dict><key>NSExceptionAllowsInsecureHTTPLoads</key><true/></dict></dict></dict>\" ios/myProject/Info.plist",
"remove_local": "plutil -remove NSAppTransportSecurity ios/myProject/Info.plist"
},
@kopwei
kopwei / k3s-cluster.md
Last active April 15, 2024 15:57
K3s and Rancher on Raspberry Pi 4 Cluster

Deploy K3s and Rancher on Raspberry Pi 4 cluster

Today I tried to setup a small Kubernetes cluster on top of 3 Raspberry Pi 4 (4GB Memory). Here is the steps to install the cluster.

IMG_3817

Preparation

I have 3 Raspberry Pi 4 stacked with PoE headers and connected to a PoE switch at home. The are connected to Internet through a home router. All Pis are equipped with a 64GB Samsung SDXC card flushed with Ubuntu 20.04 image.

@racerxdl
racerxdl / readme.md
Created June 22, 2022 19:08
Initialize unfused JCOP card
java -jar gp.jar -d \
  -a 00a4040010C238E449F725B1510EAA699550CABA16 \
  -a 00f00000 \
  -a c0d6030510404142434445464748494a4b4c4d4e4f \
  -a c0d6032110404142434445464748494a4b4c4d4e4f \
  -a c0d6033D10404142434445464748494a4b4c4d4e4f