Skip to content

Instantly share code, notes, and snippets.

View OhCoder's full-sized avatar
🎯
Focusing

Snow Liang OhCoder

🎯
Focusing
View GitHub Profile
@OhCoder
OhCoder / listMacOSBackgroundRunningApp.md
Last active March 11, 2024 14:02
list macOS background running app

sudo -- bash -c 'echo " - $(date) -"; while IFS= read -r eachPlist; do echo "-$eachPlist"; /usr/bin/defaults read "$eachPlist"; done <<< "$(/usr/bin/find /Library/LaunchDaemons /Library/LaunchAgents ~/Library/LaunchAgents /private/var/root/Library/LaunchAgents /private/var/root/Library/LaunchDaemons -name "*.plist")"; /usr/bin/defaults read com.apple.loginWindow LogoutHook; /usr/bin/defaults read com.apple.loginWindow LoginHook' > ~/Desktop/launch.txt

{
"description": "jk to escape for xcode",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"com.apple.dt.Xcode"
],
"type": "frontmost_application_if"
@OhCoder
OhCoder / asdf install erlang.md
Last active April 23, 2019 02:39
asdf install erlang for ubuntu
  1. according the asdf document to install lib before run
asdf install erlang 21.3.4
  1. if you meet warning,
documentation : 
                xmllint is missing.
                Using fakefop to generate placeholder PDF files.
sftp 配置:
https://www.linode.com/docs/tools-reference/tools/limiting-access-with-sftp-jails-on-debian-and-ubuntu/
TL;DR: This one pretty much speaks for itself once you know what it stands for: Too Long; Didn't Read.
Seen often on Reddit and other message boards and online communities, it indicates a summary of a preceding text.
In other words, if you see a long thread posting that you don't feel like reading,
or that you would like to know ahead of time whether it's going to be worth reading,
look for a TL;DR toward the end (often in bold) where you'll be able to get the point by reading a condensed version.
Very useful feature.