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
User | |
id: 113911, | |
email: "[email protected]", | |
encrypted_password: "$2a$04$L1eidjS45VphqXzWz9xgeeHz1Q2/fxdgHoyJcyw2uy6...", | |
reset_password_token: nil, | |
reset_password_sent_at: nil, | |
remember_created_at: nil, | |
sign_in_count: 0, | |
current_sign_in_at: nil, | |
last_sign_in_at: nil, |
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
//header | |
{ | |
"typ":"JWT", | |
"alg":"" | |
} | |
//payload - claims | |
{ | |
"iss":"http://myapi.com", //reserved claim | |
"user":"david" //public claim |
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
Started POST "/sessions/new" for ::1 at 2015-12-06 18:29:21 -0600 | |
ActionController::RoutingError (No route matches [POST] "/sessions/new"): | |
actionpack (4.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' | |
newrelic_rpm (3.14.0.305) lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in `call' | |
web-console (2.2.1) lib/web_console/middleware.rb:39:in `call' | |
newrelic_rpm (3.14.0.305) lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in `call' | |
actionpack (4.2.5) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | |
newrelic_rpm (3.14.0.305) lib/new_relic/agent/instrumentation/middleware_tracing.rb:78:in `call' | |
railties (4.2.5) lib/rails/rack/logger.rb:38:in `call_app' |
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
# == Schema Information | |
# | |
# Table name: users | |
# | |
# id :integer not null, primary key | |
# email :string(255) default(""), not null | |
# encrypted_password :string(255) default(""), not null | |
# reset_password_token :string(255) | |
# reset_password_sent_at :datetime | |
# remember_created_at :datetime |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 | |
$pn = $_GET['page']; | |
$page_arr = fetchPageByName($pn); | |
//echo $page_arr["page_id"]; | |
$meta_title=strip_tags($page_arr['varchar1']);$meta_title_defined="yes"; | |
$meta_description=strip_tags($page_arr['text2']);$meta_description_defined="yes"; | |
$meta_keywords=strip_tags($page_arr['text1']);$meta_keywords_defined="yes"; |
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
<p>Experience the Divine, explore spirituality, act on social justice and create community with others who follow the | |
way of Jesus Christ. Plymouth Church is located in the heart of downtown Seattle. Join us!</p> | |
<p> | |
<a href="https://fast.wistia.net/embed/iframe/mfcuv4jefj?controlsVisibleOnLoad=true&playerColor=333333&plugin%5Bsocialbar-v1%5D%5BbadgeImage%5D=http%3A%2F%2Fembed.wistia.com%2Fdeliveries%2F3574f7f1910ee97739ad806a18fc577d0475301f.jpg%3Fimage_resize%3D100&plugin%5Bsocialbar-v1%5D%5BbadgeUrl%5D=http%3A%2F%2Fdatasphere.com%3Futm_source%3Dembedvideo%3Futm_source%3Dembedvideo&plugin%5Bsocialbar-v1%5D%5Bbuttons%5D=facebook-twitter&plugin%5Bsocialbar-v1%5D%5Blogo%5D=true&plugin%5Bsocialbar-v1%5D%5BpageUrl%5D=http%3A%2F%2Fmy.datasphere.com%2Fnode%2F1485914%3Futm_source%3Dembedvideo&version=v1&videoHeight=360&videoWidth=640&volumeControl=true" | |
title="VIDEO WELCOME TO PLYMOUTH CHURCH"> | |
<img src="http://plymouthchurchseattle.org/img/welcome.jp |
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
On branch master | |
Your branch is ahead of 'origin/master' by 1 commit. | |
(use "git push" to publish your local commits) | |
Untracked files: | |
(use "git add <file>..." to include in what will be committed) | |
gitlog | |
status |
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
function obj_present($resource, $value){ | |
if(isset($resource[$value]) || $resource[$value] != '0'){ | |
return $resource[$value]; | |
} | |
} | |
function image_tag($image_data) { | |
echo "<img src='" . img::getImg($image_data, 1) . "'>"; | |
} |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<meta name="keywords" content=""> | |
<meta name="description" content=""> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="Content-Style-Type" content="text/css"> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |