text stringlengths 12 215k |
|---|
package id3
import (
"bytes"
"errors"
"io"
"time"
)
var timestampFormats = []string{
"2006-01-02T15:04:05",
"2006-01-02T15:04",
"2006-01-02T15",
"2006-01-02",
"2006-01",
"2006",
}
func parseTime(timeStr string) (time.Time, error) {
for i := range timestampFormats {
t, err := time.Parse(timestampFormats[... |
b'What is (-9 - -2) + 7 + 3 + (16 - -1)?\n' |
b'8 + -9 + (9 - -1) + 1 + -7\n' |
b'Calculate -4 + (-9 - (-8 + 6)) + -5 + -1.\n' |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zchinese: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
package com.malalaoshi.android.ui.dialogs;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.widg... |
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading" style="padding-bottom: 40px;">PREVIEW
<div class="col-xs-3 pull-right">
<a href="/ssearch">... |
b'What is 11 + -12 + 0 + 11?\n' |
b'Calculate -6 + (-4 + 4 - (-6 - -8 - -4)).\n' |
b'Evaluate (-8 - (-13 - -8) - (-1 + -2)) + -4.\n' |
# Copyright (c) 2015, Max Fillinger <max@max-fillinger.net>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND... |
// The following are instance methods and variables
var Note = Class.create({
initialize: function(id, is_new, raw_body) {
if (Note.debug) {
console.debug("Note#initialize (id=%d)", id)
}
this.id = id
this.is_new = is_new
this.document_observers = [];
// Cache the elements
this.ele... |
b'266 + -247 - (33 + 0)\n' |
b'What is (-3 - -1) + (-4 - (10 + 14 + -15))?\n' |
b'23 + -1 + 35 + -54\n' |
b'Calculate 3 + 2 + -1 - (10 + 2 - 8).\n' |
<?php
class Receiving_lib
{
var $CI;
function __construct()
{
$this->CI =& get_instance();
}
function get_cart()
{
if(!$this->CI->session->userdata('cartRecv'))
$this->set_cart(array());
return $this->CI->session->userdata('cartRecv');
}
function set_cart($cart_data)
{
$t... |
/* SaveFileController
*
* Version 1.0
*
* November 13, 2017
*
* Copyright (c) 2017 Cup Of Java. All rights reserved.
*/
package com.cmput301f17t11.cupofjava.Controllers;
import android.content.Context;
import com.cmput301f17t11.cupofjava.Models.Habit;
import com.cmput301f17t11.cupofjava.Models.HabitEvent;
imp... |
b'Calculate -10 + -11 - 0 - (-8 + 0).\n' |
b'Calculate (0 - -1) + -17 + (-4 + 4 - -9).\n' |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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: AssemblyTitle("34... |
b'What is the value of 7 + -1 + 3 + 1 + -9 + 2?\n' |
package org.peerbox.presenter;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.layout.Pane;
public class MainController implements INavigatable {
@FXML
private Pane mainPane;
/*
* (non-Javadoc)
*
* @see org.peerbox.presenter.INavigatable#setContent(javafx.scene.Node)
*/
@Override
... |
b'11 - 7 - (-27 - -13)\n' |
<?php
namespace Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Controller;
use Core\Controller\AbstractDvsaActionController;
use Dvsa\Mot\Frontend\AuthenticationModule\Model\Identity;
use Dvsa\Mot\Frontend\SecurityCardModule\CardOrder\Service\OrderNewSecurityCardSessionService;
use DvsaCommon\Constants\FeatureToggle;... |
-- Section: Internal Functions
-- Group: Low-level event handling
\i functions/pgq.batch_event_sql.sql
\i functions/pgq.batch_event_tables.sql
\i functions/pgq.event_retry_raw.sql
\i functions/pgq.find_tick_helper.sql
-- \i functions/pgq.insert_event_raw.sql
\i lowlevel/pgq_lowlevel.sql
-- Group: Ticker
\i functio... |
b'Evaluate -35 + (99 - 29) - 45.\n' |
b'4 + (4 - 6) + 2 + 11 + -27\n' |
b'What is the value of 4 - (3 - 0 - 21)?\n' |
package io.github.ageofwar.telejam.updates;
import io.github.ageofwar.telejam.Bot;
import io.github.ageofwar.telejam.TelegramException;
import io.github.ageofwar.telejam.methods.GetUpdates;
import java.io.IOException;
import java.util.Collections;
import java.util.Objects;
import java.util.concurrent.ConcurrentLinked... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
package fr.pizzeria.admin.web;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... |
b'16 + (-4 + 7 - 12)\n' |
b'Calculate 2 + 0 - -11 - (9 - -1).\n' |
b'Evaluate -8 + -5 + (-15 + 4 - -25).\n' |
<?php
return array (
'id' => 'samsung_gt_m5650_ver1',
'fallback' => 'generic_dolfin',
'capabilities' =>
array (
'pointing_method' => 'touchscreen',
'mobile_browser_version' => '1.0',
'uaprof' => 'http://wap.samsungmobile.com/uaprof/GT-M5650.rdf',
'model_name' => 'GT M5650',
'brand_name' => ... |
{% extends "layout_unbranded.html" %}
{% block page_title %}
GOV.UK prototype kit
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-full">
<div id="global-breadcrumb" class="breadcrumb">
<a class="link-back" href="results_confirm2?searc... |
---
layout: post
title: Bhaas
date: '2007-06-17 21:32:00'
tags: ["poetry"]
---
<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_cWdd7TsTIWo/RnWon-oIleI/AAAAAAAAAAk/PCXo2q26GsQ/s1600-h/bhas.JPG"><img style="display:block; margin:0px auto 10px; text-align:center;cur... |
#include "EventQueueThread.h"
|
b'Evaluate (31 - (-2 - -3 - (1 - 5))) + -8.\n' |
using System.Web.Mvc;
using Microsoft.Practices.Unity;
using Unity.Mvc4;
namespace MVCForum.IOC
{
public static class Bootstrapper
{
public static IUnityContainer Initialise()
{
var container = BuildUnityContainer();
DependencyResolver.SetResolver(new UnityDependencyResolver(container));
... |
<?php
namespace infinitydevphp\gii\migration;
use infinitydevphp\MultipleModelValidator\MultipleModelValidator;
use infinitydevphp\tableBuilder\TableBuilder;
use infinitydevphp\tableBuilder\TableBuilderTemplateMigration;
use infinitydevphp\gii\models\Field;
use yii\db\ColumnSchema;
use yii\db\Schema;
use yii\db\TableS... |
b'What is the value of -20 - (-4 + 12 - 17)?\n' |
#include <gtest/gtest.h>
#include "loquat/misc/binary_search.hpp"
TEST(BinarySearchTest, Integer){
for(int l = -16; l <= 16; ++l){
for(int r = l; r <= 16; ++r){
for(int expect = l; expect <= r; ++expect){
const auto actual = loquat::binary_search(
l, r, [=](int x){ return x < expect; });
EXPECT_EQ(e... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... |
b'Calculate 48 + -28 + 13 - 23.\n' |
b'Evaluate 1 + 12 + -15 + 11 + -6.\n' |
package sysadmin
import org.scalatest._
import scalikejdbc._
import scalikejdbc.scalatest.AutoRollback
import skinny.logging.Logging
import skinny.test.FactoryGirl
class userAdminSpec
extends fixture.FunSpec
with Matchers
with Connection
with CreateTables
with AutoRollback
with Logging {
ov... |
<?php
namespace Master\AdvertBundle\Controller;
use Elastica\Filter\GeoDistance;
use Elastica\Query\Filtered;
use Elastica\Query\MatchAll;
use Master\AdvertBundle\Document\Advert;
use Master\AdvertBundle\Document\Localization;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundat... |
# MyLibSwift |
b'What is -12 + -2 + 194 + -175?\n' |
b'Evaluate 60 - ((36 - 34) + 33).\n' |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... |
import { createContext } from 'react';
export const defaultApiStatus = {
offline: false,
apiUnreachable: '',
appVersionBad: false,
};
export default createContext(defaultApiStatus);
|
package tutorialHorizon.arrays;
/**
* Created by archithrapaka on 7/4/17.
*/
public class InsertionSort {
public static void insertionSort(int[] items, int n) {
int i, j;
for (i = 1; i < n; i++) {
j = i;
while (j > 0 && (items[j] < items[j - 1])) {
swap(i... |
b'Evaluate 2 + (-13 - (7 + -7) - (-8 - -3)).\n' |
b'Evaluate -8 + 1 + 3 + (6 - 3).\n' |
// Script by Bo Tranberg
// http://botranberg.dk
// https://github.com/tranberg/citations
//
// This script requires jQuery and jQuery UI
$(function() {
// Inser html for dialog just before the button to open it
var butt = document.getElementById('citations');
butt.insertAdjacentHTML('beforeBegin',
... |
b'(1 - 1) + -1 + (-26 - -72) + -62\n' |
/// <reference path="../definitions/mocha.d.ts"/>
/// <reference path="../definitions/node.d.ts"/>
/// <reference path="../definitions/Q.d.ts"/>
import Q = require('q');
import assert = require('assert');
import path = require('path');
import fs = require('fs');
describe('General Suite', function () {
this.timeou... |
b'What is 15 + -2 + -337 + 325?\n' |
b'What is the value of 2 + (-33 - (-1 - 2 - -3 - 1))?\n' |
b'What is (11 - -25) + 22 - 24?\n' |
b'What is the value of 23 + -29 + (27 - 56)?\n' |
b'Evaluate -29 - (-52 + 30 + 3).\n' |
function RenderPassManager(renderer)
{
// not implemented yet
throw "Not implemented";
var mRenderPasses = [];
return this;
}
RenderPassManager.prototype.addRenderPass = function(renderPass)
{
mRenderPasses.push(renderPass);
};
RenderPassManager.prototype.render = function()
{
for(var renderPass i... |
b'-18 + 18 - (-10 + (-3 - -11))\n' |
b'What is (4 + -5 - (11 - 20)) + 5?\n' |
b'Calculate -36 + -3 + 6 + 3.\n' |
b'What is the value of (-2 - 5) + (18 - 1) + -22?\n' |
# safe_projects
Project management with git
## Configuration
Create a file named `~/.projects` with the path where you'd like your
repositories to be stored. This should ideally be a location that is backed up
regularly.
```bash
vim ~/.projects
```
An example file looks like this:
```bash
export REPOSITORY_ROOT=/n... |
b'Calculate 3 + (5 - -4) + 82 + -87.\n' |
<?php
namespace Zycon42\Security\Application;
use Nette;
use Nette\Application\Request;
use Nette\Reflection\ClassType;
use Nette\Reflection\Method;
use Symfony\Component\ExpressionLanguage\Expression;
class PresenterRequirementsChecker extends Nette\Object {
/**
* @var ExpressionEvaluator
*/
priv... |
b'0 - (-9 + 10 + 2 + -14)\n' |
b'What is the value of 1 + -8 - ((9 - 11) + -3)?\n' |
b'Evaluate 2 - 29 - (-54 - -16).\n' |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace ASP.NET_Core_Email.Models.ManageViewModels
{
public class ConfigureTwoFactorViewModel
{
public string SelectedProvider { get; set; }
public ICol... |
b'What is the value of 7 - (2 + (11 - -5) + -21)?\n' |
b'What is the value of (-15 - -21) + (-2 - -11)?\n' |
b'Evaluate 0 + (-2 - -2 - (-23 - -20)) + -17.\n' |
import _ from 'lodash';
import { createSelector } from 'reselect';
const srcFilesSelector = state => state.srcFiles;
const featuresSelector = state => state.features;
const featureByIdSelector = state => state.featureById;
const keywordSelector = (state, keyword) => keyword;
function getMarks(feature, ele) {
const ... |
-----------------------------------------------------------
-- LibAddonManager.lua
-----------------------------------------------------------
-- Take the global "..." (name, addon) as parameters to
-- initialize an addon object.
--
-- Abin (2014-11-04)
-----------------------------------------------------------
-- A... |
b'Evaluate (-8 - -17) + -3 + -13.\n' |
b'11 + (11 - 9) + -4 + 4 - 1\n' |
b'(-2 - (-8 - 3)) + -32 + 20\n' |
import * as path from "path";
import * as tl from "vsts-task-lib/task";
import {IExecOptions, IExecSyncResult} from "vsts-task-lib/toolrunner";
import * as auth from "packaging-common/nuget/Authentication";
import * as commandHelper from "packaging-common/nuget/CommandHelper";
import {NuGetConfigHelper2} from "packagi... |
b'Evaluate 2 - (14 - -14 - 32).\n' |
b'Evaluate 90 + -59 - (-3 - -17).\n' |
html,
body {
font-family: 'Roboto', 'Helvetica', sans-serif;
}
strong,
b {
font-weight: 700;
}
h1,
h2,
h3 {
font-family: "Roboto Slab", "Helvetica", "Arial", sans-serif;
}
pre, code {
font-family: "Roboto mono", monospace;
}
.ghostdown-edit-content {
position: absolute;
top: 50px;
bottom... |
<?php
namespace Terrific\Composition\Entity;
use Doctrine\ORM\Mapping as ORM;
use JMS\SerializerBundle\Annotation\ReadOnly;
use JMS\SerializerBundle\Annotation\Type;
use JMS\SerializerBundle\Annotation\Exclude;
use JMS\SerializerBundle\Annotation\Groups;
use JMS\SerializerBundle\Annotation\Accessor;
/**
... |
b'-21 - (-7 - -9) - (23 - 22)\n' |
b'(-105 - -123) + (2 + (-4 - -2) - 3)\n' |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Dumper;
use Symfony\... |
/**
* This file was copied from https://github.com/jenkinsci/mercurial-plugin/raw/master/src/test/java/hudson/plugins/mercurial/MercurialRule.java
* so we as well have a MercurialRule to create test repos with.
* The file is licensed under the MIT License, which can by found at: http://www.opensource.org/licenses/mi... |
delete p1 from person as p1, person as p2 where p1.email = p2.email and p1.id > p2.id; |
package com.covoex.qarvox;
import com.covoex.qarvox.Application.BasicFunction;
/**
* @author Myeongjun Kim
*/
public class Main {
public static void main(String[] args) {
BasicFunction.programStart();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InTheHand.Net;
using InTheHand.Net.Sockets;
using InTheHand.Net.Bluetooth;
namespace NXTLib
{
public static class Utils
{
public static string AddressByte2String(byte[] address, bool withcolons)
{
... |
b'What is 44 + (-6 - (-49 + 77))?\n' |
//
// AppDelegate.h
// DecoratorPattern
//
// Created by Vito on 13-11-15.
// Copyright (c) 2013年 Vito. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.