Skip to content

Instantly share code, notes, and snippets.

View travisdmathis's full-sized avatar
🏠
Working from home

Travis Mathis travisdmathis

🏠
Working from home
  • Vermont
View GitHub Profile
### Keybase proof
I hereby claim:
* I am travisdmathis on github.
* I am travisdmathis (https://keybase.io/travisdmathis) on keybase.
* I have a public key ASDKUDRxMfGRdqOO0_I01_ooWH7nZ1v8vteuawjkC7I-Rgo
To claim this, I am signing this object:
public enum INPUT_TYPE
{
PointAndClick,
Directional,
FollowPointer,
PointClickOrFollowPointer,
SideScrollX,
SideScrollZ,
TankControl
did:muport:QmZbMCdZ7uKnru8xyhNBTA2cRTetmhsUhRjDMVCptDz5To
let debtRequest = this.state.debtRequest;
let payload = {
amortizationUnit: debtRequest.amortizationUnit,
collateralAmount: new BigNumber(debtRequest.collateralAmount),
collateralTokenSymbol: debtRequest.collateralTokenSymbol,
description: '',
gracePeriodInDays: new BigNumber(debtRequest.gracePeriodInDays),
interestRate: new BigNumber(debtRequest.interestRate),
principalAmount: new BigNumber(debtRequest.principalAmount),
@travisdmathis
travisdmathis / file.jsx
Last active December 14, 2016 02:42 — forked from anonymous/file.jsx
class SecondarySelections extends React.Component {
constructor(props) {
super(props);
this.state = {
message: null
};
}
updateMessage() {
if (this.props.auxiliaryVerbs['passiveVoiceRequestedAndUnavailable'] == true) {
this.setState({
<?php
if($_POST['email'] != '') {
$db = mysqli_connect('localhost', 'cl54-sstats', '******', 'cl54-sstats') OR die('Database Connection Error.');
$email = mysqli_real_escape_string($_POST['email']);
$sql = "INSERT INTO mailing (email) VALUES ('$email')";
Phish - Lawn Boy
2013
JEMP1077
Phish - Lawn Boy
1990
AGO 1992
box_session = RubyBox::Session.new({
client_id: box_keys[:client_id],
client_secret: box_keys[:client_secret],
access_token: current_user.oauth2_users.find_by_provider('box_oauth2').access_token
})
@box_client = RubyBox::Client.new(box_session)
@files_and_folders = @box_client.root_folder.items
returns: Completed 500 Internal Server Error in 752.9ms RubyBox::AuthError (no data returned):
class Comment < ActiveRecord::Base
include ActsAsCommentable::Comment
belongs_to :commentable, :polymorphic => true
belongs_to :user
belongs_to :asset
default_scope :order => 'created_at DESC'
replace_original: function() {
ro = $('.asset_detail .asset_detail_navbar li div.parent li span.replace_original');
ro.click(function() {
$('.edit_button').click();
$('#asset_uploaded_file_path').click();
});
},