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
68d9476f3f6c7f32aacbe42a9dfa9b3ce74beccd5e12fb21993f1a1cdf9d6acd
<!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/st/stateflow.fields.1.0.52/Stateflow.Fields-net40.html
kuhlenh/port-to-core
mit
15,226
359
codeparrot/github-code
b2f88b4d8dc1ad9b066532f3df1ee2f01824fe03089c0b9fcd8258d8e04994ac
/** * @author umin * @since 2016-08-21 * @copyright Copyright (c) 2016, YZKJ * @version 1.0 * @component iscroll * @description */ 'use strict'; define(function(require, exports, module) { require('./scroller'); var subEvent = function() { var evts = new Map(), me = this; evts.put("widge...
JavaScript
app/templates/src/cp-public/js/widget/iscroll/scroll.js
umin221/coracle.cut
mit
2,902
129
codeparrot/github-code
2898a74b2d6cc073637a5f9e4f06970b22864c71686833b84eb65835d6127e2c
# coding: utf-8 """ This file contains methods for translation norsource rules into rules we can convert easily to a Typeraft compatible format. """ import re from norsourceparser.core.config import config from norsourceparser.core.constants import REDUCED_RULE_POS, REDUCED_RULE_GLOSSES, REDUCED_RULE_MORPHOLOGICAL_BRE...
Python
norsourceparser/core/rules.py
Typecraft/norsourceparser
mit
11,982
323
codeparrot/github-code
d22dbcfcf913468966169f7aa3061db3f3eba8654a06afd31cfd2eff5880e6e1
<?php declare(strict_types = 1); namespace App\DataTransferObjects\Admin\Users\Edit; use App\DataTransferObjects\Admin\Users\Edit\User as UserDTO; use App\Entity\Permission; use App\Entity\Role; use App\Services\Response\JsonRespondent; class RenderResult implements JsonRespondent { /** * @var UserDTO ...
PHP
app/DataTransferObjects/Admin/Users/Edit/RenderResult.php
D3lph1/L-shop
mit
2,405
125
codeparrot/github-code
2873d3378d194ee3c3c5e707c2439363db67cb29e4be6eaddf6451eaccc0075d
package br.com.cwi.exerciciosdia04; import java.io.Serializable; import javax.persistence.Basic; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.SEQUENCE; import javax.persistence.Id; import javax.persistence.Sequ...
Java
src/modulo-08-java/Dia04/ExerciciosDia04/src/main/java/br/com/cwi/exerciciosdia04/Cidade.java
michelfernandes/crescer-2016-1
mit
1,249
56
codeparrot/github-code
d0f8f7c0cfc5d639d74a81c62457086cbf4d2366aecd7f823449de26024351aa
import {getFaucet} from "../branding"; export const blockTradesAPIs = { BASE: "https://api.blocktrades.us/v2", COINS_LIST: "/coins", ACTIVE_WALLETS: "/active-wallets", TRADING_PAIRS: "/trading-pairs", DEPOSIT_LIMIT: "/deposit-limits", ESTIMATE_OUTPUT: "/estimate-output-amount", ESTIMATE_INP...
JavaScript
app/api/apiConfig.js
BitSharesEurope/wallet.bitshares.eu
mit
4,871
160
codeparrot/github-code
97c0267443bf6ac1e20cad9e5e2effb4fd3416fad0eb78c888f931e60b4f8fe2
// Copyright(c) 2016 Guus Waals (guus_waals@live.nl) // Licensed under the MIT License(MIT) // See "LICENSE.txt" for more information using System; using System.Collections.Generic; using FX2.Game.Audio; namespace FX2.Game.Beatmap.Effects { public enum BiQuadFilterType { HighPass, LowPass, ...
C#
FX2.Game/Beatmap/Effects/BiQuadFilterSettings.cs
guusw/fx2
mit
3,715
92
codeparrot/github-code
5f43fbd7843cdc18874e6cab01645722fdab9087150fac4bec3b5d9298b29d4a
// 获取API地址 idiomApp.factory("apiAddress", [function() { var host = "http://127.0.0.1/backend/mygala/idiom/api"; return { get: function() { return host; } } }]); // 校验算法 /* 请求接口 开始 */ // 请求成语数据 idiomApp.factory("apis", [function() { var hexcase = 0; /* hex output format. ...
JavaScript
app/js/filters/apis.js
mygala/idiom
mit
4,279
147
codeparrot/github-code
c8d17a1a417c602e7d09bd270b43a9b8695614a00a3c1e0349179bfe712e0bde
class PasswordResetsController < ApplicationController before_action :get_user, only: [:edit, :update] before_action :valid_user, only: [:edit, :update] before_action :check_expiration, only: [:edit, :update] def new end def create @user = User.find_by(email: params[:password_reset][:email].downcase...
Ruby
sample_app/app/controllers/password_resets_controller.rb
HaoxinLuo/ruby_tutorial
mit
1,415
63
codeparrot/github-code
f08b0438f6a3b677fcd28b7fd02ff8c23a14b06d36dcd4674d44124f32e9a8be
package com.bullhornsdk.data.api.helper; import com.fasterxml.jackson.annotation.JsonProperty; /** * @author Yaniv Or-Shahar * */ public class AccessTokenInfo { @JsonProperty(value = "access_token") private String accessToken; @JsonProperty(value = "token_type") private String tokenType; @...
Java
src/main/java/com/bullhornsdk/data/api/helper/AccessTokenInfo.java
bullhorn/sdk-rest
mit
1,444
67
codeparrot/github-code
7315969f6389b5d3e78ac90f16046e92ee2d047d347a8b6c479bd733f9932e40
namespace VinylC.Web.MVC.Areas.Administration.Controllers { using System.Linq; using System.Web.Mvc; using AutoMapper; using AutoMapper.QueryableExtensions; using Base; using Common.Constants; using Data.Models; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; using Services.Data...
C#
VinylC/Web/VinylC.Web.MVC/Areas/Administration/Controllers/ProductController.cs
clangelov/ASP.NET-MVC-Course-Project
mit
2,862
88
codeparrot/github-code
ed9518e5df4df6da8142aa94d4712913e92cd19b5a57c539486269069347b26f
package de.futjikato.mongoral.com; import de.futjikato.mongoral.MongoralException; import de.futjikato.mongoral.config.Connection; import java.util.Observable; /** * Created with IntelliJ IDEA. * User: Moritz * Date: 17.08.13 * Time: 17:50 * To change this template use File | Settings | File Templates. */ publ...
Java
src/de/futjikato/mongoral/com/Com.java
futjikato/Mongoral
mit
964
37
codeparrot/github-code
32be2e42e52e9d6fc667c15f8a63eef0740a8251c64905ab8af2a1014ff7584a
package edu.osu.cse.groenkeb.logic.proof.rules import edu.osu.cse.groenkeb.logic.proof.Assumption import edu.osu.cse.groenkeb.logic.proof.Proof import edu.osu.cse.groenkeb.logic.Sentence sealed abstract class Discharge(val assumptions: Assumption*) { /** * Returns either a collection of assumptions discharged by...
Scala
core/src/main/scala/edu/osu/cse/groenkeb/logic/proof/rules/Discharge.scala
bgroenks96/PropLogic
mit
1,360
36
codeparrot/github-code
a47f62862940927cfcbae506bcafe815a460cc2a13e1650e64492fc427535f60
local skynet = require "skynet" local globalname = {} local harbor = {} skynet.register_protocol { name = "harbor", id = skynet.PTYPE_HARBOR, pack = function(...) return ... end, unpack = skynet.tostring, } skynet.register_protocol { name = "text", id = skynet.PTYPE_TEXT, pack = function(...) return ... end, ...
Lua
service/cdummy.lua
tanxunrong/mruby-toy
mit
1,054
48
codeparrot/github-code
c1eef240fb8c3e73b45a628ea3df8019fcbb0004607f7b3bc52cc80616c94219
<?php /** * @author Ryan Faerman <ryan.faerman@gmail.com> * @author Krzysztof Suszyński <k.suszynski@mediovski.pl> * @version 0.2 * @package php.manager.crontab * * Copyright (c) 2009 Ryan Faerman <ryan.faerman@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy *...
PHP
src/AppBundle/Services/CrontabManager.php
med3mri/cron-symfony3
mit
15,396
591
codeparrot/github-code
c3d45255830edfc199bd56d0680168feb8e6c258306fe9e424d7f701fc5de09d
<TS language="ca" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Botó dret per editar l'adreça o l'etiqueta</translation> </message> <message> <source>Create a new address</source> <transl...
TypeScript
src/qt/locale/vsync_ca.ts
Vsync-project/Vsync
mit
30,421
1,077
codeparrot/github-code
dddda7bb8947eb54f7a5d2e28648f2ffa5c3be8c8772a323301fe6117fdbe155
# -*- coding: utf-8 -*- """Family module for Wikisource.""" # # (C) Pywikibot team, 2004-2017 # # Distributed under the terms of the MIT license. # from __future__ import absolute_import, unicode_literals from pywikibot import family # The Wikimedia family that is known as Wikisource class Family(family.SubdomainFam...
Python
pywikibot/families/wikisource_family.py
magul/pywikibot-core
mit
3,997
125
codeparrot/github-code
4454c93cc5a72dec34f87ed7867e78ab6da3472bb0bd922a915906fb65461be6
"""Module that reads binary Plink files.""" # This file is part of pyplink. # # The MIT License (MIT) # # Copyright (c) 2014 Louis-Philippe Lemieux Perreault # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal ...
Python
knet/com/io/pyplink.py
mkelcb/knet
mit
18,683
572
codeparrot/github-code
e3874d19555be7955c47cacb5acc95aeef1f51f508fe1a9b0f4796e8e6dd3829
define("ember-data/-private/system/store/finders", ["exports", "ember", "ember-data/-private/debug", "ember-data/-private/system/store/common", "ember-data/-private/system/store/serializer-response", "ember-data/-private/system/store/serializers"], function (exports, _ember, _emberDataPrivateDebug, _emberDataPrivateSys...
JavaScript
tmp/broccoli_persistent_filterbabel-output_path-wVHfEhlN.tmp/ember-data/-private/system/store/finders.js
DanielJRaine/employee-forms-auth
mit
11,663
200
codeparrot/github-code
ffde3c4a1a1594fe0be33a3881e051693c931e0e4da232a46b8ca0757a0cb9ba
import $ from 'jquery'; import Backbone from 'backbone'; import BackboneValidation from 'backbone-validation'; import BackboneStickit from 'backbone.stickit'; import Marionette from 'backbone.marionette'; import Toast from 'toastr'; import Contact from '../../../domain/contacts/model.js'; import template from '../tem...
JavaScript
src/app/responder/contacts/views/delete.js
mcuyar/backbone-marionette-sample-app
mit
1,572
62
codeparrot/github-code
70108f205651cc9a96dcfc8814572be67851b4ed240504566c3ec6c0edc339a9
/** * * HomePageComponents * */ import React from 'react'; import styled from 'styled-components'; import { CommonLeftHeader } from 'components/CommonComponents'; import SmallSectionHeader from 'components/SmallSectionHeader'; function HomePageComponents() { return ( <div> </div> ); } HomePageComponents....
JavaScript
app/components/HomePageComponents/index.js
rapicastillo/beautifulrising-client
mit
602
36
codeparrot/github-code
a1158e681bbffd9974f7aea27848c9fac5e02b18d141551de98ccb4b3e90a0a6
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Meta Balls</title> <link rel="stylesheet" href="../css/style.css"> <script type="text/javascript" src="../../lib/paper.js"></script> <script type="text/paperscript" canvas="canvas"> // Ported from original Me...
HTML
examples/Paperjs.org/MetaBalls.html
christophe-conceicao/paperjs
mit
4,249
132
codeparrot/github-code
71ebe05f4425d7a60c1fcf13b7e4c9292e954c1f715954852730eb4a23f9c16a
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "OceanLighting.h" #include "Ocean.h" #include "OceanShallow.h" #include "../MainGeometry.h" #include "../Transform.h" #include "../Co...
Shell
Working/Game/xleres/Ocean/shallowsurface.sh
yorung/XLE
mit
6,685
194
codeparrot/github-code
8e9e5908718bfa53ed544da191ff047ee5be46d8600f50fa7f43488fb6c05d36
Ext.define('AppExt.view.main.MainController', { extend : 'Ext.app.ViewController', alias : 'controller.mainviewcontroller', onAdd : function () { var cmp = this.lookupReference('carousel'); cmp.add({ xtype : 'image', src : 'resources/photos/Animals/' + Math.flo...
JavaScript
AppExt/app/view/main/MainController.js
arthurakay/Ext.ux.layout.Carousel
mit
804
30
codeparrot/github-code
04c0c8d10e5d732a6b4abf2957763ea2a661aaaa8c8ba3df569344d4ce45a6c9
#pragma once #include <cstring> #include <string> #include <vector> #include "amuse/Common.hpp" namespace amuse { /** * @brief Case-insensitive comparator for std::map sorting */ struct CaseInsensitiveCompare { // Allow heterogeneous lookup with maps that use this comparator. using is_transparent = void; b...
C++
include/amuse/DirectoryEnumerator.hpp
AxioDL/amuse
mit
1,571
51
codeparrot/github-code
0dcd68c7613ce5a183194641f15c1935288368ed1c9724381087bca8adadf6b1
var gulp = require('gulp'); var gutil = require('gulp-util'); var gulpif = require('gulp-if'); var autoprefixer = require('gulp-autoprefixer'); var cssmin = require('gulp-cssmin'); var concat = require('gulp-concat'); var plumber = require('gulp-plumber'); var buffer = require('vinyl-buffer'); var source = require('vin...
JavaScript
gulpfile.js
Salomari1987/client-wall-app
mit
4,004
120
codeparrot/github-code
1e43662da34ad1497a8015c1fb9e8140140e56c8617885d74d8bfe5312611de9
var assert = require('assert'); var async = require('async'); var params = { "hostname":"localhost", "port":27017, "username":"", "password":"", "name":"", "db":"isi" }; function Db (name) { var db = params.db; if (typeof name !== 'undefined') { db = 'isi_' + name; } this.mongodb = require('mo...
JavaScript
lib/db.js
akasfei/isi
mit
4,560
199
codeparrot/github-code
652e68428c1f5abb3bfa08e3766a932d52a65b80acd226523f426e6088d75d83
// Copyright (c) 2014-2017 The Dash Core developers #include "cachemultimap.h" #include "test/test_sibcoin.h" #include <algorithm> #include <iostream> #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(cachemultimap_tests, BasicTestingSetup) void DumpMap(const CacheMultiMap<int,int>& map) { const Ca...
C++
src/test/cachemultimap_tests.cpp
ivansib/sib16
mit
4,945
177
codeparrot/github-code
5e3cd215a647b68044aef4fb9c97e0a2e72bde9a8d97a8545df6b52b27007f4f
using System; using System.ComponentModel; namespace Camunda.Api.Client.UserTask { public class IdentityLink { /// <summary> /// The id of the user to link to the task. If you set this parameter, you have to omit groupId. /// </summary> public string UserId; /// <summar...
C#
Camunda.Api.Client/UserTask/IdentityLink.cs
jlucansky/Camunda.Api.Client
mit
1,158
38
codeparrot/github-code
64be11ef19b070a6f3dbaefbbb1ad037cc654cf5ba5126ad03296df6db6ffbd3
import java.util.ArrayList; import java.util.List; import java.util.Scanner; /** * Write a program that finds the longest sequence of equal elements in an array of integers. * If several longest sequences exist, print the leftmost one. */ public class MaxSequenceOfEqualsElements { public static void main(Strin...
Java
Java DB Fundamentals/Java Introduction/01. Java Basics/MaxSequenceOfEqualsElements.java
Menkachev/Java
mit
946
37
codeparrot/github-code
0be2eb73a527e74caf12c85a4b72be8e0385ad1abef78430c5c439a35a2fdb15
def get_week_of_day(): week_of_day = 1 for year in range(1900, 2001): for month in range(1, 13): yield (year, month, week_of_day) if month in (1, 3, 5, 7, 8, 10, 12): month += 1 week_of_day += 31 elif month in (4, 6, 9, 11): ...
Python
19.py
xnap/projecteuler
mit
956
35
codeparrot/github-code
37f421d40a8bbb9c65ada0a966f8c5eff888a4c4036d37a33dc345d83a157e04
#pragma once #include "Signal.h" #include <memory> template <typename T, template <class Created, class Alloc = std::allocator<Created>> class Container = std::list> class SignalizingContainer { public: typedef Container<T> ContainerType; SignalizingContainer() { } SignalizingContainer(const ContainerType...
C
src/utils/SignalizingContainer.h
Kaosumaru/libmx
mit
1,460
80
codeparrot/github-code
d6721650c193bb19ad0ba200fc4225d68cea3784903a9e902caf2d4b055ba970
package org.dotwebstack.framework.backend.rdf4j; import java.util.Map; import org.dotwebstack.framework.backend.rdf4j.model.Rdf4jObjectType; import org.dotwebstack.framework.core.backend.BackendLoaderFactory; import org.dotwebstack.framework.core.backend.BackendModule; import org.dotwebstack.framework.core.model.Objec...
Java
backend/rdf4j/src/main/java/org/dotwebstack/framework/backend/rdf4j/Rdf4jBackendModule.java
dotwebstack/dotwebstack-framework
mit
975
34
codeparrot/github-code
5dc12db83af3a8e734facf85bb3fc7876088264eeeb6fcd8ebd5968a6c15e80c
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
Python
01-codes/tensorflow-master/tensorflow/python/client/notebook.py
DailyActie/Surrogate-Model
mit
4,766
122
codeparrot/github-code
e196c9cd43537bb288820ffa8be84ddc6b550f364e261ccf076d901fa63d4943
#!/usr/bin/env python # hot_drinks.py # Copyright (C) ContinuumBridge Limited, 2014-2015 - All Rights Reserved # Written by Peter Claydon # # Default values: config = { "hot_drinks": True, "name": "A Human Being", "alert": True, "ignore_time": 120, "window": 360, "threshold": 10, "daily_rep...
Python
hot_drinks.py
ContinuumBridge/hot_drinks_app
mit
13,490
326
codeparrot/github-code
52179265705103ba039cd4dd6b8f173eb6ae679c282259d26f5910be333be838
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>buchberger: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.07.1-2.0.6/released/8.7.2/buchberger/8.6.0.html
coq-bench/coq-bench.github.io
mit
6,989
166
codeparrot/github-code
a59d7de304eba7c00b258d96519c8f765aae767b088af7b9f279f8b423d598f6
from Base import Base class Property(Base): """Class Property nodes <property>""" def parse_node(self): """ Parse the node""" self.parse_attributes_from_map({ 'name' : 'name', 'version' : 'version', 'readable' : 'readable', 'w...
Python
pyGtk3Docs/ast/Property.py
derAndreas/pyGtk3Docs
mit
1,291
49
codeparrot/github-code
2417da9f4bb09ff98cabf5805c604138e164c277106175f8e97dfc75a358cd95
local entity = require("src.logic.entity") local sprite = require("src.graphics.sprite") local status = require("src.logic.status") local knockback = require("src.logic.statuses.knockback") local removeSelf = require("src.logic.statuses.remove_self") local punch = {} local punchSprite = sprite.create("assets/sprites/...
Lua
episode_32/src/items/punch.lua
hypnoscope/let-s-code-an-indie-game
mit
947
46
codeparrot/github-code
ee488b2c66bded310dc93e92e9e85c914911df7e863ecc764fd3b30877995672
<?php namespace Owl\DataMapper; abstract class Mapper { /** * Data class名. * * @var string */ protected $class; /** * 配置,存储服务、存储集合、属性定义等等. * * @var array */ protected $options = []; /** * 根据主键值返回查询到的单条记录. * * @param array $id 主键值 * @para...
PHP
src/DataMapper/Mapper.php
yeaha/owl-orm
mit
12,294
573
codeparrot/github-code
cda8281110f2a983dc4129cb86efd793a0964eae833065b078e84452abeed013
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Homelessness &#8211; City of Los Angeles Mayoral Dashboard</title> <meta name="description" content="The Mayor&#39;s Da...
HTML
_site/homelessness/index.html
laurenancona/bradley-tower
mit
12,062
434
codeparrot/github-code
502e50d4d2e28c83e9ddb16327f4f79507d636842bd74a2ff5e84dc9e77ec43a
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <QClipboard> #include <string> #include <vector> Sign...
C++
src/qt/signverifymessagedialog.cpp
jamescoineron/octane
mit
8,804
278
codeparrot/github-code
14bf5c2cae540040bbd28b4150e5432fb4d3f840429b7e48e23f68f04e8e2823
#include "common.h" #define INFINITE_MATCH (unsigned int)(-(200 << 8)) // allowed to match anywhere #define GAPPASSBACK 0X0000FFFF #define NOT_BIT 0X00010000 #define FREEMODE_BIT 0X00020000 #define QUOTE_BIT 0X00080000 #define WILDGAP 0X00100000 #define WILDSPECIFIC 0X00200000 bool matching = false; bool clearUnmar...
C++
src/patternSystem.cpp
The-Reapers-Soundware/ChatScript-5.1
mit
39,729
979
codeparrot/github-code
90a0e19a34773689baa524aa1b53c6a75c14e88072f2b247b4a651c10c846fbd
package animals1; import presentation.Presentation; public class DogImpl implements Dog { private Presentation presentation; private Cat cat; @Override public Presentation getPresentation() { return presentation; } @Override public void setPresentation(Presentation presentation...
Java
Java/Jgit01/anaG01/Jana3/src/animals1/DogImpl.java
logiforb/py-hello-world
mit
946
49
codeparrot/github-code
2157cf35925a3c711f431ba7723504b22ba49df72cb21800f1d81271cba25f7a
#!/usr/bin/env python # # File Name : rouge.py # # Description : Computes ROUGE-L metric as described by Lin and Hovey (2004) # # Creation Date : 2015-01-07 06:03 # Author : Ramakrishna Vedantam <vrama91@vt.edu> import numpy as np import pdb def my_lcs(string, sub): """ Calculates longest common subsequence ...
Python
codes/pycoco/rouge/rouge.py
fukun07/neural-image-captioning
mit
3,659
106
codeparrot/github-code
fd120574cf3320643a4f80332d7cb487774ae290d4e90bea3f0913efd2f8fbbb
.PHONY: clean clean-test clean-pyc clean-build docs help .DEFAULT_GOAL := help define BROWSER_PYSCRIPT import os, webbrowser, sys try: from urllib import pathname2url except: from urllib.request import pathname2url webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1]))) endef export BROWSER_PYSCRIPT ...
Makefile
Makefile
founders4schools/python-webhook-logger
mit
2,323
90
codeparrot/github-code
46d1f1817ea7f417d5829fa0f992b1e357c2ec14134d505b7e93b3635d040c7f
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gu_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TakeiCoin</source> <translation>બીટકોઈન વિષે</translation> </...
TypeScript
src/qt/locale/bitcoin_gu_IN.ts
takeicoin/takeicoin
mit
96,522
2,917
codeparrot/github-code
9c7b135f8a7223a80e097c836c66fc3c750e53e79a65535284220f81c3d326f2
class ChatChannel < ApplicationCable::Channel def subscribed stream_from "user_#{current_user.id}" end def unsubscribed # Any cleanup needed when channel is unsubscribed end def receive(data) ActionCable.server.broadcast( "user_#{to_user_id(data)}", message_data(data) ) Messa...
Ruby
app/channels/chat_channel.rb
mcelicalderon/simple-chat
mit
693
37
codeparrot/github-code
50a76ed608fe0290e18d39e4199ce6da912f05d782dab32abec0f3ae83274d6b
using MyProject01.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject01.DataSources.DataSourceParams { class FixDataSource : IDataSource { private RateSet[] _rateSet; private DataBlock _dataBu...
C#
src/MyProject01/DataSources/DataSourceParams/RateDataSourceParam.cs
a7866353/MySharpNEAT
mit
12,099
448
codeparrot/github-code
b84ca664edee93d7f423093623051e7f592c8b0b7bbf290c4bca3d2acec1bd38
package com.mborowy.dajsiepoznacfeed.activities; import android.graphics.Typeface; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.mborowy.dajsiepoznacfeed.R...
Java
DajSiePoznacFeed-AndroidClient/app/src/main/java/com/mborowy/dajsiepoznacfeed/activities/PostItemRecycleViewAdapter.java
macborowy/dajsiepoznac-feed
mit
3,756
120
codeparrot/github-code
ff63f84083348b8450890fb9b41e92e7fdd36d7fda2c217c69828164c060587d
<?php namespace Zenstruck\ControllerUtil; /** * @author Kevin Bond <kevinbond@gmail.com> */ class Forward { private $controller; private $parameters; /** * @param string $controller * @param array $parameters */ public function __construct($controller, array $parameters = array()) ...
PHP
src/Forward.php
kbond/ControllerUtil
mit
656
39
codeparrot/github-code
7b1de0bc38e0efefa927eba9e228fad0d23a227d563d60cd86045955c66b123a
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage *...
C
Qt/QtCore/5.4.2/QtCore/private/qmetaobject_p.h
Yangff/mvuccu
mit
9,298
262
codeparrot/github-code
5f88b665eb058c90f43daacb88b91b3b03723913cf95428eb52375bfb1caa349
/******************************************************************************************* * The MIT License (MIT) * <p> * Copyright (c) 2013 Erik R Serating * <p> * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"...
Java
src/test/java/com/google/code/siren4j/util/ReflectionUtilsExposedFieldInfoTest.java
eserating/siren4j
mit
7,856
213
codeparrot/github-code
c18457c89de7b6c18413f934af7535daf251153c951a0357e6a8d6b8bdbd0948
class Label < ActiveRecord::Base include CacheMarkdownField include Referable include Subscribable # Represents a "No Label" state used for filtering Issues and Merge # Requests that have no label assigned. LabelStruct = Struct.new(:title, :name) None = LabelStruct.new('No Label', 'No Label') Any = Lab...
Ruby
app/models/label.rb
openwide-java/gitlabhq
mit
5,607
193
codeparrot/github-code
aeaa4f290d1f65831094cd08a50d3d83106db6a702cffd5d7549cdbd51664846
package com.quartzodev.api; import com.quartzodev.api.interfaces.IAmazonAPI; import com.quartzodev.api.interfaces.IGoodreadsAPI; import com.quartzodev.api.interfaces.IGoogleBookAPI; import com.quartzodev.api.interfaces.IQuery; import com.quartzodev.api.strategies.AmazonImpl; import com.quartzodev.api.strategies.Goodr...
Java
app/src/main/java/com/quartzodev/api/APIService.java
victoraldir/BuddyBook
mit
3,309
105
codeparrot/github-code
97a0f67fd8230983dee643e839fa1a2e65a8d436eb12ae906e6c0ba92f354338
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace BashChelik.Native { [StructLayout(LayoutKind.Sequential)] public struct EID_FIXED_PERSONAL_DATA { /// char[] [MarshalAs(Unman...
C#
src/BashChelik/BashChelik/Native/EID_FIXED_PERSONAL_DATA.cs
neman/BashChelik
mit
2,133
79
codeparrot/github-code
b0b63a6610cfcf08181662f0e2415e113e5e7e24b8a0634e9fe1bd395f99c51f
/* globals angular */ angular.module('formula').factory('formulaJsonLoader', ['$http', '$q', 'formulaLog', function($http, $q, log) { 'use strict'; var jsonLoader; return (jsonLoader = function(uri, jsonp, rerun) { var deferred = $q.defer(); if (typeof uri !== 'string') { // uri is not uri b...
JavaScript
src/factories/json-loader.js
npolar/formula
mit
826
31
codeparrot/github-code
3cc9a5f21bb797a41e0cffedf6470b0161bc394a07ba1932af1e0b616409c8bb
////////////////////////////////////////////////////////////////////////////// //// This software module is developed by SciDM (Scientific Data Management) in 1998-2015 //// //// This program is free software; you can redistribute, reuse, //// or modify it with no restriction, under the terms of the MIT License. //// ...
C
common/sim_merger.h
abadona/qsimscan
mit
1,903
66
codeparrot/github-code
d0e84fa5f6ccfee27f6fb23001823c63432cc63bdba54ea4cb702bb9e31823e0
using System.Threading.Tasks; using System; using MasDev.Common; namespace MasDev.Common { public interface IConsistencyValidator<TEntity> where TEntity : IEntity { void Validate (TEntity dto, ICallingContext context); Task ValidateAsync (TEntity dto, ICallingContext context); bool IsAsync { get; } } pub...
C#
MasDev.Common/Core/MasDev.Common.Core/Source/Entities/IConsistencyValidator.cs
MasDevProject/CSharp.Common
mit
1,597
57
codeparrot/github-code
fa7dc560a5f72cbd845089ab358efd89b55b79d3d0e9190eadf164fad1720ea1
#!/usr/bin/env ruby -I lib -I vendor/tnetstring-rb/lib require 'otnetstring' require 'tnetstring' require 'benchmark' require 'stringio' class SlowStream def initialize(str) @length = str.length @io = StringIO.new(str) end def readchar slow_down @io.readchar end def read(n) slow_dow...
Ruby
bench.rb
rkh/otnetstring
mit
1,423
67
codeparrot/github-code
5125151ff427fac3002e280f5814cb0b39aeef73811ac77bd78f189808556165
<?php namespace Pilot; class PilotPostType { public function __construct($post_type) { $this->post_type = $post_type; } private $options; public function create($options) { $options['post_type_name'] = function () use ($options) { $labels = array( ...
PHP
resources/library/CustomPostTypes/PilotPostType/PilotPostType.php
umbezt/ozpilot
mit
3,428
72
codeparrot/github-code
831fe7ad695ace21a236a944d0a387b40819ec254ce349f27abff23778ac733c
import { FieldTypes } from './datastores/field_types.js'; import { TestAgentOSLookup } from './test_agents/test_agent_os.js'; import { Nodes } from './nodes/nodes.js'; import { NodeTypes } from './nodes/node_types.js'; import { TestCaseStepTypes } from './test_cases/test_case_step_types.js'; /** * Utility functions ...
JavaScript
meteor/imports/api/util.js
austinsand/doc-roba
mit
13,893
496
codeparrot/github-code
5f9aa05aac5a0231661eb5d669e124ed692e5c87e92d08a11f782a135bc04ef5
/* ** DynASM MIPS encoding engine. ** Copyright (C) 2005-2013 Mike Pall. All rights reserved. ** Released under the MIT license. See dynasm.lua for full copyright notice. */ #include <stddef.h> #include <stdarg.h> #include <string.h> #include <stdlib.h> #define DASM_ARCH "mips" #ifndef DASM_EXTERN #de...
C
Sample/ClientSource/scripting/lua/luajit/LuaJIT-2.0.1/dynasm/dasm_mips.h
wenhulove333/ScutServer
mit
12,587
416
codeparrot/github-code
1bbe2202efc6ad72ca2747f031ed04351700d9c877bacd9350432d3d1b61eb1f
window._ = require('lodash'); window.Vue = require('vue'); if (!window.Promise) { window.Promise = require('es6-promise').Promise; } try { window.$ = window.jQuery = require('jquery'); //require('bootstrap-sass'); } catch (e) {} import axios from 'axios'; import VueAxios from 'vue-axios'; import VueRoute...
JavaScript
resources/assets/app/js/app.js
hackbeex/lvzaotou
mit
741
38
codeparrot/github-code
1238894c173a97f040d7c4070e2e0fa3a542aa085f42556508eeb1938658fe6c
package org.factcenter.inchworm.ops.dummy; import java.math.BigInteger; public class DummySub extends GenericArithmeticAction { public DummySub(ProtocolInfo info) { super(info); } @Override public BigInteger[] doArithmetic(int wordSize, BigInteger... inputs) { // todo: carry and overf...
Java
src/main/java/org/factcenter/inchworm/ops/dummy/DummySub.java
factcenter/inchworm
mit
1,835
42
codeparrot/github-code
b6f3e517fef7b2fe773cd5a22bdaeddc560aa277e5c8b821deef1505fd2ef0b5
(function() { /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ 'use strict'; /** * This file defines an asynchronous version of the localStorage API, backed by * an IndexedDB database. It creates a global...
JavaScript
src/js/localForage.js
lejenome/jukax
mit
10,635
343
codeparrot/github-code
89ee51456346e59b03447bf2325ad85a05cfa61d41a7807fefee22d451b6ebe7
/* Polyfill for RequestAnimationFrame */ (function() { var lastTime = 0; var vendors = ['ms', 'moz', 'webkit', 'o']; for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; window.cancelAnimationFrame = window[ve...
JavaScript
public/modules/core/directives/snake.client.directive.js
bwellz/wellosnake
mit
42,350
1,062
codeparrot/github-code
31a7695660d444970c74582d6a03dcf794ccb871946f6fde2f6440b64abf5dd2
local screenName = Var "LoadingScreen" local footerBaseImage if screenName == "ScreenSelectProfile" or screenName == "ScreenDataSaveSummary" then footerBaseImage = "centered (doubleres).png" elseif screenName == "ScreenSelectMusicRD" then footerBaseImage = "RDbase (doubleres).png" else footerBaseImage ...
Lua
DDR SN3/Graphics/ScreenWithMenuElements footer/default.lua
MidflightDigital/ddrsn3-theme
mit
1,954
62
codeparrot/github-code
6f309bafc79e68bc65622b888c532bb92a94163cdd8b7f9fbf00b3d2e2880639
# ComponentPaths gives an array of every folder where you find a component. require 'volt/server/rack/component_code' module Volt class ComponentPaths def initialize(root = nil) @root = root || Dir.pwd end # Yield for every folder where we might find components def app_folders # Find all...
Ruby
lib/volt/server/rack/component_paths.rb
nightweb/volt
mit
3,414
117
codeparrot/github-code
d68125c53eade4a81e5070fbf80d2dc744e52c8a90e87bcbfb5640e5bb093d0c
// Volumetric3D_EMC.h // created by Kuangdai on 16-May-2017 // genetral Volumetric3D model with IRIS-EMC format #pragma once #include "Volumetric3D.h" #include "eigenp.h" class Volumetric3D_EMC: public Volumetric3D { public: void initialize(); void initialize(const std::vector<std::string> &params); bo...
C
SOLVER/src/3d_model/3d_volumetric/EMC/Volumetric3D_EMC.h
kuangdai/AxiSEM3D
mit
1,761
62
codeparrot/github-code
530c62f968021bb9f78a826a8159cd9c02bb090b78b5e7b464a64e206429f78f
/** * Directory Class * Author: Patricio Ferreira **/ var fs = require('fs'), path = require('path'), Backbone = require('backbone'), _ = require('underscore'); var Directory = Backbone.Base.extend({ initialize: function() { }, walk: function(dir, exclude) { exclude || (ex...
JavaScript
application/util/directory.js
kuakman/dimentionnode
mit
2,175
74
codeparrot/github-code
fb38ef4321b680a0c99659039a150e7a6666f94692ced63bb509bcc80b36539b
const { assert, skip, test, module: describe, only } = require('qunit'); const { GPU } = require('../../../../../../src'); describe('feature: to-string unsigned precision arguments Array(2)'); function testArgument(mode, context, canvas) { const gpu = new GPU({ mode }); const originalKernel = gpu.createKernel(fun...
JavaScript
test/features/to-string/precision/unsigned/arguments/array2.js
gpujs/gpu.js
mit
1,597
53
codeparrot/github-code
7bd8d7ed915cbe3b962ba1af8636b61398130a4bed57ef93872fc20188ff1266
/*jslint white:true, nomen: true, plusplus: true */ /*global mx, define, require, browser, devel, console, btoa, alert, document, CustomEvent */ /*mendix */ /* FolderList ======================== @file : FolderList.js @version : 1.0.0.0 @author : Denis Vuyka @date : Mon, 20 Apr 2...
JavaScript
src/FolderList/widget/FolderList.js
DenisVuyka/mendix-alfresco-cmis
mit
7,429
195
codeparrot/github-code
b480c6d0f1d1e621b7ce03817a6686891ec5e6c6d84b91952e00c98833755d6f
'use babel' import Html2JsView from './html2js-view' import html2js from './html-2-js' import { CompositeDisposable } from 'atom' export default { html2JsView: null, modalPanel: null, subscriptions: null, activate (state) { this.subscriptions = new CompositeDisposable() let grammar = atom.grammars....
JavaScript
lib/html2js.js
jerone/atom-html2js
mit
1,536
60
codeparrot/github-code
dd1781085a70c2803ca826e8cc980a25e8a0c306f75dae513af795a526f061f4
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Programming interface</title> <link rel="stylesheet" href="../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href="../index.html" title="Chapter&#160;1.&#160;B...
HTML
libs/boost.atomic/html/atomic/interface.html
ghisguth/tasks
mit
23,138
406
codeparrot/github-code
5e079adeca8b54d8509378a303c99e03f5001b36fdcbf12a6f33748a935d9c95
# Purpose: using DIMENSION horizontal, vertical and rotated # Copyright (c) 2018-2021, Manfred Moitzi # License: MIT License from typing import cast import math import pathlib import random import logging import ezdxf from ezdxf.tools.standards import setup_dimstyle from ezdxf.math import Vec3, UCS from ezdxf.entities...
Python
examples/render/dimension_linear.py
mozman/ezdxf
mit
24,851
844
codeparrot/github-code
ad96a1e57af4414df879f431645c5e5010144a702f2cc1f8fbaf58fb1f584513
# Copyright (c) 2011-2021, Manfred Moitzi # License: MIT License from typing import TYPE_CHECKING, Dict, Iterator, List, cast, Optional import logging from ezdxf.lldxf.const import DXFKeyError, DXFValueError, DXFInternalEzdxfError from ezdxf.lldxf.const import ( MODEL_SPACE_R2000, PAPER_SPACE_R2000, TMP_PAP...
Python
src/ezdxf/layouts/layouts.py
mozman/ezdxf
mit
14,153
373
codeparrot/github-code
33ba1017f74342b30250bd64a20d066350bfe406c122ffc358711b02aa7065d3
local Command = require 'Command' local System = require 'System' local Log = require 'Log' local fmt = string.format local Source = {} function Source:new(o) local o = o or {} setmetatable(o, self) self.__index = self return o end function Source:parse(rule) if not rule then return end ...
Lua
src/Source.lua
bazurbat/jagen
mit
15,464
541
codeparrot/github-code
2f207145343485d47e913f14d0ceca87893e682d3d1645ba2ac921b7e8e9ae75
package baloo import ( "io" "net/http" "gopkg.in/h2non/gentleman.v2" "gopkg.in/h2non/gentleman.v2/context" "gopkg.in/h2non/gentleman.v2/plugin" "gopkg.in/h2non/gentleman.v2/plugins/multipart" ) var ( // UserAgent represents the static user agent name and version. UserAgent = "baloo/" + Version ) // Request ...
GO
request.go
h2non/baloo
mit
7,335
263
codeparrot/github-code
d104377876133002d3db18a16b9bd238168315a8cd614249139010f3213f53a2
#include "discover_community.h" #include "cluster.h" #include "community.h" #include "common/geometry/point.h" #include "common/geometry/delaunay_triangulation.h" #include <iostream> namespace modularity { map<DotNode*, set<DotNode*> > SpatialNeighbors(DotGraph& g); //remove stub(==with one child) s...
C++
external/eba/src/modularity/discover_community.cpp
spupyrev/gmap
mit
4,721
188
codeparrot/github-code
a8b6fca3526d860a90145dd55abdaaab13221092a1cb490b4e1c2a76ac130e07
package jebl.gui.trees.treeviewer_dev.painters; import jebl.evolution.graphs.Node; import java.awt.*; /** * @author Andrew Rambaut * @version $Id: NodePainter.java 373 2006-07-01 15:18:27Z rambaut $ */ public abstract class NodePainter extends AbstractPainter<Node> { protected NodePainter() { } // ...
Java
pia/phyutility/src/jebl/gui/trees/treeviewer_dev/painters/NodePainter.java
xibalbanus/PIA2
mit
1,712
80
codeparrot/github-code
5c9edd9f6f5e577296108862ab95e2f4e294202fa0051f5a8fb024c9d4c3aee5
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>BoardStatus | connectwise-rest-api</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="...
HTML
docs/modules/_api_api_.boardstatus.html
vc3/connectwise-rest-api
mit
24,084
406
codeparrot/github-code
da68c561d76ec03af828d4df7e10eb5dbd021bc90bc54b701f835b1b2c965795
/** * Loads values from VS Code config. It is currently only read at extension launch, * but config change watchers can be added here if needed. */ import * as vscode from "vscode"; const hackConfig = vscode.workspace.getConfiguration("hack"); // tslint:disable-next-line:no-non-null-assertion export const localWo...
TypeScript
src/Config.ts
PranayAgarwal/vscode-hack
mit
2,835
83
codeparrot/github-code
c44f3a0c7b1603db61e7ff09e1b00502c240e4658b40a1527728e43ed07cf98a
package socket; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import java.nio.charset.Charset; import java.util.logging.Level; import java.util.logging.Logger; /** * Connection to a server via stream socket, by specif...
Java
packs_sys/logicmoo_nlu/ext/regulus/Examples/Calendar/java/src/socket/ClientCom.java
TeamSPoon/logicmoo_workspace
mit
3,591
132
codeparrot/github-code
377d8bfd0765b3e337f18b6312db07af5872a0f8fbfc376f6da6c441e3d12930
package org.openmrs.module.lfhcforms.utils; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.openmrs.Form; import org.openmrs.module.appframework.domain...
Java
api/src/main/java/org/openmrs/module/lfhcforms/utils/ExtensionFormUtil.java
mekomsolutions/openmrs-module-lfhcforms
mit
5,763
135
codeparrot/github-code
c7d40c086aa72a3c0cf44c3e56e27f0c28371224cfbec412157408d7482ef3a8
#include "proceso.h" static VALUE rb_cProcesoPID; static VALUE proceso__process_init(VALUE self, VALUE pid) { rb_iv_set(self, "@pid", pid); return self; } /* PID running? */ static VALUE proceso__process_running(VALUE self) { int pid = iv2pid(self); rb_pid_t i = getpgid(pid); if (i < 0) { return Qfalse...
C
ext/proceso/pid.c
bry4n/proceso
mit
1,956
74
codeparrot/github-code
6a5056299db890597785ef090984e2c02d44a5f86047590642a8c4a5c1bbd0df
const errors = require('@feathersjs/errors'); const debug = require('debug')('@feathersjs/transport-commons'); const paramsPositions = exports.paramsPositions = { find: 0, get: 1, remove: 1, create: 1, update: 2, patch: 2 }; const normalizeError = exports.normalizeError = function (e) { const hasToJSON ...
JavaScript
lib/socket/utils.js
feathersjs/feathers-socket-commons
mit
3,426
112
codeparrot/github-code
b8995d938947d7a4d45c1e97981c8fe259baa341cc3b85629406b3cbf0d794f1
using System; class MaximalElementInSubarrayAndSorts { static uint length; static uint maxElementIndex; static void Main() { string decorationLine = new string('-', 80); Console.Write(decorationLine); Console.WriteLine("***Sorting an array of integers in ascending and descendin...
C#
C# II Projects/Homework-Methods/9. MaximalElementInSubarrayAndSorts/MaximalElementInSubarrayAndSorts.cs
vladislav-karamfilov/TelerikAcademy
mit
2,387
80
codeparrot/github-code
ddf96b05f97af27ace195ad8d69c0504611b1a5b47c62d3d1303b40d7db6ead4
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {FocusMonitor, FocusOrigin} from '@angular/cdk/a11y'; import {coerceBooleanProperty} from '@angular/cdk/coerci...
TypeScript
src/lib/radio/radio.ts
emoralesb05/material2
mit
19,420
608
codeparrot/github-code
52ce2d06ed8af980b255dd8a430d080e54568b9680767f203bfb9888261a6782
<html> <head> <title>Device</title> <script src="lib/socket.io-client/socket.io.js"></script> <script src="lib/gyro.js/js/gyro.js"></script> <style> html, body { margin: 0; padding: 0; } ul { height: 100%; list-style-type: none; margin: 0; padding: 0;...
HTML
server/send.html
timkendall/spinner
mit
1,602
72
codeparrot/github-code
42489c6724236e53e68a6f2e9fa3efab9d13a8a972711ff2f150df829225f251
using System; using System.Configuration.Install; using System.Reflection; using System.ServiceProcess; using Topshelf.HostConfigurators; using Topshelf.Logging; using Topshelf.Runtime; using Topshelf.Runtime.Windows; namespace Topshelf.StartParameters { public class SpWindowsHostEnvironment : HostEnviron...
C#
src/Topshelf.StartParameters/SpWindowsHostEnvironment.cs
r1pper/Topshelf.StartParameters
mit
5,270
141
codeparrot/github-code
283aed98c33ba4fa538c21a0f5758f3ff5fc225b863a6cc4274a93ef11983de6
/** @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://...
JavaScript
platform-web-ui/src/main/resources/polymer/@polymer/paper-spinner/paper-spinner.js
fieldenms/tg
mit
3,616
102
codeparrot/github-code
909363d4315f75ab6d21487fcd83e8c6ae077d39a995120652b3262feeeffdde
<?php namespace ConcurrentPhpUtils; use MabeEnum\Enum; /** * A TimeUnit represents time durations at a given unit of * granularity and provides utility methods to convert across units, * and to perform timing and delay operations in these units. A * TimeUnit does not maintain time information, but only * help...
PHP
src/ConcurrentPhpUtils/TimeUnit.php
prolic/Concurrent-PHP-Utils
mit
5,821
207
codeparrot/github-code
1aad70d5af1283ff631a9ee56003b09b8c2eb0819d9e3b729325c8a414cd38b1
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package projectguru.entities; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.persistence...
Java
src/projectguru/entities/WorksOnProject.java
mgrumic/ProjectGuru
mit
4,404
137
codeparrot/github-code
6cb1aabc4cbc1f5978b95ab85f08ae38496c841fe85ce8e58438ac78abc73332
<?php namespace FacturacionBundle\Controller; use FacturacionBundle\Entity\Factura; use FacturacionBundle\Entity\FacturaDetalle; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfon...
PHP
src/FacturacionBundle/Controller/FacturaController.php
pipeospina1320/agendacitas
mit
13,909
291
codeparrot/github-code
a42825218fde4561c067ad6209b856a7cd9819cd23bc0c62ea2aca93f0fd3b27
package org.symboltable; /** * Undirected graph data type implemented using a symbol table of vertices, * where each vertex contains a list of its neighbors. * * Limitations: ------------ - addEdge(v, v) adds two copies of the self-loop * v-v - the adjacency lists use independent copies of each string, which was...
Java
Symbol Table/src/org/symboltable/Graph.java
shivam091/Symbol-Table
mit
3,822
144
codeparrot/github-code
8e04fa6a766abdd51561c01df7a5f7a2eb994103ab2a168489ec4189be0d73f5
import { markdownDocumentationLinkBuilder } from '../../storybook-utilities/markdownDocumentationLinkBuilder'; export default { title: 'Components/Promo', decorators: [(story) => `<div class="sprk-o-Box">${story()}</div>`], parameters: { info: ` ${markdownDocumentationLinkBuilder('promo')} `, docs: {...
JavaScript
html/components/promo.stories.js
sparkdesignsystem/spark-design-system
mit
4,884
197
codeparrot/github-code
16b7cfc94d91254e8aa8faea585984359910598fdd5874266422b9cb00e3a293
#!/usr/bin/env python from ctypes import * from ctypes.util import find_library import sys import os import platform LIB_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'lib') if sys.platform.startswith('linux'): filename = os.path.join(LIB_PATH, 'linux', 'libfiksvm.so.1') libfiksvm = CDLL(f...
Python
fiksvm/fiksvm.py
li-xirong/image2label
mit
5,842
175
codeparrot/github-code
19002d24ce2a544f7710b0273756c6b180f2f616ef9ca1a6329107e2da589978
/* * MIT License * * Copyright (c) 2021-2022 The OSHI Project Contributors: https://github.com/oshi/oshi/graphs/contributors * * 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 r...
Java
oshi-core/src/main/java/oshi/jna/platform/unix/OpenBsdLibc.java
dbwiddis/oshi
mit
4,994
121
codeparrot/github-code
c29ebfc83a87ac9c0f9804d0c42542d1fa5b2a95dc01d8e36ad33ba44b243b94
<!DOCTYPE html> <html> <head> <title>Google Test</title> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> <!-- Google Maps API --> <script> var map; // Google map object // Initialize and display a google map function Init() { ...
HTML
public/google.html
Danubian/txchng
mit
2,693
73
codeparrot/github-code
64c100aeb9f38b504150fc92e4314448af99b0e36463bccd73c3d0abdee8629d
import { Injectable } from '@angular/core'; import { Response, ResponseOptions } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { Observer } from 'rxjs/Observer'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/merge'; import { GAME_TEXT } from '../../config/config'; import { R...
TypeScript
src/client/app/shared/gateways/restful.gateway.ts
jesusreal/scalable-architecture-demo
mit
1,388
47
codeparrot/github-code