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 Service | |
class << self | |
def meta_def(name, &block) | |
define_singleton_method(name, &block) | |
end | |
def responses(hash) | |
hash.each do |method_name, result| | |
meta_def(method_name) do | |
result |
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 bogart = require('bogart'); | |
var Q = require('promised-io/lib/promise'); | |
var mongoose = require('mongoose'); | |
var PostSchema = new mongoose.Schema({ | |
title: String, | |
body: String, | |
comments: [ CommentSchema ] | |
}); |
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 bogart = require('bogart'); | |
var Q = require('promised-io/lib/promise'); | |
var mongoose = require('mongoose'); | |
var PostSchema = new mongoose.Schema({ | |
title: String, | |
body: String, | |
comments: [ CommentSchema ] | |
}); |
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 id="scroll">ARCHITECTURE</p> | |
<div id="e">NU</div> |
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
// GuestCellView.swift | |
import UIKit | |
import DynamicColor | |
class GuestCellView:UIView { | |
override func awakeFromNib() { | |
//applyCustomShadow(self) |
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
Verifying that +krishaamer is my blockchain ID. https://onename.com/krishaamer |
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
add_shortcode('register', function () { | |
if(!function_exists("pll_current_language")) | |
return; | |
if(pll_current_language() == "pt") { | |
$post = get_post(493); | |
$register_form_id = "tickets_pt"; | |
} else { | |
$post = get_post(495); |
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
/** | |
* Create HTML list of pages. | |
* | |
* @since 1.0 | |
* @uses Walker_Page | |
*/ | |
class Rational_Walker_Page extends Walker_Page { | |
/** | |
* @see Walker_Page::start_lvl() | |
* @since 1.0 |
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
I am attesting that this GitHub handle krishaamer is linked to the Tezos account tz1SWnYksB92csFhauJbPt4eBcu32nkwyCoQ for tzprofiles | |
sig:edsigtnwjVthTAWHpbBP62GPpmM2nuimEDiteBvWMA2UkiMBBcx2t3wTkUNe65fR4ky3qGZmuQDbrLicnTTJ8ZJ7HL4JuBLhJcR |
OlderNewer