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
468bb28bb46f7bed0f07ccdfd7128e7241d27a3451cfd605d44345851b032cfb
// // SearchAdvanceOpportunityViewController.h // OfficeOneMB // // Created by Dao Xuan Luong on 12/15/14. // // #import "BaseViewController.h" @protocol SearchAdvanceDelegate <NSObject> -(void) actionSearchAdvance :(NSString*)keyword addStartDate:(NSDate*)startDate addEndDate:(NSDate*)endDate userType:(int)type...
C
Classes/view/Opportunity/SearchAdvanceOpportunityViewController.h
tuansusu/CRMOneIpad
mit
1,459
43
codeparrot/github-code
883c5eedb420db2e6dd086e2f0ab53676869442f0f03a5dd01c2f8c1bcce68e3
<div class="content"> <div id="example_title"> <h1>Fixed/Resizable Grid</h1> If you set <span class="method">grid.fixedBody</span> property to true, the size of the grid will be fixed. If you set the <span class="method">fixedBody</span> property to false, the grid to the height of its data....
HTML
demos/examples/grid/11.html
vitmalina/w2ui
mit
3,113
67
codeparrot/github-code
ed26e01052acead75a9e7fc7f4ad856e31b76cd8ff70506cf411f77e0c5af11f
# Script Name : sqlite_check.py # Author : Craig Richards # Created : 20 May 2013 # Last Modified : # Version : 1.0 # Modifications : # Description : Runs checks to check my SQLITE database import sqlite3 as lite import sys import os dropbox = os.getenv("dropbox") dbfile = ("Databases\jarvis.db") master_db = os...
Python
Python Script Sample/sqlite_check.py
areriff/pythonlearncanvas
mit
1,034
58
codeparrot/github-code
63869e305565404b76fa61c0a129489c60ceb2df3f38949b6898123403ffe2f8
package br.com.caelum.tubaina.parser.html.desktop; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import br.com.caelum.tubaina.Book; import br.com.caelum.tubaina.Chapter; import br.com.caelum.tubaina.TubainaBuilderDat...
Java
src/main/java/br/com/caelum/tubaina/parser/html/desktop/SingleHtmlGenerator.java
caelum/tubaina
mit
4,139
110
codeparrot/github-code
c6df4fc76cd88b108f5bd914ef3acded2da180ae2d67e34c7a108a141ec0a556
package com.argcv.valhalla.client import java.util.concurrent.Executors import java.util.concurrent.atomic.AtomicInteger import com.argcv.valhalla.console.ColorForConsole._ import com.argcv.valhalla.exception.ExceptionHelper.{ SafeExec, SafeExecWithTrace } import com.argcv.valhalla.utils.Awakable import com.mongodb.B...
Scala
src/main/scala/com/argcv/valhalla/client/MongoDBClient.scala
yuikns/valhalla
mit
22,893
753
codeparrot/github-code
4bae55b462229d025fd0bfbcb258710be092f1ed8ab6cdcbf3bc2e88bf2ad887
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hi_IN" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Wankcoin</source> <translation>बिटकोइन के संबंध में</translation>...
TypeScript
src/qt/locale/bitcoin_hi_IN.ts
wcoin/wankcoin0
mit
99,924
2,922
codeparrot/github-code
16e5a1236b453887606e68663c2d812f731ccb4f39ccd80cf3d446ee9e858287
// Lab14avst.java // Lab14a // Student starting version import java.awt.*; import java.applet.*; import java.util.ArrayList; public class Lab14avst extends Applet { public void paint(Graphics g) { drawGrid(g); Shape square = new Shape1Square(); Shape triangle = new Shape2Triangle(); Shape octagon = new Shap...
Java
Lab14avst.java
andrewwiik/Lab14avst
mit
771
38
codeparrot/github-code
5734c4f6767ef375f9e0483dc9c84d813dcc7f450da1495f218c7456c3eb5ecc
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // // Data for paymentservertests.cpp // // Base64/DER-encoded fake certificate authority certificates. // Convert pem to ba...
C
src/qt/test/paymentrequestdata.h
bcamacho/diverscoin
mit
25,638
461
codeparrot/github-code
237aaf163c391e56bbe397fe36815d1f1da86f1f4df0b4d170f6a43ab38e8127
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // load header $this->load->view('layouts/header'); // currency $this->load->helper('currency_helper'); $attr_form = array( 'name' => 'work_order' ); $date = date('Y-m-d'); ?> <!-- content --> <div class="container-fluid font_mini"> <di...
PHP
application/views/orders/v_entrytrucking.php
adrianvaldii/hsp
mit
19,797
338
codeparrot/github-code
ce8fa5716a00e1c8adb2ee86a305f2f4244773c708f030feb07567407d9c149e
class GamesController < ApplicationController def show @game = Game.find_by(id: params[:id]) end def create if @user = User.find_by(id: params[:user_id]) @game = Game.new(user: @user) @game.save redirect_to user_game_path(@user.id, @game.id) else @errors = ['You must be logge...
Ruby
tic-tac-toe/app/controllers/games_controller.rb
jesusmarlima/tic_tac_toe
mit
1,117
52
codeparrot/github-code
6c5ab9cd587cc75b9fee4138296e4aa1293821f198e216fe6a8c7b88b7dca762
/*********************************************************************/ /* */ /* Equilibrate matrix A using LAPACK subroutine SGEEQU */ /* */ /* -- Created ...
C
src/Dlighthouse/static/download/2013111218_36_56.c
LighthouseHPC/lighthouse
mit
4,288
184
codeparrot/github-code
062ebc0d774d3d844fd81782ef6a8f196fa2a14b2f537c9d57321e41c2854059
/** * Created by uzysjung on 2016. 10. 21.. */ import React, { PropTypes,Component } from 'react'; import Box from '../../components/widget/Box' import { Link, browserHistory } from 'react-router' import superagent from 'superagent'; import { Form , FormGroup, Col, Button, FormControl, Checkbox, ControlLabel , PageH...
JavaScript
client/src/containers/pages/LoginPage.js
hamxabaig/rfid-tags
mit
4,990
153
codeparrot/github-code
7b582014662ebc5cfd05d1f0f370bc745de50f9c31a0f636704ca9fbb7c64e4c
package com.velocity.model.transactions.query.response; import com.velocity.gson.annotations.SerializedName; /** * This class holds the data for ScoreThreshold * * @author ranjitk * */ public class ScoreThreshold { /* Attribute for ScoreThreshold value exists or not. */ @SerializedName("Nillabl...
Java
VelocityLibrary/src/com/velocity/model/transactions/query/response/ScoreThreshold.java
nab-velocity/android-sdk
mit
666
35
codeparrot/github-code
d177de86be9e5663b52a888355250eaf68ccf5e69006bf9c74648ff0033a05e4
<?php namespace coopers98\GenericCRUD; use DB; use Illuminate\Http\Request; use View; trait GenericCRUD { protected $dbConnection = 'mysql'; protected $table_name = 'generic'; protected $columns = [ ]; protected $ignored_columns = [ 'created_at', 'updated_at', 'deleted_at' ]; protected $readonly_columns = [ '...
PHP
src/GenericCRUD.php
coopers98/genericcrud
mit
9,026
331
codeparrot/github-code
5d9585166eb801307352154814a46a02bd63509e77c072daa184f757de00749e
'use strict'; //var async = require('async'), // nconf = require('nconf'), // user = require('../user'), // groups = require('../groups'), // topics = require('../topics'), // posts = require('../posts'), // notifications = require('../notifications'), // messaging = require('../messaging'), // ...
JavaScript
src/socket.io/custom.js
cablelabs/dev-portal
mit
1,565
54
codeparrot/github-code
78111da3f39ba59a7cdc7c9c246f83195e7c62f4033aeaae613f6bb78ffc33e2
//--------------------------------------------------------------------------- // // <copyright file="RBTree.cs" company="Microsoft"> // Copyright (C) by Microsoft Corporation. All rights reserved. // </copyright> // // // Description: Root of a red-black tree. // //--------------------------------------------------...
C#
Cache/Libs/net46/wpf/src/Framework/MS/Internal/Data/RBTree.cs
mind0n/hive
mit
22,932
688
codeparrot/github-code
c87b057659e6fc7f811a2057e8a641fa28349554f172390201f3e4c16ac9a41b
<!DOCTYPE html> <HTML><head><TITLE>Manpage of PERLDOC</TITLE> <meta charset="utf-8"> <link rel="stylesheet" href="/css/main.css" type="text/css"> </head> <body> <header class="site-header"> <div class="wrap"> <div class="site-title"><a href="/manpages/index.html">linux manpages</a></div> <div class="site-descriptio...
HTML
manpages/man1/perldoc.1.html
yuweijun/yuweijun.github.io
mit
10,924
307
codeparrot/github-code
dafee1ebf3e765a88467b2317dcbc6a511b99f5802c4f3fee3c3ebddf315cca0
# This is modified from a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild import array import struct import zlib from enum import Enum from pkg_resources import parse_version from kaitaistruct import __version__ as ks_version, KaitaiStruct, KaitaiStream, BytesIO if parse_version...
Python
phasortoolbox/parser/common.py
sonusz/PhasorToolBox
mit
9,531
246
codeparrot/github-code
67e114bd40b68c843ea9f417f2c894c335269fd433a671a8d91c712ade2bc786
import {getTims} from '../api/api'; export function loadData() { return getTims().then(data => { const parser = new DOMParser(); const doc = parser.parseFromString(data, 'text/xml'); if (doc.documentElement.nodeName === 'parseerror') { throw new Error(doc); } return toJSON(doc); }).catch...
JavaScript
src/app/tims.js
kirill-kruchkov/tfl
mit
2,910
108
codeparrot/github-code
1633d970194095ca2c128a5c9dd18b32507ab1c3b3b24ea08c02ffda244c474d
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ToolList &mdash; Leap Motion C++ SDK v2.3 documentation</title> <link rel="stylesheet" href="../../cpp/_static/bootstrap-3.0.0/cs...
HTML
LeapSDK/docs/cpp/api/Leap.ToolList.html
joelbandi/Be-ethoven
mit
26,920
592
codeparrot/github-code
2b09de0d9fd9367d89ad2fd4cde310955c0d1676cc8118747e1b9de579afa305
describe :next do it "runs the given lambda if called from the :run block" do m = Moron_Text.new(<<-EOF) COMM 1 /* 1 COMM 2 /* 1 EOF stack = [] l = lambda { |name, line, moron| stack << :lambda } m.run(l) { |name, line, moron| stack << :block; moron.next } stack.should == [:bloc...
Ruby
specs/0031-next.rb
da99/moron_text
mit
1,638
58
codeparrot/github-code
e04774ec7c32fd8664e5f03af5e1102571f9f9f041698d84e1a038bd74828d0d
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use Illuminate\Foundation\Auth\AuthenticatesUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Session; class LoginController extends Controller { /* |-------------------------...
PHP
app/Http/Controllers/Auth/LoginController.php
Volcania/LAFF
mit
1,178
48
codeparrot/github-code
601a04b376d0b603b63b86eb1c5b05a0e0a0a9991faf2b33f9d85dd7d047e81f
# encoding: utf-8 # (c) 2011 Martin Kozák (martinkozak@martinkozak.net) require "abstract" ## # Base +Unified Queues+ module. # module UnifiedQueues ## # Universal single queue interface. # class Single ## # Abstract single driver class. # @abstract # ...
Ruby
lib/unified-queues/single/driver.rb
martinkozak/unified-queues
mit
3,559
147
codeparrot/github-code
fff8a90c9776bd4cd85aabc730f3eaa99667e9526684208f684ad73c36c78fda
package view; import java.awt.Container; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.HashMap; import java.util.UUID; import javax.swing.DefaultCellEditor; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JLabel...
Java
AcmeCourierSystem/src/view/EmployeeManagement.java
zkastl/AcmeCourierService
mit
4,397
129
codeparrot/github-code
280ae2154da57936a9efd1b91bad751574ed9708a124cf591dff531c505f6f39
/** * \usergroup{SceSysmodule} * \usage{psp2/sysmodule.h,SceSysmodule_stub} */ #ifndef _PSP2_SYSMODULE_H_ #define _PSP2_SYSMODULE_H_ #include <psp2/types.h> #ifdef __cplusplus extern "C" { #endif /** Errorcodes for SceSysmodule */ typedef enum SceSysmoduleErrorCode { SCE_SYSMODULE_LOADED = 0, ...
C
include/psp2/sysmodule.h
vitasdk/vita-headers
mit
12,392
247
codeparrot/github-code
82c95769a7ddb79c82c1184a5117a732f94292cd20829d6933ae2ddd94104f18
<?php namespace League\Flysystem\EventableFilesystem\Event; use League\Event\AbstractEvent; use League\Flysystem\FilesystemInterface; class Before extends AbstractEvent { /** * @var FilesystemInterface */ protected $filesystem; /** * @var string */ protected $method; /** ...
PHP
src/Event/Before.php
thephpleague/flysystem-eventable-filesystem
mit
3,029
163
codeparrot/github-code
5abdb2d2fe80c1f4c883d1e5e429214188405ca360d40d649c951ba19fb31580
<?php class DepartmentObj extends FactoryObj { public function __construct($deptid=null) { parent::__construct("deptid", "departments", $deptid); } public function pre_save() { if(!$this->is_valid_id()) { if(!isset($this->appkey) or empty($this->appkey)) { ...
PHP
protected/models/DepartmentObj.php
assettcu/broadcast
mit
3,650
132
codeparrot/github-code
756d5843aa158764773a4fb425795206517f4f81efdecb4c0e250950e9ecaa05
package action import ( "io/ioutil" "net/http" "strings" "fmt" ) type Http struct { config *ActionConfig } func (h *Http) Run() (*Result, error) { url := h.config.Params.GetString("url") if url == "" { return nil, fmt.Errorf("url parameter required") } method := h.config.Params.GetString("method") if me...
GO
action/http.go
troykinsella/crash
mit
1,270
74
codeparrot/github-code
e12e19198f2f377d77d49c19a2b1a14b5ad25ba693c42ecebc8966a750a95a74
#include <stdio.h> #include <assert.h> #include "dlx.h" struct node { struct node *l, *r, *u, *d; struct column *c; char rowname[24]; }; struct column { struct node node; int len; char name[4]; struct column *prev, *next; }; struct dlx { struct column h; struct column cols[324]; struct node nodes...
C
ext/pseudoku/dlx.c
pbevin/pseudoku-generator
mit
6,385
293
codeparrot/github-code
968f0920b59dc1ac3eeb9b8fba934af83da640711194fc6251c13ed1cc1bef7b
//------------------------------------------------------------------------------ // <copyright file="DirectoryListingScheduler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //------------------------------------------------------------------------------ namespace Microsoft.Azure....
C#
lib/DirectoryListingScheduler.cs
Azure/azure-storage-net-data-movement
mit
2,464
85
codeparrot/github-code
f7f5cf84f34cc28009b19e8c60867a7998418c3c11b1230720b85552096f7c59
(function(){ angular .module("InteractionDesign") .controller("ResultsChartController", ResultsChartController); function ResultsChartController($scope, $location) { $scope.$location = $location; var data1 = [ { x: new Date(2012, 00, 1), y: 12 }, { x: new Dat...
JavaScript
public/experiments/js/resultsChartController.js
lhaber9/RiskLegacyHCI
mit
7,139
218
codeparrot/github-code
e1c680dc72233e033a15918e628ab4e3fc40008d41a1903a8eb92660bd104bfa
// ch08-arrays--splice.js 'use strict'; // ADDING OR REMOVING ELEMENTS AT ANY POSITION // SPLICE // The first argument is the index you want to start modifying // The second argument is the number of elements to remove (use 0 if you don’t want to remove any elements) // The remaining arguments are the elements to...
JavaScript
es6/ch08-arrays--splice.js
Juantxo/learningJS
mit
1,173
37
codeparrot/github-code
12dadbd6d9bfdd3c4e2b49f567d6c7f8e35cf04b7d617a66db98e5bba61dde38
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>interval: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
HTML
clean/Linux-x86_64-4.12.1-2.0.8/released/8.15.0/interval/3.4.1.html
coq-bench/coq-bench.github.io
mit
7,376
175
codeparrot/github-code
1a61aafdd7e2049be68faac46b02adebb770c3f0eabcce6911e825394e4638f9
import { bind, unbind } from '@segmentstream/utils/eventListener' import listenEvents from './listenEvents' import Storage from '../Storage' const timeout = 10 // 10 seconds let interval = null let hasActive = false let events = [] const storagePrefix = 'timeOnSite:' const storage = new Storage({ prefix: storagePrefi...
JavaScript
src/trackers/trackTimeOnSite.js
driveback/digital-data-manager
mit
2,627
113
codeparrot/github-code
047f1f07d5c35648b07ca98148f1eafea39c5f181b45ae51296fb3fd77fde2d7
package com.gamecraft.config; import io.github.jhipster.async.ExceptionHandlingAsyncTaskExecutor; import io.github.jhipster.config.JHipsterProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler; import org.springframework.aop.inter...
Java
gamecraft-sonar-manager/src/main/java/com/gamecraft/config/AsyncConfiguration.java
iMartinezMateu/gamecraft
mit
1,786
47
codeparrot/github-code
3a99d6e72e63a02e53783e54ea30dab8ae5edfd53007227222bb26d37624c8a1
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Graph | Graphs and Paths</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/...
HTML
docs/classes/graph.html
dphilipson/graphs-and-paths
mit
55,048
954
codeparrot/github-code
ef8d9d2b8834ab41b7dd7de0f7a579c725eb6729fdb7795d9051adeda4844de7
/* global bowlineApp */ function releaseModule($rootScope,$http,$timeout,login,ENV) { console.log("!trace releaseModule instantiated, login status: ",login.status); this.validator = {}; // This just gets all releases. this.getReleases = function(mine,username,search,callback) { var loginpack = {}; if (login...
JavaScript
www/app/scripts/controllers/releaseModule.js
dougbtv/bowline
mit
6,461
284
codeparrot/github-code
2ff03094fbc649d459f8cfdd7bd52c6982d90c170b37cf8ac0285c5a794655dd
@echo off echo ############################################################################### echo # Set up vim environment # echo ############################################################################### echo. set home=%USERPROFILE% set dirvar=%USERPROFILE%\...
Batchfile
Windows config-dotfiles/Environment Configuration Scripts/Create_vim_environment.bat
projectdp/dotfiles
mit
1,528
58
codeparrot/github-code
5d7889dbe7523f1c9ab143a0997bf601f39ad0c3416a5815e1bf548c91d8ab5a
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coquelicot: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
HTML
clean/Linux-x86_64-4.04.2-2.0.5/released/8.7.1+2/coquelicot/2.1.0.html
coq-bench/coq-bench.github.io
mit
7,029
164
codeparrot/github-code
37d206b6d8faf77ee215d9a771c7fff2b9756ecde50489573bdeb190ab3c8a24
using System; using Xamarin.Forms; using System.Collections.Generic; namespace MenuTeste { public class MenuPage : ContentPage { public MenuListView Menu { get; set; } public MenuPage () { Menu = new MenuListView (); Title = "itm"; Content = new StackLayout () { Children = { Menu...
C#
MenuTeste/MenuTeste/MenuPage.cs
rafaelrmou/AppCursoZ
mit
1,890
102
codeparrot/github-code
e22aa7d0793db590f1878deb71b1b6779cadb7d4b0fd1cc70fccc223d8f22480
using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using DancingGoat.Models.Coffees; using DancingGoat.Models.Products; using DancingGoat.Repositories; using DancingGoat.Repositories.Filters; using DancingGoat.Services; namespace DancingGoat.Controllers { public class CoffeesController : ...
C#
src/DancingGoat/Controllers/CoffeesController.cs
Kentico/Mvc
mit
1,957
69
codeparrot/github-code
f374859ab489d3792a6be36c6e97a4e678725be85af368f230f377f7b8ac792b
namespace Turbo.Plugins.Jack.Alerts { using System; using System.Collections.Generic; using System.Globalization; using Turbo.Plugins.Default; using Turbo.Plugins.Jack.Models; using Turbo.Plugins.Jack.Extensions; /// <summary> /// Helper class to display visual alerts /// </summary...
C#
Alerts/Alert.cs
JackCeparou/JackCeparouCompass
mit
2,403
74
codeparrot/github-code
8f4d8886c185537dd28f2a19c75e640addc6d7232e7ba15fb3b250bb3d7c04c6
def goodSegement1(badList,l,r): sortedBadList = sorted(badList) current =sortedBadList[0] maxVal = 0 for i in range(len(sortedBadList)): current = sortedBadList[i] maxIndex = i+1 # first value if i == 0 and l<=current<=r: val = current - l prev...
Python
test.py
nithincvpoyyil/nithincvpoyyil.github.io
mit
1,191
42
codeparrot/github-code
79a341c1a46decac5f44a4dfb28686b5b82064f74905739ff962442afd1cb10b
/* * Copyright 2002-2011 Drew Noakes * * 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...
Java
src/com/drew/metadata/exif/KyoceraMakernoteDescriptor.java
lany/phototagger
mit
2,815
77
codeparrot/github-code
426a8adf75a645929825f73943c198989c5d481452ef7246a9d23c4c07763ecd
--- layout: socpage title: Bithire - peer-to-peer employment excerpt: Bithire is a global online market place for offering services and acquiring services. image: feature: --- <style type="text/css"> p.q {font-weight: bolder;} p.a {font-style:italic;} p.s {font-weight: bolder; font-style:italic;} </style> <div class...
HTML
social/school/use-case-ideas/peer-to-peer-employment.html
vcoin-project/vcoin-project.github.io
mit
23,867
316
codeparrot/github-code
9d5609e8d83496e555a4fc50de83cd8361ec2d081ef2de84b722617eaf70a6bc
#include <assert.h> #include "cm_err.h" #include "cm_object.h" #include "cm_manager.h" #include "cm_manager_obj.h" struct cm_manager * cm_manager_new(cm_err_t *err) { return cm_manager_obj_new(NULL, err); } void cm_manager_new_async(cm_manager_new_done done, void *userdata) { cm_manager_obj_new_async(NULL, don...
C
cm-manager-mm/cm_manager.c
mrinaldhillon/libcellular-modem
mit
2,772
114
codeparrot/github-code
47e2f8a5f8f34f25bc914e2e67684defb295ab0d47f757598af2f2dc06f73107
# A Nested Array to Model a Bingo Board SOLO CHALLENGE # I spent [#] hours on this challenge. #The first number in the sub-arrays correspond to the letter "B", the second "I", the third "N", the fourth "G", and the fifth "O". So if the call was N34, you would look in the third column for the number 34. If the number ...
Ruby
week-6/bingo_solution.rb
cguard90/phase-0
mit
7,469
242
codeparrot/github-code
105cfb7343f43916fcab0ddd9fe0907d5a10d855355ef93a05f54a9dfc8e81c6
/* The MIT License (MIT) Copyright (c) 2014 Thomas James Barry, Zachary Y. Gateley, Kenneth Drew Gonzales 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 withou...
Java
tzk.imagecraft/src/tzk/image/tool/Fill.java
thomasjbarry/Image-Craft
mit
11,078
280
codeparrot/github-code
57c79787e8f21c33f5d1cac970835ee7d00491d43f99d076c8f7066f08dbd4e9
"use strict"; var Construct = require("can-construct"); var define = require("can-define"); var make = define.make; var queues = require("can-queues"); var addTypeEvents = require("can-event-queue/type/type"); var ObservationRecorder = require("can-observation-recorder"); var canLog = require("can-log"); var canLogDev...
JavaScript
list/list.js
canjs/can-define
mit
21,262
787
codeparrot/github-code
563ca87602e4c9c5bc925da6999d33fa3b1b1b82da25eb633bdf7861e2721ada
package com.clusterpoint.api.request; import java.util.HashMap; import java.util.Map; import org.w3c.dom.Node; /** * The CPSPartialReplaceRequest class is a wrapper for the CPSModifyRequest class for the partial-replace command * @see com.clusterpoint.api.response.CPSModifyResponse */ public class CPSPartialReplaceRe...
Java
src/com/clusterpoint/api/request/CPSPartialReplaceRequest.java
clusterpoint/java-client-api
mit
1,298
47
codeparrot/github-code
98527732178fc9d505baaf43d7d42ff26788bc493b609ed5437d7efb873e576e
'use strict'; const _ = require('lodash'); const Promise = require('bluebird'); const fs = require('fs-extra'); const wd = require('wd'); const StateError = require('../errors/state-error'); const find = require('./find-func').find; module.exports = class ActionsBuilder { static create(actions) { return ...
JavaScript
lib/tests-api/actions-builder.js
gemini-testing/gemini
mit
13,442
418
codeparrot/github-code
e018e2e593336259f94d4cf7f42e39a78ba1520dc03a8fc817a52258eb4dc0b4
// require(d) gulp for compatibility with sublime-gulp. var gulp = require('gulp'); const { src, dest, series, parallel } = require('gulp'); const clean = require('gulp-clean'); const eslint = require('gulp-eslint'); const csso = require('gulp-csso'); const rename = require('gulp-rename'); const babel = require("gulp-...
JavaScript
gulpfile.js
greird/chordictionaryjs
mit
2,191
92
codeparrot/github-code
64b266f1bacdafabeed65984c3a0108970f45d760b8cff972a7379032594a32c
# -*- coding: utf-8 -*- import threading import logging import unittest import gc from stockviderApp.utils import retryLogger from stockviderApp.sourceDA.symbols.referenceSymbolsDA import ReferenceSymbolsDA from stockviderApp.localDA.symbols.dbReferenceSymbolsDA import DbReferenceSymbolsDA from stockviderApp.sourc...
Python
stockvider/stockviderApp/dbManager.py
aberdah/Stockvider
mit
33,363
876
codeparrot/github-code
6a364a4f21a7d2cf2bd864e843390ecdf04d7ffa57df9d2baab900758e62722b
package net.jackw.authenticator; public class Totp extends HotpGenerator { private int interval = 30; private String cachedCode; private long cachedSeed = 0; private static final int DEFAULT_INTERVAL = 30; public Totp (byte[] secret) { super(secret); this.interval = DEFAULT_INTERVAL; } public Totp (byt...
Java
app/src/main/java/net/jackw/authenticator/Totp.java
jackwickham/authenticator
mit
1,847
74
codeparrot/github-code
6c7ddab18174d7b1b5107b09f32fded00fcad9f263471ad3bb3fe568d182eaa4
package main import ( "bufio" "bytes" "encoding/json" "errors" "fmt" oauth "github.com/akrennmair/goauth" goconf "github.com/akrennmair/goconf" "io/ioutil" "log" "net/http" "strconv" "strings" "time" ) type Timeline struct { Tweets []*Tweet } type UserList struct { Users []TwitterUser } type UserIdLi...
GO
twitterapi.go
akrennmair/gockel
mit
18,513
776
codeparrot/github-code
90dad37fc7471b0ae7b856e1da90409ab8af1ba070d6eee919c3e95c01b13066
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace ProjectMarkdown.Converters { [ValueConversion(typeof(bool), typeof(Visibility))] public class VisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object par...
C#
ProjectMarkdown/Converters/VisibilityConverter.cs
aykanatm/ProjectMarkdown
mit
877
33
codeparrot/github-code
209ce3193b3a7728b819b171a207e10ac06614c37d2f860c42ee4c34ef68a3ee
package com.appslandia.plum.web; import org.junit.Assert; import org.junit.Test; public class HstsBuilderTest { @Test public void testHstsBuilder_includeSubDomains() { HstsBuilder hsts = new HstsBuilder(); hsts.includeSubDomains(true); Assert.assertTrue(hsts.toString().contains("includeSubDomains")); } @...
Java
src/test/java/com/appslandia/plum/web/HstsBuilderTest.java
haducloc/appslandia-plum
mit
908
40
codeparrot/github-code
97e706e780649b78ef7ad5d3642869f0fc6b484a5677981a0d461c5b2584f13c
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Sec...
PHP
app/AppKernel.php
thekingtork/cloudSchool
mit
1,504
39
codeparrot/github-code
9ca567317db9c5bccc5c6adc021a08638aefa2c1c23b31aad003fa58c542452d
using System; using System.Collections.Generic; using System.Net; using Microsoft.TeamFoundation.Client; namespace TfsMigrationTool.Utils { public static class ServiceFactory { private static readonly Dictionary<Type, object> ServiceCache = new Dictionary<Type, object>(); private static readon...
C#
TfsMigrationTool/Utils/ServiceFactory.cs
davidich/TfsMigrationTool
mit
934
33
codeparrot/github-code
cd407c5df5caa25391d23baa73129558d47e53f7e30c38214cdaa4cb55e19953
package http1 import ( "errors" "fmt" "io" "strconv" "github.com/JOTPOT-UK/JOTPOT-Server/jps/pipe" "github.com/JOTPOT-UK/JOTPOT-Server/util" "github.com/JOTPOT-UK/JOTPOT-Server/http" "github.com/JOTPOT-UK/JOTPOT-Server/jps" "github.com/JOTPOT-UK/JOTPOT-Server/http/header" ) var ErrBodyLengthExceded = erro...
GO
http/http1/bodyWriter.go
JOTPOT-UK/JOTPOT-Server
mit
5,805
267
codeparrot/github-code
c6baff0b8ec92345f75d2111b28104ccedbaeecec0de8ab09b073cb45f6a73b5
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management; import com.microsoft.azure.management.compute.VirtualMachine; import com.microsoft.azure.management.compute.Da...
Java
azure/src/test/java/com/microsoft/azure/management/TestUtils.java
herveyw/azure-sdk-for-java
mit
6,137
117
codeparrot/github-code
f47ff02aeb5f12f9c9ae237c5ee265b3f10094c689d8439a71a76730d383fcaa
package prob547.friend.circles; /** * Created by yanya04 on 2/20/2018. */ public class Solution { private static class UFSet { private int[] parents; UFSet(int m){ this.parents = new int[m]; for(int i = 0; i < m; i ++){ parents[i] = i; } ...
Java
problems/src/main/java/prob547/friend/circles/Solution.java
yangyangv2/leet-code
mit
1,293
60
codeparrot/github-code
6f82eaf0c284b32104d1a5d41162c01dc9154c5af578ecfbcd110f3a8c8d9cda
# -*- coding: utf-8 -*- import wx import win32clipboard import win32con import gui import treeInterceptorHandler import textInfos import globalVars def getSelectedText(): obj = globalVars.focusObject if isinstance(obj.treeInterceptor, treeInterceptorHandler.DocumentTreeInterceptor) and not obj.treeInterceptor.passT...
Python
globalPlugins/yandexTranslate/helper.py
kvark128/yandexTranslate
mit
1,890
78
codeparrot/github-code
39c17e15c67ca38da463431dc263525dc57d584a0c6c68e164722d547ce23eb1
import numpy as np import matplotlib.pyplot as plt from sklearn.pipeline import Pipeline from sklearn.preprocessing import PolynomialFeatures from sklearn.linear_model import LinearRegression from sklearn.model_selection import cross_val_score np.random.seed(0) n_samples = 30 degrees = [1, 4, 15] true_fun = lambda X...
Python
immo/scikit/scripts/Overfit_underfit.py
bhzunami/Immo
mit
1,611
44
codeparrot/github-code
746a78ce2b8c842f15b0090464d0da6b42d2f656d9fd836b638d0ddda18e839b
/* * Copyright (C) 2010-2015 FBReader.ORG Limited <contact@fbreader.org> * * 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 Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
Java
app/src/main/java/org/geometerplus/android/fbreader/OpenWebHelpAction.java
zhqhzhqh/FbreaderJ
mit
1,734
54
codeparrot/github-code
a6f08a0317056b9b249e76375b56c97529ae41fc9df07c5b8bd9d24c596dbfe6
/** * CS 240: Introduction to Data Structures * Professor: Edwin Rodr&iacute;guez * * Programming Assignment #5 * * Assignment #5 is meant to grant a thorough understanding of the hash table * data structure, the hash functions used by hash tables, as well as the stack * and queue data structures. Exp...
Java
HashTableDemo/src/edu/cpp/cs/cs240/prog_assgnmnt_5/Student.java
noveris/HashTableDemo
mit
1,717
70
codeparrot/github-code
5dbb1069c0edb597deb8e4b8f630e8bf0331a1195ee3760caa4762262331102d
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "irc.h" #include "db.h" #include "net.h" #include "init.h" #include "addr...
C++
src/net.cpp
justinetim/coins
mit
57,393
1,909
codeparrot/github-code
b4b2489ef2ae5f1756aa475d6e9f1c9c9f4b634a58ea1b7fb1d287dcfd89eba3
# -*- coding: utf-8 -*- """ This file is part of pyCMBS. (c) 2012- Alexander Loew For COPYING and LICENSE details, please refer to the LICENSE file """ from cdo import Cdo from pycmbs.data import Data import tempfile as tempfile import copy import glob import os import sys import numpy as np from pycmbs.benchmarking ...
Python
pycmbs/benchmarking/models/mpi_esm.py
pygeo/pycmbs
mit
41,720
969
codeparrot/github-code
74fb268685e0bf94e957a7552be59014c90281069fa2f37f2eba04caa51fbac7
/** * rijndael-alg-fst.c * * @version 3.0 (December 2000) * * Optimised ANSI C code for the Rijndael cipher (now AES) * * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be> * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be> * @author Paulo Barreto <paulo.barreto@terra.com.br> * * Th...
C
appliedHISP/rijndael-alg-fst.c
olorcain/DissertationSubmission
mit
63,966
1,401
codeparrot/github-code
86dbae724e28265b138ce681b929a5efc5dcdb70b7de6c890f4dc0a69da51fc8
var helpers = require('./'); /** Boids is a lot like Castle in the way it treats elements. But it is more predictable, and retains attribute information. 1. The root node is collapsed, but its name is preserved in document['*'] 2. Attributes are stored in a Object<String -> String> mapping, called "$". * XML elem...
JavaScript
lib/boids.js
chbrown/xmlconv
mit
1,571
56
codeparrot/github-code
d77bb069b9be42482f58e8083ee4415c6fcb9cfdbd528cf9d79315292b56bcd2
"use strict"; module ServiceRegister { export class ServiceService { public static $inject = ["$http", "apiBaseUrl"]; constructor(private $http: angular.IHttpService, private apiBaseUrl: string) { } public addService(organizationId: string, service: Service): angular....
TypeScript
Source/AngularApplication/App/Services/ServiceService.ts
City-of-Helsinki/palvelutietovaranto
mit
2,421
57
codeparrot/github-code
a4771053b4da90d15276585520034c5d8ce99c5325807478d94c7682f38c7bb0
% % ---------------------------------------------------------------- % *************************PhD Thesis ************************ % ---------------------------------------------------------------- %\documentclass[twoside,openright,a4paper,fleqn]{book} \documentclass[final,a4paper,12pt]{report} % TODO only for book %\...
TeX
thesis.tex
Gigitsu/thesis
mit
5,130
205
codeparrot/github-code
f88f51ce580c77f01b6263494165d29c027bf6c942cd614d858496394bf71a73
package org.archeo4j.core.analyzer; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javassist.ByteArrayClassPath; import javassist.CannotCompileException; import javassist.ClassPool; import javassist.CtClass; import javassist.CtMethod; import javassist.NotFoundException; ...
Java
archeo4j-core/src/main/java/org/archeo4j/core/analyzer/ClassAnalyzer.java
mestachs/archeo4j
mit
4,707
133
codeparrot/github-code
849e40b4e7a2e4c3f8da7def8a7049507405bb4b759bd0e42f757265c8befe7f
package com.example.devipriya.popularmovies.application; import android.app.Application; import android.text.TextUtils; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.toolbox.Volley; /** * Created by Devipriya on 25-Oct-15. */ public class AppController extends...
Java
app/src/main/java/com/example/devipriya/popularmovies/application/AppController.java
DevipriyaSarkar/Popular-Movies
mit
1,341
55
codeparrot/github-code
20cec1df72e3328cbda95e9fb6476ec5d512f464ea5ce527c402816505521917
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=_build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . set I18NSPHINXOPTS=%SPHINXOPTS% . if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS...
Batchfile
docs/make.bat
bharadwajyarlagadda/korona
mit
7,732
282
codeparrot/github-code
a8c3670b5831481d6be538b046ba89c56cc4b9a1416365f22a15cdb7630a8f8e
<html> <head> <!-- THE PURPOSE OF THIS EXAMPLE IS TO SHOW HOW FUNCTIONS USE THE "THIS" OBJECT. BASICALLY - "this" is whatever object is on LEFT-HAND SIDE OF "." operator ALSO, HERE WE SHOW HOW TO DECLARE AN OBJECT IN JS NOTE HOW THE THIS OBJECT FOR A FUNCTION CAN BE CHANGED TO SOME TOTALLY DIFFERENT ...
HTML
lab3/02_Examples/12_1_funcs_objectsThis.html
jkrajcir/SE319
mit
1,674
72
codeparrot/github-code
ff703553e1ffdd6d974e050bb4c4e315ca3d69d20ce112fdd47177bff132a1c4
<!DOCTYPE html> <html> <?php include 'head.php'; ?> <body> <?php include 'header.php'; ?> <div class="content"> <div class="valign topic-heading"> <div class="width"> <h1>News</h1> <h2>Posts made on OrgSync</h2> </div> </div> <div class="width page-body"> <div c...
PHP
news.php
NUVR/OrgSync-Website
mit
2,591
66
codeparrot/github-code
8f9d4e528b7fe0fe920939069c8f55b410577ef9fb32298cd399e3e1305ae8e0
<?php /** * Part of ww4 project. * * @copyright Copyright (C) 2020 __ORGANIZATION__. * @license __LICENSE__ */ declare(strict_types=1); namespace Windwalker\Query\Clause; use Windwalker\Database\Schema\Ddl\Constraint; use Windwalker\Query\Query; use Windwalker\Utilities\Classes\FlowControlTrait; /** * Th...
PHP
packages/query/src/Clause/AlterClause.php
ventoviro/ww4
mit
4,186
184
codeparrot/github-code
1e00728e60f53bd81ba6d09c57d440bd4ea1251bbdc2f0dfc7dad1b60cb8b905
#include "addtorrentform.h" #include "ui_addtorrentform.h" #include "torrentcontentfiltermodel.h" #include "torrentcontentmodel.h" #include "proplistdelegate.h" #include "utilities/utils.h" #include <QDateTime> #include <QFileDialog> #include <QDebug> #include "settings_declaration.h" #include "libtorrent/torrent_hand...
C++
src/gui/addtorrentform.cpp
aliakseis/LIII
mit
8,240
274
codeparrot/github-code
d12bab595d13049ff59b81a7302038b7ecc698133878a67fcb77becd57fe8455
(function () { 'use strict'; /** * Introduce the vendorAppApp.customer.list.edit module * and configure it. * * @requires 'ui.router', * @requires 'ngMaterial', * @requires vendorAppApp.mongooseError * @requires vendorAppApp.customer.service */ angular .module('vendorAppApp.customer....
JavaScript
client/app/customer/list/edit/edit.js
AVEAutomation/vendor-app
mit
3,068
94
codeparrot/github-code
ef38f2d1e76fec042a2c560df140170ae8fc9daad71f323c0de7cd55830a861b
--- layout: default title: Customize and download slug: customize lead: Customize Bootstrap's components, Less variables, and jQuery plugins to get your very own version. --- <!-- less.js isn't IE8-compatible and throws an exception during initialization, so our Blob compatibility check and error messaging code never...
HTML
docs/customize.html
stubbornella/bootstrap
mit
12,849
383
codeparrot/github-code
f046d879294c3ea755dc8f5c44834d7c786641152c3fab431478dba00f37ad68
/* * ============================================================================ * Filename: server.hxx * Description: Server side implementation for flihabi network * Version: 1.0 * Created: 04/20/2015 06:21:00 PM * Revision: none * Compiler: gcc * Author: Raf...
C++
src/server.cc
FLIHABI/network
mit
6,991
263
codeparrot/github-code
f939d4653a8f00de7674841192339f3928ce558ce49a2cebe7b987f724d94ad6
package seedu.task.model.task; import seedu.task.commons.exceptions.IllegalValueException; /** * Represents a Task's priority level in the task manager. * Guarantees: immutable; is valid as declared in {@link #isValidPriorityLevel(String)} */ public class PriorityLevel { public static final String MESSAGE_PR...
Java
src/main/java/seedu/task/model/task/PriorityLevel.java
CS2103JAN2017-W09-B4/main
mit
1,885
63
codeparrot/github-code
d1012bdc1b4134202fe967fb1021cee9ea5d611110f6cb2576b7dc68ea03648d
/* * MIT License * * Copyright (c) 2018 Asynchronous Game Query Library * * 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 ...
Java
protocols/valve/dota2/webapi/src/main/java/com/ibasco/agql/protocols/valve/dota2/webapi/pojos/Dota2MatchHistory.java
ribasco/async-gamequery-lib
mit
3,519
132
codeparrot/github-code
0bcc6b0c5bc6eba35a50ea4abd046c5f4cbe8bbbd4e2b0e31a78cca53a92b0e9
'use strict'; var _ = require('underscore'), through2 = require('through2'), fs = require('fs'), hdiff = require('hdiff'), spawn = require('child_process').spawn, which = require('which'), gutil = require('gulp-util'), path = require('path'); module.exp...
JavaScript
index.js
tounano/gulp-update
mit
3,562
151
codeparrot/github-code
dbc8c1206569ae331e9a844288d99bfd418a8f8010f1fcea94a5414dff25b52b
package ru.mirea.oop.practice.set; import java.util.Iterator; @SuppressWarnings("unchecked") public final class SetImpl<E> implements ISet<E> { private int size; private final Node<E>[] table; public SetImpl(int capacity) { table = (Node<E>[]) new Node[capacity]; } public SetImpl() { ...
Java
Examples/structs/src/main/java/ru/mirea/oop/practice/set/SetImpl.java
miroha/2015.2
mit
5,357
204
codeparrot/github-code
0f4b73d8fb30b437be069ab2679aa78342c6bcdc959787bd0819cba0c9d2e057
/** * @file expectation.cpp * @author Chris Vig (chris@invictus.so) * @date 2016/12/30 */ /* -- Includes -- */ #include <sstream> #include <string> #include <spookshow/spookshow.hpp> /* -- Namespaces -- */ using namespace spookshow; /* -- Procedures -- */ expectation::expectation(const std::string& name, int...
C++
src/expectation.cpp
xchrishawk/spookshow
mit
1,235
57
codeparrot/github-code
9efd2ad0722bd3cd1785d129fd6ec663308329d5c8ccfba354875248ac4acbfb
package repositories.Control; import repositories.model.Goods; import repositories.util.DB; import repositories.util.ScannerChoice; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; /** * Created by bonismo * 15/7/18 ...
Java
Shoping_Management_System/src/main/java/repositories/Control/GoodsControl.java
StayHungryStayFoolish/stayhungrystayfoolish.github.com
mit
7,756
241
codeparrot/github-code
e17b0aa257d9227947153514ab75de631519f9788a23a8d4b84c716b3f26c0e7
package com.venk.hive.udf; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTes...
Java
udf/src/test/java/com/venk/hive/udf/AppTest.java
venrad/Hive
mit
645
39
codeparrot/github-code
7f712eee4c74e4d66797fde1708c78aa1d67bfeb3d9320c31badeffb58a98e28
using System; using System.Reflection; using NetOffice; using NetOffice.Attributes; namespace AccessApi.Utils { #pragma warning disable /// <summary> /// Necessary factory info, used from NetOffice.Core while Initialize() /// </summary> public class ProjectInfo : IFactoryInfo { #region Fi...
C#
Source/Access/Utils/ProjectInfo.cs
NetOfficeFw/NetOffice
mit
2,990
129
codeparrot/github-code
1b9dcecd59f13486561e7dc19c118f519a8bb31f239f560693fa7340100549fa
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* card_to_rom.c :+: :+: :+: ...
C
C/card_to_rom.c
htindon/CodeEval
mit
1,799
70
codeparrot/github-code
e8454e26ebf18a06eea6bd3d4865df20f3acd927c806871695cade1a8f68ce74
/** * @file A set of global functions available to all components. * @author Rowina Sanela */ (bbn => { "use strict"; if ( !bbn.vue ){ throw new Error("Impossible to find the library bbn-vue") } Vue.mixin({ computed: { /** * Return the object of the currentPopup. * @computed curr...
JavaScript
src/mixins.js
nabab/bbn-vue
mit
7,844
285
codeparrot/github-code
b6c877f7142550ada342c1c59e0ea49b6d689ffce97f839de1ea51767bfac2cb
package com.optimaize.webcrawlerverifier.bots; import com.google.common.base.Predicate; import com.google.common.collect.ImmutableSet; import org.jetbrains.annotations.NotNull; import java.util.Collections; import java.util.Set; /** * Resources: * http://en.wikipedia.org/wiki/Googlebot * https://support.google.co...
Java
src/main/java/com/optimaize/webcrawlerverifier/bots/GooglebotData.java
optimaize/webcrawler-verifier
mit
1,358
60
codeparrot/github-code
000dc8a6af68d2b3263ea213213d0e76b7107059a58a9b0c658dacc9eb8396d1
#include <stdio.h> #include <sstream> #include <bitset> #include "CVar.h" #include "../dbnet/db_net.hpp" CVar::CVar(int iWid, int iType, std::string sRem) : m_iWid(iWid), m_iType(iType), m_sRem(sRem) { m_bSync = false; } void CVar::AddAlias(int iBit, std::string sRem) { CAlias* pNewAlias = new CAlias(iBit, sRem);...
C++
src/CVar.cpp
milosbem/myAmit
mit
2,578
136
codeparrot/github-code
388b1f3e97c3c833291a78c62929492256f93e27cbec1686866674d74f45ccb4
/* * @felipe de jesus | iti_fjpp@hotmail.com */ var msj_beforeSend=function (){ bootbox.dialog({ title: 'Vive Pueblos Mágicos', message: '<center><i class="fa fa-spinner fa-spin fa-3x msjOk"></i><br>Espere por favor.</center>' ,onEscape : function() {} }); ...
JavaScript
assets/js/mensajes.js
bienTICS/LuchaVSCancerInfantil
mit
4,852
140
codeparrot/github-code
5dedda2f260f15d21322f8a3414d56eee106751cd5d959a9fa06847ef7d420b3
import {TestBed, ComponentFixture, inject} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {createGenericTestComponent, isBrowserVisible} from '../test/common'; import {Component} from '@angular/core'; import {NgbAccordionModule, NgbPanelChangeEvent, NgbAccordionConfig, NgbAccordion...
TypeScript
src/accordion/accordion.spec.ts
jnizet/ng-bootstrap
mit
38,400
1,066
codeparrot/github-code
0fd339dfd1072fde92b59a98ddc65d52afeb089c5198c800fac1a3f45bbab83f
package com.hearthsim.test.spell; import com.hearthsim.card.Card; import com.hearthsim.card.basic.spell.Claw; import com.hearthsim.card.minion.Minion; import com.hearthsim.card.minion.MinionMock; import com.hearthsim.exception.HSException; import com.hearthsim.model.BoardModel; import com.hearthsim.model.PlayerModel; ...
Java
src/test/java/com/hearthsim/test/spell/TestClaw.java
relimited/HearthSim
mit
4,085
92
codeparrot/github-code
b1a4097a141fdae4d403b9865c274f446dd280ac555983206bd309d7a2945a06
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="Open Knowledge"> <meta name="description" content="The state ...
HTML
place/nicaragua/map/index.html
okfn/opendataindex-2015
mit
8,606
174
codeparrot/github-code
0c4ed9122ca14347f6b254ea470eedd8402901bba5986b3c030c07f613906481
<?php /* * This file is part of the Sociable package. * * Copyright 2013 by Sébastien Pujadas * * For the full copyright and licence information, please view the LICENCE * file that was distributed with this source code. */ namespace Sociable\Utility; abstract class SkypeValidator { const SKYPE_MIN_LENGTH...
PHP
lib/Sociable/Utility/SkypeValidator.php
spujadas/sociable
mit
905
35
codeparrot/github-code
d3bfea6c9a7e1abf821ada75da567e19a6c106aa3385375ae6a3fa7be0eb5d1e
from threading import Lock import requests from api.decorator import critical_section from api.importer import AdditionalDataImporter from api.importer import AdditionalDataImporterError from api.importer.wiktionary import dyn_backend rmi_lock = Lock() class DictionaryImporter(AdditionalDataImporter): def popu...
Python
api/importer/rakibolanamalagasy.py
radomd92/botjagwar
mit
1,609
53
codeparrot/github-code