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 |
|---|---|---|---|---|---|
/*
* java-gnome, a UI library for writing GTK and GNOME programs from Java!
*
* Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others
*
* The code in this file, and the program it is a part of, is made available
* to you by its authors as open source software: you can redistribute it
* and/or... | cyberpython/java-gnome | generated/bindings/org/gnome/gtk/GtkUIManagerItemType.c | C | gpl-2.0 | 3,787 |
/*
* Copyright 2006-2012 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 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... | berlinguyinca/mzmine-fork | src/main/java/net/sf/mzmine/modules/peaklistmethods/dataanalysis/clustering/em/EMClusterer.java | Java | gpl-2.0 | 2,704 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lo... | takenet/library.logging | src/Logging.Test/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,378 |
<?php
/**
* Plugin Name: fixer.io Currency Conversion by Marketing Results
* Plugin URI: https://github.com/mresults/mr-fixer-io
* Description: Provides currency conversion options via fixer.io
* Version: 1.0.0
* Author: Shaun Johnston
* Author URI: https://www.marketingresults.com.au
* Text D... | mresults/mr-fixer-io | mr-fixer-io.php | PHP | gpl-2.0 | 18,803 |
// ----------------------------------------------------------------------------------
//
// FXMaker
// Created by ismoon - 2012 - ismoonto@gmail.com
//
// ----------------------------------------------------------------------------------
// Attribute -------------------------------------------------------------... | lienze/Project_ARPG | Assets/Plugins/IGSoft_Tools/FXMaker/ToolScript/ToolScript/FxmFolderPopup_NcCurveAnimation.cs | C# | gpl-2.0 | 12,094 |
#include "sms-cards.h"
#include "smsir.h"
static int sms_dbg;
module_param_named(cards_dbg, sms_dbg, int, 0644);
MODULE_PARM_DESC(cards_dbg, "set debug level (info=1, adv=2 (or-able))");
static struct sms_board sms_boards[] = {
[SMS_BOARD_UNKNOWN] = {
.name = "Unknown board",
},
[SMS1XXX_BOARD_SIANO_STELLAR] =... | leemgs/OptimusOneKernel-KandroidCommunity | drivers/media/dvb/siano/sms-cards.c | C | gpl-2.0 | 7,044 |
<?php
namespace xelioplus\loginapi\acp;
class loginapi_info
{
public function module()
{
return array(
'filename' => '\xelioplus\loginapi\acp\loginapi_module',
'title' => 'ACP_LOGINAPI_TITLE',
'version' => '0.1.0',
'modes' => array(
... | xelio-plus/phpbb-ext-loginapi | acp/loginapi_info.php | PHP | gpl-2.0 | 509 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Identifier Index</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<scr... | Kalimaha/simple_flask_blueprint | docs/identifier-index.html | HTML | gpl-2.0 | 10,233 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="DC.type" http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<head>Anuncio de expiraci%oacute%n de medidas compensatorias</head>
<div type="body">
<p>Anuncio de expiración de medida... | varh1i/language_detection | src/main/resources/naacl2010-langid/EuroGOV/trn0819.html | HTML | gpl-2.0 | 1,502 |
/***************************************************************************
* Copyright (C) 2006 by Peter Komar *
* markus_sksoft@mail.ru *
* *
* This pr... | peterkomar/sct | src/modules/lilo/src/lilomain.h | C | gpl-2.0 | 2,671 |
/*******************************************************************************
* Copyright (C) 2015 Valentin Pogrebinsky
*
* mail:pva@isd.com.ua
* https://github.com/bbones
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as p... | bbones/proto1 | domain/src/main/java/org/proto1/domain/Document.java | Java | gpl-2.0 | 1,587 |
package de.juanah.trackingformybullentime.track;
import de.juanah.communicationPakages.MDP;
/**
* Enthält die Funktionen um einen einfachen Track an den Server zu senden
* @author jonas ahlf 21.09.2014
*
*/
public class SimpleTrack {
public static SimpleTrackResult SendTrack(String userUUID,String time,double... | javerik/TFMBT | TrackingForMyBullenTime/src/de/juanah/trackingformybullentime/track/SimpleTrack.java | Java | gpl-2.0 | 1,653 |
package rsakeycenter;
import java.math.BigInteger;
import java.util.Random;
public class KeyGenerator {
public static final int keySize = 1024;
private static final int minimum = 256;
private BigInteger p, q, n, phi, d, e;
public KeyGenerator(int keyLength) throws Exception{
if(keyLength < m... | adelnobel/RSA-Chat-Client | Projects/RSAKeyCenter/src/rsakeycenter/KeyGenerator.java | Java | gpl-2.0 | 1,112 |
<div ng-show="vm.devices.length">
<h1>Devices</h1>
<p>
<a ui-sref="devices.add" class="btn btn-primary" role="button">New Device</a>
</p>
<table class="table">
<tr>
<th>ID</th>
<th>Name</th>
<th>Enabled</th>
<th>Status</th>
</tr>
<tr ng-repeat="device in vm.devices">
... | smartanthill/smartanthill2_0-dashboard | app/views/devices-list.html | HTML | gpl-2.0 | 817 |
/*
Copyright (c) 1997 Christian Czezatke (e9025461@student.tuwien.ac.at)
1998 Bernd Wuebben <wuebben@kde.org>
2000 Matthias Elter <elter@kde.org>
2001 Carsten PFeiffer <pfeiffer@kde.org>
This program is free software; you can redistribute it and/or modify
it under ... | jschwartzenberg/kicker | kcontrol/bell/bell.cpp | C++ | gpl-2.0 | 9,064 |
#ifndef _LINUX_SCHED_H
#define _LINUX_SCHED_H
#include <uapi/linux/sched.h>
struct sched_param {
int sched_priority;
};
#include <asm/param.h> /* for HZ */
#include <linux/capability.h>
#include <linux/threads.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/timex.h>
#include <linux/jiffies.h... | benschhold/android_kernel_oneplus_msm8994_custom | include/linux/sched.h | C | gpl-2.0 | 86,057 |
#| quote-url.jl -- url-escape a given string
$Id$
Copyright (C) 2000 John Harper <john@dcs.warwick.ac.uk>
This file is part of librep.
librep 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... | juergenhoetzel/librep | lisp/rep/www/quote-url.jl | Julia | gpl-2.0 | 2,358 |
/*
* (c) Copyright 2006-2011 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
*... | raphaelfeng/benerator | demo/org/databene/benerator/demo/ArrayFixedWidthDemo.java | Java | gpl-2.0 | 7,328 |
<?php
/**
* @file
* Contains \Drupal\tour\TipPluginManager.
*/
namespace Drupal\tour;
use Drupal\Component\Plugin\PluginManagerBase;
use Drupal\Component\Plugin\Factory\DefaultFactory;
use Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery;
use Drupal\Core\Plugin\Discovery\CacheDecorator;
use Drupal\Component\P... | nullzer/dr8 | core/modules/tour/lib/Drupal/tour/TipPluginManager.php | PHP | gpl-2.0 | 898 |
/*
* Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | FauxFaux/jdk9-jdk | src/java.desktop/share/classes/java/awt/SplashScreen.java | Java | gpl-2.0 | 17,767 |
<!DOCTYPE html>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="hevea 2.29+5 of 2017-05-18">
<link rel="stylesheet" type="text/css" href="cascmd_fr.css">
<title>Matrice de zéros : newMat matrix</title>
</head>
<body >
<a href="cascmd_fr560.html"><img sr... | hiplayer/giac | giac/giac-1.5.0/doc/fr/cascmd_fr/cascmd_fr561.html | HTML | gpl-2.0 | 1,996 |
angular.module('ui-components')
.factory('DatetimeRange', function DatetimeRangeFactory(DatetimeHelper) {
return function DatetimeRange() {
var data = {
'startDate': null,
'endDate' : null,
'allDay' : false
},
... | FronterAS/datetime-range | app/ui-components/datetimeRange/datetimeRangeFactory.js | JavaScript | gpl-2.0 | 4,412 |
/*******************************************************************************
Header File to describe the DMA descriptors.
Enhanced descriptors have been in case of DWMAC1000 Cores.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General... | jeffegg/beaglebone | drivers/net/stmmac/descs.h | C | gpl-2.0 | 4,420 |
/*
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | FauxFaux/jdk9-nashorn | src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ImportEntryTreeImpl.java | Java | gpl-2.0 | 3,440 |
package cz.fi.muni.pa165.calorycounter.frontend;
import cz.fi.muni.pa165.calorycounter.serviceapi.ActivityService;
import cz.fi.muni.pa165.calorycounter.serviceapi.dto.ActivityDto;
import cz.fi.muni.pa165.calorycounter.serviceapi.dto.WeightCategory;
import java.util.List;
import net.sourceforge.stripes.action.*;
impor... | smartly23/CaloryCounter | CaloryCounter-Web/src/main/java/cz/fi/muni/pa165/calorycounter/frontend/ActivitiesActionBean.java | Java | gpl-2.0 | 1,898 |
<?php
/**
* This is the register page for the users
*/
include_once 'Includes/db.php';
session_start();
include_once 'Includes/header.php';
print '<div class="well well-mini">
<h4>User Register Form</h4></div>';
if ($_SERVER['REQUEST_METHOD'] != 'POST' || isset($_POST['login'])) {
// Display the form if i... | KungFuLucky7/NetBeansProjects | dine-a-mite/register.php | PHP | gpl-2.0 | 13,004 |
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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 Foundation; either version 2 of the License, or (at your
* option) any later ve... | coderx0x/TrinityCore-4.3.4 | src/server/scripts/Commands/cs_debug.cpp | C++ | gpl-2.0 | 52,149 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" media="only screen and (min-device-width: 360px)" href="style-compact.css">
<script>
(function(i,s,o,g,r,a,m){i['Google... | Blackrobe/blackrobe.github.io | BFStoryArchive/BFStoryArchive/grand_02_11.html | HTML | gpl-2.0 | 2,896 |
<?php
/*
Plugin Name: SyntaxHighlighter Evolved Themes
Version: 1.0.1
Plugin URI: http://github.com/kopepasah/syntaxhighlighter-themes/
Description: Adds new themes for Syntaxhighlighter Evolved Plugin.
Author: Justin Kopepasah
Author URI: http://kopepasah.com
Copyright 2014 (email: justin@kopepasah.com)
This progr... | ntrhieu89/wordpress | wp-content/plugins/syntaxhighlighter-evolved-themes/syntaxhighlighter-themes.php | PHP | gpl-2.0 | 3,925 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48__dtoa_digits
EXTERN mm48__left
am48__dtoa_digits:
; generate decimal digits into buffer
;
; enter : EXX = mantissa bits, most sig four bits contain decimal digit
; B = number of digits to generate
; C = remaining significant di... | bitfixer/bitfixer | dg/z88dk/libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_digits.asm | Assembly | gpl-2.0 | 1,496 |
package org.repeid.subsystem.server.extension;
import java.io.File;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.controller.OperationStepHandler;
import org.jbo... | Repeid/repeid | wildfly/server-subsystem/src/main/java/org/repeid/subsystem/server/extension/ServerUtil.java | Java | gpl-2.0 | 5,598 |
<!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_71) on Wed May 20 17:33:39 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>cn.domob.android.ad... | chosener/ProjectRes | 运营/多盟/domob_android_sdk-4.5.4/doc/cn/domob/android/ads/package-summary.html | HTML | gpl-2.0 | 9,475 |
#include <linux/module.h>
#include <linux/kernel.h>
//#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/printk.h>
#include <asm/uaccess.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#define EMERGDATA_NAME "emerg_data"
... | EloYGomeZ/android_kernel_huawei_alice | fs/proc/emerg_data.c | C | gpl-2.0 | 1,895 |
<!DOCTYPE html>
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-US">
<title>My Family Tree - Reed, Jamesy</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 ="apple-mobile-... | belissent/testing-example-reports | gramps42/gramps/example_NAVWEB0/ppl/3/a/ELUKQCWYK0JVU3FLA3.html | HTML | gpl-2.0 | 8,302 |
/********************************************************************\
* gncTaxTable.c -- the Gnucash Tax Table interface *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU... | dimbeni/Gnucash | src/engine/gncTaxTable.c | C | gpl-2.0 | 28,177 |
//#!tsc && NODE_PATH=dist/src node dist/sketch2.js
import {
Point,
Rect,
TextHjustify,
TextVjustify,
Transform,
DECIDEG2RAD,
TextAngle,
} from "./src/kicad_common";
import { StrokeFont } from "./src/kicad_strokefont";
import { Plotter, CanvasPlotter } from "./src/kicad_plotter";
import * as fs from "fs";
{
c... | cho45/kicad-utils | sketch2.ts | TypeScript | gpl-2.0 | 2,334 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FunWithVariablesConditionals
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | Meowse/TechnicolorMillinery | Cathy.Blanscet/Homework3/FunWithVariablesConditionals/FunWithVariablesConditionals/Program.cs | C# | gpl-2.0 | 529 |
/*
* linux/arch/alpha/kernel/sys_eb64p.c
*
* Copyright (C) 1995 David A Rusling
* Copyright (C) 1996 Jay A Estabrook
* Copyright (C) 1998, 1999 Richard Henderson
*
* Code supporting the EB64+ and EB66.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/sche... | Jackeagle/android_kernel_sony_c2305 | arch/alpha/kernel/sys_eb64p.c | C | gpl-2.0 | 5,984 |
<?php
//populate the chamfer settings array
$chamfer = array();
$chamfer['borders'] = theme_get_setting('chamfer_borders');
$chamfer['top_logo'] = theme_get_setting('chamfer_top_logo');
$chamfer['top_link'] = theme_get_setting('chamfer_top_link');
$chamfer['bottom_logo'] = theme_get_setting('chamfer_bottom_logo');
$ch... | eleonel/Drupaltech | profiles/elms/themes/contrib/chamfer/page.tpl.php | PHP | gpl-2.0 | 8,667 |
/******************************************************************************
* PROJECT: New Millennium, DS1
* IPC (Interprocess Communication) Package
*
* (c) Copyright 1996 Reid Simmons. All rights reserved.
*
* FILE: marshall.c
*
* ABSTRACT: Implementation of the marshalling/unmarshalling functions of
* ... | kralf/carmen | src/lib/core/ipc/marshall.c | C | gpl-2.0 | 17,080 |
## Description
Module generates payload that creates interactive tcp bind shell by using perl.
## Verification Steps
1. Start `./rsf.py`
2. Do: `use payloads/perl/bind_tcp`
3. Do: `set rport 4321`
4. Do: `run`
5. Module generates perl tcp bind shell payload
## Scenarios
```
rsf > use payloads/perl/bind_... | dasseclab/dasseclab | clones/routersploit/docs/modules/payloads/perl/bind_tcp.md | Markdown | gpl-2.0 | 780 |
if (typeof $ != 'function') {
var $ = jQuery;
}
$(document).ready(function () {
//var table = $('.price-body tr');
$('.price-body tr:even').addClass('odd');
$('.price-body td:not(:first-child)').addClass('c');
$('.price-body tr').hover(
function () {
$(this).addClass('hover');
... | denis-pahomov/skefi | wp-content/themes/kbservice/js/common.js | JavaScript | gpl-2.0 | 500 |
[](https://travis-ci.org/pixelgrade/adler)
Adler
========
Adler is a personal blogging theme for sharing your own thoughts and write about your latest findings!
Always use the [stable version](https://wordpress.org/themes/adler/) from wordpress.org | pixelgrade/adler | README.md | Markdown | gpl-2.0 | 310 |
Simple Z80 processor JavaScript emulator. For remote assembly need z80asm program in system. | Eduard90/z80JS | README.md | Markdown | gpl-2.0 | 92 |
/*
* =====================================================================================
*
* Filename: consfuntable.c
*
* Description:
*
* Version: 1.0
* Created: 12/07/2012 06:38:13 PM
* Revision: none
* Compiler: gcc
*
* Author: Liyun Dai (pku), dlyun2009... | djuanbei/aiSat | poly/monconstfun_table.c | C | gpl-2.0 | 688 |
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.3
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all... | sofian/drone | lib/agg23/include/agg_renderer_scanline.h | C | gpl-2.0 | 15,854 |
#!/bin/python
'''
Author: Yin Lin Date: September 23, 2013
The class object StarClass loads stars from the catalog.py and from the source extractor cat file and converts them into proper format.
The lists of stars are then passed to the subclass, StarCalibration, to cross match two lists and perform offset and ... | bmazin/ARCONS-pipeline | astrometry/guide-centroid/FitsAnalysis.py | Python | gpl-2.0 | 48,276 |
<?php
/*
* This file is part of the LightCMSUserBundle package.
*
* (c) Fulgurio <http://fulgurio.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Fulgurio\LightCMSUserBundle\Controller;
use Fulgurio\LightCMSUserBun... | fulgurio/LightCMSUserBundle | Controller/AdminUserController.php | PHP | gpl-2.0 | 6,085 |
// slideshow settings
$(document).ready(function() {
$('.slideshow').cycle({
fx: 'fade' // transition type : fade, scrollUp, shuffle, etc...
});
});
$(document).ready( function() {
Cufon.replace('.footer-one-third h2', { fontFamily: 'ColaborateLight', fontSize: '20px', color:'#cdb380' } );
Cufon.replace(... | mandino/espressoshakespeare.com | js/custom.js | JavaScript | gpl-2.0 | 1,049 |
/*
* Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.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 ver... | bromacia/TrinityCore-SymboCore | src/server/game/Entities/GameObject/GameObject.h | C | gpl-2.0 | 39,573 |
#define CONFIG_SECURITY_SELINUX 1
| vickylinuxer/at91sam9263-kernel | include/3g/config/security/selinux.h | C | gpl-2.0 | 34 |
#
# Makefile for the input misc drivers.
#
# Each configuration option enables a list of files.
obj-$(CONFIG_INPUT_APANEL) += apanel.o
obj-$(CONFIG_INPUT_ATI_REMOTE) += ati_remote.o
obj-$(CONFIG_INPUT_ATI_REMOTE2) += ati_remote2.o
obj-$(CONFIG_INPUT_ATLAS_BTNS) += atlas_btns.o
obj-$(CONFIG_INPUT_CM109) += cm109.... | vasubabu/kernel | drivers/input/misc/Makefile | Makefile | gpl-2.0 | 1,249 |
<?php
abstract class PoP_Module_Processor_AnchorControlsBase extends PoP_Module_Processor_ControlsBase
{
public function getTemplateResource(array $module, array &$props): ?array
{
return [PoP_CoreProcessors_TemplateResourceLoaderProcessor::class, PoP_CoreProcessors_TemplateResourceLoaderProcessor::RES... | leoloso/PoP | layers/Legacy/Schema/packages/migrate-everythingelse/migrate/plugins/pop-coreprocessors/pop-library/processors/abstract-classes/controls/anchor-controls-base.php | PHP | gpl-2.0 | 1,577 |
/*mgena===================================================================*/
/* owl_attackpat.c */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is GNU GO, a Go program. Contact gnugo@gnu.org, or see *
* http://www.gnu.org/software/gnugo/ for more information. *
* ... | gennady-em/minigo | src/patterns2.c | C | gpl-2.0 | 775,073 |
#!/bin/bash
MUSIC=/home/yourhome/
name=`ratpoison -c "prompt Play "`
echo $name
if [ -z "$name" ]
then
ratpoison -c "echo Nothing to play"
exit 0
fi
#killall mplayer
trap 'killall mplayer ; ratpoison -c "echo Stopped playing"' KILL
trap 'killall mplayer ; ratpoison -c "echo Stopped playing"' STOP
trap 'kil... | jbaber/ratpoison_scripts | play.sh/play.sh | Shell | gpl-2.0 | 709 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BorderlessGaming.Logic.Models;
using BorderlessGaming.Logic.System;
namespace BorderlessGaming.For... | Codeusa/Borderless-Gaming | BorderlessGaming/Forms/Rainway.cs | C# | gpl-2.0 | 1,330 |
/* $Id$ */
/** @file
* GVMM - Global VM Manager.
*/
/*
* Copyright (C) 2007-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* G... | dezelin/vbox-haiku | src/VBox/VMM/VMMR0/GVMMR0.cpp | C++ | gpl-2.0 | 89,050 |
/**
*
*/
package com.mobicongo.app.tours.utils;
/**
* @author Mishka
*
* this class will help to store basic URL, Basics methods and all basics values
*/
public class MyConstants {
//Here the 10.0.2.2 is used because it localhost
public static String BASE_URL="http://192.168.56.1:8080... | MdelM/MobiTours | Android/MobiTours/src/com/mobicongo/app/tours/utils/MyConstants.java | Java | gpl-2.0 | 2,121 |
/* planarg : test for planarity and find embedding or obstruction */
#define USAGE "planarg [-v] [-nVq] [-p|-u] [infile [outfile]]"
#define HELPTEXT \
" For each input, write to output if planar.\n\
\n\
The output file has a header if and only if the input file does.\n\
\n\
-v Write non-planar graphs instead... | ecell/libmoleculizer | src/libmoleculizer/nauty/planarg.c | C | gpl-2.0 | 9,696 |
#!/bin/bash
# -*- mode: sh; coding: utf-8 -*-
# Copyright © 2003 Jeff Bailey <jbailey@debian.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 Foundation; either version 2, or (at
# your option) any la... | ebourg/cdbs | test/autotools-5.sh | Shell | gpl-2.0 | 1,577 |
#ifndef INCLUDED_XMALLOC_H
#define INCLUDED_XMALLOC_H
#ifndef __GNUC__
#define __attribute__(foo)
#endif
extern void *xmalloc (unsigned size);
extern void *xzmalloc (unsigned size);
extern void *xrealloc (void *ptr, unsigned size);
extern char *xstrdup (const char *str);
extern char *xstrndup (const char *str, unsign... | bsapundzhiev/calipso | src/include/xmalloc.h | C | gpl-2.0 | 632 |
# -*- coding: utf-8 -*-
"""
(c) 2014-2016 - Copyright Red Hat Inc
Authors:
Pierre-Yves Chibon <pingou@pingoured.fr>
"""
from __future__ import unicode_literals, absolute_import
import logging
import os
import flask
import pygit2
from binaryornot.helpers import is_binary_string
import pagure.config
import p... | pypingou/pagure | pagure/docs_server.py | Python | gpl-2.0 | 6,488 |
/*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | jvasileff/ceylon-compiler | src/com/redhat/ceylon/compiler/loader/model/LazyModuleManager.java | Java | gpl-2.0 | 10,514 |
<?php // $Id$
if ( count( get_included_files() ) == 1 ) die( '---' );
/**
* CLAROLINE
*
* This functions library is used by most of the pages of the learning path tool
*
* @version version 1.8 $Revision$
*
* @copyright (c) 2001-2006 Universite catholique de Louvain (UCL)
*
* @license http://www.gnu.org/copylef... | yannhos115/claroline-exercice | claroline/inc/lib/learnPath.lib.inc.php | PHP | gpl-2.0 | 50,507 |
#include "BBSLIB.inc"
void trimend(char* src,int lenth);
int main()
{
FILE *fp;
int n;
char s1[256];
char brd[256],id[16], title[256];
char title_in_url[240];
char path[]="etc/posts/day";
html_init();
fp=fopen(path, "r");
if(fp==NULL)
return 1;
fgets(s1, 255, fp);
fgets(s1, 255, fp);
//... | madoldman/inankai_bbs | wwwsrc/main/hottopic.c | C | gpl-2.0 | 5,945 |
/*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | pastewka/lammps | lib/kokkos/core/unit_test/TestViewMapping_b.hpp | C++ | gpl-2.0 | 8,482 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta http-equiv="Content-Language" content="zh-CN"><link href="stylesheet.css" media="all" rel="stylesheet" type="text/css">... | Pengfei-Gao/develop-reference-data | www.jinbuguo.com/postgresql/menu823/spi-spi-cursor-close.html | HTML | gpl-2.0 | 2,990 |
/* Automatically generated codefile, Meridian
* Generated by magic, please do not interfere
* Please sleep well and do not smoke. Love, Sam */
using System;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Collections.Generic;
using MySql.Data.MySqlClient;
using meridian.smolensk... | seavan/smoltoday | trunk/src/meridian.smolensk/protoStore/photobank_photo_tagsStore.cs | C# | gpl-2.0 | 7,222 |
<?php
require __DIR__ . '/__init__.php';
main(
function ()
{
return \Slime\Framework\InitBean::factory()
->set_1_CFG(array('~PHP', DIR_CONFIG, 'publish'))
->set_2_CompConf('component_common;component_cli')
->set_2_Event('event_cli')
->set_2_Router('route_... | smallslime/slime_app_creator | __APP__/__STD__/public/cli_publish.php | PHP | gpl-2.0 | 336 |
INDEV
| erdblock/erdblock-youtube | README-sandkasten.md | Markdown | gpl-2.0 | 6 |
<?php if ($this->input->is_ajax_request()): ?>
<?php $this->output->set_output(''); ?>
<div class="modal-dialog">
<div class="modal-content">
<?php echo form_open('server/unsuspend/'.$container->ctid, array('class' => 'form-horizontal'));... | HostGuard/default-theme | bootstrap/server/unsuspend.php | PHP | gpl-2.0 | 3,644 |
/*
* Copyright (C) 2012-2013 Team XBMC
* http://xbmc.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 Foundation; either version 2, or (at your option)
* any later version.
*
* ... | AlwinEsch/kodi-agile | xbmc/interfaces/json-rpc/PVROperations.cpp | C++ | gpl-2.0 | 14,802 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0) on Tue Apr 10 16:02:14 GMT-05:00 2007 -->
<TITLE>
DoubleAuction
</TITLE>
<META NAME="date" CONTENT="2007-04-10">
<LINK REL ="stylesheet... | eshen1991/kivasim | doc/alphabetsoup/simulators/markettaskallocation/DoubleAuction.html | HTML | gpl-2.0 | 33,168 |
#ifndef LOWER_BOUND_POLICY_MODE
#define LOWER_BOUND_POLICY_MODE
#include "lower_bound/lower_bound_policy.h"
/* This class refines PolicyLowerBound to define the best action of a particle
* set as the best action for the mode of the set. As the computation of this
* action is problem-specific, it is further delegate... | adhiraj/despot | src/lower_bound/lower_bound_policy_mode.h | C | gpl-2.0 | 1,631 |
/*
* include/asm-arm/arch-mp2530/regs-dma.h
*
* Copyright. 2003-2007 AESOP-Embedded project
* http://www.aesop-embedded.org/mp2530/index.html
*
* godori(Ko Hyun Chul), omega5 - project manager
* nautilus_79(Lee Jang Ho) - main programmer
* amphell(Bang Chang Hyeok) - Hardware Engineer
*
* T... | darth-llamah/kernel-caanoo | include/asm-arm/arch-pollux/regs-dma.h | C | gpl-2.0 | 3,320 |
# myjob
自动化抓取招聘信息,数据存储,数据分析。分析出有价值的信息,如技术趋势,招聘需求,行业类型,薪资待遇等。具体查看doc下的业务方案。
#开发进度-目前已完成的功能
1、通过抓取源url,以及过滤关键字,然后抓取数据,存储到redis数据库。
2、数据提取程序,从redis缓存中读出数据,然后提取相关字段存入mysql数据库。
#说明目前没完善的
1、安装脚本
2、目前只支持从51job(版权说明,只做个人爱好,不做商业用途)上获取信息,其他平台还没有做。
3、数据分析部分还没有做,前期找了很多种图形分析工具,但是都没找到自己理想的东西。
# 继续完善
说明:最近熟悉了elasticsearch等相关开发,想修... | pangyemeng/myjob | README.md | Markdown | gpl-2.0 | 1,384 |
/*
* arch/arm/mach-tegra/tegra_pmqos.h
*
* Copyright (C) 2012 Paul Reioux (aka Faux123)
*
* Author:
* faux123 <reioux@gmail.com>
*
* History:
* -original version (Paul Reioux)
* -cleaned since oc was reworked (Dennis Rassmann)
* -added comment for T3_VARIANT_BOOST (Dennis Rassmann)
* -ad... | kernel-hut/next_endeavoru_kernel | arch/arm/mach-tegra/tegra_pmqos.h | C | gpl-2.0 | 2,674 |
package demos.nehe.lesson08;
import demos.common.GLDisplay;
import demos.common.LessonNativeLoader;
/**
* @author Pepijn Van Eeckhoudt
*/
public class Lesson08 extends LessonNativeLoader {
public static void main(String[] args) {
GLDisplay neheGLDisplay = GLDisplay
.createGLDisplay("Lesson 08: Ble... | Jotschi/jogl2-example | src/main/java/demos/nehe/lesson08/Lesson08.java | Java | gpl-2.0 | 570 |
#include <QApplication>
#include <QWebEngineView>
#include "Page.h"
int main(int argc, char **argv) {
QApplication app(argc, argv);
QWebEngineView *l=new QWebEngineView(0);
Page *p=new Page(l);
l->setPage(p);
p->open("index.sh.htm");
l->show();
app.exec();
delete l;
}
| cris-b/oma-welcome | launcher/main.cpp | C++ | gpl-2.0 | 278 |
<?php
// add_filter( 'manage_edit-person_columns', 'edit_person_columns' );
function edit_person_columns( $columns ) {
$columns = array(
'cb' => '<input type="checkbox" />',
'title' => __( 'Title', 'theme_admin' ),
'meta' => __( 'Meta', 'theme_admin' ),
'category' => __( 'Category', 'theme_admin' ),
'da... | ahoymehearties/responsiblegamer | wp-content/themes/stack-theme/base/custom/types/person/manage.php | PHP | gpl-2.0 | 669 |
/* This file is part of the KDE project
Copyright (C) 2014 Laurent Montel <montel at kde dot org>
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 ... | rompe/digikam-core-yolo | app/utils/digikam_debug.cpp | C++ | gpl-2.0 | 1,393 |
<?php
/**
* Elgg system settings form
* The form to change system settings
*
* @package Elgg
* @subpackage Core
* @author Curverider Ltd
* @link http://elgg.org/
*
* @uses $vars['action'] If set, the place to forward the form to (usually action/systemsettings/save)
*/
// Set action appropria... | telemed-duth/Metamorphosis-Meducator | views/failsafe/settings/system.php | PHP | gpl-2.0 | 3,332 |
<?php
/**
* @package Joomla.Administrator
* @subpackage com_content
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
jimport('joomla.application.compo... | brKamil/joomla-zamarte | administrator/components/com_content/controllers/articles.php | PHP | gpl-2.0 | 2,599 |
/*
* hostapd / Configuration definitions and helpers functions
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.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.
*
* Alternat... | joamaki/hostap | src/ap/ap_config.h | C | gpl-2.0 | 10,843 |
BlankDeployable::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 th... | goodmanvn2003/example-rails | config/environments/development.rb | Ruby | gpl-2.0 | 1,382 |
<?php
ob_start();
require_once("include/bittorrent.php");
include($rootpath . get_langfile_path());
dbconn();
loggedinorreturn();
stdhead("Administration");
print("<h1 class=\"center\">Administration</h1>");
$panels = $lang_staffpanel;
echo '<dl class="table">';
$c = 0;
foreach ($panels as $name => $panel) {
if (che... | kebot/hudbt | staffpanel.php | PHP | gpl-2.0 | 643 |
/* Minor modifications to fit on compatibility framework:
Rusty.Russell@rustcorp.com.au
*/
/*
* This code is heavily based on the code on the old ip_fw.c code; see below for
* copyrights and attributions of the old code. This code is basically GPL.
*
* 15-Aug-1997: Major changes to allow graphs for firewall ru... | sarnobat/knoppix | net/ipv4/netfilter/ipchains_core.c | C | gpl-2.0 | 52,346 |
/*
* presence module - presence server implementation
*
* Copyright (C) 2006 Voice Sistem S.R.L.
*
* This file is part of opensips, a free SIP server.
*
* opensips 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 ... | chiforbogdan/opensips | modules/presence/utils_func.h | C | gpl-2.0 | 3,279 |
package net.ifie.app.bean;
/**
* 实体类
* @author liux (http://my.oschina.net/liux)
* @version 1.0
* @created 2012-3-21
*/
public abstract class Entity extends Base {
private static final long serialVersionUID = 1L;
protected String id;
public String getId() {
return id;
}
protected String cacheKey;
publ... | sunzhyng/ifie | src/net/ifie/app/bean/Entity.java | Java | gpl-2.0 | 452 |
/**************************************************************************\
*
* This file is part of the Coin 3D visualization library.
* Copyright (C) 1998-2008 by Kongsberg SIM. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Ge... | erik132/MolekelCUDA | deps/include/Inventor/VRMLnodes/SoVRMLLOD.h | C | gpl-2.0 | 3,515 |
/*
* Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that i... | nslu2/linux-2.4.x | fs/xfs/support/mrlock.h | C | gpl-2.0 | 3,020 |
# OXID|Json #
## OXID REST API for OXID 6
Update 11/18: https://docs.oxid-projects.com/oxid-rest-api/
---
## What is it? ##
OXID|Json is a REST / JSON CRUD (Create, Read, Update, Delete) interface for the [OXID eShop](http://www.oxid-esales.com)
that comes with a fancy [AngularJS](http://angularjs.org) frontend for... | shoptimax/oxidjson | README.md | Markdown | gpl-2.0 | 8,360 |
#include "float.h"
#include "sgl_float.h"
int
sgl_fdiv (sgl_floating_point * srcptr1, sgl_floating_point * srcptr2,
sgl_floating_point * dstptr, unsigned int *status)
{
register unsigned int opnd1, opnd2, opnd3, result;
register int dest_exponent, count;
register boolean inexact = FALSE, guardbit = FALSE, st... | luckasfb/OT_903D-kernel-2.6.35.7 | kernel/arch/parisc/math-emu/sfdiv.c | C | gpl-2.0 | 9,923 |
/**
* @extends storeLocator.StaticDataFeed
* @constructor
*/
function MedicareDataSource() {
jQuery.extend(this, new storeLocator.StaticDataFeed);
var csv_filepath = Drupal.settings.fc_storelocator_google.csv_filepath;
var that = this;
jQuery.get(csv_filepath, function(data) {
that.setStores(that.par... | harryqin1978/db | sites/all/modules/custom/frontcoding/fc_storelocator/js/google/medicare-static-ds.js | JavaScript | gpl-2.0 | 3,034 |
//
// Last Modified: $Date: 2010-07-22 10:16:38 $
//
// $Log: XmlRpcSocket.cpp,v $
// Revision 1.2.2.1 2010-07-22 10:16:38 lgrave
// RT8: TapiAdapter: threads for reception/execution of paralel commands
//
// Revision 1.2 2010-07-20 09:48:14 lgrave
// corrected windows crlf to unix lf
//
// Revision 1.1 2010-07-19... | lgrave/TapiAdapter | xmlrpc/XmlRpcSocket.cpp | C++ | gpl-2.0 | 5,741 |
/* global angular */
angular.module("app").factory("cepsAPI", function ($http, config) {
var _getCeps = function () {
return $http.get(config.baseUrl + "DbAuditPronatec-3.2/api/ceps");
};
var _getCep = function (id) {
return $http.get(config.baseUrl + "DbAuditPronatec-3.2/api/ceps/" + id);
};
var _saveCep... | RobervalSBett/DbAuditPronatec | src/main/webapp/app/dbauditoria/js/services/cepsAPIService.js | JavaScript | gpl-2.0 | 834 |
/*
eXe
Copyright 2004-2005, University of Auckland
style sheet for silver theme
Modified by Ignacio Gros for eXeLearning.net
See Help - eXe Tutorial for more info on how to modify this style for your needs.
*/
html{padding:0}
body{font:.75em/1.5 Arial,Verdana,Helvetica,sans-serif;padding:15px;margin:0;text-al... | mclois/iteexe | exe/webui/style/silver/content.css | CSS | gpl-2.0 | 3,828 |
<?php
// $Id: node.tpl.php,v 1.6 2011/02/18 05:47:53 andregriffin Exp $
?>
<?php if (!$page): ?>
<article id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clearfix">
<?php endif; ?>
<?php if ($picture || $submitted || !$... | shrimphead/KVG | sites/all/themes/framework/node.tpl.php | PHP | gpl-2.0 | 1,277 |
<?php
/**
* Authorization plugin
* @Copyright (C) 2009-2011 Gavick.com
* @ All rights reserved
* @ Joomla! is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: GK4 1.0 $
**/
// No direct access
defined('_JEXEC') or die;
jimport('joomla.plugin.plugin');
cla... | xbegault/clrh-idf | plugins/authentication/facebook/facebook.php | PHP | gpl-2.0 | 3,312 |
/************************************************************************
* Unreal Internet Relay Chat Daemon, src/webtv.c
* (C) Carsten V. Munk (Stskeeps <stskeeps@tspre.org>) 2000
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... | therock247uk/rock-ircd | src/modules/webtv.c | C | gpl-2.0 | 11,291 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.