Skip to content

Instantly share code, notes, and snippets.

# # Commands
# echo 'deb-src http://ppa.launchpad.net/nginx/stable/ubuntu utopic main' > /etc/apt/sources.list
# apt-get update
# apt-get build-dep nginx
# apt-get source nginx
# cd nginx-1.6.2
# dpkg-buildpackage
failed: [vagrant_timebox] => (item=fdk-aac_latest_amd64.deb,x264_latest_amd64.deb,ffmpeg_latest_amd64.deb,opencv_latest_amd64.deb) => {"failed": true, "item": "fdk-aac_latest_amd64.deb,x264_latest_amd64.deb,ffmpeg_latest_amd64.deb,opencv_latest_amd64.deb", "parsed": false}
SUDO-SUCCESS-flaslutnesbsythsievxkingbuwkszot
Traceback (most recent call last):
File "/home/deployer/.ansible/tmp/ansible-tmp-1425334957.95-65881054914681/apt", line 2196, in <module>
main()
File "/home/deployer/.ansible/tmp/ansible-tmp-1425334957.95-65881054914681/apt", line 563, in main
force=force_yes, dpkg_options=p['dpkg_options'])
File "/home/deployer/.ansible/tmp/ansible-tmp-1425334957.95-65881054914681/apt", line 330, in install_deb
pkg = apt.debfile.DebPackage(deb_file)
File "/usr/lib/python2.7/dist-packages/apt/debfile.py", line 61, in __init__
# Running comments:
echo deb-src http://ppa.launchpad.net/brightbox/ruby-ng-experimental/ubuntu utopic main >> /etc/apt/sources.list
apt-get update
apt-get source ruby2.2
apt-get install chrpath dh-autoreconf libffi-dev libgdbm-dev libncurses5-dev libncursesw5-dev libreadline6-dev libyaml-dev systemtap-sdt-dev tcl8.5-dev tk8.5-dev
cd ruby2.2-2.2.1/
time dpkg-buildpackage
# Output:
@tetherit
tetherit / gist:687adce4862c1a45991b
Last active August 29, 2015 14:21
bundle install fails with mv: cannot stat ‘/tmp/bundler20150512-27272-653i37json-1.8.2/cache/json-1.8.2.gem’: No such file or directory
$ bundle --version
Bundler version 1.9.7
$ gem --version
2.4.5
$ bundle install
Fetching gem metadata from https://rubygems.org/..............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
I have added this IP address days ago and when I try to email, just as from the other servers, I get this error:
Jul 25 01:24:11 Timeline postfix/pickup[24641]: 6D42E9C0CA6: uid=1001 from=<no-reply@xanview.com>
Jul 25 01:24:11 Timeline postfix/cleanup[8863]: 6D42E9C0CA6: message-id=<55b2c91b6850e_2075e79e7447663@Timeline.mail>
Jul 25 01:24:11 Timeline postfix/qmgr[19358]: 6D42E9C0CA6: from=<no-reply@xanview.com>, size=771, nrcpt=1 (queue active)
Jul 25 01:24:41 Timeline postfix/smtp[8865]: connect to smtp-relay.gmail.com[173.194.65.28]:25: Connection timed out
Jul 25 01:24:41 Timeline postfix/smtp[8865]: 6D42E9C0CA6: to=<roman@xanview.com>, relay=smtp-relay.gmail.com[2a00:1450:4013:c01::1c]:25, delay=30, delays=0.01/0/30/0.02, dsn=5.7.1, status=bounced (host smtp-relay.gmail.com[2a00:1450:4013:c01::1c] said: 550-5.7.1 Invalid credentials for relay [2a01:7c8:aab0:3be:5054:ff:fecb:3e90]. 550-5.7.1 The IP address you've registered in Google Apps SMTP Relay service 550-5.7.1 doesn't match domain of the accoun
- @title = "Xanview: Compared to Others"
.row
.col-sm-2
h3 Thumbnail Search
.col-sm-5
p
' Footage is analysed to generate a
b "best" image
' for every 5 seconds of video. If a person runs past the camera, the "best"
.zone_selection
= grouped_collection_select(:event, :zone_id, @locations, :zones, :name, :id, :name, {:selected => "50463aa79438a08e45000037"})
= params
# Generates the following HTML
<div class='zone_selection'>
<select id="event_zone_id" name="event[zone_id]"><optgroup label="Roman&#x27;s Home"><option value="50463aa79438a08e45000001">Garden Side</option>
<option value="50463aa79438a08e4500000a">Doorbell</option>
<option value="50463aa79438a08e45000037">Entrance (Front)</option>
Xanview2::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
require File.expand_path('../boot', __FILE__)
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "rails/test_unit/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
!!!
%html
%head
%title Xanview: Monitoring Solutions
/[if lt IE 9]
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}