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
155d4a2963946b8e395cd358080dd5dd67da637040ee3732ecaeec9018a6528b
/* * Copyright (C) 2015 Luke San Antonio * All rights reserved. */ #pragma once #include <type_traits> #include <boost/variant.hpp> namespace redc { template <class T> struct Ok_Wrap { T obj; }; template <class T> struct Err_Wrap { T obj; }; template <class T> inline Ok_Wrap<T> ok(T con...
C
src/common/result.h
RedCraneStudio/redcrane-engine
bsd-3-clause
2,207
112
codeparrot/github-code
73a2d08f9568db4ad43b40a1855090aa60cccf26de0f73eeea3d6719efc8b1d4
<?php use yii\helpers\Html; use common\vendor\AppConstants; use common\vendor\AppLabels; use common\components\helpers\Converter; /* @var $this yii\web\View */ /* @var $model \backend\models\Ppa */ /* @var $startDate DateTime */ $dataSet = $model->getPollutionLoadActualDataSet(); ?> <div class="ppa-pollution-load-de...
PHP
backend/themes/AceMaster/views/ppa/_pollution_load_actual.php
phpwork1/k3lh
bsd-3-clause
2,331
55
codeparrot/github-code
fef4339c4dce87e7705afb26674a75cceac2068ffbfd6deedf2f74535f33accb
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Stefan Schimanski (1Stein@gmx.de) * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies...
C++
third_party/WebKit/Source/core/html/HTMLObjectElement.cpp
highweb-project/highweb-webcl-html5spec
bsd-3-clause
16,506
453
codeparrot/github-code
f212408ba096e590dc171370d2a5a709889bd8dc828fa22b91ea9ff937195757
#!/usr/bin/env python # # Copyright (c) 2009, Roboterclub Aachen e.V. # 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 # ...
Python
scons/site_tools/system_design.py
chrism333/xpcc
bsd-3-clause
7,787
226
codeparrot/github-code
570d1c14892d179780a0dccd4a89d69ffe552789c146767dc7c4d9f866ea4a05
// Copyright 2016 tsuru authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package swarm import ( "context" "crypto/tls" "fmt" "net" "net/http" "strconv" "strings" "time" "github.com/docker/docker/api/types/container" "githu...
GO
provision/swarm/docker.go
guilhermebr/tsuru
bsd-3-clause
16,926
605
codeparrot/github-code
9bd1132f62aa6bbb9bc098c8a7e4be77f7054222810bdc52e5d855eb820892e7
"""All formatters from this pacakge should be easily mixed whith default ones using this pattern: >>> from code_formatter.base import formatters >>> from code_formatter import extras >>> custom_formatters = formatters.copy() >>> custom_formatters.register(extras.UnbreakableTupleFormatter, ...
Python
code_formatter/extras/__init__.py
paluh/code-formatter
bsd-3-clause
12,919
249
codeparrot/github-code
695402ab4705dda68865519557360a0c5dbe437ab438045194e17deb4a1844bd
// <summary> // Provides XML document loading, validation and caching. // </summary> // TODO: Check namespace mismatch in imported documents. The imported documents are allowed not to have a namespace. namespace IdlCompiler { using System.Collections.Generic; using System.Diagnostics; using System.IO; ...
C#
IdlCompiler/src/CachingDocumentLoader.cs
apkbox/nano-rpc
bsd-3-clause
6,969
185
codeparrot/github-code
a26a8460dbaa2d33d21731f9b1fc86ea904f56eee1815804b35f1a4ee2446f2a
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
Java
src/CAL_Platform/src/org/openquark/cal/internal/javamodel/JavaModelCopier.java
levans/Open-Quark
bsd-3-clause
37,615
774
codeparrot/github-code
9071fa529e78bf25da615451f1ce90c0c0d46ab98a6f73a35f605c8738bdf7e6
// Copyright 2020 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_PREFETCH_PREFETCH_PROXY_PREFETCH_PROXY_TAB_HELPER_H_ #define CHROME_BROWSER_PREFETCH_PREFETCH_PROXY_PREFETCH_PROXY_TAB_HELPER_H_ #...
C
chromium/chrome/browser/prefetch/prefetch_proxy/prefetch_proxy_tab_helper.h
ric2b/Vivaldi-browser
bsd-3-clause
21,041
486
codeparrot/github-code
2fff2eab0206f8ccd42e6c0f4229e7625d8341b04ee9ec930784fbcff5fb5da8
"""Script wrapper for creating a movie of survey progress. To run this script from the command line, use the ``surveymovie`` entry point that is created when this package is installed, and should be in your shell command search path. The optional matplotlib python package must be installed to use this script. The ex...
Python
py/desisurvey/scripts/surveymovie.py
desihub/desisurvey
bsd-3-clause
24,365
560
codeparrot/github-code
5ae8a55399e4db2c953ca00d4a70464f8f425415bea9b9e9de2e63d92439e25b
/* * Copyright (c) 1999-2014, Ecole des Mines de Nantes * 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...
Java
choco-solver/src/main/java/org/chocosolver/solver/explanations/store/ChunkedEventStore.java
PhilAndrew/choco3gwt
bsd-3-clause
6,935
204
codeparrot/github-code
fcb64d0ef63334a8cbb84e345d3e62837d9d3fd692c2151d112084fd51253885
// Copyright 2017 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_CONTROLLER_CLIENT_CHILD_FRAME_H_ #define CONTENT_BROWSER_RENDERER_HOST_INPUT_TOUCH_SELECTION_C...
C
chromium/content/browser/renderer_host/input/touch_selection_controller_client_child_frame.h
ric2b/Vivaldi-browser
bsd-3-clause
3,828
90
codeparrot/github-code
ad4575aa8a50595c03892ea36abd12f2617feec8f554ce890f3ce50b93f19017
DROP PROCEDURE IF EXISTS `increase_material`; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `increase_material`() BEGIN declare now_member_id BIGINT; DECLARE max_material INT; DECLARE now_fuel INT; declare add_fuel INT default 3; DECLARE now_bull INT; DECLARE add_bull INT DEFAULT 3;...
SQL
src/main/resources/db/migration/V1_4_0__update_material_task.sql
sage417/kancolle-server
bsd-3-clause
1,593
53
codeparrot/github-code
2fd092e976673934a55ddc2978b7f229ec4f7e04d2851a139082a82afab551b7
// 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 "ui/views/focus/focus_manager.h" #include <algorithm> #include "base/auto_reset.h" #include "base/logging.h" #include "build/build_config.h...
C++
ui/views/focus/focus_manager.cc
keishi/chromium
bsd-3-clause
17,470
494
codeparrot/github-code
34356be444883da3b3003a5e08963270865da115784a292c13050ce8213a19bb
-- phpMyAdmin SQL Dump -- version 3.3.7 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 28, 2010 at 06:42 PM -- Server version: 5.1.47 -- PHP Version: 5.3.3 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_S...
SQL
application/modules/default/services/Install/Sql/MySQL.sql
p6/bizsensebms
bsd-3-clause
79,608
2,061
codeparrot/github-code
9fb31ae5b721ef83a3507dd03a8b3347813e0f6d95060a539390929ea7e73dff
// Copyright 2020 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 "chrome/browser/ash/guest_os/guest_os_external_protocol_handler.h" #include <vector> #include "base/base64.h" #include "base/test/scoped_featur...
C++
chromium/chrome/browser/ash/guest_os/guest_os_external_protocol_handler_unittest.cc
ric2b/Vivaldi-browser
bsd-3-clause
4,714
131
codeparrot/github-code
c69207448124c725bbcd487c697efec516903c51cb5ad49a22186bbde0634617
from time import localtime, gmtime, strftime, strptime from os.path import expanduser, join from pprint import pprint from decimal import * def scrivi_movimento(path, m): with open(path, 'a') as f: f.write(m['tipo'] + m['valore']) f.write(';') f.write(m['data']) f.write(';') ...
Python
money/money.py
scompo/money
bsd-3-clause
3,277
140
codeparrot/github-code
f075b6f2f4507493e61e0763430c899b9b3afca32b3f7e93afca5966ba09ee48
/* * Copyright 2012 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBlitRow_opts_SSE2.h" #include "SkBitmapProcState_opts_SSE2.h" #include "SkColorPriv.h" #include "SkColor_opts_SSE2.h" #include "SkDither.h" #i...
C++
src/opts/SkBlitRow_opts_SSE2.cpp
llluiop/skia
bsd-3-clause
53,960
1,365
codeparrot/github-code
0592178c949e11295344b561e0702cacd40f988efe623b354c31af2f95ef339b
module Records module Po # Purchase Order Control class Po50 < PoBase def cdf_record cdf = super cdf << total_purchase_order_records cdf << total_line_items cdf << total_units_ordered cdf << reserved(26) PoBase.ensure_length cdf end def total_p...
Ruby
lib/records/po/po50.rb
jmandala/honyb_cdf
bsd-3-clause
594
30
codeparrot/github-code
ea46f2a8fa08b53ba43a30835cfab098e5bdf683d913cdb471698404b71e47fd
// Copyright 2013 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 "ui/events/ozone/evdev/event_device_info.h" #include <linux/input.h> #include <cstring> #include "base/cxx17_backports.h" #include "base/featu...
C++
chromium/ui/events/ozone/evdev/event_device_info.cc
ric2b/Vivaldi-browser
bsd-3-clause
24,484
779
codeparrot/github-code
77f05a82163db6da95fe89a47ba71b0f7f1d7c5c7957286ee595aaaccf6519e1
// 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. // Most of this code is copied from various classes in // src/chrome/browser/policy. In particular, look at // // file_based_policy_loader.{h,cc} //...
C++
remoting/host/policy_hack/nat_policy_linux.cc
keishi/chromium
bsd-3-clause
9,202
279
codeparrot/github-code
acc0b749e22273fdf069d35ca85f35b5849230983a784f53eb4aefba09350ce2
/* Copyright (C) 2003 CSIRO Australia 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 following disc...
C
src/cmml_list.c
erlehmann/libcmml
bsd-3-clause
5,207
247
codeparrot/github-code
561364246ec6f96d40b61bfcf48e1fd8f2be9462e8268c5c0843d668da74f4c2
// Provides the PlatformGetThreadLocalEventBuffer() function by using // pthread keys. This should work for all POSIX platforms. #ifndef TRACING_FRAMEWORK_BINDINGS_CPP_INCLUDE_WTF_PLATFORM_AUX_PTHREADS_THREADED_INL_H_ #define TRACING_FRAMEWORK_BINDINGS_CPP_INCLUDE_WTF_PLATFORM_AUX_PTHREADS_THREADED_INL_H_ #include <pt...
C
bindings/cpp/include/wtf/platform/platform_aux_pthreads_threaded_inl.h
google/tracing-framework
bsd-3-clause
1,677
60
codeparrot/github-code
f78be875623b9a512f275d7aa411feb3e8872f13a9b538c5f61d87c2c65134f9
/* * SEGS - Super Entity Game Server * http://www.segs.dev/ * Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md) * This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details. */ /*! * @addtogroup SlashCommands Projects/CoX/Servers/MapServer/SlashCommands * @{ */ #inclu...
C++
Projects/CoX/Servers/MapServer/SlashCommands/SlashCommand_Debug.cpp
broxen/Segs
bsd-3-clause
15,882
453
codeparrot/github-code
5978d729d17c769fe489dce7984972e7d8bde78fbbc2b8637089a3250a5fdabf
/* * * Copyright 2015, 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: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
C
src/core/ext/lb_policy/pick_first/pick_first.c
yugui/grpc
bsd-3-clause
19,103
517
codeparrot/github-code
0bd6c47ba7c9a80e01d727fb9c2cc785bdf6d261eed9275fc2579cd32f59338b
// ***************************************************************************** // // Copyright (c) 2014, Southwest Research Institute® (SwRI®) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met:...
C++
mapviz_plugins/src/plan_route_plugin.cpp
evenator/mapviz
bsd-3-clause
14,688
486
codeparrot/github-code
1044ecd855e448e1e0daceb54e2e0ac6e5a132d6b4709a85bf1794285c6da47f
// Copyright 2011 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 "config.h" #include "cc/bitmap_content_layer_updater.h" #include "cc/layer_painter.h" #include "cc/resource_update.h" #include "cc/resource_upd...
C++
cc/bitmap_content_layer_updater.cc
junmin-zhu/chromium-rivertrail
bsd-3-clause
2,752
85
codeparrot/github-code
68c6faa9307aae31adbf820be70e71052dfcf222a71658e2d8fdedd44527769c
<?php /** * Email changes * * @category * @package phalconskeleton * @author Tim Marshall <Tim@CodingBeard.com> * @copyright (c) 2015, Tim Marshall * @license New BSD License */ namespace models; use CodingBeard\Blameable; use Phalcon\Mvc\Model; class Emailchanges extends Model { /** * * @v...
PHP
app/models/Emailchanges.php
CodingBeard/phalconskeleton
bsd-3-clause
1,313
78
codeparrot/github-code
5fc34f2328f7f5a823de6d513d345a8af3eeb192f8662a92d23c127c68664f45
package main import ( "bytes" "crypto/tls" "crypto/x509" "encoding/json" "fmt" "io/ioutil" "net" "net/http" "github.com/decred/dcrd/dcrjson" "github.com/btcsuite/go-socks/socks" ) // newHTTPClient returns a new HTTP client that is configured according to the // proxy and TLS settings in the associated con...
GO
cmd/dcrctl/httpclient.go
jcmincke/dcrd
isc
3,710
141
codeparrot/github-code
d32c3404a6452243525b648e46996c2a1e5adadf41ec4ca580a2b67c6219c3e8
/* * Copyright (c) 2014 Santiago Arias | Remy Jourde * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
GO
controllers/teams/subscription.go
taironas/gonawin
isc
4,402
147
codeparrot/github-code
ceaf37970b3fcc798b5715e5aab3a3bf17eab9a3d1b2ffe30a64914ae85691cd
/*- * Copyright (c) 2015 Nuxi, https://nuxi.nl/ * * 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 above copyright * notice, this list of conditions and the f...
C
FreeBSD/sys/compat/cloudabi/cloudabi_mem.c
TigerBSD/TigerBSD
isc
5,086
199
codeparrot/github-code
0341277c702133591d0a6d39f70430358671e2b07202d40a91c606a14a2764ee
=pod =head1 NAME EVP_CIPHER_CTX_new, EVP_CIPHER_CTX_reset, EVP_CIPHER_CTX_free, EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex, EVP_DecryptInit_ex, EVP_DecryptUpdate, EVP_DecryptFinal_ex, EVP_CipherInit_ex, EVP_CipherUpdate, EVP_CipherFinal_ex, EVP_CIPHER_CTX_set_key_length, EVP_CIPHER_CTX_ctrl, EVP_Encry...
Perl
worker/deps/openssl/openssl/doc/man3/EVP_EncryptInit.pod
ibc/MediaSoup
isc
25,606
656
codeparrot/github-code
0b1d8632f20caf0f236ff92a9fd2ef03028679016f919b20a8be8ef67b6b2c69
/*- * Copyright (c) 2005 David Xu <davidxu@freebsd.org> * 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 above copyright * notice, t...
C
FreeBSD/lib/libthr/thread/thr_umtx.h
eriknstr/ThinkPad-FreeBSD-setup
isc
8,175
271
codeparrot/github-code
ca6c3dd4ec7ee1b2201c18e9909a751762d20fbcb1e14703d416438b1f313047
/* fs_fs.h : interface to the native filesystem layer * * ==================================================================== * 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...
C
FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/fs_fs.h
TigerBSD/TigerBSD
isc
13,120
296
codeparrot/github-code
a7c6c6b9d9a615d386cdde5b0500dbca4a4f741e763044a7c51ee9076826a95c
namespace JustOrderIt.Services.Identity { using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Data.Models.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin...
C#
Source/Services/JustOrderIt.Services.Identity/ApplicationSignInManager.cs
mpenchev86/JustOrderIt
mit
1,279
33
codeparrot/github-code
f5056da316725b878cd003671aab2ccc25992658bee1e765566cf473ac06a24c
/** * The MIT License * Copyright (c) 2015 Estonian Information System Authority (RIA), Population Register Centre (VRK) * * 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 restri...
Java
src/common-util/src/main/java/ee/ria/xroad/common/conf/globalconf/ConfigurationPartMetadata.java
ria-ee/X-Road
mit
3,988
111
codeparrot/github-code
2cc8d4625ec679a9e43647c37d6f29989719510de087b576a26cffa38e8afaa4
// This file is part of SWGANH which is released under the MIT license. // See file LICENSE or go to http://swganh.com/LICENSE #pragma once #include "swganh_core/object/object_factory.h" #include <unordered_map> namespace swganh { namespace database { class DatabaseManagerInterface; } } // swganh::database namespace...
C
src/swganh_core/object/intangible/intangible_factory.h
obi-two/Rebelion
mit
1,152
44
codeparrot/github-code
3e8df0c42a297a8bf29b20b673313e7483d291bca04985ca38450378bf74f462
/**************************************************************************** Copyright (c) 2008, Radon Labs GmbH Copyright (c) 2011-2013,WebJet Business Division,CYOU http://www.genesis-3d.com.cn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
C++
Engine/foundation/memory/win360/win360memory.cc
EngineDreamer/DreamEngine
mit
13,874
435
codeparrot/github-code
d432e823ff848eee5273d730efb04a3be8ef2d0e099846687be42b8c4726dd76
#! /usr/bin/python2 import re from kchan.lyrics import Lyrics def load(lyricsData): """Parse text with timestamps into a Lyrics instance Args: lyricsData (str): String containing text and timestamps. There may be any number of timestamps, in any order, at any locations, but they must ...
Python
kchan/timedtext.py
ichung/karaoke-chan
mit
2,694
80
codeparrot/github-code
8c68c57aeb7ab584a4e8b943979c9803b2e4787207463e935d5ee8acd289491c
/* * Copyright 2013 The Closure Compiler Authors. * * 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...
JavaScript
externs/jasmine.js
erickj/js-base
mit
7,841
417
codeparrot/github-code
433f0a71058db53a0f2afe9da8d26674c8e7b87a0ebba39cd9bda197ebd5b23f
package data import ( "github.com/twitchyliquid64/CNC/registry/syscomponents" ) var trackerObj DatabaseComponent type DatabaseComponent struct{ err error } func (d *DatabaseComponent)Name() string{ return "Database" } func (d *DatabaseComponent)IconStr() string{ return "list" } func (d *DatabaseComponent)Is...
GO
src/github.com/twitchyliquid64/CNC/data/componenttracking.go
twitchyliquid64/CNC
mit
839
46
codeparrot/github-code
f3f70a369f6f3059336f137cb8c190941cd2137e6a04cfdd46e301a3f0ee262a
package com.vimeo.stag.processor.codegen; import com.squareup.javapoet.CodeBlock; import com.squareup.javapoet.CodeBlock.Builder; import org.jetbrains.annotations.NotNull; /** * An extension of JavaPoet that makes creating switches easier. * <p> * Created by restainoa on 2/21/18. */ public class SwitchCodeBlockB...
Java
stag-library-compiler/src/main/java/com/vimeo/stag/processor/codegen/SwitchCodeBlockBuilder.java
Flipkart/stag-java
mit
2,660
102
codeparrot/github-code
a7ac1228cc11ffa3d55364dbd35d30df0a16a2ff93c07a104cdf64c379e02c49
<?php global $shopkeeper_theme_options; ?> <div id="site-top-bar"> <?php if ( (isset($shopkeeper_theme_options['header_width'])) && ($shopkeeper_theme_options['header_width'] == "custom") ) : ?> <div class="row"> <div class="large-12 columns"> <?php endif; ?> <div class="site-top-bar-inne...
PHP
shop/wp-content/themes/shopkeeper/header-topbar.php
mandino/misfit.co
mit
8,737
122
codeparrot/github-code
88bfc1e3f0932ddcd4786f6aaee10d0712098e9bf46a8997e450392ecf8a5afe
/* Project : Wolf Engine. Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved. Source : Please direct any bug to https://github.com/PooyaEimandar/Wolf.Engine/issues Website : http://WolfSource.io Name : w_sprite_font.h Description : Font class style Comment : */ #i...
C
engine/src/wolf.render/directX/w_graphics/w_fonts/w_sprite_font.h
PooyaEimandar/WolfEngine
mit
3,446
109
codeparrot/github-code
cbb9a323ff2d18324c9c79029313f41991465860cad9bb48b1bbb17925d25ddb
import React from 'react'; import { shallow } from 'enzyme'; import assert from 'assert'; import WeUI from '../src/index'; const {MediaBoxInfo, MediaBoxInfoMeta} = WeUI; const testdata = [ { label: 'no extra' }, { label: 'yes extra', extra: true } ]; describe('<MediaBoxInfo></M...
JavaScript
test/mediabox_info.js
woshisbb43/coinMessageWechat
mit
2,272
55
codeparrot/github-code
7d4f5fab943ccc5b586ccebe3d145b6bae7077ac2f6657ceda75ad104412a903
<?php namespace Chamilo\Core\Metadata\Vocabulary\Component; use Chamilo\Core\Metadata\Entity\DataClassEntityFactory; use Chamilo\Core\Metadata\Service\EntityTranslationFormService; use Chamilo\Core\Metadata\Service\EntityTranslationService; use Chamilo\Core\Metadata\Storage\DataClass\Vocabulary; use Chamilo\Core\Metad...
PHP
src/Chamilo/Core/Metadata/Vocabulary/Component/UpdaterComponent.php
forelo/cosnics
mit
3,356
93
codeparrot/github-code
68a864d43cc67799971e615a226f7d758057ba1f2df5b22b0a8200955cdee053
package com.thebluealliance.androidclient.activities; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ArgbEvaluator; import android.animation.ValueAnimator; import android.os.Bundle; import android.os.Handler; import an...
Java
android/src/main/java/com/thebluealliance/androidclient/activities/FABNotificationSettingsActivity.java
Adam8234/the-blue-alliance-android
mit
23,954
494
codeparrot/github-code
6c26ee42e4efe20d81d4fce0fb63bda53f950a5401a63e0077a60398113adf78
import { h, ref, computed, watch, getCurrentInstance } from 'vue' import QDialog from '../dialog/QDialog.js' import QMenu from '../menu/QMenu.js' import useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js' import { createComponent } from '../../utils/private/create.js' export default createC...
JavaScript
ui/src/components/popup-proxy/QPopupProxy.js
quasarframework/quasar
mit
2,168
98
codeparrot/github-code
4d87e25b6110e112366e07e9d4e48e56bb7e2274e8ec9fb0e57aa9555e1ebb85
package play_us.shared.domain; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @Generated("org.jsonschema2pojo") @JsonIgnoreProperties(ignoreUnknown=true) public class StartSession implements ...
Java
Play-US/Play_US/src/play_us/shared/domain/StartSession.java
Juanlu991/Play-US
mit
1,115
48
codeparrot/github-code
34a706782e4fecc91fa4a49e39f3aef78602ade03cb0240ffce9d51313dc48da
export interface ISpace { id: string name: string dashboards: IDashboard[] } export interface IDashboard { id: string | number description: string title: string filters?: IDashboardFilter[] dashboard_filters?: IDashboardFilter[] dashboard_elements?: IDashboardElement[] elements?: IDashboardElement[...
TypeScript
src/looker_api_types.ts
looker/lookerbot
mit
1,927
101
codeparrot/github-code
26f78095772cfc71b0a35b3d8d4229557deba92554ad9acfd682c3eed18485ea
import Ember from 'ember-metal/core'; import isEnabled from 'ember-metal/features'; import Stream from 'ember-metal/streams/stream'; import { labelFor } from 'ember-metal/streams/utils'; import { read, isStream } from 'ember-metal/streams/utils'; import merge from 'ember-metal/merge'; if (isEnabled('ember-htmlbars-get...
JavaScript
packages/ember-htmlbars/lib/keywords/get.js
rodrigo-morais/ember.js
mit
2,065
74
codeparrot/github-code
baa2305d70d994ff11401a24d938d005598ccd96a265986306177532309c75e1
package org.gyt.web.admin; import org.gyt.web.api.service.NavigationService; import org.gyt.web.api.utils.ModelAndViewUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; impor...
Java
joshua-admin/src/main/java/org/gyt/web/admin/AdminNavigationPageController.java
gyt-chenli/joshua
mit
989
32
codeparrot/github-code
9eae37a8258626040b1dc1d80056f1372f24191f5672d9aec51838c31ff32fea
package edu.galileo.android.facebookrecipes.recipemain.ui; import android.view.GestureDetector; import android.view.MotionEvent; /** * Created by ykro. */ public class SwipeGestureDetector extends GestureDetector.SimpleOnGestureListener { private static final int SWIPE_THRESHOLD = 100; private static final ...
Java
Lesson 5/AndroidTesting/app/src/main/java/edu/galileo/android/facebookrecipes/recipemain/ui/SwipeGestureDetector.java
micromasterandroid/androidadvanced
mit
1,194
40
codeparrot/github-code
4e0a0147fef715ac6780be2a3faa1006b8e89f8d8f5e8af3cef5b9d407407a96
#pragma once class Vector4 { public: Vector4(); Vector4(float x, float y, float z, float w); ~Vector4(); float x; float y; float z; float w; Vector4 operator+(const Vector4& rhs); Vector4 operator*(const float rhs); Vector4 operator-(const Vector4& rhs); Vector4 operator/(const Vector4& rhs); Vector4 oper...
C
project2D/Vector4.h
MrGuppy/BootstrapCollision
mit
603
31
codeparrot/github-code
7a2a77d3b3ede5fbd83663b160725adb8dbb05d846c9961da6976e033e09744f
// Returns fragment generator, where each returned fragment emits selected data for specified object 'use strict'; var aFrom = require('es5-ext/array/from') , ensureIterable = require('es5-ext/iterable/validate-object') , Set = require('es6-set') , ensureType = require('dbjs/valid-dbjs-t...
JavaScript
server/data-fragments/get-part-data-fragments.js
egovernment/eregistrations
mit
1,569
44
codeparrot/github-code
e8344ae2d747491bbdae685dd76faafc3da654a0fb62787823d7aa2fa5dfb6a7
package org.andengine.entity.modifier; import org.andengine.entity.IEntity; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 22:55:13 - 19.03.2010 */ public class DelayModifier extends DurationEntityModifier { // =========================================...
Java
andEngine/src/main/java/org/andengine/entity/modifier/DelayModifier.java
alexbuicescu/AndEngine-Android-Studio-Template
mit
1,959
68
codeparrot/github-code
9421e90399da778fae274ce86aa61a43e8640631354548e6551dba27e17e5f66
// // Copyright (c) .NET Foundation and Contributors // Original work Copyright (c) 1994-1998, Thomas G. Lane // See LICENSE file in the project root for full license information. // /* * jfdctfst.c * * Copyright (C) 1994-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For co...
C
src/nanoFramework.Graphics/Graphics/Core/Support/Jpeg/jfdctfst.c
nanoframework/nf-interpreter
mit
8,789
231
codeparrot/github-code
5db9fab2a90f3546bed544fb8da94e701590e4e9fc6a30aad7723b28137bd943
<?php namespace App\Models_DB\MinnichSite; class Post extends DBModel { protected $importPostSelection = [ 'title', 'content', 'summary', 'permalink', 'featured', 'status', 'visible', 'tags', 'views', ]; public function _set(&$post) { $this->bean->feature_image = $this->setImage( $post['feat...
PHP
application/Models_DB/MinnichSite/Post.php
JakeAi/Dashboard
mit
761
39
codeparrot/github-code
e371e4c5912c6a257954038c68ec50594c034a1f9e1431553e6fe7879f298950
using System; class NeuronMapping { static void Main() { const uint BIT = (uint)1; while (true) { string input = Console.ReadLine(); if (input == "-1") { break; } uint thisRow = uint.Parse(input); ...
C#
Module-1/CSharp-Part-1/Materials/AS/Variants Solutions/Problem 5 Neurons/Program.cs
owolp/Telerik-Academy
mit
1,291
58
codeparrot/github-code
de35e31ac22c13478eb942c7e93b5037c96710cf69e6a6993efd13e6773f748c
/* The MIT License (MIT) Copyright (c) 2016 Alexey Yegorov 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,...
C
elements/ui/controls/panel.h
PkXwmpgN/elements
mit
1,664
57
codeparrot/github-code
04ec5539c63f84dda775b5f7af052bc9dbb0b33ca9f56514ab4744bb7f99b298
import { reportError, clearError } from "./error-overlay-handler" let socket = null let staticQueryData = {} let pageQueryData = {} let isInitialized = false export const getStaticQueryData = () => staticQueryData export const getPageQueryData = () => pageQueryData export const getIsInitialized = () => isInitialized...
JavaScript
packages/gatsby/cache-dir/socketIo.js
0x80/gatsby
mit
3,073
101
codeparrot/github-code
865b1e51f491bcfc91cfb1d0a239c0e51d13e67892bf14bdbb4a4f2e370fbc41
module Teaspoon def self.setup(&block) Teaspoon.dep( "Teaspoon.setup is deprecated, use Teaspoon.configure instead. The /initializer/teaspoon.rb file should be " + "removed, and a new teaspoon_env.rb file should be created by running the install generator." ) configure(&block) end @dep_no...
Ruby
lib/teaspoon/deprecated.rb
modeset/teaspoon
mit
3,157
94
codeparrot/github-code
cdf4d4758f979812f2100121b8b021ecea62688e01f045c60fb0783028d0994b
#pragma once #ifndef VECTORMATH_NEW_H #define VECTORMATH_NEW_H #include <vector> #include <memory> #include <Eigen/Core> #include <data/Spin_System.hpp> #include <engine/Vectormath_Defines.hpp> namespace Engine { namespace Vectormath { ///////////////////////////////////////////////////////////////// ////////...
C++
core/include/engine/Vectormath.hpp
Disselkamp/spirit
mit
4,390
126
codeparrot/github-code
7a2a4d44e6972505de064470899ae89192289f6d38b5d7e812cd9e6791bbf4ac
var fs = require('fs') var path = require('path') var test = require('tap').test var mr = require('npm-registry-mock') var common = require('../common-tap') var server var pkg = common.pkg test('setup', function (t) { mr({port: common.port, throwOnUnmatched: true}, function (err, s) { t.ifError(err, 'registry ...
JavaScript
lts/deps/npm/test/tap/publish-access-unscoped.js
enclose-io/compiler
mit
1,484
66
codeparrot/github-code
cda2ea10edefe893b8709e573c6debd17943225bee28d75aa5e7165972fe1a1e
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcredit Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/transaction.h" #include "hash.h" #include "tinyformat.h" ...
C++
src/primitives/transaction.cpp
psydrake/bicreditsnew
mit
5,239
161
codeparrot/github-code
97f2d9765deb6f85a05848f5fcdad50e680a6b09460545812b2df2cffb154027
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title></title> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/header.css"> <link rel="stylesheet" type="text/css" href="css/status.css"> <link rel="stylesheet" type="text/css" href="css/f...
HTML
bottle/htdocs/status.html
vtill/SecyrIT
mit
6,411
206
codeparrot/github-code
7cc1fc34e767425b340618484f2dd8b84987be26167349f9c60234728aa05c56
#include<iostream> #include<algorithm> #include<cstdio> #include<cstdlib> #include<vector> #include<map> #include<queue> #include<set> #include<stack> #include<cctype> #include<cstring> #include<utility> using namespace std; #define MS(x) memset(x, 0 ,sizeof(x)) #define SC(x) scanf("%d", & (x) ) #define rep(i,x,y) for(...
C++
old/8-4c.cc
xsthunder/a
mit
1,521
82
codeparrot/github-code
7fcd35666456efac23f1b59dbc8a0a03c8720f65a82e6447884d22fa3794ee9a
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. | | T...
PHP
application/config/routes.php
andradehenrique/mercado
mit
2,022
57
codeparrot/github-code
eddfa4102430a0c60afb2ab2504416adbaa645069361c18f6a32b8d2122be628
use {io, EventSet, PollOpt, Token}; use event::IoEvent; use nix::sys::event::{EventFilter, EventFlag, FilterFlag, KEvent, kqueue, kevent}; use nix::sys::event::{EV_ADD, EV_CLEAR, EV_DELETE, EV_DISABLE, EV_ENABLE, EV_EOF, EV_ERROR, EV_ONESHOT}; use std::{fmt, slice}; use std::os::unix::io::RawFd; use std::collections::H...
Rust
src/sys/unix/kqueue.rs
geofft/mio
mit
5,490
184
codeparrot/github-code
5288051474ea02943233730cd625f8f8c280268819948480c5ad9e7817682c11
/*************************************************************************/ /* tabs.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
C++
scene/gui/tabs.cpp
honix/godot
mit
36,976
1,180
codeparrot/github-code
f4b3d9f435792dd40a360346bea36fb8d1898477c12d66f7e5ac4bd07acda775
<?php namespace Chamilo\Application\Survey\Export\Storage\DataClass; use Chamilo\libraries\platform\Translation; use Chamilo\Libraries\Storage\DataClass\DataClass; class Export extends DataClass { const TABLE_NAME = 'export'; const PROPERTY_USER_ID = 'user_id'; const PROPERTY_PUBLICATION_ID = 'publication...
PHP
src/Chamilo/Application/Survey/Export/Storage/DataClass/Export.class.php
cosnicsTHLU/cosnics
mit
4,281
147
codeparrot/github-code
4cc5edd57774bbd532b9d80a93b9e3551677bebb3318891b5b1ba55020072c94
#include "Base.h" #include "Camera.h" #include "Game.h" #include "Node.h" #include "Game.h" #include "PhysicsController.h" // Camera dirty bits #define CAMERA_DIRTY_VIEW 1 #define CAMERA_DIRTY_PROJ 2 #define CAMERA_DIRTY_VIEW_PROJ 4 #define CAMERA_DIRTY_INV_VIEW 8 #define CAMERA_DIRTY_INV_VIEW_PROJ 16 #define CAMERA_D...
C++
MayaGameplay3D/Gameplay/gameplay-src/Camera.cpp
marredal/MayaGameplay3D
mit
12,882
500
codeparrot/github-code
5d0054e7c928641162910155ad9af8a935956f89579b12025c56beaa95a6ebe7
angular.module('orderCloud') .factory('ocCostCenters', OrderCloudCostCenters) ; function OrderCloudCostCenters($q, $uibModal, ocConfirm, OrderCloudSDK) { var service = { Create: _create, Edit: _edit, Delete: _delete, Assignments: { Get: _getAssignments, M...
JavaScript
src/app/buyerManagement/costCenters/js/costCenters.service.js
ordercloud-api/angular-seller
mit
6,347
178
codeparrot/github-code
6d59c9614ac7c3c2661bf7850a9621f281a935c6db682318a7797d14ccbc65f4
using System; using System.Collections; using System.Collections.Specialized; using System.IO; using System.Text; using System.Web; using System.Web.Caching; namespace RestMvc { /// <summary> /// Acts as a proxy to the real HttpResponse during HEAD requests. /// Used only to capture the output stream witho...
C#
RestMvc/ResponseWithReadableOutputStream.cs
bbyars/RestMvc
mit
9,904
356
codeparrot/github-code
6e3adb3a087bcc81476cee90afb98afa75bae8b87e3db4f30e8317d34db80f0b
/** * This class represents a checker move. A checker move constists * of a sequence of locations. The starting location and the subsequent * locations that the checker piece should be moved to. * @author Justin Tritz */ import java.util.*; public class Move { /** * The move id is automatically assigned when t...
Java
masters/sem3/540/hw2/hw2/Move.java
priyananda/student
mit
3,398
131
codeparrot/github-code
d70d3f941783dfeb0f8ec49933d7a821b406fa57cbcfbaba9935232fda491d80
''' File: example2.py Description: Example of importing self-defining function into autoD calculate d/dx[ln(integral of x)] and d/dx[ln(integral of x^2)] at x=0.2, starting integration at x=0. History: Date Programmer SAR# - Description ---------- ---------- ---------------------------- Aut...
Python
example2.py
dwindz/autoD
mit
954
34
codeparrot/github-code
cf8a10c022ef562df77a1f071baeee51b29d7cf1502b4dfffa5bff52eb79fe9e
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>&quot;modernizer&quot; | ninejs</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../...
HTML
docs/modules/_modernizer_.html
ninejs/ninejs
mit
12,265
233
codeparrot/github-code
5b5b1ac7f87af7ffc6d6f80e7008359d5ac8d04932e992f1e06fe313fcfff009
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) {...
JavaScript
lib/checkbox.js
checkraiser/material-ui2
mit
5,379
157
codeparrot/github-code
a3005534f7059d1d471b3190dbd4e76ff394b761012a263df09dfd3170e65adb
#include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "init.h" #include "walletmodel.h" #include "addresstablemodel.h" #include "addressbookpage.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendcoinsentry.h" #include "guiutil.h" #include "askpassphrasedia...
C++
src/qt/sendcoinsdialog.cpp
eagleflies/noblecoin
mit
18,245
520
codeparrot/github-code
e1e14fc8a819f67c491e6b01ace39b9df99812784da5e1603dafd96ff6b941c4
import React, { PropTypes } from 'react'; import { View, Text, Image, } from 'react-native'; import Piece from './component/Piece'; import styles from './styles'; import * as colors from '../../constants/colors'; const Pieces = props => { const { red, green, blue, renderEmpty } = props; const _renderNoPie...
JavaScript
src/components/Pieces/Pieces.js
clairecut/clairecut-app
mit
1,401
58
codeparrot/github-code
9d9556385a5691faef14721c31b9cb2b3b1ff376fd019d7e2ba179a9d5b92b31
/// <reference path="..\..\jriappTS\jriapp.d.ts"/> /// <reference path="common.ts"/> /// <reference path="..\..\jriappTS\thirdparty\sse.d.ts"/> var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.proto...
JavaScript
RIAppDemo/RIAppDemo/Scripts/RIAppDemo/ssevents.js
jmptrader/JRIAppTS
mit
7,360
176
codeparrot/github-code
b821cebc5e733dafcc125c816be35d2b1d767ef88b128966988253134bec0934
#pragma once #include <regex> #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wshadow" #include "clang/AST/ASTConsumer.h" #include "clang/Frontend/FrontendAction.h" #pragma clang diagnostic pop #include <xl/json.h> #include "wrapped_class.h" #include "helper_functions.h" #include "ast_consumer.h" ...
C
class_parser/ast_action.h
xaxxon/v8-class-wrapper
mit
1,887
74
codeparrot/github-code
b24e9ed4f52eb749496a9c26331c101814c40540cfee48b8f7117b810c307732
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using D2D = SharpDX.Direct2D1; using SharpDX.DirectWrite; using SharpDX; using System.Collections.Generic; using System; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else #if CORE namespace HelixToolkit.SharpDX.Core #else namespace Helix...
C#
Source/HelixToolkit.SharpDX.Shared/Core2D/BorderRenderCore2D.cs
holance/helix-toolkit
mit
11,631
300
codeparrot/github-code
6ce69267beed6978afda98051f37c20e728e1d5ce627a1b1af88f32dc81878f9
""" Random numbers for PLASTK. $Id: rand.py,v 1.4 2005/08/20 16:46:14 jp Exp $ """ #from RandomArray import * import sys def shuffle(L): """ Return randomly permuted version of L. (non-destructive) """ return [L[i] for i in permutation(len(L))] def strseed(s): s1 = s[::2] s2 = s[1::2] ...
Python
neural-navigation-with-lstm/MARCO/plastk/rand.py
ronaldahmed/robot-navigation
mit
1,050
50
codeparrot/github-code
0cdfd9abb8249448e63d83dc936c91407842173bfced36b3fcc12ee1730bf447
# frozen_string_literal: true require "fear" # @example Usage # set = BinaryTreeSet.new # set.add(4) # set.includes?(4) #=> true # set.includes?(5) #=> false # set.delete(4) # set.includes?(4) #=> false # class BinaryTreeSet Position = Module.new private_constant(:Position) Right = Module.new.includ...
Ruby
examples/pattern_matching_binary_tree_set.rb
bolshakov/functional
mit
2,532
102
codeparrot/github-code
60ac9b7253d66655bafa78a4e8b5b0b1795366dd6f12e0d6f8c69ca3b1189dc7
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.ComponentModel; namespace Dalssoft.DiagramNet { [Serializable] public class ElipseNode: NodeElement, IControllable, ILabelElement { protected ElipseElement elipse; protected LabelElement label = new LabelElement(); [NonSerializ...
C#
DiagramNet/element/ElipseNode.cs
sethjuarez/Diagram.NET
mit
2,617
172
codeparrot/github-code
4bd638d85b77c313bdcf6329fef83b1bbbb586d22841e430d1f547b04cedbf0d
<!DOCTYPE html> <html dir="ltr"> <head> <meta charset="UTF-8"> <title>Segment - Standalone</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <script src="/dist/ionic.js"></script> </head> <body> <ion-toolbar> <ion-segme...
HTML
core/src/components/segment/test/standalone/index.html
TillaTheHun0/ionic
mit
2,881
124
codeparrot/github-code
e4b7d490f98ac72f16e42204ad417ef72b8e07c0a1031b99d0326cafb24a9250
/* * Copyright (c) 2017 * * 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, publish, distribute, subl...
Java
jsettlers.main.android/src/main/java/jsettlers/main/android/gameplay/controlsmenu/goods/ProductionViewModel.java
Peter-Maximilian/settlers-remake
mit
5,033
112
codeparrot/github-code
80bc866bc8de5763b7383394151bfa1057d148f121d4a265829bf06ee219aa5a
# The MIT License (MIT) # Copyright (c) 2016, 2017 by the ESA CCI Toolbox development team and contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including wi...
Python
cate/core/plugin.py
CCI-Tools/cate-core
mit
4,380
128
codeparrot/github-code
c3f90aec28752125ae5eacdae7da4ebb4d653a535c4eb1bef5e198fdc95d3f2e
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta na...
HTML
doc/manual.html
LuaDist2/lrexlib-pcre
mit
43,389
1,126
codeparrot/github-code
71c6dbe89ce1786565c750dbdd8a5939dd7b7414cef67ff48b09b1a04ea19703
<!DOCTYPE html> <html> <head> <title>Primary Energy Consumption of the World</title> <meta charset="utf-8"> <script src="http://d3js.org/d3.v3.min.js"></script> <script src="http://d3js.org/d3.geo.projection.v0.min.js" charset="utf-8"></script> <script src="lib/colorbrewer.js"></script> <scrip...
HTML
index.html
sunnylinmy/energy_data_cartogram
mit
6,109
236
codeparrot/github-code
f22e778a799f0f6e48c03ec4aabcd80325b334508b7180f92cd50fbac107e7ea
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Options - spreads (pynance.opt.spread) &mdash; PyNa...
HTML
doc/public/html/0.2.0/opt.spread.html
aisthesis/pynance
mit
13,644
294
codeparrot/github-code
d536da67b897b87b8ed3b5a762932a677a08497f5326e21712e71aea1de08384
var Device = require('../core/Device'); module.exports = function(){ return function(resource, next){ var game = this.game; if (!Device.hasAudio || !game) { return next(); } var ext = resource.url.split('?').shift().split('.').pop().toLowerCase(); var allowed ...
JavaScript
src/loader/audioSupportCheck.js
Nazariglez/perenquen
mit
1,566
57
codeparrot/github-code
a919db3a8783263d70520b3a66b8b0dfd966de4ed23189785be64d9f3a28b712
/** * * This is the main JavaScript file for Data Bindings. It depends on * Prototype (tested with Prototype 1.3.1; http://prototype.conio.net). * While Data Bindings currently targets CakePHP, this file can be used * independently of Cake, or indeed without any server-side support at * all. * * Data Bindings ...
JavaScript
app/webroot/js/binding.js
eecian/Team08-iPeer
mit
5,949
220
codeparrot/github-code
744994d89b8e9588fb6e61bbb6b605e17b0b1ec3bbff208866fd7d767e6b898f
<!doctype html> <html> <head> <meta charset=utf-8 /> <title>suches template</title> <style type='text/css'> body{ width: 980px; margin: 20px auto; } .cclear{zoom:1;} .cclear:after{content:".";display:block;visibility:hidden;height:0;clear:both;} .error{ color: red; } input.error, select.error, text...
HTML
modules/JC.Panel/0.3/_demo/data/dialog.in.frame.html
openjavascript/NewJC
mit
13,771
330
codeparrot/github-code
10aa3ecc02735fe94d81696e0823d75783d043cd33348528756731269037f70a
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #if defined(_DEBUG) #ifndef _DEBUG_IMPL #define _DEBUG_IMPL 1 #endif #define ASSERT(_expr) assert(_expr) #else #define ASSERT(_expr) #endif #ifndef _ASSERTE #de...
C
src/gc/sample/gcenv.h
bitcrazed/coreclr
mit
4,492
146
codeparrot/github-code
31322f234b3e0a5a60572c1379ac9c21923ffe4fcd47f0c455ad31216207655e
# -*- coding: utf-8 -*- ############################################################################### # Copyright (C) 2008 EVO Sistemas Libres <central@evosistemas.com> # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the F...
Python
evogtk/gui/widgetlib/dbcombobox.py
R3v1L/evogtk
mit
4,770
127
codeparrot/github-code
d40c66c13f9f32e616b9c5575fe45fb2e21ebfedb17433ad666949c3e4b663f0
<div class="bs-docs-section"> <h1 id="type" class="page-header">Typography</h1> <!-- Headings --> <h2 id="type-headings">Headings</h2> <p>All HTML headings, <code>&lt;h1&gt;</code> through <code>&lt;h6&gt;</code>, are available. <code>.h1</code> through <code>.h6</code> classes are also available, for when you...
HTML
docs/_includes/css/type.html
scjang/ssss
mit
18,887
462
codeparrot/github-code
3872d12c1cef8ca268228ed38f3cae0351a7ace68d78b38beb58aa63f3679d93
#requires -version 5.0 #test if VM setup is complete #The password will be passed by the control script WaitforVM.ps1 #You can manually set it while developing this Pester test $LabData = Import-PowerShellDataFile -Path .\*.psd1 $Secure = ConvertTo-SecureString -String "$($labdata.allnodes.labpassword)" -AsPlainTex...
PowerShell
Standalone/POC-MultiRole/VMValidate.test.ps1
jdhitsolutions/PS-AutoLab-Env
mit
4,873
143
codeparrot/github-code
539ef1309c3e19ab2c69e8c30f5376595c43897590f415531f1314761be6bc03
<?php /** * RevokeTest * * @package Doctrine\OrientDB * @subpackage Test * @author Alessandro Nadalin <alessandro.nadalin@gmail.com> * @version */ namespace test\Doctrine\OrientDB\Query\Command\Credential; use Doctrine\OrientDB\Query\Command\Credential\Revoke; use test\PHPUnit\TestCase; class RevokeTe...
PHP
test/Doctrine/OrientDB/Query/Command/Credential/RevokeTest.php
ruleant/orientdb-odm
mit
2,382
93
codeparrot/github-code