code
stringlengths
4
1.01M
language
stringclasses
2 values
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("BB...
Java
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CharacterModelLib.Models { public class CharacterProject : NotifyableBase { public CharacterProject() { characterColle...
Java
import uuid from django.db import models from django.conf import settings from django.contrib.auth.models import AbstractUser from django.contrib.auth.models import BaseUserManager from django.utils import timezone from accelerator_abstract.models import BaseUserRole from accelerator_abstract.models.base_base_profile...
Java
from setuptools import setup, find_packages from codecs import open import os def read(*paths): """Build a file path from *paths* and return the contents.""" with open(os.path.join(*paths), 'r') as f: return f.read() setup( name='transposer', version='0.0.3', description='Transposes column...
Java
package experiments; import java.io.File; import java.util.Arrays; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import data.StateImpl; import datahandler.word2vec.MedicalSequenceIterator; import state2vec.State2Vec; public class State2VecTest { protected static final Logger log...
Java
#ifndef AC_GEGBLABB_H #define AC_GEGBLABB_H // // (C) Copyright 1993-2010 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // tha...
Java
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBU...
Java
// // 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" @class KFContact; @protocol IKFContactExt <NSObject> @optional - (void)onKFContactHeadImgUpdate:(KFContact *)arg1; - (void)onModifyKFContact:(KFContact *)arg...
Java
package lv.emes.libraries.utilities.validation; /** * Actions for error that occur in validation process. * * @author eMeS * @version 1.2. */ public interface MS_ValidationError<T> { MS_ValidationError withErrorMessageFormingAction(IFuncFormValidationErrorMessage action); /** * Returns message of v...
Java
#ifndef _absnodeaction_h_ #define _absnodeaction_h_ #include "cocos2d.h" using namespace cocos2d; #include <string> #include <iostream> #include <vector> using namespace std; namespace uilib { class TouchNode; enum EaseType { EaseNone, EaseIn, EaseOut, EaseInOut, EaseExponentialIn, EaseExponen...
Java
window.ImageViewer = function(url, alt, title){ var img = $('<img />').attr('src', url).attr('alt', title).css({ display: 'inline-block', 'max-width': '90vw', 'max-height': '90vh' }); var a = $('<a></a>').attr('target', '_blank') .attr('title', title) .attr('h...
Java
--- layout: post.html title: "Fundraising for PyLadies for PyCon 2015" tag: [PyCon] author: Lynn Root author_link: http://twitter.com/roguelynn --- **TL;DR**: [Donate](#ways-to-donate) to PyLadies for PyCon! It's that time again! With [PyCon 2015][0] planning in high gear, PyLadies is revving up to raise funds to hel...
Java
// Copyright (c) 2017-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CONSENSUS_TX_VERIFY_H #define BITCOIN_CONSENSUS_TX_VERIFY_H #include "amount.h" #include <stdint.h> #includ...
Java
--- layout: post title: Week three and implementing twig template --- The week three of coding period has ended and this time I learnt about something very new to me, Twig template. In Drupal 8 Twig has replaced PHPTemplate as default templating engine which meant that the theming of module had to be done from beginni...
Java
#include <compiler.h> #if defined(CPUCORE_IA32) && defined(SUPPORT_MEMDBG32) #include <common/strres.h> #include <cpucore.h> #include <pccore.h> #include <io/iocore.h> #include <generic/memdbg32.h> #define MEMDBG32_MAXMEM 16 #define MEMDBG32_DATAPERLINE 128 #define MEMDBG32_LEFTMARGIN 8 typedef struct...
Java
// // opjlib.h // opjlib // // Created by Rich Stoner on 11/26/13. // Copyright (c) 2013 WholeSlide. All rights reserved. // #import <Foundation/Foundation.h> @interface opjlib : NSObject @end
Java
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-11-01 20:02 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('phone_numbers', '0001_initial'), ...
Java
package ch.spacebase.openclassic.api; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.HttpURLConnection; i...
Java
#! /bin/bash BASHRC="$HOME/.bashrc" echo "# java setting" >> $BASHRC echo "export JAVA_HOME=\$(/usr/libexec/java_home)" >> $BASHRC echo "" >> $BASHRC
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParkingRampSimulator { public class ParkingRamp : ParkingConstruct { [Newtonsoft.Json.JsonIgnore] public List<ParkingFloor> Floors { get; private set; } public ...
Java
package org.gojul.gojulutils.data; /** * Class {@code GojulPair} is a simple stupid pair class. This class is notably necessary * when emulating JOIN in database and such a class does not exist natively in the JDK. * This object is immutable as long as the object it contains are immutable. Since * this object is n...
Java
using System.Collections.Generic; using System.Diagnostics.Contracts; using Microsoft.CodeAnalysis; namespace ErrorProne.NET.Extensions { public static class SyntaxNodeExtensions { public static IEnumerable<SyntaxNode> EnumerateParents(this SyntaxNode node) { Contract.Requires(node...
Java
/*-------------------------------------------- Created by Sina on 06/05/13. Copyright (c) 2013 MIT. All rights reserved. --------------------------------------------*/ #include "elements.h" #include "mpi_compat.h" #include "gcmc.h" #include "memory.h" #include "random.h" #include "neighbor.h" #include "ff_md.h" #inc...
Java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Java
#include <ESP8266WiFi.h> #include <PubSubClient.h> #include "mqtt.h" // Connect to MQTT and set up subscriptions based on configuration void MQTT::connect() { // Connect to broker this->mqttClient.setServer(this->host, this->port); mqttClient.connect(this->clientId); Serial.print("Connected to MQTT,...
Java
using System.Collections.Generic; namespace SmartMeter.Business.Interface.Mapper { public interface IMapTelegram { Persistence.Interface.ITelegram Map(ITelegram businessTelegram); Business.Interface.ITelegram Map(Persistence.Interface.ITelegram persistenceTelegram); IEnumerable<ITelegram> Map(IEnu...
Java
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>NTU D3js HW01</title> <link rel="stylesheet" type="text/css" href="main.css"> <script src="https://d3js.org/d3.v3.min.js"></script> </head> <body> <!-- page 4 --> 關&nbsp;&nbsp;關&nbsp;&nbsp;雎&nbsp;&nbsp;鳩<br> 在&nbsp;&nbsp;河&nbsp;&nbsp;之&nbsp;&nb...
Java
define("helios/Helios-Debugger", ["amber/boot", "amber_core/Kernel-Objects", "helios/Helios-Core", "helios/Helios-Workspace"], function($boot){ var smalltalk=$boot.vm,nil=$boot.nil,_st=$boot.asReceiver,globals=$boot.globals; smalltalk.addPackage('Helios-Debugger'); smalltalk.packages["Helios-Debugger"].transport = {"ty...
Java
MIME-Version: 1.0 Server: CERN/3.0 Date: Monday, 16-Dec-96 23:33:46 GMT Content-Type: text/html Content-Length: 3390 Last-Modified: Tuesday, 20-Feb-96 22:21:50 GMT <html> <head> <title> CodeWarrior for CS100 </title> </head> <body> <h2> Setting Up CodeWarrior for CS100 </h2> CodeWarrior can be run on your o...
Java
<div ng-class="{ invalid: !ngDisabled && !valid }"> <div class="form-group"> <label ng-show="ngLabel" class="control-label">{{ngLabel}}<small ng-show="ngTip">({{ngTip}})</small></label> <div class="row coordinates-container"> <div class="col-sm-6 form-control-feedback-container" ng-clas...
Java
def calc(): h, l = input().split(' ') mapa = [] for i_row in range(int(h)): mapa.append(input().split(' ')) maior_num = 0 for row in mapa: for col in row: n = int(col) if (n > maior_num): maior_num = n qtd = [0 for i in range(maior_num + 1)] for row in mapa: for col in row: n ...
Java
package com.stulsoft.ysps.pduration import scala.concurrent.duration._ /** * @author Yuriy Stul. * Created on 9/15/2016. */ object PDuration { def main(args: Array[String]): Unit = { println("==>main") var fiveSec = 5.seconds println(s"fiveSec=$fiveSec") fiveSec = 15.secon...
Java
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QApplication> #include <QMainWindow> #include <QTextEdit> #include <QMenu> #include <QMenuBar> #include <QAction> #include <QDialog> #include <QDesktopWidget> #include <QMdiArea> #include <QMdiSubWindow> #include <QDockWidget> #include <QTreeWidget> #include <QProces...
Java
/** * Error for services to through when they encounter a problem with the request. * Distinguishes between a bad service request and a general error */ function ServiceError(message) { this.name = "ServiceError"; this.message = (message || ""); } ServiceError.prototype = Object.create(Error.prototype, { construc...
Java
import shaven from 'shaven' const svgNS = 'http://www.w3.org/2000/svg' export default function (svg, config) { const yDensity = 0.1 const yRange = config.max.value - config.min.value const graphHeight = config.height * 0.8 const graphWidth = config.width * 0.95 const coSysHeight = config.height * 0.6 con...
Java
require File.dirname(__FILE__) + '/spec' class Object class << self # Lookup missing generators using const_missing. This allows any # generator to reference another without having to know its location: # RubyGems, ~/.rubigen/generators, and APP_ROOT/generators. def lookup_missing_generator(class_id...
Java
--- layout: post_n title: 《Rust权威指南》笔记 date: 2021-11-20 categories: - Reading description: 陆陆续续将《Rust权威指南》看完了,文中的例子全部按自己的理解重新实现了一遍。回望来途,可谓困难坎坷,步履艰辛;即是如此,也收获满满。Rust语言的学习给我耳目一新的感觉,上一次对学习语言有这种感觉还是在Haskell的学习中。他完全颠覆我理解的语言设计,在除了垃圾回收语言和内存自主控制语言,竟然还有如此方式来保证内存安全。震撼的同时,也感觉整体学习非常吃力,学习曲线异常陡峭。虽然把整本书都看完了,但还有非常多的细节似懂非懂,也无法完全不参照例子自...
Java
<sup><sup>*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*</sup></sup> #### 0.9.17 - 2020-05-31 - [17 commits](https://github.com/magx2/jSupla/compare/v0.9.14...v0.9.17) by [Martin Grzeslowski](https://github.com/magx2) - published to [![Bintray](https://img.shields.io/badge/Bintray-0.9....
Java
import Ember from "ember"; export default Ember.Route.extend({ model: function() { return this.store.query('answer', {correct: true}); } });
Java
<?php /** * This file is part of the PHPMongo package. * * (c) Dmytro Sokil <dmytro.sokil@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sokil\Mongo\Validator; /** * Alphanumeric values validator * * @a...
Java
<?php /** * swPagesAdmin actions. * * @package soleoweb * @subpackage swPagesAdmin * @author Your name here * @version SVN: $Id: actions.class.php 8507 2008-04-17 17:32:20Z fabien $ */ class baseSwBlogTagsAdminActions extends sfActions { public function executeIndex($request) { $this->sw_blo...
Java
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double FlowCoreVersionNumber; FOUNDATION_EXPORT const unsigned char FlowCoreVersionString[];
Java
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { 'use strict'; return "/**\n\ * Converts an RGB color to HSB (hue, saturation, brightness)\n\ * HSB <-> RGB conversion with minimal branching: {@link http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl}\...
Java
# Intro This is the documentation of [Weave.jl](http://github.com/mpastell/weave.jl). Weave is a scientific report generator/literate programming tool for Julia. It resembles [Pweave](http://mpastell.com/pweave) and, Knitr and Sweave. **Current features** * Noweb, markdown or script syntax for input documents. * E...
Java
/** * Demo App for TopcoatTouch */ $(document).ready(function() { <% if (kitchenSink) { if (mvc) { %> // Create the topcoatTouch object var tt = new TopcoatTouch({menu: [{id: 'help', name: 'Help'}, {id: 'info', name: 'Info'}, {id: 'about', name: 'About'}]}); tt.on(tt.EVENTS.MENU_ITEM_CLICKED, functi...
Java
use std::borrow::{Borrow, Cow}; use std::ffi::{CStr, CString}; use std::fmt; use std::mem; use std::ops; use std::os::raw::c_char; use std::ptr; const STRING_SIZE: usize = 512; /// This is a C String abstractions that presents a CStr like /// interface for interop purposes but tries to be little nicer /// by avoiding...
Java
const sizeOf = { object: function () { return function (object) { let $start = 0 $start += 1 * object.array.length + 2 return $start } } () } const serializer = { all: { object: function () { return function (object, $buffer, $start)...
Java
#body { width: auto; } /* Coding Table */ .table_stat { z-index: 2; position: relative; } .table_bar { height: 80%; position: absolute; background: #DEF; /* cornflowerblue */ z-index: -1; top: 10%; left: 0%; } #agreement_table, #tweet_table { font-size: 10pt; } #agreement_table ...
Java
--- layout: post title: Mengerjakan Dapodik 2016 dalam Linux tags: [dapodik, virtualbox, linux] comments: true --- Hari ini Dapodik versi 2016 telah diluncurkan. Jika boleh berpendapat, mestinya Dapodik kembali menggunakan _Software as a service_ layaknya Dapodikdas generasi awal atau [Padamu Negeri](http://padamu.s...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Submission 944</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> <img src="gallery/subm...
Java
@charset "UTF-8"; /* グレー系 */ /* シアン系 */ /* マージン、パディング */ /* フォントサイズ */ /* 行の高さ */ /* グレー系 */ /* シアン系 */ /* マージン、パディング */ /* フォントサイズ */ /* 行の高さ */ /* line 6, /vagrant/app/assets/stylesheets/staff/container.css.scss */ div#wrapper div#container h1 { margin: 0; padding: 9px 6px; font-size: 16px; font-weight: nor...
Java
<?php namespace Fannan\MembersModule\Member; use Anomaly\Streams\Platform\Database\Seeder\Seeder; class MemberSeeder extends Seeder { /** * Run the seeder. */ public function run() { // } }
Java
<?php namespace InfinityGames\InfinityBundle\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\HttpKernel\DependencyInjection\Extension; use Symfony\Component\DependencyInjection\Loader; /** * This is the class that loads...
Java
import modelExtend from 'dva-model-extend' import { create, remove, update } from '../services/user' import * as usersService from '../services/users' import { pageModel } from './common' import { config } from 'utils' const { query } = usersService const { prefix } = config export default modelExtend(pageModel, { ...
Java
#!/bin/bash cd "$(dirname "$BASH_SOURCE")" || { echo "Error getting script directory" >&2 exit 1 } ./hallo.command sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Java
<?php class C_admin extends CI_Controller { public function __construct() { parent::__construct(); if($this->session->userdata('level') != 'admin') { redirect('auth'); } } public function index() { $data['username'] = $this->session->userdata('username'); $this->load->view('dashboard_admin', $data); ...
Java
var blueMarker = L.AwesomeMarkers.icon({ icon: 'record', prefix: 'glyphicon', markerColor: 'blue' }); var airportMarker = L.AwesomeMarkers.icon({ icon: 'plane', prefix: 'fa', markerColor: 'cadetblue' }); var cityMarker = L.AwesomeMarkers.icon({ icon: 'home', markerColor: 'red' }); var...
Java
<?php namespace Phossa\Cache; interface CachePoolInterface { } class CachePool implements CachePoolInterface { } class TestMap { private $cache; public function __construct(CachePoolInterface $cache) { $this->cache = $cache; } public function getCache() { return $this->cache; } ...
Java
/** * jspsych plugin for categorization trials with feedback and animated stimuli * Josh de Leeuw * * documentation: docs.jspsych.org **/ jsPsych.plugins["categorize-animation"] = (function() { var plugin = {}; jsPsych.pluginAPI.registerPreload('categorize-animation', 'stimuli', 'image'); plugin.info = ...
Java
<?php /* * This file is part of the Pho package. * * (c) Emre Sokullu <emre@phonetworks.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Pho\Lib\Graph; /** * Holds the relationship between nodes and edges. * *...
Java
package me.august.lumen.data; import me.august.lumen.compile.resolve.data.ClassData; import me.august.lumen.compile.resolve.lookup.DependencyManager; import org.junit.Assert; import org.junit.Test; public class DataTest { @Test public void testClassData() { ClassData data = ClassData.fromClass(String...
Java
<?php /** * CodeBin * * @author CRH380A-2722 <609657831@qq.com> * @copyright 2016 CRH380A-2722 * @license MIT */ /** 配置文件 */ /** 站点域名 */ define("SITEDOMAIN", "{SITE-DOMAIN}"); /** 数据库信息 */ //数据库服务器 define("DB_HOST", "{DB-HOST}"); //数据库用户名 define("DB_USER", "{DB-USER}"); //数据库密码 de...
Java
<?php /** * @package Response * @subpackage Header * * @author Wojtek Zalewski <wojtek@neverbland.com> * * @copyright Copyright (c) 2013, Wojtek Zalewski * @license MIT */ namespace Wtk\Response\Header\Field; use Wtk\Response\Header\Field\AbstractField; use Wtk\Response\Header\Field\FieldInterface; /** * Ba...
Java
--- layout: post author: Najko Jahn title: Max Planck Digital Library updates expenditures for articles published in the New Journal of Physics date: 2015-12-23 15:21:29 summary: categories: general comments: true --- [Max Planck Digital Library (MPDL)](https://www.mpdl.mpg.de/en/) provides [in...
Java
'use strict'; var app = angular.module('Fablab'); app.controller('GlobalPurchaseEditController', function ($scope, $location, $filter, $window, PurchaseService, NotificationService, StaticDataService, SupplyService) { $scope.selected = {purchase: undefined}; $scope.currency = App.CONFIG.CURRENCY; $s...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ons; import ons.util.WeightedGraph; import org.w3c.dom.*; /** * The physical topology of a network refers to he physical layout of devices on * a network, or to the way that the devices on a network are arra...
Java
require File.join [Pluct.root, 'lib/pluct/extensions/json'] describe JSON do it 'returns false for invalid data' do ['', ' ', 'string'].each do |s| expect(JSON.is_json?(s)).to be_false end end it 'returns true for valid data' do expect(JSON.is_json?('{"name" : "foo"}')).to be_true end end
Java
module VhdlTestScript class Wait CLOCK_LENGTH = 2 def initialize(length) @length = length end def to_vhdl "wait for #{@length * CLOCK_LENGTH} ns;" end def in(ports) self end def origin self end end end
Java
--- version: v1.4.13 category: API redirect_from: - /docs/v0.37.8/api/global-shortcut - /docs/v0.37.7/api/global-shortcut - /docs/v0.37.6/api/global-shortcut - /docs/v0.37.5/api/global-shortcut - /docs/v0.37.4/api/global-shortcut - /docs/v0.37.3/api/global-shortcut - /docs/v0.36.12/api/global-shortcut -...
Java
--- uid: SolidEdgeFrameworkSupport.BSplineCurve2d.GetParameterRange(System.Double@,System.Double@) summary: remarks: syntax: parameters: - id: End description: Specifies the end parameter of the curve. - id: Start description: Specifies the start parameter of the curve. ---
Java
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_ #define BASE_TRACE_EVENT_MEMORY_DUMP_MANAGER_H_ #include <stdint.h> #include <map> #include <memory> #in...
Java
class CreateUser < ActiveRecord::Migration def up create_table :users do |t| t.integer :user_id, :limit => 8 t.string :screen_name t.boolean :following, :default => false t.boolean :followed, :default => false t.boolean :unfollowed, :default => false t.timestamp :followed_at ...
Java
/* crypto/cryptlib.c */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
Java
// WinProm Copyright 2015 Edward Earl // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // DomapInfo_dlg.cpp : implementation file // #include "stdafx.h" #include "winprom.h" #include "DomapInfo_dlg.h" #ifdef _DEBUG #define new ...
Java
{{<govuk_template}} {{$head}} {{>includes/elements_head}} {{>includes/elements_scripts}} {{/head}} {{$propositionHeader}} {{>includes/propositional_navigation4}} {{/propositionHeader}} {{$headerClass}}with-proposition{{/headerClass}} {{$content}} <script> if(sessionStorage.condition) { sessionStorage.remo...
Java
// MIT License // // Copyright( c ) 2017 Packt // // 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, mer...
Java
# == Schema Information # # Table name: currencies # # id :integer not null, primary key # name :string # abbrev :string # created_at :datetime not null # updated_at :datetime not null # class Currency < ActiveRecord::Base validates :name, :abbrev, presence: true end
Java
shared_examples 'collection::ansible' do include_examples 'python::toolchain' include_examples 'ansible::toolchain' end
Java
export const ic_my_location_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M13 3.06V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06c-...
Java
<div class="form-group fg-float"> <div class="fg-line"> {!! Form::text('name', null, array('class' => 'form-control fg-input')) !!} </div> {!! Form::label('name', 'Name', array('class' => 'fg-label')) !!} </div> <div class="form-group fg-float"> <div class="fg-line"> {!! Form::textar...
Java
package exercise.task5_kingsGambitExtended.utils; public class MessegeLogger { public static void log(String message){ System.out.println(message); } }
Java
[![Build Status](https://travis-ci.org/artsy/Artsy-OSSUIFonts.svg?branch=master)](https://travis-ci.org/artsy/Artsy-OSSUIFonts) # Artsy+OSSUIFonts This project contains the fonts and UIFont categories required to make a project with standard artsy design. We cannot include the fonts that we would normally use in a pu...
Java
<?php /** * Created by Khang Nguyen. * Email: khang.nguyen@banvien.com * Date: 10/3/2017 * Time: 9:33 AM */ ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Tin Đất Đai | Quản lý bài đăng</title> <?php $this->load->view('/admin/common/header-j...
Java
import Form from 'cerebral-module-forms/Form' import submitForm from './chains/submitForm' import resetForm from './chains/resetForm' import validateForm from './chains/validateForm' export default (options = {}) => { return (module, controller) => { module.addState(Form({ name: { value: '', ...
Java
namespace GarboDev { using System; using System.Collections.Generic; using System.Text; public partial class Renderer : IRenderer { private Memory memory; private uint[] scanline = new uint[240]; private byte[] blend = new byte[240]; private byte[] windowCover = new...
Java
--- layout: page title: Green Storm Tech Executive Retreat date: 2016-05-24 author: Austin Dixon tags: weekly links, java status: published summary: Class aptent taciti sociosqu ad litora torquent per. banner: images/banner/leisure-04.jpg booking: startDate: 11/11/2019 endDate: 11/13/2019 ctyhocn: GXYCOHX group...
Java
package models import java.util.UUID import play.api.db.slick.Config.driver.simple._ import org.joda.time.DateTime import com.github.tototoshi.slick.HsqldbJodaSupport._ case class ClientGrantType( clientId: String, grantTypeId: Int ) extends Model class ClientGrantTypes(tag: Tag) extends Table[ClientGrantTy...
Java
<?php $data = array ( 0 => array ( 'id' => '3', 'name' => '三国杀', 'desc' => '三国演义', 'parent_id' => '0', 'has_child' => '0', 'is_show' => '0', 'level' => '1', 'type' => '0', 'sort' => '0', ), ); ?>
Java
<?php namespace AppBundle\Controller; use AppBundle\Entity\BillingAddress; use AppBundle\Entity\ShippingAddress; use AppBundle\Form\BillingAddressFormType; use AppBundle\Form\ShippingAddressFormType; use AppBundle\Form\ShippingMethodFormType; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bun...
Java
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("MV...
Java
<?php declare(strict_types=1); /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @link http://phpdoc.org */ namespace phpDocumentor\Descriptor; use Mockery\Adapter\Phpunit\MockeryTestCas...
Java
"use strict"; define("ace/snippets/scala", ["require", "exports", "module"], function (require, exports, module) { "use strict"; exports.snippetText = undefined; exports.scope = "scala"; });
Java
<?php /** * Helper. * * @copyright Ralf Koester (RK) * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License * @author Ralf Koester <ralf@familie-koester.de>. * @link http://k62.de * @link http://zikula.org * @version Generated by ModuleStudio (https://modulestudio.de). */ namespace...
Java
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "errors" "go/build" "testing" "github.com/golang/dep/internal/gps" "github.com/golang/dep/internal/gps/pkgtree" ) func TestInvalid...
Java
'use strict'; module.exports = { set: function (v) { this.setProperty('src', v); }, get: function () { return this.getPropertyValue('src'); }, enumerable: true };
Java
<?php namespace App\Modules\OAuth\Controllers; use App\Http\Controllers\Controller; use App\Modules\Users\Controllers\UserController; use App\Modules\Users\Models\User; use App\Modules\Users\Supports\MailCheckSupport; use Laravel\Socialite\Facades\Socialite as Socialite; use Illuminate\Http\Request; use Tymon\JWTAuth...
Java
body { font: 10px sans-serif; } .axis path, .axis line { fill: none; stroke: #000; shape-rendering: crispEdges; } .bar { fill: steelblue; } g.orbit, g.main { cursor: pointer; pointer-events: all; }
Java
#!/bin/sh # Compile script to compile against Elysion library # Works for Mac OS X and Linux FPC_BIN=`which fpc` BIN_FOLDER="../bin" LIB_FOLDER="../lib" RES_FOLDER="../resources" SRC_FOLDER="../source" # Info.plist constants BUNDLE_REGION="English" BUNDLE_ICON="logo.icns" BUNDLE_IDENT="com.mycompanyname" BUNDLE_SI...
Java
# Tablespoon **This repository is no longer being maintained. Please use [https://github.com/mhkeller/tablespoon2](https://github.com/mhkeller/tablespoon2).** Easily query spreadsheet-like or json data with SQLite or PostgreSQL. Built around[ node-postgres](https://github.com/brianc/node-postgres) and [node-sqlite3](...
Java
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <QApplication> #include "bitcoingui.h" #include "clientmodel.h" #include "walletmodel.h" #include "optionsmodel.h" #...
Java