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
{ | |
"basePath": "http://local.questouri.com/api", | |
"swaggerVersion": "1.2", | |
"apiVersion": "0.1", | |
"resourcePath": "/quests", | |
"apis": [ | |
{ | |
"path": "/quests", | |
"description": "Display a listing of the resource. GET /user-quests", | |
"operations": [ |
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
<template> | |
<button type="button" | |
class="btn btn-lg btn-success" | |
style="margin: 10px;" | |
v-class="disabled: isMaxResponses" | |
v-on="click: addResponse"> | |
<span class="glyphicon glyphicon-plus"></span> Add Response | |
</button> | |
<response v-repeat="responses" remove-response="{{removeResponse}}"></response> |
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
<template> | |
<button type="button" | |
class="btn btn-lg btn-success" | |
style="margin: 10px;" | |
v-class="disabled: isMaxResponses" | |
v-on="click: addResponse"> | |
<span class="glyphicon glyphicon-plus"></span> Add Response | |
</button> | |
<response v-repeat="responses" remove-response="{{removeResponse}}"></response> |
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
<template> | |
<button type="button" | |
class="btn btn-lg btn-success" | |
style="margin: 10px;" | |
v-class="disabled: isMaxResponses" | |
v-on="click: addResponse"> | |
<span class="glyphicon glyphicon-plus"></span> Add Response | |
</button> | |
<response v-repeat="responses" remove-response="{{removeResponse}}"></response> |
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
<template> | |
<div class="modal fade" id="addVerbModal"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span | |
aria-hidden="true">×</span></button> | |
<h4 class="modal-title">Modal title</h4> | |
</div> | |
<div class="modal-body"> |
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
require('./rand')()(); | |
require('./rand')()(); | |
require('./rand')()(); | |
require('./rand')()(); | |
require('./rand')()(); | |
require('./rand')()(); | |
require('./rand')()(); |
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 require = patchRequire(require); | |
// now you're ready to go | |
var utils = require('utils'); | |
// jquery | |
var $ = require('jquery'); | |
exports.solveCaptcha = function(captchaData, options) { |
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 Monolog\Logger; | |
use Monolog\Handler\StreamHandler; | |
$monolog = new Logger('log'); | |
$monolog->pushHandler(new StreamHandler(storage_path('logs/log-'.date('Y-m-d').'.txt')), Logger::WARNING); | |
$monolog->debug("hello ".rand(100,200), array(rand(30,20), array(rand(1,1000), rand(1000,2000)))); |
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 | |
// for Laravel 4.1.* | |
Route::controller('bank-accounts', 'Dashboard_BankAccountsController', array('getCreate'=>'dashboard.bank-accounts.create', | |
'postCreate'=>'dashboard.bank-accounts.create.post')); | |
Route::get('bank-accounts', array('as' => 'dashboard.bank-accounts', 'uses' => 'Dashboard_BankAccountsController@getIndex')); | |
// for Laravel 4.0.* it was possible to do like this | |
Route::get('bank-accounts', array('as' => 'dashboard.bank-accounts', 'uses' => 'Dashboard_BankAccountsController@getIndex')); | |
Route::controller('bank-accounts', 'Dashboard_BankAccountsController', array('getCreate'=>'dashboard.bank-accounts.create', |
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
const Web3 = require('web3'); | |
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); | |
const lightwallet = require('eth-lightwallet'); | |
const {txutils, signing} = lightwallet; | |
const fs = require('fs'); | |
const Tx = require('ethereumjs-tx'); |
OlderNewer