code
stringlengths
4
1.01M
language
stringclasses
2 values
:: This sets up the bare windows7 system :: with my basic preferences :: Installed drivers :: Installed chrome :: Installed dropbox :: Dropbox "https://github.com/Erotemic/local/archive/master.zip" set HOME=%USERPROFILE% set APP_PATH=%HOME%\local\apps set PATH=%APP_PATH%;%PATH% :: Install Drivers :: Install WGET ...
Java
#include "if_expression.h" #include <glog/logging.h> #include "../internal/compilation.h" #include "../public/value.h" namespace afc { namespace vm { namespace { class IfExpression : public Expression { public: IfExpression(std::shared_ptr<Expression> cond, std::shared_ptr<Expression> true_case, ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (version 1.7.0_80) on Sat Dec 19 22:20:05 CET 2015 --> <title>NewLinkedItemActionPlugin (Genji Scrum Tool &amp; Issue Tracking API Documentation 5.0.1...
Java
using System; using System.Diagnostics; using EasyRemote.Spec; namespace EasyRemote.Impl.Extension { public static class PathExt { /// <summary> /// Get path for program /// </summary> /// <param name="program">Program</param> /// <returns>Full path</returns> pu...
Java
// Sound file format definition -- A. Amiruddin -- 25/12/2016 // REVISION HISTORY // None //================================================================================================= // Copyright (C) 2016 Afeeq Amiruddin // // This program is free software: you can redistribute it and/or modify // it...
Java
# Copyright (c) 2013-2014 SUSE LLC # # This program is free software; you can redistribute it and/or # modify it under the terms of version 3 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; ...
Java
# Copyright (c) 2015 ProbeDock # Copyright (c) 2012-2014 Lotaris SA # # This file is part of ProbeDock. # # ProbeDock is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at y...
Java
import net.sf.javabdd.*; /** * @author John Whaley */ public class NQueens { static BDDFactory B; static boolean TRACE; static int N; /* Size of the chess board */ static BDD[][] X; /* BDD variable array */ static BDD queen; /* N-queen problem expressed as a BDD */ static BDD solution; /* On...
Java
# gbt (Gröbner basis tests) Testing of Gröbner basis implementations is an important part of making algorithms more effective. The `gbt' package is a lightweight tool to support this task. **gbt** is designed to do benchmarking for any computer algebra systems which can be started by an executable. The well known com...
Java
using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class ItemCompareBuilder : IScriptable { [Ordinal(0)] [RED("item1")] public InventoryItemData Item1 { get; set; } [Ordinal(1)] [RED("item2")] public InventoryItemData Item2 { get; set; ...
Java
<?php namespace controllers\bases; abstract class HttpBase extends UriMethodBase { /** * @var array */ protected $params; function __construct() { $uriSections = \Request::getInstance()->getUriSections(); $paramsUri = array_slice($uriSections, DEFAULT_PARAMS_START_POSITION); ...
Java
<?php $return_value = 0; if(isset($_FILES['photo'])) { $target_dir = "../../upload/news/doc/"; require "../config.php"; $total_files = sizeof($_FILES['photo']['name']); $resp = ''; for($i = 0; $i < $total_files; $i++) { $tmp_name = $_FILES['photo']["tmp_name"][$i]; $name = $_FI...
Java
# coding: utf-8 """ mistune ~~~~~~~ The fastest markdown parser in pure Python with renderer feature. :copyright: (c) 2014 - 2016 by Hsiaoming Yang. """ import re import inspect __version__ = '0.7.3' __author__ = 'Hsiaoming Yang <me@lepture.com>' __all__ = [ 'BlockGrammar', 'BlockLexer', 'In...
Java
package it.unimi.di.big.mg4j.query; /* * MG4J: Managing Gigabytes for Java (big) * * Copyright (C) 2005-2015 Sebastiano Vigna * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; eit...
Java
# noinspection PyPackageRequirements import wx import gui.globalEvents as GE import gui.mainFrame from gui.contextMenu import ContextMenuSingle from service.fit import Fit class AmmoToDmgPattern(ContextMenuSingle): visibilitySetting = 'ammoPattern' def __init__(self): self.mainFrame = gui.mainFrame...
Java
package net.adanicx.cyancraft.client.model; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; import net.adanicx.cyancraft.client.OpenGLHelper; import net.adanicx.cyancraft.entities.EntityArmorStand;...
Java
<?php include 'common_header.php'; ?> <!-- Settings View Title --> <h3><?php e($title); ?></h3> <!-- Pasephrase Reset Form --> <form id="settings_account_reset" class="rounded" action="<?php u('/settings/accounts/reset'); ?>" method="post" accept-charset="UTF-8" enctype="multipart/form-data"> <fieldset> ...
Java
"""import portalocker with portalocker.Lock('text.txt', timeout=5) as fh: fh.write("Sono in testLoxk2.py") """ from lockfile import LockFile lock = LockFile('text.txt') with lock: print lock.path, 'is locked.' with open('text.txt', "a") as file: file.write("Sono in testLock2.py")
Java
package ctlmc.bddgraph import ctlmc.spec._ import ctlmc._ class GraphFactorySpec extends UnitSpec { test("Creation") { val factory = new GraphFactory() } } class GraphSpec extends UnitSpec { val factory = new GraphFactory() factory.setParameters(Array( ("v1", (Array("F", "T").zipWithIndex.toMap, 0)), ("v2",...
Java
# This module is for compatibility only. All functions are defined elsewhere. __all__ = ['rand', 'tril', 'trapz', 'hanning', 'rot90', 'triu', 'diff', 'angle', 'roots', 'ptp', 'kaiser', 'randn', 'cumprod', 'diag', 'msort', 'LinearAlgebra', 'RandomArray', 'prod', 'std', 'hamming', 'flipud', ...
Java
<?php /** * WES WebExploitScan Web GPLv4 http://github.com/libre/webexploitscan * * The PHP page that serves all page requests on WebExploitScan installation. * * The routines here dispatch control to the appropriate handler, which then * prints the appropriate page. * * All WebExploitScan code is released unde...
Java
#include "config.h" #include "hardware.h" #include "data.h" #include "instruction.h" #include "rung.h" #include "plclib.h" #include "project.h" int project_task(plc_t p) { // /**************start editing here***************************/ BYTE one, two, three; one = resolve(p, BOOL_DI, 1); two = fe(p, BOOL_DI, 2...
Java
#include <vgStableHeaders.h> #include "vgentry/vgSound3DEntry.h" #include <vgUIController/vgPropertyPage.h> #include <vgUIController/vgUIController.h> #include <vgKernel/vgkVec3.h> #include <vgMesh/vgmMeshManager.h> //#include <vgMath/vgfVector3.h> #include <vgKernel/vgkSelectManager.h> PropertiesParam vg...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>CommandManager xref</title> <link type="text/c...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Natural Europe Pathways <?php echo isset($title) ? ' | ' . strip_formatting($title) : ''; ?></title> <!-- Meta --> <meta http-equiv="Co...
Java
!function(namespace) { 'use strict'; function Modal(elem, params) { this.$element = jQuery(elem); this.params = params || {}; this.cssReadyElement = this.params.cssReadyElement || 'JS-Modal-ready'; this.cssActiveElement = this.params.cssActiveElement || 'JS-Modal-active'; this.__construct(); ...
Java
/* * Copyright (C) 2009 Christopho, Solarus - http://www.solarus-engine.org * * Solarus is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'ArticleComment' db.create_table('cms_articlecomment', ( ...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" co...
Java
# Copyright (C) 2015 SensorLab, Jozef Stefan Institute http://sensorlab.ijs.si # # Written by Tomaz Solc, tomaz.solc@ijs.si # # This work has been partially funded by the European Community through the # 7th Framework Programme project CREW (FP7-ICT-2009-258301). # # This program is free software: you can redistribute ...
Java
body, html{ margin: 0; background: #fff; } h1{ font-size: 4em; text-align: center; font-family: sans-serif; vertical-align: middle; } p{ font-size: 2em; font-family: serif; color: green; text-align: center; vertical-align: middle; } #only_section{ vertical-align: middle; }
Java
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <dirent.h> #include <fcntl.h> #include <assert.h> #include <unistd.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <bcm2835.h> #include <unistd.h> #include <iostream> //#define BCM2708_PERI_BASE ...
Java
# PickAMovie This app gets movies from moviedb, using their API. For this to work you must insert your API key in the NetworkUtils class.
Java
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, // either version 3 of the Licens...
Java
/* * BufferAllocator.java February 2001 * * Copyright (C) 2001, Niall Gallagher <niallg@users.sf.net> * * 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/li...
Java
"""add graphql ACL to users Revision ID: 2d4882d39dbb Revises: c4d0e9ec46a9 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2d4882d39dbb' down_revision = 'dc2848563b53' POLICY_NAME = 'wazo_default_user_policy' ACL_TEMPLATES = ['dird.graphql.me'] policy_tabl...
Java
#include "VCL.h" #include "Unit1.h" #include "GridMap.h" #include "defines.h" #include "matrix_utils.h" #include "bat_run.h" #include "LoadData.h" #include <cstdio> #include <ctime> #include <cstring> #include <cmath> // special LSM mode with "-1 distance" = no aggregation of spots, just statistics per unit bool LSM_m...
Java
/* vim: set ts=8 sw=4 sts=4 et: */ /*====================================================================== Copyright (C) 2008,2009,2014 OSSO B.V. <walter+rtpsniff@osso.nl> This file is part of RTPSniff. RTPSniff is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Licen...
Java
<?php session_start(); include_once 'inc/vcode.inc.php'; $_SESSION['vcode']=vcode(100,40,30,4); ?>
Java
#!/bin/bash version=$1 out=${2:-"copyq-${version}.tar.gz"} version_file="src/common/version.cpp" set -e die () { echo "ERROR: $*" exit 1 } grep -q '^# v'"$version"'$' "CHANGES.md" || die "CHANGES file doesn't contain changes for given version!" grep -q '"'"$version"'"' "$version_file" || die "String...
Java
/** * OpenKM, Open Document Management System (http://www.openkm.com) * Copyright (c) 2006-2015 Paco Avila & Josep Llort * * No bytes were intentionally harmed during the development of this application. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Ge...
Java
package mysqlgoutils import ( "testing" ) func TestSplitHostOptionalPortAndSchema(t *testing.T) { assertSplit := func(addr, expectHost string, expectPort int, expectSchema string, expectErr bool) { host, port, schema, err := SplitHostOptionalPortAndSchema(addr) if host ...
Java
# # Copyright (c) 2013 Christopher L. Felton # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This p...
Java
/* FILE GeneticOperations.hh ** PACKAGE GeneticOperations ** AUTHOR Edward S. Blurock ** ** CONTENT ** Prototypes for the "GeneticOperations" package in the CoreObjects environment ** ** COPYRIGHT (C) 1997 Edward S. Blurock */ #ifndef CoreObjects_GENETICOPERATIONS_HH #define CoreObjects_GENETICOPERATIO...
Java
<?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...
Java
function onStepIn(cid, item, pos) if getPlayerStandageValue(cid,10001) == 1 and getPlayerStandageValue(cid,10002) == 1 and getPlayerStandageValue(cid,10003) == 1 and getPlayerStandageValue(cid,10004) == 1 and getPlayerStandageValue(cid,10005) == 1 and getPlayerStandageValue(cid,10006) == 1 and getPlayerStandage...
Java
<?php namespace Minsal\ModeloBundle\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 and mana...
Java
# Name Aswin M Guptha ### Academics BTech CSE from [Amrita University](https://www.amrita.edu) ### Projects [My Projects](https://www.github.com/aswinmguptha) Links to my projects ### Profile Link [GitHub](https://github.com/aswinmguptha) [GitLab](https://gitlab.com/aswinmguptha) [Twitter](https://twitter.com/aswinmgup...
Java
/* Copyright (C) 2012-2014 Carlos Pais * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is dis...
Java
#include<stdio.h> #include<big_integer.h> #include<string.h> #include<time.h> #include"gen_lib.h" int main(int argc,char** argv) { if(argc<3) { printf("usage %s <length> <num> \n",argv[0]); exit(-1); } FILE* bash=fopen("bash.dat","w+"); FILE* python=fopen("py.dat","w+"); int length=atoi(argv[1]); int num=a...
Java
Imports System.Globalization Imports P3D.Legacy.Core.Screens Namespace ScriptVersion2 Partial Class ScriptComparer '-------------------------------------------------------------------------------------------------------------------------- 'Contains the <environment> constructs. '--------...
Java
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
Java
package com.example.heregpsloc; import java.security.SecureRandom; import java.math.BigInteger; // http://stackoverflow.com/questions/41107/how-to-generate-a-random-alpha-numeric-string public final class SessionIdentifierGenerator { private SecureRandom random = new SecureRandom(); public String nextSessio...
Java
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'zlib' class Metasploit3 < Msf::Exploit::Remote Rank = GoodRanking include Msf::Exploit::FILEFORMAT def initialize(info = {}) super(update_inf...
Java
using System; using System.IO; using System.Net; using System.Security.Cryptography; using DeanCCCore.Core._2ch.Jane; using DeanCCCore.Core.Utility; namespace DeanCCCore.Core { [Serializable] public class ZipFileHeader : ImageHeader { public ZipFileHeader() { } public ZipF...
Java
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2011- Statoil ASA // Copyright (C) 2013- Ceetron Solutions AS // Copyright (C) 2011-2012 Ceetron AS // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GN...
Java
ALTER TABLE Tag ADD (version INT DEFAULT '0' NOT NULL);
Java
# Manage yum repos ## in any.yaml ``` repos::default: gpgcheck: 0 enabled: 1 mirrorlist_expire: 7200 failovermethod: priority repos::list: name1: descr: name-1 mirrorlist: 'http://url/?release=$releasever&arch=$basearch&repo=os&infra=$infra' priority: 50 name2: descr: name-2 mirro...
Java
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * CodeIgniter * * An open source application development framework for PHP 5.2.4 or newer * * NOTICE OF LICENSE * * Licensed under the Academic Free License version 3.0 * * This source file is subject to the Academic Free License (A...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
Java
/* RPG Paper Maker Copyright (C) 2017-2021 Wano RPG Paper Maker engine is under proprietary license. This source code is also copyrighted. Use Commercial edition for commercial use of your games. See RPG Paper Maker EULA here: http://rpg-paper-maker.com/index.php/eula. */ #include "paneld...
Java
#! /bin/sh dirs="$*" if test _"$dirs" = _ then dirs="." fi for dir in $dirs do if test -d $dir then aclocal="" autoconf=" && autoconf" autoheader="" automake="" if test -f $dir/Makefile.am then aclocal=" && aclocal -I build-aux" automake=" && automake --copy --add-missing" if egrep 'A[CM]_PROG_...
Java
### # Copyright 2016 - 2022 Green River Data Analysis, LLC # # License detail: https://github.com/greenriver/hmis-warehouse/blob/production/LICENSE.md ### require 'memoist' module ClaimsReporting::Health module PatientExtension extend ActiveSupport::Concern included do extend Memoist has_many :...
Java
<?php /**************************************************************************/ /* PHP-NUKE: Advanced Content Management System */ /* ============================================ */ /* */ /* Th...
Java
package com.hackatoncivico.rankingpolitico; import android.content.SharedPreferences; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.util.LogWriter; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; ...
Java
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_DB_H_ #define STORAGE_LEVELDB_INCLUDE_DB_H_ #include <stdint.h> #inclu...
Java
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to 2013 PrismTech * Limited and its licensees. All rights reserved. See file: * * $OSPL_HOME/LICENSE * * for full copyright notice and license terms. * */ #include <assert.h> #includ...
Java
#-- # Copyright 2015, 2016, 2017 Huub de Beer <Huub@heerdebeer.org> # # This file is part of Paru # # Paru is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option)...
Java
Exif-Scout ========== The Exif-Scout is a C++ & Qt based GUI for offline searching through the exif-data of images with the power of regular expresions. ![Exif-Scout-GUI](http://timluedtke.de/ablage/Exif-Scout.png) You can select various exiv-data as search parameters and the Exif-Scout searches through your offline...
Java
<?xml version="1.0" encoding="UTF-8"?> <html lang="en" class="no-js ie8"> <!--<![endif]--> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <title> Mein Bookmanager </title> <meta name="viewport" cont...
Java
# -*- coding: utf-8 -*- ################################################################################ # Copyright 2014, Distributed Meta-Analysis System ################################################################################ """Software structure for generating Monte-Carlo collections of results. NOTE: Hi...
Java
using Nikse.SubtitleEdit.Core.Common; using Nikse.SubtitleEdit.Forms.Options; using Nikse.SubtitleEdit.Logic; using Nikse.SubtitleEdit.Logic.VideoPlayers; using System; using System.Text; using System.Windows.Forms; namespace Nikse.SubtitleEdit.Forms { public partial class VideoError : Form { public V...
Java
var __v=[ { "Id": 3568, "Panel": 1763, "Name": "紋理動畫", "Sort": 0, "Str": "" }, { "Id": 3569, "Panel": 1763, "Name": "相關API", "Sort": 0, "Str": "" }, { "Id": 3570, "Panel": 1763, "Name": "Example", "Sort": 0, "Str": "" } ]
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (version 1.7.0_25) on Mon Dec 09 13:16:02 CET 2013 --> <title>m0.main</title> <meta name="date" content="2013-12-09"> <link rel="stylesheet" type="tex...
Java
/* Zik2ctl * Copyright (C) 2015 Aurélien Zanelli <aurelien.zanelli@darkosphere.fr> * * Zik2ctl is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
Java
<?php class WP_Gist { /* Properties ---------------------------------------------------------------------------------- */ /** * Instance of the class. * * @var WP_Gist */ protected static $instance = null; /** * Class slug. * * @var string */ protected...
Java
adafruit_lcd_menu ================= a menu system to control the raspberry py with the adafruit lcd plate
Java
<?php // Clear variables $boardGameError = ""; $boardGameAvailable = ""; // Get the playerID, if null return user to the available page $playerID = null; if (!empty($_GET['playerID'])) { $playerID = $_REQUEST['playerID']; } if ( null==$playerID ) { header("Location: ../available.php"); } if ($_SERVER["...
Java
var events = require('events'), koanize = require('koanizer'), util = require('util'); koanize(this); // Standard and RFC set these values var REFERENCE_CLOCK_FREQUENCY = 90000; // RTP packet constants and masks var RTP_HEADER_SIZE = 12; var RTP_FRAGMENTATION_HEADER_SIZE = 4; var SAMPLES_PER_FRAME...
Java
<?php /** * @author Pierre-Henry Soria <ph7software@gmail.com> * @copyright (c) 2012-2015, Pierre-Henry Soria. All Rights Reserved. * @license GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. * @package PH7 / App / System / Module / Affiliate / ...
Java
// // AppDelegate.h // Pedigree // // Created by user on 12.09.13. // Copyright (c) 2013 user. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
Java
from abc import ABC import configargparse from sklearn.externals import joblib from termcolor import colored class ScikitBase(ABC): """ Base class for AI strategies """ arg_parser = configargparse.get_argument_parser() arg_parser.add('-p', '--pipeline', help='trained model/pipeline (*.pkl file)', ...
Java
package com.octagon.airships.block; import com.octagon.airships.reference.Reference; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.client.rende...
Java
#include "simple_form_widget.h" #include "ui_simple_form_widget.h" SimpleFormWidget::SimpleFormWidget(QWidget *parent) : QWidget(parent), ui(new Ui::SimpleFormWidget) { ui->setupUi(this); } SimpleFormWidget::~SimpleFormWidget() { delete ui; }
Java
package itaf.WsUserTakeDeliveryAddressService; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interfac...
Java
<?php ############################### # include files from root dir # ############################### $root_1 = realpath($_SERVER["DOCUMENT_ROOT"]); $currentdir = getcwd(); $root_2 = str_replace($root_1, '', $currentdir); $root_3 = explode("/", $root_2); if ($root_3[1] == 'core') { echo $root_3[1]; $root = realpat...
Java
#ifndef __MAIN_HPP__ #define __MAIN_HPP__ #include <iostream> #include <unistd.h> #include <string> #include <vector> #include <stdint.h> // Para usar uint64_t #include "hanoi.hpp" #include "statistical.hpp" #include "ClaseTiempo.hpp" #define cls() system("clear"); long long combinatorio_iterativo(const int &n,const...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="de"> <head> <!-- Generated by javadoc (1.8.0_111) on Thu Dec 22 11:36:55 CET 2016 --> <title>ch.ethz.inspire.emod.model.units</title> <meta name="date" content="2016-12-22"> <link rel="sty...
Java
import commandRunner as cr import subprocess import glob, os, platform, shutil, adb from pathlib import Path def combine_browsers_logs(udid): cmd = 'rebot -N Combined --outputdir browserlogs/ ' for idx, device in enumerate(udid): #Get all the output.xml files for the devices if platform.s...
Java
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * T...
Java
namespace Maticsoft.TaoBao.Request { using Maticsoft.TaoBao; using Maticsoft.TaoBao.Util; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; public class SimbaAdgroupCampcatmatchsGetRequest : ITopRequest<SimbaAdgroupCampcatmatchsGetResponse> { pri...
Java
<?php /** * /queue/add.php * * This file is part of DomainMOD, an open source domain and internet asset manager. * Copyright (c) 2010-2016 Greg Chetcuti <greg@chetcuti.com> * * Project: http://domainmod.org Author: http://chetcuti.com * * DomainMOD is free software: you can redistribute it and/or modify it un...
Java
# Copyright (c) 2014 Stefano Palazzo <stefano.palazzo@gmail.com> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # Thi...
Java
/* * Copyright 2015 Jan von Cosel * * This file is part of utility-scripts. * * utility-scripts is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) an...
Java
CREATE TABLE IF NOT EXISTS `stena` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_user` int(11) NOT NULL, `id_stena` int(11) NOT NULL, `time` int(11) NOT NULL, `msg` varchar(1024) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL, `read` int(11) DEFAULT '1', PRIMARY KEY (`id`), KEY `time` (`time`) ) ...
Java
#!/bin/sh # split must fail when given length/count of zero. # Copyright (C) 2003-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the Li...
Java
/* * This file is part of rpgmapper. * See the LICENSE file for the software license. * (C) Copyright 2018-2019, Oliver Maurhart, dyle71@gmail.com */ #ifndef RPGMAPPER_MODEL_LAYER_GRID_LAYER_HPP #define RPGMAPPER_MODEL_LAYER_GRID_LAYER_HPP #include <QColor> #include <QJsonObject> #include <QPainter> #include <rp...
Java
<?php // This is a SPIP language file -- Ceci est un fichier langue de SPIP // extrait automatiquement de http://www.spip.net/trad-lang/ // ** ne pas modifier le fichier ** if (!defined("_ECRIRE_INC_VERSION")) return; $GLOBALS[$GLOBALS['idx_lang']] = array( // B 'bouton_effacer' => 'L&ouml;schen', 'bouton_mettr...
Java
--Begin Tools.lua :) local SUDO = 71377914 -- put Your ID here! <=== function exi_files(cpath) local files = {} local pth = cpath for k, v in pairs(scandir(pth)) do table.insert(files, v) end return files end local function file_exi(name, cpath) for k,v in pairs(exi_files(cpath)) do i...
Java
--- id: 11 question: Telegram – полезные каналы для чтения ежедневных статей, просмотра работ дизайнеров со всего мира, поиска вдохновения title: Telegram subject: design items: 19 ---
Java