Generate KEY and CSR:
openssl req -new -newkey rsa:2048 -nodes -keyout DOMAIN.key -out DOMAIN.csr
Echo the KEY in PEM format:
openssl rsa -in DOMAIN.key -outform PEM
Echo the CRT in PEM format:
| 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 |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <h1>What were you expecting?</h1> | |
| <script> | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| # Command Syntax | |
| sudo dseditgroup -o edit -a <USERNAME> -t user <GROUP NAME> | |
| # To Fix Zend Server Permissions Issues | |
| COMMAND="dseditgroup -o edit -a `whoami` -t user zend" | |
| sudo $COMMAND |
| echo "read 'icns' (-16455) \"Icon.icns\";" > Icon.r | |
| Rez -append -o File.ext Icon.r | |
| SetFile -a CE File.ext |
Generate KEY and CSR:
openssl req -new -newkey rsa:2048 -nodes -keyout DOMAIN.key -out DOMAIN.csr
Echo the KEY in PEM format:
openssl rsa -in DOMAIN.key -outform PEM
Echo the CRT in PEM format:
| #!/bin/sh | |
| ROOMID="$(curl -s $(echo "$1" | awk '{sub(/www/,"profiles"); sub(/#/,""); print $0}') | awk -F/ '/\/[0-9]{7,8}\//{print $6; exit}')" | |
| if [ ${#ROOMID} -eq 7 ]; then | |
| PREFIX="10"; else | |
| PREFIX="1" | |
| fi | |
| MFCURL="http://video .myfreecams.com:1935/NxServer/mfc_$PREFIX$ROOMID.f4v_aac/playlist.m3u8" | |
| for n in $(seq 340 492); do |
| #!/bin/zsh | |
| #mkicns.sh | |
| FN=${1##*/} | |
| DN=${1%/**} | |
| BN=${FN%.*} | |
| IS=iconset | |
| ID=$BN.$IS |
| These release notes are for the development builds of iTerm2. The last stable release was 1.0.0. | |
| iTerm2 1.0.0.20120108 | |
| You'd better sit down for this one. | |
| Marquee Features | |
| - Deep tmux integration! | |
| Have you ever had an ssh session lost because you had to reboot, had a network failure, or the power went out? Are you tired of giving up a keystroke to tmux or screen? Suffer no longer! iTerm2 and tmux are now deeply integrated. By installing a special version of tmux, it gains the ability to speak directly to iTerm2. When you run tmux with -C, iTerm2 will open real, native windows or tabs for each tmux window. The whole state of your tmux session is reflected in native iTerm2 windows. As you interact with a window, your typing is sent back to tmux. Any time you resize a window, add a split pane, close a split pane, close a window, or open a window (with Shell->tmux->new window), that action happens in tmux as well as in iTerm2. Even your window positions and tabs are saved from session to session. For more |
| sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport |
| $ npm install -g ws | |
| $ wscat -c ws://echo.websocket.org -p 8 | |
| connected (press CTRL+C to quit) | |
| > hi there | |
| < hi there | |
| > are you a happy parrot? | |
| < are you a happy parrot? |