text stringlengths 27 775k |
|---|
Rails.application.routes.draw do
namespace :protected do
namespace :api, defaults: {format: :json} do
namespace :odania_timeline do
resources :timelines, except: [:new, :edit]
end
end
end
scope '/:locale', constraints: {locale: /[a-z][a-z]/} do
namespace :odania_timeline do
get 'timelines' => 'ti... |
from util.common import readParams
# fix headers
def read_headers(data):
# base headers
headers = readParams.read_param(data['request']['headers'])
# option headers
if data['request'].get("accessToken") != None:
accessToken = readParams.read_param(data['request']['accessToken'])
headers... |
/*
Copyright (c) 2017-2018 by Ilya Barykin
Released under the MIT License.
See the provided LICENSE.TXT file for details.
*/
#include <QtWidgets/QStyle>
#include <QtGui/QMouseEvent>
#include <QtWidgets/QLabel>
#include <QtCore/QDateTime>
#include <vars.h>
#include <utils/Utils.h>
#include <vendor/verdigris/src/wobj... |
# Contributing to UserLogin
Well, I'm not really sure what specific guidelines to put here lmao.
However, all contributions must be done to the [develop](https://github.com/ElCholoGamer/userlogin/tree/develop) branch
|
'use strict';
var app = app || {};
(function(module) {
const adminView = {};
const pass = 'admin';
adminView.initAdminView = function() {
$('.page').hide();
$('#admin-view, #icon-menu').show();
};
adminView.verify = function() {
$('#login-form').on('submit', event => {
event.preventDefau... |
<?php
namespace Versuch\stoerungsmelderBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
/**
* @Route("/abteilung")
*
*/
class AbteilungController e... |
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
namespace TheBunniesOfVegetaria
{
public static class SaveLoad
{
private static string SaveDataPath => Application.persistentDataPath + "/save.dat";
/// <summary>
/// Save the current save data t... |
package net.rossharper.koin.keyderivation
import org.bouncycastle.crypto.generators.SCrypt
class ScryptKeyDerivationFunction : KeyDerivationFunction {
private val iterations = Math.pow(2.0, 18.0).toInt()
private val keyLengthBytes = 32
private val r = 8
private val p = 1
override fun deriveKey(se... |
#! @bash@/bin/sh -e
export PATH=/empty
for i in @path@; do PATH="$PATH:$i/bin:$i/sbin"; done
DEFAULT=$1
if test -z "$DEFAULT"; then
echo "usage: efistub-builder.sh <default-config>"
exit 1
fi
getEfiFile() {
echo "$EFI_DIR/$(echo "$1" | sed 's,^/nix/store/,,' | sed 's,/,-,g')"
}
getEfiPath() {
echo "... |
use std::process;
use std::io::{self, Write};
use std::ops;
use value::{Value, Args, ToLisp, FromLisp};
use valtype::Type;
use eval::{Lisp, FuncError, FuncResult};
macro_rules! math {
($name:ident, $op:path) => {
pub fn $name(mut items: Vec<Value>, _: &mut Lisp) -> FuncResult {
let mut total ... |
var class_t_prazo =
[
[ "rodarTeste", "class_t_prazo.html#a86c0e221bf153948ad75d8d457db7d56", null ]
]; |
<?php
namespace frontend\controllers;
use Yii;
class Controller extends \yii\web\Controller
{
public function getGuest(){
if (Yii::$app->user->isGuest){
return true;
}else{
return false;
}
}
} |
using System.Collections.Generic;
namespace Algorithms.Core.Helpers
{
/// <summary>
/// Compares two transactions by amount.
/// </summary>
public class HowMuchOrderComparer : IComparer<Transaction>
{
public int Compare(Transaction v, Transaction w)
{
if (v.Amount() < w... |
#!/usr/bin/python
from flask.ext.script import Manager, Shell, Server
from flask.ext.assets import ManageAssets
from timeofday import app
def create_app(config=None):
if config is not None:
app.config.from_pyfile(config)
return app
manager = Manager(create_app)
manager.add_option('-c', '--config... |
---
title: Advanced Pre-Honeycomb Animation with NineOldAndroids
layout: post
categories: post
tags:
- Android
- NineOldAndroids
lead: Translation, scale, and other transformations were introduced in Honeycomb but can still be easily used on previous platforms.
source: http://nineoldandroids.com
---
The lovely new [... |
<?php
namespace BlogBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/blog');
$this->assertEquals(200, $... |
// Copyright (c) 2017 Niko Carpenter
// Use of this source code is governed by the MIT License,
// which can be found in the LICENSE file.
// Package clocktower provides logic to encode time into
// a WWV-compatible audio signal.
package clocktower
import (
"log"
"time"
)
// GetLiveMinutes returns a channel, on wh... |
<?php
/**
* Year Delta
*
* @author Rob Caiger <rob@clocal.co.uk>
*/
namespace Common\Form\Elements\Custom\Traits;
/**
* Year Delta
*
* @author Rob Caiger <rob@clocal.co.uk>
*/
trait YearDelta
{
public function setOptions($options)
{
parent::setOptions($options);
// set Min/Max Year ba... |
#!/bin/bash
export FFEAD_CPP_PATH=${IROOT}/ffead-cpp-6.0-sql
export LD_LIBRARY_PATH=${IROOT}/:${IROOT}/lib:${FFEAD_CPP_PATH}/lib:/usr/local/lib:$LD_LIBRARY_PATH
cd $IROOT/lang-server-backends/v/pico.v
cp -f ${FFEAD_CPP_PATH}/web/t3/config/cachememory.xml ${FFEAD_CPP_PATH}/web/t3/config/cache.xml
sed -i 's|"TeBkUmLpq... |
[`Haldayne\Fox`][1] provides algorithm strategies built using function
objects. What's this mean?
Many algorithms are generic. That is, the way the algorithm functions is
independent of what the algorithm does to the underlying data. Let's take a
specific example: `array_sum` and `implode`. How do these work? They ite... |
---
layout: event
title: NCL online registration begins Feb 26, 2018
image_path: /img/ncl.png
---
### NCL will open the registration at Februrary 26.
<style>
img {
width: 100%;
height: auto;
}
</style>
Description:
NCL will open the registration from Februray 26 to March 25. So, mark your calender if you are ... |
<?php
$this->data['header'] = $this->t($this->data['headerString']);
$this->includeAtTemplateBase('includes/header.php'); ?>
<h2><?php echo $this->data['header']; ?></h2>
<p><?php echo $this->t('metadata_intro'); ?></p>
<?php if (isset($this->data['metaurl'])) { ?>
<p><?php echo($this->t('metadata_xmlurl', ... |
package util.android.okhttp;
import android.util.Log;
import com.squareup.okhttp.Headers;
import com.squareup.okhttp.Interceptor;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.ResponseBody;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import okio.Buffer;
/**
* <p>Inter... |
package web
import (
"html/template"
"io"
"net/http"
"strconv"
"broadcastle.co/code/lakuh/pkg/db"
"github.com/labstack/echo"
"github.com/labstack/echo/middleware"
"github.com/sirupsen/logrus"
"github.com/spf13/viper"
)
var e *echo.Echo
// Web starts the web interface.
func Web() {
db.Init()
defer db.Clo... |
// Copyright (c) 2022 Miroslav Bauer
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
import React, { FC, Fragment } from 'react';
import { Label, LabelProps } from 'semantic-ui-react';
import { registerSimpleComponent } from '../utils';
type LabelSubject = {
/** Interna... |
Before do
@default_user = { :email => 'foobar@example.com', :password => 'default' }
end
|
class ForgeAuthController < ApplicationController
# Set a link to login to Autodesk account
def login
# callback_url is created from current base_url and the callback action path
callback_url = request.base_url + forge_login_callback_path
@login_url = ForgeAuth.prepare_login_url(callback_url)
end
... |
using System;
namespace IdentityUtils.Core.Contracts.Roles
{
/// <summary>
/// Properties that all role domain transfer objects need to implement.
/// </summary>
public interface IIdentityManagerRoleDto
{
Guid Id { get; set; }
string Name { get; set; }
string NormalizedName... |
require 'open-uri'
class MyLogger < Logger
alias write <<
end
class FixtureServer < Struct.new(:logger)
def initialize(*args)
super
@fails = 0
end
def call(env)
req = Rack::Request.new(env)
res = Rack::Response.new
if adjusted_fails?(req)
res.write("OK")
else
if @fails >... |
package com.htc.wallet.skrsdk.applink;
import static com.htc.wallet.skrsdk.applink.AppLinkConstant.FLOW_TYPE_RESTORE;
import static com.htc.wallet.skrsdk.applink.AppLinkConstant.KEY_ADDRESS_SIGNATURE;
import static com.htc.wallet.skrsdk.applink.AppLinkConstant.KEY_BACKUP_TARGET_NAME;
import static com.htc.wallet.skrsd... |
using FluentAssertions;
using Microsoft.Extensions.Configuration;
using Xunit;
using Xunit.Abstractions;
namespace Application.UnitTests
{
/// <summary>
/// Class FactorialTests.
/// Tests Factorial class
/// </summary>
public class FactorialTest
{
private readonly ITestOutputHelper _output;
/// <... |
use std::borrow::{Borrow, Cow};
use std::collections::HashMap;
use std::fmt;
use std::iter::FromIterator;
use std::hash::{BuildHasher, Hash};
use std::rc::Rc;
use std::sync::Arc;
use serde::de;
use serde::Deserializer;
/// Allows access to the query parameters in an url or a body.
///
/// Use one of the listed implem... |
ymaps.ready(function () {
var myMap = new ymaps.Map('YMapsID', {
center: [55.733835, 37.588227],
zoom: 12,
// Обратите внимание, что в API 2.1 по умолчанию карта создается с элементами управления.
// Если вам не нужно их добавлять на карту, в ее параметрах передайте пустой массив в п... |
---
layout: post
title: "EFLAGS -- PF 标志分析"
date: 2018-09-03 22:40:30 +0800
categories: [MMU]
excerpt: EFLAGS -- PF 标志分析.
tags:
- EFLAGS
- ZF
---
**Architecture: Intel X86**
**Kernel: Linux 1.0.1.2**

##... |
# Prune 1
python res110prune.py \
--dataset cifar10 \
-v I \
--model ../../../iclr2021_checkpoints/norm_pruning/filters/cifar/cifar10/resnet_110.pt \
--save ../../../result/norm_pruning/filters/resnet110/lr_rewind/prune_1 &&
python main_finetune.py \
--refine ../../../result/norm_pruning/filters/resnet110/lr_rewind/pr... |
module Floorplanner
module Models
class Template < Model
element :template_id
element :name
end
end
end
|
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library analyzer_cli.src.plugin.plugin_manager;
import 'dart:io';
import 'package:analyzer/src/plugin... |
package dev.khvh.jacado.setup;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import dev.khvh.jacado.Model;
import dev.khvh.jacado.data.Document;
import dev.khvh.jacado.data.Indexed;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
@Getter
@Setter
@Accessors(chain = tru... |
package com.kylecorry.trail_sense.tools.maps.infrastructure.create
import android.content.Context
import android.net.Uri
import com.kylecorry.trail_sense.shared.extensions.onIO
import com.kylecorry.trail_sense.shared.io.Files
import com.kylecorry.trail_sense.tools.maps.domain.Map
import com.kylecorry.trail_sense.tools... |
import * as React from 'react';
import PropTypes from 'prop-types';
import {
ThemeProvider as MuiThemeProvider,
createTheme as createLegacyModeTheme,
unstable_createMuiStrictModeTheme as createStrictModeTheme,
} from '@mui/material/styles';
import { deepmerge } from '@mui/utils';
import useMediaQuery from '@mui/m... |
/*****************************************************************************/
/* I/O definitions */
/* */
/* Copyright (C) 2016 Laszlo Arvai */
... |
package com.mistraltech.smogen.codegenerator
import com.intellij.codeInsight.actions.AbstractLayoutCodeProcessor
import com.intellij.codeInsight.actions.OptimizeImportsProcessor
import com.intellij.codeInsight.actions.RearrangeCodeProcessor
import com.intellij.codeInsight.actions.ReformatCodeProcessor
import com.intel... |
package zapper
import (
"time"
)
const (
TheNanosecond time.Duration = time.Nanosecond
TheSecond = time.Second
TheMinute = time.Minute
TheHour = time.Hour
TheDay = time.Hour * 24
TheMonth = time.Hour * 720
TheYear ... |
<?php
namespace Studihub\Http\Controllers\Admin;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Intervention\Image\Facades\Image;
use Studihub\Http\Controllers\AdminBaseController;
use Studihu... |
#pragma once
#include "DamageType.h"
namespace Battle
{
/**
* @brief Instance of damage
*
*/
class DamageInstance
{
public:
/**
* @brief Constructor
*
* @param value damage value
* @param damageType damage type
*/
DamageInstance(int value, DamageType damageType);
/**
* @... |

---
Este repositorio incluye todo el código implementado por Unlock, incluyendo los contratos inteligentes y la aplicación web que se encuentra en https://unlock-protocol.com.
> Unlock es un p... |
#include "custom.h"
extern int HorV ;
extern int nPinLocs ;
extern UNCOMBOX *UCptr ;
typedef struct flogbox {
int pin ;
int placed ;
int finalx ;
int finaly ;
}
FBOX ,
*FBOXPTR ;
extern FBOXPTR lArray ;
/*
* We have here a little function which
* takes as an argument the given UCpin and ret... |
#![allow(non_snake_case)]
use std::cell::RefCell;
use std::rc::Rc;
use chrono::prelude::*;
use tracing::info;
use crate::entity::{Entity, EntityId};
use crate::location::Location;
use crate::messaging::{Message, MessageDispatcher, MessageReceiver};
use crate::state::{State, StateMachine};
const COMFORT_LEVEL: i64 =... |
#!/usr/bin/perl
#USAGE: perl 16_map_count.pl GF18 /mnt/b2/home4/arc/rm975/wgs/pedigree/GF18/variant_prio/indel/het2 3
my $famname = $ARGV[0]; #GF18
my $samplepath = $ARGV[1];# "/mnt/b2/home4/arc/rm975/wgs/pedigree/GF18/variant_prio/indel/het2";
my $total_samples = $ARGV[2]; # 3 (nap+map) samples
my @cas... |
#pragma once
#include "op.h"
namespace ctranslate2 {
namespace ops {
class MatMul : public BinaryOp {
public:
MatMul(bool trans_a = false, bool trans_b = false, float alpha = 1);
void operator()(const StorageView& a,
const StorageView& b,
StorageView&... |
2020年12月03日05时数据
Status: 200
1.杨幂 刘诗诗你干嘛抢我台词
微博热度:220857
2.女子23年前分配工作至今未有通知
微博热度:120826
3.肯德基疯狂星期四
微博热度:120510
4.吴昕 觉得自己太美了
微博热度:118186
5.COSMO盛典
微博热度:99552
6.关晓彤能不能换个造型师
微博热度:89437
7.我爱美女
微博热度:88094
8.深圳新增1例新冠阳性病例
微博热度:84708
9.小风暴
微博热度:71385
10.华春莹回应全球疫情将迎来寒冷冬天
微博热度:68476
11.令人心动的offer
微博热度:67721... |
/*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*****************************************************************... |
interface ErrorHandler {
error(error: any): void;
}
export default ErrorHandler;
|
import React, { Component } from "react";
import {
HashRouter as Router,
Route,
Switch,
Redirect
} from "react-router-dom";
import { Badge, Container } from "reactstrap";
import ACRanking from "./pages/ACRanking";
import FastestRanking from "./pages/FastestRanking";
import FirstRanking from "./pages/FirstRanki... |
# frozen_string_literal: true
require 'resolv'
module Legitbot
module Config
module Resolver # :nodoc:
def resolver_config(options = nil)
@resolver_config = options
end
def resolver
@resolver_config ||= Legitbot.resolver_config
@resolver ||= Resolv::DNS.new @resolver_c... |
<?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Http\Request;
use DB;
class clientesController exten... |
require_cocoa 'Person'
require_cocoa 'NSObject'
person = Person.alloc.init
person.setName_('anan')
person.setAge_(2)
message = person.__say__something_("happy Niu year!")
puts message
finished = Proc.new {|name, age| "I am #{name}, #{age} years old" };
finished_block = finished.to_cocoa_block("NSString *, NSString *,... |
pub const ARCHIVAR_FILE_NAME: &str = ".archivar";
pub const ARCHIVE_FOLDER_NAME: &str = ".archive";
pub const TEMPLATE_FILE_NAME: &str = ".template.yaml";
pub const TEMPLATE_NAMESPACE: &str = ".templates";
pub const PROJECT_FILE_NAME: &str = ".archivarproject";
pub const GITKEEP_FILE_NAME: &str = ".gitkeep";
|
<?php
namespace LdapRecord\Models\Concerns;
trait SerializesAndRestoresPropertyValues
{
/**
* Get the property value prepared for serialization.
*
* @param string $property
* @param mixed $value
*
* @return mixed
*/
protected function getSerializedPropertyValue($property, $... |
package org.plugin.dot;
import com.intellij.testFramework.ParsingTestCase;
public class DotParsingTest extends ParsingTestCase {
public DotParsingTest() {
super("", "dot", new DotParserDefinition());
}
public void testParsingTestData() {
doTest(true);
}
public void testNumeralIDTestData() {
do... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
#pragma once
#include <Windows.h>
#include <vector>
#include <filesystem>
#include <optional>
#include <string>
typedef INT(*hostfxr_get_native_search_directories_fn)... |
package dsx.bps.DBclasses.core
import dsx.bps.core.datamodel.PaymentStatus
import org.jetbrains.exposed.dao.IntIdTable
import org.jetbrains.exposed.sql.Column
import java.math.BigDecimal
object PaymentTable: IntIdTable() {
val status = enumeration("status", PaymentStatus::class)
val fee: Column<BigDecimal?> =... |
"""
A file containing code that was recently rendered obsolete. Identical in function
to a recycling bin.
"""
# Taken from MultiPathDemo.jl
"""
Return average average value for an array of cost vectors.
If the length of the input is less than 1, mean is not well defined,
the key values returned are 'nothing'.
"""
func... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|// Copyright (C) 2013 The Android Open Source Project
end_comment
begin_comment
comment|//
end_comment
begin_comment
comment|// Licensed under the Apache License, Version 2.0 (the "License");
end_comment
begin_comment
comment|// you m... |
@using Trirand.Web.Mvc
@model ynhnTransportManage.Models.ParaGridModel
@{
ViewBag.Title = "参数设置";
}
@Html.Trirand().JQGrid(Model.ParasGrid, "ParasGrid") |
package styxproto
import (
"bufio"
"errors"
"io"
"io/ioutil"
)
var (
errFillOverflow = errors.New("cannot fill buffer past maxInt")
)
// Design goals of the parser:
// - minimize allocations
// - resilient to malicious input (invalid/overlarge sizes)
// - streaming: a 4GB (max uint32) Twrite should not ta... |
using Mono.Cecil;
using Mono.Cecil.Cil;
using System;
using System.IO;
using System.Linq;
internal static class PatcherHelper
{
public delegate void InsertInstDelegate(Instruction newInst);
public static AssemblyDefinition GetAssemblyDefinition(ReiPatcher.Patch.PatcherArguments args, string assemblyName)
... |
---
layout: post
title: "PolyIcon: Polymer iconset generator"
date: 2016-09-14 20:50:00
categories: software polymer
---
I've just published [PolyIcon](http://polyicon.com), a web based utility
for building customized Polymer iconsets.
As [Polymer 1.0](https://www.polymer-project.org/1.0/) is young, its
toolbox i... |
#!/bin/sh
tarfile="wmq-admin-$1.tar.gz"
echo "开始打包$tarfile..."
export GOARCH=amd64
export GOOS=linux
go build ./
bee pack
mv wmq-admin.tar.gz $tarfile
|
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\User;
use Auth;
use DB;
class Order extends Model
{
protected $guarded = [];
public function proposals() {
return $this->hasMany(Proposal::class);
}
public function comments() {
return $this->hasMany(Comment::cl... |
# Intersection Observers
[Explainer Doc](./explainer.md)
[Draft Spec](https://szager-chromium.github.io/IntersectionObserver/)
|
package colly
import (
"net/http/cookiejar"
"regexp"
"sync"
"sync/atomic"
// core
config "github.com/sniperkit/colly/pkg/config"
debug "github.com/sniperkit/colly/pkg/debug"
storage "github.com/sniperkit/colly/pkg/storage"
// plugins
robotstxt "github.com/sniperkit/colly/plugins/data/format/robotstxt"
)
/... |
import React from "react";
import clsx from "clsx";
import PropTypes from "prop-types";
import { makeStyles } from "@material-ui/styles";
import LinearProgress from "@material-ui/core/LinearProgress";
const useStyles = makeStyles((theme) => ({
taskProgress: {
display: "flex",
alignItems: "center",
},
pro... |
// This code was taken from https://github.com/gimli-rs/moria/ , which is currently
// not released on crates.io.
#![warn(clippy::all)]
use object::Object;
use std::fs;
use std::path::{Path, PathBuf};
use uuid::Uuid;
#[cfg(target_os = "macos")]
use crate::moria_mac_spotlight::locate_dsym_using_spotlight;
#[cfg(not(... |
//
//
// LICENSE: MIT
// AUTHOR: daeh@tuta.io
// TITLE:
// DESCRIPTION: This Class is used as a global state
//
import 'package:flutter/material.dart';
import 'package:countdown/countdown.dart';
import "../services/database.dart";
import "../model/time.dart";
class AppState with ChangeNotifier {
Duration resetValue... |
"""
Implements a basic MLP network and the soft Q learning agent
"""
from abc import ABC
import torch
import torch.nn.functional as f
import torch.nn as nn
import numpy as np
import random
class MlpNetwork(nn.Module):
"""
Basic feedforward network uesd as building block of more complex policies
"""
... |
# 二网
**二网**=**二级网点**=(经销商4S店之外的,其他卖车渠道中的)二级网点
4S店的下属有2种:
* 分支机构:一般是属于4S店的直营店,只卖自己品牌。4S店需要车厂申请才可以开直营店的。有的也叫做2S店(销售+保养),有的直营店也只销售不保养
* 二级网点:会和多个4S店合作,多品牌车都卖
## 特点
二级网点:90%以上都是,把客户带过来,就下单成交了
所以 -> 从二网过来4S店的客户,往往都是直接来提车的(而没有普通客户的有望变订单变交车的完整的流程)
* 直营店
* 4S店的合作伙伴
|
<?php
final class GWS_Facebook extends GWS_Command
{
public function execute(GWS_Message $msg)
{
$fbUID = $msg->readString();
$fbExpire = time() + $msg->read32u();
$fbAccessToken = $msg->readString();
$fb = Module_Facebook::instance()->getFacebook();
$fb->setDefa... |
// IJSONSerializable.cs created with MonoDevelop
// User: ben at 5:17 P 17/03/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
using System;
using System.Collections.Generic;
namespace EmergeTk
{
public interface IJSONSerializable
{
bool IsDeserializing { get; set; }
Di... |
<?php
namespace spkm\isams\Tests\Unit;
use spkm\isams\Controllers\CurrentPupilController;
use spkm\isams\School;
use spkm\isams\Tests\TestCase;
use spkm\isams\Wrappers\Pupil;
class CurrentPupilTest extends TestCase
{
/**
* @var School
*/
protected $school;
/**
* @var array
*/
pro... |
# diagram-js Minimap
[](https://travis-ci.com/bpmn-io/diagram-js-minimap)
A minimap for diagram-js.

## Features
* See the whole diagram in the minimap
* Highlight current viewport
* Click/drag/s... |
using Kickstart.Interface;
namespace Kickstart.Pass2.CModel.Proto
{
public class CProtoRpcRef : CPart
{
public CProtoRpc ProtoRpc { get; set; }
public CProtoRpcRefDataDirection Direction { get; set; }
public override void Accept(IVisitor visitor)
{
visitor.Visit(th... |
create table papel_permissao (
ppe_pap_id uuid not null,
ppe_per_id uuid not null,
constraint pk_papel_permissao primary key (ppe_pap_id, ppe_per_id),
constraint fk_ppe_pap_id foreign key (ppe_pap_id) references papel(pap_id) on update cascade on delete cascade,
constraint fk_ppe_per_id foreign key (ppe_per_id) re... |
package quuux.infinity.zui.content
import xml.NodeSeq
import edu.umd.cs.piccolo.nodes.PText
import java.text.SimpleDateFormat
import quuux.infinity.zui.Utils._
import java.util.Calendar
import java.awt.{Color, Font}
import quuux.infinity.zui.content.IObject._
import quuux.infinity.Settings
import java.awt.geom.Point2D... |
package kozyriatskyi.anton.sked.data.repository
enum class FirstDayOfWeekMode {
Monday, Sunday, LocaleBased
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BelajarMVC.View
{
public static class Message
{
public static void Info(string message)
{
MessageBox.Show(message, "Info", MessageBoxBut... |
import PrismicDom from 'prismic-dom';
import {
CALLOUT_WIDTH,
weights,
fonts,
spacing,
lineHeights,
CONTENT_ITEM_SPACING,
letterSpacing,
} from '~/lib/theme';
import Container from '~/components/Container';
const Subheading = ({ item: { size, text } }) => {
const HeadingSize = size === 'small' ? 'h4' :... |
#pragma once
#include "math.hpp"
#include "rect.hpp"
#include "tile.hpp"
#include <cstdint>
#include <cstddef>
namespace boken {
enum class tribool {
no, maybe, yes
};
namespace detail {
using tile_type_reader = std::integral_constant<int, 0>;
using tile_id_reader = std::integral_constant<int, 1>;
} // name... |
This is simple frontend Omdb Api Search created with react, redux, react-router for recruitment task.
## Installation
```bash
git clone https://github.com/ChrystianSchutz/Omdb-Api-Search.git
cd Omdb-Api-Search
yarn
```
## Get started
```bash
yarn start
```
|
//
// SaslMechanism.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2019 Xamarin Inc. (www.xamarin.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 Softw... |
package net.sansa_stack.rdf.common.partition.layout
import scala.reflect.runtime.universe.{Type, typeOf}
import org.apache.jena.graph.Triple
import net.sansa_stack.rdf.common.partition.core.RdfPartitionerDefault
import net.sansa_stack.rdf.common.partition.schema.SchemaStringDecimal
object TripleLayoutDecimal
ext... |
<?php
/**
* StatusHistory
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package ShineISP
*
* @author Shine Software <info@shineisp.com>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class StatusHistory extends BaseStatusHistory
{
/**
* Insert... |
import 'package:cdli_tablet_app/constants/constants.dart';
import 'package:flutter/material.dart';
import 'package:flutter_platform_widgets/flutter_platform_widgets.dart';
import 'package:cdli_tablet_app/models/search_model.dart';
class SearchScreen extends StatefulWidget {
@override
_SearchScreenState createState... |
package io.github.marcocipriani01.thunderfocus.config;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import io.github.marcocipriani01.thunderfocus.board.ArduinoPin;
import io.github.marcocipriani01.thunderfocus.board.Focuser;
import io.github.marcocipriani01.thunderfocus... |
package upAnalysis.summary.ops;
import java.util.HashMap;
import java.util.HashSet;
import upAnalysis.summary.ASTOrderAnalysis;
import upAnalysis.summary.Path;
import upAnalysis.summary.summaryBuilder.rs.ParamRS;
import upAnalysis.summary.summaryBuilder.rs.ResolvedSource;
import edu.cmu.cs.crystal.tac.model.... |
---
layer: page
title: My resume
permalink: /resume/
---
Name: Watchira Mingkhwan
# Education
Bs.C. Computer Science, Faculty of Computer Science, Ubon Ratchathani Ratchabhat Universitry
|
package no.nav.familie.ba.sak.integrasjoner.økonomi
import io.mockk.MockKAnnotations
import io.mockk.called
import io.mockk.spyk
import io.mockk.verify
import no.nav.familie.ba.sak.common.DbContainerInitializer
import no.nav.familie.ba.sak.config.TaskRepositoryWrapper
import no.nav.familie.ba.sak.config.e2e.DatabaseCl... |
#------------------------------------------------------------------------------
# File: Vorbis.pm
#
# Description: Read Ogg Vorbis audio meta information
#
# Revisions: 2006/11/10 - P. Harvey Created
# 2011/07/12 - PH Moved Ogg to a separate module and added Theora
#
# References: 1) http://... |
# frozen_string_literal: true
class Api::V1::SpotsController < Api::V1::BaseController
MAX_SPOTS_COUNT = 500
def index
@spots = Spot.spots_in_range(spot_search_params)
max_spots = params[:max_spots].try(:to_i) || MAX_SPOTS_COUNT
@status = 'OK'
@status = 'TOO_MUCH_SPOTS' if @spots.size > max_spots
... |
# AppsManager
随着手机中应用种类、数量的日益繁多,人们容易沉迷或迷失于手机,希望有一款应用管理类应用,能够帮助人们摆脱现状态,从而认识到手机是一种工具而不是一种生活。
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.