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
559cee7bbc660485507a574e5417f1b9f9f01aae99b3b82c76351a71563e49e7
import java.awt.Container; import javax.swing.JFrame; /* * Created on 2005/02/09 * */ /** * ƒCƒ“ƒx[ƒ_[ƒQ[ƒ€–{‘Ì * * @author mori * */ public class Invader extends JFrame { public Invader() { // ƒ^ƒCƒgƒ‹‚ðÝ’è setTitle("’e‚Ì”­ŽË"); // ƒTƒCƒY•ύX•s‰Â ...
Java
invader/invader02/Invader.java
sylvan5/javagame
mit
798
36
codeparrot/github-code
2770494e90ab71e55f1ea2a3f49661fd3ac147d07bf600a10f387ad80b50fdef
let CollectionSetup = Organizations.utility.CollectionSetup; // Collection Name const COLLECTION_NAME = 'organizations'; /** * SetupOrganizations Component * * @class SetupOrganizations */ class SetupOrganizations { /** * @constructor * * @param {App} app Organizations App * @param {Object} ...
JavaScript
src/components/app/SetupOrganizations.js
andrewreedy/meteor-organizations
mit
2,213
109
codeparrot/github-code
79174290adeea10a74b25e935d145cbe9174153b8bfa5a9ff31e676d038f3c43
package org.innovateuk.ifs.invite.controller; import org.innovateuk.ifs.BaseControllerMockMVCTest; import org.innovateuk.ifs.invite.resource.ApplicationKtaInviteResource; import org.innovateuk.ifs.invite.transactional.ApplicationKtaInviteService; import org.junit.Test; import org.mockito.Mock; import static org.innov...
Java
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/invite/controller/ApplicationKtaInviteControllerTest.java
InnovateUKGitHub/innovation-funding-service
mit
4,506
116
codeparrot/github-code
15af05470f2896dec8fa969abdaf1e6d8ce8dc70d7178165b6f3d9085a4a032d
package org.innovateuk.ifs.invite.transactional; import org.innovateuk.ifs.application.transactional.ApplicationProgressService; import org.innovateuk.ifs.application.transactional.ApplicationService; import org.innovateuk.ifs.application.transactional.AutoCompleteSectionsUtil; import org.innovateuk.ifs.commons.servic...
Java
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/invite/transactional/AcceptApplicationInviteServiceImplTest.java
InnovateUKGitHub/innovation-funding-service
mit
11,911
251
codeparrot/github-code
7b7286da2b57e1727de2e44ed9458c5b7a567e3b7a657aaab6a763375c4e0448
package org.injectr.injectr; import java.util.Collection; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; public class TypeReferenceTest { ...
Java
src/test/java/org/injectr/injectr/TypeReferenceTest.java
injectr/injectr
mit
1,580
37
codeparrot/github-code
0055cde6983c5de25aaa3ae4ec6610e4ec77a8ce9a498267df55b9603d274273
import React from "react"; import { Provider } from "react-redux"; import Helmet from "react-helmet"; import universal from "react-universal-component"; import { withSiteData } from "react-static"; import { Grid, LinearProgress, Chip, AppBar, Toolbar, Typography } from "@material-ui/core"; import { MuiT...
JavaScript
src/App.js
digitalkaoz/time-calc
mit
2,622
108
codeparrot/github-code
014389df31352bf7bed6dc812009195d48c1830f88458d91ade00e35344f0c90
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __cplusplus # error This header can only be compiled as C++. #endif #ifnd...
C
src/protocol.h
bitcommoditiz/Silverz-XAGz
mit
3,720
149
codeparrot/github-code
40b13d06d5f5020edaf529fec345d27fb3f276e43e3066989245f741978097ae
#ifndef DEWALLS_DEFAULTUNIT_H #define DEWALLS_DEFAULTUNIT_H #include "unit.h" namespace dewalls { template<class T> class DefaultUnit : public Unit<T> { public: DefaultUnit(QString name, const T *type, long double toBase, long double fromBase); DefaultUnit(QString name, const T *type, long double...
C
src/defaultunit.h
jlillest/dewalls
mit
1,324
56
codeparrot/github-code
9a7fdebf601bad7839daedd480c25dc14eceab8d05df05b3657c302052183c7d
package com.thetonyk.UHC.Commands; import java.util.List; import java.util.UUID; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import com.thetonyk.UHC.Main; import com.thetonyk.UHC.Util...
Java
CommandsUHC/src/com/thetonyk/UHC/Commands/NearCommand.java
TheTonyk/CommandsUHC
mit
2,078
84
codeparrot/github-code
457eb7466faf3e73d3b68fe48fa7967a95295e328596f46428d1cbc289f19ae5
import { Request, Middleware } from "./"; export type WithHeaderValue<Req> = | string | string[] | { (request: Req): string | string[] }; /** * Add a header to the request that can either override, or be overridden * by, the headers in the request. */ export function withHeader<Req extends Request = Request>...
TypeScript
src/withHeader.ts
HelpfulHuman/Portals
mit
851
32
codeparrot/github-code
899617ae65f83c35e8df1d1816ccdfc5734d739cff6a2c71f954445bd4eca4ab
<?php function cashConfig ( $key ) { return Config::get ( 'cashConfig.' . $key ); } /** * Converting string to readable * 89ccb3f661 to 89C-CB3-F661 * @param $transactionId * @return string */ function readableTransactionId ( $transactionId ) { retu...
PHP
src/Http/helpers.php
Leelam/PaymentGateways
mit
712
33
codeparrot/github-code
2c908f110f69be2a34d1b91829bb65c3191280d9ca941f863bc7a95115211192
import sys, os sys.path.append(os.pardir) # 親ディレクトリのファイルをインポートするための設定 from common.layers import * from common.gradient import numerical_gradient from collections import OrderedDict class TwoLayerNet: def __init__(self, input_size, hidden_size, output_size, weight_init_std=0.01): # 重みの初期化 self...
Python
ch05/two_layer_net.py
nobukatsu/deep-learning-from-scratch
mit
2,441
78
codeparrot/github-code
bf348e42d0993f63a6b0261a97fb4d7402ba2528b4abadea93c110436bf94aad
#--- # Excerpted from "Scripted GUI Testing With Ruby", # published by The Pragmatic Bookshelf. # Copyrights apply to this code. It may not be used to create training material, # courses, books, articles, and the like. Contact us if you are in doubt. # We make no guarantees that this code is fit for any purpose. # Vi...
Ruby
book_code/guessing/locknote.rb
arvicco/win_gui
mit
8,225
380
codeparrot/github-code
7e26d9e66a84034c7aa29394eb95fcd1d297898547650be429cabfaa90731bdc
require 'iml_client/list_api_client' require 'iml_client/rest_api_client' require 'iml_client/util' module ImlClient class Client def initialize(login, password, options = {}) @login = login @password = password options = Util.symbolize_keys options @test_mode = !!options[:test_mode] ...
Ruby
lib/iml_client/client.rb
bob-frost/iml_client
mit
1,506
79
codeparrot/github-code
f1eb7da4eb6c9b1c83e072c4a0ec29f8f2f8d10097c5ed2c4e71d9228be9bbe0
import catalog.runner from catalog.models import * class Runner(catalog.runner.Runner): name = 'Axoft' alias = 'axoft' url = {'start': 'http://axoft.ru/', 'login': 'http://axoft.ru/', 'vendors': 'http://axoft.ru/vendors/', 'prefix': 'http://axoft.ru'} word =...
Python
updaters/axoft.py
anodos-ru/catalog
mit
8,377
224
codeparrot/github-code
7cd6bf0ed17c8b54674145186fe5b26f06537224f00991599cc38e97d0945680
# == Schema Information # # Table name: routers # # id :integer not null, primary key # host_name :string(255) # ip1 :string(18) # mask_ip1 :string(18) # ip2 :string(18) # mask_ip2 :string(18) # is_wireless :boolean # pos...
Ruby
app/models/router.rb
HoneyJack/FirewallTool
mit
6,800
195
codeparrot/github-code
2b18966703c7b32dce9da65b7f44dc8222566f9e6799780f1ffe4b326ca94c9f
# racional.rb require "./lib/modai_prct11/gcd.rb" #=Implemente una clase Ruby para representar los números racionales. #===Un número racional es un número con un numerador y un denominador de la forma. a/b class Racional include Comparable #== Se inicializa la fracción en su forma reducida hacien...
Ruby
lib/modai_prct11/racional.rb
alu0100036862/prct11
mit
2,675
122
codeparrot/github-code
aa7cf9241d4f4c48e61b41618b8b251dae61526d90d0c15c55bad89c1e55b26f
<?php /** * Created by IntelliJ IDEA. * User: jcarter * Date: 8/7/2014 * Time: 8:30 PM */ function iterate($n) { $s = ""; $i = 0; while ($i < $n) { $s .= $n." "; $i++; } $s .= "<br>"; return $s; } function iterateOdd($n){ $s = ""; $i = 0; while ($i < $n) { ...
PHP
Laravel/app/views/Day2/ExcerciseLooping.php
jcarter62/gwaPHP
mit
815
51
codeparrot/github-code
e27d7dc18ce379b5490c1ba3c4a8763c79c21664e46eaf62aa9255659c3d934f
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Dagger2 note &middot; lekaha's blog </title> <link rel="stylesheet" href="/styles.css"> <link rel="apple-touch-icon-precomposed" sizes="144x144" ...
HTML
blog/dagger2-note/index.html
lekaha/lekaha.github.io
mit
8,132
222
codeparrot/github-code
eb44fc88fa07c5e85e4fa20868f6dc6a3f03d4e62c078d39e3321de055091ad1
import java.util.*; import java.lang.Math; public class RemoveCharactersCounter { // https://www.topcoder.com/tc?module=ProblemDetail&rd=16798&pm=14356 // // Constraints // - A will contain between 1 and 1,000 elements, inclusive. // - B will contain between 1 and 1,000 elements, inclusive. // - Each character in A ...
Java
RemoveCharactersCounter.java
tiagopnoliveira/programming
mit
13,265
331
codeparrot/github-code
e7f7ea16fbdd1844ac274c83b3342840f0df93725248b41ff9cefc1e90684fe8
#ifndef INCLUDED_flixel_tweens_misc_ColorTween #define INCLUDED_flixel_tweens_misc_ColorTween #ifndef HXCPP_H #include <hxcpp.h> #endif #ifndef INCLUDED_flixel_tweens_FlxTween #include <flixel/tweens/FlxTween.h> #endif HX_DECLARE_CLASS1(flixel,FlxBasic) HX_DECLARE_CLASS1(flixel,FlxObject) HX_DECLARE_CLASS1(flixel,Flx...
C
haxe/export/linux64/cpp/obj/include/flixel/tweens/misc/ColorTween.h
syonfox/PixelPlanetSandbox
mit
2,113
65
codeparrot/github-code
55ba0a2a0600530daf5a6b204161031ce45e14f81363b1d0c0fe66d5e903d051
import IDomFacade from './domFacade/IDomFacade'; import evaluateXPath, { EvaluableExpression } from './evaluateXPath'; import { Options } from './types/Options'; /** * Evaluates an XPath on the given contextNode. Returns the string result as if the XPath is wrapped in string(...). * * @public * * @param selector...
TypeScript
src/evaluateXPathToStrings.ts
FontoXML/fontoxpath
mit
1,110
34
codeparrot/github-code
16c9da07e9a0f0b843e3ff570d46e7758f061b697e554e756ef04a045314beb1
#pragma once #include "../DeviceBuffer.h" #include "vulkan/vulkan.h" #include "DeviceMemoryPoolVK.h" namespace tzw { class DeviceBufferVK : public DeviceBuffer { public: DeviceBufferVK(); virtual void allocate(void * data, size_t ammount); void allocateEmpty(size_t ammount) override; void allocateAndSet(size_t all...
C
CubeEngine/EngineSrc/BackEnd/vk/DeviceBufferVK.h
tangziwen/Cube-Engine
mit
1,070
41
codeparrot/github-code
cc8e0448cda1ea6c4745a9e40e2aad5b6a30770315a3ec7c27400c19a4b1ada4
using System.Collections.Generic; using System.IO; using System.Linq; using Wasm.Binary; namespace Wasm { /// <summary> /// Represents a type section in a WebAssembly file. /// </summary> public sealed class TypeSection : Section { /// <summary> /// Creates an empty type section. ...
C#
libwasm/TypeSection.cs
jonathanvdc/cs-wasm
mit
8,964
245
codeparrot/github-code
34c748a69fdfa2630a67dd47b3466c2257dbd842addbcffca4a087f644c93082
package services; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.Collection; import java.util.Date; import java.util.Locale; import org.apache.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springfra...
Java
src/main/java/services/AlertService.java
Shipmee/Shipmee
mit
5,107
168
codeparrot/github-code
823ab15dacd8a756c7db9b84af1faf906cac18615a7cfd2e44c55e09bff4adb6
package middleware import ( "net/http" "strings" "github.com/wlMalk/gapi/constants" "github.com/wlMalk/gapi/defaults" "github.com/wlMalk/gapi/internal/util" "github.com/wlMalk/gapi/param" "github.com/wlMalk/gapi/request" "github.com/wlMalk/gapi/response" "github.com/wlMalk/gapi/validation" ) func CheckSchem...
GO
middleware/validate.go
wlMalk/gapi
mit
4,419
183
codeparrot/github-code
4d9e9b31ae8eb553aebbe997dfab49a01fbbb03a14b495e341d27d2e2f5577a8
<?php namespace cloud\siteBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class PlanEstudioType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) ...
PHP
src/cloud/siteBundle/Form/PlanEstudioType.php
thekingtork/cloudSchool
mit
857
34
codeparrot/github-code
7faa0caedb8f4f0002d916212c2137d63fa1f363ef902b66609ea3b8b8f546eb
require './lib/Model/DB' class EC class Model class DB class Single < EC::Model::DB def type "Single" end def insert_from_parent(values_rows , parent_table_name , primary_id) self.insert( values_rows.map do|values| this_table_values = v...
Ruby
lib/Model/DB/Single.rb
S2/ec
mit
5,329
156
codeparrot/github-code
9423af376e0015185f929068b584be91261f1fba33d89acd8546c5cbfa0ef390
<?php namespace Ekyna\Bundle\CommerceBundle\Form\Type\Common; use Ekyna\Bundle\AdminBundle\Form\Type\ResourceFormType; use Ekyna\Bundle\CoreBundle\Form\Type\UploadType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Form...
PHP
Form/Type/Common/AttachmentType.php
ekyna/CommerceBundle
mit
1,781
64
codeparrot/github-code
6de92747b4d415560f25749220561fa09ff71461833ca1f60cb7a8a87b1a4978
package pack import ( "os" "io/ioutil" "log" "io" "bytes" "text/template" ) // Copies file source to destination dest. func CopyFile(source string, dest string) (err error) { sf, err := os.Open(source) if err != nil { return err } defer sf.Close() df, err := os.Create(dest) if err != nil { return err } ...
GO
pack/utils.go
reddec/go-pack
mit
2,265
116
codeparrot/github-code
3c53510fc83c01833be693956145be0a1753d6384545cb273936a8933ffa0c79
var convert = require('../lib'); var testItems = require('./test-items'); /*global describe,it,expect*/ describe('Testing js2xml.js:', function () { describe('No options supplied (fallback to defaults):', function () { var options = {}; testItems('js2xml', options).forEach(function (test) { it(test....
JavaScript
test/js2xml-options.spec.js
nashwaan/xml-js
mit
10,742
381
codeparrot/github-code
5838869d59e1e56d0e25df5c4f5b8ed8061a25af6801e15a06efc054525e23e9
/* * The MIT License (MIT) * * Copyright (c) 2020 Alistair Leslie-Hughes * * 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 ...
C#
Microsoft.DirectX.DirectPlay/Microsoft.DirectX.DirectPlay/Caps.cs
alesliehughes/monoDX
mit
3,069
155
codeparrot/github-code
a9e5fb899da3cb4f85506342e0e68e65de98d366ff351c08316dc8d76a8765a0
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command w...
Makefile
docs/Makefile
GooeeIOT/python-evrythng
mit
7,445
193
codeparrot/github-code
80b35800e29204df595ebe1a0dc4920069ed98a280004edfba7650276f8f2e57
#ifndef AMGCL_BACKEND_VEXCL_STATIC_MATRIX_HPP #define AMGCL_BACKEND_VEXCL_STATIC_MATRIX_HPP /* The MIT License Copyright (c) 2012-2018 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
C++
amgcl/backend/vexcl_static_matrix.hpp
tkoziara/parmec
mit
33,283
876
codeparrot/github-code
bd3cd6bad0959c0c2146ddac90774cae2a8fd97093ca9700a51306db1088bd12
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2015 Neustar Inc. * * 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 th...
C++
src/c++/src/cn/CNContact.cpp
neustar/registrar_toolkit
mit
4,776
201
codeparrot/github-code
b47a6d33fd0a8e10c062858bb780abb0f3424b3e6db390b9e4247a7944e88c0f
#region License /** * Copyright (c) 2010-2012 Lightning Development Studios <lightningdevelopmentstudios@gmail.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 without restrictio...
C#
CircuitCrawlerEditor/FormEffectListEditor.Designer.cs
LightningDevStudios/CircuitCrawlerEditor
mit
5,601
157
codeparrot/github-code
5535532491c23a80c300fd8cb7339b0833bd9827201c56650386158aa0e55690
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * (C) 2012 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpiimpl.h" #include "topo.h" /* -- Begin Profiling Symbol Block for routine MPI_Ineighbor_allgather */ #if defined(HAVE_PRAGMA_WEAK) #pragma weak...
C
lec-6/mpi/mpich-3.1.4/src/mpi/topo/inhb_allgather.c
syftalent/dist-sys-exercises-1
mit
8,371
227
codeparrot/github-code
0397a0fd22c07a1bef69e1435080c1124f80c9fe75af6b315d6d00efb2b268a5
<?php /* UniversalBundle:Default:plan.html.twig */ class __TwigTemplate_7b8202e5b177b89b0e50e2ed6008285aaa395fc6c2b808e80cf824e80ad3b346 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("::base.html...
PHP
app/cache/dev/twig/7b/82/02e5b177b89b0e50e2ed6008285aaa395fc6c2b808e80cf824e80ad3b346.php
koumba/monsiteweb.com
mit
1,536
53
codeparrot/github-code
fb5bd11eb2c636c5126df7056343c326ef25daca9fcdc84beff23beabeccbcc4
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSFormsApi { #region Delegates #pragma warning disable #pragma warning restore #endregion /// <summary> /// CoClass ReturnSingle /// SupportByVersion MSForms, 2 /// </summary> [Supp...
C#
Source/MSForms/Classes/ReturnSingle.cs
NetOfficeFw/NetOffice
mit
3,793
137
codeparrot/github-code
72200b49928ceb868e774a1e8f6403ac43be3c312df135471f93993613d81c82
package br.ufsc.lehmann; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.str...
Java
artigo-helper/src/main/java/br/ufsc/lehmann/HASLProcessing.java
lehmann/ArtigoMSM_UFSC
mit
2,767
89
codeparrot/github-code
27158553e5cc38d82f814252238e452c08ebc56c6e0e8a9c0717bce98a09e7b8
var AppViewModel = can.DefineMap.extend({ sessionPromise: { value: function(){ return can.ajax({ url: "/api/session" }); } }, email: "string", password: "string", signUp: function(event){ event.preventDefault(); this.sessionPromise = can.ajax({ url: "/api/users", ...
JavaScript
docs/can-guides/commitment/recipes/signup-simple/4-logout.js
gsmeets/canjs
mit
829
42
codeparrot/github-code
b192cd04a3d59f869237b6279ea23129122b53cf41fe25d6537e7604d2b7dc18
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Common Functions &mdash; CodeIgniter 3.0.0 docume...
HTML
user_guide/general/common_functions.html
a1000ton/PIV
mit
31,444
605
codeparrot/github-code
ee21573cda7e1ad70ed62d59c40d99c490f4c96bad367fca9ef291b1b0736b71
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using ManagedBass; using osu.Framework.Audio.Track; namespace osu.Framework.Audio.Sample { public sealed class SampleChannelBass : SampleChannel, IBas...
C#
osu.Framework/Audio/Sample/SampleChannelBass.cs
EVAST9919/osu-framework
mit
4,895
148
codeparrot/github-code
1ce46bf0bf82770c7db045c62e6630c9e35ef3271fdfd97db5e3de12e162146f
package ibmTest; import static org.junit.Assert.assertTrue; import org.junit.Test; import org.junit.Before; import ibm.Cell; import ibm.Ball; import ibm.Model; import ibm.AnchorSpring; public class AnchorSpringTest { Model model; Cell cell0, cell1; double r; @Before public void SetUp() { model = new Model(...
Java
test/ibmTest/AnchorSpringTest.java
tomasstorck/diatomas
mit
3,527
113
codeparrot/github-code
c397063fb1fdf1e00d4e8ba27647390ca759fe7adea99284680cf812626d4d58
package org.apache.maven.cli.transfer; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
Java
core/src/test/resources/maven-3-trunk/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
gems-uff/oceano
mit
3,190
90
codeparrot/github-code
b005a7490cada5e820c1cc3f94e8fca82a63ff5251d084ec5b923eba0902334e
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.uff.ic.oceano.core.tools.metrics.extractors.java; /** * * @author wallace * @author dheraclio */ import br.uff.ic.oceano.JavaProjectsHelper; import br.uff.ic.oceano.core.model.transiente.Language; import ...
Java
core/src/test/java/br/uff/ic/oceano/core/tools/metrics/extractors/java/TestNSF.java
gems-uff/oceano
mit
970
32
codeparrot/github-code
13042579fd13f2decf42e9f70267714485d39865126157285f77b8c2fab71261
namespace UnityEngine.Experimental.Rendering { public enum LightArchetype { Punctual, Area, Projector }; //@TODO: We should continuously move these values // into the engine when we can see them being generally useful [RequireComponent(typeof(Light))] public class AdditionalLightData : MonoBehaviou...
C#
Assets/ScriptableRenderPipeline/AdditionalLightData.cs
jyb125/ScriptableRenderLoop
mit
1,616
51
codeparrot/github-code
6d69b40695c45d4edade26f8fa2560d8ae4cdd6d2f7ca8de1019f8d213285d95
namespace Ekin.Clarizen { public class Action { /// <summary> /// The url of the web service to call /// </summary> public string Url { get; set; } /// <summary> /// The http method /// Possible values: GET | PUT | POST | DELETE /// </summary> ...
C#
Ekin.Clarizen/Common/action.cs
ekincaglar/clarizen
mit
1,046
36
codeparrot/github-code
3e903249b103ef84bd5b7b37c1e7e076e062efcbcc4be695844d0c201d3d77cc
#!/bin/sh J2M_USB_SINK=1 J2M_BLU_SINK=2 if [[ -z $J2M_AUDIO_SINK ]] then echo "Setting default audio sink to USB" # default to usb sink if not set export J2M_AUDIO_SINK=$J2M_USB_SINK fi #switch from USB to Bluetooth if [[ $J2M_AUDIO_SINK -eq $J2M_USB_SINK ]] then # gets the pulseaudio index for bluetooth devi...
Shell
switch_source.sh
jravey7/Joe2Music
mit
1,343
54
codeparrot/github-code
9ea65d91fd706a41d4415bbc77e664de66af7080171884bc5a8085beaf10d871
#JOHN CONWAY'S GAME OF LIFE import RPi.GPIO as GPIO import time import random import serial import string from plotter import mybuffer MAXGENERATIONS = 4000 DISPLAY = True gamecount = 0 maxgenfold = '' def toggledisplay(pin): global DISPLAY p.turnondisplay() p.loadcustomchars(fullblock=False) DISPLAY = not DI...
Python
myscripts/foldgame.py
tachijuan/python
mit
3,016
117
codeparrot/github-code
da23ccaa5ad4787d736cfacf3dc5aa3102dc75d760e1961b8429bf2250df8523
package gridas import ( "bytes" "fmt" "io/ioutil" "net/http" "net/url" "strings" "time" "code.google.com/p/go-uuid/uuid" "labix.org/v2/mgo/bson" "github.com/crbrox/gridas/mylog" ) //Petition is a representation from the request received. Header fields are cooked to represent //the final request meant to ...
GO
petition.go
crbrox/gridas
mit
3,771
127
codeparrot/github-code
989eb00f9ca540e1643c8740e7e5b2ec4836cefae7bc214b1fb534d59ae6eadd
/*The MIT License (MIT) Copyright (c) 2014 PMU Staff 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, merge, pub...
C#
Client/Menus/mnuMissionBoard.cs
Sprinkoringo/PMU-Client
mit
14,506
367
codeparrot/github-code
f1a3ed1c0491f7e57584f971910a36245732a91f873f9c38b2bc901d59b99443
import Entity, { printMessage, action, time, state } from "Entity"; function formatMoney(amount) { return amount.toFixed(2); } export class Till extends Entity { name() { return 'till' } actions() { return [ action( "Look.", () => { printMessage(`There is $${formatMone...
JavaScript
app/webpack/entities/circleBurger/till.js
TEAMBUTT/LD35
mit
750
35
codeparrot/github-code
888cbc5029f790ad11b990c8d9cdcb36c426e7258914be1780e582020811d822
const cppIsPalindrome = require('palindrome'); const PALINDROME_IMPL = { /** * c++ palindrome approach * * Third party MIT library * https://github.com/zzarcon/palindrome * * Forked to add some tests :) * https://github.com/seriousben/palindrome/tree/add-tests * * It ignores spaces */ ...
JavaScript
server/palindrome.js
seriousben/ocr-feed
mit
1,198
64
codeparrot/github-code
806dca50babcdf310996bed41dd55bf0ad82acef05a93fa90b8fcb54c47afc38
import React, { Component } from 'react' import * as R from 'ramda' import { connect } from 'react-redux' import { compose, mapProps, setDisplayName } from 'recompose' import { StyleSheet, View, FlatList } from 'react-native' import { getEditingProductsIds } from 'Coopcon/data/order/selectors' import Product from './co...
JavaScript
mobile/activities/EditOrder/index.js
weirdsoft/coopcon
mit
1,432
57
codeparrot/github-code
9b146e3f97f8cf5cd0f378ae7dfef734bac0c450af27972c6d3636db52057c8c
#!/bin/sh # Text color variables txtund=$(tput sgr 0 1) # Underline txtbld=$(tput bold) # Bold bldred=${txtbld}$(tput setaf 1) # red red=${txtbld}$(tput setaf 1) # red bldblu=${txtbld}$(tput setaf 4) # blue blue=${txtbld}$(tput setaf 4) # blue bldwht=${txtbld}$(tput setaf 7) # white txtrst=$(...
Shell
install_vhost.sh
teerasarn/project1
mit
6,948
271
codeparrot/github-code
b562de03f33782f07540f178288fcd9a092196c0722f057f97a75778425d21d9
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
C++
src/Core/ImportExport/Nrrd/NrrdIEPlugin.cc
moritzdannhauer/SCIRunGUIPrototype
mit
7,062
261
codeparrot/github-code
e608cccca01c025dc8dccb49acb0e95337226829f5de67fdc1275a0e00b9b108
<?php namespace Rad\Configure; use ArrayAccess; use JsonSerializable; use Rad\Configure\Engine\PhpConfig; use Rad\Core\SingletonTrait; use Serializable; /** * RadPHP Config * * Config is designed to simplify the access to, and the use of, configuration data within applications. * * @package Rad\Configure */ cl...
PHP
Config.php
radphp/configure
mit
7,137
297
codeparrot/github-code
0154732836f806dc8511b54dbfc71659f4b1027994bcb19ee9b760a4893879a8
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Upgrading from 2.1.3 to 2.1.4 &mdash; ...
HTML
user_guide/installation/upgrade_214.html
andreproxd/descubre_turismo
mit
19,214
337
codeparrot/github-code
1354164a2df4f5ce5bd52bb7fffcc03930732dece3c8cbd53c506aff45846a8d
<?php /* * This file is part of the SymfonyIdAdminBundle package. * * (c) Muhammad Surya Ihsanuddin <surya.kejawen@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SymfonyId\AdminBundle\Crud\ActionHandler; us...
PHP
Crud/ActionHandler/CreateUpdateActionHandler.php
SymfonyId/SymfonyIdAdminBundle
mit
3,144
101
codeparrot/github-code
46198d98e3e9f8209e29d820957f248a0ca19b9be222a8e8c5ee6f6919f44735
/* * * Copyright (c) 2006-2011 Sam Collett (http://www.texotela.co.uk) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version 1.3.1 * Demo: http://www.texotela.co.uk/code/jquery/numeric/ * */ (func...
JavaScript
resources/js/numeric.js
federicopede/MyMoney
mit
11,236
354
codeparrot/github-code
6f4814cb8d2ab8cf4d2773fe41510a82854ca07b3db3116b24e7f033aabdd239
package com.madisp.bad.decor; import android.util.TypedValue; import android.view.KeyEvent; import android.view.inputmethod.EditorInfo; import android.widget.EditText; import android.widget.TextView; import com.madisp.bad.eval.BadConverter; import com.madisp.bad.eval.BadVar; import com.madisp.bad.eval.Scope; import co...
Java
lib/src/main/java/com/madisp/bad/decor/EditTextDecorator.java
madisp/bad
mit
2,079
68
codeparrot/github-code
2df8ef3b67702aefc9b296578832dda5eab58d6fb43f8dbbd7cd40337646edf6
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/vendor/bootstrap.css" /> <style type="text/css"> .node > polygon:last-child:hover { stroke: #777 !important; } </style> <script src="js/vendor/jquery-1.1...
HTML
2.svg_interaction.html
olojiang/SvgDemo
mit
44,333
389
codeparrot/github-code
297eee6ec9236f052c802a4e801af24e22b0576d15855d5755e76d9b6d0a978b
//*********************************************************** // This program demonstrates that an array element is passed // to a function like any other variable. // // By: JESUS HILARIO HERNANDEZ // Last Updated: October 27, 2016 //*********************************************************** #include <iostream> using...
C++
Chapter-7-Arrays/7.8-arrays-as-function-arguments/7-16.cpp
jesushilariohernandez/DelMarCSi.cpp
mit
915
36
codeparrot/github-code
44ce7d2db6ada6dc68f970293cd7deb666b3e2f1f0f0d9606141c41821886b9f
using Microsoft.Win32; using SyncList; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Windows.Forms; namespace RemoteWindowsAdministrator { public sealed class DprComputerSoftware: IDataPageRow { private string _computerName; public string ComputerName ...
C#
Remote Windows Administrator/Remote Windows Administrator/DprComputerSoftware.cs
beached/RemoteWinAdmin
mit
7,419
176
codeparrot/github-code
d34c6b1bf6957d5235414c9bb6db6be4469571de825e29683afba980adebe7fd
package com.pkrharrison.tablegen.hands; import com.pkrharrison.gameplay.Card; public final class TwoPair extends RankedHand { private Card.Rank rank1; // higher ranked pair in the two pair private Card.Rank rank2; // lower ranked pair in the two pair private Card.Rank kicker; private TwoPair(Card[] cards) { s...
Java
src/com/pkrharrison/tablegen/hands/TwoPair.java
rdanek/poker-harrison
mit
2,369
121
codeparrot/github-code
ee9ec36af14b5b57f30f4eabd0145c62ab397370ebda768df469f0bd5f52b124
$.fn.ajaxGetLink = function(target){ var collection = this; this.each(function(){ $(this).click(function(){ target.load( this.href ); return false; }) }); } $.fn.ajaxForm = function(){ this.unbind('submit').submit(function(){ data = $(this).serializeArray(); $.post(this.action, data...
JavaScript
public/javascripts/admin.js
adamcarlile/workbench
mit
4,315
184
codeparrot/github-code
6d08bec0be2e71582fc54aeeee0849bfbd74385c899798adfdcb1a214b2a8868
from __future__ import absolute_import import json, math from .schema import SolrResponse, SolrResult class SunburntJSONEncoder(json.JSONEncoder): def encode(self, o): if isinstance(o, SolrResponse): return self.encode(list(o)) return super(SunburntJSONEncoder, self).encode(o) ...
Python
sunburnt/json.py
rlskoeser/sunburnt
mit
1,190
39
codeparrot/github-code
6f3bd5da334f5d8dd80dc9c8cf6714a2668c815c8b8095c5745003f746e631c2
using IrcClientCore; using OpenGraph_Net; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; u...
C#
WinIRC/Ui/MessageLine.xaml.cs
rymate1234/WinIRC
mit
6,593
226
codeparrot/github-code
1344845e01ba96de38d80641f27e491386a67d9d8ab25ae56063b4bfef2491f9
''' Created on June 09, 2014 @author: sscepano ''' # This one serves for the starting point import logging import traceback import multiprocessing ##################################################### # imports distributor ##################################################### from distribute import task_manager as D...
Python
CI_urban_rural/__main__.py
sanja7s/CI_urban_rural
mit
1,723
55
codeparrot/github-code
2ed4ff9721f4e3e8e418d0c1e30504712c020d15311c9c51a93c0023247d2286
namespace ThesesSystem.Web.Areas.Administration.Controllers { using AutoMapper; using AutoMapper.QueryableExtensions; using System.Linq; using System.Net; using System.Web.Mvc; using ThesesSystem.Data; using ThesesSystem.Models; using ThesesSystem.Web.Areas.Administration.ViewM...
C#
ThesesSystem/ThesesSystem.Web/Areas/Administration/Controllers/ThesisThemesController.cs
nikolay-radkov/ThesesSystem
mit
2,809
102
codeparrot/github-code
4549c50bf67802ac6c589956b78fd3479938ef606cfa81b37ff0ff98a37b6b26
using Microsoft.OData.Edm; using System; using System.Collections.Generic; using System.Linq; namespace QRest.Semantics.OData.Metadata { static class EdmExtensions { public static bool IsDictionary(this Type type) { return new[] { type }.Concat(type.GetInterfaces()) ...
C#
src/QRest.Semantics.OData/Metadata/EdmExtensions.cs
pamidur/queryable-rest
mit
1,214
32
codeparrot/github-code
8d2b6df228cf4ad79a6885cb69bee595dc239fca401e5bef9aebf2640df705fb
function triggerCancelEvent(curThis, value) { $(curThis).html(value); $(curThis).removeClass('isActive'); $(curThis).click(function(e2) { hasClicked(this, e2); }); } function triggerSaveEvent(curThis, newValue) { $(curThis).html($(curThis).find('input')).append($('<img src="/load.gif" class="loader" />')); ...
JavaScript
static/script.js
sbstjn/mongoclikker
mit
1,865
49
codeparrot/github-code
934a5f847eea6b0367177e8608ccbc727a5747b581b4c1c3443473c75a46446b
var bignum = require('bignum'); var prime_size = 128; function pq() { var p = bignum.prime(prime_size); var q = bignum.prime(prime_size); this.p = p; this.q = q; this.pq = p.mul(q); this.t = p.sub(1).mul(q.sub(1)); } var a = new pq(); var b = new pq(); var c = new pq(); var d = new pq(); var N ...
JavaScript
index.js
dtudury/keys
mit
1,003
39
codeparrot/github-code
1ff9448ee11d8127f60211e9ed2ed1a8b05e907fcfccbe8256dbbeb0507d08ed
import { ChartComponent } from '../../chart.component'; import { ChangeDetectorRef } from '@angular/core'; import { Component, ElementRef, HostListener, OnChanges, OnInit, SimpleChange } from '@angular/core'; import * as d3 from 'd3'; import * as _ from 'lodash'; @Component({ selector: 'main-and-nav', templa...
TypeScript
src/app/linnovate-angular-charts/components/main-and-nav/main-and-nav.component.ts
dereklin/ng-ws-ngrx-hmr-heroku
mit
7,637
230
codeparrot/github-code
419ca62396e21b2da3cb853ee4d1d86ae7a7fda1d20cb6b58d192bf12b5ade96
<?php class Order extends CI_Model{ public function get_orders(){ $query = "SELECT shippings.id, billings.name, shippings.created_at, billings.address, shippings.shipping_total, shippings.status FROM shippings JOIN billings ON shippings.billings_id = billings.id ORDER BY shippings.id DESC"; return $...
PHP
application/models/Order.php
farmertran/ecommerce
mit
2,643
32
codeparrot/github-code
efa104d82830d4673694de4e72f93d539eb0bd953896c8b95d493a1248053d18
/** * helpers.c * * Helper functions for Problem Set 3. */ #include <cs50.h> #include "helpers.h" /** * Returns true if value is in array of n values, else false. */ bool search(int value, int values[], int n) { if (value < 0) { return false; } for (int i = 0; i <= n; i++) { ...
C
pset3/find/helpers.c
Charnelx/CS50
mit
862
54
codeparrot/github-code
526886bd45cc8b1ba27459b4c852fd990b57a47e8cb94ea42a8ef868643e911c
var config; if(process.argv.length == 2){ config = require("cson").load("config.cson"); } else { config = require("cson").load(process.argv[2]); } var TutorServer = require("@tutor/server"); var express = require("express"); config.modules = [] var restAPI = null; var startServer = function(restAPI){ // load ...
JavaScript
index.js
Welfenlab/tutor-corrector
mit
1,117
52
codeparrot/github-code
bdfa28d1d16b1542a9a6d680d03da6809e73a2b7ec6484b1ba3e9dabc290a8ab
using System.Collections.Generic; using AmplaData.AmplaData2008; using AmplaData.Binding.ModelData; namespace AmplaData.Binding { public class AmplaDeleteDataBinding<TModel> : IAmplaBinding where TModel : new() { private readonly List<TModel> models; private readonly List<DeleteRecord> records...
C#
src/AmplaData/Binding/AmplaDeleteDataBinding.cs
Ampla/Ampla-Data
mit
1,566
48
codeparrot/github-code
8af96ac4ed3488255ab73614533849257dc5e08ac69c8ee5e1f0a0b936a856fd
/** * @namespace Utils classes and functions. */ dwv.utils = dwv.utils || {}; /** * @function Capitalise the first letter of a string. */ dwv.utils.capitaliseFirstLetter = function(string) { return string.charAt(0).toUpperCase() + string.slice(1); }; /** * @function Clean string. */ dwv.utils.cleanString = ...
JavaScript
dwv/src/utils/string.js
SabrinaA/Image_Viewer
mit
1,528
58
codeparrot/github-code
54b09b3e5f286f70941e41259cf07f22831efd7f951ab0b3729082e6cc3100ba
/*! * Mowe Gallery v1.0.0 (http://letsmowe.org/) * Copyright 2013-2015 Noibe Developers * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE) */ var main = document.getElementById('main'); var hero = document.getElementById('hero-gallery'); var gallerySlides = document.getElementById('hero-gall...
JavaScript
js/gallery.js
magmafantastico/promafa-beta
mit
4,199
212
codeparrot/github-code
bd164fb6dc2ea7a165e15bebe6505065e78d9d31fc4a5c3739453b0c9d766a46
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="EntityContext.cs" company="James Dibble"> // Copyright 2012 James Dibble // </copyright> // ------------------------------------------------------------------------------------...
C#
ApplicationFramework/Data/Persistence.EntityFramework/EntityContext.cs
james-dibble/JamesDibbleAssemblies
mit
3,751
95
codeparrot/github-code
fbb679af789aa5c9d08fb150478ec44fb9b9efd3cce23e7da3e01fa83be51b83
package simulation; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( Stri...
Java
src/test/java/simulation/AppTest.java
MiszelHub/PopulationGrowthSimulation
mit
638
39
codeparrot/github-code
a926cb17da81539774b3391d4f2faf913a372b67821827aa6d450cf050049de7
module.exports = { init: function( req, res ) { dc = require( './dCore' ); nsmarty = require( 'nsmarty' ); var route = cur_route; if ( cur_route === 'home' ) { route = '' } var templates = []; /* clear cache */ nsmarty.clearCache('./master.tpl'); /* Get route templates */ dc.get...
JavaScript
templates_n.js
dAcnapyx/BSCNWAD
mit
2,873
105
codeparrot/github-code
e18ffdde8fbb1fa7d53027eedae113c6707f2e458a0c8d4c056479cdc03d3ae1
/* * * enabled on flag 'enable_idle_timeout' * js script is only loaded when the flag is enabled * */ // 600,000ms = 10 minutes var timeoutLength = 600000; var pretimeoutLength = 300000; var timeoutTimer = setTimeout(runtimeout, timeoutLength); var pretimeoutTimer = setTimeout(preruntimeout, pretimeoutLength); $("bo...
JavaScript
assets/bootstrap/idletimeout.js
v0lture/v0ltureDB
mit
850
33
codeparrot/github-code
59ae80a24a4eb742633e5fba1493fdba539f24682436501d8df0cd35a4ffc76b
<?php /* * Copyright 2014 Michał Strzelczyk * mail: kontakt@michalstrzelczyk.pl */ namespace Modules; class Datetime { /** * Datetime configuration * * @var array */ public $options = array(); /** * Inject config * * @param type $options */...
PHP
Datetime.php
Michal-St/phalcon-schedule
mit
710
39
codeparrot/github-code
67da8669b64a588f052fa9d0b24c9ffbb1743272a9eb71648925bdbc1461873d
<html id = "html"> <meta charset="UTF-8"> <head> <link href="css/project4.css" rel="stylesheet"> </head> <body> <!-- ↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 界面一 ↓↓↓↓↓↓↓↓↓↓↓ --> <div class = "flex"> <div class="flex-box"> <div class="flex-box1 "> <div class = "flex-box1-pic1"></div> <div class = ...
HTML
work-2.html
lhzslpr/lhzslpr.github.io
mit
7,258
229
codeparrot/github-code
4490ebe7d11b832c301a706ea7b4aa67a91fd85a3fda85cc5c070994740cce0d
package coatapp.coat; final class WeatherConverter{ public enum WeatherType{ clearDay, clearNight, rain, snow, sleet, wind, fog, cloudy, partlyCloudyDay, partlyCloudyNight, hail, thunderstorm, tornado, ...
Java
app/src/main/java/coatapp/coat/WeatherConverter.java
xlpnic/coat
mit
1,820
76
codeparrot/github-code
dc09eda75ee1702aaa8b95bab7cf46f35080866c1d31a1c65de5b52660ff2944
/*global define, setTimeout, console*/ define([ 'scalejs!core', './appbarBindings', 'text!./appbar.html', 'knockout', 'scalejs.mvvm' ], function ( core, appbarBindings, appbarViews, ko ) { 'use strict'; var registerBindings = core.mvvm.registerBindings, ...
JavaScript
scalejs.mobile-wp/scalejs.mobile-wp/appbar/appbar.js
lisovin/scalejs.mobile-wp
mit
3,869
132
codeparrot/github-code
d82c5564bce1460314dc94f2ae3361a4d5af0b894021dfd75068980da0f34cec
// Copyright (c) 2013 Elements of Programming Interviews. All rights reserved. #include <cassert> #include <iostream> #include <limits> #include <random> #include "./swap_bits.h" using std::cout; using std::default_random_engine; using std::endl; using std::numeric_limits; using std::random_device; using std::unifor...
C++
cpp/swap_bits.cc
adnanaziz/epicode
mit
956
39
codeparrot/github-code
d287cb1029e169bad5a80b4d4df76e8369a2ca18375797f8d5db7e6c4976cfea
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
HTML
themeforest-19374313-dexjobs-job-board-html-themplate/DexJobs_html_green/job-style-two.html
jackson-/hireblack.io
mit
25,291
453
codeparrot/github-code
e955aacc9edcf1bd27daba7913388e3b664bf60c3430af8fd78bba776aaa8539
#include "../include/JugadorAuto.hpp" JugadorAuto::JugadorAuto(const Tablero &t):max_profundidad(0){ std::pair<int, Tablero> aux(-1,t); arbol.AsignaRaiz(aux); } ArbolGeneral<std::pair<int, Tablero> > JugadorAuto::GetArbol(){ return arbol; } /* Precondicion: El nodo n tiene que ser una hoja */ void JugadorAuto::...
C++
Practicafinal/conecta4_pair/src/JugadorAuto.cpp
guillegalor/PracticasED
mit
7,060
263
codeparrot/github-code
f305c784e5b4fa0445898bd85e61115ca5bc9c45de0ebb8589b3aac3f5745b1e
/* * Lagged Fibonacci PRNG * Copyright (c) 2008 Michael Niedermayer * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licen...
C++
01_Develop/libXMFFmpeg/Source/libavutil/lfg.cpp
mcodegeeks/OpenKODE-Framework
mit
2,678
101
codeparrot/github-code
e7fb7250832eabdd720171dca41178c18944cff3a5b3da8998dbe03bd9206cfe
package io.scribeapp.settings; import java.util.ArrayList; import io.scribeapp.R; import io.scribeapp.input.Utils; import io.scribeapp.classifier.gesture.GestureLibraryClassifier; import android.app.Activity; import android.gesture.Gesture; import android.gesture.GestureLibraries; import android.gesture.GestureLibrary...
Java
app/src/main/java/io/scribeapp/settings/TrainGesturesActivity.java
piotrdubiel/scribeapp
mit
7,595
259
codeparrot/github-code
8761777ec2294e6aa7b6e5a356a74439e42f1c2246f13508f3389f1cedaec6be
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>equations: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.12.0-2.0.8/released/8.13.1/equations/1.2+8.10.html
coq-bench/coq-bench.github.io
mit
7,376
178
codeparrot/github-code
965ec40eec610b32aaaea6c68ef75e7bcaff0c74fd3a461e782d6f6a8f194cd8
#include <syscalls.h> #include <asm.h> #include <sched.h> #include <signal.h> #include <stdio.h> void syscall_pause(void) { } int syscall_exit(unsigned int code) { printf("Killing current process %d with code %d\n", sched_getpid(), code); return (int) sched_terminate_process(sched_getpid(), code); } int syscall_ge...
C
Kernel/syscall/proc.c
pcostesi/tp2-so-2015b
mit
658
40
codeparrot/github-code
07eebe0a966ee1ac2dfee2f5a0180b508b8f41265f2c3a8e893fd9b00aef5094
<?php namespace Metaphp; use InvalidArgumentException; use DateTime; use DateTimeZone; /** * a light-weight alternative to "Bean"-like getter, setters. */ trait Attributes { /** * `__clone` resets change history for cloned instances * * @api public * @return array */ function __clone() { ...
PHP
src/Attributes.php
wilmoore/attributes.php
mit
6,716
271
codeparrot/github-code
d31cfed5cd1ed8768dab7d88646170ad36b97e2ef12985ee6b70002eca844822
# -*- coding: utf-8 -*- """Base module for unittesting.""" from plone.app.testing import applyProfile from plone.app.testing import FunctionalTesting from plone.app.testing import IntegrationTesting from plone.app.testing import login from plone.app.testing import PLONE_FIXTURE from plone.app.testing import PloneSandb...
Python
src/newe.sitecontent/newe/sitecontent/testing.py
a25kk/newe
mit
1,963
66
codeparrot/github-code
2c5f163add80cc76365eedaf4ef8c23d74b156476019f3520d7583f4c41c074b
using BugsnagUnity.Payload; using System; using System.Collections.Generic; using UnityEngine; namespace BugsnagUnity { class NativeClient : INativeClient, IFeatureFlagStore { public Configuration Configuration { get; } public IBreadcrumbs Breadcrumbs { get; } public IDelivery Delive...
C#
src/BugsnagUnity/Native/Fallback/NativeClient.cs
bugsnag/bugsnag-unity
mit
4,145
173
codeparrot/github-code
5c783b4c859df64e4e52db5a9e1d4ee1c2160bcb7538959a9feb9995e8a52dfd
<link rel="stylesheet" href="${basePath}/resources/common/libs/fileinput/css/fileinput.min.css"> <style> #projectaddstep2 .krajee-default.file-preview-frame .kv-file-content { height: auto; } #projectaddstep2 .krajee-default .file-footer-caption { width: 100px; } </style> <script src="${basePath}/resources/c...
HTML
AdminEAP-web/src/main/webapp/WEB-INF/views/SkillManage/Bzgf/addIndex.html
Squama/Master
mit
6,214
177
codeparrot/github-code