code
stringlengths
4
1.01M
language
stringclasses
2 values
/* Stuart Bowman 2016 This class contains the graph nodes themselves, as well as helper functions for use by the generation class to better facilitate evaluation and breeding. It also contains the class definition for the nodes themselves, as well as the A* search implementation used by the genetic algorithm to check...
Java
<?php function migrate_blog() { /* * $tabRub[0] = "Annonces"; $tabRub[1] = "Partenariat"; $tabRub[2] = "Vie d'Anciela"; $tabRub[3] = "Autres"; * */ $categories = array('annonces','partenariat','anciela','autres'); $categoryNames = array('annonces'=>"Annonces",'partenariat'=>'Partenari...
Java
Experimental IRC-like chat ========================== This is experimental project as an attempt to crete IRC like (channels and users) chat server and client. DIRECTORY STRUCTURE ------------------- assets/ contains assets definition commands/ contains console commands (controller...
Java
#include "Input.h" #include "Core.h" #include "Memory.h" #include "Cpu.h" //Gameboy keys: //[Up][Left][Right][Down][A][B][Start][Select] //Mapped to standard keyboard keys: //[Up][Left][Right][Down][Z][X][Enter][RShift] //Mapped to standard Xbox controller buttons: //[Up][Left][Right][Down][A][X][Start][Select] // ...
Java
{% spaceless %} {% load django_tables2 %} {% load i18n %} {% if table.page %} <div class="table-container"> {% endif %} {% block table %} <table {% if table.attrs %} {{ table.attrs.as_html }}{% endif %}> {% block table.thead %} <thead> <tr> {% for column in table.columns %} {% if col...
Java
<?php /** * Interactive image shortcode template */ ?> <div class="mkd-interactive-image <?php echo esc_attr($classes)?>"> <?php if($params['link'] != '') { ?> <a href="<?php echo esc_url($params['link'])?>"></a> <?php } ?> <?php echo wp_get_attachment_image($image,'full'); ?> <?php if($params['add_checkmar...
Java
/* This file is part of the KDE project * Copyright (C) 2010 Carlos Licea <carlos@kdab.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or ...
Java
/* This file is part of the KDE project * Copyright (C) 2009 Elvis Stansvik <elvstone@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License...
Java
#ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif /* * 1 Header File Including */ #include <linux/module.h> #include <linux/netdevice.h> #include "hwifi_tps.h" #include "cfg80211_stru.h" #include "hwifi_cfg80211.h" #include "hwifi_wpa_ioctl.h" /* for wl_pwrm_set */ #include "hwifi_wl_config_ioctl.h...
Java
from models import Connection from django import forms class ConnectionForm(forms.ModelForm): class Meta: model = Connection exclude = ('d_object_id',)
Java
# pedalo
Java
// created on 13/12/2002 at 22:07 using System; namespace xServer.Core.NAudio.Mixer { /// <summary> /// Custom Mixer control /// </summary> public class CustomMixerControl : MixerControl { internal CustomMixerControl(MixerInterop.MIXERCONTROL mixerControl, IntPtr mixerHandle, MixerFlags mixerHandleType,...
Java
package org.mivotocuenta.client.service; import org.mivotocuenta.server.beans.Conteo; import org.mivotocuenta.shared.UnknownException; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; @RemoteServiceRelativePath("servicegestionconteo") public interf...
Java
<div class="tablist-content">I am ajax tab content i was pulled in from ajax-content.html </div>
Java
# -*- coding: utf-8 -*- # pylint: disable=too-many-lines,too-complex,too-many-branches # pylint: disable=too-many-statements,arguments-differ # needs refactoring, but I don't have the energy for anything # more than a superficial cleanup. #------------------------------------------------------------------------------- ...
Java
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Storage/1.3.1/ApplicationDir.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Object.h> namespace g{namespace Fuse{namespace Storage{struct ApplicationDir__WriteClosure;}}} namespace g{ namespace Fu...
Java
--- title: Bagaimana jika seseorang berubah pikiran mengenai lisensi yang digunakan? date: 2011-10-13 18:38:00 +07:00 published: false categories: - Kajian tags: - Lisensi Creative Commons - Pergantian Lisensi author: nita comments: true img: "/assets/img/favicon.png" --- Lisensi CC tidak dapat dibatalkan. Setelah kar...
Java
AddCSLuaFile() SWEP.HoldType = "ar2" if CLIENT then SWEP.PrintName = "AUG" SWEP.Slot = 2 SWEP.ViewModelFlip = false SWEP.ViewModelFOV = 54 SWEP.Icon = "vgui/ttt/icon_aug.png" SWEP.IconLetter = "l" end SWEP.Base = "weapon_tttbas...
Java
# 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 applicable law or agreed to in writing, software # distributed under t...
Java
# frozen_string_literal: true module ActiveJob # Returns the version of the currently loaded Active Job as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end module VERSION MAJOR = 5 MINOR = 2 TINY = 6 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].comp...
Java
# Stuff to add - Add the parallel code - Add a chunksize parameter - ipython notebook demonstrating: - graphs of the general scaling with boundlen, number of objects - variation of these when querying within a tile and outside - cuts on magnitude and redshift - Fixed focal plane (different chunk-size, diff...
Java
<?php // HTTP define('HTTP_SERVER', 'http://localhost/opencart/upload/'); // HTTPS define('HTTPS_SERVER', 'http://localhost/opencart/upload/'); // DIR define('DIR_APPLICATION', 'F:\git\OC\OC\upload\/catalog/'); define('DIR_SYSTEM', 'F:\git\OC\OC\upload\/system/'); define('DIR_DATABASE', 'F:\git\OC\OC\upload\/system/d...
Java
require 'y_support/all' # Places are basically glorified variables, with current contents (marking), and # default contents (default_marking). # class Place attr_reader :name, :default_marking attr_accessor :marking def initialize name, default_marking=0 @name, @default_marking = name, default_marking end ...
Java
using System; using System.Runtime.InteropServices; namespace ABC.PInvoke { /// <summary> /// Class through which user32.dll calls can be accessed for which the .NET framework offers no alternative. /// TODO: Clean up remaining original documentation, converting it to the wrapper's equivalents. /// </summary...
Java
<!DOCTYPE html> <html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head lang="en-GB"> <title>Ross Gammon’s Family Tree - KNIGHT, Mary</title> <meta charset="UTF-8" /> <meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" /> <meta name ="ap...
Java
#!/usr/bin/python from django.http import HttpResponse from django.template import RequestContext, loader from django.views.decorators.csrf import csrf_exempt import django.shortcuts from wlokalu.api import presence #----------------------------------------------------------------------------- from wlokalu.logging ...
Java
/* Test Octagonal_Shape::generalized_affine_image(). Copyright (C) 2001-2009 Roberto Bagnara <bagnara@cs.unipr.it> This file is part of the Parma Polyhedra Library (PPL). The PPL 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 So...
Java
using System; using System.Runtime.InteropServices; using System.Security; namespace xServer.Core.Build { public static class IconInjector { // Basically, you can change icons with the UpdateResource api call. // When you make the call you say "I'm updating an icon", and you send the icon data...
Java
/** * Copyright (C) 2007-2012 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable 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 any later versio...
Java
<!doctype html> <html> <head> <title>Sudoku Client</title> <script src="js/snappyjs.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> <script src="js/realTimeChartMulti.js"></script> <link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" ...
Java
#!/usr/bin/env bash # This file is part of RetroPie. # # (c) Copyright 2012-2015 Florian Müller (contact@petrockblock.com) # # See the LICENSE.md file at the top-level directory of this distribution and # at https://raw.githubusercontent.com/petrockblog/RetroPie-Setup/master/LICENSE.md. # rp_module_id="disabletim...
Java
#ifndef JME_RpcHandler_h__ #define JME_RpcHandler_h__ #include <string> #include <map> #include "boost/shared_ptr.hpp" #include "boost/function.hpp" #include "google/protobuf/message.h" #include "log/JME_GLog.h" using namespace std; namespace JMEngine { namespace rpc { class RpcHandlerInterfa...
Java
//////////////////////////////////////////////////////////////////////////////// // Filename: TrackingCameraScript.h //////////////////////////////////////////////////////////////////////////////// #pragma once ////////////// // INCLUDES // ////////////// /////////////////////// // MY CLASS INCLUDES // /////////////...
Java
<?php /** * @package Projectlog.Administrator * @subpackage com_projectlog * * @copyright Copyright (C) 2009 - 2016 The Thinkery, LLC. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined( '_JEXEC' ) or die( 'Restricted access'); jimport('joomla.app...
Java
$('.attach_detach').on('click', function(){ var device_id = $(this).attr('device_id'); $('#device_id').val(device_id); }); $('.detach_customer').on('click', function(){ //get the attached customer name var customer_name = $(this).attr('cust_name'); if(confirm('Are you sure you want to detach('+customer_...
Java
#include <psp2/display.h> #include <psp2/io/fcntl.h> #include <psp2/kernel/processmgr.h> #include <stdio.h> // sprintf() #include <psp2/ctrl.h> // sceCtrl*() #include "graphics.h" #define VER_MAJOR 0 #define VER_MINOR 9 #define VER_BUILD "" #define VAL_LENGTH 0x10 #define VAL_PUBLIC 0x0A #define VAL_PRIVATE 0x06 #...
Java
var gulp = require('gulp') var mocha = require('gulp-mocha') var nodemon = require('gulp-nodemon') var env = require('gulp-env'); gulp.task('API-Server', (cb) => { let started = false env({ vars: { httpPort: 8080 } }); return nodemon({ script: 'index.js' }) .on('start', () => { ...
Java
#region License, Terms and Conditions // // Jayrock - A JSON-RPC implementation for the Microsoft .NET Framework // Written by Atif Aziz (www.raboof.com) // Copyright (c) Atif Aziz. All rights reserved. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser Ge...
Java
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 13.0.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or exist...
Java
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2015 Leslie Zhai <xiang.zhai@i-soft.com.cn> * * 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; e...
Java
<!DOCTYPE HTML PUBLIC " -//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head> <title>023</title> <meta http-equiv="CONTENT-LANGUAGE" CONTENT="PL"> <meta http-equiv="content-type" CONTENT="text/html; CHARSET=iso-8859-2"> <meta http-equiv="Content-Script-Type" content="text/javascript"> ...
Java
//# ShapeletCoherence.h: Spatial coherence function of a source modelled as a //# shapelet basis expansion. //# //# Copyright (C) 2008 //# ASTRON (Netherlands Institute for Radio Astronomy) //# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands //# //# This file is part of the LOFAR software suite. //# The LOFAR software su...
Java
MODX Evolution 1.1 = 07452b3a1b6754a6861e6c36f1cd3e62
Java
Bitrix 16.5 Business Demo = b10b46488015710ddcf5f4d0217eea77
Java
<?php /* This file is part of Vosbox. Vosbox 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. Vosbox is distributed ...
Java
/* * Created by CSSCatcher plugin for Crawljax * CSS file is for Crawljax DOM state http://www.employeesolutions.com * CSS file was contained in index * Downloaded from http://www.employeesolutions.com/assets/template/css/source/helpers/jquery.fancybox-thumbs.css?v=1.0.6 */ #fancybox-thumbs { position: fixed; l...
Java
<div class= "parametre"> <a href = "parametre.php" onclick="">mon compte</a> </div> <div style = "background-color:blue; border:2px solid white; border-radius:25px; padding:1%; font-size:1.5em;" > <a href = "./deconnect.php">deconnection</a> </div>
Java
from urllib.request import urlopen from urllib.parse import urlparse, parse_qs from socket import error as SocketError import errno from bs4 import BeautifulSoup MAX_PAGES_TO_SEARCH = 3 def parse_news(item): '''Parse news item return is a tuple(id, title, url) ''' url = 'http://www.spa.gov.sa' + item[...
Java
<?php /* * +----------------------------------------------------------------------+ * | PHP Version 4 | * +----------------------------------------------------------------------+ * | Copyright (c) 2002-2005 Heinrich Stamerjohanns | * | ...
Java
SUBROUTINE CHR_ITOC( IVALUE, STRING, NCHAR ) *+ * Name: * CHR_ITOC * Purpose: * Encode an INTEGER value as a string. * Language: * Starlink Fortran 77 * Invocation: * CALL CHR_ITOC( IVALUE, STRING, NCHAR ) * Description: * Encode an integer value as a (decimal) character string, using...
Java
# ScreenTrooper Remote Configurable Slideshow
Java
import time from threading import Thread import threading from wtfj_ids import * from wtfj_utils import * class Printer: ''' Opens a new output window and prints messages sent to it ''' def __init__(self,header=''): self._header = header def send(self,string): print(self._header+string) class Console: ''' Al...
Java
// Copyright (c) 2016 Tristan Colgate-McFarlane // // This file is part of hugot. // // hugot 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...
Java
#include "shader.h" #include <iostream> Shader::Shader(GLuint shader_id) : shader_id(shader_id) {} void Shader::use() { glUseProgram(shader_id); } void Shader::send_cam_pos(glm::vec3 cam_pos) { this->cam_pos = cam_pos; } void Shader::set_VP(glm::mat4 V, glm::mat4 P) { this->V = V; this->P = P; } ...
Java
/* Playdar - music content resolver Copyright (C) 2009 Richard Jones Copyright (C) 2009 Last.fm Ltd. 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 ...
Java
#region License // // GroupableTest.cs // // Copyright (C) 2009-2013 Alex Taylor. All Rights Reserved. // // This file is part of Digitalis.LDTools.DOM.UnitTests.dll // // Digitalis.LDTools.DOM.UnitTests.dll is free software: you can redistribute it and/or modify // it under the terms of the GNU General Pu...
Java
use std::collections::HashMap; use std::rc::Rc; use serde::de::{Deserialize, Deserializer}; use serde_derive::Deserialize; use toml::value; use crate::errors; use crate::icons::Icons; use crate::protocol::i3bar_event::MouseButton; use crate::themes::Theme; #[derive(Debug)] pub struct SharedConfig { pub theme: Rc...
Java
/* * WANDORA * Knowledge Extraction, Management, and Publishing Application * http://wandora.org * * Copyright (C) 2004-2016 Wandora Team * * 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 Foundat...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "//www.w3.org/TR/html4/strict.dtd"> <HTML style="overflow:auto;"> <HEAD> <meta name="generator" content="JDiff v1.1.0"> <!-- Generated by the JDiff Javadoc doclet --> <!-- (http://www.jdiff.org) --> <meta name="description" content="JDiff is a Javadoc doclet which gener...
Java
<?php // Heading $_['heading_title'] = 'Εγγραφή'; // Text $_['text_account'] = 'Λογαριασμός'; $_['text_register'] = 'Εγγραφή'; $_['text_account_already'] = 'Εάν έχετε ήδη λογαριασμό, εισέλθετε από <a href="%s">εδώ</a>.'; $_['text_your_details'] = 'Προσωπικά Στοιχεία'; $_['text_your_address'] ...
Java
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-03 08:56 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
Java
// // CreditsViewController.h // P5P // // Created by CNPP on 25.2.2011. // Copyright Beat Raess 2011. All rights reserved. // // This file is part of P5P. // // P5P 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 Soft...
Java
#ifndef CONFIGURATION_H #define CONFIGURATION_H #include <QObject> #include <qsettings.h> class Configuration { public: Configuration(); QString Hostname; QString Username; QString AutoLogin; QString SaveDir; int ConcurrentDownloads; bool UseSSL; QSettings *settings; void Load...
Java
Note: This is not the [authoritative source](https://www.comlaw.gov.au/Details/C2012C00832) for this act, and likely contains errors # Australian Transaction Reports and Analysis Centre Supervisory Cost Recovery Levy (Consequential Amendments) Act 2011 ##### Act No. 56 of 2011 as amended ##### This compilation was p...
Java
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Data; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; namespace SO.SilList.Manager.Mod...
Java
/**************************************************************************** ** ** Copyright (C) 2014-2015 Dinu SV. ** (contact: mail@dinusv.com) ** This file is part of C++ Snippet Assist application. ** ** GNU General Public License Usage ** ** This file may be used under the terms of the GNU General Public License...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
Java
{% load fiber_tags imagekit %} <div> {% thumbnail '150x150' product.image %} <div> {{ product.text|safe }} <span class="product-name"> {{ product.name }} </span> </div> <div class="paypal-button"> {{ product.paypal_button|safe }} </div> </div> {% if '...
Java
package cat.foixench.test.parcelable; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test publi...
Java
package com.acgmodcrew.kip.tileentity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; /** * Created by Malec on 05/03/2015. */ public class TileEntityRepositry extends TileEntity implements ...
Java
<html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="report.css" type="text/css"/> <title></title> <script type="text/javascript" src="report.js"></script> <script type="text/javascript" src="link_popup.js"></script> <script type="text/javascript" src="too...
Java
import os import re import subprocess # Copied from Trojita """Fetch the .po files from KDE's SVN for GCompris Run me from GCompris's top-level directory. """ SVN_PATH = "svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/" SOURCE_PO_PATH = "/messages/kdereview/gcompris_qt.po" OUTPUT_PO_PATH = "./po/" OUTPUT_PO_PATTERN ...
Java
#include <includes.h> #include <utils.h> #include <methnum.h> #include "s_param.h" #include "integral.h" double Ivac ( Param * P , double m ) { double m2 = m*m ; double LE = sqrt ( m2 + P->L2 ); return 0.5 * ONE_OVER_8PI_2 * ( P->L * LE * ( m2 + 2*P->L ) + m2*m2 * log ( m/(P->L + LE) ) ) ; } double dm_Iva...
Java
#include "Scene.h" #include "Screen.h" Scene::Scene() { } void Scene::Update() { Object::AddPreparedObjects(); for (Object* obj : Object::objects) { if (obj->IsActive()) obj->Update(); } for (auto iter = Object::objects.begin(); iter != Object::objects.end(); iter++) { if (!(*iter)->IsActive()) { ...
Java
package com.simplecity.amp_library.playback; import android.annotation.SuppressLint; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Bitmap; import android.graphics.drawable.Drawable; import android.media....
Java
#!/usr/bin/env perl use strict; use warnings; @ARGV >= 1 or die "Usage: \n\tperl $0 event1 event2 ... eventn\n\tperl $0 events.info\n"; my @events; if (@ARGV == 1 and -f $ARGV[0]) { open(IN, "< $ARGV[0]"); foreach (<IN>) { my ($event) = split /\s+/; push @events, $event; } close(IN); ...
Java
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(){var l={_attachScript:function(e,c){var d=new CKEDITOR.dom.element("script");d.setAttribute("src",e);d.on("error",c);CKEDITOR.document.getBody().append(d);return d}...
Java
<?php require_once 'header.php';?> <div class="page-header"> <h1><?=APP_NAME ?></h1> </div> <a href="auth">auth</a> <!--echo "role=".<?=$role ?>; --> <?php $app = \Slim\Slim::getInstance(); // echo "user->role=".$app->user->role; ?> <?php require_once 'footer.php';?>
Java
/** * Copyright 2017 Kaloyan Raev * * This file is part of chitanka4kindle. * * chitanka4kindle 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
export class GameId { constructor( public game_id: string) { } }
Java
namespace Net.Demandware.Ocapi.Resources.Data { class Coupons { } }
Java
/** File errors.cc author Vladislav Tcendrovskii * Copyright (c) 2013 * This source subjected to the Gnu General Public License v3 or later (see LICENSE) * All other rights reserved * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY * OF ANY KIND, EITHER EXPRESSED OR IMPLIED, * INCLUDING B...
Java
#! /usr/bin/python from xml.sax.saxutils import escape import re def ConvertDiagnosticLineToSonqarqube(item): try: id, line, message, source_file = GetDiagnosticFieldsFromDiagnosticLine(item) WriteDiagnosticFieldsToFile(id, line, message, source_file) except: print 'Cant parse line {}'...
Java
/* Coolors Exported Palette - coolors.co/393d3f-437f97-f2bb05-ff8552-071e22 * * Black Olive * rgba(57, 61, 63, 1) * Queen Blue * rgba(67, 127, 151, 1) * Selective Yellow * rgba(242, 187, 5, 1) * Coral * rgba(255, 133, 82, 1) * Dark Jungle Green * rgba(7, 30, 34, 1) * */ html { backgroun...
Java
#!/usr/bin/env python import os import tempfile import pipes import subprocess import time import random import shutil try: from wand.image import Image from wand.display import display except ImportError as e: # cd /usr/lib/ # ln -s libMagickWand-6.Q16.so libMagickWand.so print("Couldn't import Wand packag...
Java
/* * Copyright (C) 2019 phramusca ( https://github.com/phramusca/ ) * * 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 versi...
Java
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <style> table.head, table.foot { width: 100%; } td.head-rtitle, td.foot-os { text-align: right; } td.head-vol { text-align: center; } table.foot td { width: 50%; } table.head td { width: 33%; } div.spacer { margin: 1em 0; } </style> <title> LNSTAT(8)</title> </head>...
Java
#!/bin/sh # # Build and test mocpy in a 32-bit environment with python3 # # Usage: # testing_py3_ubuntu32.sh # # Update packages to the latest available versions linux32 --32bit i386 sh -c ' apt update > /dev/null && apt install -y curl pkg-config libfreetype6-dev \ python3 python3-pip >/dev/null && # S...
Java
<?PHP class ftp { /** * @var string FTP Host */ private $_host; /** * @var string FTP Port */ private $_port; /** * @var string FTP User */ private $_user; /** * @var string FTP Passwort */ private $_password; /** * @var ressource FTP Verbindung */ private $_connection; /** * @var bool ...
Java
<head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"> <meta name="coder" content="JeffK"> <meta name="dc.date.reviewed" scheme="ISO8601" content="2005-12-30"> <link rel="stylesheet" hre...
Java
#ifndef RESIDUAL_H #define RESIDUAL_H #include "base.h" #include "peak_detection.h" #include "partial_tracking.h" #include "synthesis.h" extern "C" { #include "sms.h" } using namespace std; namespace simpl { // --------------------------------------------------------------------------- // Residual // // Calcu...
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
/* * This file is part of EchoPet. * * EchoPet 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. * * EchoPet is distributed in th...
Java
<?php namespace GO\Base\Fs; class MemoryFile extends File{ private $_data; public function __construct($filename, $data) { $this->_data = $data; return parent::__construct($filename); } public function getContents() { return $this->_data; } public function contents() { return $this->_dat...
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
<?PHP require_once("./include/membersite_config.php"); if(isset($_POST['submitted'])) { if($fgmembersite->RegisterUser()) { require_once("config.php"); mkdir($dataDir); mkdir($dataDir."CLASSTéléversés"); $fgmembersite->RedirectToURL("thank-you.html"); ...
Java
/* * Copyright (C) 2006-2008 Alfresco Software Limited. * * 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 2 * of the License, or (at your option) any later version. * This...
Java
// // ECCardView.h // Beacon // // Created by 段昊宇 on 2017/5/29. // Copyright © 2017年 Echo. All rights reserved. // #import <UIKit/UIKit.h> #import "CCDraggableCardView.h" #import "ECReturningVideo.h" @interface ECCardView : CCDraggableCardView - (void)initialData:(ECReturningVideo *)video; - (void)addLiked; - (...
Java
-- >> INVENTORY << DROP TABLE Items CASCADE; DROP TABLE contient; DROP TRIGGER IF EXISTS delcharacter ON Characterr; CREATE TABLE public.Items( id_inventory INT, item_name VARCHAR(100), qte INT CONSTRAINT item_qte_null NOT NULL CONSTRAINT item_qte_check CHECK (qte > 0) , weight F...
Java
#PASTOR: Code generated by XML::Pastor/1.0.4 at 'Sun Jun 28 20:44:47 2015' use utf8; use strict; use warnings; no warnings qw(uninitialized); use XML::Pastor; #================================================================ package SAN::Cat::Type::catRecord; use SAN::Cat::Type::catRecordBody; use SAN::Cat::Typ...
Java