This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Item < ActiveRecord::Base | |
belongs_to :user | |
belongs_to :messenger, :class_name => 'User' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '3.2.15' | |
gem 'mysql2' | |
gem 'bcrypt-ruby', '~> 3.0.0' | |
gem 'rails-settings-cached' | |
gem 'inherited_resources' | |
gem 'has_scope' | |
gem 'transitions', :require => ["transitions", "active_model/transitions"] | |
gem 'devise' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace Mux\Core; | |
use Orchestra\Support\Providers\ServiceProvider; | |
class CoreServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Register service provider. | |
* | |
* @return void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Ebpg { | |
public $hash_key; | |
public $merchant_id; | |
public $prefix; | |
public $order_number; | |
public $amount; | |
public $signature; | |
public $prefix_number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Fpx { | |
public $merchant_id; | |
public $prefix; | |
public $order_number; | |
public $user_email; | |
public $description; | |
public $amount; | |
public $exchange_id; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Finite\StateMachine\StateMachine; | |
use Finite\State\State; | |
use Finite\State\StateInterface; | |
trait EloquentFinite | |
{ | |
protected $states = []; | |
protected $transitions = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require '../vendor/autoload.php'; | |
// Database information | |
$settings = array( | |
'driver' => 'mysql', | |
'host' => '127.0.0.1', | |
'database' => '', | |
'username' => '', | |
'password' => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dataGridComponent = Vue.extend({ | |
template: [ | |
'<table id="{{ id }}" class="{{ class }}">', | |
'<thead>', | |
'<tr>', | |
'<th v-for="column in columns" v-on:click="sortBy(column)">', | |
'{{ renderHeaderCell(column) }}', | |
'</th>', | |
'<th v-if="actions | presentObject"> </th>', | |
'</tr>', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aambp:~ aa$ ping -c 4 128.199.115.108 | |
PING 128.199.115.108 (128.199.115.108): 56 data bytes | |
Request timeout for icmp_seq 0 | |
64 bytes from 128.199.115.108: icmp_seq=1 ttl=57 time=73.497 ms | |
64 bytes from 128.199.115.108: icmp_seq=2 ttl=57 time=64.323 ms | |
--- 128.199.115.108 ping statistics --- | |
4 packets transmitted, 2 packets received, 50.0% packet loss | |
round-trip min/avg/max/stddev = 64.323/68.910/73.497/4.587 ms | |
aambp:~ aa$ ping -c 4 128.199.149.72 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas"> | |
<cas:authenticationSuccess> | |
<cas:user>administrator</cas:user> | |
<cas:id>3</cas:id> | |
<cas:last_name>Super Admin</cas:last_name> | |
<cas:email>[email protected]</cas:email> | |
<cas:username>administrator</cas:username> | |
<cas:inceif_type>staff</cas:inceif_type> | |
<cas:inceif_status>active</cas:inceif_status> |
OlderNewer