Skip to content

Instantly share code, notes, and snippets.

View webdav_setup_mac_osx.txt
webdav set up on mac osx for use with iPad pages keynote goodreader
/*************************************************************************************************/
Edit the file /etc/apache2/httpd.conf, (remember to use sudo to edit it) and locate this line:
LoadModule dav_module libexec/apache2/mod_dav.so
@NapoleonWils0n
NapoleonWils0n / remote_start_screen_sharing.txt
Created Nov 11, 2012
macosx: remote start screen sharing
View remote_start_screen_sharing.txt
===============================
= remote start screen sharing =
===============================
10.5 Leopard
cd /Library/Preferences
echo -n enabled > com.apple.ScreenSharing.launchd
View leopard_vnc.txt
'You cannot share your own computer.' when trying to connect to 'vnc://localhost:[lport]' afterwards. I understand that Apple probably did this to prevent naive users from confusing themselves by connecting to their own systems. However, it's a pain for those who need to connect to localhost for ssh-tunneling. Here's a temporary way to eliminate this restriction:
1 - From the terminal:
defaults write com.apple.ScreenSharing skipLocalAddressCheck -boolean YES
2 - create the ssh tunnel
ssh -L 5900:localhost:5900 ip address
View vlc_mediastreamsegmenter_ipad.txt
Vlc stream to ipad with apache mediastreamsegmenter html5
/*=======================================================================================*/
Append following lines to /etc/apache2/mime.types MIME types of video and playlist.
sudo nano /etc/apache2/mime.types
View vlc airfoil audio delay streaming.txt
vlc airfoil audio delay streaming
set the audio delay in vlc to -2100 so the video stays in sync with airplay audio
Use VLC instead (i.e. choose VLC as the app whose sound AirFoil should capture). Within VLC, use F and G keys to adjust the delay/advance of sound. Usually, an advance (F-key) of -2100 ms is enough. Works great!
open the advanced preferences in VLC and enter the value in Audio desynchronization compensation.
@NapoleonWils0n
NapoleonWils0n / virtualbox_command_line.sh
Created Nov 11, 2012
macosx: VirtualBox command line
View virtualbox_command_line.sh
#!/bin/sh
# VirtualBox command line
#|------------------------------------------------------------------------------
#| start virtual machine from the command line
#|------------------------------------------------------------------------------
VBoxManage startvm virtualMachineName
View VirtualBox usb set up.txt
VirtualBox usb set up
# IMPORTANT
# make sure to set the virtual machine to use only one procesor
# if you select more it wont see the external usb wireless adaptor
download and install the VirtualBox Oracle VM VirtualBox Extension Pack
download here:
@NapoleonWils0n
NapoleonWils0n / VirtualBox guest additions install.txt
Created Nov 11, 2012
macosx: VirtualBox guest additions install
View VirtualBox guest additions install.txt
# VirtualBox guest additions install
sudo apt-get install linux-headers-$(uname -r)
25 - install guest additions
sudo apt-get install dkms
@NapoleonWils0n
NapoleonWils0n / Virtual_box_shared_folders_on_Windows_XP.txt
Created Nov 11, 2012
macosx: VirtualBox shared folders on windows xp
View Virtual_box_shared_folders_on_Windows_XP.txt
Virtual box shared folders on Windows XP
Alternatively, on the Windows command line, use the following:
net use x: \\vboxsvr\sharename
While vboxsvr is a fixed name (note that vboxsrv would also work), replace “x:“ with the drive letter that you want to use for the share, and sharename with the share name specified with VBoxManage.
View unistall_xcode.sh
#!/bin/sh
# ===================
# = uninstall xcode =
# ===================
sudo /Developer/Library/uninstall-devtools --mode=all