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
// Edited character summary object returned from Bungie API | |
var characters = [ | |
{ | |
"characterBase": { | |
"membershipId": "4611686018431328330", | |
"membershipType": 1, | |
"characterId": "2305843009319995052", | |
"dateLastPlayed": "2017-03-13T01:18:03Z", | |
"minutesPlayedThisSession": "57", | |
"minutesPlayedTotal": "19702", |
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
# bot.js not included here. starts to whole process. Just shows process has started. | |
Logging from bot.js | |
# Data sample grabbed from line 23 of logs.js | |
{"_id":"204255289342427136","server":"FFC_Test_Server","channel":"general","author":"Unisys1 | |
2","author_id":"154928746636378112","message":"test message to MongoDB Server using Mongoose | |
","mentions":[],"timestamp":1468768655859} | |
# Line 52 of logs.js | |
Writing the data to the request |
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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme", | |
"font_size": 10, | |
"spell_check": true, | |
"caret_style": "phase", | |
"line_padding_top": 2, | |
"line_padding_bottom": 2, | |
"bold_folder_labels": true, | |
"trim_trailing_white_space_on_save": true, | |
"remember_open_files": false, |
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
max_execution_time=600 | |
memory_limit=128M | |
error_reporting=0 | |
display_errors=0 | |
log_errors=0 | |
user_ini.filename= | |
realpath_cache_size=2M | |
cgi.check_shebang_line=0 | |
zend_extension=opcache.so |
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 | |
$config = [ | |
'css' => [ | |
'build_path' => __DIR__ . '/../build/css', | |
'public_path' => __DIR__ . '/css/', | |
], | |
'js' => [ | |
'build_path' => __DIR__ . '/../build/js', |
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 UsersController extends ControllerBase{ | |
public function IndexAction() | |
{ | |
//Displays Classic Style Form at domain.dev/users |
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
@mixin svg_colorize($red, $green, $blue, $alpha) { | |
fill: rgba($red, $green, $blue, $alpha); | |
&:hover { | |
fill: rgba($red, $green, $blue, $alpha - .2); | |
} | |
} | |
/***************** | |
* Useage Example* | |
****************/ |
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
@mixin svg_colorize($hue, $saturation, $lightness) { | |
fill: hsl($hue, $saturation, $lightness - 20); | |
&:hover { | |
fill: hsl($hue, $saturation, $lightness); | |
} | |
} |
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 SessionController extends \Phalcon\Mvc\Controller | |
{ | |
public function indexAction() | |
{ | |
// Will display users profile... once logged in | |
} |
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
#!/bin/bash | |
phalcon=${OPENSHIFT_REPO_DIR}/cphalcon | |
function download_phalcon() { | |
#mkdir -p ${OPENSHIFT_REPO_DIR} | |
cd ${OPENSHIFT_REPO_DIR} | |
pushd ${OPENSHIFT_REPO_DIR} |