Skip to content

Instantly share code, notes, and snippets.

View adam-phillipps's full-sized avatar

Adam adam-phillipps

  • NGage
  • Salt Lake City, UT.
View GitHub Profile
deploy@asserta-app:~/asserta_cust_service$ RAILS_ENV=production bundle exec rake db:create
/home/deploy/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: duplicated key at line 80 ignored: "name"
FATAL: no pg_hba.conf entry for host "23.99.56.151", user "asserta_cust_service", database "postgres", SSL on
FATAL: no pg_hba.conf entry for host "23.99.56.151", user "asserta_cust_service", database "postgres", SSL off
/home/deploy/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `initialize'
/home/deploy/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `new'
/home/deploy/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in `connect'
/home/deploy/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activerecord-4.2.0/lib/act
tcp4 0 0 192.168.0.3.50186 40.78.98.202.443 ESTABLISHED
tcp4 0 0 192.168.0.3.50159 40.78.98.202.443 ESTABLISHED
tcp4 0 0 192.168.0.3.50158 73.65.137.190.30004 ESTABLISHED
tcp4 0 0 192.168.0.3.49969 40.79.33.64.443 ESTABLISHED
tcp4 0 0 192.168.0.3.49883 17.110.227.99.5223 ESTABLISHED
tcp4 0 0 192.168.0.3.49882 54.210.237.100.443 ESTABLISHED
tcp4 0 0 192.168.0.3.49878 91.190.219.43.12350 ESTABLISHED
tcp4 0 0 192.168.0.3.49877 65.52.108.74.443 ESTABLISHED
tcp4 0 0 192.168.0.3.49874 157.55.56.152.40010 ESTABLISHED
tcp4 0 0 192.168.0.3.50913 *.* LISTEN
@adam-phillipps
adam-phillipps / Form1.cs
Last active April 25, 2016 00:36
This class reports a win or loss on each attempt
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
09:07:41 web.1 | started with pid 6206
09:07:41 broccoli.1 | started with pid 6207
09:07:41 log.1 | started with pid 6208
09:07:41 sidekiq.1 | started with pid 6209
09:07:41 webpack.1 | started with pid 6211
09:07:42 broccoli.1 |
09:07:42 broccoli.1 | > [email protected] broccoli:dev /Users/adam/work_code/gallery
09:07:42 broccoli.1 | > broccoli/timepiece.js public/assets
09:07:42 broccoli.1 |
09:07:42 webpack.1 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Threading;
// Place your settings in the file "User/Preferences.sublime-settings", which
// overrides the settings in here.
//
// Settings may also be placed in file type specific options files, for
// example, in Packages/Python/Python.sublime-settings for python files.
{
// Sets the colors used within the text area
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// Note that the font_face and font_size are overridden in the platform
using System;
namespace Casino
{
class CasinoConsole
{
private static LottoCard lottoCard = new LottoCard();
public static int turnsRemaining = 3;
static void Main(string[] args)
require 'spec_helper'
require 'japanda/canvas_factory/user'
describe 'Enrollment class' do
before(:all) do
@course_a = CatalogFactory::Course.create! title: "course_a#{SecureRandom.hex}"
@course_b = CatalogFactory::Course.create! title: "course_b#{SecureRandom.hex}"
@sub_program_a = CatalogFactory::Program.create! title: "sub_program_a#{SecureRandom.hex}", requirements: @course_a
@sub_program_b = CatalogFactory::Program.create! title: "sub_program_b#{SecureRandom.hex}", requirements: [@course_a, @course_b]
@main_program = CatalogFactory::Program.create! title: "main_program#{SecureRandom.hex}", requirements: [@sub_program_a, @course_b]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Connect4
{
class PanelBackend
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;