this file contains the search paths
instead of cd ~ you can just type cd
CGPoint pt; pt.x = x; pt.y = y; CGEventRef mouseDownEv = CGEventCreateMouseEvent (NULL,kCGEventMouseMoved,pt,kCGMouseButtonLeft); CGEventPost(kCGHIDEventTap, mouseDownEv); CFRelease(mouseDownEv);
sudo ifconfig en1 ether aa:bb:cc:dd:ee:ff
to check the result type:
ifconfig en1 | grep ether
for Lion you might need to change ether into Wi-Fi.
When you reboot your computer the original address is restored.
Escape character is '^]'
which means Ctrl+]
sudo nano -w /etc/hosts sudo dscacheutil -cachedump -entries Host dscacheutil -flushcache
http://stackoverflow.com/questions/3918032/bash-serial-i-o-and-arduino
can you run stty -a < /dev/tty.usbserial-A800eIUj while you have the serial port working on the Arduino IDE? That would give you the settings to use.
stty -f /dev/tty.PL2303-00001004 19200
otool -L libopenFrameworks.dylib
install_name_tool
nog uitzoeken: launchd en lingon
grep -ir "texttofind" *
find . | grep -i ".cpp"
git diff | grep 'piano'
g++ -Wall -O3 -g -framework OpenGL -framework GLUT bezmesh.c -o bezmesh
Don't forget to include OpenGL and GLUT like this:
#ifdef __APPLE__ #include <OpenGL/OpenGL.h> #include <GLUT/glut.h> #else #include <GL/glut.h> #endif
or type ls -G or put the following in your ~/.profile file for a permanent solution.
export CLICOLOR=1
defaults write com.apple.finder AppleShowAllFiles TRUE
(and reload Finder)
defaults write com.apple.screencapture location /Users/rick/Desktop/screenshots
SizeUp allows you to quickly position a window to fill exactly half the screen (splitscreen), a quarter of the screen (quadrant), full screen, or centered via the menu bar or configurable system-wide shortcuts (hotkeys). Similar to “tiled windows” functionality available on other operating systems.
Install Visor to have a system-wide terminal on a hot-key.
sips input.jpg -r 90 --out output.jpg
sips -s format jpeg 4.gif --out 4.jpg
chmod -R 777 data
alias dir="ls -lGa"
alias tocaf="afconvert -f caff -d LEI16"
alias cdd="cd ~/Desktop"
see ffmpeg
sudo port install pdftk pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf
An alternative for macports
Wireshark is a tool to analyze network traffic
installed by default.
hexdump filename
zie nano
See this page: link I managed to send an email but it's not working completely yet.
Handige app om GCODES mee te bekijken in 3D
synergys --config synergy.conf
synergy.conf:
section: screens
rick.local:
User-PC:
end
section: links
rick.local:
right = User-PC
User-PC:
left = rick.local
end
Discussion