Source: http://www.slideshare.net/zzz00072/gnu-make-autotools-cmake?ref=
Tuesday, July 28, 2015
Saturday, July 25, 2015
Capture packets from iOS devices on Mac OS with Wireshark
RVI (Remote Virtual Interface)
1. Connect your iOS device to a Mac with USB
2. Open terminal and enter "rvictl -s deviceUUID" to start device with interface rvi0
3. Run wireshark and start capturing the packet on interface rvi0
4. Sotp interface rvi0 by enter "rvictl -x deviceUUID"
PS. deviceUUID is the UUID of your iOS device
1. Connect your iOS device to a Mac with USB
2. Open terminal and enter "rvictl -s deviceUUID" to start device with interface rvi0
3. Run wireshark and start capturing the packet on interface rvi0
4. Sotp interface rvi0 by enter "rvictl -x deviceUUID"
PS. deviceUUID is the UUID of your iOS device
Friday, July 24, 2015
Useful applications for Mac OS X
Browser:
. Chrome
. Firefox
IM:
. Line
. Skype
. QQ
Code editor:
. Sublime text
IDE:
. Xcode
Utilities:
. CleanMyMac
. Alfred
. Disk Inventory X
Cloud storage:
. Dorpbox
Download:
. BitTorrent
. FileZilla
Video Player:
. MPlayerX
Background nature music:
. Noizio
. NTFS:
. Paragon NTFS
. Virtual Machine:
. Parallels Desktop
. Calendar:
. Sunrise calendar
. Remote Desktop
. TeamViewer
. Gestures for trackpad
. BetterTouchTool
. Chrome
. Firefox
IM:
. Line
. Skype
Code editor:
. Sublime text
IDE:
. Xcode
Utilities:
. CleanMyMac
. Alfred
. Disk Inventory X
Cloud storage:
. Dorpbox
Download:
. BitTorrent
. FileZilla
Video Player:
. MPlayerX
Background nature music:
. Noizio
. NTFS:
. Paragon NTFS
. Virtual Machine:
. Parallels Desktop
. Calendar:
. Sunrise calendar
. Remote Desktop
. TeamViewer
. Gestures for trackpad
. BetterTouchTool
Thursday, July 23, 2015
A good article about Git branching model
A successful Git branching model
Source: http://nvie.com/posts/a-successful-git-branching-model/Tuesday, July 7, 2015
Keyboard shortcuts for symbols on Mac OS X
Degree (˚): option + k
Micro (µ): option + m
Copyright (©): option + g
Ohm (Ω): option + z
Registered (®): option + r
Trade mark (™): option + 2
Math:
Approximate (≈): option + x
PI (π): option + p
Delta (∆): option + j
Infinity (∞): option + 5
Division (÷): option + /
Not equal (≠) : option + '+'
Division (÷): option + /
Not equal (≠) : option + '+'
Plus/Minus (±): option + shift + =
Square root (√): option + v
Alpha (∂): option + d
Beta (ß): option + s
Function(ƒ): option + f
Calculus (∫): option + b
Yen (¥): option + y
Pound: (£): option + 3
Euro (€): option + shift + 2
No interface available in Wireshark on Mac OS
Change the permission to 644 on the BFF (Berkeley Packet Filter) in /dev/
sudo chmod 644 /dev/bpf*
or
whoami to find out your name
sudo chown yourname:admin /dev/bp*
And restart wireshark!
sudo chmod 644 /dev/bpf*
or
whoami to find out your name
sudo chown yourname:admin /dev/bp*
And restart wireshark!
Monday, July 6, 2015
USB to Serial (Console) on Mac OS X
Use the built-in "screen"
1. Install the USB to Serial driver (PL2303 Mac OS X)
2. In terminal, launch Screen and connect to device by following command (115200: baud rate)
screen /dev/cu.usbserial 115200
or screen /dev/tty.usbserial 115200
or screen /dev/tty.usbserial 115200
To list the screen sessions: screen -ls (output in format pid.tty.host)
To resume a detached session: screen -r or screen -x pid
Commands in 'screen':
'Control+a' and then '?' : Help
'Control+a' and then 'H' : toggle logging
'Control+a' and then 'Control+\' : Quit screen
Subscribe to:
Posts (Atom)
Check clients which connect to Mac OS X Wi-Fi Internet Sharing
arp -i bridge100 -a bridge100 may be different on your Mac OSX
-
For Mac OS: Use lipo. Ex. lipo -info staticLibrary.a For Linux OS: Use file Ex. file staticLibrary.c
-
[轉貼]用GCC自製Library 引用 : PTT 看板 : LinuxDev ( 作者 : cole945) Library 可分成三種, static 、 shared 與 dynamically loaded 。 1. Static libr...
-
1. Create an account on TestFlight ( http://testflightapp.com ) and with "Developer" option checked. 2. Log in to the TestFlight ...