answer stringlengths 15 1.25M |
|---|
var icons = [
'moneybag',
'save',
'establishment',
'completion',
'share',
'no_money',
'euro',
'palette',
'puzzle',
'backward',
'partial',
'minimize',
'tick',
'tick_thin',
'tick_bold',
'compass',
'minus',
'supplies',
'alarm',
'analytics',
... |
import Ember from 'ember';
import moment from 'moment';
import dateFormat from '../utils/date-format';
export default Ember.Controller.extend({
loadingMeta: false,
notify: Ember.inject.service(),
aggController: Ember.inject.controller('discover.aggregate'),
queryParams: ['center', 'obs_date__le', 'obs_date__ge'... |
# elm-http-builder
Pipeable functions for building HTTP requests
elm
import Http
import HttpBuilder
import Json.Decode as Decode
import Json.Encode as Encode
import Url.Builder as UrlBuilder
type Status a = Loading | Loaded a | Failure
type alias Model = { items : Status (List String) }
itemsDecoder : Decode.Decoder (L... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>propcalc: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>groups: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
{{ Form::label('name', 'Name') }}
{{ Form::text('name', old('name'), ['class' => 'form-control']) }}
@if ($errors->has('name'))
<span class="help-block">{{ $errors->first('name') }}</span>
@endif
</div... |
layout: base
{% include header.html type="post" %}
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<article role="main" class="blog-post">
{{ content }}
</article>
{% if page.tags.size > 0 %}
<div class="blog-tags">
... |
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM golang:1.13-alpine
ENV CGO_ENABLED=0
MAINTAINER alexellis2@gmail.com
ENTRYPOINT []
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/golang
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
RUN go install
COPY --from=watchdog /fwatchdog /usr/b... |
// AppDelegate.h
// TableViewDemo
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <<API key>>
@property (strong, nonatomic) UIWindow *window;
@end |
#ifndef <API key>
#define <API key>
#include "parser.h"
#include "parser_decaf.hpp"
#include "ast.h"
class BParser : public Parser {
public:
BParser( FILE* file, bool debug_lexer, bool debug_parser )
: Parser(file, debug_lexer, debug_parser)
{
extern FILE* yyin;
yyin = file_;
}
... |
.filter-form{
padding: 20px;
background-color: purple;
} |
<?php
declare(strict_types = 1);
namespace Apha\Testing;
interface <API key>
{
/**
* @return array
*/
public function getEvents(): array;
/**
* @return void
*/
public function clearTraceLog();
} |
#ifdef BOARD_BUTTON_PIN
volatile bool g_buttonPressed = false;
volatile uint32_t g_buttonPressTime = -1;
void button_action(void)
{
BlynkState::set(MODE_RESET_CONFIG);
}
ICACHE_RAM_ATTR
void button_change(void)
{
#if <API key>
bool buttonState = !digitalRead(BOARD_BUTTON_PIN);
#else
bool buttonState = digital... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mod-red: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
// Annotations
//@Export('bugyarn.Yarn')
//@Require('ArgumentBug')
//@Require('Bug')
//@Require('Class')
//@Require('Obj')
//@Require('ObjectUtil')
//@Require('Set')
//@Require('TypeUtil')
// Context
require('bugpack').context("*", function(bugpack) {
// BugPack
var ArgumentBug = bugpack.require('ArgumentBu... |
//Determines if the mouse was pressed on the previous frame
var cl_mouseWasPressed = false;
//Last hovered button
var cl_lastHovered = null;
//Last pressed button
var cl_lastClicked = null;
//All created buttons
var cl_clickables = [];
//This function is what makes the magic happen and should be ran after
//each draw c... |
body {
padding: 4em;
margin: 0;
font-family: "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;
}
h1,... |
require 'pathname'
require 'sqlite3'
require 'active_record'
require 'logger'
require 'sinatra'
APP_ROOT = Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), '..')))
APP_NAME = APP_ROOT.basename.to_s
DB_PATH = APP_ROOT.join('db', APP_NAME + ".db").to_s
if ENV['DEBUG']
ActiveRecord::Base.logger = Logger.... |
This is a regular paragraph.
<table>
<th>
<td>Foo</td>
<td>Foo</td>
</th>
<tr>
<td>Foo</td>
<td>Foo</td>
</tr>
<tr>
<td>Foo</td>
<td>Foo</td>
</tr>
</table>
This is another regular paragraph.
#test2
1. Red
2. Green
3. Blue
#test4
* Lorem ipsum dolor ... |
"use strict";
let express = require('express');
let app = express();
let bodyParser = require('body-parser');
var randomPoem = require('./tools/poemBuilder1.js')
app.set('view engine', 'ejs');
app.set('views', __dirname + '/views');
app.use(express.static("client"))
app.use(bodyParser.json());
app.get("/poem", function... |
<?php
require("./includes/daySeasson.php");
@$page=$_GET['page'];
switch($page){
case "aktivnosti":
include "view.php";
$view=str_replace("<!-- SAT -->", insertClock() ,$view);
$view=setActivity($view,$daySesson);
$view=setTitle("Aktivnosti u toku izbora",$vie... |
require 'spec_helper'
describe Blimp::Handler do
it 'should find handlers by name' do
Blimp::Handler.find_by_name("static").should be(Blimp::Handlers::StaticHandler)
Blimp::Handler.find_by_name("page").should be(Blimp::Handlers::PageHandler)
end
it 'should raise on unknown handlers' do
expect {
... |
from cse.util import Util
from collections import OrderedDict
from cse.pipeline import Handler
class WpApiParser(Handler):
def __init__(self):
super()
def parse(self, comments, url, assetId, parentId):
data = self.__buildDataSkeleton(url, assetId)
data["comments"] = self.__iterateComment... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ccs: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... |
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-<API key>: 100%;
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/**
* Correct `block` displa... |
using System;
using System.Diagnostics;
using BCurve=NS_GMath.I_BCurveD;
namespace NS_GMath
{
public class Param
{
/*
* CONSTS & ENUMS
*/
public const double Infinity=2.0e20;
public const double Degen=1.0e20;
public const double Invalid=1.5e20;
pu... |
<html>
<head>
<title>User agent detail - RssBandit/1.9.0.1002</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div class="container">... |
<?php
class <API key> extends Football_Pool_Admin {
public function __construct() {}
private static function back_to_top() {
echo '<p class="options-page back-to-top"><a href="#">back to top</a></p>';
}
public static function help() {
$help_tabs = array(
array(
... |
require 'rails_helper'
describe Api::SessionsController do
describe "#create" do
let(:user) { create(:user, password: 'password') }
it 'returns a JSON Web Token' do
post :create, params: { username: user.username, password: 'password' }
json = JSON.parse(response.body)
expect(json['<API key>... |
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8"/>
<title>
Helix Swarm 2015.1 Released</title></head><body>From:<a href=http:
<p>It’s rewarding to think that just two years ago, our collaboration engine was only just getting into the hands of our customers. Fast-forward to toda... |
/* Game namespace */
var game = {
// an object where to store game information
data : {
// score
score : 0
},
// Run on page load.
"onload" : function () {
// Initialize the video.
if (!me.video.init("screen", me.video.CANVAS, 1067, 600, true, '1.0')) {
alert("Your b... |
package ar.wildstyle;
import java.lang.reflect.Field;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import ar.wildstyle.test.BaseTest;
import ar.wildstyle.test.ExamplePojo;
import ar.wildstyle.valuegenerator.<API key>;
import ar.wildstyle.valuegenerator.<API key>;
import ar.wildstyle.valuegen... |
require 'uottawa_odesi_utils'
RSpec.configure do |config|
# Use color in STDOUT
config.color = true
# Use color not only in STDOUT but also in pagers and files
config.tty = true
# Use the specified formatter
config.formatter = :documentation # :progress, :html, :textmate
end |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Bootstrap -->
<link rel="sty... |
<!doctype html>
<!-- paulirish.com/2008/<API key>/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.c... |
package shop.main.controller.admin;
import static shop.main.controller.admin.AdminController.ADMIN_PREFIX;
import static shop.main.controller.admin.AdminController.MANAGER_PREFIX;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
impor... |
/**
* @class EZ3.Box
* @constructor
* @param {EZ3.Vector3} [min]
* @param {EZ3.Vector3} [max]
*/
EZ3.Box = function(min, max) {
/**
* @property {EZ3.Vector3} min
* @default new EZ3.Vector3(Infinity)
*/
this.min = (min !== undefined) ? min : new EZ3.Vector3(Infinity);
/**
* @property {EZ3.Vector3}... |
layout: article
title: Bible School program (2)
date: '2014-07-11T10:01:00.000-04:00'
author: bohanan.jp
tags:
- music
- neighborhood
- children
- mission
- video
modified_time: '2014-07-11T10:01:00.136-04:00'
blogger_id: tag:blogger.com,1999:<API key>.<API key>
blogger_orig_url: http://<API key>.blogspot.com/2014/07/<... |
package jkanvas.table;
import java.util.Objects;
import jkanvas.animation.GenericPaintList;
/**
* Maps rows of tables to shapes.
*
* @author Joschi <josua.krause@gmail.com>
* @param <T> The list of shapes.
*/
public abstract class ListMapper<T extends GenericPaintList<?>> {
/** The table. */
private final Data... |
require_relative "../test_helper"
require_relative "../support/apiai_responses"
require_relative "../../lib/ai/weather_responder"
include ApiaiResponses
describe AI::WebQueryResponder do
before do
@responder = AI::WebQueryResponder.new(<API key>)
end
describe "#call" do
it "returns the correct response" d... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Algorithm Enum Reference</title>
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" />
<meta charset='utf-8'>
<script src="../../js/jquery.min.js" defer></script>
... |
'use strict';
angular.module('drunkeeperApp')
.config(function ($routeProvider) {
$routeProvider
.when('/login', {
templateUrl: 'app/account/login/login.html',
controller: 'LoginCtrl'
})
.when('/signup', {
templateUrl: 'app/account/signup/signup.html',
controller:... |
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
min-width: 320px;
}
.content {
margin: 0 10px 0 10px;
}
.page-header{
margin-top: 4px;
margin-bottom: 10px;
}
.page-header h1{
margin: 0;
}
.footer {
position: absolute;
bottom: ... |
package com.azure.resourcemanager.compute;
import com.azure.core.http.HttpPipeline;
import com.azure.resourcemanager.compute.fluent.models.<API key>;
import com.azure.resourcemanager.compute.models.<API key>;
import com.azure.resourcemanager.compute.models.<API key>;
import com.azure.resourcemanager.compute.models.<API... |
<ul>
<li><a ui-sref-active="active" ui-sref="wheel">{{ 'WHEEL' | translate }}</a></li>
<li><a ui-sref-active="active" ui-sref="participants">{{ 'PARTICIPANTS' | translate }}</a></li>
<li><a ui-sref-active="active" ui-sref="winners">{{ 'WINNERS' | translate }}</a></li>
</ul> |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unicoq: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
class <API key> < ActiveRecord::Migration
def self.up
add_column :<API key>, :mode, :string, :default => "github"
end
def self.down
remove_column :<API key>, :mode
end
end |
// UIColor+RandomColor.h
// general-code
#import <UIKit/UIKit.h>
@interface UIColor (RandomColor)
+(UIColor*) randomColor;
+(UIColor*) <API key>:(CGFloat)alpha;
@end |
#include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) :
... |
#!/usr/bin/env python3
"""Test framework for syscoin utils.
Runs automatically during `make check`.
Can also be run manually."""
import argparse
import binascii
import configparser
import difflib
import json
import logging
import os
import pprint
import subprocess
import sys
def main():
config = configparser.Config... |
import { times, flatten } from "lodash"
import { APIOptions } from "./loaders/api"
// TODO: Type this and refactor, because I think things just kinda work by luck,
// because a static and a dynamic path loader take different number of
// arguments.
export const MAX_GRAPHQL_INT = 2147483647
export const allV... |
// Type definitions for ag-grid-community v20.2.0
import { Component } from "../widgets/component";
import { IFilterOptionDef, <API key>, IFilterComp, IFilterParams } from "../interfaces/iFilter";
import { GridOptionsWrapper } from "../gridOptionsWrapper";
import { <API key> } from "./floatingFilter";
import { INumberF... |
using IoT_Core.Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace IoT_Core.Services.Repositories
{
public class WateringRepository : BaseRepository, IWateringRepository
{... |
require('./check-versions')();
const config = require('../config');
if (!process.env.NODE_ENV) {
process.env.NODE_ENV = JSON.stringify(config.dev.env.NODE_ENV);
}
const opn = require('opn');
const path = require('path');
const express = require('express');
const webpack = require('webpack');
const proxyMiddleware =... |
<?php
namespace Gloubster\Receipt;
use Gloubster\Exception\RuntimeException;
class Factory
{
public static function fromArray(array $data)
{
if (!isset($data['type'])) {
throw new RuntimeException('Invalid receipt data : missing key `type`');
}
$classname = $data['type'];
... |
package input
import (
glfw "github.com/go-gl/glfw3"
"github.com/tedsta/fission/core"
"github.com/tedsta/fission/core/event"
)
type InputSystem struct {
eventManager *event.Manager
window *glfw.Window
}
func NewInputSystem(w *glfw.Window, e *event.Manager) *InputSystem {
i := &InputSystem{... |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.11.30 at 08:24:17 PM JST
package uk.org.siri.siri;
import java.util.ArrayList;
import ja... |
$(document).ready(function(){
//fancybox.js init
/*$('.fancybox').fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',
arrows : false,
helpers : {
media : {},
buttons : {}
}
});*/
/... |
#include "platform_file_utils.h"
FileData get_asset_data(const char* relative_path);
void release_asset_data(const FileData* file_data); |
layout: post
title: "Rocksbox Sale Shop Opens Today!"
description: ""
headline: "Rocksbox Sale Shop Opens Today!"
categories:
- Subscriptions
tags: [Rocksbox, Subscriptions, September 2016]
comments: true
mathjax: null
published: true
featured: false
type: photo
imagefeature: "<API key>.png"
date: 2016-09-15 15:3... |
namespace TeleConsult.Web.App_Start
{
using System.Web.Mvc;
public class <API key>
{
internal static void RegisterViewEngines(<API key> <API key>)
{
ViewEngines.Engines.Clear();
ViewEngines.Engines.Add(new RazorViewEngine());
}
}
} |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class <API key> extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('dish_prices', function (Blu... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>io-system-ocaml: 15 s </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... |
<?php // lint >= 7.4
function foo():?Foo
{
}
$callback = function():?Foo
{
};
$callback = fn ($a):?Foo => $a;
interface Foo
{
public function doFoo($param):?Foo;
}
class FooBar implements Foo
{
public function doFoo($param):?Foo
{
}
} |
#!/usr/bin/env node
/*
try {
require(./newrelic)
require('newrelic')
} catch (e) {
// Don't load New Relic if the configuration file does't exist.
}
*/
/*
require('babel/register')({
only: new RegExp(__dirname + '/lib' + '|' +
__dirname + '/node_modules/p2p-file-transfer')
})
*/
module.export... |
# Testing azure-identity in Azure Cloud Shell
# Open Azure Cloud Shell
https://shell.azure.com/
# Create an Azure Key Vault
## set environment variables to simplify copy-pasting
- RESOURCE_GROUP
- name of an Azure resource group
- must be unique in the Azure subscription
- e.g. '<API key>'
- KEY_VAULT_NAME
- 3-... |
"use strict";
var compression = require("../lib/core/middleware/compression");
describe("core.middleware.compression", function() {
var fakeThis;
beforeEach("create fake this", function() {
fakeThis = {
enabled: sinon.stub().withArgs("compress").returns(true),
app: {
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tipue Search Static Mode Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="http://fonts.googleapis.com/css?family=Roboto:100,300,400" rel="stylesheet">
<l... |
<html>
<head>
<title>Opularity | TF2</title> <!--Change the title Depending on your tutorial
<link href="Resources/css/bootstrap.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<... |
#include <z80e/debugger/commands.h>
#include <z80e/debugger/debugger.h>
#include <z80e/disassembler/disassemble.h>
#include <z80e/log/log.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
enum {
REGISTER,
MEMORY,
EXECUTION,
};
enum {
READ = (1 << 0),
... |
EmberChat::Application.routes.draw do
root :to => 'application#index'
end |
package misc
import (
"net/http"
"strconv"
"time"
)
//Writer http response writer interface.
type Writer interface {
http.ResponseWriter
http.Hijacker
}
//ElapsedTime add requset elapsed time to "Elapsed-Time" header of response.
//Elapsed time is time spent between middleware exetue and data wrote ... |
def clear_console
puts "\e[H\e[2J"
end
watch('lib/.*\.php') do |match|
clear_console
system 'phpunit'
end |
package Thread;
public class KarisikSayma {
public static void main(String[] args){
ThreadTest thrd = new ThreadTest("Thread");
Thread runnableThread = new Thread(new RunnableTest("Runnable"));
thrd.start();
runnableThread.start();
}
}
class RunnableTest implements Runnable{
... |
namespace Gibraltar.Messaging
{
<summary>
Wraps a Gibraltar Packet for publishing
</summary>
<remarks>For thread safety, request a lock on this object directly. This is necessary when accessing updateable properties.</remarks>
internal class PacketEnvelope
{
private readonly IMessengerP... |
<?php
namespace Icecave\Chrono\TimeSpan;
use DateInterval;
use Icecave\Chrono\Interval\IntervalInterface;
use Icecave\Chrono\TimePointInterface;
/**
* A common interface for non-anchored blocks of time (periods and durations).
*/
interface TimeSpanInterface
{
/**
* @return bool True if the time span is zero ... |
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2019_11_01
module Models
# Authentication certificates of an application gateway.
class ApplicationGateway<API key> <... |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>jquery-qspin example</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.2.1/foundation-flex.min.css" rel="stylesheet">
<style>
/* dirty... |
# pre_NAMD.py
# Creates the files used for NAMD based on the .pdb file dowloaded from PDB bank
# Usage:
# python pre_NAMD.py $PDBID
# $PDBID=the 4 characters identification code of the .pdb file
# Input:
# $PDBID.pdb: .pdb file downloaded from PDB bank
# Output:
# $PDBID_p.pdb: .pdb file with water molecules r... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<title>WebEngine</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body... |
<?php
declare(strict_types = 1);
namespace OctoLab\Common\Util;
/**
* @author Kamil Samigullin <kamil@samigullin.info>
*/
final class Ini
{
/** @var bool */
private $processSections;
/** @var int */
private $scannerMode;
/**
* @param bool $processSection
* @param int $scannerMode
*
... |
package com.humooooour.kit.screen;
import android.app.Activity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import com.humooooour.kit.HSApp;
import com.humooooour.kit.geom.HSRect;
import processing.core.PApplet;
import processing.core.PGraphics;
public class HSScreen {
private HSApp mApp;
pri... |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-12-03 13:16
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('busshaming', '<API key>'),
]
operations = [
mig... |
layout: post
title: "Lindows for those sticky situations"
date: 2016-03-24
categories: Development Environments
comments: true
<center> {% include image.html img="images/terminal.png" title="title for image" caption="Linux Terminal on Windows" %} </center>
<br />
A recent curiousity in emberjs drove me to spend some... |
<?php
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__));
// The application folder containing protected files
define('APP_FOLDER', ROOT . DS . 'app' . DS);
// The core classes and basic functions of the application
define('CORE_FOLDER', APP_FOLDER . 'core' . DS);
define('BASE_FOLDER', CORE_FOLDER . '... |
"""
Poisson time series penalised likelihood regression
via the Berman Turner device
"""
from . import <API key>
from . import design_nonlattice as design
from math import ceil
import numpy as np
from importlib import reload
design = reload(design)
class NonLatticeOneShot:
"""
the simplest device.
Uses a st... |
<?php
namespace porcelanosa\yii2options\models\query;
/**
* This is the ActiveQuery class for [[\app\modules\admin\models\ChildOptionMultiple]].
*
* @see \app\modules\admin\models\ChildOptionMultiple
*/
class <API key> extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere... |
"""useful context managers"""
from contextlib import suppress
with suppress(ModuleNotFoundError):
from lag import *
import os
import contextlib
def clog(*args, condition=True, log_func=print, **kwargs):
if condition:
return log_func(*args, **kwargs)
@contextlib.contextmanager
def cd(newdir, verbose=True... |
package ls;
import java.util.*;
import javax.swing.table.AbstractTableModel;
public class DirectoryTableModel extends AbstractTableModel {
private final List<DirOpt> dirs = new ArrayList<>();
public List<DirOpt> getDirs () {
return new ArrayList<>(dirs);
}
public void add (DirOpt dir) {
... |
.ttt-wrapper {
margin: auto;
width: 306px;
height: 306px;
}
.ttt-cell{
float: left;
width: 100px;
height: 100px;
border: 1px solid;
}
.ttt-wrapper .x{
background: #EE0000;
}
.ttt-wrapper .o{
background: #0000EE;
} |
<?php
declare(strict_types=1);
namespace DocuSign\eSign\Api\OrganizationsApi;
namespace DocuSign\eSign\Api;
use DocuSign\eSign\Client\ApiClient;
use DocuSign\eSign\Client\ApiException;
use DocuSign\eSign\Configuration;
use DocuSign\eSign\ObjectSerializer;
class OrganizationsApi
{
/**
* API Client
*
*... |
package com.teamunify.i18n.com.teamunify.i18n.webapp;
import com.teamunify.i18n.I;
import com.teamunify.i18n.webapp.<API key>;
import org.junit.Before;
import org.junit.Test;
import static junit.framework.Assert.*;
import static org.mockito.Mockito.*;
import javax.servlet.*;
import java.io.IOException;
import java.util... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... |
<div ng-controller="View2Ctrl as myCtrl">
<h2>{{ myCtrl.content }}</h2>
</div> |
.tabDIV{background: url(tabmenubg2.gif);height:38px; padding-top:13px; margin-bottom:3px; padding-left:5px;}
.tabtitle{float: left; text-indent:18px; font-size:14px; /*background:url(arrow7.gif) no-repeat left center;*/padding-right:8px;}
.tabselect{background: url(bgx5.gif) no-repeat center bottom;text-align: center;f... |
package main
import (
"fmt"
)
type myType int
func (t myType) println() {
fmt.Println(t)
}
func main() {
var z myType = 123
z.println()
} |
# 2048-vnc
A docker version of 2048 on VNC (600x800)
Based on [gabrielecirulli/2048](https://github.com/gabrielecirulli/2048)
# Usage
docker run -d --name 2048 -p 5901:5901 -it -e USER=firefox matyo91/2048-vnc
then connect vnc://eval $(docker-machine ip 2048):5901 with password azertyui |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.reframe = factory());
}(this, (function () { 'use strict';
function __spreadArrays() {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.