answer stringlengths 15 1.25M |
|---|
#ifndef __WINDOW_H__
#define __WINDOW_H__
#include "Rectangle.h"
#include "DeviceContext.h"
#include "RegExp.h"
#include "Winvar.h"
#include "GuiScript.h"
#include "SimpleWindow.h"
const int WIN_CHILD = 0x00000001;
const int WIN_CAPTION = 0x00000002;
const int WIN_BORDER = 0x00000004;
const int WIN_SIZABLE = 0x00000008... |
package com.samourai.sentinel;
import android.app.Application;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.support.multidex.MultiDex;
import com.sam... |
title: A New Phase in Life
date: '2008-03-20 21:56:17'
tags:
- energyaustralia
- iec61850
- <API key>
- life
- moving-out
- opinion
- surry-hills
- sydney
- technology
- technology-analyst
<p style="text-align: center;"><a href="http:
<p style="text-align: center;"><small>Part of my new roll...distribution monitoring!<... |
--Data type way of creating a Person
{-data Person = Person String String Int Float String String deriving (Show)
firstName :: Person -> String
firstName (Person firstname _ _ _ _ _) = firstname
lastName :: Person -> String
lastName (Person _ lastname _ _ _ _) = lastname
age :: Person -> Int
age (Person _ _ age _ _ _) ... |
/* This code is from here - */
#include "toksplit.h"
/* copy over the next token from an input string, after
skipping leading blanks (or other whitespace?). The
token is terminated by the first appearance of tokchar,
or by the end of the source string.
The caller must supply sufficient space in token to
receive any to... |
package com.magiclegend.gdxtestgame.world.tile;
import java.util.HashMap;
public abstract class TileType {
public static final int TILE_SIZE = 76; //Pixel width/height of the texture
public static final HashMap<Integer, TileType> tileMap = new HashMap<Integer, TileType>();
private static int counter = 0;
... |
using System;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SF = Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using System.Collections.Generic;
namespace SixtenLabs.Spawn.CSharp.Extensions
{
public static partial class <API key>
{
public static <API key> <API key>(this PropertyDefinition propertyDefinition)... |
package org.hibernate.envers.revisioninfo;
import java.io.Serializable;
import java.util.Date;
import org.hibernate.MappingException;
import org.hibernate.Session;
import org.hibernate.envers.<API key>;
import org.hibernate.envers.RevisionListener;
import org.hibernate.envers.RevisionType;
import org.hibernate.envers.e... |
"""Retrieves the Source and Destination station pairs for APSRTC buses
"""
import scraperwiki
import lxml.html
base_url = 'http:
sources = dict()
def get_sources():
html = scraperwiki.scrape(base_url)
assert 'APSRTC Official Website' in html
root = lxml.html.fromstring(html)
for option in root.cssselect... |
# Change Log
All notable changes to this project will be documented in this file.
## [1.0.3] - 2018-01-20
update dependencies with david
Changes
- update dependencies with david
## [1.0.2] - 2017-07-21
Changes
- update todo
- docs
- update dockblocks and readme
- tests
- remove
- main injector and launcher
## [1.0.0] -... |
#pragma once
#include "logger.hpp"
#include "types.hpp"
#include <IOKit/IOKitLib.h>
#include <IOKit/hid/IOHIDDevice.h>
#include <IOKit/hid/IOHIDKeys.h>
#include <cstdint>
#include <pqrs/osx/iokit_hid_device.hpp>
#include <pqrs/string.hpp>
#include <string>
#include <vector>
namespace krbn {
class iokit_utility final {
... |
<?php
namespace app\models;
/**
* Class Animal - Common class for all animals
* @package app\models
*/
class Animal
{
/**
* @var string
*/
private $_name;
/**
* Animal constructor.
* @param string $name
*/
public function __construct($name)
{
$this->setName($name)... |
#include "hack.hpp"
#include "netvar.hpp"
struct iovec g_remote[1024], g_local[1024];
struct hack::<API key> g_glow[1024];
int <API key> = -1;
void Radar(remote::Handle* csgo, remote::<API key>* client, void* ent) {
if(<API key> == -1) {
<API key> = netvar::GetOffset("CBaseEntity", "m_bSpotted");
}
... |
package crazypants.enderio.material;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.... |
-- nodes
minetest.register_node("multitest:rubberblock", {
description = "Rubber Block",
tiles = {"<API key>.png"},
groups = {<API key>=5,crumbly=3},
})
minetest.register_node("multitest:blackstone", {
description = "Blackstone",
tiles = {"<API key>.png"},
groups = {cracky=3, stone=1},
drop ... |
package se.jtiden.sudoku.struct;
public interface Collector<T, R> {
void collect(T t);
R get();
} |
using System;
namespace ZeugnissDruckerWPF
{
public class MainWindowViewModel
{
public Database SchuelerData = new Database();
public MainWindowViewModel(MainWindow mainWindow)
{
this.ViewItems = new[]
{
new ViewItem("Browser", new Brow... |
<!DOCTYPE HTML PUBLIC "-
<html>
<head>
<title>vFabric Hyperic 5.7 : Manage Resource Auto-Discovery</title>
<link rel="stylesheet" href="styles/site.css" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<b><a href="vFabric Hyperic 5... |
export const backgroundConnector = function(){
this.cache = null;//chrome extention connect object
this.name = null;//connect name
this.onConnect = null;//function
this.onDisConnect = null;//function
this.send = function(msg){
if(this.cache != null){
var port = this.cache;
... |
<!DOCTYPE html>
<html>
<head>
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
border-top: 2pt;
}
li {
float: left;
}
li a {
display: inline-block;
color: white;
text-align: center;
padding: 10px 18px;
text-decoration: n... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Wed Feb 08 19:32:57 CST 2012 -->
<TITLE>
Uses of Class org.hibernate.<API key>.ScalarReturn (Hibernate JavaDocs)
</TITLE>
<META NAME="date" CONTENT="2012-02-08">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../styles... |
package com.grs.dragon.ui;
import java.io.*;
import java.util.*;
/**
* This class implements the same interface as the CommandForwarder
* class, but doesn't actually create or send any command files, or
* wait for replies. It is used for situations where the UI runs
* independently as a prototype/reference for tran... |
package main
import (
"net/http"
//"fmt"
"time"
logger "github.com/Industrial/learning-go-lang/microservices/blog/logger"
"gopkg.in/mgo.v2"
)
const (
SVC_HOSTNAME = "0.0.0.0"
SVC_PORT = "8080"
SVC_ADDRESS = SVC_HOSTNAME + ":" + SVC_PORT
DB_HOSTS = "mongodb:27017"
DB_DATAB... |
#pragma once
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void libkrbn_initialize(void);
const char* _Nonnull <API key>(void);
const char* _Nonnull <API key>(void);
const char* _Nonnull <API key>(void);
const char* _Nonnull <API key>(void);
uint32_t <API key>(void)... |
:host>* {
display: block;
padding: 16px 0;
border-bottom: solid 1px #666;
margin: 0px 0;
border-top: solid 1px #444;
} |
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head> <meta name="viewport" content="width=996px"/>
<title>Real-time Area chart</title>
<link href="../assets/ui/css/style.css" rel="stylesheet" type="text/css" />
<link href="../assets/prettify/prettify... |
#include "units_list_dlg.h"
#include "wfApp.h"
#include "utils/wf_operator.h"
//(*InternalHeaders(units_list_dlg)
#include <wx/intl.h>
#include <wx/string.h> |
function iconLoadListener() {
var icons = document.querySelectorAll(".icon__preview");
Array.prototype.forEach.call(icons, function(icon, i) {
icon.src += "#" + Date.now().toString();
icon.onload = function() {
this.parentNode.parentNode.className = "icon__loaded";
};
});... |
package com.seanshubin.builder.domain
import java.io.PrintWriter
import java.nio.file.{Path, StandardOpenOption}
class RootLogger(directory: Path,
emitToView: String => Unit,
files: FilesContract,
system: SystemContract) extends (String => Unit) {
files.createDirecto... |
#include <Windows.h>
#include <Psapi.h>
#include "<API key>.h"
#pragma comment(lib, "Psapi.lib")
namespace ProgressInfo
{
KWindowsScanProcess::KWindowsScanProcess()
: m_vecProcessPool(NULL)
{
}
KWindowsScanProcess::~KWindowsScanProcess()
{
}
BOOL KWindowsScanProcess::Scan( vecProcessPool* pprinfo )
{
if (pprinf... |
require 'capistrano/git'
module Capistrano
module <API key>
include Capistrano::Git::DefaultStrategy
def release
super
<API key> = context.releases_path + "#{context.release_timestamp}-full"
subfolder_to_deploy = File.join(<API key>, fetch(:git_subfolder))
context.execute :mv, release_... |
package chat
import (
"code.google.com/p/go.net/websocket"
"log"
"net/http"
)
type Server struct {
clients []*Client
addClient chan *Client
removeClient chan *Client
sendAll chan *Message
messages []*Message
}
func NewServer() *Server {
clients := make([]*Client, 0)
addClient := ... |
<!DOCTYPE html PUBLIC "-
<HTML xmlns="http:
<TITLE>Palau Web Gallery - Palau 2005-01-27 01-25-03</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<LINK href="assets/css/global.css" rel="stylesheet" type="text/css">
<META name="description" localizable="true" content="Created b... |
local is_healthpack = function(node)
if node.name == 'bobblocks:health_off' or node.name == 'health_on' then
return true
end
return false
end
local update_healthpack = function (pos, node)
local nodename=""
local param2=""
--Switch HealthPack State
if node.name == 'bobblocks:health_o... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>HardwareMap.DeviceMapping</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script typ... |
import unittest
from music_app.post import Post
class TestPost(unittest.TestCase):
"""Class to test the Post Class"""
def <API key>(self):
p = Post('Promises', 'Dreamers', 'rock', '2014', 8, 'http:
self.assertEqual(p.title, 'Promises')
self.assertEqual(p.artist, 'Dreamers')
self.... |
<!DOCTYPE html>
<html lang="en-US">
<head>
<base href="http://localhost/wordpress" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Zlotnick-1995 Empowering the Battered Woman: The Use of Criminal | Communicating with Prisoners</title>
<link rel='stylesheet' id='ort... |
/// <autosync enabled="true" />
<reference path="js/app.min.js" />
<reference path="js/controllers/ChartControl.js" />
<reference path="js/controllers/DespesaControl.js" />
<reference path="js/controllers/doacaocontrol.js" />
<reference path="js/controllers/doadorcontrol.js" />
<reference path="js/controllers/estoqueco... |
%!TEX root = 00-Thesis-Main.tex
\chapter*{Zusammenfassung}
\begin{german}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eu metus maximus, sodales nisi eu, accumsan dolor. Curabitur consectetur augue dui, vitae ultricies turpis rhoncus quis. Nulla laoreet libero ac ipsum euismod luctus. Nam vehicula dapi... |
// UnityOSC - Open Sound Control interface for the Unity3d game engine
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// of... |
This plugin allows admins to see who or what placed a block, and revert it if needed.
# Commands
General
| Command | Permission | Description |
|
|/pb inspect | preciousblocks.inspect | Inspect who changed certain blocks|
|/pb revert | preciousblocks.reverse | Revert an area around you|
| Permissions | Description | Co... |
package exterminatorjeff.undergroundbiomes.common.block.wall;
import exterminatorjeff.undergroundbiomes.api.API;
import exterminatorjeff.undergroundbiomes.api.names.BlockEntry;
import exterminatorjeff.undergroundbiomes.common.block.UBStone;
import exterminatorjeff.undergroundbiomes.config.UBConfig;
/**
*
* @author Cu... |
Javascript
[1,2,3,4,5,6,7,8].filter(function(num){
return num%2;
})
.map(function(num){
return num*num;
});
RxJS
Rx.Observable.from([1, 2, 3, 4, 5, 6, 7, 8])
.filter(function (num) {
return num % 2;
}).map(function (num) {
return num * num;
}).forEach(function (num) {
return cons... |
<ion-header>
<ion-navbar primary>
<ion-title><ion-icon name="albums"></ion-icon> {{title}}</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-list>
<ion-item tappable *ngFor="let linea of lineas" (click)="goPerfiles(linea)">
<h2>{{linea.linea}}</h2>
<p>{{linea.descripcion}}</p>... |
package com.hoperun.feiying.service.server.component;
/**
* ClassName: NetworkException
*
* @description
* @author zhang_linlin
* @Date Feb 8, 2014
*
*/
public class NetworkException extends Exception {
public NetworkException() {
super();
}
public NetworkException(String message, Throwable c... |
package br.com.fiap.helper;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.<API key>;
import javax.persistence.Persistence;
import javax.persistence.Query;
import br.com.fiap.entity.Apolice;
import br.com.fiap.entity.Segurado;
import br.com.fiap.entity.Veiculo;
public class Segu... |
package org.hyperic.hq.plugin.zimbra.five;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FilenameFilter;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.List;
public class GenerateXML {
static String metricTag = "\... |
#ifndef USART0_H_
#define USART0_H_
#include "sam.h"
#include <stdlib.h>
#include <stdbool.h>
#include "../HelperFunctions/HelperFunctions.h"
#include "../../config.h"
#include "../ErrorHandling/ErrorHandling.h"
typedef void (*USART_RECV_CALLBACK)(uint8_t* startPtr, uint16_t Length);
ErrorCode USART0_init(uint32_t Baud... |
// <API key>.h
// ExpandableTableView
#import <Foundation/Foundation.h>
@class ExpandableTableView;
@protocol <API key> <NSObject>
@optional
- (void)tableView:(ExpandableTableView *)tableView willExpandSection:(NSUInteger)section;
- (void)tableView:(ExpandableTableView *)tableView didExpandSection:(NSUInteger)section... |
jquery-scrollstop
==============
This plugin fires two events on `window` when scrolling starts and stops:
`scrollstart` and `scrollstop`.
## Example
The example shows a small box in the upper left that says "SCROLLING" and
colors the body different colors when scrolling:
[http:
## Usage
`scrollstart` fires after the f... |
var formatString = function format(template, data) {
function `format`
Parameters
0, `template` [String]: The template
1, `data` [Array|Object]: The data
Returns
[String]: The result of formatting the template or unformatted template if data is nothing
Throws:
TypeError: If... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Exception: JSON::LD::JsonLdError::InvalidEmbeddedNode
— Web portal for RDF.rb.
</title>
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
<link ... |
#include "i2c_func.h"
void I2C1_IRQHandler(void){
//if(I2C_GetFlagStatus(I2C1, I2C_FLAG_NACKF) == SET){
// I2C_ClearFlag(I2C1, I2C_FLAG_NACKF);
}
//initialize the i2c periperal
void init_i2c(void){
//<API key>(<API key>, ENABLE); //enable for i2c fast mode
//<API key>(<API key>|<API key>, ENABLE);
<AP... |
<?php
App::uses('CakeSchema', 'Model');
/**
* Base Class for Migration management
*
* @package migrations
* @subpackage migrations.libs.model
*/
class CakeMigration extends Object {
/**
* Migration description
*
* @var string
*/
public $description = '';
/**
* Migration dependencies
*
* @var ar... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+RDFa 1.1//EN">
<html class="no-js not-oldie" lang="en" dir="ltr" version="HTML+RDFa 1.1">
<meta charset="utf-8" />
<link rel="shortcut icon" href="/sites/all/themes/epa/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="HandheldFriendly" content="true" />
<meta name="v... |
# Notes for talk
## Things the presentation should have
If not specific assume I'm talking about Js.
* Things this talk will not be about: DOM, jQuery, prototypal inheritance
* Syntax
* first class functions
* `this`
* quick clojure syntax and introduction
* clojure partial
* why is partial useful
* partial implementat... |
pstree 32567
pstree -p 32567
pstree -p 32567| perl -ne 'print "$_\n" foreach /\((\d+)\)/g;'
pstree -p 32567| perl -ne '`kill -9 $_` foreach /\((\d+)\)/g;'
pstree -p 32567| perl -ne 'print "$1\n" while /\((\d+)\)/g;'
pstree -p 32567| perl -ne '`kill -9 $1` while /\((\d+)\)/g;' |
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,
1
\
2
/
3
return [1,2,3].
Note: Recursive solution is trivial, could you do it iteratively? |
# Downloading body pose (COCO and MPI), face and hand models
OPENPOSE_URL="http://posefs1.perception.cs.cmu.edu/OpenPose/models/"
POSE_FOLDER="pose/"
FACE_FOLDER="face/"
HAND_FOLDER="hand/"
# Body (BODY_25)
BODY_25_FOLDER=${POSE_FOLDER}"body_25/"
BODY_25_MODEL=${BODY_25_FOLDER}"pose_iter_584000.caffemodel"
wget -c ${OP... |
// thing_factory.h
// CTestArena
#ifndef <API key>
#define <API key>
struct thing {
char name[20];
int value;
};
struct thing create_thing(void);
#endif |
package bronz.utilities.swing.table;
import java.awt.Color;
import java.awt.Component;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.util.List;
import java.util.Map;
import javax.swing.AbstractCellEditor;
import javax.swing.CellEditor;
import javax.swing.DefaultCellEditor;
import jav... |
package org.terifan.util;
import java.util.Map.Entry;
import java.util.TreeMap;
/**
* A generic Pool implementation that will pool instances of objects for a limited time.
*
* If a pooled instances is older than the time limit it will be destroyed when the claim method is called.
*/
public abstract class Pool<E> im... |
// SearchRecord.h : main header file for the SEARCHRECORD application
#if !defined(<API key>)
#define <API key>
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
// CSearchR... |
package com.ferreusveritas.dynamictrees.worldgen;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.function.Predicate;
impo... |
package org.cfr.restlet.ext.spring;
import org.restlet.data.Status;
import org.restlet.resource.ResourceException;
public class <API key> extends ResourceException {
/**
* Generated serial version UID.
*/
private static final long serialVersionUID = -<API key>;
/**
* The object that will be r... |
var gulp = require('gulp'),
cleanhtml = require('gulp-cleanhtml'),
csslint = require('gulp-csslint'),
htmlhint = require('gulp-htmlhint'),
jshint = require('gulp-jshint'),
notify = require('gulp-notify'),
plumber = require('gulp-plumber'),
size = require('gulp-size'),
uncss = require('gu... |
<!DOCTYPE html>
<html>
<head>
<title>NCAA Football 2002</title>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta name="revised" content="Dan, 30/12/2012"/>
<meta name="author" content="Dan"/>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<l... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Fri Oct 31 18:27:03 CET 2008 -->
<TITLE>
Uses of Class org.springframework.ui.velocity.<API key> (Spring Framework API 2.5)
</TITLE>
<META NAME="date" CONTENT="2008-10-31">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../.... |
package Hexel.generation.terrainGenerator.<API key>.plate;
public class PlateChunk {
public static final int WIDTH = 129;
public static final int HEIGHT = 129;
Plate[][] plates = new Plate[WIDTH][HEIGHT];
} |
local ffi = require("ffi")
local C = ffi.C
local foundation = require("foundation")
-- Window types and functions
ffi.cdef[[
typedef struct window_config_t window_config_t;
typedef struct window_t window_t;
typedef void (* window_draw_fn)(window_t*);
int <API key>(const window_config_t);
void <API key>(void);
bool <API... |
{-# LANGUAGE QuasiQuotes #-}
module JavaLight.UseJll where
import JavaLight.JavaletteLight
import Prelude hiding (exp)
{- This Javalette Light program is parsed at compile time,
and replaced by it's abstract syntax representation.
The 'holes' in square brackets are anti-quoted Haske... |
shlog
==
minimal colored action logger for command line applications |
"team peggle specific commands"
from util import hook, http
def format_server(server):
return "\x02%-16s\x02 steam://connect/%s" % (server.get('name')[0:16], server.get('host'))
@hook.command('server', autohelp=False)
@hook.command(autohelp=False)
def servers(inp, chan='', nick='', reply=None):
servers = http.g... |
package fr.mvanbesien.projecteuler.from041to060;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Callable;
import fr.mvanbesien.projecteuler.utils.NumberUtils;
public class Problem055 implements Callable<Long> {
public static void main(String[] args) throw... |
package samcoles.blabbermouth.samcoles.blabbermouth.ui;
import android.app.AlertDialog;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridView;
import android.w... |
package com.gmail.fthielisch.chestkits;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map.Entry;
import java.util.logging.Logger;
import org.bukkit.configuration.Configuration;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.inventory.ItemStack;... |
package android.support.v7.internal.widget;
import android.support.v4.view.<API key>;
import android.support.v4.view.<API key>;
import android.support.v7.widget.ActionMenuView;
import android.view.View;
public class AbsActionBarView$<API key>
implements <API key>
{
private boolean a = false;
private int b;
prot... |
package com.serpardia.serparcraft.init;
import com.serpardia.serparcraft.reference.Reference;
import com.serpardia.serparcraft.block.BlockFlag;
import com.serpardia.serparcraft.block.BlockSC;
import cpw.mods.fml.common.registry.GameRegistry;
@GameRegistry.ObjectHolder( Reference.MOD_ID )
public class ModBlocks {
pu... |
exports = module.exports = function (roa) {
'use strict';
var sri4node = roa;
return {
resource: function () {
var $s = sri4node.schemaUtils;
var $q = sri4node.queryUtils;
var $m = sri4node.mapUtils;
return { //eslint-disable-line
type: '/responsibilities',
public: true... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Fri Oct 31 18:27:05 CET 2008 -->
<TITLE>
Uses of Interface org.springframework.jdbc.core.simple.<API key> (Spring Framework API 2.5)
</TITLE>
<META NAME="date" CONTENT="2008-10-31">
<LINK REL ="stylesheet" TYPE="text/css" H... |
/* Make clicks pass-through */
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: #00b386;
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 3px;
}
/* Fancy blur effect */
#nprogress .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height... |
package com.ferreusveritas.dynamictrees.models;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;
import com.ferreusveritas.dynamictrees.entities.EntityFallingTree;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher... |
#!/bin/bash
wget "http:
gsettings set org.gnome.desktop.background show-desktop-icons false |
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-<API key>: 100%; }
body {
margin: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
display: block; }
audio, canvas, progress, video {
display: inline-block;
vertical-align: baseline; }
audio... |
/*global describe*/
/*global require*/
/*global module*/
/*global it*/
/*global console*/
/*global process*/
var Solution = require("./Solution.js");
var MilpSolution = require("./MilpSolution.js");
function Tableau(precision) {
this.model = null;
this.matrix = null;
this.width = 0;
this.height = 0;
... |
using System.ComponentModel.Composition.Primitives;
using System.Diagnostics;
using System.Reflection;
using System.Threading;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Com... |
from mws.parsers.base import first_element, BaseElementWrapper, BaseResponseMixin
from mws._mws import InboundShipments
namespaces = {
'a': 'http://mws.amazonaws.com/<API key>/2010-10-01/'
}
class Member(BaseElementWrapper):
def __init__(self, element):
BaseElementWrapper.__init__(self, element)
@pr... |
<a href="upload.html">Upload</a> | <a href="terms.html">Terms</a> | <a href="privacy.html">Privacy</a> | <a href="contact.html">Contact</a> | <a href="http://twitter.com/anon_img">Twitter</a>
<br><br><br>
<h1>Anonymous Image Hosting</h1> |
package com.zerulus.states;
import java.awt.Graphics2D;
import java.util.Stack;
import com.zerulus.util.InputHandler;
import com.zerulus.util.MouseHandler;
public class GameStateManager extends GameState{
private Stack<GameState> states;
public static final int MENU = 0;
public static final int PLAY = 1;
... |
import _ from 'lodash';
import * as util from '../../util';
import {signToken} from '../../auth/auth.service';
import User from './user.model';
import config from '../../config/environment';
import jwt from 'jsonwebtoken';
import mongoose from 'mongoose';
import gridform from 'gridform';
import Grid from 'gridfs-stream... |
<?php
/**
* debug
*/
$start = -microtime(true);
$sql_count = 0;
/**
* check requirement
*/
if (version_compare(phpversion(), '5.3.0', '<') == true)
{
exit('PHP 5.3+ Required');
}
/**
* session
*/
session_start();
/**
* configuration
*/
require_once 'apps/main/config.php';
/**
* loader
*/
require_once 'app... |
class StoryFromTCO {
public:
int minimumChanges(vector <int> places, vector <int> cutoff) {
n = places.size();
For(i,1,n) A[i] = MP(cutoff[i - 1], places[i - 1]);
sort(A + 1, A + n + 1);
multiset<int> S;
int ans = 0;
For(i,1,n) if (A[i].FI < A[i].SE) {
++a... |
package response
import (
"encoding/xml"
)
type TransferOrders struct {
Result
}
func (response TransferOrders) UnmarshalXml(body []byte) (ResponseParser, error) {
err := xml.Unmarshal(body, &response)
if err != nil {
return nil, err
}
return response, nil
} |
package org.hibernate.envers.test.integration.superclass.auditparents;
import org.hibernate.envers.Audited;
import javax.persistence.Entity;
/**
* @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com)
*/
@Entity
@Audited
public class <API key> extends <API key> {
private String child;
public <API key... |
<title>Design Pattern HW5</title>
<br/>
<p><API key> ¬O¥Î¨Ó²£¥Í DocumentBuilder ªº Factory¡C¤£¦Pªº¦a¤è¬O¡A
°£¤Fª½±µ new ¨ä¤¤¤@Ó Implementation ¤§¥~¡AÁÙ¦³ newInstance ³oÓ static method
¡AÅý§ÚÌ¥H°Ñ¼Æ¿ï¾Ün¥ÎþÓ Factory¡F³o¸Ìªº newDocumentBuilder method ´N¬O©w¸q
¤¤ªº Factory Method¡C</p>
<p>DocumentBuilder ªº¨¤¦â¬O Bu... |
package com.munepom.mailapp.dataset;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import javax.activation.DataSource;
import lombok.Data;
/**
*
* MIME Content
* @author nishimura
*
*/
@SuppressWarnings("serial")
@Data
public class MimeContentData impleme... |
namespace TwitchBot.Debugger
{
static class DebugError
{
public static string NORMAL_NULL = "cannot be null",
NORMAL_UNKNOWN = "unknown error",
NORMAL_EXCEPTION = "compiler exception",
NORMAL_EXISTS_NO = "does not exi... |
<ion-view id="page_artisants">
<ion-nav-title>
{{ 'ARTISANS_TITLE' | translate }}
</ion-nav-title>
<div class="bar bar-subheader item-input-inset">
<label class="item-input-wrapper">
<i class="icon ion-ios-search placeholder-icon"></i>
<input id="searchbar" ng-model="search.name" type="search"... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_191) on Wed Jun 05 15:47:25 CEST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class se.litsec.eidas.opensaml.ext.attributes.impl.BirthNameTypeImpl (eIDAS extension for OpenSA... |
package com.sortedunderbelly.motomileage;
import java.util.Date;
public interface Trip extends Comparable<Trip> {
String getId();
Date getDate();
String getDesc();
int getDistance();
boolean hasId();
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.