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
dffcc2d1bdceaa459a737147a196aa4f93957b884618e0d0c569655b3ecc9a2b
"""Core implementation of import. This module is NOT meant to be directly imported! It has been designed such that it can be bootstrapped into Python as the implementation of import. As such it requires the injection of specific modules and attributes in order to work. One should use importlib as the public-facing ver...
Python
www/src/Lib/importlib/_bootstrap.py
kikocorreoso/brython
bsd-3-clause
39,424
1,169
codeparrot/github-code
818feb75c3361de1b681db66aeafdb6700789633cf08eff099e87b4e4ce5a897
/** * @file * Sequential API Main thread module * */ /* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistri...
C
lwip/src/api/tcpip.c
PowerOlive/badvpn
bsd-3-clause
17,305
588
codeparrot/github-code
af6b1d92a96ae5a0d8a050e241ad962d0c048f0474dde07ecb78536418f1b4ea
/* * This file is part of the Soletta Project * * Copyright (C) 2015 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain ...
C
src/modules/flow/console/console.c
bdilly/soletta
bsd-3-clause
11,591
312
codeparrot/github-code
22c0ba64df69b29a622b12a2a9e973c84716de7a498f6a533f404bcdc4c1e53c
/* * $RCSfile: AffineBicubic2OpImage.java,v $ * * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * * Use is subject to license terms. * * $Revision: 1.1 $ * $Date: 2005/02/11 04:56:12 $ * $State: Exp $ */ package com.lightcrafts.media.jai.opimage; import java.awt.Rectangle; import java.awt.geo...
Java
lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/AffineBicubic2OpImage.java
MarinnaCole/LightZone
bsd-3-clause
59,850
1,638
codeparrot/github-code
f5b20fd10e1509d6a8ee3bebff754a47427232b9306dfa02564493bd20f610bf
/*--------------------------------------- */ /* RESET */ * { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; } /*--------------------------------------- */ /* BASIC COMPONENTS */ /* Base card size, colors, and fonts. */ article { width: 640px; height: 360px; display: block; overflow: hid...
CSS
public/css/base_style.css
coogle/phass-dev
bsd-3-clause
10,924
642
codeparrot/github-code
e9fedee75b5ac01c5e2483edb3a8990cc3ff92a46570e9f4aa143f9dd3f350f2
<?php namespace app\classes; use Yii; /** * Class permettant de donner l'accès aux pages */ class Access { /** * * @return boolean */ public static function UserIsConnected(){ if(Yii::$app->user->isGuest || Yii::$app->session['User'] == null) return false; else return true; } /** * *...
PHP
classes/Access.php
Petrus3D/Monark2
bsd-3-clause
1,248
71
codeparrot/github-code
bd8d91ae26d71fb3740f946c8cdd3f6a4f73aaf30b76b3c45db3c57111d7e2b8
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react...
JavaScript
src/renderers/dom/client/syntheticEvents/__tests__/SyntheticEvent-test.js
cody/react
bsd-3-clause
3,519
103
codeparrot/github-code
0e7232a05c7f52104506a7583884577343a6528d5ba2647f56cc083c74b0a0a8
#! /usr/bin/python # Version info: $Id: NonLinearFit2D.py 230 2010-06-30 20:20:14Z zunzun.com $ # the pythonequations base is located up one directory from the top-level examples # directory, go up one directory in the path from there for the import to work properly import sys, os if os.path.join(sys.path[0][:sys.p...
Python
zunzunCode/pythonequations/Examples/SimpleExamples/NonLinearFit2D.py
JMoravec/unkRadnet
bsd-3-clause
1,888
39
codeparrot/github-code
d37dbe1636ba0ef407efdc1ea23bde6533928fdae8615fdad120f57623c48da7
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__unsigned_int_max_multiply_62a.cpp Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-62a.tmpl.cpp */ /* * @description * CWE: 190 Integer Overflow * BadSource: max Set data to the max value for unsigned ...
C++
xcc/test/juliet/testcases/CWE190_Integer_Overflow/s05/CWE190_Integer_Overflow__unsigned_int_max_multiply_62a.cpp
JianpingZeng/xcc
bsd-3-clause
3,160
121
codeparrot/github-code
1725fc2a2256a5bc3c84b4727c94d54c011dff7b00af75c52f927144413b52e2
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include <vector> #include "base/at_exit.h" #include "base/message_loop.h" #include "chrome/browser/chrome_plugin_service_filter.h"...
C++
chrome/browser/chromeos/gview_request_interceptor_unittest.cc
gavinp/chromium
bsd-3-clause
9,653
273
codeparrot/github-code
435ce00519c68cd0ee82c1850961bcfa77a1d113d79872b70df423fe0ea4c8f9
//== Store.h - Interface for maps from Locations to Values ------*- C++ -*--==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
C
native_client/toolchain/pnacl_mac_x86/host_x86_64/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
leighpauls/k2cro4
bsd-3-clause
11,435
292
codeparrot/github-code
059f30bbada5ec4642836d56355e73d6f825d94a98b5ef83a4856813f7111407
#ifndef DQCONNECTION_H #define DQCONNECTION_H #include <QObject> #include <QVariant> #include <QSqlDatabase> #include <QSqlQuery> #include <QExplicitlySharedDataPointer> #include <dqmodelmetainfo.h> #include <dqindex.h> class DQModelMetaInfo; class DQSql; class DQConnectionPriv; template <typename T> inline DQModelM...
C
src/dqconnection.h
benlau/dquest
bsd-3-clause
5,134
189
codeparrot/github-code
53552aed62548b3d2bc7edb33405a0df781ea28d14b1584bf323ccc67b0068aa
using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Http; using OrchardCore.DisplayManagement.Entities; using OrchardCore.DisplayManagement.Handlers; using OrchardCore.DisplayManagement.Views; using OrchardCore.Environment.Shell; ...
C#
src/OrchardCore.Modules/OrchardCore.Microsoft.Authentication/Drivers/MicrosoftAccountSettingsDisplayDriver.cs
OrchardCMS/Brochard
bsd-3-clause
4,018
91
codeparrot/github-code
30bb752198fd9a84fb5d6f71eebf1034bec915eb680b3bf2cbcfdf93d56d8867
/* Copyright (c) 2013, Keripo All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
C#
beats2n/Assets/Scripts/Core/Audio/MusicPlayer.cs
Keripo/Beats2
bsd-3-clause
3,215
121
codeparrot/github-code
2366fb05c6bdd1934880e811d995146ff33d66ef524ca9bebaffb986378429ce
from django.utils.six.moves.builtins import str # # django-atompub by James Tauber <http://jtauber.com/> # http://code.google.com/p/django-atompub/ # An implementation of the Atom format and protocol for Django # # For instructions on how to use this module to generate Atom feeds, # see http://code.google.com/p/django-...
Python
schedule/feeds/atom.py
nharsch/django-scheduler
bsd-3-clause
22,525
517
codeparrot/github-code
3cfb1b400d8a41302876a4873056ee4597fcc64664fd2b1a6900f55d700556e4
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__free_char_alloca_07.c Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml Template File: sources-sink-07.tmpl.c */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: alloca Data buffer is allocated ...
C
xcc/test/juliet/testcases/CWE590_Free_Memory_Not_on_Heap/s04/CWE590_Free_Memory_Not_on_Heap__free_char_alloca_07.c
JianpingZeng/xcc
bsd-3-clause
4,180
141
codeparrot/github-code
ea345f55672b9f1aacc1a109be45d48d4affd0e2ce5920c0efed7e93b47befec
#undef I3__FILE__ #define I3__FILE__ "commands.c" /* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) * * commands.c: all command functions (see commands_parser.c) * */ #include <float.h> #include <stdarg.h> #incl...
C
src/commands.c
pablospe/i3
bsd-3-clause
64,805
2,057
codeparrot/github-code
62421714e5b775b3e18469c67222aa5d606c6d49fe8707d4464f0b1a06d4c76a
<?php namespace app\controllers; use Yii; use app\models\User; use app\models\UserSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\AccessControl; use yii\filters\VerbFilter; class UserController extends Controller { public function behaviors() { return [ ...
PHP
controllers/UserController.php
tugotron/lin_stor
bsd-3-clause
4,134
159
codeparrot/github-code
b449189078e399df34f4f991e9554e76a551cb6dfda5edec4ed15c74df67468a
# encoding: utf-8 require_relative '../../../../../lib/carto/http/client' module CartoDB module Datasources module Url # BoxAPI module is a replacement for Boxr, which requires Ruby >= 2. # Most of this code has been extracted from Boxr. # This should be migrated when we upgrade to Ruby 2. ...
Ruby
services/datasources/lib/datasources/url/box.rb
codeandtheory/cartodb
bsd-3-clause
20,413
553
codeparrot/github-code
34c53e9add83b024425108c77fec5d9673f4052547194dd5264c56a3cdd35264
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE483_Incorrect_Block_Delimitation__semicolon_11.c Label Definition File: CWE483_Incorrect_Block_Delimitation.label.xml Template File: point-flaw-11.tmpl.c */ /* * @description * CWE: 483 Incorrect Block Delimitation * Sinks: semicolon * GoodSink: Absence o...
C
xcc/test/juliet/testcases/CWE483_Incorrect_Block_Delimitation/CWE483_Incorrect_Block_Delimitation__semicolon_11.c
JianpingZeng/xcc
bsd-3-clause
3,169
127
codeparrot/github-code
d6f47bfdba72f75a7074d4b79dbd80e1d537273bb59df1fca7a01bcfa57b483a
/* * Copyright (c) 2013 Neusoft Corperation., Ltd. */ #ifndef _NGX_HTTP_IP_BLACKLIST_H_INCLUDED_ #define _NGX_HTTP_IP_BLACKLIST_H_INCLUDED_ #include <ngx_rbtree.h> #define NGX_HTTP_IP_BLACKLIST_MOD_NUM 8 #define NGX_HTTP_IP_BLACKLIST_ADDR_LEN 64 #define NGX_HTTP_BLACKLIST_MODE_LOCAL 0 #define NGX_HTTP_BLACKLIST_MO...
C
neusoft/ngx_http_ip_blacklist/ngx_http_ip_blacklist.h
0x08e/SENginx
bsd-3-clause
1,810
68
codeparrot/github-code
3ed80822ff147e5c42920500b9b729be9ee15b52d8389d5680369eb7fa8c6720
<?php namespace pgs\util; /** * Description of Filter * * @author pago */ final class Filter { private static $prefixes = array( 'Zend_Filter_Word_', 'Zend_Filter_', 'pgs\\util\\filter\\'); private function __construct() { } public static function __callStatic($name, $arguments) { $className = self::f...
PHP
lib/pgs/util/Filter.php
pago/pantr
bsd-3-clause
812
40
codeparrot/github-code
9d49aa8ef20a619f7400acc0ab304766b9ddda0b57e4e5a190676e6cf5312825
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__free_struct_static_32.c Label Definition File: CWE590_Free_Memory_Not_on_Heap__free.label.xml Template File: sources-sink-32.tmpl.c */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: static Data buffer is declared...
C
xcc/test/juliet/testcases/CWE590_Free_Memory_Not_on_Heap/s05/CWE590_Free_Memory_Not_on_Heap__free_struct_static_32.c
JianpingZeng/xcc
bsd-3-clause
3,615
127
codeparrot/github-code
8e7589b8a3f1db6ed6860ff4f8f5b87be8b82e196ffd8ed7ee2b7fba3a97370b
/*- * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abov...
C
sys/kern/uipc_domain.c
jhbsz/OSI-OS
bsd-3-clause
13,855
524
codeparrot/github-code
f60b68db2a8896b6089c480a15319d52fe09278d7ec97f3bd564664191497c06
class Spree::OrderCapturing # Allows for prioritizing payment methods in the order to be captured class_attribute :sorted_payment_method_classes self.sorted_payment_method_classes = [] # Allows your store to void unused payments and release auths class_attribute :void_unused_payments self.void_unused_payme...
Ruby
core/app/models/spree/order_capturing.rb
jordan-brough/solidus
bsd-3-clause
1,731
54
codeparrot/github-code
74cdbb7a44fbfafc694b1fd87921f2baf77049e824feb2a5bd9d60c1869ee97e
/* Copyright (c) 2010, NullNoname All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this ...
Java
src/mu/nu/nullpo/game/subsystem/mode/AvalancheVSDummyMode.java
PoochyEXE/nullpomino
bsd-3-clause
35,652
960
codeparrot/github-code
9289299e22c22529dffe79dfe2d045b8530e449c722e027e75d5c32babd59d77
/* Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. You may not use this file except in compliance with the License. obtain a copy of the License at http://www.imagemagick.org/script/license.php Unless required ...
C
include/magick/montage.h
mattjr/seafloorexplore
bsd-3-clause
1,784
89
codeparrot/github-code
9a3d40aa676dfb1f6035ce68bbab64530223553a6f37c710bd10037926bb096e
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_int64_t_67b.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml Template File: sources-sinks-67b.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Ma...
C++
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s05/CWE762_Mismatched_Memory_Management_Routines__new_array_free_int64_t_67b.cpp
JianpingZeng/xcc
bsd-3-clause
1,771
62
codeparrot/github-code
b3cc5ed23323bbe717b02f1878bee144ac1b8bfdb4276d64e22fca891081bbc4
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_fscanf_multiply_54e.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-54e.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: fscanf Read data from the console using fscanf()...
C
xcc/test/juliet/testcases/CWE190_Integer_Overflow/s03/CWE190_Integer_Overflow__int_fscanf_multiply_54e.c
JianpingZeng/xcc
bsd-3-clause
2,008
66
codeparrot/github-code
3c81dac61601920dcbff83b72d8250f7fcef986f335046a63408ee973221c233
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_MANAGEMENT_MANAGEMENT_UI_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_MANAGEMENT_MANAGEMENT_UI_HANDLER_H_ #include <memory>...
C
chromium/chrome/browser/ui/webui/management/management_ui_handler.h
ric2b/Vivaldi-browser
bsd-3-clause
9,175
225
codeparrot/github-code
dc12d4ac8c62fdcb99800950cd040ddd7673c404fa96c202a6dba4e9f5afe2af
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * Copyright (C) 2012 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
C++
Source/core/dom/ExecutionContext.cpp
xin3liang/platform_external_chromium_org_third_party_WebKit
bsd-3-clause
10,469
336
codeparrot/github-code
3a42f7aa428f4ad729ec48b5d0e504c7ab0259917327857107f319a738961108
/* * Copyright (C) 2010, 2011, 2012 Research In Motion Limited. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your...
C
third_party/WebKit/Source/WebKit/blackberry/WebKitSupport/FatFingers.h
leighpauls/k2cro4
bsd-3-clause
7,407
208
codeparrot/github-code
6502ff948c7d5ce975ccd4a157154fdda48fc153941e4cf368bb528d9ffbfcb6
package sagan.guides.support; import org.junit.Before; import org.junit.Test; import org.mockito.Answers; import org.mockito.Mock; import org.springframework.social.github.api.GitHubRepo; import org.springframework.web.client.RestClientException; import sagan.guides.GettingStartedGuide; import sagan.guides.Guide; impo...
Java
sagan-common/src/test/java/sagan/guides/support/GettingStartedGuidesTests.java
martinlippert/sagan
bsd-3-clause
5,036
140
codeparrot/github-code
1465c1d30c5b99ab6be9a350c2246d398164365583ecd065d9d23116b0e14ffe
/* * Quicktime Animation (RLE) Video Decoder * Copyright (C) 2004 the ffmpeg project * * 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...
C
chromium/src/third_party/ffmpeg/libavcodec/qtrle.c
windyuuy/opera
bsd-3-clause
17,422
527
codeparrot/github-code
842600959416a111782168f58017f41eeb782493c7945bae6378481f92943d21
/* ATS is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Authors: Ethan Coon (coonet@ornl.gov) Chonggang Xu (cxu@lanl.gov) */ //! Above and below-ground carbon cycle model. /*! This is a multi-le...
C++
src/pks/biogeochemistry/bgc_simple/bgc_simple.hh
amanzi/ats-dev
bsd-3-clause
6,023
190
codeparrot/github-code
353e260ba5e1ca4a229e5321603af547584f000a22d047c14ba99e36e3abac53
(function(global) { var WAITING_FOR_INVITE = 0; var INVITE_SENT = 1; var PLAYING_GAME = 2; var gameState = WAITING_FOR_INVITE; var board = {"cell0": null, "cell1": null, "cell2": null, "cell3": null, "cell4": null, "cell5": null, "cell6": null, "cell7": null, "cell8...
JavaScript
src/static/tictactoe/minimodel.js
AdrenalineMobility/tictactoe
bsd-3-clause
3,934
122
codeparrot/github-code
598fce41fdf10e03d41299659d7ca1d6dd1f19b731e4e21d9ce7f8b8372aa9b3
<?php namespace Reliv\PipeRat\Middleware\ResourceController; use Interop\Container\ContainerInterface; use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use Reliv\PipeRat\Exception\InvalidWhereException; use Reliv\PipeRat\Exception\RepositoryException; use Reli...
PHP
src/Middleware/ResourceController/RepositoryResourceController.php
jerv13/pipe-rat
bsd-3-clause
10,476
403
codeparrot/github-code
c1f07b7ed3585c6d7feee14386f79483196ae5a222b40417b848c7cc8df9ec63
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * * Copyright (C) 2000-2003, International Business Machines * Corporation and others. All Rights Reserved. * **********...
C
third_party/icu/source/tools/genrb/rle.c
endlessm/chromium-browser
bsd-3-clause
12,655
408
codeparrot/github-code
95639b575f1b9e4e4fdc85cbab1ef8f71f9eec1172cb4b11e045546af5aeb911
<?php namespace PluSQL; class TableInspector { private $workers; private $links; private static $instance = NULL; private function __construct() { $this->workers = array(); $this->links = array(); } public static func...
PHP
table_inspector.class.php
duzun/PluSQL
bsd-3-clause
945
33
codeparrot/github-code
8458a29d1c8430604c9abb53c8afb6915fde0835e283303b474ec41745c1148b
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Notes about usage of this object by VideoCaptureImplManager. // // VideoCaptureImplManager access this object by using a Unretained() // binding ...
C++
content/renderer/media/video_capture_impl.cc
Just-D/chromium-1
bsd-3-clause
16,959
468
codeparrot/github-code
34cbf1113bc85b0dd63c297eeed051197632d982740c1dc467c3f77aa22e9e44
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/sync/js/js_event_details.h" #include <memory> #include <utility> #include "base/values.h" #include "testing/gtest/include/gtest...
C++
components/sync/js/js_event_details_unittest.cc
endlessm/chromium-browser
bsd-3-clause
961
40
codeparrot/github-code
108da3f6d3aba82ffd0f7b068d23c50e08551d771214bd3036b774751f0831b9
<?php use yii\helpers\Html; use app\modules\skoda\models\Statusmonitor; use app\modules\skoda\models\StatusmonitorSearch; use app\modules\skoda\models\Servicesheduler; use app\modules\admin\models\User; use yii\grid\GridView; use yii\helpers\Url; use yii\widgets\Pjax; use app\components\grid\ActionColumn; use app\comp...
PHP
modules/skoda/views/statusmonitor/index.php
m-ishchenko/AllianceCG
bsd-3-clause
9,445
239
codeparrot/github-code
de6dc5618a81f7d264fdebdb040bca02836827b4d5580ea5f474372ed8c17f77
import { allOf, anyOf, array, booleanType, def, enums, nullType, numberType, numberValue, object, oneOf, pattern, required, signalRef, stringType, textType, type } from './util'; export const blendEnum = [ null, 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', ...
JavaScript
packages/vega-schema/src/encode.js
vega/vega
bsd-3-clause
7,634
308
codeparrot/github-code
3dd795cd77f0483342530798fc3994a6afd96ae725cd56f64160749c3b2cdb0b
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== //================================================================================================== #include "tracked_camera_openvr_sample.h" //------------------------------------------------------------------------...
C++
samples/tracked_camera_openvr_sample/tracked_camera_openvr_sample.cpp
ValveSoftware/openvr
bsd-3-clause
18,344
489
codeparrot/github-code
5f4de6ae6ab95bc06a7b41fe6b7a7662e36fb36e7fd6357f3cf03253ac02d227
/** * 客户 * */ Ext.onReady(function(){ Ext.QuickTips.init(); var sm = new Ext.grid.CheckboxSelectionModel(); var colModel = new Ext.grid.ColumnModel([ sm, {header: '编号', width:40, dataIndex:'clientID'}, {header: '帐号', width:100, dataIndex:'account'}, {header: '公司', width:180, ...
JavaScript
SupervisorSystem/WebContent/js/labs/client.js
wangxin39/xstat
bsd-3-clause
3,038
126
codeparrot/github-code
13b70bfa7e63449cbb16895134711faf7ffe84adb7d961093589ea9bed1d81a3
/****************************************************************************** * * Copyright (c) 2011,2014 AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyri...
C++
alljoyn/common/unit_test/StringTest.cc
octoblu/alljoyn
isc
7,755
263
codeparrot/github-code
76fcf578c8306de392388b2c99f06b7d4c6dd56b2d23db4ffd317423b23dabae
#include <postgres.h> #include <executor/spi.h> #include "qbuilder.h" #include "parsesql.h" /* import standard_conforming_strings */ #if PG_VERSION_NUM >= 80500 #include <parser/parser.h> #else #ifndef PGDLLIMPORT #define PGDLLIMPORT DLLIMPORT #endif extern PGDLLIMPORT bool standard_conforming_strings; #endif /* cr...
C
sql/pgq/triggers/qbuilder.c
overdrive3000/skytools
isc
3,258
148
codeparrot/github-code
bdb3e7ea485e3ede8d3bea51a82eb97522759a88ba716da28d698447127e5ca2
<?php /** * Created by PhpStorm. * User: gseidel * Date: 29/05/16 */ namespace Enhavo\Bundle\FormBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormView; use Symfony\Component\OptionsResolver\OptionsResolver; class DateType extends ...
PHP
src/Enhavo/Bundle/FormBundle/Form/Type/DateType.php
enhavo/enhavo
mit
1,852
71
codeparrot/github-code
db231de37159755fee1eb1382d35b133137ba86e3956e54ad8d0d876698c0a3b
// Copyright (c) 2012-2013 The PPCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "kernel.h" #include "db.h" using namespace std; extern int nStakeMaxAge; extern...
C++
src/kernel.cpp
Bitspender/Tamcoin
mit
19,261
410
codeparrot/github-code
00eec704465b9bc3238848f38e0c3a17bf2a1ff4d76971e789869d9300b3dc8c
{{ HTML::script(asset('packages/ngungut/nccms/js/jquery-2.1.1.min.js')) }} {{ HTML::script(asset('packages/ngungut/nccms/js/jquery-ui-1.10.3.min.js')) }} {{ HTML::script(asset('packages/ngungut/nccms/js/bootstrap.min.js')) }} {{ HTML::script(asset('packages/ngungut/nccms/js/plugins/iCheck/icheck.min.js')) }} {{ HTML::s...
PHP
src/views/admin/media/scripts/upload.blade.php
hubahuba/incubeus
mit
2,386
56
codeparrot/github-code
8943d1d2b4c791ec18a78225fcad1f105b83039f2dfcef92092a040c57ec8c8f
// SmoothScrolledWindow.cs // // Copyright (c) 2008 Scott Peterson <lunchtimemama@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 restriction, including without limit...
C#
src/Libraries/Hyena.Gui/Hyena.Widgets/SmoothScrolledWindow.cs
rubenv/tripod
mit
4,599
144
codeparrot/github-code
32e8dd0356e48d07a44bf697f7e97de87b0fd0395ad0c21b8bd94f67b57fee0d
package graph import ( "fmt" "log" "github.com/blang/semver" ) /* * Create a special type to specifically represent library names. This just * helps make the API clearer. */ type LibraryName string /* * A library graph is simply a list of dependencies (edges) */ type LibraryGraph struct { dependencies []d...
GO
graph/graph.go
xogeny/impact
mit
8,692
321
codeparrot/github-code
2e8cfb714d19f015e07f08937e23b34378a63be5cf9b35611ce269afb64e9ca4
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using AllReady.Areas.Admin.ViewModels.Task; using Xunit; namespace AllReady.UnitTest.ViewModels { public class TaskSummaryModelShould { [Fact] public void ValidationShouldFail_IfNoNameIsSupplied()...
C#
AllReadyApp/Web-App/AllReady.UnitTest/Models/TaskSummaryModelShould.cs
pranap/allReady
mit
937
31
codeparrot/github-code
4e5aac1e0f4a528a89b9d632600affc88706ce6d2e79b26e988f7a921cd2d63d
'use strict'; var Scan = require('./scan'), async = require('async'), NodeUtil = require('util'), utils = require('./utils'), Readable = require('stream').Readable, _ = require('lodash'); var ParallelScan = module.exports = function (table, serializer, totalSegments) { Scan.call...
JavaScript
lib/parallelScan.js
justhamade/vogels
mit
1,895
89
codeparrot/github-code
71c8556db694c07d787b4e5f496270c84760cbfbb5afbda7242e521fe6d30905
/* ** Copyright 2001, Travis Geiselbrecht. All rights reserved. ** Distributed under the terms of the NewOS License. */ /* * Copyright (c) 2008 Travis Geiselbrecht * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT */ ...
C
lib/libc/string/memcpy.c
travisg/lk
mit
1,291
54
codeparrot/github-code
c71f798c9b96d5758aad2e7bd8da5e05ea26650741560511ca5baf203837340a
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using S...
C#
src/dotnet-svcutil/lib/src/FrameworkFork/Microsoft.CodeDom/System/CodeRegionDirective.cs
mconnew/wcf
mit
1,366
58
codeparrot/github-code
070dbb48d6d37e6d7295d3fecc4c971935fee50b8d6eb05f62c7550c6d9c737c
jest.autoMockOff(); var _ = require('underscore'); var { evaluate } = require('../src/index.js'); var { base } = require('../src/config.js'); var keyGen = require('../src/key-gen.js'); // Generated offline with key-gen to avoid weird Jest import bug with CoinKey var signatures = [ { signatureString: '8459...
JavaScript
__tests__/test-crypto.js
kustomzone/blockScript
mit
4,609
127
codeparrot/github-code
35521cfcc898f4da2113fa68c15c06d07ef97da678261740be8e0aff6812b63b
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="utf-8...
HTML
tomdiary/about.html
weerawatcomsci/weerawatcomsci.github.io
mit
6,278
159
codeparrot/github-code
6b73a0efafc8b6f08dfd19454b0f75c5efdb188a5778d6dde672bdf269f9b2fc
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the ...
PHP
lib/Zend/Tool/Project/Context/Zf/FormFile.php
almadaocta/lordbike-production
mit
3,147
114
codeparrot/github-code
09cc5b44ac359a8b6f9f2a7ba2193e69ff8498955353972a3033549ccb90653b
--- layout: post title: "Dinosaurs are extinct today" subtitle: "because they lacked opposable thumbs and the brainpower to build a space program." date: 2020-01-26 23:45:13 -0400 background: '/img/posts/01.jpg' --- <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere...
HTML
_posts/2020-01-26-dinosaurs.html
BlackrockDigital/startbootstrap-clean-blog-jekyll
mit
3,624
41
codeparrot/github-code
591f4362f6e675175f039ddc9c20204dc16ec64b32d7ffde2ec2baf06e984271
/* * lbc.c * big-number library for Lua 5.2 based on GNU bc-1.06 core library * Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> * 20 Apr 2012 08:15:43 * This code is hereby placed in the public domain. */ #include <ctype.h> #include <stdlib.h> #include <string.h> #include "config.h" #include "number...
C
modules/bc/lbc.c
yuhangwang/luabuild
mit
6,361
319
codeparrot/github-code
d2d27f77b3a647e4c764f0c534d1427c79aa53caeeddbd1b6fd9558026cb6050
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
PHP
src/lib/Zend/Mail/Protocol/Smtp.php
phphatesme/LiveTest
mit
10,648
409
codeparrot/github-code
abfd5267c2ba9de0cde2036440907962923ffb64d1be3097ee4926f996543ce8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html xmlns="http://www.w3.org/1999/xhtml"> <h...
HTML
public/ckeditor/_samples/asp/index.html
BullisEntrepreneurship/LeanLaunchLab
mit
4,326
119
codeparrot/github-code
f3613af4f46a88b89f6fbbe91d6e94f99e7b812afd6337b62a338bc08deb85ae
module Rapidfire class QuestionForm < Rapidfire::BaseService AVAILABLE_QUESTIONS = [ Rapidfire::Questions::Checkbox, Rapidfire::Questions::Date, Rapidfire::Questions::Long, Rapidfire::Questions::Numeric, Rapidfire::Questions::Radio, Rapidfire::Questions::Select, ...
Ruby
app/services/rapidfire/question_form.rb
brunoocasali/rapidfire
mit
2,561
82
codeparrot/github-code
24a54996acfe891e9bd78fde8f15b71326459a3a4f4031f3d81a90d26819a83a
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
C++
v8/src/platform-win32.cc
msiebuhr/v8.go
mit
46,753
1,523
codeparrot/github-code
6b19ad6368a4ccc660c0de446005825b4144e83a4add831a0bea376d965aeb44
#include <pangolin/log/packetstream.h> #include <stdexcept> namespace pangolin { size_t PacketStream::readUINT() { size_t n = 0; size_t v = get(); uint32_t shift = 0; while (good() && (v & 0x80)) { n |= (v & 0x7F) << shift; shift += 7; v = get(); } if (!good()) ...
C++
src/log/packetstream.cpp
renzodenardi/Pangolin
mit
2,713
147
codeparrot/github-code
f6d2b124bfa1be6ec901701f05aa8d77e947f22e2cc2f3ce9727c3891342a72b
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Java
src/main/java/org/spongepowered/common/block/SpongeBlockSnapshotBuilder.java
JBYoshi/SpongeCommon
mit
10,756
265
codeparrot/github-code
27567a836d2b205284675807b09616dd58f8fed163f3de66b9cfb227b34f3393
<script type="text/javascript" src="/doccdn/pxtweb.js"></script> <script type="text/javascript"> window.loadAppInsights = function (includeCookie) { var appInsights=window.appInsights||function(config){ function i(config){t[config]=function(){var i=arguments;t.queue.push(function(){t[config].app...
HTML
docfiles/tracking.html
switchinnovations/pxt
mit
3,883
53
codeparrot/github-code
e2ec87734d8e60fdb07e03a9472f9be720b65498b262cd0c25867c8113c13081
/*************************************************************************/ /* resource_importer_scene.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
C++
editor/import/resource_importer_scene.cpp
Brickcaster/godot
mit
40,174
1,215
codeparrot/github-code
24bae698e5d1732a2b62b5c7eddb155553ddc5c4a3781f49dc935e18ca379dce
var express = require('express'); var app = express(); var mongoose = require('mongoose'); mongoose.connect('mongodb://localhost/messageBoard'); mongoose.Promise = global.Promise; var Schema = mongoose.Schema; var MessageSchema = new mongoose.Schema({ name: {type: String, required: true, minlength: 1}, ...
JavaScript
Cron_Philip/Assignments/messageBoard/server.js
dallaspythondojo/nice
mit
2,627
106
codeparrot/github-code
e5d7564778cc8885a17bd9b838606488434561541384a220094e7b62bee9061f
(function() { "use strict"; (function() { var NGUeditor; NGUeditor = angular.module("ng.ueditor", []); NGUeditor.directive("ueditor", ['$timeout', function($timeout) { return { restrict: "C", require: "ngModel", scope: { config: "=", re...
JavaScript
src/js/directives/ui-ueditor.js
jm-root/jm-oms-console
mit
3,305
102
codeparrot/github-code
e9309b2f394b01fd78029227ba19c1123859bd5dc4c2c4049a030abeabd6e897
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.IO.MemoryMappedFiles; using System.Text; using System.Runtime.InteropServices; namespace Microsoft....
C#
src/managed/Microsoft.NET.HostModel/AppHost/BinaryUtils.cs
crummel/dotnet_core-setup
mit
11,545
335
codeparrot/github-code
e5fe8b771692c2344cf806a4430482f1d6660465ab697a8e469f1c50ff89ca54
'use strict' export class Cursor { constructor () { this._size = 14 this._timeout = 400 this._initTransition = `all ${this._timeout}ms ease-in-out` this._position = { x: 0, y: 0 } this._point = window.document.getElementById('mocha-extjs-testing-tool-pointer') if (!this._po...
JavaScript
src/mochaUi/cursor.js
antonfisher/extjs-testing-tool
mit
1,928
67
codeparrot/github-code
3c776ece9b383d0da3e6e2d8d2447327daeaad5be2aabef29b62865a4fd3e822
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Bundle\CoreBundle\Form\DataTransformer; use Symfony\Component\Form\DataTransformerIn...
PHP
src/Sylius/Bundle/CoreBundle/Form/DataTransformer/ArrayToStringTransformer.php
patrick-mcdougle/Sylius
mit
1,298
63
codeparrot/github-code
68539b06a43ad4ddebddc402e79726424585d3eee97d3d7ffe67bad4e15c1700
#!/usr/bin/python # try: import gdb except ImportError as e: raise ImportError("This script must be run in GDB: ", str(e)) import sys import os sys.path.append(os.getcwd()) import common_helpers simple_types = ["CMasternode", "CMasternodeVerification", "CMasternodeBroadcast", "CMasternodePing...
Python
contrib/auto_gdb/simple_class_obj.py
ivansib/sibcoin
mit
2,004
59
codeparrot/github-code
5e6e91e8f4d5fc3cbd0dc7d559b907e551b863bf970cb50f14e42a3445063950
#!/usr/bin/env python3 # Copyright (c) 2020 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test fee filters during and after IBD.""" from decimal import Decimal from test_framework.messages import ...
Python
test/functional/p2p_ibd_txrelay.py
AkioNak/bitcoin
mit
1,575
43
codeparrot/github-code
cea179e868c2bad1ed2b6b5aa826ad62e5ad753e127510c1b086c55a54cac079
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct eval</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator...
HTML
ext/c++/thirdpart/c++/boost/doc/html/boost/proto/functional/eval.html
yinchunlong/abelkhan-1
mit
12,286
120
codeparrot/github-code
6316cc743cc94b686ff3a8b9260175ac5989a400bf64410e37278de67558192f
/* Copyright 2014 Stanford University * * 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 agree...
C
src/legion_runtime/legion_types.h
haiyang1992/NautilusVirtio
mit
30,787
869
codeparrot/github-code
51fb93a305b1f108e5071618ce0ece35049d3dc2e7c0fbaa0df2fb9926a72db1
/*************************************************************************/ /* font.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
C++
scene/resources/font.cpp
Paulloz/godot
mit
19,437
671
codeparrot/github-code
83a34a55b5cf2a261dbee5d65592cf49d9dca82b208ae0bd6e3b380a6567a702
<?php /* * This file is part of Composer. * * (c) Nils Adermann <naderman@naderman.de> * Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Composer\Repository; use Composer\Factor...
PHP
src/Composer/Repository/RepositoryFactory.php
alcohol/composer
mit
7,566
191
codeparrot/github-code
abfb227358d1dc77d995649da26b21e467dfafd5b474ead62d2570730fcb93f6
/* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
C
lib/libc/glibc/io/lstat64.c
zig-lang/zig
mit
2,377
53
codeparrot/github-code
7f1d3c0bab3ee79e5fb5923d6cdeb8a11eab116ee26d262202665e02653b11d9
package net.glowstone.entity.monster; import org.bukkit.Location; import org.bukkit.entity.EntityType; import org.bukkit.entity.PigZombie; import java.util.Random; import java.util.UUID; public class GlowPigZombie extends GlowZombie implements PigZombie { private int anger; private UUID hurtBy; public ...
Java
src/main/java/net/glowstone/entity/monster/GlowPigZombie.java
GreenBeard/GlowstonePlusPlus
mit
949
48
codeparrot/github-code
dd7f61a4563a5fae6311a7dc28d1e19d1b73af6369f99f178c298dc7ff91bcc8
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ServiceModel; usi...
C#
src/dotnet-svcutil/lib/src/CodeDomFixup/ConfigToCode.cs
mconnew/wcf
mit
26,286
480
codeparrot/github-code
333199fbc499b41111d6fd6312e99dd947dd087ef9fd67f79884e0ec7ec574d6
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpFoundation; /** * HeaderBag is...
PHP
vendor_full/symfony/src/Symfony/Component/HttpFoundation/HeaderBag.php
l3l0/BehatExamples
mit
8,165
321
codeparrot/github-code
e226f91099a37f0428b5c4122df561424d1d927541ade1a3a4c3c311f243987a
angular.module('quiz.ctrl', []) // 一次性填写个性标签的控制器 .controller('QuizCtrl', function($scope, $ionicSlideBoxDelegate, $ionicLoading, QuizModel, QuizSubmit, PersonalInfo, PersonalInfoMange) { var quiz = QuizModel.quiz; // 当前的问卷序号 $scope.index = 0; $scope.quiz = quiz; // 禁止滑动 $scope.disableS...
JavaScript
app/js/quiz/quiz-ctrl.js
meniac/wuyanxia
mit
3,305
169
codeparrot/github-code
78d9d67c4ce5c790c4658c09b850865cc7494c6610e329759434bc631c578e5a
// // Tweener.cs // // Author: // Jason Smith <jason.smith@xamarin.com> // // Copyright (c) 2012 Xamarin 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 the Software without restriction, ...
C#
Pinta.Docking/Xwt.Motion/AnimationExtensions.cs
Mailaender/Pinta
mit
6,849
219
codeparrot/github-code
a2fa8e9f8396f8e5851b51ea54f4030f9d14aa715f3621f020d23ba368d07c26
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.worker.arm.compute.rmi; import madgik.exareme.common.art.entity.EntityName; import madgik.exareme.utils.net.NetUtil; import madgik.exareme.worker.arm.compute.ComputeSessionStatusManager; import madgik.exareme.worker.arm.compute.ComputeSessionStatusM...
Java
exareme-worker/src/main/java/madgik/exareme/worker/arm/compute/rmi/RmiComputeSessionStatusManager.java
XristosMallios/cache
mit
1,332
43
codeparrot/github-code
af4c59a5c1b4b63ab5927f59ee79a6c937c53695bdb4ef229486094fe5807a7f
using POESKillTree.Model; using POESKillTree.Views; using System.ComponentModel; using System.Windows; using System.Windows.Input; using System.Windows.Media; namespace POESKillTree.ViewModels { public class MetroMessageBoxViewModel : Notifier, INotifyPropertyChanged { #region fields private st...
C#
WPFSKillTree/ViewModels/MetroMessageBoxViewModel.cs
nikibobi/PoESkillTree
mit
7,665
282
codeparrot/github-code
5635167b584940c219741484663d6fcddcccc850ab31907a5b5afcf8038a7ed0
<TS language="ro" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Click dreapta pentru a modifica adresa o eticheta</translation> </message> <message> <source>Create a new address</source> ...
TypeScript
src/qt/locale/bitcoin_ro.ts
Bitcoin-com/BUcash
mit
11,313
375
codeparrot/github-code
10240741a0fe3a82fb01d9ba1a8d67401607d9c775071ba16005f5b3603d34b5
<?php namespace Oro\Bundle\EntityExtendBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId; class TargetFieldType extends AbstractT...
PHP
src/Oro/Bundle/EntityExtendBundle/Form/Type/TargetFieldType.php
Djamy/platform
mit
2,811
112
codeparrot/github-code
d401a25eed08f22847f3276ee8871fcb9a19a8ccf9908a36397f1dddb6c2096d
module ProjectsHelper def link_to_project(project) link_to [project.namespace.becomes(Namespace), project], title: h(project.name) do title = content_tag(:span, project.name, class: 'project-name') if project.namespace namespace = content_tag(:span, "#{project.namespace.human_name} / ", class...
Ruby
app/helpers/projects_helper.rb
shinexiao/gitlabhq
mit
12,540
439
codeparrot/github-code
d805b588c31281ed1e43799f623310f990dbc838eb64c50f17e1f51db91127b1
"use strict"; // local modules _must_ be explicitly mocked jest.mock("../lib/git-push"); jest.mock("../lib/is-anything-committed"); jest.mock("../lib/is-behind-upstream"); jest.mock("../lib/remote-branch-exists"); const path = require("path"); // mocked modules const { promptSelectOne } = require("@lerna/prompt"); ...
JavaScript
commands/version/__tests__/version-bump.test.js
evocateur/lerna
mit
4,181
120
codeparrot/github-code
b9e4fa3f95a3d98bec9b381dba7f0a3524bfc5c0cbe8839c77f370916a58e082
from django.db import models from django.db.models.fields.files import FieldFile from django.core.files import File def get_video_dimensions(path): from ffvideo import VideoStream vs = VideoStream(path) return (vs.frame_width, vs.frame_height) class VideoFile(File): """ A mixin for use alongsi...
Python
lib/python2.7/site-packages/image/video_field.py
akhilari7/pa-dude
mit
1,087
45
codeparrot/github-code
749f0d32077a570944752b4897279f7c8b11ae0c49997f542e72004adcc8cdf5
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2011 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as publ...
Java
tools/proguard/src/proguard/obfuscate/MemberNameFilter.java
0x90sled/droidtowers
mit
3,428
120
codeparrot/github-code
50a6717dfb3afe36308771e62a4343ce6692eadde9c3031f1c2068a69ba71d58
<!DOCTYPE html> <html> <head> <title>Act 1, Scene 6 | The Tragedy of MacBeth | William Shakespeare | Lit2Go ETC</title> <link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8"> <link rel="stylesheet" href="http://etc.usf.ed...
HTML
lit2go.ok/215/the-tragedy-of-macbeth/5557/act-1-scene-6/index.html
adrianosb/HtmlToText
mit
12,792
296
codeparrot/github-code
0dbb8e263f414eb17f9b74765f15acdb502bd9848e0a7b227f4925e0285a251e
package agent import ( "fmt" "net/http" "time" "github.com/Sirupsen/logrus" "github.com/emicklei/go-restful" "github.com/facebookgo/stackerr" "github.com/bearded-web/bearded/models/agent" "github.com/bearded-web/bearded/pkg/filters" "github.com/bearded-web/bearded/pkg/fltr" "github.com/bearded-web/bearded/...
GO
services/agent/agent_service.go
bearded-web/bearded
mit
7,725
321
codeparrot/github-code
ecf9b35991d4a55b2152bea0c7e9414a34e2f14cd45b5c932e3f8aede9263bbb
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any pur...
C++
libs/Box2D/Dynamics/Joints/b2RevoluteJoint.cpp
harrypell/TT-iPad
mit
12,925
479
codeparrot/github-code
7a2e8973e4085975178a29624b7f53d177fde7a8c2dbf805e6c819f9e397fe84
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "paymentserver.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "guiutil.h" #include "optionsmodel.h"...
C++
src/qt/paymentserver.cpp
coinkeeper/2015-06-22_18-59_quark
mit
22,109
677
codeparrot/github-code
40d76abbdc7b20fac39e8b84c93ba6ee3ec08cd830a31d9c1df6470a7af1dd24
#! /usr/bin/python import threading import socket import sys,time import SocketServer,struct,select global bufLen global endflag global socksPort ################### socksPort = 50000 #Default socks5 proxy port ################### endflag = [] bufLen = 4*1024 class startThreadSoket(threading.Thread): def __init_...
Python
client/reprocks_client.py
0ps/reprocks
mit
9,685
280
codeparrot/github-code
372465a9ae37956d1e7823613c56821fe9c39e94350ad3ae52542b9aac777a27
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Menu; use Piwik\Common; use Piwik\Log; use Piwik\Plugins\SitesManager\API; use Piwik\Singleton; use Piwik\Plugin\Manager as PluginManager; /** * ...
PHP
piwik/core/Menu/MenuAbstract.php
ACOKing/ArcherSys
mit
10,194
329
codeparrot/github-code