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 |
|---|---|---|---|---|---|---|---|---|
52ae06bb00e1484764eb0612b421625e8e8ec081ed044af778a3f38a2cc4ccf8 | (function() {
/*
Copyright (c) 2002-2014 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j 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... | JavaScript | src/main/resources/webadmin-html/js/neo4j/webadmin/modules/databrowser/search/NodeSearcher.js | ahmadassaf/Balloon | mit | 1,860 | 47 | codeparrot/github-code |
03b276a7e2193a591b95b78dff5fc57d37ede694e0dcaa14f793038a07e39348 | jQuery(document).ready(function () {
localStorage.removeItem('routineList');
document.getElementById("userName").innerHTML = "Hello " + localStorage.getItem('userName') + "!";
document.getElementById("userName").value = localStorage.getItem('name');
var loginToken = window.localStorage.getItem("tok... | JavaScript | www/js/splash.js | wsuparcmen/PJCApp | mit | 1,223 | 37 | codeparrot/github-code |
e482defbe9cb25dd66db91081d0afff572182fe1b2bce2a0a706fe3393cba711 | using System;
using System.Drawing;
using System.Windows.Forms;
using LamedalCore.domain.Attributes;
using LamedalCore.domain.Enumerals;
namespace DuctingGrids.Frontend.Forms
{
[Test_IgnoreCoverage(enTestIgnore.FrontendCode)]
public sealed partial class Form1 : Form
{
public Form1()
{
... | C# | WinForms/Frontend/Forms/Form1.cs | perezLamed/ThreeLevelGrids | mit | 1,747 | 68 | codeparrot/github-code |
5b6aa49286a1de30ebcdd801e5375ab54aa8c5a8bf4f71015c5998d8351d42fc | package net.jsunit.logging;
import net.jsunit.model.Browser;
import net.jsunit.model.BrowserResult;
import net.jsunit.model.BrowserResultBuilder;
import net.jsunit.utility.FileUtility;
import net.jsunit.utility.XmlUtility;
import java.io.File;
public class FileBrowserResultRepository implements BrowserResu... | Java | java/source_server/net/jsunit/logging/FileBrowserResultRepository.java | pivotal/jsunit | mit | 1,386 | 45 | codeparrot/github-code |
a74d5bcc372d97d1fbcb459bc16d00dc6417ac80267ff68aab626dde4159f4fe | #!/usr/bin/env python
# encoding: utf-8
################################################################################
#
# RMG - Reaction Mechanism Generator
#
# Copyright (c) 2009-2011 by the RMG Team (rmg_dev@mit.edu)
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of thi... | Python | rmgpy/molecule/draw.py | faribas/RMG-Py | mit | 68,395 | 1,489 | codeparrot/github-code |
185e77494496757b3e4f0ab7e31b5cac972b52b65bc18ee7ce0b19784835a5aa | import bcrypt from "bcryptjs";
import Sequelize from "sequelize";
import {
uuid
} from "bonsai-engine/utilities";
import {
createRoutes
} from "bonsai-engine/routing";
export default class UserController {
constructor(tracker, models) {
... | JavaScript | server/src/bonsai-worker/controller/client/UserController.js | Reanmachine/bonsai | mit | 2,022 | 86 | codeparrot/github-code |
3e0afc7029d095b882789287876bb3712db56c7f8d4e875e2b1ce63d72d02b9f |
'use strict'
/**
* Module dependencies.
*/
const util = require('util')
const createError = require('http-errors')
const httpAssert = require('http-assert')
const delegate = require('delegates')
const statuses = require('statuses')
const Cookies = require('cookies')
const COOKIES = Symbol('context#cookies')
/**
... | JavaScript | lib/context.js | nswbmw/koa | mit | 5,549 | 252 | codeparrot/github-code |
d351323b8542b559c5b311e22a790ea345522dc33ed8c2283949403b2f150e88 | #include "../display.h"
Display::Display(int width, int height) {
display = al_create_display(width, height);
}
ALLEGRO_DISPLAY* Display::getPointer() {
return display;
}
int Display::getHeight() {
if (display != NULL)
return al_get_display_height(display);
else exit(1);
}
int Display::getWidth() {
if (di... | C++ | lib/Allegro/source/display.cpp | lzsks/Falling-Blocks | mit | 1,290 | 66 | codeparrot/github-code |
c28f66ac66da8931efd9353a89bb0512eeae8a2dc61e4dcdb3dc971e3a9edd7d | import h from "../utils/html.js";
import closestParent from "../utils/closest-parent.js";
class Preloader {
constructor() {
this.image = h("img");
this.cache = {};
this.queue = [];
this.image.addEventListener("load", () => this.moveQueue());
this.image.addEventListener("err... | JavaScript | src/js/utils/slideshow.js | SiTLar/BetterFeed | mit | 4,495 | 162 | codeparrot/github-code |
9aeb7c8114d9bbd435854809c661f9b343a1a30d564217aa49796dd4b82eaddd | export default [{
name: 'api.test',
errors: {}
}, {
name: 'auth.test',
errors: {
not_authed: 'No authentication token provided.',
invalid_auth: 'Invalid authentication token.',
account_inactive: 'Authentication token is for a deleted user or team.'
}
}, {
name: 'channels.archive',
errors: {
... | JavaScript | lib/web-methods.js | declandewet/slack-frp | mit | 30,564 | 679 | codeparrot/github-code |
d2d96eabb9b75d071c41628acc71800dbc1b34c297e33ebe45e17427225c472d | #pragma once
#include <stddef.h> // size_t definition
#include <tasm/bytes.h>
#include <tasm/private/execute.h>
#include <tasm/private/byte_string.h>
#include <tasm/private/foldable.h>
#include <tasm/private/label.h>
#include <tasm/private/state.h>
namespace tasm {
/**
Convert an Asm program into machine code.
*... | C | include/tasm/asm.h | mattbierner/Template-Assembly | mit | 1,137 | 51 | codeparrot/github-code |
f360a013dbf5af49e4bd3c3e07b3c34127428f31abb8b367afff3d5c19f915ab | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form\Extension\Core\Type;
use Symfony\Component\Form\... | PHP | src/Symfony/Component/Form/Extension/Core/Type/LocaleType.php | frankdejonge/symfony | mit | 3,982 | 135 | codeparrot/github-code |
3d67296dc6b7e8d09dd0d88dc7823faca6cd77834dbecbb2d1055028f78ae37b | //
// Home of the main server object
//
var express = require('express'),
env = require('./lib/env'),
mw = require('./middleware'),
DataAdapter = require('./lib/data_adapter'),
rendrServer = require('rendr').server,
rendrMw = require('rendr/server/middleware'),
viewEngine = require('rendr/server... | JavaScript | server/server.js | petehunt/rendr-react-template | mit | 2,669 | 112 | codeparrot/github-code |
71bbb03b3c7a76294bfd2efb68086dac69510d4dcd13535734e0eacfe9658fae | /*
Copyright (C) 2012 Alexander Overvoorde
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publ... | C++ | src/GL/GL/VertexBuffer.cpp | migulorama/OOGL | mit | 2,877 | 91 | codeparrot/github-code |
180c087c31023761add8cb5afe4dec19ec5aef4958475c04a1bc7f2d6bae3937 | var should = require('should'),
sinon = require('sinon'),
Promise = require('bluebird'),
mail = require('../../../../server/services/mail'),
settingsCache = require('../../../../server/services/settings/cache'),
configUtils = require('../../../utils/configUtils'),
urlUtils = require('../../../..... | JavaScript | core/test/unit/services/mail/GhostMailer_spec.js | kevinansfield/Ghost | mit | 11,710 | 351 | codeparrot/github-code |
adcaf03a80ccedee0a98a24a36e7f19356be653ce8506ee9678135d20a16062e | /*---------------------------------------------------------------------------------------------
* 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/workbench/parts/debug/electron-browser/debugEditorContribution.ts | zyml/vscode | mit | 20,675 | 505 | codeparrot/github-code |
90ac17756868756a88af77f1d57556d7fd1a92e62d74a10ddfe75e3af61e73d9 | /*
* Copyright (c) 2019 Fastly, Janardhan Iyengar
* Copyright (c) 2020 RWTH Aachen University, COMSYS Network Architectures Group, Leo Blöcher
*
* 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 S... | C | deps/quicly/lib/cc-cubic.c | cwyang/h2o | mit | 7,913 | 194 | codeparrot/github-code |
ccf57219c1726fa03362c88aa208f296dab6e2a79bb45235d69033a0bbad0a17 | // VLISP Virtual Machine - 2006 - by Sylvain Huet
// Lowcost IS Powerfull
#include"vmem.h"
#include"vloader.h"
#include"vlog.h"
void play_check(int nocb);
#ifdef VSIMU
#include <stdio.h>
int vmem_heap[VMEM_LENGTH];
#endif
#define VMEM_DBG
int vmem_heapindex;
int *vmem_top;
int vmem_stack;
int ... | C | hardware/compilateur/Projet-VS/vmem.c | sebastienhouzet/nabaztag-source-code | mit | 8,029 | 423 | codeparrot/github-code |
6b7106e3876a4c7f81e7ef7bf263171e25e216a8120905beac5d5cb3d9522631 | /********************************************************
* material.h - material library by Bastiaan Olij 2016
*
* Public domain, use as you say fit, disect, change,
* or otherwise, all at your own risk
*
* This library is given as a single file implementation.
* Include this in any file that requires it but i... | C | archive/19. Joysticks/include/material.h | BastiaanOlij/glfw-tutorial | mit | 11,705 | 362 | codeparrot/github-code |
4944d22576d7a11e20501484bc2bc6b90e4531da8a508e84479ce30c039c1e4a | /// @ref core
/// @file glm/detail/type_vec2.hpp
#pragma once
#include "type_vec.hpp"
#if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
# if GLM_HAS_UNRESTRICTED_UNIONS
# include "_swizzle.hpp"
# else
# include "_swizzle_func.hpp"
# endif
#endif //GLM_SWIZZLE
#include <cstddef>
namespace glm
{
template<type... | C++ | include/foreign/glm/detail/type_vec2.hpp | CaffeineViking/mcrt | mit | 13,733 | 388 | codeparrot/github-code |
64afe08a52aa7257e146de645552a51b8b57e015d135148f8e63e576a84aefbd | #include "blockgraphicsitem.h"
#include <QPainter>
#include <QStyleOptionGraphicsItem>
#include <QRectF>
#include <QSize>
#include <QTextOption>
#include "blocktype.h"
#include "pintype.h"
#include "pingraphicsitem.h"
BlockGraphicsItem::BlockGraphicsItem(BlockType blockType, int index)
{
m_blockType = blockType;
... | C++ | gui/blockgraphicsitem.cpp | UnnamedCompany/UnnamedSoftware | mit | 1,701 | 55 | codeparrot/github-code |
8405141cec168976f4f2a3ccd48b918106e7f00da25add4d008bef6b0b0f7e91 | #region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | C# | src/System.CoreEx/EnumNameAttribute.cs | BclEx/AdamsyncEx | mit | 2,384 | 67 | codeparrot/github-code |
c9460b596405056acf04e6c67c45348504912b7f373d2971aafc7105da154107 | from .resource import Resource
from collections import Iterator
import copy
try:
# python 2
from urllib import quote
except ImportError:
# python 3
from urllib.parse import quote
class Pages(Iterator):
def __init__(self, opts, url, path, params):
if isinstance(path, list):
pag... | Python | porc/pages.py | helloworldC2/VirtualRobot | mit | 2,872 | 93 | codeparrot/github-code |
09c358676f002727799e8ee0aec7594c52ca040a3c3fdba31873e239f9210af5 | <!doctype html>
<head>
<style>
body {
background: blue;
color: #fff;
}
pre {
color: black;
background: white;
}
</style>
</head>
<body>
<div role="main">
<h1>Module Loader Polyfill</h1>
<p>Check the console in your browser developer tools! This code is currently loa... | HTML | demo/index.html | lukehoban/es6-module-loader | mit | 1,534 | 67 | codeparrot/github-code |
14a8ba0cc6415a524c1be2a3eb6bc43c3b2810c67c45b940d09ee1307994ac13 | //////////////////////////////////////////////////////////////////////////
//
// This file is part of the BWEM Library.
// BWEM is free software, licensed under the MIT/X11 License.
// A copy of the license is provided with the library in the LICENSE file.
// Copyright (c) 2015, 2017, Igor Dimitrijevic
//
////////////... | C | BWEM/include/BWEM/mapPrinter.h | Kruecke/KBot | mit | 4,846 | 130 | codeparrot/github-code |
557189d90583baa17ddf987486668642480ef3ead9c1431ed9c5e133de53b5b6 | <?php
namespace Fist\Database;
use Closure;
use Fist\Repository\ArrayRepository;
use Fist\Repository\RepositoryInterface;
use Fist\Database\Connectors\ConnectionInterface;
class Database
{
protected $repository;
protected $connectedDrivers = [];
public function __construct(RepositoryInterface $reposito... | PHP | src/Fist/Database/src/Database.php | fistlab/php | mit | 6,154 | 243 | codeparrot/github-code |
66f4cdd3ebd594b929b384098f6ef886b18c37ebce15f9c7e26190ba9a89d714 | /*
* CCI
*/
var log = require('../../core/log');
var Indicator = function(settings) {
this.input = 'candle';
this.tp = 0.0;
this.result = false;
this.hist = []; // needed for mean?
this.mean = 0.0;
this.size = 0;
this.constant = settings.constant;
this.maxSize = settings.history;
for (var i = 0; i ... | JavaScript | strategies/indicators/CCI.js | askmike/gekko | mit | 1,595 | 76 | codeparrot/github-code |
39b16ecf17f93e4e73ab8c57d9bd8cacb1133174c9fef635eed9d4b8fef90194 | #!/usr/bin/python3
# mari von steinkirch @2013
# steinkirch at gmail
'''
1 Jan 1900 was a Monday.
Thirty days has September,
April, June and November.
All the rest have thirty-one,
Saving February alone,
Which has twenty-eight, rain or shine.
And on leap years, twenty-nine.
A leap year occurs on any year evenly divisi... | Python | First_edition_2014/other_resources/Project-Euler/019-counting_sundays.py | bt3gl/Python-and-Algorithms-and-Data-Structures | mit | 1,794 | 66 | codeparrot/github-code |
52114669a9fc2ba7563eb54aab65cf65b045f153c19fb3a0c8ef5377ad30e11e | <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts Free Docu... | HTML | web/bundles/sigaind/FusionChartsFree/Contents/FirstChart.html | sigaind/cupon | mit | 18,112 | 343 | codeparrot/github-code |
a439bdc2b92d9b47e0f3fb02295ef039855ef1bb7e026edc9dbb04d19bec805d | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | C++ | current/src/tcp_wrap.cc | enclose-io/compiler | mit | 13,462 | 405 | codeparrot/github-code |
5cf28cbf5dea07bd32bcbd2560844fc803999d2e321e192a228f68848cc4745b | /*
M3 -- Meka Robotics Robot Components
Copyright (c) 2010 Meka Robotics
Author: edsinger@mekabot.com (Aaron Edsinger)
M3 is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, o... | C | src/m3/vehicles/vehicle.h | ahoarau/m3meka | mit | 1,231 | 53 | codeparrot/github-code |
967e70ceb4b4e0a531ec5ab68cd55c879e6d6be6f28f438386be7695bc395258 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.ComponentModel;
using System.Diagnostics;
using System.Windows.Documents;
using Markout.Common.DataMod... | C# | Output.Inlines.Sample/content/MainViewModel.cs | phurst/Markout | mit | 3,139 | 79 | codeparrot/github-code |
ed494a7e3397b928844feea006374ac1c7d369b8a7ff69aac7575d65b1070d76 | import { Component, ViewChild, ElementRef, ViewEncapsulation, NgModule } from '@angular/core';
import { IonicApp, IonicModule, PopoverController, NavParams, ViewController } from '../../../..';
@Component({
template: `
<ion-content>
<ion-list radio-group [(ngModel)]="fontFamily" (ionChange)="changeFontFam... | TypeScript | src/components/popover/test/basic/app-module.ts | AbraaoAlves/ionic | mit | 6,540 | 252 | codeparrot/github-code |
c92b282f87ebd6f4d15c3ba32ffa05cba620863cde3d8877cdd7ebede2a00bba | package tehnut.elsewhere;
import net.minecraftforge.common.config.Configuration;
import java.io.File;
public class ConfigHandler {
public static Configuration config;
public static String general = "general";
public static String[] dimBoundsDefault = { "0:2000x2000", "1:2000x2000", "-1:250x250" };
... | Java | src/main/java/tehnut/elsewhere/ConfigHandler.java | tterrag1098/ElsewhereBorder | mit | 1,832 | 39 | codeparrot/github-code |
46a1d9347bfc6ff31dc8d17112aa7350cabb687cf158333dc3dd80518191cd44 | # Time: O(nlogn), n is the number of total emails,
# and the max length ofemail is 320, p.s. {64}@{255}
# Space: O(n)
# Given a list accounts, each element accounts[i] is a list of strings,
# where the first element accounts[i][0] is a name,
# and the rest of the elements are emails representing emai... | Python | Python/accounts-merge.py | kamyu104/LeetCode | mit | 3,714 | 102 | codeparrot/github-code |
15c5c1ffe2b957be29337f9a8f1a40e43efb748fa4d16b576e6a09980388e24f | <?php
namespace VGMdb\Component\HttpKernel\Controller;
use Silex\Application;
use Symfony\Component\HttpKernel\Controller\ControllerResolver as BaseControllerResolver;
use Symfony\Component\HttpFoundation\Request;
use Psr\Log\LoggerInterface;
/**
* Allows the controller resolver to recognize custom verbs and method... | PHP | src/VGMdb/Component/HttpKernel/Controller/ControllerResolver.php | vgmdb/common | mit | 6,385 | 206 | codeparrot/github-code |
472bc4c28658b0fa46d4679dcbf425c43e60ca6f4e7e8e58825c13f0bdf2caa9 | <?php
namespace Checkfood\CentralBundle\Listener;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
/**
* ControllerListener
*
* @author Safwen Toukabri <safwen.toukabri@proxym-it.com>
*/
class ControllerListener
{
private $... | PHP | src/Checkfood/CentralBundle/Listener/ControllerListener.php | 5emeGauche/CheckFood-server | mit | 1,194 | 40 | codeparrot/github-code |
7e2770a31c85ba735b256d395f370c46a414aa4be3812016576c17f1d431ef7a | package xcpretty
import (
"fmt"
"github.com/bitrise-io/go-utils/log"
"github.com/bitrise-io/go-xcode/v2/xcpretty"
"github.com/hashicorp/go-version"
)
// Installer ...
type Installer interface {
Install() (*version.Version, error)
}
type installer struct {
xcpretty xcpretty.Xcpretty
}
// NewInstaller ...
func... | GO | xcpretty/xcpretty.go | bitrise-io/steps-new-xcode-test | mit | 1,258 | 58 | codeparrot/github-code |
3c2c7d9dc1c180ba3b59bf92dbde8d74f795dcd5e8a148ec7b5256a573988107 | from pprint import pformat
import os
import sys
from difflib import SequenceMatcher
from .. import logs, types, const
from ..conf import settings
from ..corrector import get_corrected_commands
from ..exceptions import EmptyCommand
from ..ui import select_command
from ..utils import get_alias, get_all_executables
def ... | Python | thefuck/entrypoints/fix_command.py | SimenB/thefuck | mit | 1,556 | 48 | codeparrot/github-code |
441d06a896de516c1fd99421e92b0de0ba07b145c0368345acbe41013736edf4 | {% include base_path %}
<!-- begin SEO -->
{% if site.url %}
{% assign seo_url = site.url | append: site.baseurl %}
{% endif %}
{% assign seo_url = seo_url | default: site.github.url %}
{% if page.title %}
{% assign seo_title = page.title | append: " " | append: site.title_separator | append: " " | append: site.t... | HTML | _includes/seo.html | hiraksarkar/hiraksarkar.github.io | mit | 4,939 | 119 | codeparrot/github-code |
c4c792a8f15bf1da2818f6f3d592f1b85cc8c672f249dba70020979f2c83034c | exports.models = {
User: {
id: 'User',
required: ['name', 'email', 'username'],
properties: {
id: {
type: 'string',
description: 'Unique identifier for the User'
},
name: {
type: 'string',
description: 'Name of the user'
},
email: {
ty... | JavaScript | packages/custom/icu/docs/models.js | linnovate/icu | mit | 7,443 | 320 | codeparrot/github-code |
88e693b6735e030ffe7b392fed306fdb01273b4076a8085a42de4e11d9c93fd2 | /* ----------------------------------------------------------------------
* Copyright (C) 2010 ARM Limited. All rights reserved.
*
* $Date: 15. July 2011
* $Revision: V1.0.10
*
* Project: CMSIS DSP Library
* Title: arm_cfft_radix4_init_q15.c
*
* Description: Radix-4 Decimation ... | C | blinky/blinky/asf-3.21.0/thirdparty/CMSIS/DSP_Lib/Source/TransformFunctions/arm_cfft_radix4_init_q15.c | femtoio/femto-usb-blink-example | mit | 71,447 | 1,201 | codeparrot/github-code |
0f33f2f5b90b26174cc065c647db180062b2ed520790e00e9e5d815e87164f46 | /*
* sys-copyself.c
*
* Copyright(c) 2007-2022 Jianjun Jiang <8192542@qq.com>
* Official site: http://xboot.org
* Mobile phone: +86-18665388956
* QQ: 8192542
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), ... | C | src/arch/arm32/mach-h3/sys-copyself.c | xboot/xboot | mit | 2,908 | 111 | codeparrot/github-code |
300b2e0fcdc545d5ca1f214f1dcc08dac7272d92544700681441b665d1a63034 | /**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.datasource.extra;
import java.util.HashMap;
import java.util.Map;
/**
*
* @author carcassi
*/
public class Parameters {
private final Map<Object, ... | Java | pvmanager/pvmanager-extra/src/main/java/org/diirt/datasource/extra/Parameters.java | richardfearn/diirt | mit | 951 | 38 | codeparrot/github-code |
754fdec11eb81555fe24a984f02dd329b928fe5518c7b0655d810e6d80549c46 | <?php
namespace jvleeuwen\broadsoft\Repositories;
use jvleeuwen\broadsoft\Repositories\Contracts\BsCallCenterInterface;
use jvleeuwen\broadsoft\Database\Models\bsCallcenter;
class BsCallCenterRepository implements BsCallCenterInterface
{
public function SaveToDB($CallCenterArray)
{
$new = 0;
... | PHP | src/Repositories/BsCallCenterRepository.php | jvleeuwen/broadsoft | mit | 2,626 | 79 | codeparrot/github-code |
fcc12db43d828216d2179ac9f45dd70c776fa16a5314a0aa24ec51e78da454c9 | # -*- encoding: utf-8 -*-
from . import FixtureTest
class HealthcareTest(FixtureTest):
def test_blood_donation(self):
import dsl
z, x, y = (16, 11205, 26166)
self.generate_fixtures(
# https://www.openstreetmap.org/way/227712531
dsl.way(227712531, dsl.tile_box(z, ... | Python | integration-test/1596-junk-healthcare-values.py | mapzen/vector-datasource | mit | 10,521 | 335 | codeparrot/github-code |
4eab5641eda3f4b870784c6970d23c408b2a9be79fffe72b574155c8d0141458 | module CallbacksAttachable
class CallbackRegistry
def initialize(owner_class)
@singleton_owner = owner_class.singleton_class?
@callbacks = {}
end
def register(*events, opts, callback)
callback = Callback.new(self, events, opts, !@singleton_owner, callback)
events.each do |event|
... | Ruby | lib/all/callback_registry.rb | christopheraue/m-ruby-callbacks_attachable | mit | 812 | 30 | codeparrot/github-code |
60690bfc329ba2a2f45fab7cafc69be7b6ab7ab574eca481647f934e75ee798d | goog.provide('tictactoe.GameController');
goog.require('goog.events.EventTarget');
/**
* @constructor
*/
tictactoe.GameController = function(gameView) {
'use strict';
var that = this;
goog.events.EventTarget.call(this);
// send move to platform
goog.events.listen(this, 'move', function(e) {
... | JavaScript | src/js/gamecontroller.js | stand579/pg-tic-tac-toe | mit | 4,185 | 121 | codeparrot/github-code |
fe45de682c91cbdd4a69ac5267734549791f29ff218fdf96cd1609be5c1c430c | const Route = require('../../structures/Route');
class albumEditPOST extends Route {
constructor() {
super('/album/edit', 'post');
}
async run(req, res, db, user) {
if (!req.body) return res.status(400).json({ message: 'No body provided' });
const { id, name, nsfw } = req.body;
if (!id) return res.status(4... | JavaScript | src/api/routes/albums/albumEditPOST.js | WeebDev/loli-safe | mit | 974 | 34 | codeparrot/github-code |
858e2559292607406aee5b6a6a3c3907fa31a555f16d5d01734655d0a325fdf1 | -- MySQL dump 10.14 Distrib 5.5.52-MariaDB, for Linux (x86_64)
--
-- Host: localhost Database: whois
-- ------------------------------------------------------
-- Server version 5.5.52-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_R... | SQL | examples/mysql/whois.sql | takama/whoisd | mit | 8,711 | 230 | codeparrot/github-code |
6377cfe75f344ec6619f104a3afa6292b8cbc45edd9b90f5af8c4b0bf3cc7af4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SubSonic;
using System.Xml;
using System.Xml.Serialization;
using System.Data;
namespace SoftLogik.Win.Data
{
public class SimpleSearchCollection : ActiveList<SimpleSearch, SimpleSearchCollection>
{
}
pu... | C# | SoftLogic.Core/Win/Data/Entities/SimpleSearch.cs | okyereadugyamfi/softlogik | mit | 3,311 | 163 | codeparrot/github-code |
8fdab274e7c7a2e368bd38e61f096a951886afa7a25a017219a9e8162fdc781a | /********************************************************* {COPYRIGHT-TOP} ***
* Copyright 2016 IBM Corporation
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the MIT License
* which accompanies this distribution, and is available at
* http://opensource.org/... | Java | v12/src/PerfHarness/src/com/ibm/uk/hursley/perfharness/stats/BasicStats.java | ot4i/wlm-tutorial | mit | 5,883 | 224 | codeparrot/github-code |
19ad1e78e53487fa34dabf8ff5af875777e44a219627ce3d90c3b2ea727d3617 | // dear imgui: Renderer Backend for DirectX10
// This needs to be used along with a Platform Backend (e.g. Win32)
// Implemented features:
// [X] Renderer: User texture backend. Use 'ID3D10ShaderResourceView*' as ImTextureID. Read the FAQ about ImTextureID!
// [X] Renderer: Support for large meshes (64k+ vertices) w... | C++ | external/imgui/backends/imgui_impl_dx10.cpp | zq317157782/Narukami | mit | 24,137 | 536 | codeparrot/github-code |
6ab2053fbf1337e57142ee3b9e8cc820eb34866c60420d9455eb6092b9231b6f | <?php
namespace Bolt\Nut;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Nut command to set up extension directories.
*
* @author Gawain Lynch <gawain.lynch@gmail.com>
*/
class ExtensionsSetup extends BaseCommand
{
/**
* {@inheritdoc}
... | PHP | src/Nut/ExtensionsSetup.php | HonzaMikula/masivnipostele | mit | 2,043 | 78 | codeparrot/github-code |
bc40b3ba0741fcd889482b21d1ffe126249f99f1c3d69e1815f20e6a6c7df4e8 | package uk.org.fyodor;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import java.util.List;
import static com.google.common.collect.Lists.newArrayList;
public class BaseTest {
private static boolean print = false;
List<Object> printMe;
@Before
public void createPri... | Java | fyodor-core/src/test/java/uk/org/fyodor/BaseTest.java | KarlWalsh/fyodor | mit | 722 | 39 | codeparrot/github-code |
74356d7af8ceb3f2aa437637ab718c600a21a93a4aadc3e3bdf252a16fdfb5b8 |
using UnityEngine;
using System.Collections.Generic;
public enum MegaVolumeType
{
Box,
Sphere,
}
[System.Serializable]
public class MegaVolume
{
public MegaVolume()
{
falloff = 1.0f;
enabled = true;
weight = 1.0f;
name = "None";
uselimits = false;
}
public bool enabled = true;
public float wei... | C# | Visual_Experiments/Assets/Plugins/Mega-Fiers/Scripts/MegaFiers/Modifiers/Selection/MegaMultiVolSelect.cs | lejeanf/VisualExperiments | mit | 8,452 | 369 | codeparrot/github-code |
7fd4be7a8148e9876662e36ba8057e1a41d63218e1857402af4ed790fb178f69 | <?php namespace Bogardo\Mailgun\Mailgun\Lists;
use Bogardo\Mailgun\Mailgun\MailgunApi;
class Member extends MailgunApi {
public $address;
public $name;
public $subscribed;
public $vars;
public function __construct($address = "")
{
if ($address) {
$this->address;
... | PHP | src/Bogardo/Mailgun/Mailgun/Lists/Member.php | ritey/Mailgun | mit | 623 | 36 | codeparrot/github-code |
44a53a489794cfeb14cdc1f82a40892f532552f96f66a0f887b84416770840a0 | /**
* Created by uzysjung on 2016. 9. 6..
*/
import axios from 'axios';
import { authError } from './user';
import { HOSTNAME , PORT } from '../../config'
const ROOT_URL = `http://${HOSTNAME}:${PORT}`;
export function axiosGetRequest (url,query,reqAction,errAction,recvAction) {
return (dispatch, state) => {
... | JavaScript | client/src/actions/actionHelper.js | hamxabaig/rfid-tags | mit | 2,172 | 87 | codeparrot/github-code |
0450aa21ecc4639cbe350a143598d570ed9d2b03ac21b9cb795577e0f92f3be6 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::ascii::AsciiExt;
use super::{Token, Parser, ParserInput, BasicParseError};
/// Parse the *An+B* notati... | Rust | collector/benchmarks/style-servo/rust-cssparser/src/nth.rs | nrc/rustc-perf | mit | 4,602 | 118 | codeparrot/github-code |
9a51078140f5398cf800d9c3f2e464cdb21af0b9fb78618af6789e5fc8afa5f8 | var NodeUtils = {
elements: [ 'x', 'y', 'z', 'w' ],
addShortcuts: function () {
function applyShortcut( proxy, property, subProperty ) {
if ( subProperty ) {
return {
get: function () {
return this[ proxy ][ property ][ subProperty ];
},
set: function ( val ) {
this[ prox... | JavaScript | examples/jsm/nodes/core/NodeUtils.js | opensim-org/three.js | mit | 967 | 72 | codeparrot/github-code |
f850a1fe39560884847eb76ec27302e9ed5da67659be735c03a024a690c43729 | <!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html dir="rtl" lang="en"> <!--<![endif]-->
<head>
<title>Blog Grid 3 Columns | Unify - Responsive Website Template</title>
<!-- Meta -->
<meta charset="utf-8">
<meta... | HTML | webapp/webapp/static/Unify-v1.9.4/HTML/Blog-Magazine/RTL/blog_grid_3.html | eb-intl/eb-intl.com | mit | 44,052 | 1,045 | codeparrot/github-code |
4227077d4567ab9f143521090d9d04030b2203321d078a5d64afb2a81f76ea3f | // Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.10_A3.7_T4;
* @section: 12.10;
* @assertion: No matter how control leaves the embedded 'Statement',
* the scope chain is always restored to its former state;
* @des... | JavaScript | sputnik/12_Statement/12.10_The_with_Statement/S12.10_A3.7_T4.js | rustoscript/js.rs | mit | 1,499 | 57 | codeparrot/github-code |
d18144732dda6a104d6f54c890c30e374f384716e1801c022357c3cbfdf63465 | package devopsdistilled.operp.client.commons.panes.controllers.impl;
import javax.inject.Inject;
import devopsdistilled.operp.client.abstracts.EntityOperation;
import devopsdistilled.operp.client.commons.panes.AddressPane;
import devopsdistilled.operp.client.commons.panes.controllers.AddressPaneController;
import dev... | Java | OpERP/src/main/java/devopsdistilled/operp/client/commons/panes/controllers/impl/AddressPaneControllerImpl.java | DevOpsDistilled/OpERP | mit | 1,239 | 53 | codeparrot/github-code |
6393137be55e2b3b318b9e62db1be4ce94798f64024f5f124c99ce0911762ffc | /* Copyright (c) 2004-2007 Sara Golemon <sarag@libssh2.org>
* Copyright (c) 2005 Mikhail Gusarov <dottedmag@dottedmag.net>
* Copyright (c) 2008-2014 by Daniel Stenberg
*
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that th... | C | Boss2D/addon/libssh2-1.6.0_for_boss/src/channel.c | koobonil/Boss2D | mit | 90,172 | 2,617 | codeparrot/github-code |
88eed5944d61d191d2d73e23e6e48d1ce8325347bc6a4a25a4df0561052de9cc | /*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2020 Damien P. George
* Copyright (c) 2020 Jim Mussared
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... | C | extmod/btstack/btstack_hci_uart.c | pfalcon/micropython | mit | 5,931 | 201 | codeparrot/github-code |
02544143b46060c21a63a7ce96e0fbfba141d43bc364838ee60a86a117c12743 | /**
*/
package visualizacionMetricas3.representacion.impl;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.util.EObjectCont... | Java | source/i2/VisualizacionMetricas3/src/visualizacionMetricas3/representacion/impl/AplicacionImpl.java | lfmendivelso10/AppModernization | mit | 3,515 | 154 | codeparrot/github-code |
6a86ea49c274b4aced1a7d9864bef5faae4a2e4f301d90d84a9364a6b70952eb | """ Discord API snake bot """
"""
MIT License
Copyright (c) 2016 AnonymousDapper
Permission is hereby granted
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, su... | Python | snake.py | SpoopySaitama/snake | mit | 18,353 | 479 | codeparrot/github-code |
dd79cc969a6a8291f058cc8d6edc339f90636f583f561d9868fa59158b29ef6e | use iron::Request;
use std::path::{PathBuf, Path};
use std::fs::{self, Metadata};
use std::convert::AsRef;
pub struct RequestedPath {
pub path: PathBuf,
}
impl RequestedPath {
pub fn new<P: AsRef<Path>>(root_path: P, request: &Request) -> RequestedPath {
let mut path = root_path.as_ref().to_path_buf()... | Rust | src/requested_path.rs | blaenk/staticfile | mit | 1,645 | 56 | codeparrot/github-code |
c3e8b9fbb1b5bfa2bc7ecfcf98c1ac7fb1a2b92dc566f0d72904333cb74bfc0e | /**
* \file
*
* \brief GFX task from the HTTP Netconn Example.
*
* Copyright (c) 2011-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | C | blinky/blinky/asf-3.21.0/thirdparty/lwip/netconn_http_stats_example/task_gfx_no_touch.c | femtoio/femto-usb-blink-example | mit | 10,899 | 334 | codeparrot/github-code |
0e77e1d38731a3a1b695a94939f19aa3a4edf0e0a884ca3d51b2f3b160a18297 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Spell;
use App\Monster;
use App\Item;
class VoiceController extends Controller
{
public function webhook(Request $request){
$question = json_decode($request->getContent(), true);
$answer = '';
$dat... | PHP | app/Http/Controllers/VoiceController.php | Arcanaio/Arcanaio | mit | 13,151 | 380 | codeparrot/github-code |
3f91731fcd5c45cee4c67044020a2f5d152140c83ce210c96e267c400e5ecfc3 |
#
# testing ruote
#
# Fri May 15 09:51:28 JST 2009
#
require File.expand_path('../base', __FILE__)
class FtWorkerTest < Test::Unit::TestCase
include FunctionalBase
def test_launch_terminate
pdef = Ruote.process_definition do
end
wfid = @dashboard.launch(pdef)
r = @dashboard.wait_for(wfid)
... | Ruby | test/functional/ft_0_worker.rb | ConsultingMD/ruote | mit | 3,510 | 172 | codeparrot/github-code |
50d2ac91615c7aeffeb67f52f1ca2236324fd6fc3f7de7fd5fa6b5dee32796a3 | package com.alorma.github.injector.module.repository;
import com.alorma.github.sdk.bean.info.RepoInfo;
import core.datasource.CloudDataSource;
import core.datasource.RestWrapper;
import core.datasource.SdkItem;
import core.repository.RepoActionsService;
import java.io.IOException;
import okhttp3.ResponseBody;
import r... | Java | app/src/main/java/com/alorma/github/injector/module/repository/RepoCheckWatchDatasource.java | epiphany27/Gitskarios | mit | 1,114 | 37 | codeparrot/github-code |
182db8624cfce7a771036dff06b3458a137608253a0ea3715d6178b093d51cd5 | namespace DD.CBU.Compute.Api.Contracts.Image
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.18020")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Seri... | C# | ComputeClient/Compute.Contracts/Image/ImageNameExists.cs | samuelchong/Compute.Api.Client | mit | 1,130 | 36 | codeparrot/github-code |
8beacead6407bd2f97d0a4b633173a35cf534ef46f434ee6e4d93035c6ffc694 | <?php
declare(strict_types = 1);
namespace Browscap\Writer\Factory;
use Browscap\Data\PropertyHolder;
use Browscap\Filter\FullFilter;
use Browscap\Formatter\PhpFormatter;
use Browscap\Writer\IniWriter;
use Browscap\Writer\WriterCollection;
use Psr\Log\LoggerInterface;
/**
* a factory to create a writer collection to... | PHP | src/Browscap/Writer/Factory/FullPhpWriterFactory.php | mimmi20/browscap | mit | 1,264 | 44 | codeparrot/github-code |
6b34efdf81230c16ce56ffb6c2de4feadc14966f85e38d90d45e861a0500386b | # (C) John Mair (banisterfiend) 2011
# MIT License
#
require 'pp'
require 'pry/helpers/base_helpers'
require 'pry/hooks'
class Pry
# The default hooks - display messages when beginning and ending Pry sessions.
DEFAULT_HOOKS = Pry::Hooks.new.add_hook(:before_session, :default) do |out, target, _pry_|
# ensure ... | Ruby | rack-proxy/ruby/1.9.1/gems/pry-0.9.8.4/lib/pry.rb | ajacksified/restful-clients-in-rails-demo | mit | 6,695 | 205 | codeparrot/github-code |
becea42e20026947c6cab578ec5e55a533ecbbaf2c191974387b1b782491675b | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import * as ts from 'typescript';
import {AbsoluteFsPath, join} from '../../file_system';
import {NoopImportRewriter... | TypeScript | packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.ts | sarunint/angular | mit | 3,430 | 84 | codeparrot/github-code |
362f5576bbfb563ae8d6c9fbeb63a80fbb8c69a399f4c4cdb65ba4fe767c03ab | #!/bin/bash
# Launch as root or as sudoer user with `sudo ` before this script
# Settings you will have to adapt to your environment
WEB_DIR=/var/www/gogocarto # Where the source code will be installed
WEB_USR=www-data # Linux user for this app (if something else then www-data, you may have to change php-fpm default ... | Shell | docs/install_debian9.sh | Biopenlandes/PagesVertes | mit | 9,751 | 283 | codeparrot/github-code |
1adc66d6da46c34b0cc5327a3389077ca9369438a492089f111fd1e9e6c434dc | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtOpenGL module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** License... | C++ | QtEsrc/qt-everywhere-opensource-src-4.8.5/src/opengl/qglpixelbuffer_win.cpp | stephaneAG/PengPod700 | mit | 16,456 | 405 | codeparrot/github-code |
fb1738ffe664e5c26681706c42228910916279939b7a963674edd913a607bec6 | using System;
using System.IO;
using System.Text;
namespace Heroes.ReplayParser
{
/// <summary>
/// A basic little-endian bitstream reader.
/// </summary>
public class BitReader
{
public Stream stream;
private int currentByte;
/// <summary>
/// Initializes a new i... | C# | Heroes.ReplayParser/BitReader.cs | barrett777/Heroes.ReplayParser | mit | 7,619 | 257 | codeparrot/github-code |
c226c70444c9f71009c133cbd27ba89267af210fa7f3c752b476526e269380f9 | /**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2019 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
var BitmapText = require('./BitmapText');
var BuildGameObject = require('../../BuildGameObject');
var GameObjectCreator = require('../../GameObj... | JavaScript | src/gameobjects/bitmaptext/static/BitmapTextCreator.js | mahill/phaser | mit | 1,756 | 48 | codeparrot/github-code |
ef7d355986a6e9c5245101934a83e667cdf7e910bb5f63fc5860fe73ee240760 | use std::collections::HashSet;
use crate::validation::common::ValidationError;
use crate::structure::domain::DomainDocument;
#[derive(Debug)]
pub struct Validation {}
impl Validation {
pub fn validate(doc: &DomainDocument) -> Vec<ValidationError> {
let mut errors = Vec::<ValidationError>::new();
... | Rust | src/validation/domain.rs | gears-project/gears-core-rust | mit | 1,389 | 44 | codeparrot/github-code |
26c22f8661884f95f128967df7f7dcbeb86c64cb755d1d030e8bd470b36d9135 | <?php
namespace Base\Geospatial;
class Geolocation extends AbstractGeolocation implements GeolocationInterface
{
/**
* @param $lat float degrees
* @param $long float degrees
*/
public function __construct($lat, $long)
{
$this->verifyNumeric($lat);
$this->verifyNumeric($long)... | PHP | src/Geospatial/Geolocation.php | wearebase/base-transport | mit | 731 | 34 | codeparrot/github-code |
170faf629b06d93a5dda985cdb1aefba2ba53177a20a98aa16e0c5fc78aa0fee | require 'simple_deploy/aws'
require 'simple_deploy/env'
require 'simple_deploy/entry'
require 'simple_deploy/entry_lister'
require 'simple_deploy/exceptions'
require 'simple_deploy/configuration'
require 'simple_deploy/artifact'
require 'simple_deploy/stack'
require 'simple_deploy/misc'
require 'simple_deploy/template'... | Ruby | lib/simple_deploy.rb | intuit/simple_deploy | mit | 1,036 | 42 | codeparrot/github-code |
17aeee20153de0be8573aa5d80b657ac5ba6da1634c4a2f5733af954e4458ea7 | <style>
input.error {
border: 4px solid red;
}
p.error {
color: red;
}
</style>
<validatejs-validated-form></validatejs-validated-form>
<script src="../../node_modules/steal/steal.js" dev-bundle main="@empty" id="demo-source">
import { Component, DefineMap, defineValidateValidatejs, stache, validate } from "can";
... | HTML | demos/forms/advanced-validatejs-validation.html | bitovi/canjs | mit | 1,283 | 59 | codeparrot/github-code |
36eebff3caa872b365cc3ea30f5b31fbfef8b62563738b47c194bfd4fc63793d | <?php
// Author: Kasper S. Eenberg (2014)
// Version: 1.0
$metrics = ["slurm_sdiag_jobs", "slurm_nodes", "slurm_hours_maxwait", "slurm_jobs_current", "slurm_users_current", "slurm_user_cores"];
$periods = ["hour", "2hr", "4hr", "day", "week", "month", "year"];
function getPeriodHeader($title) {
$special_menu = "&... | PHP | ganglia/www/slurm.php | birc-aeh/au-slurm-package | mit | 4,026 | 147 | codeparrot/github-code |
8f73262b80455c2293e154fe989b89ca69171a8fa17936d281607c17276b89e8 | @extends('layouts.admin')
@section('content')
<div class="row">
<div class="x_panel">
<div class="x_title">
<h2>Manage Page</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a id="btn-sel-del" style="display:none;" href="#" class="btn-toolbox danger"><i class="fa fa-trash"></i> Delete Sel... | PHP | app/Modules/ContentManager/Views/page/index.blade.php | hoaitn120282/cms-core-version1.0 | mit | 4,351 | 131 | codeparrot/github-code |
59fbc94ab6309a20b8a1ce503bdda4236c0cb91a354a55724b7fb97e2cff0053 | <a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/sce.js?message=docs($sce)%3A%20describe%20your%20change...#L386' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.6/src/ng/sce.js#L386' cla... | HTML | libs/angular-1.3.6/docs/partials/api/ng/service/$sce.html | thiagoaslima/fatoresApp | mit | 41,938 | 1,384 | codeparrot/github-code |
c4688b3c5d2a7940df1e28cb313732caa25592b3abc8c806fd2ef2228fd280b2 | /*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2011-2015 Phusion
*
* "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | C++ | ext/common/ApplicationPool2/Group/LifetimeAndBasics.cpp | antek-drzewiecki/passenger | mit | 2,643 | 104 | codeparrot/github-code |
a10c2eb52f9954cda3426269263eba9d59c24cba3e92c5186e71d8cd88c80696 | /**
* @file Stage
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector3, Box3 } from 'three'
import { Signal } from 'signals'
import {
Debug, Log, Mobile, ComponentRegistry, ParserRegistry
} from '../globals'
import { defaults, createParams, updateParams } from '../utils'
import ... | TypeScript | src/stage/stage.ts | arose/ngl | mit | 29,188 | 955 | codeparrot/github-code |
f5c288e8c836f969b94d3393dff3f083c037b8bea778dbfd42c436e00647c662 | /**
* @author Jonathan
*/
package com.abewy.android.apps.klyph.fragment;
import java.util.ArrayList;
import java.util.List;
import android.os.Bundle;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup.MarginLayoutParams;
import android.widget.FrameLayout.LayoutParams;
import com.ab... | Java | Klyph/src/com/abewy/android/apps/klyph/fragment/KlyphFakeHeaderGridFragment.java | jonathangerbaud/Klyph | mit | 2,324 | 89 | codeparrot/github-code |
7f8d7660b1ebaad6e428060a23efe43e01453a2db1c6d67190bcd1878ce59e13 | namespace pxtblockly {
export interface FieldImagesOptions extends pxtblockly.FieldImageDropdownOptions {
sort?: boolean;
addLabel?: string;
}
export class FieldImages extends pxtblockly.FieldImageDropdown implements Blockly.FieldCustom {
public isFieldCustom_ = true;
priva... | TypeScript | pxtblocks/fields/field_images.ts | switchinnovations/pxt | mit | 6,915 | 135 | codeparrot/github-code |
3d53ff4a9c028d1ce190f20f26ca928ed6b922873737634ccafc5180e5dd20d9 | #!/usr/bin/env node
/**
* @fileOverview Generates a Windows installer .exe and a .zip
*/
var path = require('path');
var sys = require('util'),
fs = require('fs'),
spawn = require('child_process').spawn,
opts = require('../../lib/cocos2d/opts'),
Template = require('../../lib/cocos2d/template').Tem... | JavaScript | support/distribution/package.js | ryanwilliams/cocos2d-javascript | mit | 8,482 | 269 | codeparrot/github-code |
0ca8b45ee236934529430fad0f95a5142bdf9decf2af40e54883afb5573fc8a0 | #pragma once
#ifndef IMAGE_H_UTH
#define IMAGE_H_UTH
#include <UtH/Math/Vector2.hpp>
#include <UtH/Math/Vector4.hpp>
#include <UtH/Platform/Typedefs.hpp>
#include <string>
namespace uth
{
class Image
{
friend class Texture;
public:
Image();
Image(const std::string& filePath)... | C++ | UtHEngine/include/UtH/Resources/Image.hpp | Team-Innis/HelloWorldTutorial | mit | 662 | 54 | codeparrot/github-code |
1e7bf5a0344a1e0f0b6181379b9ef1b062677bb974951e815a20df4a35bd73bd | <?php
declare(strict_types=1);
/**
* Copyright (c) 2013-2018 OpenCFP
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/opencfp/opencfp
*/
namespace OpenCFP\Domain;
/**
* This object is responsible for re... | PHP | src/Domain/CallForPapers.php | localheinz/opencfp | mit | 1,325 | 57 | codeparrot/github-code |
58729ec3adc1974a8202bf1a33fa863c2938d11490fd4be836029ae78cdc045c | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Source: gameobjects/RenderTexture.js</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type... | HTML | docs/RenderTexture.js.html | codevinsky/phaser | mit | 18,888 | 691 | codeparrot/github-code |
ccc077003f6d5fff173cd9e407ab41df9170e2a564a9d14fb310c222dda90f80 | import { expect } from "chai";
import { timeout } from "./test";
import { createQueue } from "./index";
describe("queue#", () => {
it("can push & pop items", async function() {
const queue = createQueue<number>();
queue.unshift(1);
expect((await queue.next()).value).to.eql(1);
queue.unshift(2)... | TypeScript | packages/mesh/src/queue-test.ts | mojo-js/mesh.js | mit | 1,586 | 67 | codeparrot/github-code |
9a4bf3fcd85d35dc9285a4ef536a7911988e53cb2e9fc472983a8846ae4d9f18 | package betterwithmods.module.gameplay.breeding_harness;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
import net.minecraftforge.common.capabilities.Capability;
import net.minecraftforge.common.capabilities.Capabili... | Java | src/main/java/betterwithmods/module/gameplay/breeding_harness/CapabilityHarness.java | BetterWithMods/BetterWithMods | mit | 2,184 | 70 | codeparrot/github-code |
3161b8c51bc1676c015faac5c8950833fd835007acaa90ee30bbff4be1e7e756 | import IConfig from 'src/core/IConfig';
import {GithubDictionaryUtil} from 'src/core/githubDictionaryUtil';
import ConfigKeys from 'src/configKeys';
import log from 'src/log';
const console = log.setCategory('Dictionary Mgmt Svc');
export interface AppKeys {
global: string;
local: string;
cache: string;... | TypeScript | packages/legacy-extension/src/core/dictionaryManagementService.ts | paarthenon/pixiv-assistant | mit | 6,219 | 185 | codeparrot/github-code |
8ce553a1cd20a1fbd2289267e1904a63d3cf863d89903813733f8fe30ee1ca4d | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Code Igniter User Guide</title>
<style type='text/css' media='all'>@import url('../userguide.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='../usergui... | HTML | CodeIgniter_1.3.2/CodeIgniter_1.3.2/user_guide/general/libraries.html | Calico90/codeigniter-version-scan | mit | 4,443 | 111 | codeparrot/github-code |
ef9892b3ce5b2275629d4f480559ede55ab5d3470c48439b771ba0edde96d3ec | /*
* Copyright (c) 2018 Rain Agency <contact@rain.agency>
* Author: Rain Agency <contact@rain.agency>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including wi... | TypeScript | test/e2e/alexa.spec.ts | mediarain/voxa | mit | 2,409 | 59 | codeparrot/github-code |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.