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
4d6b4bfd29562676c832c8eed6193ec74d190f1888efdc028a189b56d3a79fa1
<?php class Mapbox_Post_Map_Base { private $new_map_nonce_name = 'mb_create_map'; // private $new_map_nonce = null; function __construct() { // nothing to see here } function create_new_map_nonce() { // This nonce is used to verify intent on fetching post location data for map creation. That action is an AJ...
PHP
includes/class-mapbox-post-map-base.php
SvenChmie/Mapbox-Postmap-Plugin
gpl-3.0
3,996
118
codeparrot/github-code
df8e63af8529a4438861a5d470cc12b2b3fc3b92c8dea5973d74939121adc481
var request = require("request"); var AuthDetails = require("../../auth.json"); exports.commands = [ "image", //gives top image from google search "rimage", //gives random image from google search "ggif" //gives random gif from google search ]; exports.image = { usage: "<search query>", descriptio...
JavaScript
plugins/Images/images.js
sr229/nodejs-kotori
gpl-3.0
4,604
105
codeparrot/github-code
c5bd302bd0cf07ae3f9eaa2296eac3c0c5b13f0d4edeb20c3cfbcbc6a5eda7fe
/* * Copyright 2018 Andrey Novikov * * This program 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, or (at your option) any later version. * * This program is dis...
Java
app/src/main/java/mobi/maptrek/util/FileList.java
andreynovikov/maptrek
gpl-3.0
2,748
74
codeparrot/github-code
9bf2db06b544a43615bcb93788a81e984ab3bbe649f1826010455f7884aff9f4
/*! \file Main header file for the C API. Copyright 2018, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 University Corporation for Atmospheric Research/Unidata. See \ref copyright file for more info. */ #ifn...
C
external/jigsaw/src/netcdf/lib_netcdf.h
dengwirda/jigsaw-MATLAB
gpl-3.0
68,231
2,002
codeparrot/github-code
ee63c3ad740994b7c0943d75b3dc16cb19a5f4330384f5583f8901fafe3959bf
from optparse import make_option from optparse import OptionParser import logging #import os #import sys import contextlib #import hashlib import datetime from django.core.management.base import BaseCommand from django.conf import settings #from django.db.models import Q import dateutil import netCDF4 from lizard_ne...
Python
lizard_neerslagradar/management/commands/create_geotiffs.py
lizardsystem/lizard-neerslagradar
gpl-3.0
2,139
63
codeparrot/github-code
e6e773042d4ba0ef0b083078100981ca752877c5f118f0a619b54c66ae8cefbb
class DrawingDimensioningWorkbench (Workbench): # Icon generated using by converting linearDimension.svg to xpm format using Gimp Icon = ''' /* XPM */ static char * linearDimension_xpm[] = { "32 32 10 1", " c None", ". c #000000", "+ c #0008FF", "@ c #0009FF", "# c #000AFF", "$ c ...
Python
InitGui.py
ulikoehler/FreeCAD_drawing_dimensioning
gpl-3.0
3,832
110
codeparrot/github-code
ebe5c56f5ff2316ded95cbbeb3a60d0d352dc9c9c1b05a931e0a1a2bc71dbc85
using System; using System.Collections.ObjectModel; using System.Windows.Forms; namespace UniversalEditor.ObjectModels.Multimedia.Picture { public abstract class PictureItem { public class PictureItemCollection : Collection<PictureItem> { } private int mvarLeft = 0; private int mvarTop = 0; private int mv...
C#
Plugins/UniversalEditor.Plugins.Multimedia/ObjectModels/Multimedia/Picture/PictureItem.cs
alcexhim/UniversalEditor
gpl-3.0
1,064
76
codeparrot/github-code
c4d2073f6741d1f3172f232d08b7521014808d05730d4e7fd723c9b4632dcbf2
/* * Copyright 2010-2020 OpenXcom Developers. * * This file is part of OpenXcom. * * OpenXcom 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 ...
C++
src/Ufopaedia/ArticleStateCraft.cpp
kevL/0xC_kL
gpl-3.0
3,278
120
codeparrot/github-code
d93c8253aa13946c00a167354c8ca0d689a393fc9cda294b0178bee22e9bf1f4
<?php /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_| \___/ \___...
PHP
src/pocketmine/inventory/transaction/action/CreativeInventoryAction.php
NightMoonTeam/NightMoon
gpl-3.0
2,126
85
codeparrot/github-code
8fe65404ae84a209d0bad82bf7334972d531d69dff343d6165c10e951d4211ce
# Copyright (C) 2012 Alex Nitz, Josh Willis, Andrew Miller # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at your # option) any later version. # # This p...
Python
pycbc/waveform/bank.py
tdent/pycbc
gpl-3.0
39,353
930
codeparrot/github-code
bed3d8f345e3537f8039bca9d8c2d5b206467d2e0b518589280d2b455541491e
""" scraping the utility functions for the actual web scraping """ import ssl import datetime import requests import re # this is the endpoint that my new version of this program will # abuse with possible store ids. this is a much more reliable "darts at the wall" # technique than the previous location-based one QUE...
Python
utils/scraping/__init__.py
cfh294/WawaGeoScraper
gpl-3.0
5,149
142
codeparrot/github-code
9febf430708a3adafd8f5ef220f886342f682e75ba8a6fa6007a390324183aa2
// This program converts cups to fluid ounces. #include <iostream> #include <iomanip> using namespace std; // Function prototypes void showIntro(); double getCups(); double cupsToOunces(double); int main() { // Variables for the cups and ounces. double cups, ounces; // Display an intro screen. showIn...
C++
Activities/Session 08 - Passing Data to Functions/Pass the Keyboard/cupsToOuncesSolution.cpp
MegaMan501/Supplement-Instructions-For-COSC-1436
gpl-3.0
1,760
72
codeparrot/github-code
461cd4eb0ba01471cb580ed441939eba70d3f3bdc38c9ee244d006fc8f0e0648
/* set_volume.c * simple volume control using configurable interface */ #include <unistd.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include "set_volume_alsa.h" #include "set_volume_mpd.h" #include "set_volume.h" static void update_...
C
src/set_volume.c
devtty1/radioberry
gpl-3.0
1,364
67
codeparrot/github-code
0ff7821415e49101209c6a6732f46c3b84f950c1dc9eebc14b9887a4ddfbadc5
/** * This file is part of Rizzly. * * Rizzly 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. * * Rizzly is distributed i...
Java
src/ast/data/type/template/TypeTemplate.java
ursfassler/rizzly
gpl-3.0
976
35
codeparrot/github-code
af86665e45f0735aa79c6203226484c491d47970f3f0f49766d2defadaee4ced
/// <summary> /// SA:MP launcher .NET namespace /// </summary> namespace SAMPLauncherNET { /// <summary> /// Geo location data /// </summary> public class GeoLocationData { /// <summary> /// Is valid /// </summary> private readonly bool isValid; /// <summary...
C#
SAMPLauncherNET/Source/SAMPLauncherNET/Core/GeoLocationData.cs
BigETI/SAMPLauncherNET
gpl-3.0
5,084
231
codeparrot/github-code
c87dd8ec2bf86c906885100d24d28b4edbfb391c88eba80d996f50f0fd78366c
#! /usr/bin/env python # -*- coding: UTF-8 -*- # --------------------------------------------------------------------------- # ___ __ ___ ___ ____ ____ __ # | \ | \ | | / | | | \ Automatic # |__/ |__/ | | | |__ |__ | | Conference # | ...
Python
proceed/src/TagPDF/name.py
brigittebigi/proceed
gpl-3.0
3,002
95
codeparrot/github-code
c29b8b217832d7525dc5c58b33af611d843f8365e13dc58154495655a31cc688
#include "interfac.h" #include "gp2021.h" #include "gpsisr.h" extern long code_ref, carrier_ref; extern int d_freq; int dop_sign = 1; struct debug_struct debug_data; int debug_ready; struct interface_channel ichan[N_channels]; struct measurement_set measurements; int ICP_CTL = DOP_ICP; /* These three flags indicat...
C
doc/osgps/osgps/interfac.c
trougnouf/GPS
gpl-3.0
4,781
221
codeparrot/github-code
c700e996a39e6b6ce9b2b012fb99cf807a742e057fd2e8af8a4fc038affb9aa7
<?php if( ! class_exists( 'WPCF7_Pdf_Forms_Downloads' ) ) { class WPCF7_Pdf_Forms_Downloads { private static $instance = null; private $downloads_path = null; private $downloads_url = null; private $downloads_timeout = 3600; private $subdir = null; private $files = array(); private function __con...
PHP
modules/downloads.php
maximum-software/wpcf7-pdf-forms
gpl-3.0
4,550
202
codeparrot/github-code
add7b660d80f69319d8cd4415bfba74bfc1ea4f0a16586ce8df3e17ba8c0d408
/******************************************************************************* * This file is part of Educatio. * * Educatio is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 ...
Java
app/br/com/core/modelo/instituicao/Instituicao.java
filipemb/siesp
gpl-3.0
4,758
234
codeparrot/github-code
7713ef2c46030d27c071538fcb37c3e2697aab3305896dc641909153548365ff
package cmion.addOns.manipulators; import ion.Meta.EventHandler; import ion.Meta.IEvent; import ion.Meta.Simulation; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import ja...
Java
libs/cmion/cmionAddOns/src/cmion/addOns/manipulators/RemoteActionSimulator.java
nurv/lirec
gpl-3.0
6,753
230
codeparrot/github-code
58dbaa3c1141ac6c1fbc7150bbbe46be265dba0f16cd5012e9a83702192a13ef
<?php defined('BASEPATH') OR exit('No direct script access allowed'); require APPPATH.'/libraries/REST_Controller.php'; class Minecraft extends REST_Controller { public function index_get () { echo "API Minecraft"; } /* Sample returns: * * {"max":30,"online":1,"sample":[{"id":"ecffec50-124f-46e7-a863-5...
PHP
api/application/controllers/Minecraft.php
cmizony/game-server
gpl-3.0
13,207
533
codeparrot/github-code
1dc5a75ff966c9d3f77cf5d68460dcd050337d22eb0c90e1802fa310029fbdfd
package com.cloudera.server.web.cmf; import com.cloudera.cmf.model.ConfigStalenessStatus; import com.cloudera.cmf.model.DbRole; import com.cloudera.cmf.model.DbService; import com.cloudera.cmf.service.ValidationCollection; import com.cloudera.server.web.cmf.include.ConfigForm; import com.cloudera.server.web.cmf...
Java
server-5.11.0.src/com/cloudera/server/web/cmf/RoleInstanceConfigImpl.java
Mapleroid/cm-server
gpl-3.0
5,038
137
codeparrot/github-code
e44ffabe6cae41ee527699cd0e85a0cdf2200f29f4bae54a699a2cf98d54efb5
""" Copyright (C) 2013 Stanislav Bobovych This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the h...
Python
TSW/src/rdbdata.py
sbobovyc/GameTools
gpl-3.0
1,836
49
codeparrot/github-code
dfbe284b664feebdb18dab6c928fe68a67d1d2dd269989445696e8dff3513455
const ajaxurl = window.mc4wp_vars.ajaxurl const m = require('mithril') if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector } function showDetails (evt) { evt.preventDefault() const link = evt.target const next = link...
JavaScript
assets/src/js/admin/list-overview.js
ibericode/mailchimp-for-wordpress
gpl-3.0
3,182
118
codeparrot/github-code
6dacdc67cbb5bd8f1c34de0d18304b77a2eed87a8c262c97aa56f394cffb5dab
package ai.grakn.engine; import ai.grakn.engine.util.SimpleURI; import ai.grakn.test.GraknTestSetup; import java.io.IOException; import java.net.ServerSocket; /** * <p> * This class instantiates an engine server-side component once, statically until the JVM exists. * Any state cleanup needs to be done by tests th...
Java
grakn-engine/src/test/java/ai/grakn/engine/EngineTestHelper.java
pluraliseseverythings/grakn
gpl-3.0
2,621
87
codeparrot/github-code
ddb36493a2de08c13db4ae69a9a905960c39f1dd9274097eaf0878fd3bf16572
/** * Copyright (c) 2009 i>clicker (R) <http://www.iclicker.com/dnn/> * * This file is part of i>clicker Sakai integrate. * * i>clicker Sakai integrate 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, ei...
Java
src/main/java/org/sakaiproject/iclicker/logic/ExternalLogic.java
azeckoski/iclicker-sakai-integrate
gpl-3.0
12,175
263
codeparrot/github-code
50b0c13a477c2e53a7767590c29385a31c2b19bd42138aaa2d6d316a6b6cada0
# -*- coding: utf-8 -*- # # Copyright © 2012 - 2017 Michal Čihař <michal@cihar.com> # # This file is part of Weblate <https://weblate.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, eith...
Python
weblate/permissions/tests.py
lem9/weblate
gpl-3.0
15,821
446
codeparrot/github-code
137949d9c0061f7adf4b1df12437ea13a855718fa7e487739abf227ce5c8a294
/* -*- c-basic-offset: 4 -*- */ /* * Copyright © 2007 Intel Corporation * * 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 ...
C
utils/Mesa/Mesa-7.8.2/src/gallium/drivers/i965/intel_decode.c
CPFDSoftware-Tony/gmv
gpl-3.0
51,438
1,791
codeparrot/github-code
78b54c1cde0dbb489bf585a854e2e004d65862cde4c8e0724ae090c81e98b862
/* * relay-raw.c - functions for Relay raw data messages * * Copyright (C) 2003-2018 Sébastien Helleu <flashcode@flashtux.org> * * This file is part of WeeChat, the extensible chat client. * * WeeChat is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
C
src/plugins/relay/relay-raw.c
maxteufel/weechat
gpl-3.0
12,061
411
codeparrot/github-code
d7877ecdb2ae6f70bbc18e6175e06a51d1187859d7f763b448b597f7357ee36f
#ifndef __VGMVGFILEREADERVGABSTRACT_H__ #define __VGMVGFILEREADERVGABSTRACT_H__ #include <vgKernel/vgkStreamReader.h> #include <vgMod/vgFileDefinitionVG.h> #include <vgMod/vgNode.h> namespace vgMod{ using namespace vgCore; /** @action creation @date 2009/03/04 13:38 @author lss ...
C
SAMPLE_CODE/include/vgMod/vgFileReaderVGAbstract.h
xzy0008/sample_code
gpl-3.0
1,072
52
codeparrot/github-code
e9c0f0dbb1f5c78cb9f493c9e673fc7c64edbe0604f53b038f777223074b2744
#ifndef _Voice #define _Voice #include <jack/jack.h> #include <iostream> #include <math.h> //#include <rubberband/RubberBandStretcher.h> #include <oscpack/osc/OscTypes.h> #include "def.hpp" #include "sound.hpp" using namespace osc; enum VoiceStatus {VOICE_IDLE, VOICE_PLAYING, VOICE_LOOPING}; class Voice { public: ...
C++
voice.hpp
krl/sampler
gpl-3.0
841
47
codeparrot/github-code
c9da84b1d433c2825e80044635256e6b5276a2e708b61ee8d7ab8e5308eaae2c
# -*- coding: utf-8 -*- """ 聚类和EM算法 ~~~~~~~~~~~~~~~~ 聚类 :copyright: (c) 2016 by the huaxz1986. :license: lgpl-3.0, see LICENSE for more details. """ import numpy as np import matplotlib.pyplot as plt from sklearn.datasets.samples_generator import make_blobs # from .agglomerative_clustering impor...
Python
chapters/Cluster_EM/cluster.py
huaxz1986/git_book
gpl-3.0
2,670
71
codeparrot/github-code
4cbad990e22594273399d7c0f7bee8aeb1ee4917ab2602137cb013714613e326
from scapy.all import * from scapy.layers import dhcp6 from time import time def duid(ll_addr): return DUID_LLT(lladdr=ll_addr, timeval=time()) def ias(requested, iface, T1=None, T2=None): return map(lambda r: __build_ia(r, iface, T1, T2), requested) def options(requested): return map(__build_option_by_...
Python
contrib/rfc3736/builder.py
mwrlabs/veripy
gpl-3.0
1,149
38
codeparrot/github-code
ea7a6f9c6e0c27bf7276a707af041eb0bff636b52a5d34ed6b975f8ce61e96a6
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> ERROR - 2017-06-10 04:35:56 --> 404 Page Not Found: ERROR - 2017-06-10 04:38:28 --> 404 Page Not Found: ERROR - 2017-06-10 04:38:33 --> Severity: Warning --> Division by zero C:\xampp\htdocs\rasaini\system\tastyigniter\libraries\TI_Pagination.ph...
PHP
system/tastyigniter/logs/logs.php
ankpristoriko/rasaini
gpl-3.0
21,502
199
codeparrot/github-code
2b6a53c6769061dba25004bf8e4956e61aa1dadd466f6b6b195450b1bdd8bc37
#include "util/CollDetect.h" #include "util/MathUtil.h" #include "cmnd/ScopedMacro.h" #include "core/Constant.h" #include "ctrl/TimeLineUtil.h" #include "ctrl/CmndName.h" #include "ctrl/bone/bone_PaintInflMode.h" #include "ctrl/bone/bone_Renderer.h" #include "ctrl/bone/bone_Notifier.h" using namespace core; namespace...
C++
src/ctrl/bone/bone_PaintInflMode.cpp
hidefuku/AnimeEffects
gpl-3.0
4,975
174
codeparrot/github-code
b238f423c522bb91328dac326fa0db7fcf70e9195db858324a071e47ace18e64
<?php /* ************************************************************************ Copyright: 2015 OETIKER+PARTNER AG License: GPLv3 or later Authors: Tobi Oetiker <tobi@oetiker.ch> Utf8Check: äöü Handle incoming PayPal InstantPaymentNotification Messages ***************************************...
PHP
code/PD_IpnReceiver.php
oetiker/silverstripe-protected-download
gpl-3.0
4,339
106
codeparrot/github-code
c9c17deddaccf7f4abbc3c77a03cd832017bd7f25caa6922eb5fda138b1fdaf8
// Variables that are used on both client and server SWEP.Base = "weapon_mad_dod_base" SWEP.ViewModelFOV = 50 SWEP.ViewModel = "models/weapons/v_k98_rg.mdl" SWEP.WorldModel = "models/weapons/w_k98_rg.mdl" SWEP.Spawnable = false SWEP.AdminSpawnable = false SWEP.Primary.Sound = Sound("W...
Lua
Mad Cows DoD Weapons/lua/weapons/weapon_mad_dod_k98_rg/shared.lua
resistor58/deaths-gmod-server
gpl-3.0
5,738
179
codeparrot/github-code
5489658350c2583167e5083e832622cf92b154291a69bd820066b61dc20211cc
// // MineHeadView.h // YH-IOS // // Created by 钱宝峰 on 2017/6/8. // Copyright © 2017年 com.intfocus. All rights reserved. // #import <UIKit/UIKit.h> #import "Person.h" #import "UserCountView.h" #import "User.h" @protocol MineHeadDelegate <NSObject> -(void)ClickButton:(UIButton *)btn; @end @interface MineHeadVi...
C
YH-IOS/Components/Mine/MineHeadView.h
qiandashuai/YH-IOS
gpl-3.0
988
41
codeparrot/github-code
db8ebe84c329526bea7468c434ca0eb1b114a87ddd009298d07074956c3bfcdb
#!/usr/bin/env python ''' @file freq_scale.py @brief Sandbox for various frequency scale generators @author gm @copyright gm 2014 This file is part of Chartreuse Chartreuse 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 Fo...
Python
scripts/freq_scale.py
G4m4/chartreuse
gpl-3.0
2,022
69
codeparrot/github-code
0e80878027a1fe4771ef0566b155823d3b6f5c01cb849042cd7c98b2b06887b5
/* * BCJ filter for little endian ARM-Thumb instructions * * Authors: Lasse Collin <lasse.collin@tukaani.org> * Igor Pavlov <http://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file. */ package com.friz.cache.utility.tukaani.simple; public fi...
Java
cache/src/main/java/com/friz/cache/utility/tukaani/simple/ARMThumb.java
im-frizzy/MultiServer
gpl-3.0
1,550
54
codeparrot/github-code
8f7bf79dd3b260266be3288c7e2e2e6fec9910caf11c5b754aeccf6179f5173c
import {NgModule, Component, OnDestroy, Input, EventEmitter} from "@angular/core"; import {CommonModule} from "@angular/common"; import {DomHandler} from "../dom/domhandler"; import {MenuItem} from "../common/api"; import {Router} from "@angular/router"; @Component({ selector: 'p-tabMenu', template: ` <div...
TypeScript
src/components/tabmenu/tabmenu.ts
misterw97/agendacollaboratif_web
gpl-3.0
2,624
104
codeparrot/github-code
4936ba0b1acfbaf33c0a8abf52ab70dbf047c748586bfd57b7f9671048c6dbaa
import {Component, OnInit, ViewChild} from '@angular/core'; import {FormBuilder, FormControl, FormGroup} from '@angular/forms'; import {Library} from '../../../../entity/library'; import {LibraryService} from '../../../../service/library.service'; import {logger} from '../../../../environments/environment'; import {Mod...
TypeScript
front/src/app/cataloging/various/external-library-modal/external-library-modal.component.ts
Lenndi/Umtapo
gpl-3.0
2,362
72
codeparrot/github-code
780a8b26b3c5275d8f7815824b2b0f24bf105979da1b1a5e26b5e93d079ac45e
#======================================================================= # Author: Donovan Parks # # Extended error bar plot. # # Copyright 2011 Donovan Parks # # This file is part of STAMP. # # STAMP is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publi...
Python
stamp/plugins/groups/plots/ExtendedErrorBar.py
dparks1134/STAMP
gpl-3.0
19,288
484
codeparrot/github-code
36c6a9e5ef01a0a8df1cb4642f28f0e52160dbe8f1fd21eed21d1344351836f0
(function(window) { var RectInternalRepresentation = function(primitive) { var me = new ArmContext.InternalRepresentation(primitive); this._width = 10; this._height = 10; me.GetWidth = function() { return this._width; }; me.SetWidth = f...
JavaScript
modules/Primitve/Rect/RectInternalRepresentation.js
sogimu/ArmContext
gpl-3.0
1,900
68
codeparrot/github-code
03203aaa172b2de3acdeb913643020c1b3d85212f909765002e57a2029bf4e2a
package com.mrdios.competencymatrix.java.readingnotes.JavaConcurrencyInPractice.chapter11; import javax.annotation.Generated; import java.util.Set; /** * 锁分解 * @author huxiong * @date 2016/06/22 12:59 */ public class RestState { @Generated("this") public final Set<String> users;//食客 @Generated("this")...
Java
competency-java/src/main/java/com/mrdios/competencymatrix/java/readingnotes/JavaConcurrencyInPractice/chapter11/RestState.java
balderdasher/competency-matrix
gpl-3.0
741
34
codeparrot/github-code
186e0fefb7dbe14e10cb13f19079770a07692788e2187bc2b0d1a7c717a347c0
/* This source file is part of Rigs of Rods Copyright 2005-2012 Pierre-Michel Ricordel Copyright 2007-2012 Thomas Fischer Copyright 2013-2014 Petr Ohlidal For more information, see http://www.rigsofrods.org/ Rigs of Rods is free software: you can redistribute it and/or modify it under the terms of the GNU Gene...
C++
source/main/gui/panels/GUI_GameAbout.cpp
Hiradur/rigs-of-rods
gpl-3.0
9,144
209
codeparrot/github-code
f3705b5aedf476c966301a95fde32590eb300b29f9475881424e85db202a7554
 namespace GestionEquestre.Ge.Repositories { using Serenity; using Serenity.Data; using Serenity.Services; using System; using System.Data; using MyRow = Entities.AccBankaccountRow; public class AccBankaccountRepository { private static MyRow.RowFields fld { get { return MyRow....
C#
GestionEquestre/GestionEquestre.Web/Modules/Ge/AccBankaccount/AccBankaccountRepository.cs
nooblenabot/GestionEquestre
gpl-3.0
2,085
62
codeparrot/github-code
09a1702970e1b31e539b87d65adab3d84ac19e69480045fa32297dfaf57dd780
<?php namespace Infobeans\OneStepCheckout\Plugin; use Infobeans\OneStepCheckout\Helper\Data; use Magento\Framework\ObjectManagerInterface; class ConfigPlugin { const ENABLE_OSC = 'infobeans_onestepcheckout/general/enable_in_frontend'; protected $_helper; protected $_objectManager; pub...
PHP
app/code/Infobeans/OneStepCheckout/Plugin/ConfigPlugin.php
rajmahesh/magento2-master
gpl-3.0
1,235
44
codeparrot/github-code
86ab72a2d3f910f5d67157a0fc7e6c773bdd2aeaaf9a93307ed691a69b1c0ee9
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. * * Al...
C
libtitania-x3d/Titania/X3D/Components/Navigation/Viewpoint.h
create3000/titania
gpl-3.0
4,781
192
codeparrot/github-code
f172bf62931384d09e516f39c2b6377280d05be13ac7ac2903562379d999c537
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI 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 *...
Java
src/main/java/gasNEAT/geneticOperators/GasNeatPruneMutationOperator.java
jasoyode/gasneat
gpl-3.0
5,626
150
codeparrot/github-code
2a8a78e38dc96b0be98bb381beecf667caef54d312f7ccd46c2ffbe24d0dcc7f
package club.myfpl.model; /** * User: Saket * Date: 25/11/16 * Time: 12:10 AM */ public enum ElementType { GKP(1L, "Goalkeeper", "GKP", "Goalkeepers", "GKP"), DEF(2L, "Defender", "DEF", "Defenders", "DEF"), MID(3L, "Midfielder", "MID", "Midfielders", "MID"), FWD(4L, "Forward", "FWD", "Forwards", "F...
Java
backend/src/main/java/club/myfpl/model/ElementType.java
saketmehta/myfpl
gpl-3.0
2,059
81
codeparrot/github-code
463cf3ad889c99e297706dad23d47a1d51f9308db90f733be3742163812781ca
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation \\...
C++
src/lagrangian/parcel/submodels/Reacting/CompositionModel/CompositionModel/CompositionModel.H
OpenFOAM/OpenFOAM-dev
gpl-3.0
10,264
309
codeparrot/github-code
e2430d698ccd1f06a0645b9d2d45f66e5d638dd0b97fff428ffb2f704839dafc
/* * This file is part of xBaK. * * xBaK 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. * * xBaK is distributed in the hope th...
C++
src/DialogWindow.cc
canassa/betrayal-at-krondor
gpl-3.0
2,463
108
codeparrot/github-code
4fb153904a7e8627b6efcec79e16451190075c2b4e8d7fd15ee68d9441b1a29c
/* * Copyright (C) 2010-2013 by RoboLab - University of Extremadura * * This file is part of RoboComp * * RoboComp 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 ...
C
libs/innermodel/include/innermodel/innermodelviewer.h
rajathkumarmp/robocomp
gpl-3.0
5,170
195
codeparrot/github-code
f0ec92b67cecda7789362c41bb776cbbfbc20647612a0666aab04a4f311fa8b5
function iniciarFormularioRegistro() { // animacion de fadeIn $('.register').addClass('animated fadeIn'); // elimino la clase para poder animar nuevamente setTimeout(function () { $('.register').removeClass('fadeIn'); }, 3000); $('.sigPaso').on('click', function () { if ($(this).ha...
JavaScript
web-app/js/registro.js
therealthom/kosmos-app
gpl-3.0
14,475
337
codeparrot/github-code
cf0839b2953dc618269bf3469b72e722baeb87692a9d917127ff72a43bae8423
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 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 published by t...
C
src/cli/parser.h
j-shilling/faircall
gpl-3.0
2,707
107
codeparrot/github-code
80ada5e1cf3072daae111433250b197e5ee74d8d9249da52f50744a4341506dc
/* * Copyright (C) 2013 Matus Fedorko <xfedor01@stud.fit.vutbr.cz> * * This file is part of Holoren. * * Holoren 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 * (a...
C++
src/COpticalField.cpp
jcxz/Holoren
gpl-3.0
2,455
84
codeparrot/github-code
840ea6a8b28b34716a7603a0b8994867ad6a4aaa1dabb2f4d2ae28b55026565e
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
PHP
app/protected/modules/contacts/views/related/ContactsRelatedListView.php
nezaboravi/zurmopagoda
gpl-3.0
5,522
106
codeparrot/github-code
64959ad9274e2b4cc55136869be503a784b86189ea88b94cfd833f6000984b10
/* * Copyright (C) 2001-2012 Free Software Foundation, Inc. * * Author: Nikos Mavrogiannopoulos, Simon Josefsson * * This file is part of GnuTLS. * * The GnuTLS 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 Softw...
C
lib/extensions.c
attilamolnar/gnutls
gpl-3.0
18,974
776
codeparrot/github-code
38852c06ba9ac3a20c180665310325d08697be7f1f13dc7d3acb958eb3261bad
/* url utils @sha0coder */ exports.getUrlDir = function(url) { return url.replace(/\/[^\/]*$/,'/') } exports.getBase = function(url) { var spl = url.split('/'); return spl[0]+'//'+spl[2]; }; exports.getDomain = function(url) { return url.split('/')[2]; }; exports.isDir = functio...
JavaScript
external/dirscan-node/lib/url.js
0x0mar/bluebox-ng
gpl-3.0
880
41
codeparrot/github-code
98c03010e17e783b53abd09fe54d3fb5ade103fb46f306275f2d5b7df12416a3
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>EpiduralRouteのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="EpiduralRoute"> * &lt;restriction base="{urn:hl7-org:v3}cs"> * ...
Java
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/EpiduralRoute.java
ricecakesoftware/CommunityMedicalLink
gpl-3.0
832
43
codeparrot/github-code
a9c41944accde5a46c12d2844ae570501d1e4947cc8d8c349b1bd972af129770
/* Real-time Online/Offline Charging System (OCS) for Telecom & ISP environments Copyright (C) ITsysCOM GmbH This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at yo...
GO
migrator/tp_timings.go
cgrates/cgrates
gpl-3.0
2,109
79
codeparrot/github-code
841979361d8ead47e2d9d7f3305b9f7fcccf89820a697e412e10b0ab54b613a2
''' Rigidity is a simple wrapper to the built-in csv module that allows for validation and correction of data being read/written from/to CSV files. This module allows you to easily construct validation and correction rulesets to be applied automatically while preserving the csv interface. This allows you to easily upg...
Python
rigidity/__init__.py
austinhartzheim/rigidity
gpl-3.0
8,662
239
codeparrot/github-code
3e557a21609dcc519a4ee3f56312332ccdb9427c7333c0e39b3f6e93f47989b5
using RootSystem = System; using System.Linq; using System.Collections.Generic; namespace Windows.KinectV2 { // // Windows.Kinect.InfraredFrameReference // public sealed partial class InfraredFrameReference : Helper.INativeWrapper { internal RootSystem.IntPtr _pNative; RootSystem.In...
C#
Assets/Standard Assets/Windows/Kinect/InfraredFrameReference.cs
pay64k/sandbox-v1
gpl-3.0
3,526
90
codeparrot/github-code
b2175473f61a1dfefcfc3257de9ee90e54852dfafeea09d5aeb70df775738352
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // //...
PHP
question/type/multianswer/questiontype.php
ouyangyu/fdmoodle
gpl-3.0
20,918
453
codeparrot/github-code
d3f17096b3d203db9ccab47f85e1d75138a2ae0dd33e4c8365d330e22d614162
/* * Copyright (c) 2016 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. *...
Java
mica-core/src/main/java/org/obiba/mica/core/upgrade/MicaVersionModifier.java
apruden/mica2
gpl-3.0
1,141
42
codeparrot/github-code
41a48854d69c3688d891af2b1a4a26226fdeed5f67240d0a8946966c12feb1e8
#!/usr/bin/env python '''enable run-time addition and removal of master link, just like --master on the cnd line''' ''' TO USE: link add 10.11.12.13:14550 link list link remove 3 # to remove 3rd output ''' from pymavlink import mavutil import time, struct, math, sys, fnmatch, traceback, json, os from...
Python
MAVProxy/modules/mavproxy_link.py
AndKe/MAVProxy
gpl-3.0
44,637
956
codeparrot/github-code
4784ce756389ba6d5c8aa64d7ae7cac1e14e21d18e2fd802f4d6aa1488e7ac52
/***************************************************************************** * Copyright 2013, see AUTHORS file. * * This file is part of Sniffy's Flip Trip. * * Sniffy's Flip Trip is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License as published * by t...
Java
SniffysFlipTrip/src/com/explatcreations/sft/saving/Logger.java
ExplatCreations/sft
gpl-3.0
2,342
59
codeparrot/github-code
2fc2fb2fd2ddf17dc8430f32654c2f6deb468fdf7531fedd561363fe0c773595
/* * $Id: icmp6.c 1.42 06/05/06 15:15:47+03:00 anttit@tcs.hut.fi $ * * This file is part of the MIPL Mobile IPv6 for Linux. * * Authors: Antti Tuominen <anttit@tcs.hut.fi> * Ville Nuorvala <vnuorval@tcs.hut.fi> * * Copyright 2003-2005 Go-Core Project * Copyright 2003-2006 Helsinki University of Techn...
C
openair3/PMIPv6/pmipv6-daemon-umip/src/icmp6.c
mspublic/openair4G-mirror
gpl-3.0
12,124
484
codeparrot/github-code
f297236503f173c8b8d0f91a1db85701aeeda33c4d921d647102d102071e76cc
#!/bin/bash # Run as root. # What is happening here is well explained in Derek Molloy's excellent # video http://www.youtube.com/watch?v=wui_wU1AeQc ## VERBOSE=0 DT_VERSION=00A0 usage() { echo "Usage: $0 <dts-file>" echo "Available:" for f in $(ls `dirname $0`/*.dts) ; do echo " $f" done exit 1 ...
Shell
device-tree/start-devicetree-overlay.sh
hzeller/ldgraphy
gpl-3.0
1,797
79
codeparrot/github-code
3d4e285590e4ab2d02c5ac8783d8c1836623a2dc75a9f22e1e2affeff73bc7f9
#ifndef CLINKEDQUEUE_H_INCLUDED #define CLINKEDQUEUE_H_INCLUDED #include "CLinkedNode.h" #include <iostream> using namespace std; template <typename T> class CLinkedQueue{ public: CLinkedQueue(); ~CLinkedQueue(); void Print(); void MakeEmpty(); bool IsEmpty(); ...
C
Qt_Part/CLinkedQueue.h
PyJulie/Maze3D
gpl-3.0
2,501
103
codeparrot/github-code
79cb6135a30c6a4818fd86843b00f4d8cc68b3e4dc404a4827626ef953ec7538
/* * (C) 2009-2014 see Authors.txt * * This file is part of MPC-HC. * * MPC-HC 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/mpc-hc/PPageFileMediaInfo.h
xucp/mpc_hc
gpl-3.0
1,802
71
codeparrot/github-code
9ee42462372ed9702a99a3c0f75765938a2b0b734d0533119a659bce6f8c93ed
/////////////////////////////////////////////////////////////////////////////// // Copyright © 2002, Open Design Alliance Inc. ("Open Design") // // This software is owned by Open Design, and may only be incorporated into // application programs owned by members of Open Design subject to a signed // Membership Agre...
C
DataExchange/DwgConvert/DwgInclude/Ge/GeExternalBoundedSurface.h
hy1314200/HyDM
gpl-3.0
7,124
256
codeparrot/github-code
ee88d1949608c62439b10dfcdd95630f165a6dc50f3d228b265bd86ecf03f2b8
#include <stdlib.h> #include <stdio.h> #include "tokenize.h" #include "parse.h" #include "mem.h" #include "types.h" #include "lists.h" #include "eval.h" #include "builtins.h" #include "io.h" int main(int argc, char* argv[]) { pscm_init_types(); ps_v* env = initial_env(); //printf("%s\n", pscm_show(env))...
C
src/main.c
NatTuck/pscm
gpl-3.0
838
47
codeparrot/github-code
5a198146ccf392f7e9ce96dc8dfc6b48a3f7adb7f0ec7acfa81e09bd57ab7f66
///////////// Copyright � 2013, Goldeneye: Source. All rights reserved. ///////////// // // File: ge_gameplay.cpp // Description: // Gameplay Manager Definition // // Created By: Jonathan White <killermonkey> ///////////////////////////////////////////////////////////////////////////// #include "cbase.h" #incl...
C++
game/ges/server/mp/ge_gameplay.cpp
Entropy-Soldier/ges-legacy-code
gpl-3.0
39,813
1,365
codeparrot/github-code
c6a8f8bf00807a5194b89d3c5e8ab9af79a053f3d83105c1a64f1ec365bf1aba
package me.gnat008.perworldinventory; import java.io.File; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.List; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; /** * Collects available classes by walking through a source d...
Java
src/test/java/me/gnat008/perworldinventory/ClassCollector.java
Gnat008/PerWorldInventory
gpl-3.0
6,335
170
codeparrot/github-code
eb32748ef46ba88c72ca7db083a4230fdee21eb5e0a51176f47c756d6b37484c
#ifndef _ROS_theora_image_transport_Packet_h #define _ROS_theora_image_transport_Packet_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "ArduinoIncludes.h" #include "std_msgs/Header.h" namespace theora_image_transport { class Packet : public ros::Msg { public: ...
C
platformio/rosbots_firmware/lib/ros_lib/theora_image_transport/Packet.h
ROSbots/rosbots_driver
gpl-3.0
7,530
184
codeparrot/github-code
63d2af49d7d587e5b09a2acfabca9293b2147d9f0095c20ab761971eaf89a357
/* * ClipperTransitData.java * * Copyright (C) 2011 Eric Butler * * Authors: * Eric Butler <eric@codebutler.com> * * Thanks to: * An anonymous contributor for reverse engineering Clipper data and providing * most of the code here. * * This program is free software: you can redistribute it and/or modify * i...
Java
src/main/java/com/codebutler/farebot/transit/clipper/ClipperTransitData.java
gcochard/farebot
gpl-3.0
10,620
302
codeparrot/github-code
1fb10d387f9baead6d366e0bdf9c3bb21d457a6a292d60a8d3fa1b85ca163927
import {NgModule} from '@angular/core'; import {Routes, RouterModule} from '@angular/router'; import {StudentListComponent} from './student-list/student-list.component'; import {StudentDetailComponent} from './student-detail/student-detail.component'; import {StudentComponent} from './student/student.component'; impo...
TypeScript
ui/src/app/student/student-routing.module.ts
lucianojardim/mftf
gpl-3.0
1,156
39
codeparrot/github-code
13df56ebfdc85cca5004a90adcb7463e124795cbbfbf9c4d2fbee23276f0f807
using BVEEditor.Events; using BVEEditor.Result; using BVEEditor.Strategies; using Caliburn.Micro; using ICSharpCode.Core; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace BVEEditor.Workbench...
C#
Src/Main/BVEEditor/Workbench/Attachments/FileMenuViewModel.cs
hazama-yuinyan/BVEEditor
gpl-3.0
3,659
122
codeparrot/github-code
5de65ddc93704a890eb497d20dc0093f4776c09c8008845a6874b748bb3a0b6f
/* File: jagpjcassign.c Project: jaguar-parser Author: Douwe Vos Date: May 4, 2017 e-mail: dmvos2000(at)yahoo.com Copyright (C) 2017 Douwe Vos. 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 t...
C
jaguar-parser/src/tree/jagpjcassign.c
douwevos/natpad
gpl-3.0
3,030
92
codeparrot/github-code
198271550c72d27b4e087477ecbbb2c666e089b2ea6869feafa0adba58c058d8
/***************************************************************************** * Copyright (c) 2014-2019 OpenRCT2 developers * * For a complete list of all authors, please refer to contributors.md * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2 * * OpenRCT2 is licensed under the GNU Gener...
C++
src/openrct2/actions/MazePlaceTrackAction.hpp
IntelOrca/OpenRCT2
gpl-3.0
6,787
203
codeparrot/github-code
b68e08b280654a66fa510c267da795a32585bc26c5305f618a7104685e29e2f7
// OrangeShare, a collaboration and sharing tool. // Copyright (C) 2010 Hylke Bons <hylkebons@gmail.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 ...
C#
OrangeShare/Linux/OrangeSetupWindow.cs
kylefransham/OrangeSync
gpl-3.0
6,062
198
codeparrot/github-code
1cae5c39800dc5d09e651f0f53095b63f490b6e4e36a24eaa6823077a7c5b7c9
package matriz.domain; import java.util.ArrayList; import java.util.List; /** * Created by 20142bsi0186 on 16/02/2017. */ public class Matrix { private List<Cell> matrix; private int numberOfRows = 0; private int numberOfColumns = 0; public Matrix() { matrix = new ArrayList<...
Java
Exercicios/src/matriz/domain/Matrix.java
DaniloSI/Tecnicas-de-Programacao-Avancada
gpl-3.0
4,415
142
codeparrot/github-code
6743a03834a3e5775711842974e09ab3b9cd2ca9cdbb72f80783c020fe4a67f2
/***************************************************************** File : YD-Module\BMP180\bmp180.h Fuction : BMP180 chip with Digital pressure sensor Author : @hiyangdong Version : V1.0 Time : 12 Nov. 2015 Thanks : https://github.com/kriswiner/MPU-9250/blob/master/STM32F401/MPU9250.h ************************...
C
YD-HalModule/MPU9250/mpu9250.c
ArmstrongYang/cdiProject
gpl-3.0
36,274
768
codeparrot/github-code
42490f0fe7887b80969154bce07ea7ce5d360f7aea8d6b94a2e0ccad958606cd
/*------------------------------------------------------------------------------ ** Ident: Sogeti Smart Mobile Solutions ** Author: rene ** Copyright: (c) 2016 Sogeti Nederland B.V. All Rights Reserved. **------------------------------------------------------------------------------ ** Sogeti Nederland B.V....
Java
studio/features/src/test/java/nl/sogeti/android/gpstracker/ng/features/map/rendering/PathRendererTest.java
rcgroot/open-gpstracker-ng
gpl-3.0
3,346
95
codeparrot/github-code
abc2be2fa59835ff1942a1677d39455a605da6d96a2c992eec0eba0ff9a7c7b7
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/d8-console.h" #include "src/d8.h" namespace v8 { namespace { void WriteToFile(FILE* file, Isolate* isolate, const debug...
C++
ext/v8-6.3.166/v8/src/d8-console.cc
vincent-tr/rpi-js-os
gpl-3.0
3,433
108
codeparrot/github-code
c31ec71e2f5c0727e3d1ef0a9a49ed286b0da0a9809620c26c04519c030c737b
using System; namespace CSWebMonitor.Areas.HelpPage { /// <summary> /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. /// </summary> public class InvalidSample { public InvalidSample(string errorMessage) ...
C#
CSWebMonitor/Areas/HelpPage/SampleGeneration/InvalidSample.cs
am8850/azurehealthmonitor
gpl-3.0
974
37
codeparrot/github-code
87d02d5a1d53f0a8e4d3ac4ae57228affe790a61ebd034d5e389e52a1dd07ff9
<?php App::uses('AppController', 'Controller'); /** * GuestsUsers Controller * * @property GuestsUser $GuestsUser * @property PaginatorComponent $Paginator */ class GuestsUsersController extends AppController { /** * Components * * @var array */ public $components = array('Paginator'); /** * index method ...
PHP
Controller/GuestsUsersController.php
aisner33/shop
gpl-3.0
2,648
104
codeparrot/github-code
0fdee01e029d0b875dc53c40ac2c65e0a75936a3d7b299cb036baf0b0792714e
<?php /****************************************************************************** * * Subrion - open source content management system * Copyright (C) 2015 Intelliants, LLC <http://www.intelliants.com> * * This file is part of Subrion. * * Subrion is free software: you can redistribute it and/or modify * it ...
PHP
includes/classes/ia.admin.sitemap.php
wildanSawaludin/subrion
gpl-3.0
5,755
223
codeparrot/github-code
a94fd5c0d7e53a862ad5c3d960535a7a22e4608119b8680819507a2e04038e01
import Ember from 'ember'; var total = 0; export default Ember.Controller.extend({ isShowingHelp: false, isShowingModal: false, actions: { toggleModal: function() { this.toggleProperty('isShowingModal'); }, toggleModal1: function() { this.toggleProp...
JavaScript
app/controllers/reward.js
vikramviswanathan/CrowdFundingUI
gpl-3.0
5,172
143
codeparrot/github-code
927c88a96db0a3f977bf802797afb5c70b0435e3ab41bb3b42f8547973fd9af4
from __future__ import division from __future__ import print_function import tensorflow as tf import numpy as np from keras.datasets import mnist, cifar10, cifar100 from sklearn.preprocessing import LabelBinarizer from nets import LeNet, LeNetVarDropout, VGG, VGGVarDropout sess = tf.Session() def main(): dataset ...
Python
main.py
cjratcliff/variational-dropout
gpl-3.0
1,649
65
codeparrot/github-code
d296a2951c672b944c9b5edd4d6b5052753624f72ee5d2afbefd6a575de73ba8
#![feature(plugin, custom_derive)] #![plugin(rocket_codegen)] #[macro_use] extern crate contacts; #[macro_use] extern crate error_chain; #[macro_use] extern crate lazy_static; #[macro_use] extern crate serde_derive; extern crate postgres; extern crate r2d2; extern crate r2d2_postgres; extern crate rocket; extern crate...
Rust
src/main.rs
uniphil/contact-sheet
gpl-3.0
9,078
361
codeparrot/github-code
839252ab51ab13232ecb04d3fb0c7ac7b05e145869a85bb5723c9582aabf21ac
<?php /** * @copyright 2016 Mautic Contributors. All rights reserved. * @author Mautic * * @link http://mautic.org * * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ namespace Mautic\NotificationBundle\Form\Type; use Mautic\CoreBundle\Factory\MauticFactory; use Symfony\Componen...
PHP
app/bundles/NotificationBundle/Form/Type/NotificationListType.php
mqueme/mautic
gpl-3.0
2,713
97
codeparrot/github-code
9f565fe0cf168d495ad40128f987afc92525b12082b02f1850733c0228bf5c33
using System; namespace Server.Items { [FlipableAttribute(0x1efd, 0x1efe)] public class FancyShirt : BaseShirt { [Constructable] public FancyShirt() : this(0) { } [Constructable] public FancyShirt(int hue) : base(0x1EFD, hue) ...
C#
Scripts/Core/Original UO/Items/Equipment/Clothing/FancyShirt.cs
GenerationOfWorlds/GOW
gpl-3.0
790
40
codeparrot/github-code
219ebfa0f457434f39fac42c5fac5579a64e0e4749c25435c32a1a629779abdb
# This file is part of Osgende # Copyright (C) 2017 Sarah Hoffmann # # This is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or any later version. # # This program is distribu...
Python
osgende/common/sqlalchemy/column_function.py
lonvia/osgende
gpl-3.0
2,328
71
codeparrot/github-code
40fb7f5cb68b731b03e95faab54baf90540594f98a953862049a323d60769477
local PLUGIN = exsto.CreatePlugin() PLUGIN:SetInfo({ Name = "Logs", ID = "logs", Desc = "A plugin that logs all Exsto events.", Owner = "Prefanatic", } ) function PLUGIN:Init() self.Types = { "all", "commands", "player", "errors", "chat", "spawns", "debug" } file.CreateDir( "exsto/logs" ) for _, type in ipa...
Lua
lua/exsto/plugins/server/logging.lua
prefanatic/exsto
gpl-3.0
6,516
202
codeparrot/github-code
079bcced50669d0c8a7eed5b0f8b7be5f8b3c90089a2fba233869fa434f82992
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="author" content="Adam Rich"> <style> .itemBox { border-bottom: 1px solid #F3F3F3; float: left; margin: 3px 3px 0; padding: 3px 4px; } .siteLinkFavicon { display: block; float: left; text-decoration: none; margin: ...
HTML
new_q/inboxNotification.html
adamzr/New-Q-
gpl-3.0
4,162
183
codeparrot/github-code
92ce4db09ee49daec112a2e30dbba3f4eb20342f9aa690a6058bf52490010953
/* Copyright (C) 2012-2013 Sarvaritdinov R. This file is part of REXLoader. REXLoader 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. REX...
C
REXLoader/shutdownmanager.h
RA9OAJ/rexloader
gpl-3.0
1,432
67
codeparrot/github-code
4e802e4a052aebd64d75732621bd338e494820cf220de68cb1cfa5da49361ba7
package com.sci.engine; import java.util.ArrayList; import java.util.List; import com.sci.engine.graphics.Display; import com.sci.engine.graphics.Renderer; import com.sci.engine.interfaces.Updatable; /** * SciEngine * * @author sci4me * @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html...
Java
src/main/java/com/sci/engine/SciGame.java
rockon999/RockEngine
gpl-3.0
3,455
206
codeparrot/github-code