Can't sign in, eh?
When...
- Keystone sessions are being used (eg. for authentication)
secureCookiesKeystone config istrue(the default whenNODE_ENVis'production')
| #!/bin/bash | |
| CYAN="$(tput bold; tput setaf 6)" | |
| RESET="$(tput sgr0)" | |
| clear | |
| if command -v python3 > /dev/null 2>&1; then | |
| if [ $(python3 -c "print('ye')") = "ye" ]; then | |
| clear |
| const frameworks = ["AVFoundation", "AVKit"]; | |
| frameworks.forEach(name => { | |
| $objc("NSBundle").$bundleWithPath(`/System/Library/Frameworks/${name}.framework`).$load(); | |
| }); | |
| const gravities = { | |
| resize: "AVLayerVideoGravityResize", | |
| resizeAspect: "AVLayerVideoGravityResizeAspect", | |
| resizeAspectFill: "AVLayerVideoGravityResizeAspectFill", | |
| } |
All the following has been validated on MacOS Mojave 10.14.6
While there is a command line preference to accept only local VNC connections, that setting still doesn't prevent the daemon from listening to the wildcard address, and advertise the service on Bonjour. I haven't actually tried to see if it restricted anything in modern versions of the operating system, but here it is for reference:
sudo defaults write /Library/Preferences/com.apple.RemoteManagement.plist VNCOnlyLocalConnections -bool yes
| using HidSharp; | |
| using System.Linq; | |
| namespace ForceTouchTrigger | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| // Force Touch Device: USB\VID_05AC&PID_0265&MI_02 |
| #!/bin/bash | |
| <<ABOUT_THIS_SCRIPT | |
| ----------------------------------------------------------------------- | |
| Written by:William Smith | |
| Professional Services Engineer | |
| Jamf | |
| bill@talkingmoose.net | |
| https://gist.github.com/talkingmoose/9faf50deaaefafa9a147e48ba39bb4b0 |
| #EXTM3U name="北京联通IPTV(RTP)” | |
| #EXTINF:-1,CCTV-1高清(1) | |
| rtp://239.2.1.129:8000 | |
| #EXTINF:-1,CCTV-2高清(2) | |
| rtp://239.2.1.60:8084 | |
| #EXTINF:-1,CCTV-4高清(4) | |
| rtp://239.2.1.105:8092 | |
| #EXTINF:-1,CCTV-7高清(7) | |
| rtp://239.2.1.61:8104 | |
| #EXTINF:-1,CCTV-9高清(9) |
如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.
** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)
由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。
| void function () { | |
| const canvas = document.createElement('canvas') | |
| canvas.width = document.documentElement.offsetWidth | |
| canvas.height = document.documentElement.offsetHeight | |
| canvas.style.position = 'absolute' | |
| canvas.style.left = '0' | |
| canvas.style.right = '0' | |
| canvas.style.top = '0' |