code stringlengths 4 1.01M |
|---|
---
layout: post
title: "Agile Iowa Social - November"
categories: events social
event:
facebook-id:
eventbrite-id: agile-iowa-social-november-2018-tickets-51480275891
date: 2018-11-08
time: 5:00 PM to 8:00 PM
presenter:
name:
title:
bio:
location:
name: The Walnut
address: 1417 Wal... |
google-site-verification: googleaebfc6317de44561.html |
import { createPlugin } from 'draft-extend';
// TODO(mime): can't we just use LINK? i forget why we're using ANCHOR separately..., something with images probably :-/
const ENTITY_TYPE = 'ANCHOR';
// TODO(mime): one day, maybe switch wholesale to draft-extend. for now, we have a weird hybrid
// of draft-extend/draft-c... |
'use strict';
var assert = require('../../helpers/assert');
var commandOptions = require('../../factories/command-options');
var stub = require('../../helpers/stub').stub;
var Promise = require('../../../lib/ext/promise');
var Task = require('../../../lib/models/task');
var TestComm... |
Reference of options that apply to runtime.
## Erase Empty Chunks
When ticked, hints that empty chunks should be erased when they become empty when erasing
tiles.
>
> **Note** - The value of this option is also respected when editing tile system at design
> time.
>
## Apply Basic Stripping
Indicates whether a b... |
public class Prime {
private Prime() { }
public static void printPrimes(int max) {
boolean[] flags = sieveOfEratosthenes(max);
System.out.println("== Primes up to " + max + " ==");
for (int i = 0; i < flags.length; i++) {
if (flags[i]) {
System.out.println("* " + i);
}
}
}
... |
import Vector from '../prototype'
import {componentOrder, allComponents} from './components'
export const withInvertedCurryingSupport = f => {
const curried = right => left => f(left, right)
return (first, second) => {
if (second === undefined) {
// check for function to allow usage by the pipeline func... |
module.exports = function() {
return {
server: {
src: ['<%= tmp %>/index.html'],
ignorePath: /\.\.\//
}
}
};
|
.mainCont{ width: 96%; border: 2px solid #666666; padding: 2%; background-color: #ffffff;
}
p{ vertical-align: middle;}
p img{ width: 30px; height:30px; border-radius: 30px;} |
require 'trajectory/exceptions/missing_attribute_error'
require 'trajectory/exceptions/velocity_equal_to_zero_error'
require 'trajectory/exceptions/velocity_always_equal_to_zero_error'
require 'trajectory/exceptions/bad_environment_error'
|
@echo Copying Ogre Resources, configuration = %1
set Suffix=%1
set Configuration=%2
set Source=..\..\..\ThirdParty\OGRE-SDK-1.9.0-vc140-x86-09.01.2016
set OgreSource=OgreResource%Configuration%.%Suffix%.txt
set Target=..\..\Output.%Suffix%\%Configuration%\bin
for /F %%I in (%OgreSource%) do (
copy %Source%\%%I %Ta... |
MIT License
Copyright (c) 2017 Joe Davison
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, distr... |
import babylon from '../../babel-parser'
import Documentation from '../../Documentation'
import resolveExportedComponent from '../../utils/resolveExportedComponent'
import classDisplayNameHandler from '../classDisplayNameHandler'
jest.mock('../../Documentation')
function parse(src: string) {
const ast = babylon().pa... |
'use strict';
angular.module('mpApp')
.factory(
'preloader',
function($q, $rootScope) {
// I manage the preloading of image objects. Accepts an array of image URLs.
function Preloader(imageLocations) {
// I am the image SRC values to preload.
this.imageLocations = imageLocations... |
module SapphireBot
module Events
# Notifies user that bot is ready to use.
module ReadyMessage
extend Discordrb::EventContainer
ready do
BOT.game = nil
LOGGER.info 'Bot is ready'
end
end
end
end
|
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2020
//
// 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 r... |
package com.sonnytron.sortatech.pantryprep.Fragments.IngredientFilters;
import android.os.Bundle;
import com.sonnytron.sortatech.pantryprep.Fragments.IngredientsListFragment;
import com.sonnytron.sortatech.pantryprep.Models.Ingredient;
import com.sonnytron.sortatech.pantryprep.Service.IngredientManager;
import java... |
---
layout: emd_product
status: publish
published: true
title: 1937 Horch 930V Limousine - S24_3420
author: make-your-life-simple
author_login: picky-demo-admin
author_email: admin@emarketdesign.com
excerpt: Features opening hood, opening doors, opening trunk, wide white wall tires,
front door arm rests, working stee... |
Bulkr
=
Dependencies
-
nodejs, dotjs.
Currently the project was only tested on Google Chrome.
Install
-
1. Download dependencies
2. Clone github repo
3. Place flickr.com.js file into your ~/.js/
4. Edit the service endpoint of the dotjs file
5. Go to server and start service by executing `node daemon.js`, service ... |
<?php
namespace Brainapp\CoreBundle\Entity\GroupEntities;
use Doctrine\ORM\EntityRepository;
/**
* GroupAccountRepository
*
* @author Chris Schneider
*/
class GroupAccountRepository extends EntityRepository
{
}
|
---
layout: post
title: "JSON конфигурация списка задач Hangfire и их runtime обновление"
date: 2016-06-17 23:30:29 +0300
image: "/assets/hangfire-logo.png"
image_alt: "Hangfire scheduler"
redirect_from:
- backend/2016/06/17/hangfire-config-joblist/backend/
category: Backend
author: "Artamoshkin Maxim"
tags: [H... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Sat Aug 22 11:52:38 EDT 2015 -->
<title>A-Index</title>
<meta name="date" content="2015-08-22">
<link rel="stylesheet" type="text/css" h... |
/*!
* Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
* Copyright 2013-2016 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
*/
/* Global Styles */
html,
body {
width: 100%;
height: 100%;
}
body {
font-family: "Source San... |
/*
* The MIT License (MIT)
* Copyright (c) 2015 Peter Vanusanik <admin@en-circle.com>
*
* 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 limitati... |
//
// JWTClaimVerifierBase.h
// JWT
//
// Created by Dmitry Lobanov on 30.05.2021.
// Copyright © 2021 JWTIO. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <JWT/JWTClaimsSetsProtocols.h>
NS_ASSUME_NONNULL_BEGIN
@interface JWTClaimVerifierBase : NSObject <JWTClaimVerifierProtocol>
@end
NS_AS... |
# frozen_string_literal: true
module ProxyFetcher
module Providers
# FreeProxyList provider class.
class Proxypedia < Base
# Provider URL to fetch proxy list
def provider_url
"https://proxypedia.org"
end
# [NOTE] Doesn't support filtering
def xpath
"//main/ul/li... |
namespace abremir.AllMyBricks.Data.Interfaces
{
public interface IReferenceDataRepository
{
T GetOrAdd<T>(string value) where T : IReferenceData, new();
}
}
|
var gulp = require('gulp');
gulp.task('dist', ['setProduction', 'sass:dist', 'browserify:dist']);
|
/*
json2.js
2013-05-26
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
NOT CONTROL.
Th... |
\hypertarget{group___t_i_m___exported___functions___group8}{}\section{T\+I\+M\+\_\+\+Exported\+\_\+\+Functions\+\_\+\+Group8}
\label{group___t_i_m___exported___functions___group8}\index{T\+I\+M\+\_\+\+Exported\+\_\+\+Functions\+\_\+\+Group8@{T\+I\+M\+\_\+\+Exported\+\_\+\+Functions\+\_\+\+Group8}}
\subsection*{Function... |
package main
import (
"fmt"
"io"
"log"
"net/http"
"os"
"time"
"github.com/elazarl/goproxy"
)
const (
AppendLog int = iota
ReopenLog int = iota
)
var (
emptyResp = &http.Response{}
emptyReq = &http.Request{}
)
type LogData struct {
action int
req *http.Request
resp *http.Response
user string
... |
'use strict';
import Chart from 'chart.js';
import Controller from './controller';
import Scale, {defaults} from './scale';
// Register the Controller and Scale
Chart.controllers.smith = Controller;
Chart.defaults.smith = {
aspectRatio: 1,
scale: {
type: 'smith',
},
tooltips: {
callbacks: {
title: () => nu... |
---
st:
published_at: 2016-06-16
type: "User_Guide"
seo:
title: Two-Factor Authentication
description: Two-Factor Authentication gives you an extra layer of security to protect your SendGrid account.
keywords: 2FA, two-factor authentication, authentication, security, authy
title: Two-Factor Authentication
weight: ... |
var packageInfo = require('./package.json');
var taskList = [{name:'default'},{name:'delete'},{name:'build'},{name:'copy'},{name:'minify'}];
var gulpTalk2me = require('gulp-talk2me');
var talk2me = new gulpTalk2me(packageInfo,taskList);
var del = require('del');
var gulp = require('gulp');
var runSequence = require('r... |
//https://github.com/nothingrandom/project_euler.js
var square=0;var sum=0;var answer=0;var number2=0;for(var i=0;i<=100;i++){var number=Math.pow(i,2);square+=number}for(var i=0;i<=100;i++){number2+=i;sum=Math.pow(number2,2)}var answer=sum-square;console.log(answer) |
<!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 `getgid` fn in crate `libc`.">
<meta name="keywords" conten... |
package tunnel
import (
"bytes"
stdcrypto "crypto"
"encoding/base64"
"errors"
"fmt"
"net"
"net/url"
"os"
"os/user"
"path/filepath"
"reflect"
"regexp"
"runtime"
"strconv"
"strings"
"github.com/Lafeng/deblocus/auth"
"github.com/Lafeng/deblocus/crypto"
"github.com/Lafeng/deblocus/exception"
"github.co... |
module Fog
module OpenStack
class Compute
class Real
def get_server_details(server_id)
request(
:expects => [200, 203],
:method => 'GET',
:path => "servers/#{server_id}"
)
end
end
class Mock
def get_server_detai... |
<?php
/*
File: class/class_api.php
Created: 11/10/2016 at 1:34PM Eastern Time
Info: Creates a class file to use as an API for modders
who don't wish to use the main game code!
Author: TheMasterGeneral
Website: https://github.com/MasterGeneral156/chivalry-engine
*/
if (!defined('MONO_ON')) {
exit;
}
class use... |
package com.cinnamon.object;
import com.cinnamon.system.ComponentFactory;
import com.cinnamon.system.Config;
import com.cinnamon.utils.Shape;
/**
* <p>
* Provides {@link BodyComponent} lookup when computing physics updates.
* </p>
*/
public abstract class BodyFactory extends ComponentFactory<BodyComponent, Ob... |
[](https://travis-ci.org/orizens/angular2-infinite-scroll)
# DEPRECATED - Please Use The New NGX-Infinite-Scroll
[ngx-infinite-scroll](http://github.com/orizens/ngx-infinite-scroll)
# Angular Infinite Scroll
Inspired by [ng-infin... |
/**
* Service layer beans.
*/
package es.cesga.hadoop.service;
|
var BasicMathLib = artifacts.require("./BasicMathLib.sol");
var Array256Lib = artifacts.require("./Array256Lib.sol");
var TokenLib = artifacts.require("./TokenLib.sol");
var CrowdsaleLib = artifacts.require("./CrowdsaleLib.sol");
var EvenDistroCrowdsaleLib = artifacts.require("./EvenDistroCrowdsaleLib.sol");
var Crowd... |
//
// Adapted from:
// http://stackoverflow.com/questions/22330103/how-to-include-node-modules-in-a-separate-browserify-vendor-bundle
//
var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var bust = require('gulp-buster');
var str... |
module Main where
import Lib
import Text.Printf
import Data.Time.Clock.POSIX
n = 4::Int
main :: IO ()
main = do
startTime <- getPOSIXTime
printf "Maximum product of %d values taken in a straight line from array 'values':\n\t%d"
n $ maxStraightProduct n
stopTime <- getPOSIXTime
printf "\t(%s sec)\n" $... |
#include "spritesheet.hpp"
//////////
// Code //
// Initializing the SpriteSheet sizes.
void SpriteSheet::init(int cols, int rows, int width, int height) {
this->cols = cols;
this->rows = rows;
this->width = width;
this->height = height;
}
// Making a SpriteSheet from an existing SDL_Texture.
Sp... |
BrowserPolicy.content.allowOriginForAll("*.googleapis.com");
BrowserPolicy.content.allowOriginForAll("*.gstatic.com");
BrowserPolicy.content.allowOriginForAll("*.bootstrapcdn.com");
BrowserPolicy.content.allowOriginForAll("*.geobytes.com");
BrowserPolicy.content.allowFontDataUrl();
|
package blogr.vpm.fr.blogr.activity;
import android.view.ActionMode;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.EditText;
import blogr.vpm.fr.blogr.R;
import blogr.vpm.fr.blogr.format.AlignCenterTagsProvider;
import blogr.vpm.fr.blogr.format.AlignLe... |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... |
# 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::DataFactory::Mgmt::V2017_09_01_preview
module Models
#
# HBase server linked service.
#
class HBaseLinkedService < LinkedSer... |
# `Erichika`
The game for developers.
## Koding Global Hackathon
This is a project for Koding Global Hackthon.
The submit page is here: https://github.com/team-kke/hackathon.submit
## License
The MIT License (MIT)
Copyright (c) 2014 [Team KKE](https://github.com/team-kke)
|
# CallingApp
---
A [KBase](https://kbase.us) module generated by the [KBase SDK](https://github.com/kbase/kb_sdk).
|
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@protocol WCCardPkgBackTableViewDelegate <NSObject>
- (void)WXCardPkgTableViewHeight:(double)arg1 scrollEnabled:(_Bool)arg2;
- (double)WXCardPkgTableViewMaxHei... |
module ResourceAuthentication
module TestCase
class MockRequest # :nodoc:
attr_accessor :controller
def initialize(controller)
self.controller = controller
end
def remote_ip
(controller && controller.respond_to?(:env) && controller.env.is_a?(Hash) && controlle... |
<?php
/*
Template Name: WP Riddle Single Page
*/
?>
<!DOCTYPE html>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8) ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-... |
/*
* Copyright 2015 Freescale Semiconductor
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __LS1043ARDB_H__
#define __LS1043ARDB_H__
#include "ls1043a_common.h"
#define CONFIG_SYS_CLK_FREQ 100000000
#define CONFIG_DDR_CLK_FREQ 100000000
#define CONFIG_LAYERSCAPE_NS_ACCESS
#define CONFIG_MISC_INIT_R
#define... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Memoria.Prime.Text;
namespace Memoria.Assets
{
public sealed class ExportFieldTags : FieldTags
{
private readonly KeyValuePair<Regex, String>[] _complexTags;
public ExportFieldTags()
... |
<?php
use PDFfiller\OAuth2\Client\Provider\FillableForm;
use PDFfiller\OAuth2\Client\Provider\Enums\FillRequestNotifications;
use PDFfiller\OAuth2\Client\Provider\DTO\NotificationEmail;
use PDFfiller\OAuth2\Client\Provider\DTO\AdditionalDocument;
$provider = require_once __DIR__ . '/../bootstrap/initWithFabric.php';
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolDB.Models
{
/// <summary>
///
/// </summary>
public class Major
{
public int MajorId { get; set; }
public string MajorName { get; set; }
public bool Active { get; s... |
'use strict'
if (!process.addAsyncListener) require('async-listener')
var noop = function () {}
module.exports = function () {
return new AsyncState()
}
function AsyncState () {
var state = this
process.addAsyncListener({
create: asyncFunctionInitialized,
before: asyncCallbackBefore,
error: noop,... |
/**
Problem 9. Extract e-mails
Write a function for extracting all email addresses from given text.
All sub-strings that match the format @
should be recognized as emails.
Return the emails as array of strings.
*/
console.log('Problem 9. Extract e-mails');
var text='gosho@gmail.com bla bla bla pesho_peshev@yahoo... |
# frozen_string_literal: true
require "rails_helper"
module Socializer
RSpec.describe People::ActivitiesController, type: :routing do
routes { Socializer::Engine.routes }
context "with routing" do
it "routes to #index" do
expect(get: "/people/1/activities")
.to route_to("socializer/... |
/**
* Border Left Radius
*/
module.exports = function (decl, args) {
var radius = args[1] || '3px';
decl.replaceWith({
prop: 'border-bottom-left-radius',
value: radius,
source: decl.source
}, {
prop: 'border-top-left-radius',
value: radius,
source: decl.sou... |
//=====================================================================
// This sample demonstrates using TeslaJS
//
// https://github.com/mseminatore/TeslaJS
//
// Copyright (c) 2016 Mark Seminatore
//
// Refer to included LICENSE file for usage rights and restrictions
//===============================================... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Drawing\0.11.3\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_FUSE_DRAWING_WINDING_RULES_H__
#define __APP_FUSE_DRAWING_WINDING_RULES_H__
#include <Uno.h>
namespace app {
namespace Fuse {
namespace Drawing ... |
///<reference path="../node_modules/DefinitelyTyped/d3/d3.d.ts" />
interface PWInterpolatorFactory {
(oldScale: D3.Scale.LinearScale) : (t: number)=>powerfocusI;
}
/**
* A scale with polynomial zoom
* @class powerfocusI
* @extends D3.Scale.LinearScale
*/
interface powerfocusI extends D3.Scale.LinearScale {
... |
---
layout: default
---
<div class="page">
<h1 class="page-title">{{ page.title }}</h1>
<div id="toc"></div>
{{ content }}
</div>
|
package net.server;
import java.net.Socket;
import net.client.SocketClientProtocol;
public abstract class SocketServerProtocol extends SocketClientProtocol {
/**
* Allow a sender to be added to the socket protocol's list of senders.
*
* This can be useful to send messages to clients which are not... |
using DrinkCounter.Models;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Data.Entity;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace DrinkCounter
{
public class Startup
{
public St... |
## Precision
Calculate the precision of anything that can be converted into a decimal.
```ruby
irb> Precision::Calculator.new(BigDecimal("12.12")).calculate
=> 2
irb> Precision::Calculator.new("12.1234").calculate
=> 4
irb> Precision::Calculator.new(12.123).calculate
=> 3
irb> Precision::Calculator.new(nil).calcula... |
require 'hatt'
describe Hatt do
before(:each) do
Hatt.hatt_initialize
end
it 'should have configuration' do
subject.should respond_to :hatt_configuration
subject.hatt_configuration.should be_a Hash
end
context 'a service name yourapi is configured' do
before(:each) do
subject.hatt_add... |
module.exports = {
dist: {
files: {
'dist/geo.js': ['src/index.js'],
}
}
}; |
package com.onliquid.personalization;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import io.lqd.sdk.Liquid;
import java.util.HashMap;
public class MainActivity extends Activity {
private Liquid lqd;
protected void onCreate(Bundle bundle) ... |
namespace Subsonic.Client
{
public struct SubsonicToken
{
public string Token { get; set; }
public string Salt { get; set; }
}
} |
<?php
/**
* @author Ronald Vilbrandt <info@rvi-media.de>
* @copyright 2015 Ronald Vilbrandt, RVI-Media (www.rvi-media.de)
* @since 2015-08-13
*/
namespace Page\Home;
class HomeHtmlView extends \aRvi\View\View {
/**
* Runs the view
*
* @return string View content
*/
public functi... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly... |
<?php
class Question
{
private $connection;
function __construct($mysqli)
{
$this->connection = $mysqli;
}
// Kõikide küsimustikude tõmbamine andmebaasist
function getAllQuestionnaires($email){
$stmt = $this->connection->prepare("SELECT tap_questionnaires.id, tap_questionna... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Oakcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "merkleblock.h"
#include "hash.h"
#include "consensus/consensus.h"
#inc... |
var Model = require('./model');
var schema = {
name : String,
stuff: {
electronics: [{
type: String
}],
computing_dev: [{
type: String
}]
},
age:{
biological: Number
},
fruits: [
{
name: String,
fav: ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... |
#include <cstdlib>
#include <iostream>
#include <vector>
#include <sys/time.h>
#include <omp.h>
#include <hbwmalloc.h>
using namespace std;
double drand() {
return double(rand()) / double(RAND_MAX);
}
double wctime() {
struct timeval tv;
gettimeofday(&tv,NULL);
return (double)tv.tv_sec + (double)tv.tv_usec... |
import java.util.HashMap;
import java.util.Map;
public class LeetCode171 {
public int titleToNumber(String s) {
char[] chars = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};
Map<Character, Integer> map = new HashM... |
// Depends on jsbn.js and rng.js
// Version 1.1: support utf-8 encoding in pkcs1pad2
// convert a (hex) string to a bignum object
function parseBigInt(str,r) {
return new BigInteger(str,r);
}
function linebrk(s,n) {
var ret = "";
var i = 0;
while(i + n < s.length) {
ret += s.substring(i,i+n) + "\n";
... |
<?php
declare(strict_types=1);
namespace DiContainerBenchmarks\Fixture\B;
class FixtureB792
{
}
|
package com.anderspersson.xbmcwidget.remote;
import com.anderspersson.xbmcwidget.R;
import com.anderspersson.xbmcwidget.xbmc.XbmcService;
import android.app.PendingIntent;
import android.appwidget.AppWidgetProvider;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.conten... |
import prosper.datareader.exceptions
import prosper.datareader._version
|
<div data-marker="author.imageUri" data-bind="src:author.imageUri, title:author.imageUri"></div>
|
.PHONY: clean
ASMGENFILES = main.asm \
vesa.asm \
win.asm \
term.asm \
libc/str.asm \
libc/mem.asm \
libc/stdio.asm
ASMFILES = start.asm
CFILES = $(patsubst %.asm,%.c,$(ASMGENFILES))
ENZOS = STARTUP.BIN
all: clean build
build: $(ASMGENFILES) $(ASMFILES)
smlrcc -doss -small -nobss $^ -o $(ENZOS)
%.... |
# 半圆
----
## code
```html
<div id="c1">
</div>
```
```js
import data from '../data/diamond.json';
var G2 = require('g2');
var Stat = G2.Stat;
var chart = new G2.Chart({
id: 'c1',
width: 800,
height: 400,
plotCfg: {
margin: [20, 90, 80, 60]
}
});
chart.source(data);
chart.coor... |
<?php
/**
* Models from schema: ecofy version 0.1
* Code generated by TransformTask
*
*/
/**
* @todo: Copy this file to app/lang/<lang>/category.php
* Modify the values accordingly
*/
return array(
'_name' => 'category',
'_name_plural' => 'categorys',
'sid' => 'Sid',
'uuid' => 'Uuid',
'domain_sid'... |
// Copyright (c) 2012-2014 The Moneta developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientversion.h"
#include "tinyformat.h"
#include <string>
/**
* Name of client reported in the 'version' message. Re... |
using System.Linq;
using Android.Graphics;
using Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using RoutingEffects = FormsCommunityToolkit.Effects;
using PlatformEffects = FormsCommunityToolkit.Effects.Droid;
[assembly: ExportEffect(typeof(PlatformEffects.LabelCustomFont), nameof(Routing... |
<!-- Bootstrap -->
<link href="<?php echo base_url() ?>plugins/Bootstrap-3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<!-- select 2 -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>plugins/select2/select2.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https:/... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dblib: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
var ShaderTool = new (function ShaderTool(){
function catchReady(fn) {
var L = 'loading';
if (document.readyState != L){
fn();
} else if (document.addEventListener) {
document.addEventListener('DOMContentLoaded', fn);
} else {
document.attachEvent... |
import React, { PureComponent } from "react";
import { graphql } from 'gatsby'
import Link from "gatsby-link";
import path from "ramda/src/path";
import ScrollReveal from "scrollreveal";
import Layout from "../components/Layout";
import "prismjs/themes/prism.css";
import styles from "./post.module.scss";
const getPos... |
package com.jikken2;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.AsyncTask;
@SuppressLint("NewApi")
public class ConnectDB_PP ... |
import * as React from 'react';
import classNames from 'classnames';
import ResizeObserver from 'rc-resize-observer';
import { composeRef } from 'rc-util/lib/ref';
import { ConfigContext } from '../config-provider';
import devWarning from '../_util/devWarning';
import { Breakpoint, responsiveArray } from '../_util/resp... |
<ion-header>
<ion-navbar>
<button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>ล็อกอิน</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<h1 text-center class="top-margin">FolloWork</h1>
<form [ngFormModel]="loginForm" (ngSubmit)="onSubmit(l... |
import React, {Component} from 'react';
import {View, Text} from 'react-native';
import {xdateToData} from '../../interface';
import XDate from 'xdate';
import dateutils from '../../dateutils';
import styleConstructor from './style';
class ReservationListItem extends Component {
constructor(props) {
super(props)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.