Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
| ## Sublime Text 3 Serial key build is 3211 | |
| Download this BAT file I made in order to block some Sublime text websites through the Windows host file: | |
| => https://www.datafilehost.com/d/25cac38f | |
| How to Activate? | |
| After you have successfully installed your Sublime text software | |
| 1. Disconnect your PC from the internet | |
| 2. For WIndows users, run the Bat file linked up as Administrator |
| -- | |
| -- Read only | |
| -- | |
| -- Create a group | |
| CREATE ROLE postgres_ro_group; | |
| -- Grant access to existing tables | |
| GRANT USAGE ON SCHEMA public TO postgres_ro_group; | |
| GRANT SELECT ON ALL TABLES IN SCHEMA public TO postgres_ro_group; |
| brew install apple-gcc42 openssl libyaml libffi | |
| xcode-select --install | |
| export CC=/usr/local/bin/gcc-4.2 | |
| export CFLAGS='-g -O2' | |
| export RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
| export CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl` | |
| rbenv install 1.8.7-p375 |
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
| #!/bin/bash | |
| # ansible-vault-git-diff -- show what changed in a vaulted file at a specific commit | |
| commit="$1" | |
| file="$2" | |
| if [ -z "$2" ]; then | |
| echo "Usage: $0 <commit> <file>" | |
| exit 1 | |
| fi |
| # Using v1 of Ruby aws-sdk as currently v2 seems not able to do this (broken?). | |
| require 'aws-sdk-v1' | |
| key = YOUR_AWS_KEY | |
| secret = YOUR_AWS_SECRET | |
| region = YOUR_AWS_REGION | |
| AWS.config(access_key_id: key, secret_access_key: secret, region: region) | |
| s3 = AWS::S3.new | |
| bucket = s3.buckets[bucket_name] |
Steps to get Rails 4 saving its output to Syslog via Rsyslog. This assumes you are on CentOS, but should be pretty adaptable to any other distribution. Ruby 2.0+ is also required.
lograge and logstash-event to your Gemfile. Feel free to remove from production if you'd like to test it in development as well or something.production.rb with the lograge settings and set the logger to Syslog::Logger.conf files to /etc/rsyslog.d/. /etc/rsyslog.conf should have $IncludeConfig /etc/rsyslog.d/*.conf enabled, so it will load any additional configs from /etc/rsyslog.conf.| <?php | |
| class FacebookDebugger | |
| { | |
| /* | |
| * https://developers.facebook.com/docs/opengraph/using-objects | |
| * | |
| * Updating Objects | |
| * | |
| * When an action is published, or a Like button pointing to the object clicked, | |
| * Facebook will 'scrape' the HTML page of the object and read the meta tags. |
Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw is officially deprecated and removed in OS X Yosemite. Pow requires another program pf to handle the port forwarding.
Create file /etc/pf.anchors/pow