id stringlengths 64 64 | content stringlengths 500 100k | language stringclasses 29
values | path stringlengths 4 333 | repo stringlengths 5 116 | license stringclasses 15
values | size int64 500 100k | lines int64 26 8.06k | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|
8bf6d9d273f02a91d8ffde582ca6cb8c75668562e1aa135c39bb2674af5664c2 | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
*
* 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; version 2 of the Lic... | C | src/drivers/elog/gsmi.c | wolflee/coreboot | gpl-2.0 | 3,559 | 138 | codeparrot/github-code |
e2fbff092e4741db1e7019e9ccd1eddb3ac6ef5f638be893ca96b18d91270f20 | /*
Copyright (C) 2002-2007 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is ... | C | libs/ardour/ardour/bundle.h | davidhalter-archive/ardour | gpl-2.0 | 5,307 | 171 | codeparrot/github-code |
550d234131d429a6466500c7e9dbb6fa0e9e4d230b75ece8f9e2f0a0098d867f | {#
## This file is part of Invenio.
## Copyright (C) 2012 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
## ... | HTML | modules/websearch/etc/templates/websearch_results.html | EUDAT-B2SHARE/invenio-old | gpl-2.0 | 9,674 | 227 | codeparrot/github-code |
a499f86a7382575a3b4c0eddce1fe79033994b91b7e4d2cad9e06220230556e2 | // Created by plusminus on 21:46:22 - 25.09.2008
package com.mapbox.mapboxsdk.tileprovider;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import andr... | Java | MapboxLibrary/src/com/mapbox/mapboxsdk/tileprovider/MapTileLayerBase.java | RoProducts/rastertheque | gpl-2.0 | 10,470 | 324 | codeparrot/github-code |
de317b5cc6c6b898b18a8706ce67285c04e153497dca888ccb4b2aaa4005b923 | /*
* ASoC driver for TI DAVINCI EVM platform
*
* Author: Vladimir Barinov, <vbarinov@embeddedalley.com>
* Copyright: (C) 2007 MontaVista Software, Inc., <source@mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License versi... | C | sound/soc/davinci/davinci-evm.c | SystemTera/SystemTera.Server-V-3.2-Kernel | gpl-2.0 | 10,908 | 403 | codeparrot/github-code |
7b6c79d5e5c2d974646e031024a1067c7639a6dc9f8fa22261a34c10ac32b52d | package org.nwnx.nwnx2.jvm.constants;
/**
* This class contains all unique constants beginning with "CREATURE".
* Non-distinct keys are filtered; only the LAST appearing was
* kept.
*/
public final class Creature {
private Creature() {}
public final static int MODEL_TYPE_NONE = 0;
public final static int MOD... | Java | plugins/jvm/java/src/org/nwnx/nwnx2/jvm/constants/Creature.java | Baaleos/nwnx2-linux | gpl-2.0 | 5,415 | 120 | codeparrot/github-code |
3d49ef04affb571c6962abece2e964a1a93ae030724a7c5199ab8e73a214ac5b |
////////////////////////////////////////////////////////////////////////////////
/// Server Module class header.
/// @file ServerModule.h
/// @author Hugues Romain
///
/// @warning This header must always be included before all other ones to avoid
/// the windows bug "WinSock.h has already been included"
///
/// This ... | C | server/src/15_server/ServerModule.h | Open-Transport/synthese | gpl-2.0 | 8,079 | 274 | codeparrot/github-code |
5db01869d1fb63645d7e9c56c005da4e8bc0c9373c067fd5785af3cca38cfc7e | #ifndef __SYS_DIRENT_H__
#define __SYS_DIRENT_H__
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#define DT_INVALID 0xff
#define DT_UNKNOWN 0
#define DT_FIFO DT_INVALID
#define DT_CHR DT_INVALID
#define DT_DIR 1
#define DT_BLK DT_INVALID
#define DT_REG 2
#define DT_LNK 3... | C | newlib/libc/sys/lv2/sys/dirent.h | ps3dev/newlib-1.19.0-PS3 | gpl-2.0 | 1,144 | 63 | codeparrot/github-code |
6f0ad18436779fcb3b216bd11ea8ecc799621cf36b9ea6375c2d6bd5a7189a06 | # -*- coding: utf-8 -*-
# Copyright 2009,2014 Jaap Karssenberg <jaap.karssenberg@gmail.com>
'''This module contains helper classes for running external applications.
See L{zim.gui.applications} for classes with desktop integration for
applications defined in desktop entry files.
'''
import sys
import os
import logg... | Python | zim/applications.py | Osndok/zim-desktop-wiki | gpl-2.0 | 11,848 | 374 | codeparrot/github-code |
6067824cd19d0ca8b6e8985ed6bc0655e5bc1acd208223cb3d2be7aca23019f3 | /* Copyright (c) 2011-2013, Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hop... | C | drivers/usb/gadget/u_data_hsic.c | SlimRoms/kernel_lge_mako | gpl-2.0 | 29,045 | 1,190 | codeparrot/github-code |
7f8698a03596b56b2019b75d838ecbeaa7a9383a705fa0f99522d40a6f0e74c5 | /*
* collection
* A collection of posts
*
* If fetch items are specified, then only gets those posts.
* Otherwise, gets the posts specified from a configuration endpoint.
*/
define([
"lodash",
"backbone",
"helpers/urls",
"helpers/types",
"helpers/params",
"components/content/entities/parser",
"modul... | JavaScript | app/components/content/entities/collection.js | localnerve/wpspa | gpl-2.0 | 2,289 | 76 | codeparrot/github-code |
45f211e8dd9f9ffdfc8263f245bb09d786830a89a6c601b7071829b1f0959413 | /***************************************************************************
globe_plugin.cpp
Globe Plugin
a QGIS plugin
--------------------------------------
Date : 08-Jul-2010
Copyright : (C) 2010 by Sourcepole
Email : info at sourcepole.ch
***... | C++ | src/plugins/globe/globe_plugin.cpp | dgoedkoop/QGIS | gpl-2.0 | 47,694 | 1,304 | codeparrot/github-code |
17ad0c97be6cba0d695685ee777337da11e97427a7061888204ed3b0575b3792 | #include <iostream>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
#include "Constants.h"
#include "Converting.cpp"
#include "ProcessVideoRecording.cpp"
#include "ProcessScreenRecording.cpp"
using namespace std;
static void show_usage(string name)... | C++ | PostProcessing.cpp | eyetrackingDB/GazeTrackingOfflineProcessing | gpl-2.0 | 7,076 | 214 | codeparrot/github-code |
791e1b32300de7feadd2521ca47c8ab9baa0b388fa9218652e8abe25816e49d1 | <?php
/**
* $Project: GeoGraph $
* $Id: moversboard.php 3001 2007-01-22 19:30:41Z barry $
*
* GeoGraph geographic photo archive project
* This file copyright (C) 2005 BArry Hunter (geo@barryhunter.co.uk)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of ... | PHP | public_html/games/moversboard.php | s-a-r-id/geograph-project | gpl-2.0 | 3,154 | 110 | codeparrot/github-code |
7a6b89469cced887544d690efeeb05bfcb8373c5bd3464ffed28821ece98d66b | /******************************************************************************
* Title:Pallet Structure
* summary:Palletの構造体内容を定義2
*
*LastUpdate:
******************************************************************************/
//データ読み書きコマンド用Palletの構造体内容を定義
typedef struct {
GtkWidget *pallet_window,*function_win... | C | include/pallet_wr_data_structures.c | wakakusa/kuikjulia | gpl-2.0 | 5,362 | 136 | codeparrot/github-code |
6013ebf3daa22ea5c5e3f230813ac200ae5e2720ee729e9240f8532a4ea2db39 | /* $OpenBSD: ssh.c,v 1.295 2007/01/03 03:01:40 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
* Ssh client program. This program can be used to log into a remote machine.
* The software supports st... | C | user/ssh/ssh.c | kidmaple/CoolWall | gpl-2.0 | 40,882 | 1,489 | codeparrot/github-code |
739e779a635e9595e690a3d1c3a25e07df501962a7e0c49de096c88d16de9c77 | using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace MouseSimulation.Simulators
{
public class CursorSimulator
{
private double acceleration;
private double divisor;
public CursorSimulator()
{
this.Activate... | C# | scr/MouseSimulation/Simulators/CursorSimulator.cs | tavotavotavo/beyondbody | gpl-2.0 | 3,565 | 120 | codeparrot/github-code |
48aa49de813ffed55ac274834376845cc749ae62e65d9dfcb77372ab0b4673fb | /*
* Copyright (c) 2004, 2005 Topspin Communications. All rights reserved.
* Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved.
* Copyright (c) 2004 Voltaire, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under ... | C | drivers/infiniband/ulp/ipoib/ipoib_multicast.c | aospan/linux-next-bcm4708-edgecore-ecw7220-l | gpl-2.0 | 30,607 | 1,082 | codeparrot/github-code |
9c5214cce23c89dae2d0222dbe0b2a982d1d3993b3f4a6416d18f07fbc2131a5 | <?php
Yii::import('ext.components.actions.base.BaseActionInlineUpdate');
class BaseActionUpdate extends BaseActionInlineUpdate
{
public $checkRelated = array();
public $decodeAttributes = array();
public $enableUrlAttributes = false;
public $loadParams = array();
public $inputMethod = 'POST';
public $createFro... | PHP | components/actions/base/BaseActionUpdate.php | UsefulWeb/yii-components-pack-lite | gpl-2.0 | 4,366 | 197 | codeparrot/github-code |
498139c0dfd5771d65a513e770a44b20a38c8520bdd80644577a2b895494e631 | /*
* 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... | C | src/server/game/Miscellaneous/Formulas.h | yolinlin/trinitycore | gpl-2.0 | 7,385 | 239 | codeparrot/github-code |
2d7ef190e4b037a579d7d3d446a166a6333eb9d6955e2ee1347371a5fbb34ad3 | # -*- coding: utf-8 -*-
"""
/***************************************************************************
QuickMapServices
A QGIS plugin
Collection of internet map services
-------------------
begin : 2014-11-21
git sha ... | Python | src/groups_list.py | nextgis/quickmapservices | gpl-2.0 | 5,024 | 121 | codeparrot/github-code |
85e4e90679823fcc30bf26571ecf6e6e47ce4ae9f31754dc95ec158624af3ef1 | local function run(msg, matches)
if is_momod(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['sing'] then
lock... | Lua | plugins/lock_sing.lua | reza-sec/reza-sec | gpl-2.0 | 688 | 34 | codeparrot/github-code |
118868ea986fe0c14edd60b09ef163195846518f4aa116a831b2f2b81c3e90fa | <!-- "script/apps/Aries/Inventory/Pages/ActRedhatExchangeTip.html" -->
<!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" >
<body>
<pe:mcml>
<script type="text/npl" src="ActRedhatExchangeTip.lua" refresh="t... | HTML | script/apps/Aries/Creator/Game/Tasks/ActRedhat/ActRedhatExchangeTip.html | NPLPackages/paracraft | gpl-2.0 | 2,608 | 49 | codeparrot/github-code |
9edf225999b845b9e7f27c206bf5e569c47e410cf41b44a8710449546be0e313 | local awful = require("awful")
awful.rules = require("awful.rules")
local beautiful = require("beautiful")
local xresources = require("beautiful.xresources")
local dpi = xresources.apply_dpi
local naughty = require("naughty")
local serialize = require('utils/serialize')
clientbuttons = awful.util.table.join(
... | Lua | .config/awesome/configs/rules.lua | Hacksign/configs | gpl-2.0 | 5,282 | 158 | codeparrot/github-code |
3f67c42940bf33be631f6f2f858da5877329b81bc30a68e5fd1a49b6ccfa30b9 | /*
* WPA Supplicant / EAP-TLS (RFC 2716)
* Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.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.
*
* Alternatively, this... | C | eap_tls.c | leiweigan/wpa_supplicant | gpl-2.0 | 5,486 | 234 | codeparrot/github-code |
e3b637f67076cca5a53850e942cf92995012be1ebe0bf5ede38e86777cf4ffb3 | #include <cstdio>
#include <algorithm>
#include <cstring>
using namespace std;
const int maxn = 100005, MOD = 99999997, inf = ~0u<<1;
int a[maxn], b[maxn], c[maxn], n, L[maxn], R[maxn], ans;
int find(int l, int r, int key) {
int m = (l+r) >> 1;
if(key == b[m]) return m;
return key < b[m] ? find(l, m, ke... | C++ | wikioi/Run_456570_Score_100_Date_2014-02-05.cpp | iwtwiioi/OnlineJudge | gpl-2.0 | 1,142 | 48 | codeparrot/github-code |
9adef7a3dd0bb2e887c6994089fa56ba88c6df009b08d343f5d2edc727b70ffd | /**
* IRCAnywhere server/channels.js
*
* @title ChannelManager
* @copyright (c) 2013-2014 http://ircanywhere.com
* @license GPL v2
* @author Ricki Hastings
*/
var _ = require('lodash'),
hooks = require('hooks');
/**
* This object is responsible for managing everything related to channel records, ... | JavaScript | server/channels.js | KenanSulayman/ircanywhere | gpl-2.0 | 8,230 | 243 | codeparrot/github-code |
29978ad31220803d60fd0729b298cf47c299aa535d6f21e8657acb842390b4b5 | <?php
/*####
#
# Name: PHx (Placeholders Xtended)
# Version: 2.1.2
# Author: Armand "bS" Pondman (apondman@zerobarrier.nl)
# Date: Feb 13, 2007 8:52 CET
#
####*/
class PHxParser {
var $placeholders = array();
function PHxParser($debug=0,$maxpass=50) {
global $modx;
$this->name = "PHx";
$this->version = "2.1.... | PHP | modx.evo.custom-master/assets/snippets/ditto/classes/phx.parser.class.inc.php | fortunto2/automodx | gpl-2.0 | 16,434 | 415 | codeparrot/github-code |
8f852a8585a6c2b3cfc52c9e7a032985d4fb6f6f52a4424a7971bb09e36a2a01 | <?php
/**
* @version 2-0-6-0 // Y-m-d 2016-09-12
* @author Didldu e.K. Florian Häusler https://www.hr-it-solutions.com
* @copyright Copyright (C) 2011 - 2016 Didldu e.K. | HR IT-Solutions
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
**/
class DD_ImgCopyResized
{
protected $final_w... | PHP | library/imgcopyresized.php | hr-it-solutions/DD_imgcopyresized | gpl-2.0 | 6,647 | 217 | codeparrot/github-code |
1409ec04333589ccd1cd7ae01d3bcf4c34a4fc9446c06e9f1439e1f843abb2b6 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MPI_Comm_get_name</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="MPI_Comm_get_name"><H1>MPI_Comm_get_name</H1></A>
Return the print name from the communicator
<H2>Synopsis</H2>
<PRE>
int MPI_Comm_get_name(M... | HTML | src/mpich-3.0.1/www/www3/MPI_Comm_get_name.html | qingu/WRF-Libraries | gpl-2.0 | 3,224 | 79 | codeparrot/github-code |
f258aefb4a318e1d40f5e8bbff97da02460dab0e0ea06b20bf72f89e9bd43850 | <?php
/* __
* _| |_
* ____ _ _ __ __ _ __ __ ____ |_ _|
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ ... | PHP | src/pocketmine/level/Position.php | PocketMinePlusPlus/PocketMinePlusPlus | gpl-2.0 | 2,863 | 112 | codeparrot/github-code |
e050b4bd4600d8e9c6a495a9a8dc996429f01b0a4ce282647ab34bbecf8bf513 | /* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2010 - Stendhal *
***************************************************************************
***************************************************************************
... | Java | src/games/stendhal/client/Triple.java | dkfellows/stendhal | gpl-2.0 | 2,762 | 104 | codeparrot/github-code |
e2c41a216970d0d8dec9606b7c03e1292d8b93c0142b8baf8efc0593f553b2bd | ################################################################
# LiveQ - An interactive volunteering computing batch system
# Copyright (C) 2013 Ioannis Charalampidis
#
# 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 ... | Python | liveq-common/liveq/utils/FLAT.py | wavesoft/LiveQ | gpl-2.0 | 3,333 | 139 | codeparrot/github-code |
94e6305f3df028422ac32283e818e784ab1c988e1c753ca0a4bc225caab2766e | #!/usr/bin/perl -w
#-----------------------------------
# Carl Tape, 17-Nov-2008
# plot_seis_multi.pl
#
# Text here.
#
#
# EXAMPLE:
#
# plot_seis_multi.pl -m CMTSOLUTION_3321590 -n PHL/CI -l 10/190 -a 3321590_T006_T030_m16_STATIONS_ADJOINT -d DATA -s SYN -w MEASUREMENT_WINDOWS_3321590_T006_T030_m16/MEASUREMENT_WINDOW... | Perl | utils/ADJOINT_TOMOGRAPHY_TOOLS/iterate_adj/misfit_plot/plot_seis_multi.pl | carenelarmat/Conejo | gpl-2.0 | 22,772 | 601 | codeparrot/github-code |
553e30d2ddd5052de0bcc1e4444f9e0bbe719dc198ef972885c657dc25a27db8 | <?php die("Access Denied"); ?>#x#s:3682:" 1451729352
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-tw" lang="zh-tw">
<head>
<script type="text/javascript">
var siteurl='/';
... | PHP | cache/t3_pages/e8efe7956197beb28b5e158ad88f292e-cache-t3_pages-d4c7c6c0d4844a6328f8d49dea61811d.php | ForAEdesWeb/AEW32 | gpl-2.0 | 3,638 | 99 | codeparrot/github-code |
504d15843e3999fab2964147dbdcf8008fae57606909c281abb1c306fd6d54ea | /*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, version 2.0, as published by the
* Free Software Foundation.
*
* This program is also distributed with... | Java | 3rdParty_sources/mysql-connector/com/mysql/cj/CharsetMapping.java | lamsfoundation/lams | gpl-2.0 | 50,215 | 800 | codeparrot/github-code |
b88b9a471644e99b87cc3a1d8c10718804654cf5056acc39112bef273618043a | #include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
#include <linux/platform_... | C | drivers/video/rockchip/hdmi/rk30_hdmi.c | uraran/rk3066-kernel | gpl-2.0 | 8,442 | 312 | codeparrot/github-code |
3aec657864fdeacfc17d10d77ad547d7bd1bc51928c437e59e6f689440eb2753 | package main
import (
"fmt"
"time"
"flag"
// "os/exec"
"log"
// "bytes"
// "os"
// "syscall"
"github.com/samuel/go-zookeeper/zk"
"crypto/sha256"
"encoding/base64"
"strings"
"github.com/satori/go.uuid"
)
func zkConnect() *zk.Conn {
zks := []string{"wz-zk-1.dol.cx:2181", "wz-zk-2.dol.cx:2181", "wz-zk-3.dol.cx... | GO | test-zk.go | a15y87/go-stdin-logger | gpl-2.0 | 1,931 | 85 | codeparrot/github-code |
9a1c7c3197f4402dff2e5893f4e68974cd054679620cff675344b055a1e486d1 | /*
* Copyright (c) 2014 Google, Inc
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>
#include <malloc.h>
#include <spi.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>
#include <dm/root.h>
#include <dm/lists.h>
#include <dm/util.h... | C | drivers/spi/spi-uclass.c | cosino/u-boot-enigma | gpl-2.0 | 10,092 | 450 | codeparrot/github-code |
9f493d4c9b4bffb07ec658315ca799f886b4f071620d262e831c2be30cbdc3d9 | <?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* This is a wrapper class for Kirki.
* If the Kirki plugin is installed, then all CSS & Google fonts
* will be handled by the plugin.
* In case the plugin is not installed, this acts as a fallback
* ensuring that all CSS & fonts stil... | PHP | wp-content/themes/seopress/inc/kirki/kirki-fallback.php | ricardomelogon/wordpress | gpl-2.0 | 13,731 | 392 | codeparrot/github-code |
03986b9db4e5a8108537acec93ac3a83c222e73eaeb81e3b50b8a7ab8857226d | /*********************************************
* Kouklakis Konstantinos kuklakis 2154 *
* Maninakis Konstantinos maninak 2273 *
*********************************************/
#ifndef _MANAGE_H_
#define _MANAGE_H_
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include "SymbolTable.h"
#include "Symbol... | C | include/manage.h | PhivosSatanas/dat-secret-project | gpl-2.0 | 6,279 | 217 | codeparrot/github-code |
1a8bf93975005177a80758cba26439823f754c9bb62751987887b56494f499ae | // PabstMirror
// async send msg to a discord webhook
// Requires CPR (curl wrapper) - https://github.com/whoshuu/cpr (and put libcurl.dll in base arma folder)
#include <iostream>
#include <String>
#include <future>
#include "cpr/cpr.h"
constexpr auto VERSION_STR = "v1.0.1";
extern "C" {
__declspec(dllexport) v... | C++ | backend/discordWebhook/Webhook.cpp | BourbonWarfare/POTATO | gpl-2.0 | 1,990 | 52 | codeparrot/github-code |
a18c047a1e57ba0fddaf67622a1e6563e73b164e32bd2be73dd097f9e4adfbe6 | # Copyright (C) 1998-09 Stephane Galland <galland@arakhne.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 version.
#
# Th... | Perl | src/Bib2HTML/Generator/Writer.pm | gallandarakhneorg/bib2ml | gpl-2.0 | 3,600 | 212 | codeparrot/github-code |
48867eb2396477fc339b5ebf0dfbfbdcdc7da5d8c9019802925ac0c232a7eeab | /* Copyright (c) 2002-2012 Croteam Ltd.
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 it will be useful,
but WITHOUT ANY WARRANTY; without... | C++ | Sources/GameMP/WEDInterface.cpp | stevenc99/Serious-Engine | gpl-2.0 | 7,788 | 266 | codeparrot/github-code |
00f3ee2c05724a157ddebafd1e6f58d7826b6b0ac3dce00e1c4ae07d367153ed | using MongoDB.Driver;
using Repositories.Identity;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace Repositories.Database
{
internal static class MyMongoDB
{
private const string UserCollectionString = "AspNetUsers";
pri... | C# | Repositories/Database/Internal/MyMongoDB.cs | JohnDRoach/MGCCPointScore | gpl-2.0 | 1,256 | 48 | codeparrot/github-code |
fe947c41c08042a87483342c34075d6e61654dbefa8a31c490da9b5aae152ab8 | /***************************************************************************
qgsgeometry.cpp - Geometry (stored as Open Geospatial Consortium WKB)
-------------------------------------------------------------------
Date : 02 May 2005
Copyright : (C) 2005 by Brendan Morley
email ... | C++ | src/core/geometry/qgsgeometry.cpp | jef-n/QGIS | gpl-2.0 | 97,900 | 3,685 | codeparrot/github-code |
e3b7175e0e9e371413d765ec07169019a83298419049a805f2cc909a2771bfe4 | /* This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information
* 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 opti... | C++ | src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/naxxramas/boss_patchwerk.cpp | catterpiler74/mangos-classic | gpl-2.0 | 4,895 | 171 | codeparrot/github-code |
d14ec3e714c35649463b9b096cfa96bc38e4a9f37652ce6d6d6c6eb19a51bee3 | <?php
/**
* @package Joomla.Administrator
* @subpackage com_actionlogs
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\Component\Actionlogs\Administrator\Controller;
d... | PHP | administrator/components/com_actionlogs/Controller/ActionlogsController.php | astridx/joomla-cms | gpl-2.0 | 4,575 | 175 | codeparrot/github-code |
f326ff42d4617a6f16ef524e4a240398ee816988a5ae952c054540ed46195f69 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Compiling the GLib package</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
<link rel="start" href="index.html" title="GLib Reference Manua... | HTML | usr/glib/share/gtk-doc/html/glib/glib-building.html | tdkonsta/test | gpl-2.0 | 22,540 | 440 | codeparrot/github-code |
030087f18af05bc7cef4bb7ad405e3a44d4ca3f1bd0139d94dbd96cbb4fd734a | require 'fileutils'
require 'logger'
require 'xdg'
# Maid cleans up according to the given rules, logging what it does.
#
# TODO: Rename to something less ambiguous, e.g. "cleaning agent", "cleaner", "vacuum", etc. Having this class within
# the `Maid` module makes things confusing.
class Maid::Maid
DEFAULTS = {
... | Ruby | lib/maid/maid.rb | nicosuave/maid | gpl-2.0 | 4,091 | 133 | codeparrot/github-code |
329ed80bedab43696741854884995da35c54eb0950610412f0f515fb898996cb | /* This file is part of the KDE project
Copyright (C) 2002,2006 Ariya Hidayat <ariya@kde.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 License, o... | C | filters/kword/hancomword/hancomwordimport.h | KDE/koffice | gpl-2.0 | 1,327 | 44 | codeparrot/github-code |
54fee0c773b0987fa822bfca5351e36ff58fbc044afff576dcc526994c141f48 | <!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... | HTML | UltimatePenguinRampage/doc/html/globals.html | JunkiesCorporation/Ultimate-Penguin-Rampage | gpl-2.0 | 5,482 | 132 | codeparrot/github-code |
2fe5fd2f664d3db5c4c0a4415eff292e5ddd381e5f92ef6a98530ed29323f39f | /*
* TACO: Translation of Annotated COde
* Copyright (c) 2010 Universidad de Buenos Aires
*
* 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 ... | Java | unittest/ar/edu/taco/regresion/taco/singlylinkedlist/ExamplesBaseSinglyLinkedListTest.java | zeminlu/comitaco | gpl-3.0 | 3,303 | 78 | codeparrot/github-code |
f0c1b19608e0d054a2ce0e8e794c6e70b6ec664fbfb05bdcd196c6355bb0fbab | /* The MIT License
Copyright (c) 2008 Genome Research Ltd (GRL).
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use... | C | bwt.c | michaelglass/bwa-colorspace | gpl-3.0 | 9,675 | 310 | codeparrot/github-code |
5fd1e02b4ecdc6f8545db05e84fae14bcbc9fc290f5f73a38c68f9995ede36c1 | package net.bounceme.chronos.utils.assemblers;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.bounceme.chronos.utils.common.Constantes;
import net.bounceme.chronos.utils.exceptions.Ass... | Java | chronos-utils/src/main/java/net/bounceme/chronos/utils/assemblers/GenericAssembler.java | federicomartinlara1976/chronos-libs | gpl-3.0 | 2,713 | 106 | codeparrot/github-code |
12acc0617b4ee2cc1db21f69c10be5d916d604acd0a42fb8dfac7240a1fea65c | package com.forgeessentials.util.AreaSelector;
import net.minecraft.world.World;
import com.forgeessentials.data.api.SaveableObject.SaveableField;
import com.forgeessentials.data.api.SaveableObject.UniqueLoadingKey;
public class WorldArea extends AreaBase
{
@SaveableField
public int dim;
public WorldArea(World w... | Java | src/main/java/com/forgeessentials/util/AreaSelector/WorldArea.java | 14mRh4X0r/ForgeEssentialsMain | gpl-3.0 | 1,671 | 90 | codeparrot/github-code |
977099927ad56f88170e252b0c34d1672623c8cf6fae3402d29cf338af0ea725 | /**
Template Controllers
@module Templates
*/
/**
The dashboard template
@class [template] views_dashboard
@constructor
*/
Template['views_dashboard'].helpers({
/**
Get all current wallets
@method (wallets)
*/
'wallets': function(disabled){
var wallets = Wallets.find({disabled: disable... | JavaScript | app/client/templates/views/dashboard.js | EarthDollar/ed-meteor-dapp-wallet | gpl-3.0 | 2,400 | 103 | codeparrot/github-code |
7a1d37b03e3fcb296003b48850b29411d567fb99bd42588743177416bff90c82 | /*
* This file is part of the Black Magic Debug project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* T... | C | src/lpc11xx.c | gsmcmullin/blackmagic | gpl-3.0 | 10,044 | 322 | codeparrot/github-code |
8ec306babc911a07d787b6e5c4590e530df8e508c9b1c6ba2ae99a238d8e8e05 | package io.robusta.upload.api;
import java.io.IOException;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet... | Java | src/main/java/io/robusta/upload/api/DeleteFileDropboxServlet.java | Quntn/projetPOX | gpl-3.0 | 1,141 | 43 | codeparrot/github-code |
130f832ba5aaaa194436bf690413a0181988de59a4cb3c4ed934c115e8ea7470 | {% extends 'gentelella/admin/event/event_base.html' %}
{% block title %}
{{ event.name }} - {{ _("Export") }}
{% endblock %}
{% set active_page = "export" %}
{% block head_css %}
{{ super() }}
<style type="text/css">
.checkbox > label {
margin-left: 0;
margin-right: 0;
... | HTML | app/templates/gentelella/admin/event/export/export.html | gaeun/open-event-orga-server | gpl-3.0 | 10,726 | 240 | codeparrot/github-code |
7c6279803a179991b3b286c8fc144fbd98ce50b622c802ddcf313a0fce6734cb | /*Explosion Man for general explosions on Bukkit
Copyright (C) 2013 Rory Finnegan
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 v... | Java | Explosion Man/src/com/gmail/bunnehrealm/explosionman/MainClass.java | Malandrix/Explosion-Man | gpl-3.0 | 8,770 | 265 | codeparrot/github-code |
7c4eb23401b8ba24b709f67f1f5c66b23785c9670c83cf04067794f63ecdac88 | /**
* @brief
*
* @file
* @ingroup python
*/
#include <src/common.hpp>
#include "genesis/genesis.hpp"
using namespace ::genesis::tree;
PYTHON_EXPORT_FUNCTIONS( tree_function_operators_export, ::genesis::tree, scope )
{
scope.def(
"convert",
( Tree ( * )( Tree const &, std::function< std::un... | C++ | python/src/tree/function/operators.cpp | lczech/genesis | gpl-3.0 | 3,899 | 134 | codeparrot/github-code |
7bbb621291764386ce2236d98dd5fa195c49ed619b6ce8610b8a827b825a1bd2 | /*
* Copyright (C) 2013 Man YUAN <epsilon@epsilony.net>
*
* 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.
*
* Th... | Java | src/test/java/net/epsilony/tb/implicit/TrackContourBuilderTest.java | epsilony/tb | gpl-3.0 | 5,181 | 147 | codeparrot/github-code |
3b9165e80797779e8d9966b8ee56dea25a49ce5a942b185b3a86d8dbf7a8420c | /*
Copyright (C) 2013 Edwin Velds
This file is part of Polka 2.
Polka 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 3 of the License, or
(at your option) any later version... | C++ | src/ActionGrabFrame.cc | edwin-v/polka2 | gpl-3.0 | 2,236 | 92 | codeparrot/github-code |
1449e5df37d895ad1fa9f697140b5089e3459d6420e9cbe845b1c960450050da | package ch.cyberduck.core.sds.triplecrypt;
/*
* Copyright (c) 2002-2022 iterate GmbH. All rights reserved.
* https://cyberduck.io/
*
* 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... | Java | dracoon/src/main/java/ch/cyberduck/core/sds/triplecrypt/TripleCryptEncryptingInputStream.java | iterate-ch/cyberduck | gpl-3.0 | 6,159 | 146 | codeparrot/github-code |
5ae4ae281c2522fadba04f0ae9595353fcae13f925f0bd0d0ee9faf6c14d3eec | #!/usr/bin/python
# FRANKEN CIPHER
# WRITTEN FOR ACADEMIC PURPOSES
#
# AUTHORED BY: Dan C and james@forscience.xyz
#
# THIS SCRIPT IS WRITTEN TO DEMONSTRATE A UNIQUE ENCRYPTION ALGORITHM THAT IS INSPIRED BY A NUMBER
# OF EXISTING ALGORITHMS.
# THE SCRIPT IS WRITTEN ENTIRELY FOR ACADEMIC PURPOSES. NO WARRANTY OR GUARAN... | Python | franken.py | forScie/FrankenCipher | gpl-3.0 | 13,770 | 363 | codeparrot/github-code |
35a16a500802125c2cd2232fbea7c8d47f8cf966c37afe7178884e8fd35389f1 | /*
* #%L
* VisualWAS
* %%
* Copyright (C) 2013 - 2020 Andreas Veithen
* %%
* 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 lat... | Java | clientlib/src/main/java/com/github/veithen/visualwas/client/pmi/StatDescriptor.java | veithen/visualwas | gpl-3.0 | 1,295 | 43 | codeparrot/github-code |
75923bf57fa23cc70445730578f88caa1061f53b3f428faba586f8443f3cac26 | /*
This file is part of GNUnet.
Copyright (C) 2010 Christian Grothoff (and other contributing authors)
GNUnet 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, or (at your... | C | src/nat/gnunet-helper-nat-client.c | muggenhor/GNUnet | gpl-3.0 | 13,105 | 512 | codeparrot/github-code |
d5046171185abf86fe8e2b1a3e8ecebbfab4a5e19b0884fa0d23db2cfaaac360 | /*
* Copyright © 2008-2012 Peter Colberg and Felix Höfling
*
* This file is part of HALMD.
*
* HALMD 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 opti... | C++ | halmd/mdsim/host/integrators/verlet_nvt_andersen.cpp | the-nic/halmd | gpl-3.0 | 6,899 | 205 | codeparrot/github-code |
1094bfd5205b147ccd00eceefd0ea095fdc3578862f8a94bc96edb508712135e | #include "builtin.h"
#include "perf.h"
#include "util/evlist.h"
#include "util/evsel.h"
#include "util/util.h"
#include "util/config.h"
#include "util/symbol.h"
#include "util/thread.h"
#include "util/header.h"
#include "util/session.h"
#include "util/tool.h"
#include "util/callchain.h"
#include <subcmd/parse-options... | C | tools/perf/builtin-kmem.c | williamfdevine/PrettyLinux | gpl-3.0 | 46,975 | 2,489 | codeparrot/github-code |
e2848bcf767f05ebe143770609f62d684c212a178f8a8eac8c90b3b8f84332b6 | package clock.socoolby.com.clock.protocol;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class WeatherResponse extends ResponseBase {
/*
{
"error": 0,
"status": "success",
"date": "2016-05-26",
"results": [{
"currentCity": "深圳",
"pm25": "31",
"index": [... | Java | app/src/main/java/clock/socoolby/com/clock/protocol/WeatherResponse.java | socoolby/CoolClock | gpl-3.0 | 4,133 | 165 | codeparrot/github-code |
81ebbe1eddf3e00f8c64319ba2909dca6ebbccedfbc0e126b6210ea581ae9e2c | 'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n... | JavaScript | test/vendors/angular-1.5.5/i18n/angular-locale_de-ch.js | espringtran/travis-web-fonts | gpl-3.0 | 2,891 | 144 | codeparrot/github-code |
4640d0b1f18a83b58a26674d1633d2965ee010cfadbbfbc9b7198dad51098983 | //
// DO NOT MODIFY!!! This file was machine generated. DO NOT MODIFY!!!
//
// Copyright (c) 2014 Vincent W. Chen.
//
// This file is part of XJavaB.
//
// XJavaB 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 Softwar... | Java | xjavab-ext/src/main/java/com/noodlewiz/xjavab/ext/randr/internal/EventDispatcher.java | noodlewiz/xjavab | gpl-3.0 | 1,464 | 46 | codeparrot/github-code |
5f9e3f6cff032b04d0954343f5b4ca560ff5f748e4501975317af9a798bbb7e0 | <?php
/**
* AdminLte2 Timeline
* https://almsaeedstudio.com/themes/AdminLTE/pages/UI/timeline.html
*/
namespace LTE;
Class Timeline
{
//private $id ='';
//private $title='title';
public function __construct ()
{
//$this->id = md5(rand(0,time()));
//$this->title = $title;
... | PHP | src/LTE/Timeline.php | ffinstitute/dataviz.ff.institute | gpl-3.0 | 2,783 | 111 | codeparrot/github-code |
dbeceb03b546eeb9227782c1c8672fe86d9d3a2c5c248a5475ad93a4d289b31f |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* Compiler settings for callobj.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bou... | C | oem-3dvstar/dwindow/WinSDK/Include/callobj.h | dwindow/dwindow | gpl-3.0 | 35,099 | 1,184 | codeparrot/github-code |
6021701960eb6da31083809bbc0f06fbb99855f683113be5fc9cc15a362c129e | <?php
/**
* Entrada [ http://www.entrada-project.org ]
*
* Entrada 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.
*
* Entrada ... | PHP | www-root/core/modules/public/profile/gradebook/index.inc.php | mattsimpson/entrada-1x | gpl-3.0 | 6,105 | 144 | codeparrot/github-code |
ee84b86c630ab53e74242efe8b1863d193d82c8e4960c064e7f260b8fdb5d3e5 | reportico_jquery = jQuery.noConflict();
var reportico_ajax_script = "index.php";
/*
** Reportico Javascript functions
*/
function setupDynamicGrids()
{
if (typeof reportico_dynamic_grids === 'undefined') {
return;
}
if ( reportico_jquery.type(reportico_dynamic_grids) != 'undefined' )
... | JavaScript | plugin/reportico/script/reportico/js/reportico.js | grupo-glud/EcoHack | gpl-3.0 | 27,172 | 745 | codeparrot/github-code |
80b8d6840dff587d1c4676a56c8ee264969fce7f3a18c1e8ff19c4be521b2219 | /* A Bison parser, made by GNU Bison 2.7. */
/* Bison implementation for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... | C | src/txt2osec.c | rilian-la-te/osec | gpl-3.0 | 54,128 | 1,905 | codeparrot/github-code |
0f7f5a95e2723254c156805e6b768f460635bf890abcdcc586a030d850c4b62d | /*
* Copyright (C) 2005-2010 Erik Nilsson, software on versionstudio point com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | JavaScript | client/vibe-ext/plugins/playlists/src/PlaylistsDialog.js | versionstudio/vibestreamer | gpl-3.0 | 4,457 | 185 | codeparrot/github-code |
a1376ff278de5a7cc20938bcdf252591cb871c2113c64d32cfefe771f0bab56c | // Copyright (C) 2011, 2012 Google Inc.
//
// This file is part of ycmd.
//
// ycmd 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.
... | C++ | cpp/ycm/IdentifierUtils.cpp | SolaWing/ycmd | gpl-3.0 | 10,271 | 231 | codeparrot/github-code |
85d96a072373747161d345a7ac34da34fea6229889c1fa98094b0d8a8d2abc5a | var _ = require('underscore'),
Backbone = require('backbone'),
DAL = require('../DAL');
var Message = Backbone.Model.extend(
/** @lends Message.prototype */
{
defaults: {
userId: null,
waveId: null,
parentId: null,
message: '',
unread... | JavaScript | code/model/Message.js | tofuseng/SURF | gpl-3.0 | 1,029 | 42 | codeparrot/github-code |
25c50add678a0a4c5d8530199bb156486c52e0357e4de8dba31fdb64abc2379b |
///////////////////////////////////////////////////////////
// //
// SAGA //
// //
// System for Automated Geoscientific Analyses //
// ... | C++ | src/modules_terrain_analysis/terrain_analysis/ta_lighting/view_shed.cpp | gregorburger/SAGA-GIS | gpl-3.0 | 12,838 | 429 | codeparrot/github-code |
730cc6eae1d019d3afc6fb736652cb4e8a7cb1ff8435e82cfe1c6c612eedd5e8 | <?php
/**
* Handles viewing a certificate
*
* @package mod
* @subpackage simplecertificate
* @copyright Carlos Fonseca <carlos.alexandre@outlook.com>, Chardelle Busch, Mark Nelson <mark@moodle.com.au>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
require_once(dirname(dirname(dirn... | PHP | mod/simplecertificate/view.php | nitro2010/moodle | gpl-3.0 | 2,818 | 97 | codeparrot/github-code |
5ade6628a3e5d88c4d5a940777467c29ae9c38e6faba060fcdd417ed3a269283 | package com.personal.allutil;
import com.orhanobut.logger.LogLevel;
import com.orhanobut.logger.Logger;
import android.app.Application;
import android.content.Context;
/**
* Created by zzz on 8/18/2016.
*/
public class ZApplication extends Application {
private static final String TAG = "ZApp";
private ... | Java | Demons/allutil/src/main/java/com/personal/allutil/ZApplication.java | portguas/androidsc | gpl-3.0 | 1,215 | 49 | codeparrot/github-code |
33e883a936f6b543ed23fd22b15e74d800738123f1c7d07221251b326359fad5 | #!/usr/bin/env python
#
# This file is part of pacman-mirrors.
#
# pacman-mirrors 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.
#
# p... | Python | pacman_mirrors/translation/i18n.py | fhdk/pacman-mirrors | gpl-3.0 | 1,832 | 58 | codeparrot/github-code |
b60ef5d96c30a1bde5297aa50e1af63ff9d62fa18e202d433eb91327a746c44d | # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# This file is part of qutebrowser.
#
# qutebrowser 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 S... | Python | qutebrowser/misc/guiprocess.py | forkbong/qutebrowser | gpl-3.0 | 6,787 | 182 | codeparrot/github-code |
f4531442d6be0532eb61a1454f83115bd63d9f4200d7ec4959085c65ac324cc4 | // -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2018 Canonical Ltd
*
* 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 tha... | GO | overlord/hookstate/ctlcmd/services.go | jhenstridge/snapd | gpl-3.0 | 2,720 | 104 | codeparrot/github-code |
e78526530c7e27ca067d12207fa82eb07c1a6314ca4c869f220a76bcec502a4f | // Copyright (C) 2013 Michael Biggs. See the COPYING file at the top-level
// directory of this distribution and at http://shok.io/code/copyright.html
#ifndef _StdLib_h_
#define _StdLib_h_
/* shok standard library */
#include "Object.h"
#include "Scope.h"
#include "util/Log.h"
#include <vector>
namespace compile... | C | compiler/StdLib.h | nfomon/shok | gpl-3.0 | 583 | 35 | codeparrot/github-code |
28b495cef9362d054277885028705641eea3c0b1fddd1afb08be4b9a6c30da31 | """Weighted maximum matching in general graphs.
The algorithm is taken from "Efficient Algorithms for Finding Maximum
Matching in Graphs" by Zvi Galil, ACM Computing Surveys, 1986.
It is based on the "blossom" method for finding augmenting paths and
the "primal-dual" method for finding a matching of maximum weight, bo... | Python | maximum_matching.py | bvancsics/TCMC | gpl-3.0 | 35,707 | 858 | codeparrot/github-code |
352cb301cb0c303e9a5e64da26781b864f931a02e2809f26a4a82acbd152b3b0 | <?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library 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 2.1 of the License, or (at your option) any later ve... | PHP | Classes/PHPExcel/Shared/CodePage.php | jvianney/SwiftHR | gpl-3.0 | 7,067 | 203 | codeparrot/github-code |
bc02db3696ece19fcc3559667175f9a36a60a8605291e3455fa2f6fcd1836fe0 | let html_audio = document.getElementById("audio-source");
let html_open_button = document.getElementById("open-button");
//Setup the audio graph and context
let audioContext = new window.AudioContext();
let audioSource = audioContext.createMediaElementSource($("#audio-source")[0]);
let audioAnalyser = audioContext.c... | JavaScript | mainWin/js/player.js | Yordrar/pulse | gpl-3.0 | 6,544 | 188 | codeparrot/github-code |
ea0c7d4c21324d6eb0cc929f3c54246aa3e436769eaddb3c27801f70040d290d | /*
* Enesys : An NES Emulator
* Copyright (C) 2017 Rahul Chhabra and Waoss
*
* 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 la... | Java | enesys/src/main/java/com/waoss/enesys/cpu/instructions/Instruction.java | Waoss/Enesys | gpl-3.0 | 11,105 | 279 | codeparrot/github-code |
49421d4d4ab59b3e3180d2c02aecd36a0ee4f136fb213bb2c19aa30445a4e629 | /*
Copyright (C) 2013 Edwin Velds
This file is part of Polka 2.
Polka 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 3 of the License, or
(at your option) any later version... | C | src/import/BitmapScreenImport.h | edwin-v/polka2 | gpl-3.0 | 2,431 | 103 | codeparrot/github-code |
6948edf8a027df44f91aaf42dc6a319766a5bac44e560b68e51c0e19d05f8dbd | if (typeof FormTarget === 'undefined') {
FormTarget = {};
}
FormTarget.arrayrun = (function($) {
/*
* Expected config {
* isAdmin: boolean,
* instruments: array
* }
*/
return {
getUserManualUrl: function() {
return Urls.external.userManual('array_runs');
},
getSaveUrl: funct... | JavaScript | miso-web/src/main/webapp/scripts/form_arrayrun.js | TGAC/miso-lims | gpl-3.0 | 7,102 | 210 | codeparrot/github-code |
79c932109c3381a181d53572628ec5c6d6b363a26a80cc3dac916d2848133faf | import { combineReducers } from 'redux';
import { ADDED_ACCEPTOR_CAREER,
DELETED_ACCEPTOR_CAREER,
INIT_ACCEPTOR_CAREER_HISTORY,
FETCH_FAILED, FETCHING } from '../../constants';
const error = (state = null, action) => {
switch (action.type) {
case FETCH_FAILED:
return action.error;
default:
... | JavaScript | src/reducers/acceptors/career.js | nagucc/jkef-wxe | gpl-3.0 | 1,215 | 59 | codeparrot/github-code |
522eae0f2e1b011261a2b202a2b339a0ae409b5a659a5af8b3c8a285aa335d7b | # frozen_string_literal: true
module SupplejackCommon
# Scope Class
class Scope
def initialize(klass, options)
@klass = klass
@scope_options = options
end
def attribute(name, options = {})
new_options = @scope_options.dup
if_options = new_options[:if]
if if_options.is_a?... | Ruby | lib/supplejack_common/scope.rb | DigitalNZ/supplejack_common | gpl-3.0 | 732 | 34 | codeparrot/github-code |
660a14940fd872c3c9dc3867584fff550e4e88b2db4eac0fe99f50955124a43b | <html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Tastatur</title>
</head>
<body bgcolor="FFFFFF">
<h1><img align="center" src="../../../../../resources/logisim/icons/keyboard.gif" width="32" height="32">
<em>Tastatur</em></h1>
<p><table>
<tr><td><strong>Bibliothek:</stron... | HTML | Logisim-Fork/doc/de/html/libs/io/keyboard.html | LogisimIt/Logisim | gpl-3.0 | 4,068 | 106 | codeparrot/github-code |
b8ae74b41b29339ffaba2102bcc7b0ff710b2d09b3d780f523696ddbc59766d3 | # -*- coding: utf-8 -*-
"""Configure batch3dfier with the input data."""
import os.path
from subprocess import call
from shapely.geometry import shape
from shapely import geos
from psycopg2 import sql
import fiona
def call_3dfier(db, tile, schema_tiles,
pc_file_name, pc_tile_case, pc_dir,
... | Python | batch3dfier/config.py | balazsdukai/batch3dfier | gpl-3.0 | 20,894 | 643 | codeparrot/github-code |
4c6d6086afde445ffc69e007419d322d4e8e56f9863d4b5197ee7cad34c17216 | /*******************************************************************************
*
*
* WashingtonDC Dreamcast Emulator
* Copyright (C) 2019 snickerbockers
*
* 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
*... | C | src/libwashdc/jit/optimize.c | washingtondc-emu/washingtondc | gpl-3.0 | 4,742 | 129 | codeparrot/github-code |
cee0e4586b509c6c38efbc04b75850fd0ef0c5ffa3016ffbfd83c806009a552a | # Released under the GNU General Public License version 3 by J2897.
def get_page(page):
import urllib2
source = urllib2.urlopen(page)
return source.read()
title = 'WinSCP Updater'
target = 'Downloading WinSCP'
url = 'http://winscp.net/eng/download.php'
print 'Running: ' + title
print 'Target: ' + target
print ... | Python | Update_WinSCP.py | J2897/WinSCP_Updater | gpl-3.0 | 4,220 | 170 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.