answer stringlengths 15 1.25M |
|---|
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About NOBTCOIN</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... |
/**
* Allows you to register actions that when dispatched, send the action to the
* server via a socket.io socket.
* `criteria` may be a function (type, action) that returns true if you wish to send the
* action to the server, array of action types, or a string prefix.
* the third parameter is an options object with t... |
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
namespace Managed.D2DSharp.Ellipse.Properties {
[global::System.Runtime.CompilerServices.<API key>()]
[global::System.Co... |
<script>window.Testee = { provider: { type: 'rest' } };</script>
<script src="../node_modules/steal/steal.js"
data-main="test/test"></script> |
var fs = require('fs');
Class(Cobalt.Logger, 'File')({
prototype : {
file : null,
formatterOpts : {},
init : function (config) {
if (config) {
for (property in config) {
this[property] = config[property];
}
}
this._stream = fs.createWriteStream(this.file, {flags... |
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript name: <code><API key></code>
*/
@js.annotation.ScalaJSDefined
class <API key> extends com.highcharts.<API key> {
/**
* <p>The normal state of a single point ... |
import { TaxLine } from "./tax_line";
import { ShopifyObject } from "./base";
import { LineItemProperty } from "./line_item_property";
export interface LineItem extends ShopifyObject {
<summary>
The amount available to fulfill. This is the quantity - max(refunded_quantity, fulfilled_quantity) - <API key>.
<... |
using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Portal.CMS.Web.Areas.Admin.ViewModels.ThemeManager
{
public class UpsertViewModel
{
public int ThemeId { get; set; }
[Required]
[Displ... |
using System;
using System.Text.RegularExpressions;
namespace _2.<API key>
{
class Program
{
static void Main(string[] args)
{
var word = Console.ReadLine();
var text = Console.ReadLine();
var regex = new Regex($"\\W{word}\\W");
var sentences = tex... |
define(["myApp/hello"], function(){
return function(){
return "Hello World !";
}
}) |
<div data-ng-init="deviceEditCtrl.init()">
<div class="row">
<div class="col-lg-12">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title" translate="global.EDIT"></h3>
</div>
<form class="form-ho... |
(function (angular) {
'use strict';
angular.module('DepartmentModule')
.controller('<API key>', ['$scope', 'toastr', 'Departments', '$state',
function ($scope, toastr, Departments, $state) {
$scope.me = window.SAILS_LOCALS.me;
if (!$scope.me.admin && !$scope.m... |
#define <API key> \
X(vkDestroyDevice) \
X(vkDeviceWaitIdle) \
X(vkGetDeviceQueue) \
X(vkCreateCommandPool) \
X(vkResetCommandPool) \
X(<API key>) \
X(<API key>) \
X(<API key>) \
X(<API key>) \
X(<API key>) \
X(vkEndCommandBuffer) \
X(vkQueueSubmit) \
X(<API key>) \
... |
#!/Tsan/bin/python
# -*- coding: utf-8 -*-
# Libraries To Use
from __future__ import division
from CloudQuant import MiniSimulator
import numpy as np
import pandas as pd
import pdb
import cvxopt as cv
from cvxopt import solvers
from datetime import datetime, date, time
import barraRiskModel as brm
import <API key> as f... |
published: true
layout: post
title: UnsafeSparkShuffleWriter
category: spark
tags:
- java
- spark
time: 2016.11.03 22:40:00
excerpt: SparkUnsafeShuffleWriterShuffleWriterbytesJVM
Spark1.4.1Lifetime Based Memory Manager for Distributed Data Processing Systems (PVLDB 2016)
## 1. Unsafe
Javasun.misc.UnsafeUnsafe+Unsaf... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.renderThumbStyle = renderThumbStyle;
var BAR_MAP = exports.BAR_MAP = {
vertical: {
offset: 'offsetHeight',
scroll: 'scrollTop',
scrollSize: 'scrollHeight',
size: 'height',
key: 'vertical',
axis: 'Y',
cli... |
package org.slieb.formatter;
public enum Theme {
EMPTY("empty"),
GRAY("gray");
private final String name;
Theme(String name) {
this.name = name;
}
public String getName() {
return name;
}
} |
<div>
<div class="phone-images">
<img ng-src="{{i}}"
class="phone"
ng-repeat="i in book.img"
ng-class="{active:mainImageUrl==i}">
</div>
<!-- <img ng-src="{{mainImageUrl}}" alt="" > -->
<h2>{{book.title}}</h2>
<p>{{book.summary}}</p>
<ul class="detail-ul">
<li ng-repea... |
package youtube
import (
"errors"
"os"
"os/exec"
"path/filepath"
"strings"
)
const (
// Specify the language subtitles are downloaded in
// `youtube-dl --list` will produce the list of languages a video has
// available subtitles for
subLang string = "en"
)
type Settings struct {
... |
#include <math.h>
#include <errno.h>
#include <unistd.h>
#include "ruby.h"
#include "rubyspec.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef <API key>
static VALUE <API key>() {
return rb_thread_alone() ? Qtrue : Qfalse;
}
#endif
#pragma GCC diagnostic warning "-<API key>"
#ifdef <API key>
/* This is unblocked by u... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_152-release) on Mon Dec 04 16:07:54 MST 2017 -->
<title>UpdateHabit</title>
<meta name="date" content="2017-12-04">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/j... |
namespace Trains.Interfaces
{
<summary>
Parser interface
</summary>
<typeparam name="TSource"></typeparam>
<typeparam name="TTarget"></typeparam>
public interface IGraphParser<in TSource,out TTarget>
{
<summary>
Parse
</summary>
<param name="input"></param>
... |
using System.Windows;
using Noterium.ViewModels;
namespace Noterium.Components.NoteMenu
{
<summary>
Interaction logic for NoteMenu.xaml
</summary>
public partial class NoteMenu
{
public NoteMenu()
{
InitializeComponent();
}
public NoteMenuViewModel Model =... |
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript name: <code><API key></code>
*/
@js.annotation.ScalaJSDefined
class <API key> extends com.highcharts.<API key> {
/**
* <p>The position of the button.</p>
... |
<?php
namespace testtask\entitieslist\behaviors;
use testtask\entitieslist\components\EavModel;
use testtask\entitieslist\models\EavAttribute;
use yii\base\Behavior;
use yii\db\ActiveRecord;
/**
* Class EavBehavior
*
* @mixin ActiveRecord
* @property EavModel $EavModel;
* @property ActiveRecord $owner
*/
class Ea... |
package com.gps.capstone.traceroute;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import com.gps.capstone.traceroute.GLFiles.OpenGLActivity;
import com.gps.capstone.traceroute.debu... |
(function(){
'use strict';
angular.module('subcategorias').service('SubCategoriaService', SubCategoriaService);
function SubCategoriaService($http) {
var urlBase = 'api/subcategorias/';
this.find = function(cat) {
return $http.get(urlBase+cat._id);
};
this.findOne = function(idSubC... |
const test = require('ava');
const { createUser, destroy, setup } = require('../../../../test/helpers/setup');
test.before(async t => {
t.context.server = await setup({ usePlugins: false });
t.context.userObj = await createUser(t.context.server, { role: 'admin' });
t.context.auth = {
strategy: 'sess... |
import { getAssetPath } from '@stencil/core';
import { Icon } from './icon';
let CACHED_MAP: Map<string, string>;
export const getIconMap = (): Map<string, string> => {
if (typeof window === 'undefined') {
return new Map();
} else {
if (!CACHED_MAP) {
const win = window as any;
win.Ionicons = wi... |
import { Component, Input } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { NewsService } from './news/news.service';
import { News } from './news/news';
import { GlobalService } from './shared/global.service';
@Component({
selector: 'kcg-app',
templa... |
// <API key>.h
// DevelopmentApp
#import <Foundation/Foundation.h>
#import <CompositeOperations/COSequence.h>
@interface <API key> : NSObject <COSequence>
- (id)initWithGithubUser:(NSString *)user;
- (id)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end |
# AAHC
# Another Android HTTP Client
## FEATURES
* Simple
* It uses HttpURLConnection (cfg [Marshmallow behavior changes](https://developer.android.com/preview/behavior-changes.html#<API key>) )
* Handle BIG Files very well
* Progress handler
* Use a Pool (default 4 threads) to optimize/parallelize network requests
* N... |
<?php
namespace App\Notification;
use App\Entity\Contact;
use Exception;
use Symfony\Component\Mailer\MailerInterface;
use Symfony\Component\Mime\Email;
use Symfony\Bridge\Twig\Mime\TemplatedEmail;
class ContactNotification {
private $mailer;
private $templatedEmail;
public function __construct(MailerInterf... |
export default {
key: 'E',
suffix: '9b5',
positions: [
{
frets: '1221',
fingers: '1221',
barres: [1, 2],
capo: true
},
{
frets: '3645',
fingers: '1423'
},
{
frets: '7869',
fingers: '2314'
},
{
frets: 'baab',
fingers: '2113',
... |
package com.sblog.repositories;
import java.util.List;
import com.sblog.beans.Tag;
public interface ITagRepository {
boolean existsById(String id);
boolean exists(String name);
boolean create(Tag tag);
boolean delete(String id);
List<Tag> getAllTag();
Tag getByName(String name);
List<Tag> ge... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XKB_KEY_KP_End` constant in crate `wayland_kbd`.">
<meta n... |
package org.xcolab.view.pages.proposals.impact;
import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xcolab.client.contest.<API key>;
import org.xcolab.client.contest.pojo.wrapper.ContestWrapper;
import org.xcolab.cl... |
package ExV4;
import java.util.Scanner;
public class ExV4 {
public static void main(String[] args) {
// TODO Auto-generated method stub
@SuppressWarnings("resource")
Scanner s = new Scanner(System.in);
double m;
double r;
double r2;
double r3;
System.o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
<summary>
TODO:
Make new Model for the Categories!
</summary>
namespace Skoodle.Models
{
public class Topic
{
public int ID { get; set; }
public string Name { get; set; }
public virtual Cathegory Categor... |
<?php
/**
* ALIPAY API: koubei.marketing.campaign.activity.offline request
*
* @author auto create
* @since 1.0, 2017-08-07 18:10:20
*/
class <API key>
{
private $bizContent;
private $apiParas = array();
private $terminalType;
private $terminalInfo;
private $prodCode;
private $apiVersion="1... |
<?php
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'mod_neurok';
$plugin->ve... |
module Diamond (diamond) where
diamond :: Char -> Maybe [String]
diamond = error "You need to implement this function" |
{% extends '../layouts/template.html' %}
{% block title %}Check your State Pension - {{mvpversion}}{% endblock %}
{% block serviceName %}Check your State Pension{% endblock %}
{% block main %}
<a href="javascript:window.history.back();" class="example-back-link">Back</a>
<div class="grid-row">
<div class="column-tw... |
/**
* \file reseau.h
* \brief Fichier de gestion reseau pour l'envoi et reception de scores en ligne.
* \author Demingeon Cyril
*/
#include <windows.h>
#include <curl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
char* url="http://ogizanagi.fr/dk/dk.php"; // new url
size_t writer( char* ptr, size_t ... |
package ch.qos.logback.core.sift;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({AppenderTrackerTest.class})
public class PackageTest {
} |
#pragma warning disable 1591
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
[assembly: global::Android.Runtime.<API key>("MonkeySays.Droid.Resource", IsApplication=true)]
name... |
# REST
Some soft guidelines for designing a REST architecture:
1Do not use "physical" URLs
A physical URL points at something physical -- e.g., an XML file: "http:
A logical URL does not imply a physical file: "http:
- Sure, even with the .xml extension, the content could be dynamically generated.
But it should be "hum... |
# <API key>: true
FactoryGirl.define do
trait :has_random_dates do
created_at { Faker::Time.between(from: 4.years.ago, to: Time.current) }
updated_at { rand(3).zero? ? created_at : Faker::Time.between(from: created_at, to: Time.current) }
end
end |
import os
import re
import sys
import logging
import json
from glob import iglob
from collections import defaultdict
import numpy as np
from settings import CACHE_DIR, REF_DIR
from utils import set_up_logging
from utils import mkdir_p
log = set_up_logging('describe', loglevel=logging.DEBUG)
def describe_dos(options):
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require_once __DIR__ . '/../third_party/wxpay/WxPay.Api.php';
require_once __DIR__ . '/../helpers/cloud.php';
use \LeanCloud\Engine\LeanEngine;
use \LeanCloud\Engine\Cloud;
use \LeanCloud\Client;
use \LeanCloud\Storage\CookieStorage;
/*
* Define clo... |
import _ from 'lodash'
import React, { Component } from 'react'
import YTSearch from 'youtube-api-search'
import SearchBar from './search_bar'
import VideoList from './preview_list'
import VideoDetail from './video_detail'
const API_KEY = '<Google Api>'
class App extends Component {
constructor(props) {
super(pro... |
# this one is like your scripts with argv
def print_two(*args):
arg1,arg2 = args
print "arg1: %r, arg2: %r" % (arg1, arg2)
# ok, that *args is actually pointless, we can just do this
def print_two_again(arg1, arg2):
print "arg1: %r, arg2: %r" % (arg1, arg2)
# this just takes one arguments
def print_one(arg1):
... |
using System.Collections.Concurrent;
using VocaDb.Model.Domain;
namespace VocaDb.Model.Service {
public class <API key> : <API key> {
private readonly <API key><GlobalEntryId, string> cachedNames = new <API key><GlobalEntryId, string>();
public string GetUrlFriendlyName(IEntryWithNames entry) {
... |
'''@file main.py
this function is used to run distributed training on a local cluster'''
import os
import atexit
import subprocess
import tensorflow as tf
def local_cluster(expdir, class_type):
'''main function'''
#read the cluster file
clusterfile = os.path.join(expdir, 'cluster', 'cluster')
machines =... |
from __future__ import print_function
import argparse
import os
import stat
import sys
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
sys.path.insert(0, os.path.joi... |
#define linit_c
#define LUA_LIB
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
static const luaL_Reg lualibs[] = {
{ "", luaopen_base },
{ LUA_LOADLIBNAME, luaopen_package },
{ LUA_TABLIBNAME, luaopen_table },
{ LUA_IOLIBNAME, luaopen_io },
{ LUA_OSLIBNAME, ... |
<html>
<head>
<title>Angular QuickStart</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<!-- 1. Load libraries -->
<!-- Polyfill for older browsers -->
<script src=... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string 'api_key', limit:36, null:false
t.string 'full_name'
t.string 'email'
t.timestamps null:false
end
add_index :users, :api_key, unique:true
end
end |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Word = NetOffice.WordApi;
using NetOffice.WordApi.Enums;
using NetOffice.WordApi;
using System.Windows.Media.Imaging;
namespace Gherkin.Util
{
public class LaTex2PNG : IDisposable
{
... |
import React from 'react'
import { Input } from 'reactstrap'
import TextareaAutosize from '<API key>'
import RichTextEditor from 'components/RichTextEditor'
import ColorInput from 'components/ColorInput'
import DateInput from 'components/DateInput'
import UrlInput from 'components/UrlInput'
import preventEnterSubmit fr... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<title>Abot Web Widget</title>
</head>
<body style="background: #555;">
<script src="widget.js"></script>
<script>
AbotChat.init({
server: 'http://localhost:4200'
... |
#!/bin/bash
fastafile="/home/akimitsu/database/gencode.v19.<API key>.fa"
filename=`basename ${fastafile} .fa`
fasta-get-markov -m 3 ${filename}.fa ${filename}<API key>.txt |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using Fungus;
namespace Fungus
{
public abstract class TweenUI : Command
{
[Tooltip("List of objects to be affected by the tween")]
public List<GameObject> targetObjects = new List<GameObject>();... |
# Bosh
## Status
The following features are currently implemented
Session
Initializes a BOSH session with an XMPP server
and returns the session identifier and request identifier.
Session identifier and request identifier are typically used to
attach another client side session with the XMPP server
Ex: http://strophe.i... |
-- Helpers, mainly for plugins.
rpc.command("broadcast", function(chan, msg) -- Just basic broadcast.
event.fire("chan:"..chan, "server", "*", msg)
end)
rpc.command("send", function(chan, name, msg) -- Similar to broadcast, except targeting a user.
event.fire("chan:"..chan, "server", name, msg)
end) |
require 'test_helper'
class PlacesEngineTest < ActiveSupport::TestCase
test "truth" do
assert_kind_of Module, PlacesEngine
end
end |
# Middleman-Syntax
`middleman-syntax` is an extension for the [Middleman] static site generator that adds syntax highlighting via [Rouge](https://github.com/jayferd/rouge).
[][gem]
[][travis... |
*{
margin: 0;
padding: 0;
font-family: "Arial","Microsoft YaHei","","",sans-serif;
}
body{
min-width: 1350px;
}
ul{
list-style: none;
}
body,div{
margin:0;
padding:0;
}
.clear{
clear: both;
}
.blue{
color:rgb(87,87,123);
}
.right{
float: right;
}
.left{
float: left;
}
.view-c... |
import React, { Component } from 'react'
import SearchBar from '../containers/search_bar'
import WeatherList from '../containers/weather_list'
export default class App extends Component {
render () {
return (
<div>
<div><SearchBar/></div>
<div><WeatherList/></div>
</div>
)
}
} |
package com.app.android.tensel.utility;
import android.content.Context;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
public class PrefManager {
SharedPreferences pref;
SharedPreferences.Editor editor;
Context _context;
// shared pref mode
int PRIVATE_MODE = 0;... |
<?php
namespace Tests;
use GrahamCampbell\TestBench\<API key>;
use Mockery;
use Orbas\Stage\ServiceProvider;
class StageTestCase extends <API key>
{
protected function <API key>($app)
{
return ServiceProvider::class;
}
protected function getEnvironmentSetUp($app)
{
parent::getEnviron... |
exports.checkAuth = function(req, res, next) {
if (!req.isAuthenticated()) {
res.send('You are not authorized to view this page, please <a href="/signin">sign in</a>.');
} else {
next();
}
}
exports.createHash = function(bcrypt, username, password, db, done){
bcrypt.hash(password, bcrypt.genSaltSync(10)... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_73) on Thu Mar 24 14:34:21 PDT 2016 -->
<title>Translator (continuum-core 0.1.2 API)</title>
<meta name="date" content="2016-03-24">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<scrip... |
package blue.lapis.pore.launch;
import blue.lapis.pore.util.classloader.PoreClassLoader;
import com.google.inject.Inject;
import com.google.inject.Injector;
import org.apache.commons.lang3.StringUtils;
import org.spongepowered.api.event.Subscribe;
import org.spongepowered.api.event.state.<API key>;
import org.spongepow... |
package net.etowns.vine.jUtils;
import java.io.File;
import java.io.IOException;
import java.util.Iterator;
import java.util.Properties;
import java.util.Set;
import java.util.Map.Entry;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.Enumeration;
public class jarUtil {
Properties sysP... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import logging
import sys
from lfmconf.lfmconf import get_lastfm_conf
from lfmdb import lfmdb
from stats.stats import process_track, <API key>, \
<API key>
from queries.inserts import <API key>
logging.basicConfig(
level=logging.INFO,
format=f'%(asc... |
<?php
namespace PhpSpec\Matcher;
use PhpSpec\Formatter\Presenter\PresenterInterface;
use PhpSpec\Exception\Example\FailureException;
/**
* Class ArrayContainMatcher
* @package PhpSpec\Matcher
*/
class ArrayContainMatcher extends BasicMatcher
{
/**
* @var \PhpSpec\Formatter\Presenter\PresenterInterface
... |
layout: post
title: androidTab
category: android
keywords: actionBar,android,Horizontalpaging

github
[bottom tab](https://github.com/MurphyNeo/Android) |
import { <API key>,
removePlanner } from '../<API key>/crud-controller/planner/methods';
import { <API key> } from '../<API key>/crud-controller/semester/methods';
import { <API key> } from '../<API key>/crud-controller/module/methods';
export const <API key> = function <API key>() {
const userIDs = '9f91pej... |
MIT License
Copyright (c) 2017 sunny-lan-coder
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... |
require_relative "spec_helper"
module Vend
describe Resource do
describe "#has_many" do
it "returns the same instance of ResourceCollection" do
class Widget < RemoteResource
attribute :name, String
end
resource = Class.new(RemoteResource) do
attribute :id, Integer... |
# -*- coding: utf-8 -*-
# <nbformat>3.0</nbformat>
# <markdowncell>
# # netCDF File Visualization Case Study
# - netCDF
# - WMO GRIB metadata
# - Map projections
# - xray data analysis library
# - cartopy visualization library
# <markdowncell>
# # Crack Open the File
# <codecell>
import xray
ds = xray.open_dataset('htt... |
'use strict';
angular.module('app', []).
controller('ctrl', function($scope) {
$scope.rowList = [{
col1: {value: 'r1c1'},
col2: {value: 'r1c2'}
}, {
col1: {value: 'r2c1'},
col2: {value: 'r2c2'}
}, {
col1: {value: 'r3c1'},
col2: {value: 'r3c2'}
}];
}); |
'use strict';
/* Controllers */
angular.module('myApp.controllers', [])
.controller('ChartController', ['$scope', 'SampleDataService', function ($scope, SampleDataService) {
if ($scope.chartData == undefined) {
$scope.chartData = [
{
"year": "2001",
... |
/* Thing > Intangible > StructuredValue > <API key> - A structured value providing information about the opening hours of a place or a certain service inside a place.. Generated automatically by the reactGenerator. */ var <API key>= React.createClass({displayName: "<API key>",
getDefaultProps: function(){
re... |
// OnkyoKit.h
// OnkyoKit
#import "ONKCharacteristic.h"
#import "<API key>.h"
#import "ONKReceiver.h"
#import "ONKReceiverBrowser.h"
#import "ONKReceiverSession.h"
#import "ONKService.h"
#import "EISCPPacket.h"
#import "ISCPMessage.h" |
#ifndef <API key>
#define <API key>
namespace RemotePC
{
class ScreenshotSpreader
: public mc::CommonImpl< IClientHandler >
{
public:
// IClientHandler section
virtual void Handle(const Client& client, mc::IProtocolRef protocol, IServerControlRef server);
};
}
#endif // !<API key... |
#!/usr/bin/env python
# encoding: utf-8
class Solution(object):
def myAtoi(self, str):
"""
:type str: str
:rtype: int
"""
if len(str) < 1:
return 0
str = str.strip()
str_valid = ''
for i in range(len(str)):
if str[i] not in '012... |
# gpsproject
An android app for tracking location, and calculating distance and fare of a taxi. |
package com.shopstyle.api;
import com.shopstyle.bo.Retailer;
public class <API key>
{
private Retailer[] retailers;
public Retailer[] getRetailers()
{
return retailers;
}
public void setRetailers(Retailer[] retailers)
{
this.retailers = retailers;
}
} |
layout: post
microblog: true
category: photo
date: '2012-11-08T13:42:47'
title: ""
slug: '12110812134247'
location: ''
mf-photo:
- https://cdn.ericalba.com/blog-images/_ig-photos/photos/201211/<API key>.jpg
Reading Star Trek: TNG 365 book, surprised by pgs 250/251. Thanks Paula/Terry for nice words/pic.
<img src="htt... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Distributed.Parsing
{
public interface IMember
{
<summary>
A collection of attributes targeting the member.
</summary>
IEnumerable<IAttribute> Attributes ... |
.logo {
position:absolute;
top:1%;
z-index:9999999;
left:1%;
}
.logo img{
height:200px;
width:300px;
}
.businfos{
position:absolute;
top:300px;
z-index:9999999;
right:2%;
}
.notif{
position:absolute;
top:1%;
width:273px;
height:121px;
z-index:9999999;
righ... |
package gov.nist.sip.proxy.gui;
import java.io.*;
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import gov.nist.sip.proxy.*;
import gov.nist.sip.proxy.Proxy;
import tools.tracesviewer.*;
import gov.nist.sip.proxy.registrar.*;
public class ListenerProxy {
pr... |
function rcube_text_editor(k,m){var h=this,p=location.href.replace(/[?#].*$/,"").replace(/\/$/,""),l={selector:"#"+($("#"+m).is(".mce_editor")?m:"fake-editor-id"),cache_suffix:"s=4010900",theme:"modern",language:k.lang,content_css:rcmail.assets_path("program/js/tinymce/roundcube/content.css"),menubar:!1,statusbar:!1,to... |
Imports System.IO
Imports Grasshopper.Kernel.Parameters
Public Class FileWatcher
Inherits OwlComponentBase
Sub New()
MyBase.New("File Watch", "Watcher", "Watch file for changes", "Owl", "Scripting")
Me.Message = DateTime.Now.ToLongTimeString
End Sub
Protected Overrides ReadOnly Property ... |
/*global angular, CustomJsSlider, Integers, CheckRange*/
angular.module('modules.directives', [])
.directive('customJsSlider', CustomJsSlider)
.directive('integers', Integers)
.directive('checkRange', CheckRange); |
<?php
namespace webignition\Tests\Model\Stripe;
use webignition\Model\Stripe\Coupon;
use webignition\Model\Stripe\Discount;
use webignition\Model\Stripe\Period;
class DiscountTest extends AbstractBaseTest
{
public function <API key>()
{
$discount = new Discount($this->loadFixture('/Discount/discount.jso... |
ractive-rails
==========
Server side
In your `Gemfile`:
ruby
gem 'ractive-rails', github: 'kivikakk/ractive-rails'
You can choose from the following Ractive versions:
* `ractive` -- no support for older browsers; lets you generate Ractive templates in the browser
* `ractive.runtime` -- no support for older browsers; ... |
# -*- coding: utf-8 -*-
from datetime import datetime
__author__ = u"Tomas Holub"
__email__ = u"tomas.holub@olc.cz"
class Message(object):
u"""Basic class for Messages that goes into the Queue"""
MESSAGE_TYPE = u"basic"
STATUS_NEW = u"new"
STATUS_QUEUED = u"queued"
STATUS_DEQUEUED = u"dequeued"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.