Skip to content

Instantly share code, notes, and snippets.

View zhangzhishan's full-sized avatar
🎯
Focusing

Zhang Zhishan zhangzhishan

🎯
Focusing
View GitHub Profile
@zhuziyi1989
zhuziyi1989 / URL Schemes.md
Last active May 29, 2024 08:54
常用 URL Schemes 收集。

** 由于此文年事已久,可能某些URL Schemes已失效,可在评论区留言指出!(最后更新于 2024.4.16)

关于 URL Scheme 你知道多少?

iOS系统中

由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在APP之间跳转的方法:URL Scheme。简单的说,URL Scheme就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的URL Scheme都是不一样的,如果存在一样的URL Scheme,那么系统就会响应先安装那个 APP 的URL Scheme,因为后安装的 APP 的URL Scheme被覆盖掉了,是不能被调用的。

Android系统中

@typcn
typcn / lock.m
Created March 29, 2016 03:40
Unlock & Lock your mac
extern void SACLockScreenImmediate ( );
SACLockScreenImmediate();
@guoc
guoc / space-launcher.xml
Last active May 12, 2017 11:35
Hold space bar and press a key to launch/open something.
<?xml version="1.0"?>
<!--
This is a Karabiner configuration file.
Hold space bar and press a key to launch/open something.
e.g.
space + ` to open home folder
space + 1 to open Dropbox folder
space + S to launch Safari
@JeffreyWay
JeffreyWay / .vimrc
Last active January 22, 2024 11:42
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 29, 2024 15:29
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname