Skip to content

Instantly share code, notes, and snippets.

View lcenchew's full-sized avatar
🤓
keep learning

lcenchew

🤓
keep learning
View GitHub Profile
@lcenchew
lcenchew / Brewfile
Last active May 29, 2024 05:58
new macOS setup automation #snippets
# brew bundle
# shell
# development
brew "git"
cask "sourcetree"
cask "visual-studio-code"
cask "android-studio"
cask "iterm2"
cask "docker"
@lcenchew
lcenchew / there-got-to-be-a-better-way.md
Last active August 15, 2020 09:18
There got to be a better way ... #write
@lcenchew
lcenchew / this-is-frictionless.md
Last active July 31, 2020 04:09
The word "frictionless" is almost a cliche these day. Everything claims or wants to be frictionless. But what does frictionless truly looks like? This is a collection of what I find is frictionless. #write

This is Frictionless

The word "frictionless" is almost a cliche these day. Everything claims or wants to be frictionless. But what does frictionless truly looks like?

This is a collection of what I find is frictionless.

Code editing

Gitpod is truly taking code editing to a frictionless level. Not IDE to install. There had been cloud IDE before but what attracted me was the badge. Open in Gitpod

@lcenchew
lcenchew / @notes.md
Last active September 12, 2023 09:54
00 Notes - a collection of various notes on computer stuffs #notes
@lcenchew
lcenchew / createPDF.gs
Last active May 24, 2024 16:15 — forked from andrewroberts/createPDF.gs
Merges values from Google Sheet into Docs and create Doc or PDF #snippets
//
// Create a PDF by merging values from a Google spreadsheet into a Google Doc
// ==========================================================================
//
// Demo GSheet & script - http://bit.ly/createPDF
// Demo GDoc template - 1QnWfeGrZ-86zY_Z7gPwbLoEx-m9YreFb7fc9XPWkwDw
//
// Config
// ======
@lcenchew
lcenchew / gcp.md
Last active October 25, 2023 07:11
Notes - GCP #notes

Google Cloud Platform

CLI

On Cloud Shell

gcloud auth list 

gcloud config list
@lcenchew
lcenchew / disable.sh
Last active November 7, 2021 11:26
Disable bunch of #$!@ in Catalina #snippets #notes
#!/bin/bash
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS.
# This script needs to be run from the volume you wish to use.
# E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
@lcenchew
lcenchew / vscode.md
Last active October 2, 2023 16:40
Notes - VS Code #notes

VS Code

General

  • brew install visual-studio-code

Settings

Settings file locations:

@lcenchew
lcenchew / git.md
Last active October 4, 2022 11:49
Notes - Git #notes

Git

🔽

Setting up

generate key for access

ssh-keygen -t rsa -b 4096 -f github-id_rsa -C "Github"
mv github-id_rsa* ~/.ssh/

ssh-keygen -t ED25519 -f gitlab-id_ED25519 -C "Gitlab"