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
ae5dd309b761c6e63c2b1fe8fee9bb57a2f642408990d4cf28ec47e1fc83b711
module Spider; module Components class Crud < Spider::Widget tag 'crud' is_attr_accessor :model, :required => true is_attribute :action, :type => Symbol, :default => :table attribute :table_elements i_attr_accessor :table_widget i_attr_accessor :form_widget ...
Ruby
apps/core/components/widgets/crud/crud.rb
me/spider
mit
6,752
161
codeparrot/github-code
57f20498d8e79db2022a72694e9855cddc5fd27224588c13bc558f30879e03a9
<?php namespace Sylius\Bundle\ResourceBundle\Controller; use FOS\RestBundle\Controller\FOSRestController; use Sylius\Bundle\ResourceBundle\Model\RepositoryInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\Form\FormInterface; use Symfony\Component\HttpFoundation\RedirectRe...
PHP
src/Sylius/Bundle/ResourceBundle/Controller/ResourceController.php
chuandadexiaoyu/UniversitySylius
mit
8,940
324
codeparrot/github-code
ae630e201b95afd812993401a41804af819e5b441be5b051ac1f0583948cec56
'use strict'; var storageKey = 'VN_TRANSLATE'; // ReSharper disable once InconsistentNaming function Translate($translate, $translatePartialLoader, storage, options, disableTranslations) { this.$translate = $translate; this.$translatePartialLoader = $translatePartialLoader; this.storage = storage; this.disableTra...
JavaScript
app/scripts/translation/translate-provider.js
tylertadej/vn-toolbox-common
mit
2,589
91
codeparrot/github-code
9b0bcea1498be15ab893d9cba2a6733578e047908f921812c8f3e6fb34b97683
package org.jabref.logic.integrity; import java.util.Collections; import java.util.List; import java.util.Optional; import org.jabref.logic.integrity.IntegrityCheck.Checker; import org.jabref.logic.l10n.Localization; import org.jabref.model.entry.BibEntry; import org.jabref.model.entry.field.InternalField; import org...
Java
src/main/java/org/jabref/logic/integrity/BibtexKeyChecker.java
zellerdev/jabref
mit
1,336
37
codeparrot/github-code
d2611465fc5feaeb13e899f76b99959392d57bcb4dc264b07bcb8f16c0cfc425
<?php /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | Here you may define all of your model factories. Model factories give | you a convenient way to create models for testing and seeding yo...
PHP
database/factories/ModelFactory.php
ramonsenadev/the-big-hackaton-cpbr10
mit
1,193
38
codeparrot/github-code
9bbddcc27be2c57563be706fa1244986a42c7a03f6b1424dd99d5beb64f23b9d
#include <iostream> #include <cstdio> #include "dataset.h" #include "knn.h" #include <cassert> #include <cmath> #include "testUtils.h" int main() { double rawData[] = {5.0/11, 4.0/11, 2.0 / 11, //top 1: 0 ; expected: 0 - Acertar 5.0/11, 4.0/11, 2.0 / 11, //top 1: 0 ; expected: 0 - Acertar 5.0/11, 4.0/1...
C++
test/testknnresults.cpp
luizgh/knn
mit
749
33
codeparrot/github-code
756259043f55c86339115254b2c718af63f30ed00e310b259dc4afc082e622a8
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>zsearch-trees: 21 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.5.2/zsearch-trees/8.5.0.html
coq-bench/coq-bench.github.io
mit
7,422
165
codeparrot/github-code
1f3cbde49ebd66c54173e7b31dd27ac859bac5905dde8a64343ffbd35a3c670a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>improper-integrals: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.9.1/improper-integrals/0.1.0.html
coq-bench/coq-bench.github.io
mit
7,528
174
codeparrot/github-code
5fe826e7f47c2011ae4fc8aa39592ab016b7683a11126d1e654d004f469a7da7
<?php /** * Simple abstract class for easy database access for classes and other often used functionality. * * @author JokkeeZ * @version 1.0 * * @copyright Copyright © 2016 - 2018 JokkeeZ * @license Licensed under MIT License. */ abstract class Controller { /** * @var array $config Get's $_CONFIG array wit...
PHP
static/classes/Controller.php
JokkeeZ/BoardLite
mit
1,136
56
codeparrot/github-code
f88f1f7629e014ea11c5fc53367e70dd1259fddaac92b7667f85a521a5d24acb
//- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved. //- Limelight and all included source files are distributed under terms of the MIT License. package limelight.styles.values; import limelight.styles.abstrstyling.IntegerValue; public class SimpleIntegerValue implements IntegerValue { private final int ...
Java
src/limelight/styles/values/SimpleIntegerValue.java
slagyr/limelight
mit
683
36
codeparrot/github-code
68a22014907381dbb471a71e5afeaaa6e24d87e4adb4f57295803bc36fa35705
this.recline = this.recline || {}; this.recline.Backend = this.recline.Backend || {}; this.recline.Backend.Memory = this.recline.Backend.Memory || {}; (function(my, recline) { "use strict"; my.__type__ = 'memory'; // private data - use either jQuery or Underscore Deferred depending on what is available var De...
JavaScript
src/backend.memory.js
acouch/recline
mit
8,305
246
codeparrot/github-code
eb4025e062a2180e894813c7e335c69cb29fd9d8e08770f100e0b938aebb272b
var fs = require('fs'); /*var mulu = fs.readFileSync('./mulu.html','utf8'); var sutra = mulu.replace(/<sutra>/g,'#<sutra>').split(/#/); var vol = function(sutra){ for (var i in sutra){ var vol = sutra[i].match(/<vol>(.+)<\/vol>/); var sutraid = sutra[i].match(/<sutraid n="(.+)"\/>/); if (vol == null || sutraid ...
JavaScript
bio_json_xml.js
zhandi100/biography_xlsx_xml
mit
3,632
92
codeparrot/github-code
89f806337d1e336a95316824fe4833ebd0e5ac4d7d0f87586e63cf89e537a5ff
from django.db import connection from laboratory.settings import TIME_ZONE from utils.db import namedtuplefetchall def get_history_dir(d_s, d_e, card_id, who_create_dir, services, is_serv, iss_pk, is_parent, for_slave_hosp): with connection.cursor() as cursor: cursor.execute( """WITH ...
Python
api/directions/sql_func.py
moodpulse/l2
mit
16,646
385
codeparrot/github-code
a8423f21766236fbd8dba8ecc76f1b44e378223f53b48d943f9910a1a29867d5
/** \file * \brief External API - Text * * See Copyright Notice in cd.h */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <assert.h> #include <memory.h> #include <math.h> #include "cd.h" #include "cd_private.h" void cdCanvasText(cdCanvas* canvas, int x, int y, const char *s) { int num_lin...
C
src/cd_text.c
kmx/mirror-cd
mit
20,887
825
codeparrot/github-code
7ab2fbb03021754d72761885de52d8b8071c00e70a716da7d0104f3d7788b49d
<?php /** * appRain CMF * * LICENSE * * This source file is subject to the MIT license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.opensource.org/licenses/mit-license.php * If you did not receive a copy of the license...
PHP
component/adminpanelquicklaunch/controllers/adminpanelquicklaunch.php
apprain/apprain-source
mit
1,890
69
codeparrot/github-code
eaa3bc0d282ce7bdb84f224f12055b55ec44fa4e79a8b72ac025a8887550fba7
from django import forms from .models import PassType, Registration class SignupForm(forms.ModelForm): pass_type = forms.ModelChoiceField( queryset=PassType.objects.filter(active=True), widget=forms.widgets.RadioSelect(), ) class Meta: model = Registration fields = ( ...
Python
src/smokeyfeet/registration/forms.py
smokeyfeet/smokeyfeet-registration
mit
2,149
71
codeparrot/github-code
37ec08a55171b8854092060c66ab4de53f06f2b601d9d63d3f57528d2ab68225
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
HTML
Reports/im/imapx.2.0.0.16/ImapX-net35.html
kuhlenh/port-to-core
mit
70,951
1,607
codeparrot/github-code
84563afff1e7a994bae73777b50b26c6ad8d0ebaf33c42abc062be95d68c2c1f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>plouffe: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.1+1/plouffe/1.1.0.html
coq-bench/coq-bench.github.io
mit
6,467
166
codeparrot/github-code
4af85e86aea5a1ac4dc9ed52a57acf2e7c11ce7da88b2c715a1cf8dce16bf275
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>infotheo: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.12.2/infotheo/0.0.4.html
coq-bench/coq-bench.github.io
mit
7,365
189
codeparrot/github-code
3d8b27416e688d2384631742e67b07e6fa73dc0d2a1bb6598c30bc0e13c3f615
module MongoMapper module Plugins module Clortho extend ActiveSupport::Concern included do class_attribute :searchable_with_options self.searchable_with_options = [] set_callback :create, :before, :inject_default_keywords set_callback :update, :before, :inj...
Ruby
lib/clortho.rb
oddlyzen/clortho
mit
3,432
100
codeparrot/github-code
04723e2ecd6f13fb7a692a0655621d68f599e8b11527fe6f5a64c31c990fe6d3
require('./navbar-list'); class ScrollSpy { /** * @param {NavBarList} navBarList * @param {number} offset */ constructor (navBarList, offset) { this.navBarList = navBarList; this.offset = offset; } scrollEventListener () { let activeLinkTarget = null; let...
JavaScript
assets/js/user-account/scrollspy.js
webignition/web.client.simplytestable.com
mit
1,465
53
codeparrot/github-code
e1969710e908bd5d4b6016aba05e116f9c37ae2ef812b038b65f8c160b12c260
<?php namespace vmitchell85\SparkKioskNotify; use Illuminate\Support\ServiceProvider; class SparkKioskNotifyServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { $this->loadViewsFrom(__DIR__.'/resources...
PHP
src/SparkKioskNotifyServiceProvider.php
vmitchell85/spark-kiosk-notify
mit
825
36
codeparrot/github-code
fb61dc7671773fbaaa95c71e01f094113329ac1a66b88658313ce3675e040e79
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWidgets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licens...
C
Qt5/QtWidgets/5.1.0/QtWidgets/private/qwidgetwindow_qpa_p.h
cpetry/Rechnersehen
mit
3,903
120
codeparrot/github-code
249a759babf4f14fa2c302086e7febf13bba865f777175b1becb6f0ec52bca14
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>checker: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.05.0-2.0.1/released/8.12.0/checker/8.7.0.html
coq-bench/coq-bench.github.io
mit
6,690
163
codeparrot/github-code
77a03a22b0c7a69d97ac3b6d2455b1c0affa2627e0f5a3053f0dc7712b6badbe
using System; namespace UnleashedDDD.Sales.Domain.Model.SalesOrders { public class Line { public SalesOrderId SalesOrder { get; private set; } public LineId Id { get; private set; } public ProductId Product { get; private set; } public Quantity Quantity { get; se...
C#
src/UnleashedDDD/Sales/Domain.Model/SalesOrders/Line.cs
zdeneksejcek/DDDwithOrleans
mit
1,266
49
codeparrot/github-code
89185971c5d629c6609086206af940c14f315bd0ab14173923d2072be5303d9e
'use strict'; // Given a bound list and the time steps, // return the LB and UB at each timestep. // List is in format of {LB:lb,UB:ub} var months = ['JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','NOV','DEC']; function getMonth(dateString) { var m = parseInt(dateString.split('-')[1])-1; return month...
JavaScript
nodejs/matrix/bound.js
ucd-cws/calvin-network-tools
mit
3,324
120
codeparrot/github-code
968ecaba796a4c2e247211e4cf6010003c8718f43b1ab1814aee728b04ef6032
/** * */ define(['jquery', 'dropzone', 'pica', 'bootstrap'], function($, dropzone, pica, bootstrap) { 'use strict'; var Dropzone = window.Dropzone; Dropzone.autoDiscover = false; function dataURItoBlob(dataURI) { // convert base64/URLEncoded data component to raw binary data held in a strin...
JavaScript
frontui/static/scripts/checklist.addfiles.view.js
nixxa/SecretShopper
mit
10,262
281
codeparrot/github-code
7d39f2297d389d427c60a3816f00b19033a467b89d1c63047a503ac53454c52c
import urllib.request as urllib from bs4 import BeautifulSoup as bs import unicodedata import pandas as pd import os baseURL='http://snre.ifas.ufl.edu/academics/graduate/courses-syllabi-and-curriculum/' classListFile='majorClassLists/SNREList.csv' html_titles = ['Principles of Ecology Courses','Particular Perspective...
Python
getSNREClassList.py
sdtaylor/scheduleCrossRef
mit
3,204
86
codeparrot/github-code
b93d16cff75a53f65dca84652167a87f00ac4438962a0903aa4bb17cede9f745
/* global sinon */ import React, { Component } from 'react'; import TestUtils from 'react-dom/test-utils'; import { expect } from 'chai'; import NotificationSystem from 'NotificationSystem'; import { positions, levels } from 'constants'; import merge from 'object-assign'; const defaultNotification = { title: 'This ...
JavaScript
test/notification-system.test.js
igorprado/react-notification-system
mit
19,158
503
codeparrot/github-code
912f070795b0e5d6343b8814571d669971071f887080371d789f00a27407191e
/* * Copyright (C) 2010-2015 FBReader.ORG Limited <contact@fbreader.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 ...
Java
app/src/main/java/org/geometerplus/android/fbreader/preferences/ZLIntegerRangePreference.java
zhqhzhqh/FbreaderJ
mit
1,891
55
codeparrot/github-code
dc2f602752bf74975ae9ba5d73872953da143406d87812a66dd51af874a0adbf
# -*- coding: utf8 -*- """ The ``config`` module ===================== Create a named logger and return it so users can log in different log files : one for each module. """ __author__ = 'Salas' __copyright__ = 'Copyright 2014 LTL' __credits__ = ['Salas'] __license__ = 'MIT' __version__ = '0.2.0' __main...
Python
utils/config.py
salas106/irc-ltl-framework
mit
2,675
79
codeparrot/github-code
6cdd0bb70e3128cf6923594f8102101ea38f59f8eae2cefa52d990f3d1c83519
import { Chart, registerShape } from '@antv/g2'; const data = [ { type: '分类一', value: 27 }, { type: '分类二', value: 25 }, { type: '分类三', value: 18 }, { type: '分类四', value: 15 }, { type: '分类五', value: 10 }, { type: 'Other', value: 5 }, ]; let max = 0; data.forEach(function(obj) { if (obj.value > max) { ...
TypeScript
examples/pie/basic/demo/pie-size.ts
antvis/g2
mit
1,629
84
codeparrot/github-code
0542c7659e71e6487d34d07a68836ac05fe87c1600ce23fad1540004939f5e69
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>historical-examples: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
HTML
clean/Linux-x86_64-4.03.0-2.0.5/released/8.6.1/historical-examples/8.9.0.html
coq-bench/coq-bench.github.io
mit
7,653
184
codeparrot/github-code
1fe890b6d3d95c61dbd68c589980af88c6eb3b1d96e5410fef1cb585c7c3480e
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: 26 m 33 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.9.0/compcert/3.9.html
coq-bench/coq-bench.github.io
mit
26,456
340
codeparrot/github-code
f565c6310515d173c1204fdccf62bd67e4836149650a8784d278e987c7266749
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lambda: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
HTML
clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/8.11.dev/lambda/dev.html
coq-bench/coq-bench.github.io
mit
7,007
169
codeparrot/github-code
c0a44bc9d086400824874c5131f4a9342287bca2f383938e8a271baba61a5270
import {Component, OnInit} from 'angular2/core'; import {HatenaRssFeed, HatenaRssFeedService} from './HatenaRssFeed.service'; @Component({ selector: 'hatena-rss-feed', templateUrl: '/app/template/hatena-rss-feed.html' }) export class HatenaRssFeedComponent implements OnInit { private hatenaRs...
TypeScript
src/frontend/app/HatenaRssFeed.component.ts
tkyjhr/go-newstweeter
mit
2,465
77
codeparrot/github-code
cb0baf12281238995e1dd31cb5621940a1df2a64ce8108a4af169af8c9d81fa4
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt # Database Module # -------------------- from __future__ import unicode_literals import warnings import datetime import frappe import frappe.defaults import frappe.async import re import frappe.model.meta from frappe.u...
Python
frappe/database.py
manassolanki/frappe
mit
30,790
964
codeparrot/github-code
924f3462303b9c82555902c28d0e7b923638fc60dc8a6d3911107afdb8325d9f
<!DOCTYPE html> <html class="pl"> <head> <title>PIE Jobs | Pattern Lab</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="stylesheet" href="../../css/style.css?1452369477" media="all" /> <script src="https...
HTML
public/patterns/00-atoms-02-text-03-inline-elements/00-atoms-02-text-03-inline-elements.html
aizlewood/PIE-patternlab
mit
6,200
205
codeparrot/github-code
aa2e7f874d1ba1ebe01a5832c6560dbeb3f49cf45f87106452b8e96d875bfb95
/*! @file @author Nou (korewananda@gmail.com) @brief Memory searcher and patching functionality to the RV engine. This is the main patching suit for Intercept. It contains all the functionality to search for and patch the RV engine. It also does the main memory analysis to find and catalog the SQF function pointers ...
C++
src/host/loader/loader.hpp
dedmen/intercept
mit
13,781
354
codeparrot/github-code
672d2e39e6595177c8feac4480512e1ce30fdf6cb64537e1af35fb8f8f00af0c
const AssignmentExpression = require('./AssignmentExpression'); const Class = require('./Class'); const DecoratorDescriptor = require('./DecoratorDescriptor'); const ExpressionStatement = require('./ExpressionStatement'); const Function = require('./Function'); const Identifier = require('./Identifier'); const MemberEx...
JavaScript
src/Component/Autoloader/src/Parser/AST/ExportNamedDeclaration.js
massimilianobraglia/jymfony
mit
4,617
135
codeparrot/github-code
806fe18a4af84c18f101db8413f3241b26831dcf47dc1b534487ac1d9c535fff
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="description"> <meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML"> <meta n...
HTML
docs/api/OpenTl.Schema.Messages/RequestSearchGifs/907AB61E.html
OpenTl/OpenTl.Schema
mit
10,421
260
codeparrot/github-code
6153cb216a6e0db4bc237287b12b0a52002b3e258bc0fd2068914251ae89cae2
#!/bin/bash -ev # # Installation Script # Written by: Tommy Lincoln <pajamapants3000@gmail.com> # Github: https://github.com/pajamapants3000 # Legal: See LICENSE in parent directory # DATE=$(date +%Y%m%d) TIME=$(date +%H%M%S) # # If executed with command line options, then instead of running installer #+the arguments s...
Shell
scripts/homerun-1.2.5.sh
pajamapants3000/BLFS_scripts_etc
mit
6,181
210
codeparrot/github-code
cbc1f1eaeaabc5f65112435f75a1b0342099c3378f28555c5125b511caaa9d65
package sound; import javax.sound.midi.*; import java.util.*; public class CopyOfGroove { public static final String[] INSTRUMENTS = { "Acoustic bass drum", "Bass drum 1", "Side stick", "Acoustic snare", "Hand clap", "Electric snare", "Low floor tom", "Closed hi-hat", "High floor tom", "Pedal hi...
Java
src/sound/CopyOfGroove.java
accelazh/SynthesizerGroove
mit
5,804
251
codeparrot/github-code
248048a89a7a95e9d6df69502c331668545b1c9d07438394f5471cdfc044df64
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_22a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-22a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: environment Read input fr...
C
samples/Juliet/testcases/CWE78_OS_Command_Injection/s07/CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_22a.c
maurer/tiamat
mit
5,253
141
codeparrot/github-code
66a757990b402f4d7e89e4deb912d62b8692ffe2ae1f323a4b463255322d7f44
package com.iyzipay.sample.subscription; import com.iyzipay.IyzipayResource; import com.iyzipay.model.Currency; import com.iyzipay.model.Locale; import com.iyzipay.model.Status; import com.iyzipay.model.subscription.SubscriptionPricingPlan; import com.iyzipay.model.subscription.enumtype.SubscriptionPaymentInterval; im...
Java
src/test/java/com/iyzipay/sample/subscription/SubscriptionPricingPlanSample.java
iyzico/iyzipay-java
mit
5,069
89
codeparrot/github-code
bda6b01a01ff4636590c03eb3144ca7ae323e245fa27dfa3d21ae9d6f3e6d744
<h2>Get the data</h2> <p>Download indicator data and definitions</p> <!-- Download data for profile --> <div [hidden]="!showProfile"> <h3 [innerHtml]="'Profile: ' + profileName"> </h3> <button class="btn btn-link" (click)="exportProfileData(nationalCode)" [hidden]="!showNational">{{allLabel}}</button> <button cl...
HTML
IndicatorsUI/MainUI/angular-app/src/app/download/download-data/download-data.component.html
PublicHealthEngland/fingertips-open
mit
4,858
99
codeparrot/github-code
3ebf0bdb902a5052f8bbb458c9e86d5b4628842897fdaafa2abd2c78402bdc6b
<?php // experiment session functions. part of orsee. see orsee.org function sessions__format_alist($session) { global $lang, $color; extract($session); $session_time_array=time__load_session_time($session); $session_time=session__build_name($session); $reg=experiment__count_participate_at($experiment_...
PHP
tagsets/sessions.php
jrhorn424/orsee
mit
11,355
298
codeparrot/github-code
c00dadf490328b2a8546b76c7cf2d393faf478176eb0376cc5bc3ff112f2eaa1
<!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]--...
HTML
index.html
manojpandey/pydelhi-redesign
mit
5,447
118
codeparrot/github-code
e0bd11e0e668e81d735b29e1df55494d5346c863ddc29af9cb35781fd1f826a5
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Drawing.Text; using System.IO; using System.Reflection; using System.Runtime.InteropServices; namespace Cocos2D { public partial class CCLabel { [StructLayou...
C#
cocos2d/label_nodes/CCLabel-Gdi.cs
mono/cocos2d-xna
mit
7,161
211
codeparrot/github-code
7e0259dfa05e9843d01930a7f10fe5a0d837bbfbcae119199e8d3b05b460dcfd
define(['../../moduleDef', 'angular'], function(module, angular) { 'use strict'; module.provider('$dateParser', function() { var proto = Date.prototype; function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } var defaults = this.defaults = { format: 'shortDate', strict: false };...
JavaScript
src/core/directives/datepicker/date-parser.js
olegsmetanin/apinet-client-donotuse
mit
4,998
148
codeparrot/github-code
58ac2cc42d035d5001781a0701c3e24472e2980bffadf7052d3c6441284131b9
/** * @copyright 2013 Sonia Keys * @copyright 2016 commenthol * @license MIT * @module solarxyz */ /** * Solarxyz: Chapter 26, Rectangular Coordinates of the Sun. */ import base from './base.js' import nutation from './nutation.js' import solar from './solar.js' /** * Position returns rectangular coordinates r...
JavaScript
src/solarxyz.js
commenthol/astronomia
mit
4,561
154
codeparrot/github-code
48b48877c1368677c709aa10a447f12d401060d5d5d898117469af123949a42d
/** * New node file */ var log4js = require('log4js'); var UserSession = require('./UserSession'); /* Room corresponds to each conference room*/ function UsersRegistry() { "use strict"; /* If this constructor is called without the "new" operator, "this" points * to the global object. Log a warning and call it...
JavaScript
model/UsersRegistry.js
ajaytripathi/groupvideocall
mit
1,820
74
codeparrot/github-code
16dd71ef8f676dc769fd63a452dac8ed324b481917c45faf90fb551b8d16d597
/// <reference path="../node.d.ts" /> import loading = require('./loading'); import https = require('https'); import petitionUtil = require('../private/petition-util'); var getJsonOverHttps = petitionUtil.getJsonOverHttps; export module UkPetitions { /** * Loads a page of petition summaries. It is statele...
TypeScript
src/ts/public/petition-page-loader.ts
mattunderscorechampion/uk-petitions
mit
2,142
68
codeparrot/github-code
925f10c27d6d35c9d6275751257f0536168a60b74c32864a1b8a6b39a0533ac7
<?php namespace ARIPD\UserBundle\Controller; use FOS\UserBundle\FOSUserEvents; use Symfony\Component\HttpFoundation\Request; use FOS\UserBundle\Event\GetResponseUserEvent; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\Securi...
PHP
src/ARIPD/UserBundle/Controller/ProfileController.php
gobb/albatros
mit
3,258
104
codeparrot/github-code
c4e49d61651227f3df1d381613894a3df29830dc4acbf69677d1dff591bf3207
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>continuations: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.11.1-2.0.7/released/8.12.1/continuations/8.6.0.html
coq-bench/coq-bench.github.io
mit
7,073
166
codeparrot/github-code
03861444e3f1baed31e49ab21c967c0e171383e61e6f4841362dd4582195cad3
// import should from 'should'; import { createStore } from 'redux'; import reredeux, { deux, LABELS } from '../src'; const { INIT, SELECT, ACTION, REDUCER, VALUE } = LABELS; import todo from './todo'; import counter from './counter'; import phonebook from './phonebook'; const app = reredeux('example', [ counter, ...
JavaScript
example/test.js
MrRacoon/reredeux
mit
5,467
181
codeparrot/github-code
e7b1d7ef2a119359e1c1188e89bbc469267cf99dfd791062b201ee632fe82d5e
// // Copyright (c) 2008-2020 the Urho3D project. // // 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, copy, modify, m...
C++
Source/Tools/BindingGenerator/ASGlobalFunctionBinder.cpp
SuperWangKai/Urho3D
mit
8,524
253
codeparrot/github-code
78b034665539a6f30c15bdc23a4aa53258f77e053217f596f9f048be417a596a
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="ut...
HTML
output/tag/project.html
naparuba/shinkenlab.io
mit
11,623
310
codeparrot/github-code
b88fe6556f9ae14121eaaf3f5b3a1ca250e59ed2b76c08f6c35d6abcf1fc73dc
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>elpi: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
HTML
clean/Linux-x86_64-4.08.1-2.0.5/released/8.8.1/elpi/1.10.1.html
coq-bench/coq-bench.github.io
mit
7,551
176
codeparrot/github-code
6cbbb9cca792e5ee60c7fd853e2fd6a12522652276af0581d8c796808142c6f7
module Filters def regex(input, r) my_match = /#{r}/.match(input) if my_match if my_match.captures.size>0 return my_match.captures.first end end "" end def add_http(input) if input.start_with?('http://') input else "http://#{input}" end end end mod...
Ruby
lib/locomotive_plugin_joiner.rb
Joinfield/locomotive_plugin_joiner
mit
611
39
codeparrot/github-code
0c5852e6c9887c218704fbc28ab2d0a95cf481471e03cf4fc37ccf368b8f42c9
#include "OpenGLWrapper.h" void (*displayFunction)(unsigned int*); void (*displayTextFunction)(); GLuint textureID; GLuint textureBufferID; GLuint objectsBufferID; struct cudaGraphicsResource* cudaTextureBuffer; struct cudaGraphicsResource* cudaObjectsBuffer; int g_window_width; int g_window_height; ProcessorType...
C++
NginR/graphic-library-wrappers/opengl-wrapper/OpenGLWrapper.cpp
baranusta/NginR
mit
6,399
254
codeparrot/github-code
c195d88ae99efc4d3b48f04734ed6f7b6a7fa04b9a6e5c8503f7a8f3480cce61
/* The MIT License (MIT) Copyright (c) 2015 Markus Mikonsaari 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, copy, mo...
Java
core/src/com/mknsri/drunktoss/Loader/Art.java
Mknsri/Drunk-Toss
mit
6,667
190
codeparrot/github-code
4c178e964c5c4accff54b0bb2cf4b0960aec1a82595509f64315d42edf897772
<?php namespace AppBundle\Instagram; use Guzzle\Http\Message\RequestInterface; use Guzzle\Service\Client; use Symfony\Component\DependencyInjection\Container; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerInterface; class MediaRetriever implement...
PHP
src/AppBundle/Instagram/MediaRetriever.php
dvapelnik/instawhite
mit
9,391
372
codeparrot/github-code
5ae6109ba0685169c1be315480ea7ef303aff7c313afd786d82bb639247b05b7
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ceres: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.7.2/ceres/0.4.0.html
coq-bench/coq-bench.github.io
mit
6,594
165
codeparrot/github-code
39259f1ce437fb18d1ba5e37393aefff522ca71dc94cd4e9194513e66ef97c2e
import { expect } from 'chai'; import productReducer from './productReducer'; import * as actions from '../actions/productActions'; import * as types from '../constants/actionTypes'; import initialState from './initialState'; describe('Product Reducer', () => { it ('should set isFetching to true on all request acti...
JavaScript
src/reducers/productReducer.spec.js
nibblesnbits/slingshot-sagas
mit
4,145
146
codeparrot/github-code
12a906fb35a2d826ff562d6152dad3362b1a95f5f5dda2991c7296f704e3dee0
package tracing import ( "context" "net/http" "github.com/containous/alice" "github.com/containous/traefik/middlewares" "github.com/containous/traefik/tracing" "github.com/opentracing/opentracing-go" "github.com/opentracing/opentracing-go/ext" ) const ( entryPointTypeName = "TracingEntryPoint" ) // NewEntry...
GO
middlewares/tracing/entrypoint.go
aantono/traefik
mit
1,716
58
codeparrot/github-code
7d6bd3c9bafccee95ea86f056be657d62a08111ad1ddcb9f6646f42dc5fb3bb6
from functools import reduce import numpy as np # Qubit representation on a Ket or Bra state. Allows to create only # basis qubits |0> or |1>. By performing operations defined operations # it's possible to get other qubits or qubit registers. class Qubit: KET = True BRA = False # Creates a new qubit |...
Python
pyquantum/qubit.py
miguelfrde/pyquantum
mit
3,624
99
codeparrot/github-code
e78f2b86fc6ef887e8ae4e77544d5e312a818d0c39e9ef780eb901529a30189d
/** * Client connection event adapter. * * Copyright (c) 2015 Alex Jin (toalexjin@hotmail.com) */ #include "c11httpd/conn_event_adapter.h" namespace c11httpd { uint32_t conn_event_adapter_t::on_connected( ctx_setter_t& ctx_setter, const config_t& cfg, conn_session_t& session, buf_t& send_buf) { if (this->m_...
C++
c11httpd/conn_event_adapter.cpp
toalexjin/c11httpd
mit
1,605
72
codeparrot/github-code
35628ec9c028dda5c1602d3a4c8e3a5cd54840cb062d11474b024545e7a77b4c
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>reduction-effects: 16 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.11.2/reduction-effects/0.1.3.html
coq-bench/coq-bench.github.io
mit
7,366
168
codeparrot/github-code
f7577c2635e34b5f854f3ea6918019542221ab7581a6fc64816e5c06dfa21dd3
// Copyright (c) 2017 dacci.org #include "service/rpc/rpc_service.h" #include <base/logging.h> #include <base/json/json_reader.h> #include <base/json/json_writer.h> #include <memory> #include <string> #include "service/rpc/rpc_common.h" namespace juno { namespace service { namespace rpc { RpcService::RpcService()...
C++
juno/service/rpc/rpc_service.cpp
dacci/juno
mit
8,629
314
codeparrot/github-code
4fdca658fd0bfcc23f254ea9c3ab803579f524176451825d81df49ff04a6432a
#!/usr/bin/env node /* Passphrases | https://github.com/micahflee/passphrases Copyright (C) 2015 Micah Lee <micah@micahflee.com> 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 withou...
JavaScript
build.js
micahflee/passphrases
mit
9,210
255
codeparrot/github-code
b793491e277355fc3658a3acb8256462ed3931525aa51838cd71bd6f3f7d6ae2
""" Configuration parameters: path.internal.ansi2html """ import sys import os import re from subprocess import Popen, PIPE MYDIR = os.path.abspath(os.path.join(__file__, '..', '..')) sys.path.append("%s/lib/" % MYDIR) # pylint: disable=wrong-import-position from config import CONFIG from globals import error ...
Python
lib/frontend/html.py
chubin/cheat.sh
mit
4,663
128
codeparrot/github-code
bd762e2188a6c4e94b02a6b6255aeb6d83ee2e687c6fb0134c7821612053833d
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
C
EXPR10/isim/TESTRIJCPU_isim_beh.exe.sim/work/m_00000000004134447467_2073120511.c
iAklis/teoca
mit
7,964
338
codeparrot/github-code
0d6e3f31ae028a8361739c3bcbb82879266c810d31898c4ad08216a017e851a6
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ var async = require("async"); var path = require("path"); var Tapable = require("tapable"); var ContextModule = require("./ContextModule"); var ContextElementDependency = require("./dependencies/ContextElementDependency...
JavaScript
lib/ContextModuleFactory.js
sahat/webpack
mit
3,781
124
codeparrot/github-code
7e6bc0bb13c953b04751a38f57d116d2552831ab4e7b1cc9ebcd2df99cc424c1
/******************************************************************************************** Copyright (c) Microsoft Corporation All rights reserved. Microsoft Public License: This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the licens...
C#
NimrodVS/mpfproj12/Dev12/Src/CSharp/ProjectFactory.cs
barcharcraz/VisualNimrod
mit
12,491
278
codeparrot/github-code
5bc055e34d7d4dccc69a241c3813d538b622bc8d4f2234f502d6fd21195ac7bc
#include "PagePool.h" PagePool* PagePool::ins = nullptr; Page* PagePool::create(int itemSize) { auto p = Page::create(itemSize); mp.insert(make_pair(p->getId(), p)); return p; } Page* PagePool::createFromFile(const string &path, int pid) { auto buffer = new char[50]; sprintf(buffer, "%s/%d.page", path.c_str(), ...
C++
src/PagePool.cpp
MegrezZhu/Database-BallTree
mit
757
37
codeparrot/github-code
fe8922cb04121999d9d6140fff540e6d46cb6f537321d5d72308056c1900505f
#!/usr/bin/env python import sys import configparser import os import shutil from PyQt5 import QtWidgets from PyQt5 import QtWebKitWidgets from PyQt5 import QtCore # Read config file home_dir = os.path.expanduser("~") conf_path = os.path.join(home_dir, ".config/mrps/mrps.conf") config = configparser.ConfigParser(de...
Python
mrps.py
cnodell/mrps
mit
1,477
58
codeparrot/github-code
05e1d6930606b36e5c4cdf5089720b910544cf72ad8babbb3545edc38e4b624f
package io.surfkit.elasticsearch import java.util.UUID import akka.http.scaladsl.model.HttpRequest import scala.concurrent.ExecutionContext.Implicits.global import akka.stream.ActorMaterializer import akka.actor.{ActorRef, ActorSystem} import akka.stream.scaladsl._ import play.api.libs.json.Json import scala.concurr...
Scala
src/main/scala/io/surfkit/elasticsearch/Main.scala
coreyauger/reactive-elastic-search
mit
10,530
315
codeparrot/github-code
d99633ee772363c7db695de4cce9d4bf8cc12967280abc0c25faf6bae84993a9
import { ReactElement } from "react"; import { Grid } from "@react-md/utils"; import scssVariables from "@react-md/theme/dist/scssVariables"; import { useTheme } from "components/Theme"; import ThemeConfiguration from "./ThemeConfiguration"; import Preview from "./Preview"; import ThemeUsage from "./ThemeUsage"; imp...
TypeScript
packages/documentation/src/components/ColorsAndTheming/ThemeBuilder/ThemeBuilder.tsx
mlaursen/react-md
mit
1,188
40
codeparrot/github-code
d87ac239f685777f0350f45834852a2d793df9dbd375bba9781a4ab5d87be44c
package com.graessle.movie_db.ui.activity; import android.app.ProgressDialog; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.percent.PercentRelativeLayout; import android.support.v4.app.Fragment; import ...
Java
app/src/main/java/com/graessle/movie_db/ui/activity/MovieListingActivity.java
RyanGraessle/movie-db
mit
8,881
259
codeparrot/github-code
f271c58f021ef85b0c0b383ded5846d2e156743b6ac0056720cebab69b13290f
package com.example.bootweb.security.web; import java.io.IOException; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpSt...
Java
bootweb/trunk/bootweb-security/src/main/java/com/example/bootweb/security/web/AboutController.java
hunny/xplus
mit
2,381
59
codeparrot/github-code
2593e9b64f3244feb67d83515d2acdd0dbbe02de65579ba48a8dc14114ccec2d
<?php namespace AppBundle\Entity\Master; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\ArrayCollection; use Symfony\Component\Validator\Constraints as Assert; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; /** * @ORM\Table(name="master_...
PHP
src/AppBundle/Entity/Master/Account.php
btech-git/bypassindo
mit
2,961
98
codeparrot/github-code
88624b25fabbc27313b2666d8580b985578a8aa3943f776e127fa72784e581d0
<?php namespace EasyRepository\t{{$mt=uniqid(true)}}; use PDO; use ReflectionClass; use EasySQL\Cursor; @foreach ($files as $query) class {{$query->getName()}}Repository { protected $dbh; public function __construct(PDO $pdo) { $this->dbh = $pdo; } @foreach ($query->getMethods() as $nam...
PHP
src/EasySQL/Compiler/Template/Repository.tpl.php
crodas/EasySQL
mit
3,576
105
codeparrot/github-code
b1465a1a5a5eaa22b0f6afc34afaa2a6f4fc562e6a9e8585945d8e56f2209fdb
import * as React from 'react'; import { renderLog } from '../../helpers/logger'; import { Dialog, Bg, Content } from './StyledDialog'; interface IConfirm { yes: () => {}; no: () => {}; msg: string; } const Confirm: any = ({msg, yes, no}: IConfirm) => { renderLog('DIALOG'); return ( <Dialog className=...
TypeScript
src/renderer/components/helpers/Confirm.tsx
kfiku/piGit
mit
686
33
codeparrot/github-code
9c494a9d3c408fe84428996bd65ccf1dd98d2c3e95c5c526d7248a03ff57e062
"use strict" const should = require('should') const rewire = require('rewire') const IC = rewire('../commands/new.js') describe('New command',() => { let mockFS = { outputFile : (filename,content) => { console.log(`mock writing to ${filename}`); return { then : () => { return { catch : () ...
JavaScript
src/test/newTests.js
slior/adrflow
mit
3,468
125
codeparrot/github-code
282c0937577d8199d95f064e9b01d2def5d29673402030175ee58f183da3a2e6
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
HTML
Reports/ye/yeanzhi.system.2.6.0.2/Yeanzhi.System-net45.html
kuhlenh/port-to-core
mit
33,838
765
codeparrot/github-code
01b1c4bdaefb4303bcae87def52c39cb45e0c0a41192da70ee7cc8e783862c53
--- layout: default title: "耿晓军de博客" cover: 'assets/images/cover1.jpg' class: 'home-template' navigation: true logo: 'assets/images/ghost.png' current: home --- <!-- < default --> <!-- The tag above means - insert everything in this file into the [body] of the default.hbs template --> <!-- The big featured header -->...
HTML
index.html
gengxiaojun1/dajunDemo
mit
1,365
38
codeparrot/github-code
cf24ae001884a0fd935bfec3ca925a4bd0725a9c6a3e398fe378028d73a08510
# # The Python Imaging Library # $Id$ # # simple postscript graphics interface # # History: # 1996-04-20 fl Created # 1999-01-10 fl Added gsave/grestore to image method # 2005-05-04 fl Fixed floating point issue in image (from Eric Etheridge) # # Copyright (c) 1997-2005 by Secret Labs AB. All rights reserved. # ...
Python
venv/Lib/site-packages/PIL/PSDraw.py
sserrot/champion_relationships
mit
6,735
238
codeparrot/github-code
e026cf171dc194f345d4c850b40a106c9692c1df9b94a496ddebdf78d4a3ab7d
<?php namespace Site\Controller; use Api\Library\Shared\SilexSessionHelper; use Api\Library\Shared\Website; use Silex\Application; use Symfony\Component\HttpFoundation\Request; class App extends Base { public function view( /** @noinspection PhpUnusedParameterInspection */ Request $request, Appli...
PHP
src/Site/Controller/App.php
sil-student-projects/web-languageforge
mit
10,736
321
codeparrot/github-code
6b8311fa0fa16394b21e029eb19d02c7185711cd8b7a2c57c760439c07724f75
// okay, this is where we put our transaction logic // the actual logic behind it is fairly simple // okay this how I think transactions work. So to input a transation you sign it with your private key // which generates the string and can be verified from that. and it's given a number or amount // and then the messa...
TypeScript
BlockchainJSTutorial/transaction.ts
Bmillidgework/Misc-Maths
mit
8,652
276
codeparrot/github-code
150f2fbbf9918f29f08a915813963b071ed537c78b244ec989dd8fc0f134f55f
<?php /* BundleProjectBundle:Comment:form.html.twig */ class __TwigTemplate_6774676db612523dd2bd82295b8275eb extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } prot...
PHP
app/cache/dev/twig/67/74/676db612523dd2bd82295b8275eb.php
GoogleMap/placesProject
mit
2,504
51
codeparrot/github-code
411422f0b9e0c7dfcd684e04380e40f475b57d896deb04462a41499ffb96b3ba
"""Core XML support for Python. This package contains four sub-packages: dom -- The W3C Document Object Model. This supports DOM Level 1 + Namespaces. parsers -- Python wrappers for XML parsers (currently only supports Expat). sax -- The Simple API for XML, developed by XML-Dev, led by David Megginso...
Python
xml/__init__.py
ekristen/mythboxee
mit
1,360
52
codeparrot/github-code
80d352a793b292e3317a8e20a092e9d850b7d55588b238a0a048081d7c632244
import tl = require('azure-pipelines-task-lib/task'); import msRestAzure = require('./azure-arm-common'); import azureServiceClientBase = require('./AzureServiceClientBase'); import depolymentsBase = require('./DeploymentsBase'); export class SubscriptionManagementClient extends azureServiceClientBase.AzureServiceClie...
TypeScript
Tasks/Common/azure-arm-rest-v2/azure-arm-subscription.ts
dylan-smith/vso-agent-tasks
mit
2,592
67
codeparrot/github-code
3c9a68d183f0a1f0b625a020c13395a36cd290e9cd8f15b05b6cb46e9b3bc6e5
<!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/html; charset=utf-8" /> <title>DeleteMessageSucceededEvent &mdash; LBD Mobile clie...
HTML
mobile/html/fi/lbd/mobile/messaging/events/DeleteMessageSucceededEvent.html
tttro/projektityokurssi
mit
7,572
156
codeparrot/github-code
2bd94802002c81c9b8f14963e7263c38589cf2546aaa36a812a4dd7d56af6a2c
/*********************** * WholeCellViz visualizations should extend the Visualization class using this template: * * var NewVisualization = Visualization2D.extend({ * getData: function(md){ * this.data = this.getSeriesData('getSeriesData.php', {sim_id:md.sim_id, class_name: md.class_name, attr_name: 'attr_name'}); ...
JavaScript
js/WholeCellViz-visualizations.js
CovertLab/WholeCellViz
mit
88,122
2,790
codeparrot/github-code
3aa6c55b3aca5b27876d9250bd921d2af4ce9a4f0f26b779fe31787eb440468e
package App::KADR::AniDB::Content::File; # ABSTRACT: AniDB's file information use App::KADR::AniDB::Content; use aliased 'App::KADR::AniDB::EpisodeNumber'; use constant { STATUS_CRCOK => 0x01, STATUS_CRCERR => 0x02, STATUS_ISV2 => 0x04, STATUS_ISV3 => 0x08, STATUS_ISV4 => 0x10, STATUS_ISV5 => 0x20, S...
Perl
lib/App/KADR/AniDB/Content/File.pm
privatesmith/KADR
mit
4,560
189
codeparrot/github-code
cb60dc7cf3529a536a1f83ac519db96496c52f81abbe0430e55a30b96c74a6b6
class ContentScaffoldGenerator < Rails::Generator::NamedBase default_options :skip_timestamps => true, :skip_migration => true attr_reader :controller_name, :controller_class_path, :controller_file_path, :controller_class_nesting, :controller_class_...
Ruby
generators/content_scaffold/content_scaffold_generator.rb
netconstructor/content_manager
mit
2,959
82
codeparrot/github-code
f1307d5ede9557f05b96a00f8393ee94b951c241e4150c7a7b3bdab5402696a4
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int64_t_fscanf_square_64b.c Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-64b.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: fscanf Read data from the console using fscanf() ...
C
samples/Juliet/testcases/CWE190_Integer_Overflow/s02/CWE190_Integer_Overflow__int64_t_fscanf_square_64b.c
maurer/tiamat
mit
2,396
75
codeparrot/github-code
cc17368794470d5cf309e82855e5c499a1fe76be869baa77efbff5764b2d70e9
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, playground, api, testkit, } from 'wix-storybook-utils/Sections'; import { storySettings } from '../test/storySettings'; import Star from 'wix-ui-icons-common/Star'; import * as examples fr...
JavaScript
packages/wix-style-react/src/CounterBadge/docs/index.story.js
wix/wix-style-react
mit
2,553
108
codeparrot/github-code
0786d65e28e1c12906191bfff6953471d22e4bb039e9f6e86471c8ed7fcb4444
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
JavaScript
client/src/app/topic/topic-trending/topic-trending.component.js
frostblooded/kanq
mit
2,642
54
codeparrot/github-code