code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/* @flow */
import { Case } from '../Case';
export class PostTitle extends Case {
static text = 'Post title';
static parseCriterion(input: *) { return { patt: input }; }
static defaultConditions = { patt: '' };
static fields = ['post\'s title contains ', { type: 'text', id: 'patt' }];
static reconcilable = tru... | andytuba/Reddit-Enhancement-Suite | lib/modules/filteReddit/postCases/PostTitle.js | JavaScript | gpl-3.0 | 607 |
#!/bin/sh
BUILD=1
PREFIX="/data/data/org.radare.installer/radare2"
if [ -z "${NDK}" ]; then
echo "use ./android-{arm|mips|x86}.sh"
exit 1
fi
cd `dirname $PWD/$0` ; cd ..
case "$1" in
"mips")
NDK_ARCH=mips
STATIC_BUILD=0
STRIP=mips-linux-android-strip
;;
"arm")
NDK_ARCH=arm
STATIC_BUILD=0
STRIP=arm-eabi-stri... | jpenalbae/radare2 | sys/android-build.sh | Shell | gpl-3.0 | 3,072 |
/*
* This file is part of EasyRPG Player.
*
* EasyRPG Player 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.
*
* EasyRPG Player... | FaithFeather/Player | src/decoder_mpg123.cpp | C++ | gpl-3.0 | 5,558 |
---
layout: post
title: Simple Framework Websocket server
date: 2017-02-18
categories: websocket
tags: websocket server gradle
---
Following the [previous post about a HTTP server][sf-http] based on the [Simple Framework library][simpleframework], here's the Websocket use case. The example gets a bit more complicat... | hblok/rememberjava | _posts/2017-02-18-sf_websocket_server.md | Markdown | gpl-3.0 | 5,110 |
$LOAD_PATH << "./lib"
require 'pk2_commands'
#require 'usbcomm'
#require 'common'
require 'pic14_f1'
include PICkit2::Commands
pk = PICkit2::Programmer.new
pk.claim
#puts pk.readStatus.inspect
pk.enterPVMode("HVP")
puts pk.readChipID.inspect
#puts pk.readProgramMemory.map {|x| "%04X" % x}.inspect
pk.exitPVMode
p... | mrtee/pickit2-f1xxx | thecode/lib_v2/proba13_writeuid.rb | Ruby | gpl-3.0 | 762 |
<?php
/*
IrizimaGe - PHP Image/Media Gallery made easy
Copyright (C) 2013 Alexandre Devilliers
This file is part of IrizimaGe.
IrizimaGe 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,... | elbereth/IrizimaGe | config.inc.php | PHP | gpl-3.0 | 1,193 |
\documentclass[slidestop,compress,mathserif,serif,notes=show]{beamer}
% Not to print overlays
% \documentclass[handout,slidestop,compress,mathserif,serif]{beamer}
% To use PSTricks
% \documentclass[slidestop,compress,mathserif,serif,xcolor=pst,dvips]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{rfiw}
%\usepackage... | rxuriguera/banddisam | doc/slides.tex | TeX | gpl-3.0 | 2,804 |
/* eMafiaServer - GameObject.java
GNU GENERAL PUBLIC LICENSE V3
Copyright (C) 2012 Matthew 'Apocist' Davis */
package com.inverseinnovations.eMafiaServer.includes.classes.GameObjects;
public class GameObject {
/**
* Object Types: examples are DEFINED
* @example
* GO_TYPE_ROOM => Room
* <br>GO_TYPE_CHAR => P... | apocist/eMafiaServer | src/com/inverseinnovations/eMafiaServer/includes/classes/GameObjects/GameObject.java | Java | gpl-3.0 | 1,091 |
package View;
import javax.sound.sampled.AudioFormat;
import javax.swing.*;
import Control.SilenceInfo;
import java.awt.*;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Random;
public class SingleWaveformPa... | alosaulo/SoundExtractor | src/View/SingleWaveformPanel.java | Java | gpl-3.0 | 4,335 |
import { ProjectOperationCredentials } from "../ProjectOperationCredentials";
import { RepoFilter } from "../repoFilter";
import {
RemoteRepoRef,
RepoRef,
} from "../RepoId";
import { Credentialed } from "./Credentialed";
import { RemoteLocator } from "./RemoteLocator";
import { GitHubNameRegExp } from "./valid... | atomist/automation-client-ts | lib/operations/common/params/TargetsParams.ts | TypeScript | gpl-3.0 | 1,507 |
// ******************************************************************************
// Filename: Interpolator.h
// Project: Vogue
// Author: Steven Ball
//
// Purpose:
// An interpolator helper class that will manage all the interpolations for
// your variables.
//
// Revision History:
// Initial Revisio... | AlwaysGeeky/Vogue | source/utils/Interpolator.h | C | gpl-3.0 | 3,607 |
[](Home.md)[](Gallery.md)[](Examples.md)[](Downloads.md)[](Documentation.md)[</li>
* <li>Standard cells - contains data (created with the td element)</li></ul>
* <p>The text in a th element is bold a... | lasso/textura | src/htmlbuilder/lib/Elements/Table/Td.php | PHP | gpl-3.0 | 1,680 |
include DIRS
CROSS_COMPILE?=arm-linux-gnueabihf-
LIBDIR_APP_LOADER?=../am335x_pru_package/pru_sw/app_loader/lib
INCDIR_APP_LOADER?=../am335x_pru_package/pru_sw/app_loader/include
PASM?=../am335x_pru_package/pru_sw/utils/pasm_2
BINDIR?=./
CFLAGS+= -Wall -I$(INCDIR_APP_LOADER) -D__DEBUG -O2 -mtune=cortex-a8 -march=arm... | robotfuel/n64_kbd_bbb | Makefile | Makefile | gpl-3.0 | 786 |
'use strict';
angular.module('knowShareVanApp')
.directive('events', () => ({
templateUrl: 'components/events/events.html',
restrict: 'E',
scope: {
calHeight: '=height',
showTitle: '=showTitle'
},
controller: 'EventsController',
controllerAs: 'event'
})); | dmitryfd/knowsharevan | client/components/events/events.directive.ts | TypeScript | gpl-3.0 | 296 |
<?php
if($isset($_GET["que"])) {
$queCosa = $_GET["que"];
$cargar = "[]";
if($queCosa == "cate") $cargar = get_file_contents("categorias.json");
if($queCosa == "marc") $cargar = get_file_contents("marcas.json");
if($queCosa == "prod") $cargar = get_file_contents("productos.json");
echo $cargar;
} else {
... | cafeClases/proyectoPHPbase | datos/conseguir.php | PHP | gpl-3.0 | 337 |
--[[
* Copyright (c) 2011-2020 by Adam Hellberg.
*
* This file is part of KillTrack.
*
* KillTrack 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, o... | SharpWoW/KillTrack | KillTrack.lua | Lua | gpl-3.0 | 22,470 |
<?php
namespace Language;
class LanguageApplet
{
/**
* Gets the language files for the applet and puts them into the cache.
*
* @throws Exception If there was an error.
*
* @return void
*/
public static function generateAppletLanguageXmlFiles()
{
// List of the applets [directory => applet_id].
$... | hjordao/LanguageBatchBo | src/LanguageApplet.php | PHP | gpl-3.0 | 4,216 |
// {SHANK_BOT_LICENSE_BEGIN}
/****************************************************************
****************************************************************
*
* ShankBot - Automation software for the MMORPG Tibia.
* Copyright (C) 2016-2017 Mikael Hernvall
*
* This program is free software: you can redistribute it an... | MickeMakaron/ShankBot | messaging/src/Message.cpp | C++ | gpl-3.0 | 2,123 |
/* Global Element Styles */
html {overflow-y:scroll;}
body {margin:0; padding:0; background:#fff; font:75%/normal Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {margin:.1em 0;}
h1, h2.headline {color:#c88039; font-size:1.33em;}
h2 {color:#c88039; font-size:1.167em;}
h3 {color:#333; font-size:1.167em;}
h4 {col... | kitsudo1412/AngularExchange | src/admin/template/admin-template.css | CSS | gpl-3.0 | 66,343 |
/*
Copyright (C) 2013 by Maxim Biro <nurupo.contributions@gmail.com>
Copyright © 2014-2017 by The qTox Project Contributors
This file is part of qTox, a Qt-based graphical interface for Tox.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General ... | noavarice/qTox | src/core/core.h | C | gpl-3.0 | 9,867 |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<!-- ===================================================================================================
Instituto Municipal de Planeación y Competitividad (IMPLAN) de Torreón.
3er. generación de la Plataforma del Conocimiento
De... | TRCIMPLAN/trcimplan.github.io | sala-prensa/2018-11-30-onceava-y-doceava-sesion.html | HTML | gpl-3.0 | 44,506 |
# This file is part of JST.
#
# JST 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.
#
# JST is distributed in the hope that it will b... | s-gogna/JST | mips/configurations.py | Python | gpl-3.0 | 904 |
/** main.c
*
* This file is part of Sub3dtool
*
* Sub3dtool 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.
*
* Sub3dtool is ... | veracitynhd/sub3dtool | src/main.c | C | gpl-3.0 | 14,492 |
/*
* 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... | marxoft/cutetube2 | app/src/desktop/mainwindow.h | C | gpl-3.0 | 1,864 |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2016-2017 - Hans-Kristian Arntzen
* Copyright (C) 2011-2017 - Daniel De Matteis
*
* RetroArch 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 Found-
* ati... | Monroe88/RetroArch | menu/drivers_display/menu_display_vulkan.c | C | gpl-3.0 | 10,637 |
//http://www.spoj.com/problems/LCS/
#include<iostream>
#include<cstdio>
#include<map>
using namespace std;
#define MAXLEN 500000
struct state{
// map<char,int> next;//transition edges for the this state
int next[26];
int length; //length of longest string in this equivilence class
int suffix_link; //suffix link o... | uditsharma7/Algorithms | Strings/Suffix-Automata/lcs.cpp | C++ | gpl-3.0 | 2,173 |
package de.deepamehta.core.impl;
import de.deepamehta.core.DeepaMehtaObject;
import de.deepamehta.core.JSONEnabled;
import de.deepamehta.core.TopicType;
import de.deepamehta.core.model.TopicTypeModel;
import de.deepamehta.core.service.Directive;
import de.deepamehta.core.service.Directives;
import java.util.List;
imp... | ascherer/deepamehta | modules/dm4-core/src/main/java/de/deepamehta/core/impl/AttachedTopicType.java | Java | gpl-3.0 | 2,586 |
<?php
/**
* Skynet/Renderer/Html//SkynetRendererHtmlConsoleRenderer.php
*
* @package Skynet
* @version 1.1.2
* @author Marcin Szczyglinski <szczyglis83@gmail.com>
* @link http://github.com/szczyglinski/skynet
* @copyright 2017 Marcin Szczyglinski
* @license https://opensource.org/licenses/GPL-3.0 GNU Public Li... | szczyglinski/skynet | src/Skynet/Renderer/Html/SkynetRendererHtmlConsoleRenderer.php | PHP | gpl-3.0 | 6,629 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <math.h>
// EXTERNAL
extern int getCookie(char *cookie);
extern void putLog (char *, char *);
extern int curl (char *url);
// EXTERNAL
int main(int argc, char **argv)
{
// We're going to write something anyway
printf("Content-Type... | ioan-123/mws | autogen/cgi-bin/cart/cart_check_lock.c | C | gpl-3.0 | 648 |
<!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... | jaallen85/libjade | docs/annotated.html | HTML | gpl-3.0 | 10,262 |
/*
* Copyright (C) 2008 Universidade Federal de Campina Grande
*
* This file is part of Commune.
*
* Commune 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, o... | OurGrid/commune | src/main/test/br/edu/ufcg/lsd/commune/functionaltests/data/parametersdeployment/MyInterface43.java | Java | gpl-3.0 | 1,043 |
<!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_111) on Mon Apr 17 12:43:34 EDT 2017 -->
<title>Uses of Class edu.wright.cs.jfiles.commands.Mv</title>
<meta name="date" content="2017-04-17">
... | rsanchez-wsu/jfiles | doc/edu/wright/cs/jfiles/commands/class-use/Mv.html | HTML | gpl-3.0 | 4,381 |
/*******************************************************************************
QueryBuilder.cpp
Copyright (C) Victor Olaya
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... | gregorburger/SAGA-GIS | src/modules/shapes/shapes_tools/QueryBuilder.cpp | C++ | gpl-3.0 | 3,531 |
# -*- coding: utf-8 -*-
"""Caliopen mail message privacy features extraction methods."""
from __future__ import absolute_import, print_function, unicode_literals
import logging
import pgpy
from caliopen_main.pi.parameters import PIParameter
from .helpers.spam import SpamScorer
from .helpers.ingress_path import get_i... | CaliOpen/CaliOpen | src/backend/components/py.pi/caliopen_pi/features/mail.py | Python | gpl-3.0 | 8,082 |
# .emacs.d
My emacs configuration
| aalmiramolla/.emacs.d | README.md | Markdown | gpl-3.0 | 34 |
package com.games.elnino.counter;
public class roundSaver {
private int points;
private boolean thisOneFinished;
private boolean moreThanOneFinished;
public roundSaver(int points, boolean thisOneFinished, boolean moreThanOneFinished) {
this.points = points;
this.thisOneFinished = this... | me-el-nino/card-game-helper | app/src/main/java/com/games/elnino/counter/roundSaver.java | Java | gpl-3.0 | 877 |
//******************************************************************************
// MSP430G2xx3 Demo - Timer_A, Toggle P1.0, CCR0 Up Mode ISR, DCO SMCLK
//
// Description: Toggle P1.0 using software and TA_0 ISR. Timer_A is
// configured for up mode, thus the timer overflows when TAR counts to CCR0.
// In this... | e135193/MSP430G-Lauchpad | Ders 4/main.c | C | gpl-3.0 | 1,444 |
\hypertarget{namespacewebsocketpp_1_1extensions_1_1permessage__deflate}{}\section{websocketpp\+:\+:extensions\+:\+:permessage\+\_\+deflate Namespace Reference}
\label{namespacewebsocketpp_1_1extensions_1_1permessage__deflate}\index{websocketpp\+::extensions\+::permessage\+\_\+deflate@{websocketpp\+::extensions\+::perme... | nsol-nmsu/ndnSIM | docs/icens/latex/namespacewebsocketpp_1_1extensions_1_1permessage__deflate.tex | TeX | gpl-3.0 | 2,623 |
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: local('Lato Regular'), local('Lato-Regular'), url(//fonts.gstatic.com/s/lato/v11/v0SdcGFAl2aezM9Vq_aFTQ.ttf) format('truetype');
}
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: local('Lato Bold'),... | librenms/librenms-summit | html/css/Lato.css | CSS | gpl-3.0 | 884 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2019-11-21 04:58
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('posgradmin', '0039_auto_20191120_2249'),
]
operations = [
migrations.AlterModelOpt... | sostenibilidad-unam/posgrado | posgradmin/posgradmin/migrations/0040_auto_20191120_2258.py | Python | gpl-3.0 | 484 |
<!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 (1.8.0_77) on Fri Apr 22 11:15:23 CEST 2016 -->
<title>ensg.tsig.chimn.dao</title>
<meta name="date" content="2016-04-22">
<link rel="stylesheet" type... | TSIG15/CHIMN | doc/javadoc/ensg/tsig/chimn/dao/package-frame.html | HTML | gpl-3.0 | 1,798 |
---
title: "ऑनलाइन लीक हुई उड़ता पंजाब!"
layout: item
category: ["entertainment"]
date: 2016-06-15T14:49:43.022Z
image: 1466002183021udta.jpg
---
<p>नई दिल्ली: बॉलीवुड फिल्म उड़ता पंजाब के ऑनलाइन लीक होने की बात कही जा रही है। बॉलीवुडलाइफ की रिपोर्ट के मुताबिक, पिछले कई दिनों से सेंसर बोर्ड से विवाद के चलते सुर्खियों म... | InstantKhabar/_source | _source/news/2016-06-15-udta.html | HTML | gpl-3.0 | 2,134 |
Initiapp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web ... | robwa/initiapp | config/environments/development.rb | Ruby | gpl-3.0 | 1,409 |
<form class="standard_form" data-action="do_admin_save_word_filter">
<?php if($val('filter.id')): ?>
<input type="hidden" name="id" value="<?php $esc($val('filter.id')); ?>" />
<?php endif; ?>
<label for="word"><?php $lang('word_filter_word'); ?></label>
<input type="text" name="word" id="word" value="<?ph... | tjchamne/x7chat | templates/default/components/admin/word_filter_form.php | PHP | gpl-3.0 | 1,017 |
#!/bin/sh
printfix() {
cat <<"FIX"
The "openldap-servers" package should be removed if not in use. Is this machine the OpenLDAP server? If not, remove the package. # yum erase openldap-serversThe openldap-servers RPM is not installed by default on RHEL6 machines. It is needed only by the OpenLDAP server, not by the... | Taywee/dod-stig-scripts | linux/V-38627/vars.sh | Shell | gpl-3.0 | 806 |
/**
* @module main application controller
* @description Runs socket.io and static http server, listens for client connections and directs user/room instances.
*
* @author cemckinley <cemckinley@gmail.com>
* @copyright Copyright (c) 2013 Author, contributors
* @license GPL v3
*/
var fs = require('f... | cemckinley/node-mud | server/app.js | JavaScript | gpl-3.0 | 1,571 |
/*******************************************************************************
* Copyright (c) 2014, 2015 Scott Clarke (scott@dawg6.com).
*
* This file is part of Dawg6's Common GWT Libary.
*
* Dawg6's Common GWT Libary is free software: you can redistribute it and/or modify
* it under the terms of the GNU Gene... | dawg6/dawg6-gwt-common | src/com/dawg6/gwt/client/widgets/GenericComboBox.java | Java | gpl-3.0 | 5,450 |
// Copyright 2013-2021, University of Colorado Boulder
/**
* View for the 'Macro' screen.
*
* @author Chris Malley (PixelZoom, Inc.)
*/
import Property from '../../../../axon/js/Property.js';
import ScreenView from '../../../../joist/js/ScreenView.js';
import merge from '../../../../phet-core/js/merge.js';
import... | phetsims/ph-scale | js/macro/view/MacroScreenView.js | JavaScript | gpl-3.0 | 6,534 |
// $Id: TreeModelComposite.java 13829 2007-11-23 23:54:26Z tfmorris $
// Copyright (c) 1996-2006 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby grant... | ckaestne/LEADT | workspace/argouml_diagrams/argouml-app/src/org/argouml/ui/TreeModelComposite.java | Java | gpl-3.0 | 4,656 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
\\/ M anipulation |
---------------... | themiwi/freefoam-debian | applications/utilities/parallelProcessing/decomposePar/decomposePar.C | C++ | gpl-3.0 | 24,750 |
{% extends 'base.html' %}
{% block content %}
{% for guest in this.children.all() %}
<p>{{ guest.name }}</p>
{% endfor %}
{% endblock content %}
| rubonfest/rubonfest | templates/guest_role.html | HTML | gpl-3.0 | 155 |
#.rst:
# FindPythonLibs
# --------------
#
# Find python libraries
#
# This module finds if Python is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
#
# ::
#
# PYTHONLIBS_FOUND - have the P... | Reaktoro/Reaktoro | cmake/FindPythonLibs.cmake | CMake | gpl-3.0 | 11,903 |
% GNUPLOT: LaTeX picture with Postscript
\begingroup
\makeatletter
\providecommand\color[2][]{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Package color not loaded in conjunction with
terminal option `colourtext'%
}{See the gnuplot documentation for explanation.%
}{Either use 'bla... | fietew/publications | publications/2015-05_AES138_Aliasing_Linear_Local_WFS/slides/slide06/fig.tex | TeX | gpl-3.0 | 5,831 |
/*!
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.2.0');
src: ur... | compassion-technologies/Probs.info | qa-theme/Donut-theme/css/font-awesome.css | CSS | gpl-3.0 | 26,649 |
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo
* This benchmark is part of SWSC */
#include <assert.h>
#include <stdint.h>
#include <stdatomic.h>
#include <pthread.h>
atomic_int vars[2];
atomic_int atom_0_r3_2;
atomic_int atom_0_r5_3;
atomic_int atom_1_r5_2;
atomic_int atom_1_r1_1;
void *t0(void *arg){
l... | nidhugg/nidhugg | tests/litmus/C-tests/DETOUR0492.c | C | gpl-3.0 | 2,156 |
#ifndef MANTID_INDEXING_INDEXTYPE_H_
#define MANTID_INDEXING_INDEXTYPE_H_
#include <type_traits>
namespace Mantid {
namespace Indexing {
namespace detail {
/** A base class for strongly-typed integers, without implicit conversion.
@author Simon Heybrock
@date 2017
Copyright © 2017 ISIS Rutherford Applet... | ScreamingUdder/mantid | Framework/Indexing/inc/MantidIndexing/IndexType.h | C | gpl-3.0 | 2,512 |
/**
* Piwik - free/libre analytics platform
*
* Series Picker control addition for DataTable visualizations.
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function ($, require) {
/**
* This class creates and manages the Series Picker for certain Dat... | Morerice/piwik | plugins/CoreVisualizations/javascripts/seriesPicker.js | JavaScript | gpl-3.0 | 5,845 |
""" Interacts with sqlite3 db
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six
import sqlite3
import os
import hashlib
import random
import time
import DIRAC
from DIRAC import gLogger, S_OK, S_ERROR
from DIRAC.FrameworkSystem.private.monitorin... | ic-hep/DIRAC | src/DIRAC/FrameworkSystem/private/monitoring/MonitoringCatalog.py | Python | gpl-3.0 | 19,766 |
# DESCRIPTION
# Resizes an image by nearest neighbor method via ffmpeg.
# USAGE
# Run this script with three parameters:
# - $1 input file
# - $2 output format
# - $3 px wide to resize to by nearest neighbor method, maintaining aspect
# For example:
# ffmpeg2imgNN.sh input.jpg png 1920
# CODE
# example ffmpeg com... | r-alex-hall/fontDevTools | scripts/imgAndVideo/ffmpeg2imgNN.sh | Shell | gpl-3.0 | 648 |
<?php
/**
* Mandatory public API of userverifier module
*
* @package mod_userverifier
* @copyright 2015 Maxim Lobov
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die;
/**
* @uses FEATURE_COMPLETION_HAS_RULES
* @param string $feature FE... | Slaffka/moodel | mod/userverifier/lib.php | PHP | gpl-3.0 | 2,588 |
//Scroll View
function scrollHandler(view, hscrollbar, vscrollbar){
this.view= view;
this.view.addEventListener('DOMMouseScroll', this, false);
this.view.addEventListener('mousewheel', this, false);
this.hListeners= [];
this.vListeners= [];
if (hscrollbar != undefined){
this.hscrollbar= hscrollbar;
this.h... | dmelian/imywa | www/script/frmx/lib.js | JavaScript | gpl-3.0 | 3,589 |
#!/bin/sh
cmake -G "CodeBlocks - Unix Makefiles" "$*" -DCMAKE_TOOLCHAIN_FILE=../toolchain-arm-none-eabi-rpi.cmake ../
| hoglet67/PiTubeDirect | src/scripts/configure_rpi.sh | Shell | gpl-3.0 | 119 |
-- DROP TABLE IF EXISTS `zt_action`;
CREATE TABLE IF NOT EXISTS `zt_action` (
`id` mediumint(8) unsigned NOT NULL auto_increment,
`company` mediumint(8) unsigned NOT NULL default '0',
`objectType` varchar(30) NOT NULL default '',
`objectID` mediumint(8) unsigned NOT NULL default '0',
`product` varchar(255) NO... | isleon/zentao | db/zentao.sql | SQL | gpl-3.0 | 53,452 |
#include "algorithms/collect_components.hh"
#include "algorithms/evaluate.hh"
using namespace cadabra;
// #define DEBUG 1
collect_components::collect_components(const Kernel& k, Ex& tr)
: Algorithm(k, tr)
{
}
bool collect_components::can_apply(iterator st)
{
assert(tr.is_valid(st));
if(*st->name=="\\sum") re... | kpeeters/cadabra2 | core/algorithms/collect_components.cc | C++ | gpl-3.0 | 1,561 |
namespace System.Runtime.Serialization
{
using System;
using System.Runtime.InteropServices;
[ComVisible(true)]
public interface IDeserializationCallback
{
void OnDeserialization(object sender);
}
}
| randomize/VimConfig | tags/dotnet/mscorlib/System/Runtime/Serialization/IDeserializationCallback.cs | C# | gpl-3.0 | 236 |
<!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... | jgodoy2017/D3D | ATIPI-Compresor/Doc/classstd_1_1_coder-members.html | HTML | gpl-3.0 | 11,500 |
# -*- coding: utf-8 -*-
# <Lettuce - Behaviour Driven Development for python>
# Copyright (C) <2010-2012> Gabriel Falcão <gabriel@nacaolivre.org>
#
# 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 Foundatio... | adw0rd/lettuce-py3 | tests/functional/test_terrain.py | Python | gpl-3.0 | 2,378 |
/* This file is part of jball.
jball 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 distributed in the h... | karlsebal/lab | jball/src/de/karlsebal/jball/TinyConsole.java | Java | gpl-3.0 | 1,512 |
import { createGlobalStyle } from 'styled-components';
const GlobalStyle = createGlobalStyle`
.ant-breadcrumb {
display: flex;
align-items: center;
font-size: 10px;
color: #818181;
border-bottom: 1px solid #ccc;
}
`;
export default GlobalStyle;
| StamusNetworks/scirius | ui/app/global-styles.js | JavaScript | gpl-3.0 | 271 |
<?php
/**
* TrcIMPLAN Índice Básico de Colonias
*
* Copyright (C) 2016 Guillermo Valdes Lozano
*
* 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... | TRCIMPLAN/beta | lib/IBCTorreon/ResidencialLasIsabeles.php | PHP | gpl-3.0 | 5,242 |
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| The Laravel queue API supports a variety of back-ends via an unified
| API, giving you conven... | printempw/blessing-skin-server | config/queue.php | PHP | gpl-3.0 | 2,465 |
<?php
/**
* TrcIMPLAN - SMI Indicadores Matamoros Economía Jornadas Laborales Muy Largas (Creado por Central:SmiLanzadera)
*
* Copyright (C) 2015 Guillermo Valdés Lozano
*
* 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
... | TRCIMPLAN/beta | lib/SMIIndicadoresMatamoros/EconomiaJornadasLaboralesMuyLargas.php | PHP | gpl-3.0 | 11,239 |
FROM python:3.8.7-buster
LABEL GeoNode development team
RUN mkdir -p /usr/src/geonode
# Enable postgresql-client-11.2
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add ... | francbartoli/geonode | Dockerfile | Dockerfile | gpl-3.0 | 2,709 |
package io.gumga.core.gquery;
import java.io.Serializable;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
/**
* Junção utilizada no {@link GQuery}
*/
public class Join implements Serializable {
/**
* Tipo de Junção
*/
private JoinType type;
/**
* Tabela
... | GUMGA/frameworkbackend | gumga-core/src/main/java/io/gumga/core/gquery/Join.java | Java | gpl-3.0 | 1,886 |
Exercise 3 (Load Modelling)
==========
(Test Mission3 given to you by using the CCD IS E(M)ARI heuristic)
Context
---------------
The juice shop
We want to go online as soon as possible!
Do we have performance issues that could hinder us from doing so?
Criterias
---------------
Can you provide us with the followin... | gmuecke/boutique-de-jus | perftest-gatling/exercise-3/README.md | Markdown | gpl-3.0 | 1,553 |
/*
* Copyright 2014 MovingBlocks
*
* 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 t... | xposure/zSprite_Old | Source/Framework/zSprite.Sandbox/Terasology/audio/openAL/OpenALManager.java | Java | gpl-3.0 | 10,684 |
Instructions
=======================
This is a histogram plotter for each of the variables available in the Motor Trend Car Road Tests data.
* Adjust the number of histogram bins using the slider. The default is set to 10.
* Select the variable you wish to plot from the Variable drop down menu.
Enjoy! | ch4413/DevelopingData | plotly/include.md | Markdown | gpl-3.0 | 305 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="utf-8">
<title>BlinkDemo - Open Source Bitcoin Exchange demo website</title>
<!-- Meta -->
<meta name="viewport" content="width=dev... | MasterX1582/MasterX1582.github.io | post/faq-why-don't-I-have-a-private-key-for-my-exchange-wallet/index.html | HTML | gpl-3.0 | 6,758 |
//----------------------------------------------------------------------------
// Copyright (C) 2004-2015 by EMGU Corporation. All rights reserved.
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Syste... | Lutske/EMGU_CV | Emgu.CV/Util/CvToolbox.cs | C# | gpl-3.0 | 14,733 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... | pleonex/tinke | Plugins/Fonts/Fonts/Properties/AssemblyInfo.cs | C# | gpl-3.0 | 1,591 |
/*
* GCM: Galois/Counter Mode.
*
* Copyright (c) 2007 Nokia Siemens Networks - Mikko Herranen <mh1@iki.fi>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include <crypt... | williamfdevine/PrettyLinux | crypto/gcm.c | C | gpl-3.0 | 34,596 |
/*
Copyright 2015 Anton Seliverstov (seliverstov.ad@ya.ru)
This file is part of Apps.
Apps 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.
... | anton-seliverstov/Apps | src/Main.cpp | C++ | gpl-3.0 | 2,219 |
#include "swod/annotation.hpp"
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <map>
#include <sstream>
#include <iostream>
using std::string;
using std::stringstream;
using std::map;
using std::cout;
using std::endl;
using namespace cv;
namespace
{
string getFileName(const strin... | druzhkov-paul/swod | apps/draw.cpp | C++ | gpl-3.0 | 1,956 |
package com.nativedevelopment.smartgrid;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Settings implements ISettings {
protected static final String REGX_STRING = "\"((\\.|[^\"])*)\"\... | RealRandyWind/communitysmartgrid | src/com/nativedevelopment/smartgrid/Settings.java | Java | gpl-3.0 | 3,515 |
package com.grandhunterman.definitelynotvanillaminecraft.proxy;
public interface IProxy {
public void registerRenders();
}
| GrandHunterMan/DefinitelyNotVanillaMinecraft | src/main/java/com/grandhunterman/definitelynotvanillaminecraft/proxy/IProxy.java | Java | gpl-3.0 | 130 |
package com.matejdro.wearvibrationcenter.logging;
import com.crashlytics.android.Crashlytics;
import timber.log.Timber;
public class TimberCrashlytics extends Timber.Tree {
@Override
protected void log(int priority, String tag, String message, Throwable t) {
if (t != null) {
Crashlytics.l... | matejdro/WearVibrationCenter | mobile/src/main/java/com/matejdro/wearvibrationcenter/logging/TimberCrashlytics.java | Java | gpl-3.0 | 407 |
#!/bin/bash -x
# exit on error
set -e
# start admin app
cd ../admin && npm start > server.admin.log 2>&1 &
# start pupil-auth service
cd ../pupil-auth && npm start > server.auth.log 2>&1 &
# start pupil app
npm start &
PID=$!
MSG='pupil-spa app is running under process '
MSG+=${PID}
echo ${MSG}
sleep 30
cd test
... | DFEAGILEDEVOPS/MTC | pupil-spa/test.sh | Shell | gpl-3.0 | 493 |
####################################################
### User definable stuff
#Behavior options
USE_MPI = yes #Use MPI parallelization? Set to "yes" or "no"
DEFINEOPTIONS = -D_VERBOSE #Comment out for more explicit output
DEFINEOPTIONS += -D_HAVE_OMP #Comment this out if you don't have the OpenMP headers
#DEFI... | damonge/CUTE | CUTE/Makefile | Makefile | gpl-3.0 | 4,390 |
# TDDFT Code
Currently, the code is built with the following include directories. The code will find .o files it needs in these directories:
```
$QEHOME/PW/src/
$QEHOME/Modules
$QEHOME/iotk/src
$QEHOME/include
```
where `QEHOME` is the root directory of the quantum espresso package.
and uses these libraries
```
$QE... | rehnd/tddft-notes | README.md | Markdown | gpl-3.0 | 1,135 |
#pragma once
#include <Re\Game\Effect\Movement\EffectMovementAim.h>
#include <Re\Common\Control\Control.h>
namespace Effect
{
/// efect that allows to move player in x and y axes without any rotation
/// @Warring: Rigidbody must be created before a first update of the component!
class StaticMovement : public Movem... | Risist/ReEngine | ReEngine/ReEngine/Re/Game/Effect/Movement/Player/EffectStaticMovement.h | C | gpl-3.0 | 842 |
"""
Test notifiers
"""
import unittest
from sickchill.oldbeard import db
from sickchill.oldbeard.notifiers.emailnotify import Notifier as EmailNotifier
from sickchill.oldbeard.notifiers.prowl import Notifier as ProwlNotifier
from sickchill.tv import TVEpisode, TVShow
from sickchill.views.home import Home
from tests ... | Vagab0nd/SiCKRAGE | tests/notifier_tests.py | Python | gpl-3.0 | 9,061 |
Open Recruitment Form
=======================
Built upon Slim PHP Framework and Firebase Realtime Database. This form also using SSO Universitas Indonesia for user authentication.
Requirements
------------
- PHP >= 7.0
- [Composer](http://getcomposer.org/download/)
Install Guide
-------------
- Clone repository... | mic3308/open-recruitment-form | README.md | Markdown | gpl-3.0 | 877 |
import React from 'react';
const Contact = () => ({
contactNext(){
var data = $("#questionInput").val();
if(data){
Session.set('contact', data);
FlowRouter.go("/register/6");
}else{
alert("Please enter your email.");
}
},
contactEnter(event){
if(event.key == 'Enter') {
... | jiyuu-llc/jiyuu | imports/old/signup/contact.js | JavaScript | gpl-3.0 | 1,094 |
Joomla 3.2.1 = 801fdee0d37e2d7cdb5e11186d58be14
Joomla 3.2.3 = 8ff05a797b0cd83d5cd4c303bec2e98b
| gohdan/DFC | known_files/hashes/templates/beez3/html/message.php | PHP | gpl-3.0 | 96 |
Bitrix 16.5 Business Demo = c20a4108eeaf208c6ae2b8aeac7862c7
| gohdan/DFC | known_files/hashes/bitrix/modules/mobileapp/install/components/bitrix/mobileapp.designer.file.input/templates/drag_n_drop/lang/en/template.php | PHP | gpl-3.0 | 61 |
<?php
/**
* Copyright (c) 2010 Endeavor Systems, Inc.
*
* This file is part of OpenFISMA.
*
* OpenFISMA 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) ... | areeves/openfisma | application/doctrine/migrations/1279729439_version69.php | PHP | gpl-3.0 | 3,248 |
/*
* myMake.h
*
* Created on: 2017年5月18日
* Author: JYS1105
*/
#ifndef MYMAKE_H_
#define MYMAKE_H_
#ifdef __cplusplus
extern "C" {
#endif
int myFileComments(void * myfile);
int getArgv(void * myfile, int arg, char * argv[]);
int myFile(void * myfile, int arg, char * argv[]);
int myMakefile(int arg, c... | DoubleBirdsU/myLinux | myke/myMake.h | C | gpl-3.0 | 394 |
#!/usr/bin/ruby
#******************************************************************************
# ALX - Skies of Arcadia Legends Examiner
# Copyright (C) 2022 Marcel Renner
#
# This file is part of ALX.
#
# ALX is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Pu... | Taikocuya/ALX | bin/createbackup.rb | Ruby | gpl-3.0 | 3,979 |
<?php
namespace CDI\EnfermeriaBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Confi... | ovelasquez/cdi | src/CDI/EnfermeriaBundle/Controller/GroupController.php | PHP | gpl-3.0 | 6,574 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.