code
stringlengths
4
1.01M
language
stringclasses
2 values
[![Build Status](https://api.travis-ci.org/felixarntz/screen-reader-check.png?branch=master)](https://travis-ci.org/felixarntz/screen-reader-check) # Screen Reader Check A tool to help developers to make their HTML code accessible for screen reader users. This is a project I'm working on as part of my Bachelor thesi...
Java
Au terme de ce chapitre, vous en savez désormais plus quant aux retours et aux phases de bêta et de validation. Nous allons maintenant voir comme faire un retour, ce qui peut aussi vous aider à développer votre œil critique si vous êtes rédacteur.
Java
<!-- jQuery --> <script src="<?php echo base_url('assets/frontend/js/jquery.js') ?>"></script> <!-- Bootstrap Core JavaScript --> <script src="<?php echo base_url('assets/frontend/js/bootstrap.min.js') ?>"></script> <!-- Contact Form JavaScript --> <!-- Do not edit these files! In order to set the ...
Java
<?php /* * bla-tinymce * Copyright (C) 2017 bestlife AG * info: oxid@bestlife.ag * * 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) ...
Java
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Nerdz.Messenger.Controller; using Nerdz.Messages; using Nerdz; namespace Tests.Controller { public class DummyUI : IMessengerView { private Credentials credentials; private IMessengerController controller; public ...
Java
/* * Copyright (C) 2016 Stuart Howarth <showarth@marxoft.co.uk> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be use...
Java
{% if unique_login_provider %} <form id="signin-form" method="post" action="{{ settings.LOGIN_URL }}"> {{ macros.csrf_middleware_token(csrf_token) }} {{ login_form.next }} {{ login_form.persona_assertion }} <input type='hidden' name='login_provider_name' ...
Java
--- title: 通天仙路 第四百八十四章 改朝换代? date: 2017-05-20 01:00:05 categories: 通天仙路 tags: [Duke, Hannb] --- “方前辈,您有什么事情么?”欧阳明转身,冷下了脸,连客套也没有,就开门见山地说道。? ? ? 以他和方家的交情,本不应该如此势利。但是,惊扰到老匠头就非他所愿了。 方朝阳苦着脸道:“欧大师,老夫确实是有要事相商。”他顿了顿,低声道:“若是可以的话,景深兄也会来此的。” 欧阳明讶然望去,心中第一次正视起来。 这里是倪家府邸,倪景深不直接登门,却派方朝阳迂回求见,确实让人难以理解。他沉吟片刻,道:“也好,请随我来。”提着鸟笼子,回到了房间之中,...
Java
package com.dmtools.webapp.config; import com.dmtools.webapp.config.locale.AngularCookieLocaleResolver; import org.springframework.boot.bind.RelaxedPropertyResolver; import org.springframework.context.EnvironmentAware; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Co...
Java
/** * This class is generated by jOOQ */ package com.aviafix.db.generated.tables.pojos; import java.io.Serializable; import java.time.LocalDate; import javax.annotation.Generated; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.8.5" ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>src\fork\box2d\collision\b2Manifold.js - Box2D Port Fork API</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css...
Java
from test_support import * # this test calls a prover which is correctly configured but whose execution # gives an error (here: the prover executable doesn't exist). The intent is to # test the output of gnatprove in this specific case prove_all(prover=["plop"], opt=["--why3-conf=test.conf"])
Java
import altConnect from 'higher-order-components/altConnect'; import { STATUS_OK } from 'app-constants'; import ItemStore from 'stores/ItemStore'; import ProgressBar from '../components/ProgressBar'; const mapStateToProps = ({ itemState }) => ({ progress: itemState.readingPercentage, hidden: itemState.status !== ST...
Java
/* * Author: Bob Limnor (info@limnor.com) * Project: Limnor Studio * Item: Visual Programming Language Implement * License: GNU General Public License v3.0 */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; ...
Java
/* ComJail - A jail plugin for Minecraft servers Copyright (C) 2015 comdude2 (Matt Armer) 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) ...
Java
package se.solit.timeit.resources; import java.net.URI; import java.net.URISyntaxException; import javax.servlet.http.HttpSession; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.Response; public class BaseResource { protected WebApplicationException redirect(String destination) throws URISynta...
Java
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
Java
/* * This file is part of rasdaman community. * * Rasdaman community 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. * * Rasdam...
Java
function createCategorySlider(selector) { $(document).ready(function(){ var checkforloadedcats = []; var firstImage = $(selector).find('img').filter(':first'); if(firstImage.length > 0){ checkforloadedcats[selector] = setInterval(function() { var image = firstImage.get(0); if (image.complete || i...
Java
<?php /** * Skeleton subclass for performing query and update operations on the 'transaction' table. * * * * This class was autogenerated by Propel 1.4.2 on: * * Sun Jul 17 20:02:37 2011 * * You should add additional methods to this class to meet the * application requirements. This class will only be gen...
Java
from itertools import combinations def is_good(n): return 1 + ((int(n) - 1) % 9) == 9 def generate_subsequences(n): subsequences = [] combinations_list = [] index = 4 #Generate all combinations while index > 0: combinations_list.append(list(combinations(str(n), index))) index...
Java
<!-- This is a more advanced example of using the each function in jQuery. The idea here is that the handling function can choose to return false in which case the 'each' loop is stopped and no further DOM elements are processed. You can use this in order to find a specific element, process only a prefix of the el...
Java
#coding=utf-8 import unittest import HTMLTestRunner import time from config import globalparam from public.common import sendmail def run(): test_dir = './testcase' suite = unittest.defaultTestLoader.discover(start_dir=test_dir,pattern='test*.py') now = time.strftime('%Y-%m-%d_%H_%M_%S') reportname =...
Java
package com.hacks.collegebarter.fragments; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.hacks.collegebarter.R; import com.hacks.collegebarter.navdrawer.MainAppActivity; publi...
Java
/* -*- c++ -*- */ /* * Copyright 2014 Felix Wunsch, Communications Engineering Lab (CEL) / Karlsruhe Institute of Technology (KIT). * * This 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 ...
Java
# -*- coding: utf-8 -*- from pyload.plugin.internal.DeadCrypter import DeadCrypter class FiredriveCom(DeadCrypter): __name = "FiredriveCom" __type = "crypter" __version = "0.03" __pattern = r'https?://(?:www\.)?(firedrive|putlocker)\.com/share/.+' __config = [] #@TODO: Remove in 0.4.10 ...
Java
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Portal.BLL.Concrete.Multimedia.AdjusterParam; using Portal.BLL.Concrete.Multimedia.Adjusters; using Portal.BLL.Concrete.Multimedia.Builder; using Portal.Domain.BackendContext.Entity; namespace Portal.BLL.Tests.MultimediaTests { [TestClass] p...
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"/> <title>GNU Radio 3.6.4.2 C...
Java
package visualk.gallery.db; import java.awt.Color; import java.sql.*; import java.util.logging.Level; import java.util.logging.Logger; import visualk.db.MysqlLayer; import visualk.gallery.objects.Artist; import visualk.gallery.objects.Work; public class DbGallery extends MysqlLayer{ public DbGallery(String us...
Java
/** * Java Settlers - An online multiplayer version of the game Settlers of Catan * Copyright (C) 2003 Robert S. Thomas <thomas@infolab.northwestern.edu> * Portions of this file Copyright (C) 2014,2017,2020 Jeremy D Monin <jeremy@nand.net> * * This program is free software; you can redistribute it and/or * modif...
Java
(function (angular) { 'use strict'; var config = { githubApiUrl: 'https://api.github.com/', }; angular.module('myGithubApp').constant('config', config); })(angular);
Java
<html> <style> body { font-family: Helvetica, Arial; color: #2B332E; } .errorlist li { margin: 0; color: red; } a { text-decoration: none; color: #2B332E; } p.button { font-size: 0.875em; font-weight: bold; float: left; border: 1px solid #C0CCC4; background-color: #ebf2ee; ...
Java
/* Copyright 2013-2017 Matt Tytel * * helm 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. * * helm is distributed in the hope t...
Java
manual.html: manual.md Makefile pandoc --to=html5 --standalone --css=manual.css --table-of-contents --variable=lang:en --mathjax $< > $@
Java
package org.codefx.jwos.file; import org.codefx.jwos.analysis.AnalysisPersistence; import org.codefx.jwos.artifact.AnalyzedArtifact; import org.codefx.jwos.artifact.CompletedArtifact; import org.codefx.jwos.artifact.DownloadedArtifact; import org.codefx.jwos.artifact.FailedArtifact; import org.codefx.jwos.artifact.Fai...
Java
package Calibradores; import java.io.File; import Metricas.MultiescalaConBorde; import Modelo.UrbanizandoFrenos; public class TanteadorTopilejo extends Tanteador { UrbanizandoFrenos CA; public TanteadorTopilejo() { // int[] unConjuntoDeParametros = {1, 1, 1, 333, 333, 333, 1, 1, 444, 400, 400, 555};...
Java
#!/bin/bash #Coded by:FadyHazem/V2.0 Support:LinuxMint-Ubuntu-Debian. #You can recodeing this script but yo must typing the own of this script(FadyHazem). echo "Welcome i will help you to update your system." sleep 4 echo "This script support:LinuxMint-Ubuntu-Debian" sleep 2 read -p "What's your distro name?:" DISTRO e...
Java
/* * Copyright (C) 2017 phantombot.tv * * 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 dist...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_102) on Tue Feb 21 18:04:04 GMT 2017 --> <title>gate.chineseSeg (${plugin.name} JavaDoc)</title> <meta name="date" content="2017-02-21"> <link ...
Java
package com.plasmablazer.tutorialmod.proxy; public interface IProxy { }
Java
using System; namespace org.btg.Star.Rhapsody { public struct SkeletalPoint { public int x { get; set; } public int y { get; set; } public int z { get; ...
Java
GPG Suite 2015.09 ================= September 24th, 2015 GPGMail 2.6b2 ------------- ### Pre-release version info * This beta will be disabled, once the next stable version of GPGMail is released. If you want to continue using GPGMail after that, you will have to acquire a valid license. ### Adds support for OS X 1...
Java
package org.thoughtcrime.securesms.jobs; import androidx.annotation.NonNull; import org.thoughtcrime.securesms.dependencies.ApplicationDependencies; import org.thoughtcrime.securesms.jobmanager.Data; import org.thoughtcrime.securesms.jobmanager.Job; import org.thoughtcrime.securesms.jobmanager.impl.NetworkConstraint...
Java
require_relative '../../spec_helper' describe TypedRb::TypeSignature::Parser do it 'parses a unit type' do result = described_class.parse('unit') expect(result).to eq(:unit) end it 'parses an atomic type' do result = described_class.parse('Bool') expect(result).to eq('Bool') end it 'parses...
Java
<form class="form-horizontal" method="POST" action="{{ request.url }}"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title" id="myModalLabel">{{ _('Edit Participant') }}</h4> </div> <div class="modal-body" style="padding-bot...
Java
import queue import logging import platform import threading import datetime as dt import serial import serial.threaded import serial_device from .or_event import OrEvent logger = logging.getLogger(__name__) # Flag to indicate whether queues should be polled. # XXX Note that polling performance may vary by platfor...
Java
__author__ = "Harish Narayanan" __copyright__ = "Copyright (C) 2009 Simula Research Laboratory and %s" % __author__ __license__ = "GNU GPL Version 3 or any later version" from cbc.twist import * from sys import argv """ DEMO - Twisting of a hyperelastic cube """ class Twist(StaticHyperelasticity): """ Definition...
Java
#include "house2.h" int House2::objCount = 0; GImage *House2::image = nullptr; House2::House2(int x, int y) { posx = x; posy = y; width = 336; height = 366; if(!objCount) image = new GImage("./assets/house-a.gif",width,height,GImage::IS_TRANSPARENT,0); objCount++; if(Debug::debug_en...
Java
package com.silvermatch.advancedMod.block; import com.silvermatch.advancedMod.init.ModBlocks; import com.silvermatch.advancedMod.reference.Reference; import com.silvermatch.advancedMod.utility.Names; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.player.Ent...
Java
using System; using System.Linq; using LeagueSharp; using LeagueSharp.Common; using EloBuddy; using LeagueSharp.Common; namespace ezEvade.SpecialSpells { class Darius : ChampionPlugin { static Darius() { // todo: fix for multiple darius' on same team (one for all) } ...
Java
// Copyright (C) 1999-2021 // Smithsonian Astrophysical Observatory, Cambridge, MA, USA // For conditions of distribution and use, see copyright notice in "copyright" #include "basepolygon.h" #include "fitsimage.h" BasePolygon::BasePolygon(Base* p, const Vector& ctr, const Vector& b) : Marker(p, ctr, 0) { } B...
Java
package pg.autyzm.friendly_plans.manager_app.view.task_create; import android.app.FragmentTransaction; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGrou...
Java
/** Copyright 2010 Christian Kästner This file is part of CIDE. CIDE 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, version 3 of the License. CIDE is distributed in the hope th...
Java
/** * \file stack.c * * Time-stamp: "2012-03-31 13:16:41 bkorb" * * This is a special option processing routine that will save the * argument to an option in a FIFO queue. * * This file is part of AutoOpts, a companion to AutoGen. * AutoOpts is free software. * AutoOpts is Copyright (c) 1992-2012 ...
Java
<ion-header-bar align-title="left" class="bar-positive"> <div class="buttons"> <button class="button button-clear icon ion-chevron-left" ng-click="back('menu');"></button> </div> <h1 class="title">Guimo</h1> </ion-header-bar> <ion-pane> <ion-content> <div class="row"> <div class="col"> ...
Java
/* * Copyright (c) 2010 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except ...
Java
class HomeController < ApplicationController def index @movies = Movie.all.sort_by{|movie| movie.rank}.reverse.first(7) @books = Book.all.sort_by{|book| book.rank}.reverse.first(7) @albums = Album.all.sort_by{|album| album.rank}.reverse.first(7) end end
Java
{% load application_view_menu %} <div id="application-view-header"> <h1>report: <a href="/report/#report/{{ report.pk }}/details/">{{ report.name }}</a></h1> </div> {% application_view_menu object report.pk %} <div class="application-view-content clearfix"> <div class="text-bullet"> <span class="name">link:</...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
Java
## # This module requires Metasploit: http://metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' class Metasploit3 < Msf::Auxiliary include Msf::Exploit::Remote::HttpClient def initialize(info = {}) super(update_info(info, 'Name' =...
Java
#!/usr/bin/env bash set -e if [ ${TARGET} = "win64" ]; then EXTENSION=zip else if [ ${TRAVIS_OS_NAME} = "linux" ]; then EXTENSION=tar.gz else EXTENSION=dmg fi fi curl -T OpenPSTD-${OPENPSTD_MAJOR_VERSION}.${OPENPSTD_MINOR_VERSION}.${TRAVIS_BUILD_NUMBER}-${TARGET}.${EXTENSION} ${WEBDAV}...
Java
/** ****************************************************************************** * @file LibJPEG/LibJPEG_Encoding/Src/encode.c * @author MCD Application Team * @version V1.1.0 * @date 17-February-2017 * @brief This file contain the compress method. **************************************...
Java
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated...
Java
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.0...
Java
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License a...
Java
<?php /** * Mahara: Electronic portfolio, weblog, resume builder and social networking * Copyright (C) 2006-2009 Catalyst IT Ltd and others; see: * http://wiki.mahara.org/Contributors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU G...
Java
<?php $client = ClientData::getById($_GET["id"]); $client->del(); $_SESSION['message'] = L::messages_del_with_success; $_SESSION['alert_type'] = 'success'; Core::redir("./index.php?view=clients"); ?>
Java
/** * @addtogroup OutputTranslator * @{ * @file OutputTranslator/Scala.hh * @author Massimiliano Pagani * @version 1.0 * @date 2016-10-18 * */ #if !defined( OUTPUTTRANSLATOR_SCALA_HH ) #define OUTPUTTRANSLATOR_SCALA_HH #include "OutputTranslator/Base.hh" #include "Tydal/Grammar/BaseType.hh" #include "Tydal/G...
Java
{% load wagtailcore_tags wagtailimages_tags jetstream_tags %} <div class="row-wrapper {{ self.style }} {% if self.background.background_color or self.background.background_image %} bg {% endif %} {% if self.background.background_color and not self.background.background_image %} bg-color-{{ self.background.backgrou...
Java
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moo...
Java
/* ptinit.c - ptinit */ #include <xinu.h> struct ptnode *ptfree; /* list of free message nodes */ struct ptentry porttab[NPORTS]; /* port table */ int32 ptnextid; /* next table entry to try */ /*------------------------------------------------------------------------ * ptinit -- initialize all ports *----...
Java
'use strict'; angular.module('aurea') .directive('d3Bars', function ($window, $timeout, d3Service) { return { restrict: 'EA', scope: { data: '=', onClick: '&' }, link: function (scope, ele, attrs) { d3Service.d3...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_17) on Thu Oct 24 15:10:37 CEST 2013 --> <title>UdpListener</title> <meta name="date" content="2013-10-24"> <link rel="styleshee...
Java
* [Wie ihr eurere Ansible Provisionierung schneller macht.](https://opensource.com/article/19/3/ansible-performance) * [RedoxOS wurde in der Version 0.5 veröffentlicht.](https://www.phoronix.com/scan.php?page=news_item&px=Redox-OS-0.5-Released) * [Ach du Scheiße, Überwachung, Vermessung und Verblödung sind auf dem Vorm...
Java
mkdir -p "$1" && $2 rm -rf "$1"/* && mkdir -p "$3"
Java
package com.softech.ls360.lms.api.proxy.service; import com.softech.vu360.lms.webservice.message.lmsapi.serviceoperations.user.AddUserResponse; import com.softech.vu360.lms.webservice.message.lmsapi.serviceoperations.user.UpdateUserResponse; import com.softech.vu360.lms.webservice.message.lmsapi.types.user.UpdateableU...
Java
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 5.2.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by the Perl program only. The format and even # the name or...
Java
define(['Scripts/App/CommentsScraper'], function(CommentsScraper) { describe('myFilter', function() { var failTest = function(error) { expect(error).toBeUndefined(); }; beforeEach(function(){ jasmine.addMatchers({ toBeEqualComment: function() { return { ...
Java
<!-- <div class="jumbotron"> <h1>Welcome!</h1> <?php echo $content->getHtml(); ?> </div> --> <div class="row" style="padding: 15px;"> <?php $bgcolors = array('blue','green','orange','grey'); $i=0; foreach($content->children as $child){ $mod = $i % count($bgcolors); $color = $bgcolors[$mod]; ...
Java
package cz.cuni.lf1.lge.ThunderSTORM.estimators; import cz.cuni.lf1.lge.ThunderSTORM.detectors.CentroidOfConnectedComponentsDetector; import cz.cuni.lf1.lge.ThunderSTORM.estimators.PSF.EllipticGaussianPSF; import cz.cuni.lf1.lge.ThunderSTORM.estimators.PSF.EllipticGaussianWAnglePSF; import cz.cuni.lf1.lge.ThunderSTORM...
Java
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # dépendances import requests import xml.dom.minidom import sys import signal import os import getopt from queue import Queue from threading import Thread import time class SetQueue(Queue): def _init(self, maxsize): Queue._init(self, maxsize) self.a...
Java
package org.renjin.invoke.codegen; import com.google.common.collect.Lists; import com.sun.codemodel.*; import org.apache.commons.math.complex.Complex; import org.renjin.invoke.annotations.PreserveAttributeStyle; import org.renjin.invoke.model.JvmMethod; import org.renjin.invoke.model.PrimitiveModel; import org.renjin....
Java
/* * Geopaparazzi - Digital field mapping on Android based devices * Copyright (C) 2016 HydroloGIS (www.hydrologis.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 ...
Java
/* * Author: patiphat mana-u-krid (dew) * E-Mail: dewtx29@gmail.com * facebook: https://www.facebook.com/dewddminecraft */ package dewddgetaway; import java.util.Random; import java.util.Stack; import org.bukkit.Bukkit; import org.bukkit.block.Block; import org.bukkit.entity.Player; im...
Java
<?php class removeAccents extends CommonServices{ private $accented; private $unaccented; public function __construct($string) { $this->accented = $string; $this->unaccented = $this->removeAccents($string); } public function get(){ return $this->unaccen...
Java
// // Created by Christian Ehrig on 31/01/16. // #ifndef FILETOAST_WORKER_H #define FILETOAST_WORKER_H void * worker(void *); char * readfile(t_job *); int senddata(t_job * job); #endif //FILETOAST_WORKER_H
Java
#! /usr/bin/env python # -*- coding: utf-8 -*- # # pkpgcounter : a generic Page Description Language parser # # (c) 2003-2009 Jerome Alet <alet@librelogiciel.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 Soft...
Java
const actions = { // Video ended ended({dispatch,commit}, video) { video.isPlaying = false; dispatch('next', video); commit('PLAYING',video); }, // Add video to queue addToQueue({state, dispatch, commit }, obj) { var index = _.findIndex(state.qu...
Java
<!DOCTYPE html> <html> <head> <title>Washington State Courts - Supreme Court Calendar </title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="expires" content="0"> <meta http-equiv="Pragma" content="no-cache...
Java
package com.baeldung.collection.filtering; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.hamcrest.Matchers; import org.junit.Assert; import org.junit.Test; /** * Various filtering examples. * * @author Rodolfo Felip...
Java
// core import React from 'react'; import PropTypes from 'react'; // components import Loading from '../../components/loading/Loading'; // styles var style = require('./_index.scss'); // data var Timeline = require('react-twitter-widgets').Timeline; var Twitter = React.createClass({ getInitialState: function()...
Java
/* =========================================================================== Copyright (c) 2010-2014 Darkstar Dev Teams 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...
Java
<?php // This is a SPIP language file -- Ceci est un fichier langue de SPIP // Fichier source, a modifier dans svn://zone.spip.org/spip-zone/_plugins_/seo/lang/ if (!defined('_ECRIRE_INC_VERSION')) return; $GLOBALS[$GLOBALS['idx_lang']] = array( // S 'S.E.O' => 'SEO', // A 'alexa' => 'Alexa', 'alexa_activate'...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60) on Sun Oct 25 17:08:11 MDT 2015 --> <title>Generated Documentation (Untitled)</title> <script type="text/javascript"> targetPage ...
Java
#! /bin/bash BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" TMP_DIR="$BASE_DIR""/.tmp" BASE_DIR_NAME="$(basename $BASE_DIR)" HTDOCS="$BASE_DIR"'/htdocs' EXPORT_DIR="$BASE_DIR"'/exported-html' FILE_SUFFIX=".html" PATH_TYPE='relative' if [[ ! -d "$EXPORT_DIR" ]]; then echo "Creating export directory: ...
Java
/* * Copyright (C) 2017 GG-Net GmbH * * 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 i...
Java
using System; using System.Threading; using Viki.LoadRunner.Engine.Core.Scenario.Interfaces; using Viki.LoadRunner.Engine.Strategies.Replay.Interfaces; using Viki.LoadRunner.Engine.Strategies.Replay.Scheduler.Interfaces; namespace Viki.LoadRunner.Playground.Replay { public class ReplayScenario : IReplayScenario<s...
Java
#!/usr/bin/env python """This utility script was adopted from StackExchange: http://stackoverflow.com/questions/12090503/listing-available-com-ports-with-python Adopted for use with arduino_GC connection project """ import sys import glob import serial def serial_ports(): """ Lists serial port names :ra...
Java
function Greeter(person) { return "Hello, " + person; } var RandomGuy = "Random Dude"; alert(Greeter(RandomGuy)); //# sourceMappingURL=HelloWorld.js.map
Java
<?php namespace sebastiangolian\php\logger; /* Logger::getInstance()->addDefaultLog('test'); Logger::getInstance()->addLog(new Message('type', 'message')); echo Logger::getInstance()->generateAllMessages(); */ class Logger { private static $instance; private $messages = []; private ...
Java