I waited for years for a Homebrew formula for MOC. I finally found one today, but it didn't work for me. So I decided to try to compile it from source.
Here is a list of requirements, taken directly from the MOC README:
| import simplejson | |
| from django.contrib.sessions.backends.base import SessionBase, CreateError | |
| from django_ext.redis_helper import get_redis | |
| class SessionStore(SessionBase): | |
| """ | |
| A Redis-based session store. |
| # Quick hack to stretch the .srt subtitles to match the one of your video. | |
| # Check the time of the first and last sentence in your video file, then | |
| # use this tool to convert the .srt file into one matching your video with: | |
| # | |
| # tclsh srt.tcl file.srt <your start time> <your end time> > output.srt | |
| # | |
| # Example: | |
| # | |
| # tclsh srt.tcl my.srt 00:00:24,000 00:44:15,000 > ~/Desktop/new.srt | |
| # |
| # Set git autocompletion and PS1 integration | |
| if [ -f /usr/share/doc/git-1.7.7.6/contrib/completion/git-completion.bash ]; then | |
| . /usr/share/doc/git-1.7.7.6/contrib/completion/git-completion.bash | |
| fi | |
| GIT_PS1_SHOWDIRTYSTATE=true | |
| PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' |
| .ui-autocomplete { | |
| position: absolute; | |
| top: 100%; | |
| left: 0; | |
| z-index: 1000; | |
| float: left; | |
| display: none; | |
| min-width: 160px; | |
| _width: 160px; | |
| padding: 4px 0; |
| # Written by Aaron Cohen -- 1/14/2013 | |
| # Brought to you by BitTorrent, Inc. | |
| # "We're not just two guys in a basement in Sweden." TM | |
| # | |
| # This work is licensed under a Creative Commons Attribution 3.0 Unported License. | |
| # See: http://creativecommons.org/licenses/by/3.0/ | |
| import sys | |
| import re | |
| import socket |
| /* | |
| HC-06 Module Configurator | |
| This Arduino Code Configures the Baudrate, name and PIN to a HC-06 Bluetooth module on Serial port 0 | |
| By: Lucas Teske | |
| */ | |
| #define BAUDRATE 115200 // Valid values: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200. |
| #! /bin/bash | |
| # | |
| # Diffusion youtube avec ffmpeg | |
| # Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée. | |
| VBR="2500k" # Bitrate de la vidéo en sortie | |
| FPS="30" # FPS de la vidéo en sortie | |
| QUAL="medium" # Preset de qualité FFMPEG | |
| YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube |
| """ | |
| ldr.py | |
| Display analog data from Arduino using Python (matplotlib) | |
| Author: Mahesh Venkitachalam | |
| Website: electronut.in | |
| """ | |
| import sys, serial, argparse |
| # Simple No-ip.com Dynamic DNS Updater | |
| # | |
| # By Nathan Giesbrecht (http://nathangiesbrecht.com) | |
| # | |
| # 1) Install binary as described in no-ip.com's source file (assuming results in /usr/local/bin) | |
| # 2) Run sudo /usr/local/bin/noip2 -C to generate configuration file | |
| # 3) Copy this file noip2.service to /etc/systemd/system/ | |
| # 4) Execute `sudo systemctl daemon-reload` | |
| # 5) Execute `sudo systemctl enable noip2` | |
| # 6) Execute `sudo systemctl start noip2` |