answer stringlengths 15 1.25M |
|---|
layout: post
title: Bhaas
date: '2007-06-17 21:32:00'
tags: ["poetry"]
<p><a onblur="try {parent.<API key>();} catch(e) {}" href="http: |
class Projects {
public static filters: string[] = [];
public static open(): void {
$.ajax(
{
url: "./projects.html",
success: (data) => {
$("#page").fadeOut(
"fast",
() => {
... |
export {expenseSpyFactory} from './expense-spy-factory';
export {<API key>} from './<API key>'; |
package logbook.data;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.net.<API key>;
import java.net.URL;
import java.net.URLClassLoader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import j... |
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(<API key> "D:/lang/OpenCV-2.2.0")
SET(<API key> "D:/lang/OpenCV-2.2.0/dbg-w32")
# Force unix paths in dependencies.
SET(<API key> 1)
# The C and CXX include file search path... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{107:function(n,o,c){},108:function(n,o,c){},109:function(n,o,c){},110:function(n,o,c){},150:function(n,o,c){},151:function(n,o,c){}}]);
//# sourceMappingURL=<API key>.js.map |
get '/user' do
if logged_in?
redirect '/'
end
erb :create_account
end
post '/user' do
user = User.create(params[:user])
redirect '/'
end
post '/login' do
if user = User.login(params[:user])
session[:permissions] = '3'
end
redirect '/'
end
get '/logout' do
session.clear
session[:permissions] ... |
<?php
$language_data = array (
'LANG_NAME' => 'Pascal',
'COMMENT_SINGLE' => array(1 => '
'COMMENT_MULTI' => array('{' => '}','(*' => '*)'),
'CASE_KEYWORDS' => <API key>,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array(
1 => array(
'if', 'while'... |
<?php
namespace infinitydevphp\gii\migration;
use infinitydevphp\<API key>\<API key>;
use infinitydevphp\tableBuilder\TableBuilder;
use infinitydevphp\tableBuilder\<API key>;
use infinitydevphp\gii\models\Field;
use yii\db\ColumnSchema;
use yii\db\Schema;
use yii\db\TableSchema;
use yii\gii\CodeFile;
use yii\helpers\Ar... |
delete p1 from person as p1, person as p2 where p1.email = p2.email and p1.id > p2.id; |
#include "<API key>.h"
<API key>::<API key>(uint8_t background[NEOPIXEL_COUNT][COLOR_BYTES], uint8_t hotNeedleColor[COLOR_BYTES], float highlightMultiplier, bool useHighlight, uint16_t fadeTime, uint8_t framePeriod, Adafruit_NeoPixel *strip) : LightControlClass(framePeriod, strip)
{
memcpy(this->backgroundColors, bac... |
import { createSelector } from 'reselect';
import * as movie from './../actions/movie';
import { Movie } from './../models';
import * as _ from 'lodash';
import { AsyncOperation, AsyncStatus, makeAsyncOp } from "./../utils";
export interface State {
entities: { [movieId: string]: Movie };
mapMovieToCinema: {
... |
<!DOCTYPE HTML>
<html>
<head>
<title>Gamecraft CI</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="/webjars/bootstrap/3.3.7-1/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/css/dashboard.css"/>
<script src=... |
from scrapy.spiders import Spider
from scrapy.selector import Selector
from scrapy.http import HtmlResponse
from FIFAscrape.items import PlayerItem
from urlparse import urlparse, urljoin
from scrapy.http.request import Request
from scrapy.conf import settings
import random
import time
class fifaSpider(Spider):
name... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
$(document).ready(function(){
var div = document.getElementById('content');
var div1 = document.getElementById('leftbox');
div.style.height = document.body.clientHeight + 'px';
div1.style.height = div.sty... |
require 'spec_helper'
describe Webpack::Rails do
it 'has a version number' do
expect(Webpack::Rails::VERSION).not_to be nil
end
end |
CREATE TABLE IF NOT EXISTS `comment` (
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
; |
require 'optparse'
require 'pathname'
module EdifactConverter
class CommandLineParser
class << self
attr_writer :options
def options
@options ||= {}
end
def parser
@parser ||= begin
OptionParser.new do|opts|
opts.banner = "Usage: #{$COMMAND_NAME} [opti... |
package org.peerbox.presenter;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.layout.Pane;
public class MainController implements INavigatable {
@FXML
private Pane mainPane;
/*
* (non-Javadoc)
*
* @see org.peerbox.presenter.INavigatable#setContent(javafx.scene.Node)
... |
// <API key>.h
// TNTLoveFreshBee
#import <UIKit/UIKit.h>
@protocol <API key> <NSObject>
@optional
- (void)<API key>;
@end
@interface <API key> : UIView
@property(weak,nonatomic) id<<API key>>delegate;
@end |
<?php
/*
Template Name: Full Page Width Template
*/
get_header();
while ( have_posts() ) {
the_post();
get_template_part( 'content', 'page-full' );
} // end of the loop
get_footer(); |
print("hello!!!!") |
var monsterArray =
{
"name": "",
"other": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
""
],
"weakness": [
{
"data": [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"... |
<reference path="../definitions/mocha.d.ts"/>
<reference path="../definitions/node.d.ts"/>
<reference path="../definitions/Q.d.ts"/>
import Q = require('q');
import assert = require('assert');
import path = require('path');
import fs = require('fs');
describe('General Suite', function () {
this.timeout(20000);
... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Gang } from '../models/gang';
import { Session } from '../models/session';
import { CREW_2_ROUTE } from '../../app/app.routes.model';
import { HttpClient } from '@angular/common/http';
@Injectable()
export class CrewServi... |
#ifndef <API key>
#define <API key>
#if defined(_MSC_VER)
#pragma once
#endif
#include <lslboost/spirit/home/support/char_encoding/standard.hpp>
#endif |
# coding=utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
from copy import deepcopy
from typing import Any, Awaitable, Optional, TYPE_CHECKING
from azure.core.rest import AsyncHttpResponse, HttpRequest
from azure.mgmt.co... |
// kmeans.h
// VoterMLA
#ifndef kmeans_h
#define kmeans_h
#include "county.h"
#include <vector>
//K-Means Clustering Namespace
namespace KmeansCluster {
//Data Structure to help K-Means Clustering
class KMeans{
private:
//setup three clusters for the clustering and two for last centroids and current c... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>T837185195841212416</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600">
<link rel="stylesheet" href="/style.css">
<link... |
#include "<API key>.h"
#include <d3d11.h>
#include <d3dcompiler.h>
#include <imgui.h>
namespace NLE
{
namespace GRAPHICS
{
struct <API key>
{
float mvp[4][4];
};
ImguiD3D11Renderer::ImguiD3D11Renderer() :
_vertexBuffer(nullptr),
_indexBu... |
<?php
/** Internally used classes */
// require_once 'Zend/Pdf/Element.php';
// require_once 'Zend/Pdf/Element/Array.php';
// require_once 'Zend/Pdf/Element/Dictionary.php';
// require_once 'Zend/Pdf/Element/Name.php';
// require_once 'Zend/Pdf/Element/Numeric.php';
// require_once 'Zend/Pdf/Element/String.php';
/** Ze... |
dbm.registerClass("dbm.thirdparty.facebook.constants.EventTypes", null, function(objectFunctions, staticFunctions, ClassReference) {
//console.log("dbm.thirdparty.facebook.constants.EventTypes");
var EventTypes = dbm.importClass("dbm.thirdparty.facebook.constants.EventTypes");
staticFunctions.AUTH_LOGIN = "... |
module TweetStream
class Terminated < ::StandardError; end
class Error < ::StandardError; end
class ConnectionError < TweetStream::Error; end
# A ReconnectError is raised when the maximum number of retries has
# failed to re-establish a connection.
class ReconnectError < StandardError
attr_accessor :tim... |
#pragma warning disable CA1801 // Remove unused parameter
#pragma warning disable IDE0060 // Remove unused parameter
using System;
using System.Linq;
using System.Text;
namespace OtherDll
{
<summary>
Aids with testing dataflow analysis _not_ doing interprocedural DFA.
</summary>
<remarks>
Since Rosl... |
#!/bin/bash
# Set up your StartSSL certificates/keys for nginx-proxy
# This script expects your certificate and key files in this folder following
# the nginx-proxy naming convention.
# For example: foo.example.com.crt foo.example.com.key
# are the .crt and .key file for the domain foo.example.com
# Make sure script is... |
'use strict';
// This is the webpack config used for JS unit tests
const Encore = require('@symfony/webpack-encore');
const encoreConfigure = require('./webpack.base.config');
const webpackCustomize = require('./webpack.customize');
// Initialize Encore before requiring the .config file
Encore.<API key>('dev-server');
... |
PanelWidget,
PanelApplet,
PanelToplevel {
padding: 0;
background-color: @osd_bg;
background-image: none;
color: #222222;
}
PanelApplet {
border-width: 0;
}
PanelSeparator {
border-width: 0;
background-color: @osd_bg;
background-image: none;
color: @osd_fg;
}
.<API key>,
PanelApplet >... |
@echo off
REM Script to install the updates
net user Administrator p@ssw0rd /active:yes
SET install_dir=%~dp0
REM Getting rid of the \ at the end
SET install_dir=%install_dir:~0,-1%
cd %install_dir%
dir /b %install_dir%\*.cab > updatelist.txt
for /f "delims=" %%i in (updatelist.txt) do (
echo Processing %%i
call ... |
// Release 1: User Stories
// As a user, I want to be able to create a new grocery list. After that, I need to be able to add an item with a quantity to the list, remove an item, and update the quantities if they change. I need a way to print out the list in a format that is very readable.
// Release 2: Pseudocode
// i... |
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<script src='matrices.js'></script>
<style>
.indent {
padding-left: 2em;
}
</style>
</head>
<body>
<h3>Color space:</h3>
Spec: <select id='e_color_space'>
<option value='rec601' selected>Rec601</option>
<option value='rec709'>Rec709<... |
Dagaz.Controller.persistense = "setup";
Dagaz.Model.WIDTH = 8;
Dagaz.Model.HEIGHT = 8;
ZRF = {
JUMP: 0,
IF: 1,
FORK: 2,
FUNCTION: 3,
IN_ZONE: 4,
FLAG: 5,
SET_FLAG: 6,
POS_FLAG: 7,
SET_POS_FLAG: 8,
ATTR: 9,
... |
#ifndef <API key>
#define <API key>
#if !defined (__GTHREE_H_INSIDE__) && !defined (GTHREE_COMPILATION)
#error "Only <gthree/gthree.h> can be included directly."
#endif
#include <gthree/gthreekeyframetrack.h>
G_BEGIN_DECLS
#define <API key> (<API key> ())
#define <API key>(inst) (<API key> ((inst), \
... |
<?php
namespace PHPAuth;
class Auth
{
protected $dbh;
public $config;
public $lang;
public function __construct(\PDO $dbh, $config, $language = "en_GB")
{
$this->dbh = $dbh;
$this->config = $config;
if (version_compare(phpversion(), '5.5.0', '<')) {
die('PHP 5.5.0... |
namespace InfluxData.Net.InfluxDb.Models.Responses
{
public class User
{
<summary>
User name.
</summary>
public string Name { get; set; }
<summary>
Whether or not the user is an administrator.
</summary>
public bool IsAdmin { get; set; }
}
} |
package id3
import (
"bytes"
"errors"
"io"
"time"
)
var timestampFormats = []string{
"2006-01-02T15:04:05",
"2006-01-02T15:04",
"2006-01-02T15",
"2006-01-02",
"2006-01",
"2006",
}
func parseTime(timeStr string) (time.Time, error) {
for i := range timestampFormats {
t,... |
<div class="demo-menu">
<div class="menu-section">
<p>You clicked on: {{ selected }}</p>
<md-toolbar>
<button md-icon-button [md-menu-trigger-for]="menu">
<md-icon>more_vert</md-icon>
</button>
</md-toolbar>
<md-menu #menu="mdMenu">
<button md-menu-item *ngFor="let item of it... |
using Argolis.Hydra.Annotations;
using Argolis.Models;
using Vocab;
namespace TestHydraApi
{
public class IssueFilter : ITemplateParameters<Issue>
{
[Property(Schema.title)]
public string Title { get; set; }
[Property(Schema.BaseUri + "year")]
[Range(Xsd.integer)]
public ... |
// make a linked list that has one member
// then make 5 nodes - with each node having 1,2,3,4,5 as data
// then print them out
// then work out how to reverse the list by only changing the pointers
// then print again
#include <stdio.h>
#include <stdlib.h> // Including this header to use malloc
struct node {
int num... |
#pragma once
#include <rikitiki/http/content_types.h>
#include <vector>
#include <map>
#include <array>
#include <mxcomp/reflection.h>
#ifdef _MSC_VER
#define constexpr
#endif
namespace rikitiki {
class ConnContext;
struct Response;
template <typename T>
struct ContentHandler_ {
static con... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return <API key>::getLoader(); |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using Office = Microsoft.Office.Core;
// TODO: Follow these steps to enable the Ribbon (XML) item:
// 1: Copy the following code block into the ThisAddin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace MusicStore.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... |
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using Unity.Mvc4;
namespace MVCForum.IOC
{
public static class Bootstrapper
{
public static IUnityContainer Initialise()
{
var container = BuildUnityContainer();
DependencyResolver.SetResolver(new <API key>(container));
return containe... |
{% extends "content_template.html" %}
{% from "components/page-header.html" import page_header %}
{% from "components/copy-to-clipboard.html" import copy_to_clipboard %}
{% block per_page_title %}
Billing details
{% endblock %}
{% block <API key> %}
{{ page_header('Billing details') }}
<p class="govuk-body">
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InTheHand.Net;
using InTheHand.Net.Sockets;
using InTheHand.Net.Bluetooth;
namespace NXTLib
{
public static class Utils
{
public static string AddressByte2String(byte[] address, bool withcolons)
{
... |
<ion-view view-title="Coffee Shop">
<ion-content>
<div class="card">
<div class="item item-divider text-center">
<h2>{{biz.businessName}}</h2>
</div>
<div class="item text-center">
<div><strong>{{biz.street}}</strong></div>
... |
<?php
namespace Clash82\<API key>\Installer;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use eZ\Publish\API\Repository\ContentTypeService;
use eZ\Publish\API\Repo... |
# Starter Web App
This is my attempt to create a dev workflow which hot reloads client and server side changes.
Note: This is still a work in progress
## Installation
git clone xyz
rm -rf .git
npm install
gulp (npm run dev)
open http://localhost:3000
## Deployment
gulp bundle (npm run bundle)
##... |
# frankie - a plugin for sinatra that integrates with the facebooker gem
require 'sinatra/base'
require 'yaml'
require 'uri'
gem 'mmangino-facebooker'
require 'facebooker'
module Sinatra
module Frankie
module Loader
def <API key>(file, env=:development)
if File.exist?(file)
yaml = YAML.loa... |
package tutorialHorizon.arrays;
public class InsertionSort {
public static void insertionSort(int[] items, int n) {
int i, j;
for (i = 1; i < n; i++) {
j = i;
while (j > 0 && (items[j] < items[j - 1])) {
swap(items, j, j - 1);
j
}
... |
import { createContext } from 'react';
export const defaultApiStatus = {
offline: false,
apiUnreachable: '',
appVersionBad: false,
};
export default createContext(defaultApiStatus); |
> Link jsreport browser sdk into your page and easily render a report from the browser or open limited version of jsreport studio inside any web application and let end users to customize their reports. There are various scenarios where this can be used. Typical example can be when application is sending invoices to th... |
module.exports = {
//"@type": { type: String, default: "Article" },
//>>Properties from NewsArticle
//dateline: String,//The location where the NewsArticle was produced.
//printColumn: String,//The number of the column in which the NewsArticle appears in the print edition.
//printEdition: String,//T... |
from flask import Blueprint, request, render_template
from ..load import processing_results
from ..abbr import get_abbr_map
abbr_map = get_abbr_map()
liner_mod = Blueprint('liner', __name__, template_folder='templates', static_folder='static')
@liner_mod.route('/liner', methods=['GET', 'POST'])
def liner():
if requ... |
# coding=utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
from msrest.serialization import Model
class Dimension(Model):
"""Dimension of a resource metric. For e.g. instance specific HTTP requests
for a web app... |
# Pluralsight React Components
A library of React components created in "Creating Reusable React Components" on Pluralsight.
## Install
npm install ps-react-dr
## Issues
I'll add tips for common problems and address any known course issues here.
## Docs
[Component documentation](http://dryzhkov.github.io/ps-react-dr) |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http:
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/<API key>.3.5/tools/qdbus/src/<API key>.cpp -->
<head>
<title>Qt 4.3: List of All Members for <API key></title>
<link href="cl... |
typedef struct { f_t x, y; } vec_t, *vec;
//inline
f_t cross(vec a, vec b)
{
return a->x * b->y - a->y * b->x;
}
//inline
vec vsub(vec a, vec b, vec res)
{
res->x = a->x - b->x;
res->y = a->y - b->y;
}
// Does point c lie on the left side of directed edge a->b?
// 1 if left, -1 if right, 0 if on the line
in... |
package org.spongepowered.common.mixin.api.mcp.tileentity;
import net.minecraft.tileentity.TileEntityDropper;
import org.spongepowered.api.block.tileentity.carrier.Dropper;
import org.spongepowered.api.util.annotation.NonnullByDefault;
import org.spongepowered.asm.mixin.Mixin;
@NonnullByDefault
@Mixin(TileEntityDropper... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Experiments - Weking</title>
<link rel="stylesheet" href="dist/css/weking.css">
<link rel="stylesheet" h... |
var fs = require('fs')
var d3 = require('d3')
var request = require('request')
var cheerio = require('cheerio')
var queue = require('queue-async')
var _ = require('underscore')
var glob = require("glob")
var games = [] |
// FoalTS
import { FileSystem } from '../../file-system';
export function createVSCodeConfig() {
new FileSystem()
// TODO: test this line
.cdProjectRootDir()
.ensureDir('.vscode')
.cd('.vscode')
.copy('vscode-config/launch.json', 'launch.json')
.copy('vscode-config/tasks.json', 'tasks.json');
... |
import { strictEqual } from 'assert';
import { Config, HttpResponse, HttpResponseOK } from '../core';
import {
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
<API key>,
} from './constants';
import { removeSessionCookie } from './<API key>';
describe('removeSessionCookie', () => {
let response: Ht... |
<?php
class Neostrada
{
const API_HOST = 'https://api.neostrada.nl/';
private $_key;
private $_secret;
public function __construct($key, $secret)
{
$this->_key = $key;
$this->_secret = $secret;
}
public function domain($domain)
{
return new Neostrada_Domain($this,... |
layout: post
title: "Vim(10:) - Practical.Vim.2nd.Edition"
keywords: "vim,practical-vim,copy,paste,register,clipboard,"
description: "Practical.Vim.2nd.Edition 10:"
tagline: "Tip 60~64"
date: '2018-11-01 09:44:57 +0800'
category: linux
tags: vim practical-vim linux
> {{ page.description }}
> Copy and Paste
## Tip 60
{... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Department extends Model
{
protected $fillable =['name'];
} |
# file that was distributed with this source code.
LIV_TUT_META_URL='http: |
module Fae
module BaseModelConcern
extend ActiveSupport::Concern
require 'csv'
attr_accessor :filter
included do
include Fae::Trackable if Fae.track_changes
include Fae::Sortable
end
def fae_display_field
# override this method in your model
end
def fae_nested_parent
... |
#pragma once
#include <boost/uuid/random_generator.hpp>
#include <boost/uuid/uuid_io.hpp>
#include "util/util.h"
#include "util/stl_ext.h"
namespace collections {
extern boost::optional<std::vector<std::string>> wrap_string(const char *csource, int charsPerLine);
class tes_string : public reflection::class_meta... |
package biz.golek.whattodofordinner.business.contract.presenters;
import biz.golek.whattodofordinner.business.contract.entities.Dinner;
public interface EditDinnerPresenter {
void Show(Dinner dinner);
} |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Robber frog factsheet on ARKive - Eleutherodactylus simulans</title>
<link rel="canonical" href="http:
<link rel="stylesheet" type="text/css" media="screen,... |
\chapter{Constanten}
\section{Globale Constanten}
Dikwijls gebruik je bepaalde waarden doorheen je hele programma. Zo zou je, in een programma dat veel berekeningen met circels moet doen, vaak het getal pi nodig hebben. Dat getal kan je elke keer opnieuw berekenen, maar dat is niet zo'n goed idee omdat de uitkomst van ... |
package main
import (
"github.com/weynsee/go-phrase/cli"
"log"
"os"
)
func main() {
args := os.Args[1:]
c := cli.NewCLI("1.0.0", args)
exitStatus, err := c.Run()
if err != nil {
log.Println(err)
}
os.Exit(exitStatus)
} |
require 'spec_helper'
describe ZK::Threadpool do
before do
@threadpool = ZK::Threadpool.new
end
after do
@threadpool.shutdown
end
describe :new do
it %[should be running] do
@threadpool.should be_running
end
it %[should use the default size] do
@threadpool.size.should == ZK::Th... |
<div class="col-xs-7">
<div class="box">
<div class="box-header">
<h3 class="box-title">Order Table</h3>
<div class="box-tools">
<div class="input-group input-group-sm" style="width: 150px;">
<input type="search" class="light-table-filter form-control pull-right" data-table="order-ta... |
// UIFont+PongMadness.h
// Pong Madness
#import <UIKit/UIKit.h>
@interface UIFont (PongMadness)
+ (UIFont *)<API key>:(CGFloat)pointSize;
+ (void)printAvailableFonts;
@end |
#ifndef _Rectangle_h
#define _Rectangle_h
// Includes
#include <Engine/Core/Shape.h>
#include <Engine/Core/Vector.h>
namespace ptc
{
class Ray;
class Rectangle : public Shape
{
public:
Rectangle();
Rectangle( const Vector& center,
const Vector& right,
const Vector& normal,
... |
package multiwallet
import (
"errors"
"strings"
"time"
eth "github.com/OpenBazaar/go-ethwallet/wallet"
"github.com/OpenBazaar/multiwallet/bitcoin"
"github.com/OpenBazaar/multiwallet/bitcoincash"
"github.com/OpenBazaar/multiwallet/client/blockbook"
"github.com/OpenBazaar/multiwallet/confi... |
#include "addrman.h"
#include "hash.h"
#include "serialize.h"
#include "streams.h"
int CAddrInfo::GetTriedBucket(const uint256& nKey) const
{
uint64_t hash1 = (CHashWriter(SER_GETHASH, 0) << nKey << GetKey()).GetHash().GetCheapHash();
uint64_t hash2 = (CHashWriter(SER_GETHASH, 0) << nKey << GetGroup() << (hash1... |
import asyncio
import discord
import datetime
import pytz
from discord.ext import commands
from Cogs import FuzzySearch
from Cogs import Settings
from Cogs import DisplayName
from Cogs import Message
from Cogs import Nullify
class Time:
# Init with the bot reference, and a reference to the settings var
... |
<!DOCTYPE html>
<?xml version="1.0" encoding="UTF-8"?>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Earth Negotiations Bulletin: COP17</title>
<link href="../assets/style/bulletin.css" rel="stylesheet" />
</head>
<body>
<h1>Earth Negotiations... |
/*
* @param parseObject [ParseObject]
* @return [Object]
* */
export const convertBrand = (parseObject) => {
const ret = {};
const object = parseObject.toJSON();
ret.id = object.objectId;
ret.name = object.name;
ret.description = object.description;
ret.images = (object.images || []).map(image => ({ id: ... |
<a alt="joel 1" href="#/web/joel/1"><div class="chapter-btn">1</div></a><a alt="joel 2" href="#/web/joel/2"><div class="chapter-btn">2</div></a><a alt="joel 3" href="#/web/joel/3"><div class="chapter-btn">3</div></a> |
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>... |
#include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
int sum=1080;
while(cin>>a>>b>>c>>d)
{
if(a==0&&b==0&&c==0&&d==0)
break;
if(a>b)
{
sum=(a-b)*9+sum;
}
else if(a<b)
{
sum=((40-b)+a)*9+sum;
}
... |
#ifndef COLLISIONALGORITHMB
#define COLLISIONALGORITHMB
#include "CollisionAlgorithm.h"
class CollisionAlgorithmB : public CollisionAlgorithm
{
public:
CollisionAlgorithmB();
~CollisionAlgorithmB();
public:
Tuple4f <API key>(Ray3D *ray, const Tuple3f &p0, const Tuple3f &p1, const Tuple3f &p2);
};
#endif |
"format cjs";
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.toast
* @description
* Toast
*/
MdToastDirective['$inject'] = ["$mdToast"];
MdToastProvider['$inject'] = ["$$<API key>"];
angular.module('material.components.toast', [
'material.core',
'mat... |
<?php
namespace Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Controller;
use Core\Controller\<API key>;
use Dvsa\Mot\Frontend\<API key>\Model\Identity;
use Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Service\<API key>;
use DvsaCommon\Constants\FeatureToggle;
use DvsaFeature\FeatureToggles;
use Zend\Http\Response;
... |
package com.cmput301f17t11.cupofjava.Controllers;
import android.content.Context;
import com.cmput301f17t11.cupofjava.Models.Habit;
import com.cmput301f17t11.cupofjava.Models.HabitEvent;
import com.cmput301f17t11.cupofjava.Models.HabitList;
import com.cmput301f17t11.cupofjava.Models.User;
import com.google.gson.Gson;
i... |
import unittest
from katas.beta.<API key> import string_color
class StringColorTestCase(unittest.TestCase):
def test_equal_1(self):
self.assertEqual(string_color('Jack'), '79CAE5')
def test_equal_2(self):
self.assertEqual(string_color('Joshua'), '6A10D6')
def test_equal_3(self):
self... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.