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
198bfba7e46ebf634ade129b37724e9d24698bde8166b21c7593cbba16436603
var _a; import app from './app'; import toHTML from './vdom-to-html'; import { _createEventTests, _createStateTests } from './apprun-dev-tools-tests'; app['debug'] = true; window['_apprun-help'] = ['', () => { Object.keys(window).forEach(cmd => { if (cmd.startsWith('_apprun-')) { cmd...
JavaScript
esm/apprun-dev-tools.js
yysun/apprun
mit
8,440
225
codeparrot/github-code
4f71128db7531c49f86b4f099a7fb4c068942f14bdfbf60e5cad454c35c57ffc
import './index.css'; import React, {Component} from 'react'; import { postToggleDevice } from '../ajax'; export default class SocketDevice extends Component { constructor() { super(); this.state = {clicked: false, device: {}}; this.clicked = this.clicked.bind(this); } componentWi...
JavaScript
src/SocketDevice/index.js
aspic/wemo-control
mit
1,491
54
codeparrot/github-code
482c37879a0433e292c3ba672840ea4cf32040ccec1e49315d1199fef9f3cadb
#Attr Methods # I worked on this challenge by myself. # I spent [#] hours on this challenge. # Pseudocode # Input: # Output: # Steps: class NameData end class Greetings end # Release 1 #What are these methods doing? # These methods set a name, age, and occupation, then they allow those instance variables to ...
Ruby
week-6/attr/my_solution.rb
ryanfs/phase-0
mit
2,388
92
codeparrot/github-code
f3b7c0e65220391b9bfe52cd65d1c2e9d03d5c1fb5a5a783b045bc19e91c846c
<?php namespace Gwa\Remote; /** * @brief Loads a remote resource using curl. * @class RemoteResource */ class RemoteResource { private $_url; private $_errno; private $_errmsg; private $_content; private $_header; private $_options; /** * @brief The constructor. * @param strin...
PHP
src/Gwa/Remote/RemoteResource.php
gwa/gwRemoteResource
mit
2,909
139
codeparrot/github-code
0a5c145807d1756515a141ce05028b79a4696bddd4e8a49a13e3c3149187d308
/* * Copyright (c) 2016 airbug Inc. http://airbug.com * * bugcore may be freely distributed under the MIT license. */ //------------------------------------------------------------------------------- // Annotations //------------------------------------------------------------------------------- //@TestFile //@...
JavaScript
libraries/bugcore/js/test/observe/data/ObservableMapTests.js
airbug/bugcore
mit
3,975
115
codeparrot/github-code
7b12d84134358f1ace08e0d139e3f8205f6374412e2d9c5807962ccd73eeaae7
const app = require('../server'); const readline = require('readline'); const { User, Role, RoleMapping, } = app.models; const rl = readline.createInterface({ input: process.stdin, output: process.stdout, }); Role.findOne({ where: { name: 'admin' } }) .then((role) => { if (!role) { console.log('No ad...
JavaScript
server/scripts/create-admin.js
oamaok/kinko
mit
1,056
54
codeparrot/github-code
ebcb566657258a6a0f764851e46a20d1e7f6cc87811aae4f8dfab4b13df041b3
/*Owner & Copyrights: Vance King Saxbe. A.*//*Copyright (c) <2014> Author Vance King Saxbe. A, and contributors Power Dominion Enterprise, Precieux Consulting and other contributors. Modelled, Architected and designed by Vance King Saxbe. A. with the geeks from GoldSax Consulting and GoldSax Technologies email @vsaxbe@...
PHP
App/USDMOP.php
VanceKingSaxbeA/FOREX-Engine
mit
9,398
260
codeparrot/github-code
0560652bc4aa4d275374ed336092605a9a17fe64afdb571480ffd64389a9585f
<?php namespace JeroenNoten\LaravelAdminLte\Menu; use Illuminate\Support\Arr; use JeroenNoten\LaravelAdminLte\Helpers\MenuItemHelper; class Builder { protected const ADD_AFTER = 0; protected const ADD_BEFORE = 1; protected const ADD_INSIDE = 2; /** * The set of menu items. * * @var ar...
PHP
src/Menu/Builder.php
JeroenNoten/Laravel-AdminLTE
mit
6,853
242
codeparrot/github-code
561322f7d56e2bf31246d69bf2a954a75bf571fdcb625c27793709b94e73e66b
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>LCOV - coverage.info - /usr/include/c++/4.8/bits/vector.tcc</title> <link rel="stylesheet" type="text/css" href="../../../../../gcov.css"> </head> <...
HTML
Appserver/Coverage/usr/include/c++/4.8/bits/vector.tcc.gcov.html
seguijoaquin/taller2-appserver
mit
82,695
935
codeparrot/github-code
d491cab53b86c21bd9caa975873bea3be78b7829a7638d4b64feb31436291507
<!DOCTYPE html> <html> <head> <title>F2E_0关于Bootstrap的响应式布局设计</title> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="keywords" content="F2E_0关于Bootstrap的响应式布局设计, 随编, 前端之路, CodeShurri...
HTML
_site/2013-11-09/F2E_0关于Bootstrap的响应式布局设计/index.html
ixjx/blog
mit
20,086
437
codeparrot/github-code
becc260c6a64aebad11ca4e413ca8006a5b8e61cd87ded76a704de88eafae855
package org.nww.core.data.filter; import java.util.List; /** * A simple filter criteria implementation checking the existence of a string * inside a list of strings. Does only match if the list contains a totally * equal string like the context one. * * @author MGA */ public class StringInListFilterC...
Java
src/main/java/org/nww/core/data/filter/StringInListFilterCriteria.java
NetzwerkWohnen/NWW
mit
877
31
codeparrot/github-code
c546afa30c918feabaf05a09ec13bbb4e7ca3552e079951ef5aade39602fd661
declare module "diagram-js/lib/features/global-connect/GlobalConnect" { import EventBus from "diagram-js/lib/core/EventBus"; import { Base } from "diagram-js/lib/model"; import Canvas from "diagram-js/lib/core/Canvas"; import Dragging from "diagram-js/lib/features/dragging/Dragging"; export default class Glo...
TypeScript
src/process/types/diagram-js/lib/features/global-connect/globalconnect.d.ts
ProcessHub/processhub-sdk
mit
1,101
41
codeparrot/github-code
2c5d24e78e80b54b78c4e710350e1bce11bf59a1347c0ac19d912039145c36a4
// // ModeTwo.h // Haydn_NWS_2014_FINAL // // Created by Bernardo Santos Schorr on 3/8/14. // // #pragma once #include "ofMain.h" #include "fft.h" #include "FFTOctaveAnalyzer.h" #include "ParticleOrbit.h" #include "movingBackground.h" class ModeTwo { public: void setup( vector<MovingBackground> &bkgListT...
C
Spring_2014/Haydn_NWS_2014_FINAL/src/ModeTwo.h
jmsaavedra/NWS_Collabs
mit
515
32
codeparrot/github-code
f0e010f01dc8f55fe836bad2b626ca3e608623ffdb064c079c23798b1cf5a689
<?php /* * This file is part of the Zephir. * * (c) Zephir Team <team@zephir-lang.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Zephir\Optimizers\FunctionCall; use function Zephir\add_slashes; use Zephir\Call; u...
PHP
Library/Optimizers/FunctionCall/MemstrOptimizer.php
dreamsxin/zephir
mit
1,887
61
codeparrot/github-code
822ca197dea8d281face3758bcc83a35068d1e543414ccbf9281c49d8ba80bf5
'use strict'; // you have to require the utils module and call adapter function const utils = require('@iobroker/adapter-core'); // Get common adapter utils const adapterName = require('./package.json').name.split('.').pop(); // include node-ssdp and node-upnp-subscription const {Client, Server} = require('node-ssdp'...
JavaScript
main.js
Jey-Cee/ioBroker.upnp
mit
83,352
1,934
codeparrot/github-code
da3eb80692057542e1ae502766ccaa98cf2b8576f103b546e95911c6645121ea
//===================================================================== // Copyright 2012-2016 (c), Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file /// //===================================================================== #ifndef _ACL_API_TYPES_0_8_H_ #define _ACL...
C
Common/Lib/AMD/ACL/TOT/include/v0_8/aclTypes.h
ilangal-amd/CodeXL
mit
4,128
93
codeparrot/github-code
bb563bfff50fd82bc15c38d6c65ced006f3ac3b85c941b96ee3eaa0c997a1a42
<HTML><HEAD> <TITLE>Review for Stanza del figlio, La (2001)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0208990">Stanza del figlio, La (2001)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/Revie...
HTML
data science/machine_learning_for_the_web/chapter_4/movie/29800.html
xianjunzhengbackup/code
mit
5,912
104
codeparrot/github-code
7e21503b25375460f0aa9fc43f38fcce574f9e0704ebb47aa2dad076fa7aff45
$(document).ready(function() { $.getJSON('/backend/go/' + go_term['id'] + '/locus_details', function(data) { create_go_table(data); }); $.getJSON('/backend/go/' + go_term['id'] + '/ontology_graph', function(data) { var cy = create_cytoscape_vis("cy", layout, graph_style, data, null, false, "goOntology"); ...
JavaScript
src/sgd/frontend/yeastgenome/static/js/go.js
yeastgenome/SGDFrontend
mit
7,443
181
codeparrot/github-code
d2d85f565b2fd9a5f142ba11bdeb6d7e9c83564e8e607d68dd22a82c58415371
# vim: set noet sw=4 ts=4 fileencoding=utf-8: # # Copyright (c) 2013-2017 Dave Jones <dave@waveform.org.uk> # Copyright (c) 2013 Mime Consulting <info@mimeconsulting.co.uk> # All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documenta...
Makefile
Makefile
waveform80/lars
mit
6,976
205
codeparrot/github-code
f98b462cd2b129fcc415e233844f7380e871b64e56c3a55d8700aba5faf39048
--- title: ruby on rails permalink: "ror/index.html" layout: default --- <Main class=""> <h1 class="std_hdg_color">Ruby on Rails</h1> <p>This is a collection of posts related to Ruby on Rails and Ruby. When I changed from my previous IBM platform to the web paradigm and open source, I originally started with PHP b...
HTML
ror.html
eaglerockdude/eaglerockdude.github.io
mit
2,245
38
codeparrot/github-code
f15d2c7441181b027d2ea8177663139eba2e12e3f78e9c21b096bc33916c7ed7
// app.js /*jslint node: true */ 'use strict'; var compression = require('compression'); var express = require('express'); var passport = require('passport'); var mongoose = require('mongoose'); var flash = require('connect-flash'); var morgan = require('morgan'); var cookieParser = require('cookie-pars...
JavaScript
app.js
formed/paths.old
mit
1,352
44
codeparrot/github-code
21eaf33de6ee104134616a617f5cff6e027840be70a72f7400ba1c9a9f305543
import Chip from '../../components/Chip' import { vueTest } from '../utils' describe('Chip', () => { let vm before((done) => { vm = vueTest(Chip) vm.$nextTick(done) }) it('renders with text', () => { const el = vm.$('#chip') el.should.contain.text('Basic chip') el.should.not.have.class('md...
JavaScript
test/unit/specs/Chip.spec.js
posva/vue-mdl
mit
1,991
72
codeparrot/github-code
d67c7b700716787c10c6a86fab5392a6215d301b96bbc87decdc0f2934eed37e
var request = require('supertest'); var should = require('should'); var express = require('express'); var expressRouter = require('../index.js'); var mockPath = 'mock.js'; describe('register routes', function(){ var app; before(function(){ app = express(); expressRouter.sync(app, mockPath...
JavaScript
test/sync.js
mastilver/express-annotation
mit
905
42
codeparrot/github-code
5314b38e32dc3b586496e6000a981c33a9d99b186c84283c12227c40b2a634ce
package junit.util; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; /** * JUnit4からのassertThatアサーションを使いやすくするためのラッパー処理群。<br> * isのためのimportが面倒、Boxingは避けたいという御仁向け。<br> * assertThatのシグネチャが改善される可能性を考慮してメソッド名は別名にしています。 * * @author cobot00 */ public final class AssertWrapper { priva...
Java
test/junit/util/AssertWrapper.java
cobot00/JUnitForEnterprise
mit
1,957
59
codeparrot/github-code
62102b5139952d5c51305fd967c1c7127c646bf49f93ae90e6af398fa662c7f1
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>quickchick: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.06.1-2.0.5/released/8.12.1/quickchick/1.4.0.html
coq-bench/coq-bench.github.io
mit
7,008
181
codeparrot/github-code
05b3b7b53272af12c60ed621731bd1bc738d4d5a8b6412beef37ac209784aacd
package log import ( "io" "github.com/sirupsen/logrus" ) type Fields logrus.Fields type Level uint8 var DebugLevel = Level(logrus.DebugLevel) var InfoLevel = Level(logrus.InfoLevel) var WarnLevel = Level(logrus.WarnLevel) var ErrorLevel = Level(logrus.ErrorLevel) var logger = logrus.New() func SetOutput(w io.W...
GO
log/log.go
cadenzr/cadenzr
mit
1,909
111
codeparrot/github-code
0cc5d391eefde3cb5fe636d71d6d40bc8c64317c30c5a5f8fb40286b56f301a8
jest.mock('send') import { GraphQLSchema, GraphQLObjectType, GraphQLString } from 'graphql' import { $$pgClient } from '../../../postgres/inventory/pgClientFromContext' import createPostGraphQLHttpRequestHandler, { graphiqlDirectory } from '../createPostGraphQLHttpRequestHandler' const path = require('path') const ht...
JavaScript
src/postgraphql/http/__tests__/createPostGraphQLHttpRequestHandler-test.js
nbushak/postgraphql
mit
18,117
594
codeparrot/github-code
fcf9c2431952d1f2edbcc5c7a2df1d210cd865409c74080c62778c91f4e46e55
--- title: '[Xamarin.Forms] 安裝CurrentActivity Plugin藉以存取Xamarin.Android Activity' categories: Xamarin Xamarin.forms plugin --- 在Xamarin Forms跨平台存取Android的Activity,需要安裝與設定CurrentActivityPlugin才能達成,比如使用MediaPlugin在Android就需要用到,請參考[Access the Current Android Activity from Anywhere](https://montemagno.com/access-the-curre...
Markdown
_posts/2018/2018-04-07-install-currentactivity-plugin-access-xamarin-android-activity.markdown
w9wen/w9wen.github.io
mit
2,392
59
codeparrot/github-code
d81364d46dfa88d1155696240fd35bdc637392d738e2e89359a80c65d4fb82f3
/* eslint no-console: warn */ const _ = require('lodash'); const { processScore } = require('../helpers/game.js'); const getRandomQuiz = require('../../app/helpers/quizRandomizer.js'); module.exports = function socketHandler(io) { const players = []; const game = io.of('/game'); game.on('connect', function (sock...
JavaScript
src/socket/index.js
OperationSpark/code-clash
mit
1,848
58
codeparrot/github-code
2aec7dbde5083dcacdd15359de560506f4d364b905b927fec15c951a5a15145a
'use strict'; import Component from './component'; import VolumeAttachment from './volume-attachment'; import Port from './port'; import {isString} from './util'; const Server = function (properties) { if (!(this instanceof Server)) { return new Server(properties); } Component.call(this, { ports: [],...
JavaScript
src/server.js
kazet15/heat-templates
mit
1,872
104
codeparrot/github-code
5fa9e3e93c1031772a08b88730032382be2d9b890d13c31544aa86d382bbb291
package com.jgdodson.rosalind import utils.Utils object Cons { def main(args: Array[String]): Unit = { val pairs = Utils.readFastaFile(args(0)) val strings = pairs.map(_._2) val profile = makeProfile(strings) println(makeConsensus(profile)) println(formatProfile(profile)) } def makeProfile...
Scala
src/main/scala/com/jgdodson/rosalind/Cons.scala
PilgrimShadow/Rosalind.scala
mit
1,377
57
codeparrot/github-code
f41c59624f1cd51d0a515038f6d4aca7907578edbe6c40fcd83d621dad5fc31b
<?php /** * (c) shopware AG <info@shopware.com> * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ShopwarePlugins\Connect\Components\ShippingCosts; use Shopware\Connect\ShippingCosts\Rule; use Shopware\Connect\ShippingCosts\Ru...
PHP
Components/ShippingCosts/ShippingCostRuleVisitor.php
shopware/SwagConnect
mit
4,969
177
codeparrot/github-code
ec20c35ef2939b599b3c9396f34749d83d590278529dbf5b9906aafade3f817a
package com.crescentflare.appconfig.helper; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.os.Build; import android.util.TypedValue; /** * Library helper: resource access * A helper library to access app resources for skinning the user interface...
Java
AppConfigLib/src/main/java/com/crescentflare/appconfig/helper/AppConfigResourceHelper.java
crescentflare/DynamicAppConfigAndroid
mit
1,901
62
codeparrot/github-code
99177e2f96c5a241db74cdc8e5e1391f582b971510800ea7bd7c223771d75bb3
using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace UrbanSketchers.Pages { /// <summary> /// the root page /// </summary> [XamlCompilation(XamlCompilationOptions.Compile)] public partial class RootPage { private bool _isFirst = true; /// <summary> ...
C#
UrbanSketchers/UrbanSketchers/Pages/RootPage.xaml.cs
mscherotter/UrbanSketchers
mit
1,705
63
codeparrot/github-code
04e74310be89bd7f56465271094f543ff1a545c7a30df909bfe63f4bc78612ff
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Qwack.Core.Basic; using Qwack.Core.Curves; using Qwack.Core.Models; namespace Qwack.Models.Risk.Mutators { public class CurveShiftMutator { public static IAssetFxModel AssetCurveShiftRelative(string assetId, dou...
C#
src/Qwack.Models/Risk/Mutators/CurveShiftMutator.cs
cetusfinance/qwack
mit
2,852
70
codeparrot/github-code
d499ea34383546e842f10bce251b48988463045a7c4bad07cd3486da3eb5cf27
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file gdDeprecationStatisticsView.cpp /// //========================================================================...
C++
CodeXL/Components/GpuDebugging/AMDTGpuDebuggingComponents/views/src/gdDeprecationStatisticsView.cpp
ilangal-amd/CodeXL
mit
26,164
637
codeparrot/github-code
70e6879c78b929dc510d92671773492dcab54a11c4f7929f9c5ed09a1238ee5b
import readPkg = require('read-pkg') import {installPkgs} from 'supi' import tape = require('tape') import promisifyTape from 'tape-promise' import { addDistTag, prepare, testDefaults, } from '../utils' const test = promisifyTape(tape) test('save to package.json (rimraf@2.5.1)', async (t) => { const project =...
TypeScript
test/install/updatingPkgJson.ts
pnpm/supi
mit
6,159
183
codeparrot/github-code
c5c486ac45a26bfca1bd508f1f1ae23a63b8a1a9b98db61e10edb2c20d68d1c9
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
C#
ComponentTest/App.xaml.cs
Ugonna/AutocompleteTextBox
mit
4,219
110
codeparrot/github-code
3b98ad36e648250310d62a9b43ce29a5a6e69ea6180e40d3e0051db2d5e5be92
using Microsoft.Xna.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Spectrum.Framework.Entities; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Spectrum.Framework.Content { public class InitDataPars...
C#
Framework/Content/InitDataParser.cs
alex-sherman/Spectrum
mit
1,038
38
codeparrot/github-code
9d18238d55726bec792335c452453113878f5286ed1d315ddad75603940931c1
#!/usr/bin/env python3 # JN 2015-07-29 """ Log file parser for Cheetah by Johannes Niediek This script reads out the reference settings by sequentially following all crs, rbs, and gbd commands. Please keep in mind that the following scenario is possible with Cheetah: Start the recording Stop the recording Change the...
Python
tools/parse_cheetah_logfile.py
jniediek/combinato
mit
19,113
557
codeparrot/github-code
06c1909f6a8af28c27dbb6f543b42495659cec687db18b4ddb60836b4b410e75
/* * Copyright 2007 ZXing 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 law or agreed ...
TypeScript
src/core/qrcode/detector/Detector.ts
zxing-js/library
mit
16,330
411
codeparrot/github-code
c9e41356979e21e6d55f27c5efd1d59a95927c50070fc5fd5c256907eb0efa24
# Simple plotter for Gut books. # All this does is draw a sqare for every stat in the input # and color it based on the score. # # Another fine example of how Viz lies to you. You will # need to fudge the range by adjusting the clipping. import numpy as np import matplotlib.pyplot as plt import sys as sys if len(s...
Python
squareplot.py
craigulmer/gut-buster
mit
1,320
55
codeparrot/github-code
d71c276ff04093c16fa4898eb78981a0406d51858b1b0a80f67c6761789c3e50
using NBitcoin; using ReactiveUI; using Splat; using System; using System.Globalization; using System.Linq; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using WalletWasabi.Blockchain.TransactionOutputs; using WalletWasabi.CoinJoin.Client.Rounds; using WalletWasabi.CoinJoin.Commo...
C#
WalletWasabi.Gui/Controls/WalletExplorer/CoinViewModel.cs
nopara73/HiddenWallet
mit
8,992
287
codeparrot/github-code
1d74f18eeb270994da65bb84da623045b912fc288cda1c1d489d2447c4b98c4d
/*Problem 13. Solve tasks Write a program that can solve these tasks: Reverses the digits of a number Calculates the average of a sequence of integers Solves a linear equation a * x + b = 0 Create appropriate methods. Provide a simple text-based menu for the user to choose which task to solve. Validate the in...
C#
Homework 03-Methods/Problem 13. Solve tasks/Program.cs
MarinMarinov/C-Sharp-Part-2
mit
3,085
107
codeparrot/github-code
94fd7d04b9cb4299d0d2bf25f4e09c63f20aaea19881e5550877c9c60c882418
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Animated, Easing, View, } from 'react-native'; const INDETERMINATE_WIDTH_FACTOR = 0.3; const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_WIDTH_FACTOR); export default class ProgressBar extends Co...
JavaScript
src/Progress/Bar.js
fengshanjian/react-native-komect-uikit
mit
3,584
148
codeparrot/github-code
d5c6f5afa4dfa8f6dc42dc58034f992f505f2b82d475465740a3bcc3d41ac718
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Mar 16, 2017 at 09:48 AM -- Server version: 10.1.19-MariaDB -- PHP Version: 7.0.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI...
SQL
sql/als_db v0.2.6.sql
jackyef/asset-labeling-system
mit
15,070
578
codeparrot/github-code
bbb245ab3518421c8a00db0b5e3318c681bad568e6adaf63abc5e950f4ebf2ce
package gr.iti.openzoo.pojos; /** * * @author Michalis Lazaridis <michalis.lazaridis@iti.gr> */ public class Triple<L,M,R> { private final L left; private final M middle; private final R right; public Triple(L left, M middle, R right) { this.left = left; this.middle = middle; this.right = righ...
Java
OpenZUI/src/java/gr/iti/openzoo/pojos/Triple.java
VisualComputingLab/OpenZoo
mit
1,025
41
codeparrot/github-code
62ab8345d9a8cefb5841f22c9e38d9b9700e198ce43d80dd05067985c4dbbcec
package dp; /** * Question: http://www.geeksforgeeks.org/count-number-binary-strings-without-consecutive-1s/ */ public class CountBinaryWithoutConsecutiveOnes { public int count(int N) { int[][] memo = new int[N + 1][2]; for (int i = 0; i < memo.length; i++) { for (int j = 0; j < memo...
Java
geeks-for-geeks/src/dp/CountBinaryWithoutConsecutiveOnes.java
scaffeinate/crack-the-code
mit
1,025
39
codeparrot/github-code
2f84c5e84c28685993d6f9cccb0842f015a63f62a6c4db43e92c4f5c17f3eccf
/* * wjquery.calendar 0.1.1 * by composite (wonchu.net@gmail.com) * http://www.wonchu.net * This project licensed under a MIT License. 0.1.0 : 최초작성 0.1.1 : 소스정리 */ (function ($) { const WCALENDAR_SV = { ns: "wcalendar", dateFormat: "YYYYMMDD", lang: { ko: {...
JavaScript
js/lib/wjquery/wjquery.calendar.js
bibaboo/bibaboo.github.com
mit
12,603
333
codeparrot/github-code
3019e6971994a2f30415c003a0cfed52cf2e14176557ae432f1fa0b9ecdee3b0
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2000 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004-2016 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of ...
C
WebLayoutCore/Source/WebCore/html/HTMLOptionsCollection.h
gubaojian/trylearn
mit
3,469
93
codeparrot/github-code
306628045ab65e9df2149dade5260e1bc8619f881a4390ad77db7ef0d4613808
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>regexp: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
HTML
clean/Linux-x86_64-4.02.3-2.0.6/released/8.4.6~camlp4/regexp/8.8.0.html
coq-bench/coq-bench.github.io
mit
7,437
173
codeparrot/github-code
fdbff85122d30feede0c96ff862744abecd52bf8b9a5352c933bcaa4b529a6c1
<?php /* SensioDistributionBundle::Configurator/final.html.twig */ class __TwigTemplate_97f044a3817b39b7b53a0966d7ee406e extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("SensioDistributionBundle::C...
PHP
app/cache/dev/twig/97/f0/44a3817b39b7b53a0966d7ee406e.php
edconolly/symfony-test
mit
3,293
106
codeparrot/github-code
8e0ead4950c17639fb88a7489766208d99507128b0e2fb15ce386daf7b7c643d
#ifndef __MSA_rules_ye_WORLD2D__ #define __MSA_rules_ye_WORLD2D__ #include "..\_MSA_DDraw\MSA_DDraw.h" #include "MSA_sprite.h" #define MAX_SPRITE_COUNT 512 class MSA_WORLD2D // SPRITE LINKED LIST MANAGMENT { private: friend class MSA_SPRITE; MSA_DDRAW *TheDDraw; MSA_SPRITE *spr; short SpriteCount...
C
MSA_World2d.h
memo/msalibs_2000
mit
821
46
codeparrot/github-code
8d130af4dd5b61074dbb3f86d0e7b89c728c379db0730e8f1ed6b16bd795cf3a
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
C
ExternalLibraries/NvGameworksFramework/include/NsFoundation/NsBasicTemplates.h
centauroWaRRIor/VulkanSamples
mit
3,719
147
codeparrot/github-code
13630b1683883f4b32c7f92b892aa87bac2648b270a09c27719931777d26dd95
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coqoban: 22 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="sty...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.11.0/coqoban/8.13.0.html
coq-bench/coq-bench.github.io
mit
7,106
169
codeparrot/github-code
ec1aef53dfc018c53a0ba1b091c485e8fbdcbecd606f2f59f9dbe0c6c0d49533
/* myrootkit.c: fill in the blanks to write your first rootkit! */ #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/unistd.h> MODULE_LICENSE("GPL"); MODULE_AUTHOR("Your name here"); // syscall_table perm addr in the kernel unsigne...
C
basic/myrootkit.c
bekher/rt-techtalk
mit
1,331
62
codeparrot/github-code
cb7837d5fc0965b4351ca3c85674b45c5e46885e58c7049ac2eafe5a97064a8f
class WatchesController < ApplicationController def create # puts "In controller Watch.count: #{Watch.count}" @watch = Watch.new(watch_params) if !@watch.save logger.error("Save failed: #{@watch.errors.full_message} #{@watch.inspect}") end respond_to do |format| format.js do #...
Ruby
app/controllers/watches_controller.rb
weenhanceit/outages
mit
1,336
47
codeparrot/github-code
bf22cb27cffc7dfea9e032df37be8e0065f429cefbfab99788e64829549ad127
package lila.round import akka.actor._ import akka.pattern.ask import com.typesafe.config.Config import scala.concurrent.duration._ import actorApi.{ GetSocketStatus, SocketStatus } import lila.common.PimpedConfig._ import lila.hub.actorApi.map.{ Ask, Tell, TellAll } import lila.socket.actorApi.GetVersion import make...
Scala
modules/round/src/main/Env.scala
JimmyMow/lila
mit
7,632
227
codeparrot/github-code
2e32bf67c3cf3bc1f0d875cf0c07a509bdd14ff0303382546051ed7f6dc4a6f3
/* * AStar.hpp * * Created on: 10.07.2014 * Author: lowkey */ #ifndef ASTAR_HPP_ #define ASTAR_HPP_ #include "DungeonGenerator.hpp" #include <vector> #include <algorithm> #include <cassert> #include <iostream> typedef std::vector<Position> Path; template<class CostCalculatorType> class AStar { public: ...
C++
dungeon-gen/src/AStar.hpp
lowkey42/test-dungeonGen
mit
3,966
150
codeparrot/github-code
40b41cb38ac4b3ce08323f293493116f6b58372a192eb4854ab4055db7b2ecd7
// TODO: Add tests import passport from 'passport'; import { OAuth2Strategy as GoogleStrategy } from 'passport-google-oauth'; import authConfig from '../credentials.json'; import init from '../init'; import { upsert } from '../../lib/util'; function passportInit() { // serialize user into the session init(); ...
JavaScript
src/server/auth/strategies/google.js
harsh376/Hector
mit
1,036
40
codeparrot/github-code
186fe69ada419ba16219748e3dac914a71a90209e81571f6be6bcffaf4c4d440
{% load crispy_forms_tags %} {% block content %} {% if error %} <div class="alert alert-dismissable alert-danger"> <button type="button" class="close" data-dismiss="alert">×</button> <strong>Oh snap!</strong> {{ error }} </div> {% endif %} {% if success %} <div class="alert alert-dismissable...
HTML
templates/user/addstudent.html
carlosa54/evaluation_system
mit
1,789
56
codeparrot/github-code
2f6a243474deab62d88aadd833fadae1b7748a0387eeac6b7615550a38fe87ce
#include "mouse.h" ////////////////////////////////////////////////////////////////////////// // RAY // ////////////////////////////////////////////////////////////////////////// RAY::RAY() { org = dir = D3DXVECTOR3(0.0f, 0.0f, 0.0f); } RAY::RAY(D3DXVECTOR3 o, D3DXVECTOR3 d) { org = o; dir = d; } ...
C++
rts-master/Chapter 5/Example 5.9/mouse.cpp
ericrrichards/rts
mit
6,933
277
codeparrot/github-code
4a6eaa9a9cb23c15aba474411520041f94d96f2d3c84a195fcad39e30b9f5da6
#!/usr/bin/env python3 # Copyright (c) 2014-2019 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 the importmulti RPC. Test importmulti by generating keys on node0, importing the scriptPubKeys an...
Python
test/functional/wallet_importmulti.py
Bitcoin-ABC/bitcoin-abc
mit
37,468
789
codeparrot/github-code
78ee923b707ad968882989388947d5dfa71ec627e1ebb7e77de947d931e232dd
import os import json from base import BaseController from nqueens.models import Piece, Panel, Meta class NQueensController(BaseController): def __init__(self, view): super(NQueensController, self) self._piece_data = None self._piece_cache = None self.view = view @classmethod...
Python
nqueens/controller.py
PereBal/advanced-algorithms
mit
2,927
94
codeparrot/github-code
d49a55a2ca5c4f84750d946b4c4b0d017ed9867f69f569f433db626ecd45be58
#!/usr/bin/env python # *-* coding: UTF-8 *-* """ Organizaţia Internaţională a Aviaţiei Civile propune un alfabet în care fiecărei litere îi este asignat un cuvânt pentru a evita problemele în înțelegerea mesajelor critice. Pentru a se păstra un istoric al conversațiilor s-a decis transcrierea lor conform următoarelo...
Python
python/solutii/iulian_andrei/icao/from_icao.py
iulianbute/labs
mit
1,846
55
codeparrot/github-code
217b7b2d2db75c1e8f4905d9daa00d2a4f403aee5e1acd31ea2db0daae218d5e
package telebot import ( "bytes" "encoding/json" "fmt" "io" "io/ioutil" "log" "mime/multipart" "net/http" "os" "strconv" "strings" "time" ) // Raw lets you call any method of Bot API manually. // It also handles API errors, so you only need to unwrap // result field from json data. func (b *Bot) Raw(metho...
GO
api.go
tucnak/telebot
mit
5,082
232
codeparrot/github-code
55f92ae61d0f8edb0c4880803c205ad6ed5bbaa59454fe86b82e304597697f16
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
src/vs/base/parts/tree/browser/treeDnd.ts
rishii7/vscode
mit
1,682
74
codeparrot/github-code
da807ccdee7e1be5e0f0c4c8cd6db7297f298727a23162f315bc320bdb6c9380
import Vue from 'vue'; import Router from 'vue-router'; import Home from '@/views/Home.vue'; import Sms from '@/views/SMS.vue'; import Services from '@/views/Services.vue'; import Settings from '@/views/Settings.vue'; import Wlan from '@/views/settings/wlan.vue'; import DialUp from '@/views/settings/dialup.vue'; import...
JavaScript
src/vue-router/index.js
nextgensparx/quantum-router
mit
1,330
65
codeparrot/github-code
be5945ac243b33a1a7dbde2e871e6bd70af8c50bd8b2c856fd4eed28454f8b9d
/** * OpenAL cross platform audio library * Copyright (C) 2009 by Chris Robinson. * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your ...
C
External/openal/Alc/effects/modulator.c
fjz13/Medusa
mit
10,189
310
codeparrot/github-code
cc7c3cef78fa10847766321c0f99c02fcd2e1e32930a192e3f9f0fd0e1384aef
<?php namespace Mpay24\Responses; /** * The AbstractPaymentResponse class contains all the parameters, returned with the confirmation from mPAY24 * * Class AbstractPaymentResponse * @package Mpay24\Responses * * @author mPAY24 GmbH <support@mpay24.com> * @author Stefan Polzer <develop@ps-webdesign.c...
PHP
src/Responses/AbstractPaymentResponse.php
mpay24/mpay24-php
mit
2,290
107
codeparrot/github-code
be82acba535cbb667426f20f6e89b6ab3200926a34583abb4a201f297bd5dd82
package main.java.test; import java.util.Optional; import main.java.modul.Catalog; import main.java.modul.Categorie; import main.java.modul.Oferta; import main.java.modul.Produs; import main.java.service.Log; import main.java.util.Printer; import main.java.util.Sort; import main.java.util.SortUtil1; impor...
Java
Marius/Day6/src/main/java/test/Test.java
stoiandan/msg-code
mit
3,349
84
codeparrot/github-code
9f1fd72d9397aa6a8d871a151360db51791e1447c4da896277c0882d0d5b5e95
const Promise = require('bluebird'); const fs = require('fs-extra'); const debug = require('ghost-ignition').debug('api:themes'); const common = require('../../lib/common'); const themeService = require('../../services/themes'); const settingsCache = require('../../services/settings/cache'); const models = require('../...
JavaScript
core/server/api/v2/themes.js
Gargol/Ghost
mit
7,109
220
codeparrot/github-code
182a59698e987d895b2335349d7d1be17d115145d1e16badf3f8934c93124633
var Vector; (function (Vector) { function clean(n) { var vector = []; for (var i = 0; i < n; i++) { vector[i] = 0; } return vector; } Vector.clean = clean; function create() { var values = []; for (var _i = 0; _i < arguments.length; _i++) { ...
JavaScript
public/scripts/libs/plena/math.js
Rikmuld/Atlas
mit
11,693
321
codeparrot/github-code
8d05c9423f554501dec813d83246e7074b4263ff88bcfe741b47ebf013eb51c0
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
HTML
Reports/gr/griffin.container.mvc5.1.0.2/Griffin.Container.Mvc5-net40.html
kuhlenh/port-to-core
mit
23,153
545
codeparrot/github-code
191e81b8e5b6395a31b9ae98f544abd06513ecba026f36e972100ffedf227c3c
using Microsoft.DirectX; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TGC.Core.SceneLoader; namespace TGC.Group.Model.Entities { class EntityPlayerItemNightVisionDevice : EntityPlayerItem { public EntityPlayerItemNightVisionD...
C#
TGC.Group/Model/Entities/EntityPlayerItemNightVisionDevice.cs
AVinitzca/0FPS
mit
693
32
codeparrot/github-code
e2f6b7234f352a06b1b0975656b0070abd94b015ea6fc7feb927204075317fc0
package conqueror.security; import io.jsonwebtoken.JwtException; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.web.filter.GenericFilterBean; i...
Java
src/main/java/conqueror/security/StatelessAuthenticationFilter.java
moonik/conqueror
mit
1,573
38
codeparrot/github-code
dd569eaa754b512b32f8471142f169ec6b24875ec0c50d6e7f584e7cd946f8d2
import {async, ComponentFixture, TestBed} from '@angular/core/testing'; import {Component, DebugElement} from '@angular/core'; import {By} from '@angular/platform-browser'; import {ViewportRuler} from '@angular/cdk/scrolling'; import {FakeViewportRuler} from '@angular/cdk/testing'; import {MdButtonModule} from './index...
TypeScript
src/lib/button/button.spec.ts
shaunak1111/material2
mit
9,914
263
codeparrot/github-code
1953d9d72e4ae6ca382d392d959509cdbf77dc94ba5b25ceee29076b347b930a
/*Copyright (c) 2011 Anton Yakimov. GELF created by Lennart Koopmann, Aleksey Palazhchenko. 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 r...
Java
src/org/graylog2/GelfMessage.java
krisachai/GelfLogger
mit
8,476
271
codeparrot/github-code
a01dfaebb646eea8983928b89f104e07d2e887b2e0abc702f415f2cce9b64806
<TS language="hu" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>A cím vagy címke szerkeszteséhez kattintson a jobb gombbal</translation> </message> <message> <source>Create a new address</source>...
TypeScript
src/qt/locale/bitcoin_hu.ts
psionin/smartcoin
mit
51,808
1,571
codeparrot/github-code
98b41acac7ff9a4e0f54e1b9d81efd2fe6a8d23b03a7f611ca42277fc590b22f
package seedu.address.logic.commands; import seedu.address.commons.core.IndexPrefix; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.Model; import seedu.address.model.task.DeadlineTask; import seedu.address.model.task.DeadlineTaskBuilder; public class MarkDeadlineUnfinishedCo...
Java
src/main/java/seedu/address/logic/commands/MarkDeadlineUnfinishedCommand.java
snehasp13/main
mit
1,602
48
codeparrot/github-code
06b262c957435a775e5b1879e1a737e07e09c5e3ea6436cbc6b28fdb510f1b84
using System; using System.Collections.Generic; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Media.Effects; using SimulaDesign.WPFCustomUI.Util; namespace SimulaDesign.WPFCustomUI.Converters { public class ShadowConverter : IValueConverter { private...
C#
AecPrivateCloud.ALL/Client/SimulaDesign.WPFCustomUI/Converters/ShadowConverter.cs
FinchYang/test
mit
2,396
61
codeparrot/github-code
d83baa37e8267a25fad60b615f8a648d977ce34d940f5e6b76aadff6dd09ed15
var Vector = function(values) { // An N-Dimensional vector. // // Args: // values: A list of values for each dimension of the vector. var self = this; self.values = values; self.hash = function() { // Generate a hash of the vector. // // Returns: // A hash of the vector. var r = '...
JavaScript
vector.js
astex/nbody.js
mit
2,770
124
codeparrot/github-code
cee97b114f96a29f8509c17e028955cc7c7b9b0fb6955b79d0252cc22bdbc0ac
/* * The MIT License (MIT) * * Copyright (c) 2019 Ha Thach (tinyusb.org) * * 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...
C
examples/device/cdc_dual_ports/src/usb_descriptors.c
hathach/tinyusb
mit
9,553
254
codeparrot/github-code
3de3edfbd808f6247cef19e7146a85bb12e7dae91b1a0a7c7e6e58fcde989c1a
// ----------------------------------------------------------------------- // <copyright file="PuntConverter.cs" company="Nathan Miller"> // The MIT License (MIT) // // Copyright(c) 2015 Nathan Miller // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associate...
C#
Conversion/Offense/PuntConverter.cs
nathankmiller/NFLToy
mit
3,553
91
codeparrot/github-code
1808956fde9b026eabbc9d8263ef1360b9f0050e2e4793083529aa1d1329ad79
// Copyright Hansol Park (anav96@naver.com, mooming.go@gmail.com). All rights reserved. #ifndef __ComponentSystem_h__ #define __ComponentSystem_h__ #include "ComponentState.h" #include "Debug.h" #include "Vector.h" #include "String.h" #include <algorithm> namespace HE { template <typename Component> class C...
C
Code/System/ComponentSystem.h
mooming/hardbopengine
mit
3,775
153
codeparrot/github-code
f55c5652b1ba1fdbf0ec39620672575fd9ce65330dbd194aa4a87e03258c6a59
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-odd-order: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
HTML
clean/Linux-x86_64-4.09.1-2.0.6/released/8.9.1/mathcomp-odd-order/1.6.1.html
coq-bench/coq-bench.github.io
mit
8,441
183
codeparrot/github-code
3c0150ce6b4535c40fc7347bed436a62aad3e129ffeabf4754893879d97cadda
--- layout: post title: "Building a Custom CSV Renderer in Rails 3" date: 2011-07-25 22:18 comments: true categories: rails renderers --- This post will walk you through creating a simple renderer in Rails 3. ## What are renderers? A renderer in Rails is a way of customizing how content is rendered for the browser o...
Markdown
_posts/2011-07-25-building-a-csv-renderer-in-rails-3.markdown
beerlington/beerlington.github.com
mit
9,904
302
codeparrot/github-code
3b6ca64e800163f95020312ffbba9e891ae0ae4f11308a1f9fc882e0af7b5b1f
/** * Plugin Name: Autocomplete for Textarea * Author: Amir Harel * Copyright: amir harel (harel.amir1@gmail.com) * Twitter: @amir_harel * Version 1.4 * Published at : http://www.amirharel.com/2011/03/07/implementing-autocomplete-jquery-plugin-for-textarea/ */ (function($){ /** * @param obj * @attr wordCo...
JavaScript
global/js/auto_suggest.js
tygarimew/Mana-Haven
mit
12,043
531
codeparrot/github-code
6e4ccc7c567ae006c90e2d477bff6ec20a2e53456e1ebce5bff47f7484fcfecf
package com.zhanghedr.mvc; /** * Created by zhanghedr on 1/2/17. */ public class User { private String name; private String email; public User(String name, String email) { this.name = name; this.email = email; } public String getName() { return name; } public v...
Java
src/main/java/com/zhanghedr/mvc/User.java
zhanghedr/design-pattern
mit
518
33
codeparrot/github-code
2a7be090d38193a4e6e0fc40c2bb2a58cbbaf3e5a631c561244c62e83d18f7fc
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bs" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Ponscoin</source> <translation>O Ponscoinu</translation> </messa...
TypeScript
src/qt/locale/bitcoin_bs.ts
fcanbolat/ponscoin
mit
96,738
2,918
codeparrot/github-code
d1c3192dfbc7bfe3df63478cf4ac9d6461d461743defcc373f700419f27de9f3
using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using System; using System.Text; using System.IO; using System.Collections; using System.Text.RegularExpressions; [InitializeOnLoad] public class NoesisUpdater: EditorWindow { static NoesisUpdater() { EditorApplication.update += CheckV...
C#
VRAT/vrat/Assets/Editor/NoesisGUI/NoesisUpdater.cs
JinkiJung/PAUT
mit
15,876
470
codeparrot/github-code
afc6b45a7b6b9dddb2a2a4dd236a7c2c4f6e345ff9d2d3af415ba66c6386fdcc
#include <set> #include <map> #include <string> #include <vector> #include <queue> #include <stack> #include <cmath> #include <list> #include <cassert> #include <climits> #include <cstring> #include <cstdio> #include <cstdlib> #include <cctype> #include <fstream> #include <sstream> #include <iostream> #include <algori...
C++
codeforces.ru/cf183/p4.cpp
bolatov/contests
mit
1,861
86
codeparrot/github-code
2b69038ce64ddc970130466cea4a86ead77c207ed4aa544c5e7ebcbc9a53fc5c
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
Python
google-cloud-sdk/lib/surface/spanner/databases/create.py
Sorsly/subtle
mit
2,377
61
codeparrot/github-code
930f527a6782cb36c19e3193401c78940514bbe0b7af220e1ee5c9dd555ee728
class HomeController < ApplicationController def index end def playgame @orientation = "" @waiting_players = [] if params[:nick_name] # This user gave us a nickname and is looking for other players @looking = true #register user nick_name = params[:nick_name] @u = User....
Ruby
app/controllers/home_controller.rb
sdb1228/chess
mit
1,377
60
codeparrot/github-code
38e5eef25d79dfbb5e79d5ae981eb3603cb8a100167a3f7b0ef5db60f3f386f3
package com.almasb.fxglgames.geowars.component; import com.almasb.fxgl.dsl.FXGL; import com.almasb.fxgl.dsl.components.HealthIntComponent; import com.almasb.fxgl.entity.component.Component; import com.almasb.fxgl.texture.Texture; import com.almasb.fxgl.time.LocalTimer; import com.almasb.fxglgames.geowars.GeoWarsApp; i...
Java
GeometryWars/src/main/java/com/almasb/fxglgames/geowars/component/MineComponent.java
AlmasB/FXGLGames
mit
1,735
59
codeparrot/github-code
eef61ec3a5d4f8bd64af6782c51ae59377cdc5c6ca8feb34cf69d55de3a01c99
package org.sisioh.aws4s.eb.model import com.amazonaws.services.elasticbeanstalk.model._ import org.sisioh.aws4s.PimpedType import scala.collection.JavaConverters._ object EnvironmentResourceDescriptionFactory { def create(): EnvironmentResourceDescription = new EnvironmentResourceDescription() } class Rich...
Scala
aws4s-eb/src/main/scala/org/sisioh/aws4s/eb/model/RichEnvironmentResourceDescription.scala
sisioh/aws4s
mit
2,727
89
codeparrot/github-code
185169805a09b88a0cc78687e21f733a5fd256212f2f57a32dac0464ebd7bec1
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>W28513_text</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;"> ...
HTML
ocr_extracted/W28513_text/page112.html
datamade/elpc_bakken
mit
3,012
65
codeparrot/github-code
6336e7788aa061390222d9593f164f70faef0b70d1cbc036ba377b91676edf7a
'use strict'; /* jshint -W098 */ angular.module('mean.rules').controller('RulesController', ['$scope', '$stateParams', '$location', '$http','Global', 'Rules', 'MeanUser','Circles','Groups', function($scope, $stateParams, $location, $http, Global, Rules, MeanUser,Circles,Groups) { $scope.global = Global; $sco...
JavaScript
packages/custom/rules/public/controllers/rules.js
jenavarro/AllRules
mit
4,812
174
codeparrot/github-code
fbe05bdffb72e137e27f13d6f85b7b75d01a7bd513e6a6cbd22fd44a03b993df
var utilities = (function(window, $){ /** * Draws a rounded rectangle using the current state of the canvas. * If you omit the last three params, it will draw a rectangle * outline with a 5 pixel border radius * @param {CanvasRenderingContext2D} ctx * @param {Number} x The top left x coordi...
JavaScript
js/app/utilities.js
paradite/GestFly
mit
4,614
121
codeparrot/github-code
e3d1bd4d7601b115433c15855dff49b4db4c3a94839abdf2cfb93a1b5ff34cc3
require 'forwardable' module Gimlet module Queryable module API extend Forwardable def select(options = {}) selecting = @instances options[:where].each do |attribute, operator, argument| selecting = selecting.select do |id, instance| instance[attribute].send(ope...
Ruby
lib/gimlet/queryable.rb
darashi/gimlet-model
mit
1,545
71
codeparrot/github-code