Skip to content

Instantly share code, notes, and snippets.

View Akagi201's full-sized avatar
🎯
Focusing

Bob Liu Akagi201

🎯
Focusing
View GitHub Profile
@Akagi201
Akagi201 / work.md
Created March 20, 2018 07:20
[work]

初创团队注意

Refs

@Akagi201
Akagi201 / legolas.md
Created March 14, 2018 02:10
[legolas]

bonus

@Akagi201
Akagi201 / socks.md
Created March 12, 2018 07:38
[socks]
@Akagi201
Akagi201 / coturn.md
Created March 9, 2018 02:20
[coturn]

stun server

@Akagi201
Akagi201 / sonm.md
Created March 7, 2018 08:13
[sonm]

wallet

@Akagi201
Akagi201 / linux-swap.md
Created March 7, 2018 07:44
[linux-swap]
@Akagi201
Akagi201 / dd.md
Created March 2, 2018 07:04
[dd]
  • 写入测试: dd if=/dev/zero of=/data/test.dbf bs=8k oflag=direct 不经过缓存
@Akagi201
Akagi201 / upnp.md
Last active February 9, 2018 09:28
[upnp]

golang

For example, to view all of the ssh shares on Bonjour-enabled computers, try this in the Terminal (replace dns-sd with mDNS if you're on 10.3): dns-sd -B _ssh._tcp . You should receive a list of workstations that are broadcasting ssh services via Bonjour. Don't forget that you need to replace the spaces with hyphens and add a .local prefix when trying to connect. For example, to ssh to Macintosh HD found this way, you need to use ssh Macintosh-HD.local. To view AFP shares (maybe AppleTalk isn't turned on?), try this one: dns-sd -B _afpovertcp._tcp .

man dns-sd