identifier stringlengths 42 383 | collection stringclasses 1
value | open_type stringclasses 1
value | license stringlengths 0 1.81k | date float64 1.99k 2.02k ⌀ | title stringlengths 0 100 | creator stringlengths 1 39 | language stringclasses 157
values | language_type stringclasses 2
values | word_count int64 1 20k | token_count int64 4 1.32M | text stringlengths 5 1.53M | __index_level_0__ int64 0 57.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/shichaoyuan/jprotobuf/blob/master/src/main/java/com/baidu/bjf/remoting/protobuf/Codec.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | jprotobuf | shichaoyuan | Java | Code | 374 | 680 | /*
* Copyright (c) Baidu Inc. All rights reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apa... | 40,827 |
https://github.com/baky94/face_ssd/blob/master/webcam1.py | Github Open Source | Open Source | MIT | null | face_ssd | baky94 | Python | Code | 30 | 132 | import cv2
captureR = cv2.VideoCapture(0)
captureL = cv2.VideoCapture(1)
while True:
retR, frameR = captureR.read()
retL, frameL = captureL.read()
cv2.imshow("VideoFrameR", frameR)
cv2.imshow("VideoFrameL", frameL)
if cv2.waitKey(1) > 0: break
captureR.release()
captureL.release()
cv2.destroyAllW... | 11,122 |
https://github.com/3h-devworkserver/karmastha/blob/master/resources/views/frontend/user/order.blade.php | Github Open Source | Open Source | MIT | 2,017 | karmastha | 3h-devworkserver | Blade | Code | 250 | 1,265 | @extends('frontend.user.layouts.frontend-app')
@section ('title', 'Orders')
@section('content')
<div class="col-sm-12 col-md-12 Fullcontent-wrap">
@include('includes.partials.messages')
<div class="userdash-right">
@if (session()->has('success_message'))
... | 7,207 |
https://github.com/ntrp/tind3r.com/blob/master/src/screens/App/screens/Logged/screens/Matches/screens/Match/components/NewMessageInput.scss | Github Open Source | Open Source | MIT | 2,017 | tind3r.com | ntrp | SCSS | Code | 206 | 723 | @import 'vars';
$padding: 22px 20px 12px;
.new-message-input {
font-size: 0;
padding: $padding;
border-top: 1px solid $bg;
position: relative;
h1 {
font-size: 25px;
text-align: center;
}
textarea {
font-size: 14px;
resize: none;
padding: 4px;
height: 60px;
width: 100%;
o... | 50,419 |
https://github.com/SAFEERHYDER/Advanced-DSD/blob/master/Conditional_operators.v | Github Open Source | Open Source | MIT | 2,020 | Advanced-DSD | SAFEERHYDER | Verilog | Code | 205 | 547 | `timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 10/14/2020 05:20:49 PM
// Design Name:
// Module Name: Conditional_operators
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependenci... | 40,112 |
https://github.com/JavaFXpert/QiskitBlocksMinetestRelease/blob/master/mods/mobs_monster/spider.lua | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0, CC-BY-SA-3.0, LGPL-2.1-only, MIT | 2,020 | QiskitBlocksMinetestRelease | JavaFXpert | Lua | Code | 642 | 2,388 |
local S = mobs.intllib
local get_velocity = function(self)
local v = self.object:get_velocity()
return (v.x * v.x + v.z * v.z) ^ 0.5
end
-- Spider by AspireMint (CC-BY-SA 3.0 license)
mobs:register_mob("mobs_monster:spider", {
--docile_by_day = true,
group_attack = true,
type = "monster",
passive = false,
... | 18,941 |
https://github.com/QasimMughal51/cmsblog/blob/master/database/seeds/DatabaseSeeder.php | Github Open Source | Open Source | MIT | null | cmsblog | QasimMughal51 | PHP | Code | 98 | 372 | <?php
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$user = App\User::create([
'email'=>'admin@blog.com',
'password'=> bcrypt('admin'),
'name'=>'... | 25,450 |
https://github.com/write-rookie/localPods/blob/master/gitPod/Example/gitPod/DAViewController.h | Github Open Source | Open Source | MIT | null | localPods | write-rookie | C | Code | 28 | 71 | //
// DAViewController.h
// gitPod
//
// Created by git on 08/23/2021.
// Copyright (c) 2021 git. All rights reserved.
//
@import UIKit;
@interface DAViewController : UIViewController
@end
| 33,049 |
https://github.com/sany1231/vl53l1x/blob/master/ST/api_calibration.js | Github Open Source | Open Source | MIT | 2,020 | vl53l1x | sany1231 | JavaScript | Code | 406 | 2,385 | const register_funcs = require('./register_funcs.js');
const debug = require('../debug.js');
const api_core = require('./api_core.js')
const wait = require('./wait.js')
const {
MAX_OFFSET_RANGE_RESULTS,
DEVICEERROR,
DEVICEMEASUREMENTMODE,
DEVICEPRESETMODE,
OFFSETCALIBRATIONMODE,
DEVICECONFIGLEVEL,
DEVICE... | 23,160 |
https://github.com/uibcdf/MolSysMT/blob/master/molsysmt/physchem/groups/refractivity.py | Github Open Source | Open Source | MIT | 2,023 | MolSysMT | uibcdf | Python | Code | 112 | 531 | #Author(s): Jones. D.D.
#Reference: J. Theor. Biol. 50:167-184(1975).
jones = {
'ALA': 4.340,
'ARG': 26.660,
'ASN': 13.280,
'ASP': 12.000,
'CYS': 35.770,
'GLN': 17.560,
'GLU': 17.260,
'GLY': 0.000,
'HIS': 21.810,
'ILE': 19.060,
'LEU': 18.780,
'LYS': 21.290,
'MET': ... | 33,602 |
https://github.com/getsentry/sentry-java/blob/master/sentry/src/test/java/io/sentry/SentryNanotimeDateTest.kt | Github Open Source | Open Source | MIT | 2,023 | sentry-java | getsentry | Kotlin | Code | 231 | 843 | package io.sentry
import java.util.Date
import kotlin.test.Test
import kotlin.test.assertEquals
class SentryNanotimeDateTest {
@Test
fun `doubleValue only offers ms precision`() {
val date = SentryNanotimeDate(Date(1672742031123), 123456789)
assertEquals(1672742031123000000L, date.nanoTimesta... | 15,268 |
https://github.com/thisDotAdam/Coding-Cafe-Discord-Bot/blob/master/cafeCommands/welcomeMessage.js | Github Open Source | Open Source | MIT | null | Coding-Cafe-Discord-Bot | thisDotAdam | JavaScript | Code | 92 | 319 | const Discord = require("discord.js");
module.exports.run = async (bot, message, args, config) => {
const greetings = config.greetings;
const luaBeginnersParagraph = greetings.luaBeginnersParagraph;
const luaStudentsParagraph = greetings.luaStudentsParagraph;
const luaExpertsParagraph = greetings.luaEx... | 34,753 |
https://github.com/valentinoli/epfl-coursenet/blob/master/components/CourseDependencyCard.vue | Github Open Source | Open Source | MIT | null | epfl-coursenet | valentinoli | Vue | Code | 59 | 283 | <template>
<v-card>
<v-card-title class="d-flex justify-space-between">
<span>{{ cardTitle }}</span>
<v-icon>mdi-book-open-variant</v-icon>
</v-card-title>
<v-list>
<v-list-item
v-for="{ slug, code, name } in courses"
:key="slug"
dense
nuxt
:to="`/... | 41,445 |
https://github.com/bjkumar/pis/blob/master/application/controllers/tl/Ctl_user.php | Github Open Source | Open Source | MIT | null | pis | bjkumar | PHP | Code | 548 | 2,868 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Ctl_user extends CI_Controller {
function __construct() {
parent::__construct();
$this->load->model('tl/mdl_user', 'model');
$this->load->model('mdl_common');
date_default_timezone_set("Asia/Kolkata");
... | 1,759 |
https://github.com/yext/pages-components/blob/master/components/Phone/src/templates/Phone.soy | Github Open Source | Open Source | MIT | 2,023 | pages-components | yext | null | Spoken | 399 | 1,223 | {namespace components.Phone}
/**
* [Define] .Phone renders a phone number containing the following parts:
* 1) A label specifying the phone type (optional)
* 2) A phone number (hidden on mobile if there is a phone link)
* 3) A phone link that is displayed on mobile only (optional)
* Can be called by either .Phone... | 48,784 |
https://github.com/Evosi/ThinkSQL/blob/master/SQLtest/routines/testfunc2.sql | Github Open Source | Open Source | BSD-3-Clause | 2,019 | ThinkSQL | Evosi | SQL | Code | 13 | 36 | create function test1(a integer) returns integer
begin
return (select max(menu_item_no) from restaurant.menu_item);
end; | 13,726 |
https://github.com/cgeo/cgeo/blob/master/main/src/main/java/cgeo/geocaching/utils/AsyncTaskWithProgress.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | cgeo | cgeo | Java | Code | 342 | 812 | package cgeo.geocaching.utils;
import android.app.Activity;
import android.app.ProgressDialog;
/**
* AsyncTask which automatically shows a progress dialog. The progress is tracked with integers.
*
* Use it like the {@code AsyncTask} class, but leave away the middle template parameter. Override
* {@link #doInBackg... | 24,804 |
https://github.com/noppakun/gi/blob/master/modules/dbma/views/item/onhand.php | Github Open Source | Open Source | BSD-3-Clause | null | gi | noppakun | PHP | Code | 445 | 1,848 | <?php
use yii\helpers\Html;
use kartik\grid\GridView;
use app\models\ItemLocSearch;
use app\widgets\se2Warehouse;
use app\widgets\se2Typeinvent;
use app\widgets\se2CompanyItem;
use yii\bootstrap\ActiveForm;
use app\models\ItemSearch;
/* @var $this yii\web\View */
/* @var $searchModel app\models\ItemLocSearch */
/* ... | 24,131 |
https://github.com/xmasuhai/vueel-demo/blob/master/docs/.vuepress/components/icon/icons.scss | Github Open Source | Open Source | MIT | 2,021 | vueel-demo | xmasuhai | SCSS | Code | 18 | 70 | .center {
display: inline-flex;
align-items: center;
&::v-deep .vue-icon-wrapper {
padding-top: .1em;
margin-right: 1em;
&.vue-svg {
}
}
}
| 31,936 |
https://github.com/Dragon-hxl/LARC/blob/master/dreamcoder/domains/arc/codex_synthesis.py | Github Open Source | Open Source | MIT | null | LARC | Dragon-hxl | Python | Code | 214 | 761 | import os
from dreamcoder.domains.arc.arcPrimitives import basePrimitives, leafPrimitives, moreSpecificPrimitives
from dreamcoder.domains.arc.experiment_output import ocaml_execute_programs, load_relevant_data
from dreamcoder.program import Program, ParseFailure, InferenceFailure, ShiftFailure, RunFailure, EtaExpandFa... | 28,387 |
https://github.com/guilhermednt/wbsk/blob/master/js/main.js | Github Open Source | Open Source | MIT | 2,013 | wbsk | guilhermednt | JavaScript | Code | 32 | 166 | $( document ).ready(function() {
$("form").submit(function() {
return false;
});
$(".forgetIt").click(function() {
$("textarea#secret").attr("placeholder", "Forget what? I've never seen you. ;)");
});
$(".submit").click(function() {
$("form").slideUp();
$("div.done").fadeIn();
$("textarea#secret").val(''... | 8,028 |
https://github.com/NAL-i5K/reformat_for_tripal/blob/master/update_peptide_fasta_ids.pl | Github Open Source | Open Source | LicenseRef-scancode-public-domain | 2,017 | reformat_for_tripal | NAL-i5K | Perl | Code | 151 | 415 | #!/usr/bin/env perl
use strict;
use warnings;
use Getopt::Long;
my $usage = qq{
$0 - process a peptide fasta file and update the ids from -RA style to -PA style IDs
USAGE:
perl $0 -i <input_fasta_file.fa> -o <output_file.fa>
};
my $in;
my $out;
my $help;
GetOptions ("in=s" => \$in, # string
"out=s" => \$o... | 5,607 |
https://github.com/island-is/island.is/blob/master/libs/application/templates/financial-statements-inao/src/fields/Shared/FileValueLine.tsx | Github Open Source | Open Source | MIT | 2,023 | island.is | island-is | TSX | Code | 76 | 238 | import { ActionCard, Box, Text } from '@island.is/island-ui/core'
import { useLocale } from '@island.is/localization'
import React, { FC } from 'react'
import { m } from '../../lib/messages'
interface FileValueLineProps {
label?: string
}
export const FileValueLine: FC<React.PropsWithChildren<FileValueLineProps>> =... | 42,119 |
https://github.com/webdevhub42/Lambda/blob/master/WEEKS/REFACTORED-PROj/Introduction-to-JavaScript/__tests__/index.test.js | Github Open Source | Open Source | MIT | null | Lambda | webdevhub42 | JavaScript | Code | 300 | 878 | import functions from "../index";
describe("fooFunction", () => {
it("foo returns foo", () => {
expect(functions.foo()).toBe("bar");
});
});
describe("multiplyFunction", () => {
it("a * b", () => {
expect(functions.multiply(5, 7)).toBe(35);
});
});
describe("dogYearsFunction", () => {
it("returns h... | 2,850 |
https://github.com/Biocodings/rnftools/blob/master/tests/command_line/.gitignore | Github Open Source | Open Source | MIT | 2,017 | rnftools | Biocodings | Ignore List | Code | 1 | 6 | *.aln
| 49,580 |
https://github.com/sorabito/elasticsearch-smalltalk/blob/master/pharo-repository/Elasticsearch-Core.package/ESQueryStringQuery.class/instance/defaultField.st | Github Open Source | Open Source | Apache-2.0 | 2,019 | elasticsearch-smalltalk | sorabito | null | Spoken | 4 | 12 | constants
defaultField
^ 'query' | 29,205 |
https://github.com/noamran/genie/blob/master/genie-web/src/main/java/com/netflix/genie/web/aspects/DataServiceRetryAspect.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | genie | noamran | Java | Code | 418 | 1,401 | /*
*
* Copyright 2016 Netflix, Inc.
*
* 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 ap... | 12,799 |
https://github.com/Man-fred/FhemNative/blob/master/projects/fhem-native-core/src/components/popover/popover.component.scss | Github Open Source | Open Source | MIT | 2,021 | FhemNative | Man-fred | SCSS | Code | 225 | 933 | :host{
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
overflow: hidden;
pointer-events: none;
.backdrop{
width: inherit;
height: inherit;
position: absolute;
background: rgba(0, 0, 0, 0.2);
pointer-events: all;
}
.popup-container{
width: 100%;
height: 100%;
top: 0;
left: 0;
p... | 12,631 |
https://github.com/Owlchemist/OpenTheWindows/blob/master/Source/HarmonyPatches/HarmonyPatcher.cs | Github Open Source | Open Source | MIT | 2,021 | OpenTheWindows | Owlchemist | C# | Code | 307 | 1,712 | using HarmonyLib;
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using Verse;
namespace OpenTheWindows
{
[StaticConstructorOnStartup]
public static class HarmonyPatcher
{
public static readonly Type patchType = typeof(HarmonyPatcher);
public static Harmo... | 40,501 |
https://github.com/cessuser/LE_0042-Gerda-Final/blob/master/bonus_task/tests.py | Github Open Source | Open Source | MIT | 2,018 | LE_0042-Gerda-Final | cessuser | Python | Code | 45 | 133 | from otree.api import Currency as c, currency_range
from . import pages
from ._builtin import Bot
from .models import Constants
class PlayerBot(Bot):
def play_round(self):
if self.player.id_in_group % 2 == 0:
yield (pages.BonusTask, {'bonus_choice': 600})
if self.player.id_in_group % ... | 45,821 |
https://github.com/HuangJunJie2017/BEVDet/blob/master/tests/test_utils/test_points.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | BEVDet | HuangJunJie2017 | Python | Code | 2,856 | 16,651 | # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import pytest
import torch
from mmdet3d.core.points import (BasePoints, CameraPoints, DepthPoints,
LiDARPoints)
def test_base_points():
# test empty initialization
empty_boxes = []
points = BasePoints(empt... | 28,949 |
https://github.com/Aisha-Jennyat/StreetOfThings/blob/master/Services/Catalog/Catalog.ApplicationLogic/ObjectQueries/ObjectDetailsGetter.cs | Github Open Source | Open Source | MIT | 2,020 | StreetOfThings | Aisha-Jennyat | C# | Code | 217 | 824 | using Catalog.ApplicationLogic.CommentsQueries;
using Catalog.ApplicationLogic.Infrastructure;
using Catalog.DataAccessLayer;
using Catalog.Models;
using CommonLibrary;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
namespace Catalog.ApplicationLogic.ObjectQueries
{
class Ob... | 15,144 |
https://github.com/quitegreensky/akivymd/blob/master/demo/screens/progressbutton.py | Github Open Source | Open Source | MIT | 2,020 | akivymd | quitegreensky | Python | Code | 100 | 491 | import time
from threading import Thread
from kivy.lang.builder import Builder
from kivy.uix.screenmanager import Screen
from akivymd.uix.progressbutton import AKProgressbutton
from kivymd.uix.button import MDFillRoundFlatIconButton
Builder.load_string(
"""
#:import MDFillRoundFlatIconButton kivymd.uix.button.MD... | 19,481 |
https://github.com/CaitlinBrooks/vue-music/blob/master/server/routes/playlist.js | Github Open Source | Open Source | MIT | null | vue-music | CaitlinBrooks | JavaScript | Code | 74 | 292 | let router = require('express').Router()
let playlist = require('../models/playlist.js')
let mongoose = require('mongoose')
let ObjectId = mongoose.Types.ObjectId
router.get('/', (req, res, next) => {
playlist.find({})
.then(plist => {
res.send(plist)
}).catch(next)
})
router.post('/', (req, res, nex... | 35,672 |
https://github.com/open-mpi/ompi-www/blob/master/community/lists/devel/2014/11/16158.php | Github Open Source | Open Source | BSD-3-Clause | 2,023 | ompi-www | open-mpi | PHP | Code | 359 | 1,604 | <?
$subject_val = "Re: [OMPI devel] OMPI devel] [OMPI commits] Git: open-mpi/ompi branch master updated. dev-198-g68bec0a";
include("../../include/msg-header.inc");
?>
<!-- received="Mon Nov 3 17:29:03 2014" -->
<!-- isoreceived="20141103222903" -->
<!-- sent="Mon, 03 Nov 2014 15:29:01 -0700" -->
<!-- isosent="2014110... | 29,879 |
https://github.com/IRS-PM/IRS-PM-2021-07-05-IS03FT-Group-13-Imental-The-Future-of-Mental-Health/blob/master/Systemcode/imental-Flask/app.py | Github Open Source | Open Source | MIT | 2,021 | IRS-PM-2021-07-05-IS03FT-Group-13-Imental-The-Future-of-Mental-Health | IRS-PM | Python | Code | 885 | 3,123 | from flask import Flask, render_template, redirect, url_for, request, session, flash
from model.questions import Questions
from model.user import User
from model.result import Result
from model.user_result import User_Result
from model.material import Article
from init import app, db
@app.route('/')
def home():
r... | 48,113 |
https://github.com/Abusayed-Dev/demo2/blob/master/resources/views/admin/report/order_report/index.blade.php | Github Open Source | Open Source | MIT | null | demo2 | Abusayed-Dev | PHP | Code | 303 | 1,682 | @extends('layouts.admin')
@section('title', 'Order Report')
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js"></script>
@section('admin_content')
<div class="app-main" i... | 13,946 |
https://github.com/zoubingwu/tidb-dashboard/blob/master/pkg/apiserver/profiling/router.go | Github Open Source | Open Source | Apache-2.0 | null | tidb-dashboard | zoubingwu | Go | Code | 1,420 | 4,208 | // Copyright 2020 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 46,173 |
https://github.com/newrelic/go-agent/blob/master/v3/integrations/nrlambda/go.mod | Github Open Source | Open Source | Apache-2.0 | 2,023 | go-agent | newrelic | Go Module | Code | 15 | 102 | module github.com/newrelic/go-agent/v3/integrations/nrlambda
go 1.19
require (
github.com/aws/aws-lambda-go v1.41.0
github.com/newrelic/go-agent/v3 v3.24.1
)
replace github.com/newrelic/go-agent/v3 => ../..
| 6,452 |
https://github.com/scala-steward/sundial/blob/master/app/controllers/LiveLogs.scala | Github Open Source | Open Source | MIT | null | sundial | scala-steward | Scala | Code | 479 | 1,696 | package controllers
import java.util.concurrent.TimeUnit
import java.util.{Date, UUID}
import javax.inject.Inject
import dao.SundialDaoFactory
import model.{BatchExecutable, EmrJobExecutable}
import org.apache.commons.text.StringEscapeUtils
import play.api.mvc.InjectedController
import software.amazon.awssdk.services... | 1,797 |
https://github.com/Simai00/jmp-web-client/blob/master/api/src/jmp/Utils/PermissionLevel.php | Github Open Source | Open Source | MIT | 2,019 | jmp-web-client | Simai00 | PHP | Code | 20 | 47 | <?php
namespace jmp\Utils;
abstract class PermissionLevel
{
const OPEN = 0;
const USER = 1;
const ADMIN = 2;
} | 8,576 |
https://github.com/bernardojachegou/desafio/blob/master/kiqaps/server/src/models/lote.js | Github Open Source | Open Source | MIT | null | desafio | bernardojachegou | JavaScript | Code | 64 | 268 | 'use strict';
const Joi = require('joi')
module.exports = (sequelize, DataTypes) => {
const Lote = sequelize.define('Lote', {
no_lote: {
type: DataTypes.STRING,
allowNull: false
},
ds_lote: DataTypes.STRING
}, {
timestamps: false,
tableName: 'lotes'
});
Lote.associate = function... | 36,428 |
https://github.com/KristenLawrence/darcher-crawljax/blob/master/examples/src/main/java/com/darcher/crawljax/experiments/ClientSideCoverageCollectorPlugin.java | Github Open Source | Open Source | Apache-2.0 | null | darcher-crawljax | KristenLawrence | Java | Code | 251 | 968 | package com.darcher.crawljax.experiments;
import com.crawljax.browser.EmbeddedBrowser;
import com.crawljax.core.CrawlSession;
import com.crawljax.core.CrawlerContext;
import com.crawljax.core.ExitNotifier;
import com.crawljax.core.plugin.OnFireEventSucceededPlugin;
import com.crawljax.core.plugin.PostCrawlingPlugin;
i... | 7,012 |
https://github.com/zijzahidul/paravel_project/blob/master/resources/views/auth/login.blade.php | Github Open Source | Open Source | MIT | null | paravel_project | zijzahidul | PHP | Code | 189 | 738 | @extends('layouts.logreg')
@section('logreg_content')
<div class="d-flex align-items-center justify-content-center bg-sl-primary ht-100v">
<div class="login-wrapper wd-300 wd-xs-350 pd-25 pd-xs-40 bg-white">
<div class="signin-logo tx-center tx-24 tx-bold tx-inverse">starlight <span class="tx-info tx-norm... | 52,618 |
https://github.com/reverbrick/AKWF_WaveForms/blob/master/numeric/AKWF_0794.h | Github Open Source | Open Source | CC-BY-3.0 | 2,014 | AKWF_WaveForms | reverbrick | C | Code | 214 | 995 | // Converted by AKWF2Teensy from AKWF_0794.wav.
// AKWF2Teensy - Beerware by Datanoise.net.
// Length: 257
const int16_t AKWF_0794[257] = {
81, 253, 607, 738, 1139, 1224, 1682, 1713, 2234,
2203, 2797, 2690, 3388, 3144, 4066, 3355, 6084, 11648, 8537,
8164, 7877, 7613, 7337, 7075, 6783, 6... | 11,230 |
https://github.com/davidHarush/MyLogLibrary/blob/master/mylog/src/main/java/net/alexandroid/utils/mylog/MyLog.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | MyLogLibrary | davidHarush | Java | Code | 540 | 1,613 | package net.alexandroid.utils.mylog;
import android.content.Context;
import android.util.Log;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;
public class MyLog {
private static String sTa... | 15,344 |
https://github.com/mpourismaiel/dotfiles/blob/master/lib/widgets/calendar/init.lua | Github Open Source | Open Source | 2,023 | dotfiles | mpourismaiel | Lua | Code | 787 | 2,722 | ---@diagnostic disable: missing-fields
-------------------------------------------
-- @author https://github.com/Kasper24
-- @copyright 2021-2022 Kasper24
-------------------------------------------
local wibox = require("wibox")
local gears = require("gears")
local config = require("lib.configuration")
local theme = ... | 23,731 | |
https://github.com/flawyte/jane/blob/master/src/Valid.js | Github Open Source | Open Source | MIT | 2,016 | jane | flawyte | JavaScript | Code | 222 | 698 | import Toolkit from './Toolkit';
export default class Valid {
static boolean(val) {
return (Toolkit.typeOf(val) === 'Boolean');
}
static date(val) {
return (Toolkit.typeOf(val) === 'Date')
&& !isNaN(val.getTime());
}
static datetime(val) {
return (Toolkit.typeOf(val) === 'Date')
&&... | 8,369 |
https://github.com/paullewallencom/jsf-978-1-8471-9952-2/blob/master/_/9522_Chapter_3_FinalCode/PPR_multi_file_upload_with_PrimeFaces_2_0/src/java/bean/UploadBean.java | Github Open Source | Open Source | Apache-2.0 | null | jsf-978-1-8471-9952-2 | paullewallencom | Java | Code | 137 | 485 | package bean;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.context.ExternalContext;
import javax.faces.context.Fac... | 11,027 |
https://github.com/AsunaU2/Go_Learning/blob/master/ch12/tempconv/tempconv.go | Github Open Source | Open Source | MIT | null | Go_Learning | AsunaU2 | Go | Code | 70 | 197 | package tempconv
import "fmt"
// Celsius 摄氏度
type Celsius float64
// Fahrenheit 华氏度
type Fahrenheit float64
// Kelvin 开尔文
type Kelvin float64
// 温度常量定义
const (
AbsoluteZeroC Celsius = -273.15
FreezingC Celsius = 0
BoilingC Celsius = 100
)
func (c Celsius) String() string {
return fmt.Sprintf("%g°c", ... | 29,775 |
https://github.com/LoveLoliii/FiSiMiLi/blob/master/app/src/main/java/com/summersama/fisimili/data/network/api/SongDetailService.kt | Github Open Source | Open Source | MIT | 2,022 | FiSiMiLi | LoveLoliii | Kotlin | Code | 41 | 207 | package com.summersama.fisimili.data.network.api
import com.summersama.fisimili.data.IssuesInfo
import com.summersama.fisimili.data.SearchInfo
import com.summersama.fisimili.data.SearchSongInfo
import com.summersama.fisimili.data.SongDownloadInfo
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Qu... | 34,625 |
https://github.com/WGDEVS/ProAvalon/blob/master/src/myFunctions/sendEmailVerification.ts | Github Open Source | Open Source | MIT | null | ProAvalon | WGDEVS | TypeScript | Code | 193 | 529 | import ejs from 'ejs';
import formData from 'form-data';
import sendmail from 'sendmail';
import emailTemplate from './emailTemplate';
const api_key = process.env.MAILGUN_API_KEY;
const domain = process.env.PROAVALON_EMAIL_ADDRESS_DOMAIN;
const server_domain = process.env.SERVER_DOMAIN;
const sm = sendmail({});
impo... | 28,572 |
https://github.com/mhbeals/sap_reprints/blob/master/Outputs/titles/issuepercentage/HampshirePortsmouthTelegraph/1861_04.tsv | Github Open Source | Open Source | CC-BY-4.0 | 2,017 | sap_reprints | mhbeals | TSV | Code | 8 | 93 | 1861.04.06_HampshirePortsmouthTelegraph 0.044420
1861.04.13_HampshirePortsmouthTelegraph 0.090620
1861.04.20_HampshirePortsmouthTelegraph 0.111075
1861.04.27_HampshirePortsmouthTelegraph 0.071664
| 28,660 |
https://github.com/arraisgabriela/shape/blob/master/db/migrate/20190227194651_add_phone_number_and_null_email_to_users.rb | Github Open Source | Open Source | MIT | 2,021 | shape | arraisgabriela | Ruby | Code | 30 | 95 | class AddPhoneNumberAndNullEmailToUsers < ActiveRecord::Migration[5.1]
def up
add_column :users, :phone, :string
change_column :users, :email, :string, null: true
end
def down
remove_column :users, :phone
change_column :users, :email, :string, null: false
end
end
| 52,327 |
https://github.com/vip32/Naos/blob/master/src/Foundation.Domain.Repositories.Documents/Provider/IDocumentProvider.cs | Github Open Source | Open Source | MIT | 2,020 | Naos | vip32 | C# | Code | 459 | 1,314 | namespace Naos.Foundation.Domain
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq.Expressions;
using System.Threading.Tasks;
public interface IDocumentProvider<T>
{
Task<int> CountAsync(
Expression<Func<T, bool>> expression,
... | 42,430 |
https://github.com/mkurdziel/BitHome-Hub-CSharp-V1/blob/master/SyNet Controller/Gui/Models/GuiPanel.cs | Github Open Source | Open Source | Apache-2.0 | null | BitHome-Hub-CSharp-V1 | mkurdziel | C# | Code | 490 | 1,482 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Xml.Serialization;
using SyNet.Actions;
using SyNet.Events;
using SyNet.Events.Triggers;
using SyNet.Gui;
using SyNet.Gui.Interfaces;
using SyNet.Xa... | 1,596 |
https://github.com/chen398061105/admin/blob/master/f-admin.sql | Github Open Source | Open Source | MIT | null | admin | chen398061105 | SQL | Code | 1,171 | 5,601 | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- ホスト: 127.0.0.1
-- 生成日時: 2020-09-25 11:06:16
-- サーバのバージョン: 10.4.11-MariaDB
-- PHP のバージョン: 7.4.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIEN... | 31,249 |
https://github.com/TNG/mustard-cli/blob/master/src/test/comments/GitClientForTest.h | Github Open Source | Open Source | Apache-2.0 | 2,021 | mustard-cli | TNG | C | Code | 101 | 294 | #ifndef MUSTARD_GITCLIENTFORTEST_H
#define MUSTARD_GITCLIENTFORTEST_H
#include "../../main/git/GitClient.h"
class GitClientForTest : public GitClient
{
public:
MOCK_METHOD0 ( getHeadCommit, Commitish() );
MOCK_METHOD0 ( workingDirectoryIsClean, bool() );
MOCK_METHOD0 ( getFeatureBranchOnOrigin, Commitis... | 25,153 |
https://github.com/thebeardofgimili/insite-login/blob/master/routes/auths.js | Github Open Source | Open Source | MIT | null | insite-login | thebeardofgimili | JavaScript | Code | 43 | 162 | const express = require('express');
const router = express.Router();
const passport = require('passport');
const {ensureAuthenticated} = require('../config/auth');
//Google Auth!
router.get('/google', passport.authenticate('google', { scope: ['profile']}));
//Google Callback!
router.get('/google/redirect', passport.a... | 11,101 |
https://github.com/BruceNee/base-admin/blob/master/src/main/java/cn/huanzi/qch/baseadmin/config/security/LoginSuccessHandlerConfig.java | Github Open Source | Open Source | MIT | 2,021 | base-admin | BruceNee | Java | Code | 119 | 865 | package cn.huanzi.qch.baseadmin.config.security;
import cn.huanzi.qch.baseadmin.common.pojo.Result;
import cn.huanzi.qch.baseadmin.sys.sysuser.service.SysUserService;
import cn.huanzi.qch.baseadmin.sys.sysuser.vo.SysUserVo;
import cn.huanzi.qch.baseadmin.util.*;
import lombok.extern.slf4j.Slf4j;
import org.springframe... | 27,904 |
https://github.com/bw-family-recipes-cookbook-2/bw-cookbook-Frontend/blob/master/src/components/Register.js | Github Open Source | Open Source | MIT | 2,020 | bw-cookbook-Frontend | bw-family-recipes-cookbook-2 | JavaScript | Code | 441 | 1,544 | import { useHistory } from "react-router-dom";
import { connect } from "react-redux";
import { register } from "../actions/RegisterAction";
import React, { useState } from "react";
import Avatar from "@material-ui/core/Avatar";
import Button from "@material-ui/core/Button";
import CssBaseline from "@material-ui/core/C... | 28,500 |
https://github.com/KentWind/TX23-UReadings/blob/master/TX23Manipulations.cpp | Github Open Source | Open Source | 0BSD | 2,019 | TX23-UReadings | KentWind | C++ | Code | 76 | 344 | #include "TX23Manipulations.h"
float TX23manipulations::metersToMiles(float speed){
speed = speed * getMeterToMile();
return speed;
}
float TX23manipulations::getMeterToMile(){
return meterToMile;
}
void TX23manipulations::printTX23Data(LaCrosse_TX23 anemometer){
//String dirTable[]= {"N","NNE","NE","ENE","E... | 34,836 |
https://github.com/inbo/reporting-rshiny-grofwildjacht/blob/master/reporting-grofwild/R/boxAgeWeight.R | Github Open Source | Open Source | MIT | 2,023 | reporting-rshiny-grofwildjacht | inbo | R | Code | 766 | 2,379 | # Project: inbo-grofwildjacht_git
#
# Author: mvarewyck
###############################################################################
#' Create interactive plot for distribution of weight in function of age
#'
#' Figure p. 17 from https://pureportal.inbo.be/portal/files/11785261/Huysentruyt_etal_2015_Grofwildjac... | 46,410 |
https://github.com/truthatt11/nooocl/blob/master/lib/clKernel.js | Github Open Source | Open Source | MIT | null | nooocl | truthatt11 | JavaScript | Code | 411 | 1,463 | "use strict";
var CLWrapper = require("./clWrapper");
var util = require("util");
var _ = require("lodash");
var ref = require("ref");
var clUtils = require("./clUtils");
var KernelArg = require("./kernelArg");
var KernelArgSVM = require("./kernelArgSVM");
var assert = require("assert");
function CLKernel1(program, n... | 12,424 |
https://github.com/tiagoleonmelo/airq/blob/master/src/main/java/deti/tqs/airq/controller/ErrorPage.java | Github Open Source | Open Source | MIT | 2,020 | airq | tiagoleonmelo | Java | Code | 76 | 305 | package deti.tqs.airq.controller;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMappi... | 36,396 |
https://github.com/Segfault5/HoverCar/blob/master/XivelySDKAndroid/src/test/java/com/xively/internal/rest/blueprint/BlueprintGetOrganizationTest.java | Github Open Source | Open Source | BSD-3-Clause | 2,017 | HoverCar | Segfault5 | Java | Code | 101 | 469 | package com.xively.internal.rest.blueprint;
import com.xively.XiSdkConfig;
import com.xively.internal.logger.LMILog;
import junit.framework.TestCase;
import org.mockito.Matchers;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import retrofit.Callback;
import retrofit.RestAdapter;
import static org... | 13,612 |
https://github.com/krux/stargate/blob/master/stargate-core/app/com/salesforce/mce/stargate/controllers/BaseController.scala | Github Open Source | Open Source | BSD-3-Clause | 2,022 | stargate | krux | Scala | Code | 63 | 206 | /*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.mce.stargate.controllers
import javax.inject._
import scala.collec... | 197 |
https://github.com/FoxChrisRealTheGit/personalSite_Aristos/blob/master/important/admin/views/pages/pages.ejs | Github Open Source | Open Source | MIT | 2,018 | personalSite_Aristos | FoxChrisRealTheGit | EJS | Code | 188 | 826 | <% include ../_layouts/adminheader %>
<h2 class="admin-page__main-title">Pages</h2>
<% include ../_layouts/messages/messages %>
<% if(theUser.userRole.allThethings === "yes" || theUser.userRole.canWrite === "yes"){ %>
<button class="admin-button admin-button--add-something">
<a href="/admin/... | 37,189 |
https://github.com/crixusshen/fastman2/blob/master/src/example/components/text/index.tsx | Github Open Source | Open Source | MIT | null | fastman2 | crixusshen | TypeScript | Code | 1,674 | 5,051 | /*
* @Author: shenzhiwei
* @Date: 2018-06-26 09:47:15
* @LastEditors: shenzhiwei
* @LastEditTime: 2018-07-04 12:29:28
* @Description: Text
*/
import React, { PureComponent, } from 'react'
import {
View,
Text,
Image,
StyleProp,
TextStyle,
LayoutAnimation,
} from 'react-native'
import BaseVi... | 23,101 |
https://github.com/hunterathena318/Buy_House_2019/blob/master/resources/js/components/landingpage/Footer.jsx | Github Open Source | Open Source | MIT | null | Buy_House_2019 | hunterathena318 | null | Spoken | 167 | 845 | import React, {Component} from 'react';
import {
BrowserRouter as Router,
Link,
} from "react-router-dom";
class Footer extends Component{
render(){
return(
<div className="footer_container">
<div className="card_footer"><br/><br/>
<section className="s... | 7,033 |
https://github.com/Mojo-Solo/gsox/blob/master/resources/views/backend/reports/vendors.blade.php | Github Open Source | Open Source | MIT | 2,021 | gsox | Mojo-Solo | Blade | Code | 258 | 1,273 | @extends('backend.layouts.app')
@section('title', __('Vendors Report').' | '.app_name())
@push('after-styles')
<style>
.dataTables_wrapper .dataTables_filter {
float: right !important;
text-align: left;
margin-left: 25%;
}
div.dt-buttons {
d... | 25,847 |
https://github.com/ajumt/artists_gallery/blob/master/application/views/buyer_view.php | Github Open Source | Open Source | MIT | null | artists_gallery | ajumt | PHP | Code | 150 | 760 |
<div class="row">
<div class="col-md-12 d-flex align-items-stretch grid-margin">
<div class="row flex-grow">
<div class="col-12">
<!--End of form (Batches)--><!--End of form (Batches)--><!--End of form (Batches)--><!--End of form (Batches)--><!--End of form (Bat... | 25,516 |
https://github.com/DeviaVir/Rocket.Chat/blob/master/packages/rocketchat-lib/lib/roomTypes/unread.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-generic-cla | 2,018 | Rocket.Chat | DeviaVir | JavaScript | Code | 50 | 147 | import { RoomTypeConfig } from '../RoomTypeConfig';
export class UnreadRoomType extends RoomTypeConfig {
constructor() {
super({
identifier: 'unread',
order: 10,
label: 'Unread'
});
this.unread = true;
}
condition() {
const user = Meteor.user();
const preferences = (user && user.settings && use... | 36,002 |
https://github.com/ankittrehan2000/savify/blob/master/src/functions/createCharts.js | Github Open Source | Open Source | MIT | null | savify | ankittrehan2000 | JavaScript | Code | 176 | 705 | import {
PieChart, Pie, Tooltip, Cell, Radar,
RadarChart,
PolarGrid,
PolarAngleAxis,
PolarRadiusAxis,
BarChart, CartesianGrid, XAxis, YAxis, Bar, Legend
} from 'recharts';
import { Row, Col } from 'react-bootstrap';
export default function createCharts(entries) {
const data = [];
const ... | 49,812 |
https://github.com/daveyliam/fpga_thin_client/blob/master/vlog/fifo_64_64.v | Github Open Source | Open Source | MIT | 2,019 | fpga_thin_client | daveyliam | Verilog | Code | 127 | 861 | `timescale 1ns / 1ps
// asynchronous fifo with two 64 bit ports
// the fifo 'entries' are block rams rather than registers
// by liam davey (7/4/2011)
module fifo_64_64 (
input rst,
input rd_clk_in,
input rd_en_in,
output rd_empty_out,
input bram_rd_en_in,
input [8:0] bram_rd_addr_in,
output [63:0] bram_rd_... | 9,794 |
https://github.com/GTNewHorizons/OpenComputers/blob/master/src/main/scala/li/cil/oc/integration/ic2/ElectricItemManager.scala | Github Open Source | Open Source | MIT, CC0-1.0, LicenseRef-scancode-public-domain | 2,023 | OpenComputers | GTNewHorizons | Scala | Code | 176 | 492 | package li.cil.oc.integration.ic2
import ic2.api.item.IElectricItemManager
import li.cil.oc.Settings
import li.cil.oc.api.driver.item.Chargeable
import li.cil.oc.integration.util.Power
import net.minecraft.entity.EntityLivingBase
import net.minecraft.item.ItemStack
object ElectricItemManager extends IElectricItemMana... | 6,185 |
https://github.com/wyaadarsh/LeetCode-Solutions/blob/master/C++/0919-Complete-Binary-Tree-Inserter/soln.cpp | Github Open Source | Open Source | MIT | 2,020 | LeetCode-Solutions | wyaadarsh | C++ | Code | 156 | 430 | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class CBTInserter {
vector<TreeNode*> tree;
int cnt = 0;
public:
CBTInserter(TreeNode* root) {
tree.push... | 50,131 |
https://github.com/thomasgalvin/Featherfall/blob/master/src/main/resources/galvin/ff/db/psql/audit/retrieve_all_system_info.sql | Github Open Source | Open Source | Apache-2.0 | 2,018 | Featherfall | thomasgalvin | SQL | Code | 9 | 27 | select
serialNumber, name, version, maximumClassification, classificationGuide, uuid
from SystemInfo;
| 22,392 |
https://github.com/NarikMe/narik-angular/blob/master/projects/narik-ui-primeng/src/lib/narik-prime-select/public_api.ts | Github Open Source | Open Source | MIT | 2,022 | narik-angular | NarikMe | TypeScript | Code | 8 | 29 | export * from './narik-prime-select.component';
export * from './narik-prime-select.module';
| 25,619 |
https://github.com/City-of-Helsinki/organisaatiorekisteri/blob/master/Source/AngularApplication/Content/partials/_or.scss | Github Open Source | Open Source | MIT | null | organisaatiorekisteri | City-of-Helsinki | SCSS | Code | 2,659 | 10,410 |
/****** Organisaatio ********/
.content-box {
width: 100%;
margin-bottom: 40px;
clear: both;
text-align:left;
padding: 0;
border: 1px solid $color-gray-8;
border-radius: 3px;
display: block;
background-color: $color-gray-9;
.content-box-header h3 {
margin: 0;
@include rem(padding, 13px 20px);
... | 24,920 |
https://github.com/TianLuluC/trinity/blob/master/app/src/main/assets/effect/zoomInOut/resource/fshader.fs | Github Open Source | Open Source | Apache-2.0 | 2,022 | trinity | TianLuluC | null | Spoken | 91 | 313 | #ifdef GL_ES
varying highp vec2 textureCoordinate;
uniform sampler2D inputImageTexture;
uniform highp float scalePercent;
void main() {
highp vec2 textureCoordinateToUse = textureCoordinate;
highp vec2 center = vec2(0.5, 0.5);
textureCoordinateToUse -= center;
textureCoordinateToUse = textureCoordinateT... | 5,927 |
https://github.com/django-advance-utils/geometry-utils/blob/master/geometry_utils/two_d/vector2.py | Github Open Source | Open Source | MIT | null | geometry-utils | django-advance-utils | Python | Code | 1,486 | 3,843 | import math
import geometry_utils.three_d.vector3
from geometry_utils.maths_utility import is_int_or_float, are_ints_or_floats, floats_are_close, radians_to_degrees, EPSILON, HALF_PI, PI, ONE_AND_HALF_PI, TWO_PI
class Vector2:
"""
A class to create a 2D vector
Attributes:
___________
x: int/floa... | 52,686 |
https://github.com/ducis/operating-system-labs/blob/master/sr/lsri/include/net/gen/icmp.h | Github Open Source | Open Source | MIT | 2,018 | operating-system-labs | ducis | C | Code | 154 | 625 | /*
server/ip/gen/icmp.h
*/
#ifndef __SERVER__IP__GEN__ICMP_H__
#define __SERVER__IP__GEN__ICMP_H__
#define ICMP_MIN_HDR_SIZE 4
#define ICMP_TYPE_ECHO_REPL 0
#define ICMP_TYPE_DST_UNRCH 3
# define ICMP_NET_UNRCH 0
# define ICMP_HOST_UNRCH 1
# define ICMP_PROTOCOL_UNRCH 2
# define ICMP_PORT_UNRCH 3
# define ICM... | 29,110 |
https://github.com/micahjones-educationrepos/Betting-WebApp-React/blob/master/src/Dashboard/PrepareGame/PendingBetList.tsx | Github Open Source | Open Source | JSON | 2,018 | Betting-WebApp-React | micahjones-educationrepos | TSX | Code | 487 | 1,663 | import * as React from "react"
import Grid from "@material-ui/core/Grid"
import {
withPendingBetsForGame,
Props as BetsProps,
} from "../../Commons/rx+firebase/withPendingBetsForGame"
import ScreenSpinner from "../../components/ScreenSpinner"
import { Game } from "../../Commons/types/Game"
import PendingBetCell fro... | 18,742 |
https://github.com/qilip/ACMStudy/blob/master/baekjoon/9012/source.c | Github Open Source | Open Source | CC-BY-3.0 | 2,021 | ACMStudy | qilip | C | Code | 50 | 208 | #include <stdio.h>
#include <string.h>
int main(void){
int T;
char in[60];
scanf("%d", &T);
for(int i=0;i<T;i++){
scanf("%s", in);
int len = strlen(in);
int cnt = 0, rt;
for(int j=0;j<len;j++){
if(in[j]=='(') cnt++;
else if(in[j]==')') cnt--;
... | 41,068 |
https://github.com/RavinMaddHatter/BehaviorPacks/blob/master/UHC/makeUHC.py | Github Open Source | Open Source | MIT | 2,022 | BehaviorPacks | RavinMaddHatter | Python | Code | 838 | 5,787 | import json
import math
import numpy as np
import os
import uuid
import player
import health
from tkinter import StringVar,IntVar, Button,Label,Entry,Tk,DoubleVar, Toplevel,messagebox, ttk
from zipfile import ZipFile
from shutil import copyfile
import os
from os import listdir
from os.path import isfile, join
from os i... | 27,886 |
https://github.com/rwaldron/es6draft/blob/master/src/main/java/com/github/anba/es6draft/runtime/objects/collection/MapConstructor.java | Github Open Source | Open Source | MIT | null | es6draft | rwaldron | Java | Code | 494 | 1,756 | /**
* Copyright (c) 2012-2014 André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
package com.github.anba.es6draft.runtime.objects.collection;
import static com.github.anba.es6draft.runtime.AbstractOperations.*;
import static c... | 41,786 |
https://github.com/pgmaginot/DARK_ARTS/blob/master/testing/transport_sweep/MMS_BC.cc | Github Open Source | Open Source | MIT | null | DARK_ARTS | pgmaginot | C++ | Code | 271 | 1,088 | #include <iostream>
#include <vector>
#include <math.h>
#include <string>
#include "Input_Reader.h"
#include "Materials.h"
#include "Fem_Quadrature.h"
#include "Quadrule_New.h"
#include "Cell_Data.h"
#include "Angular_Quadrature.h"
#include "Time_Data.h"
#include "MMS_Temperature.h"
#include "MMS_Intensity.h"
#include... | 26,147 |
https://github.com/areebbeigh/greenspace-demo/blob/master/users/signals.py | Github Open Source | Open Source | Apache-2.0 | 2,020 | greenspace-demo | areebbeigh | Python | Code | 28 | 89 | import sys
from django.conf import settings
def create_groups(sender, **kwargs):
from django.contrib.auth.models import Group
group, created = Group.objects.get_or_create(name=settings.NURSERY_MGR_GROUP)
print('Created new nursery group' if created else 'Nursery group already exists')
| 38,917 |
https://github.com/dropwizard-bundles/dropwizard-webjars-bundle/blob/master/src/main/java/io/dropwizard/bundles/webjars/WebJarBundle.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | dropwizard-webjars-bundle | dropwizard-bundles | Java | Code | 137 | 513 | package io.dropwizard.bundles.webjars;
import com.google.common.cache.CacheBuilder;
import com.google.common.collect.Lists;
import io.dropwizard.Bundle;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import java.util.Collections;
import java.util.List;
public class WebJarBundle implemen... | 29,127 |
https://github.com/zorqie/gyps/blob/master/src/ui/pages/EventsListPage.jsx | Github Open Source | Open Source | MIT | null | gyps | zorqie | null | Spoken | 88 | 267 | import React from 'react'
import EventPoster from '../event/EventPoster.jsx'
export default class EventsListPage extends React.Component {
state = {
events: []
}
async componentWillMount() {
const { feathers } = this.props
feathers.emit('user.event', null)
try {
const result = await feathers.service('ev... | 41,729 |
https://github.com/tjayrush/vraniml/blob/master/src/nodes/grouping/collision.cpp | Github Open Source | Open Source | MIT | 2,021 | vraniml | tjayrush | C++ | Code | 342 | 1,457 | //-------------------------------------------------------------------------
// Copyright (c) 1997-1998 Great Hill Corporation
// All Rights Reserved.
//-------------------------------------------------------------------------
// WARNING: THIS FILE WAS CREATED AUTOMATICALLY
//--------------------------------------------... | 51,391 |
https://github.com/dklostermann/Powershell/blob/master/DelTempAdmins.ps1 | Github Open Source | Open Source | MIT | null | Powershell | dklostermann | PowerShell | Code | 12 | 43 | import-module activedirectory
Get-ADGroupMember "Temp Admins" | ForEach-Object {Remove-ADGroupMember "Temp Admins" $_ -Confirm:$false} | 42,060 |
https://github.com/abrami/uima-async-scaleout/blob/master/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/provider/DDTreeLabelProvider.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | uima-async-scaleout | abrami | Java | Code | 483 | 1,430 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 615 |
https://github.com/icyleaf/omim/blob/master/drape_frontend/area_shape.cpp | Github Open Source | Open Source | Apache-2.0 | 2,015 | omim | icyleaf | C++ | Code | 89 | 540 | #include "drape_frontend/area_shape.hpp"
#include "drape/shader_def.hpp"
#include "drape/glstate.hpp"
#include "drape/batcher.hpp"
#include "drape/attribute_provider.hpp"
#include "drape/texture_manager.hpp"
#include "drape/utils/vertex_decl.hpp"
#include "base/buffer_vector.hpp"
#include "base/logging.hpp"
#include... | 40,384 |
https://github.com/dwolters/s2cx/blob/master/src/de/upb/s2cx/parser/sql/xml/XmlAggFunction.java | Github Open Source | Open Source | MIT | 2,017 | s2cx | dwolters | Java | Code | 89 | 339 | package de.upb.s2cx.parser.sql.xml;
import de.upb.s2cx.parser.sql.OrderByClause;
public class XmlAggFunction implements XmlValue {
private OrderByClause orderByClause;
private XmlValue parameter;
public OrderByClause getOrderByClause() {
return orderByClause;
}
public void setOrderByClause(OrderByClause or... | 42,691 |
https://github.com/gjuttla/superdump/blob/master/src/SuperDumpService/Models/DumpAnalysisResponse.cs | Github Open Source | Open Source | MIT | 2,022 | superdump | gjuttla | C# | Code | 46 | 150 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace SuperDumpService.Models {
public class DumpAnalysisResponse {
[JsonProperty("sourceId")]
public string SourceId { get; }
[JsonProperty("superdumpUrl")]
public string SuperdumpUrl ... | 23,029 |
https://github.com/LevkinSergey/1cWinCtrl/blob/master/src/WindowMngr.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | 1cWinCtrl | LevkinSergey | C | Code | 115 | 370 | #ifndef __WINDOWMNGR_H__
#define __WINDOWMNGR_H__
#include "stdafx.h"
class WindowManager {
public:
static HWND ActiveWindow();
static HWND CurrentWindow();
static std::wstring GetWindowList(tVariant* paParams, const long lSizeArray);
static std::wstring GetWindowInfo(tVariant* paParams, const long lSizeArray);
... | 2,140 |
https://github.com/ph-gaia/sisgeneros-mb/blob/master/vendor/HTR/Database/Instruction/Insert.php | Github Open Source | Open Source | MIT | 2,019 | sisgeneros-mb | ph-gaia | PHP | Code | 130 | 342 | <?php
/**
* HTR FIREBIRD FRAMEWORK 2.2 - Copyright (C) <2015> <BRUNO MONTEIRO>
* Framework PHP e MVC para agilizar o desenvolvimento de Aplicativos Web
* bruno.monteirodg@gmail.com
*
* @file Insert.php
* @version 0.1
* - Class que gerencia a inserção de registros do Banco de Dados
*/
namespace HTR\Database\In... | 243 |
https://github.com/rdhox/react-native-smooth-picker/blob/master/ios/Pods/Headers/Public/Flipper-RSocket/rsocket/statemachine/RequestResponseResponder.h | Github Open Source | Open Source | MIT | 2,021 | react-native-smooth-picker | rdhox | C | Code | 1 | 25 | ../../../../../Flipper-RSocket/rsocket/statemachine/RequestResponseResponder.h | 421 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.