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/hypothesis/h/blob/master/h/data_tasks/report/create_from_scratch/00_schema/01_create.jinja2.sql
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause, BSD-2-Clause-Views
2,023
h
hypothesis
SQL
Code
11
31
DROP SCHEMA IF EXISTS report CASCADE; CREATE SCHEMA report AUTHORIZATION "{{db_user}}";
13,135
https://github.com/leon087/MyLibrary/blob/master/lib/MyCommon/common-proguard-rules.pro
Github Open Source
Open Source
Apache-2.0
2,017
MyLibrary
leon087
null
Spoken
30
86
#================================common====================================== -keep class cm.android.common.db.** { *; } -keep class * extends cm.android.common.db.BaseBean { *; } -keep class * extends cm.android.common.db.BaseDao { *; } -keep class android.content.pm.* { *; } #================================common=...
9,286
https://github.com/hankzhu/page-access-helper/blob/master/chrome plugin/access-helper.js
Github Open Source
Open Source
MIT
2,013
page-access-helper
hankzhu
JavaScript
Code
98
342
(function() { var h = location.hash.replace('#', ''), m = document.getElementsByTagName('meta'), t = [], u; if (h == 'news' || h == 'common') { u = 'http://127.0.0.1/access.js?refer=' + encodeURIComponent(location.href) + '&type=' + h; } else { if (!window.acHelper) { ...
34,937
https://github.com/Cleancode404/ProjectEuler/blob/master/Problem71.py
Github Open Source
Open Source
MIT
null
ProjectEuler
Cleancode404
Python
Code
4
10
""" counting fractions """
14,945
https://github.com/tainguyentt/angular-course-cms/blob/master/app/core/constants.js
Github Open Source
Open Source
MIT
null
angular-course-cms
tainguyentt
JavaScript
Code
38
187
(function () { 'use strict'; angular .module('app.core') .constant('BLOCK_TYPE', { "CONTENT": "content", "ANSWER": "answer", "SOLUTION": "solution" }); angular .module('app.core') .constant('SUBQUESTION_TYPE', { "SINGLE_CHOICE": "Trắc nghiệm", "FILL_TEXT": "Điền từ", "ANIMATION_1": "Sắp...
53,511
https://github.com/darnellbelcourt99999/aion/blob/master/modEvtMgrImpl/src/org/aion/evtmgr/impl/handler/BlockHandler.java
Github Open Source
Open Source
MIT
2,020
aion
darnellbelcourt99999
Java
Code
36
123
package org.aion.evtmgr.impl.handler; import org.aion.evtmgr.IHandler; import org.aion.evtmgr.impl.abs.AbstractHandler; /** @author jay */ public class BlockHandler extends AbstractHandler implements IHandler { // Default constructor to set name of the thread, simplifies troubleshooting public BlockHandler()...
37,066
https://github.com/menucha-de/RF.Common/blob/master/src/test/java/havis/device/rf/common/EnvironmentTest.java
Github Open Source
Open Source
Apache-2.0
2,021
RF.Common
menucha-de
Java
Code
256
1,451
package havis.device.rf.common; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Properties; import java.util.logging.Level; import java.util.logging.Logger; import org.junit....
8,601
https://github.com/PacktPublishing/Modernizing-Enterprise-CMS-using-Pimcore/blob/master/4. Creating documentes in Pimcore/tmp/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/PimcoreContextListener.php
Github Open Source
Open Source
MIT
2,022
Modernizing-Enterprise-CMS-using-Pimcore
PacktPublishing
PHP
Code
284
1,066
<?php /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. * * @copyright Copyright (...
49,786
https://github.com/ciaid-colombia/InsFEM/blob/master/Sources/modules/temper/tem_begite.f90
Github Open Source
Open Source
MIT
2,021
InsFEM
ciaid-colombia
null
Spoken
30
157
subroutine tem_begite(a) use typre use Mod_Temperature use def_parame use Mod_SmoothedFieldGradient use Mod_Memor implicit none class(TemperatureProblem) :: a integer(ip) :: ndime if (a%kfl_CouplingThreeField==1) then call a%Mesh%GetNdime(ndime) call ComputeSmoothedFieldGradient(...
482
https://github.com/boakyezitek/addictive-frontend/blob/master/resources/views/components/catalogue/checks.blade.php
Github Open Source
Open Source
MIT
2,021
addictive-frontend
boakyezitek
Blade
Code
172
1,202
<ul class="unstyled centered"> <li> <input class="styled-checkbox" id="styled-checkbox-1" type="checkbox" value="value1" checked> <label for="styled-checkbox-1">Tous</label> </li> <li> <input class="styled-checkbox" id="styled-checkbox-2" type="checkbox" value="value2"> <label for="s...
28,764
https://github.com/Faithlife/styled-ui/blob/master/components/input/FilterInput.jsx
Github Open Source
Open Source
MIT
2,023
styled-ui
Faithlife
JavaScript
Code
200
659
import React, { useRef, useMemo, useCallback } from 'react'; import PropTypes from 'prop-types'; import styled, { css } from 'styled-components'; import { DefaultThemeProvider } from '../DefaultThemeProvider'; import { Box } from '../Box'; import { Button } from '../button'; import { Input } from './Input'; import { Se...
39,665
https://github.com/imclab/dreemgl/blob/master/examples/dalitests/boxes.js
Github Open Source
Open Source
Apache-2.0
2,016
dreemgl
imclab
JavaScript
Code
279
916
/* Copyright 2015-2016 Teeming Society. Licensed under the Apache License, Version 2.0 (the "License"); DreemGL is a collaboration between Teeming Society & Samsung Electronics, sponsored by Samsung and others. You may not use this file except in compliance with the License. You may obtain a copy of the License at htt...
14,186
https://github.com/ExaScience/smurff/blob/master/cpp/Tests/TestsPredict.cpp
Github Open Source
Open Source
MIT
2,022
smurff
ExaScience
C++
Code
748
2,943
#include <cstdio> #include <fstream> #include <boost/filesystem/operations.hpp> #include "catch.hpp" #include <SmurffCpp/Types.h> #include <SmurffCpp/Configs/Config.h> #include <SmurffCpp/Sessions/TrainSession.h> #include <SmurffCpp/Predict/PredictSession.h> #include <SmurffCpp/Utils/MatrixUtils.h> #include <Smurff...
22,335
https://github.com/wlynch/ru_explorer/blob/master/sports.py
Github Open Source
Open Source
Apache-2.0
2,013
ru_explorer
wlynch
Python
Code
38
185
import re, requests from bs4 import BeautifulSoup sports_url = "http://scarletknights.com/rss/mobile/feed-scores.asp" def get_scores(): scores = [] raw_scores = BeautifulSoup(requests.get(sports_url).text) for row in raw_scores.root.findAll("row"): scores.append({ "sport": str(row.sport.string), "opponent": str(...
4,101
https://github.com/tekartik/firebase_functions.dart/blob/master/firebase_functions_test/lib/firebase_functions_setup.dart
Github Open Source
Open Source
BSD-2-Clause
null
firebase_functions.dart
tekartik
Dart
Code
124
659
import 'dart:typed_data'; import 'package:tekartik_firebase_functions/firebase_functions.dart'; import 'package:tekartik_firebase_functions_test/src/firebase_functions_test_context.dart'; import 'package:tekartik_firebase_functions_test/src/import.dart'; void echoBytesHandler(ExpressHttpRequest request) { // devPri...
31,203
https://github.com/andy-z/famtreepub/blob/master/languages/default.py
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,017
famtreepub
andy-z
Python
Code
1,040
2,239
# coding: utf8 { '!langcode!': 'en-us', '!langname!': 'English (US)', '%s %%(shop)': '%s %%(shop)', '%s %%(shop[0])': '%s %%(shop[0])', '%s %%{quark[0]}': '%s %%{quark[0]}', '%s %%{shop[0]}': '%s %%{shop[0]}', '%s %%{shop}': '%s %%{shop}', '%Y-%m-%d': '%Y-%m-%d', '%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S', '@markmin\x01*...
30,709
https://github.com/ashleygwinnell/firecube/blob/master/FireCube/Rendering/Renderer.cpp
Github Open Source
Open Source
MIT
2,020
firecube
ashleygwinnell
C++
Code
1,554
6,743
#include <vector> #include <map> #include "ThirdParty/GLEW/glew.h" #include "Geometry/Geometry.h" #include "Rendering/Material.h" #include "Rendering/Texture2D.h" #include "Rendering/VertexBuffer.h" #include "Rendering/Shader.h" #include "Rendering/FrameBuffer.h" #include "Rendering/Font.h" #include "Rendering/Rendere...
36,015
https://github.com/cryptimeleon/craco/blob/master/src/main/java/org/cryptimeleon/craco/protocols/arguments/sigma/schnorr/SendThenDelegateProtocol.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
craco
cryptimeleon
Java
Code
594
2,399
package org.cryptimeleon.craco.protocols.arguments.sigma.schnorr; import org.cryptimeleon.craco.protocols.CommonInput; import org.cryptimeleon.craco.protocols.SecretInput; import org.cryptimeleon.craco.protocols.arguments.sigma.*; import org.cryptimeleon.craco.protocols.arguments.sigma.schnorr.variables.SchnorrVariabl...
20,143
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/v/vikingco/kong/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
184
631
########################################################### # Kong (master rev.) (http://getkong.org) ########################################################### FROM debian:jessie MAINTAINER Dirk Moors ENV KONG_GIT_URL https://github.com/Mashape/kong.git ENV KONG_GIT_BRANCH master ENV KONG_BASE_PKG...
12,830
https://github.com/SunnyMarkLiu/sword-pointing-to-offer/blob/master/src/序列化二叉树/Solution.java
Github Open Source
Open Source
MIT
2,018
sword-pointing-to-offer
SunnyMarkLiu
Java
Code
137
519
package src.序列化二叉树; /** * 请实现两个函数,分别用来序列化和反序列化二叉树 */ public class Solution { public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; } } /** * 前序遍历二叉树 */ String Serial...
31,369
https://github.com/damiendoligez/tlapm/blob/master/isabelle/SMT.thy
Github Open Source
Open Source
BSD-2-Clause
2,022
tlapm
damiendoligez
Isabelle
Code
4,896
13,706
header {* Normalization rules used in the SMT backend *} theory SMT imports NatDivision CaseExpressions Strings Integers begin text {* We can declare the rewriting rules used for normalization with the attribute "norm". *} ML {* structure NormalizeRules = Named_Thms (val name = "norm" val description = "Th...
22,429
https://github.com/hua2bei/ghost-blog-theme/blob/master/friend-ship.hbs
Github Open Source
Open Source
Apache-2.0
2,020
ghost-blog-theme
hua2bei
null
Spoken
159
587
{{!< default}} {{!-- The tag above means: insert everything in this file into the {body} of the default.hbs template --}} {{> "star-banner"}} {{!-- The main content area --}} <main id="site-main" class="site-main outer"> <div class="container start-bj"> <div class="row mj-row row-top" id="mj-friends"> ...
19,030
https://github.com/ptr2578/CS61/blob/master/Labs/Lab6/lab06_ex3.asm
Github Open Source
Open Source
BSD-3-Clause
2,019
CS61
ptr2578
Assembly
Code
1,100
2,452
;================================================= ; Name: Sungho Ahn ; Email: sahn025@ucr.edu ; GitHub username: ptr2578 ; ; Lab: lab 6 ; Lab section: B21 ; TA: Jason Goulding ; ;================================================= .ORIG x3000 ;-------------- ; Instructions ;-------------- AND R1, R1, #0 ; Ini...
29,724
https://github.com/juur/fail-jvm/blob/master/cp/java/nio/channels/spi/SelectorProvider.java
Github Open Source
Open Source
MIT
2,022
fail-jvm
juur
Java
Code
85
247
package java.nio.channels.spi; import java.io.IOException; import java.nio.channels.Channel; import java.nio.channels.DatagramChannel; import java.nio.channels.Pipe; import java.nio.channels.ServerSocketChannel; import java.nio.channels.SocketChannel; public abstract class SelectorProvider { private static Selecto...
36,049
https://github.com/tk0358/Baukis2/blob/master/app/javascript/staff/entries_form.js
Github Open Source
Open Source
MIT
null
Baukis2
tk0358
JavaScript
Code
51
301
$(document).on("turbolinks:load", () => { $("div.button-wrapper").on("click", "button#update-entries-button", () => { approved = [] not_approved = [] canceled = [] not_canceled = [] $("table.entries input.approved").each((index, elem) => { if ($(elem).prop("checked")) approved.push(...
25,893
https://github.com/ejhanrienaOut/AVM/blob/master/org.aion.avm.embed/test/org/aion/avm/embed/deploy/renamer/resources/RenameTarget.java
Github Open Source
Open Source
MIT
2,020
AVM
ejhanrienaOut
Java
Code
449
1,467
package org.aion.avm.embed.deploy.renamer.resources; import avm.Blockchain; import org.aion.avm.userlib.AionList; import org.aion.avm.userlib.AionMap; import org.aion.avm.userlib.AionSet; import org.aion.avm.userlib.abi.ABIDecoder; import java.math.BigInteger; import java.util.Map; import java.util.function.Function...
36,975
https://github.com/roylee0704/api-boilerplate/blob/master/src/main.ts
Github Open Source
Open Source
MIT
2,020
api-boilerplate
roylee0704
TypeScript
Code
225
797
import * as fs from 'fs'; import { INestApplication, ClassSerializerInterceptor, ValidationPipe } from '@nestjs/common'; import { NestFactory, Reflector } from '@nestjs/core'; import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger'; import { CrudConfigService } from '@nestjsx/crud'; import * as bodyParser from...
40,764
https://github.com/pushkarajc/socialsensor-framework-client/blob/master/src/main/java/eu/socialsensor/framework/client/search/solr/SolrMediaItem.java
Github Open Source
Open Source
Apache-2.0
2,015
socialsensor-framework-client
pushkarajc
Java
Code
748
2,578
package eu.socialsensor.framework.client.search.solr; import eu.socialsensor.framework.common.domain.Concept; import eu.socialsensor.framework.common.domain.Location; import eu.socialsensor.framework.common.domain.MediaItem; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; impor...
10,618
https://github.com/FJThiel/SqueakHistoryArchive/blob/master/data/updates/4260UniTile5-tk.cs
Github Open Source
Open Source
MIT
2,016
SqueakHistoryArchive
FJThiel
null
Spoken
2,202
6,081
'From Squeak3.1alpha of 28 February 2001 [latest update: #4259] on 18 August 2001 at 9:45:35 am'! "Change Set: UniTile5-tk Date: 10 August 2001 Author: Ted Kaehler More Uni Tile cleanup. -- define protocol for class String -- reorganize protocol in Vocabulary class for Number and Time. -- Make protocol (message) ...
51,889
https://github.com/ronq/geomesa/blob/master/geomesa-arrow/geomesa-arrow-datastore/src/main/scala/org/locationtech/geomesa/arrow/data/ArrowDataStoreFactory.scala
Github Open Source
Open Source
Apache-2.0
null
geomesa
ronq
Scala
Code
298
867
/*********************************************************************** * Copyright (c) 2013-2017 Commonwealth Computer Research, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and...
50,814
https://github.com/djoled97/webapp-dentist/blob/master/app/src/services/cena/cena.service.ts
Github Open Source
Open Source
MIT
2,020
webapp-dentist
djoled97
TypeScript
Code
46
135
import { Injectable } from "@nestjs/common"; import { TypeOrmCrudService } from "@nestjsx/crud-typeorm"; import { Cena } from "entities/cena.entity"; import { Repository } from "typeorm"; import { InjectRepository } from "@nestjs/typeorm"; @Injectable() export class CenaService extends TypeOrmCrudService<Cena>{ co...
16,393
https://github.com/FormidableLabs/victory-chart/blob/master/demo/components/animation-demo.js
Github Open Source
Open Source
MIT
2,018
victory-chart
FormidableLabs
JavaScript
Code
317
1,133
/*global window:false */ /*eslint-disable no-magic-numbers */ import React from "react"; import { random, range } from "lodash"; import { VictoryArea, VictoryStack, VictoryChart } from "../../src/index"; import { VictoryTheme } from "victory-core"; export default class App extends React.Component { constructor() { ...
26,888
https://github.com/DessimozLab/HogProf/blob/master/src/HogProf/build/lib/pyoma/browser/db.py
Github Open Source
Open Source
MIT
2,023
HogProf
DessimozLab
Python
Code
7,039
22,344
from __future__ import division, print_function from builtins import chr, range, object, zip, bytes import io import itertools import time from Bio.UniProt import GOA from bisect import bisect_left import dateutil import pandas as pd import pyopa import tables import threading import numpy import numpy.lib.recfunctions...
23,463
https://github.com/davewasmer/foraker/blob/master/docs/theme/api.hbs
Github Open Source
Open Source
MIT
2,015
foraker
davewasmer
null
Spoken
195
1,316
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{{#if api.name}}{{api.name}} | {{/if}}{{project.name}}</title> {{#if build.ghPages}} <base href="/{{project.name}}/"> {{e...
28,298
https://github.com/anhtruongcnttb/laravel-kaopiz/blob/master/app/Http/Requests/ValidateNumber.php
Github Open Source
Open Source
MIT
2,019
laravel-kaopiz
anhtruongcnttb
PHP
Code
131
298
<?php namespace App\Http\Requests; use App\Rules\IsLeapYear; use Illuminate\Foundation\Http\FormRequest; class ValidateNumber extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; ...
37,875
https://github.com/AppliedLogicSystems/ALSProlog/blob/master/core/unused_alsp_src/sparc/disassem.c
Github Open Source
Open Source
MIT
2,023
ALSProlog
AppliedLogicSystems
C
Code
3,175
10,101
/* * disassem.c -- disassembler for the SPARC * Copyright (c) 1990-1993 Applied Logic Systems, Inc. * * Author: Kevin A. Buettner * Creation: 2/22/90 * Revision History: */ #include "defs.h" #include "wintcode.h" #ifdef TESTDISASSEM #define PI_printf printf main() { list_asm(main,100); } #endif struct i...
20,921
https://github.com/jasonlam604/borderjs/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
borderjs
jasonlam604
Ignore List
Code
7
32
.versions node_modules/ npm-debug.log composer.lock .settings .project .buildpath
10,857
https://github.com/getgauge/html-report/blob/master/gauge_messages/spec.pb.go
Github Open Source
Open Source
Apache-2.0
2,022
html-report
getgauge
Go
Code
10,247
35,074
// Code generated by protoc-gen-go. DO NOT EDIT. // source: spec.proto package gauge_messages import ( fmt "fmt" proto "github.com/golang/protobuf/proto" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a co...
1,986
https://github.com/adayguerra/cloud-run-wordpress/blob/master/wordpress/wp-content/plugins/fusion-builder/inc/templates/app.php
Github Open Source
Open Source
Apache-2.0
null
cloud-run-wordpress
adayguerra
PHP
Code
204
1,104
<?php /** * An underscore.js template. * * @package fusion-builder */ ?> <script type="text/template" id="fusion-builder-app-template"> <div id="fusion-loader"><span class="fusion-builder-loader"></span></div> <div id="content-error" title="{{{ fusionBuilderText.content_error_title }}}" style="display:none;"> ...
12,615
https://github.com/pedrospeixoto/iModel/blob/master/gmt/xy.sh
Github Open Source
Open Source
MIT
2,023
iModel
pedrospeixoto
Shell
Code
267
690
#!/bin/bash # GMT EXAMPLE 21 # $Id: job21.sh 9545 2011-07-27 19:31:54Z pwessel $ # # Purpose: Plot a time-series # GMT progs: gmtset, gmtconvert, minmax, psbasemap, psxy # Unix progs: cut, echo # ps=example.ps R=0/8/0/1 # Lay down the basemap: psbasemap -R$R -JX9i/6i -V -Bs1Y/WSen \ -Bpa3Of1o/50WSen:=\$::."Red...
47,447
https://github.com/sagar-garg/Computational-Fluid-Dynamics/blob/master/Arbitrary Geometries and Energy transport in Navier Stokes Eqs/init.c
Github Open Source
Open Source
MIT
null
Computational-Fluid-Dynamics
sagar-garg
C
Code
767
2,524
#include "helper.h" #include "init.h" int read_parameters( const char *szFileName, /* name of the file */ char *geometry, /*name of the pgm geometry file */ double *Re, /* reynolds number */ double *Pr, /* Pran...
37,958
https://github.com/vacaly/Alink/blob/master/core/src/main/java/com/alibaba/alink/pipeline/feature/CrossCandidateSelectorModel.java
Github Open Source
Open Source
Apache-2.0
2,023
Alink
vacaly
Java
Code
37
243
package com.alibaba.alink.pipeline.feature; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.common.annotation.NameCn; import com.alibaba.alink.operator.common.feature.AutoCross.CrossCandidateSelectorModelMapper; import com.alibaba.alink.params.feature.featuregenerator.CrossCandidateSelector...
13,994
https://github.com/howl111/eth-scrapper/blob/master/contracts/0x80616F35Df2ef0CB42280a629761e0350FaFd679.sol
Github Open Source
Open Source
Apache-2.0
2,018
eth-scrapper
howl111
Gerber Image
Code
518
1,130
//Address: 0x80616F35Df2ef0CB42280a629761e0350FaFd679 //Contract name: Lotto //Balance: 0 Ether //Verification Date: 3/7/2017 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.8; /** * Very basic owned/mortal boilerplate. Used for basically everything, for * security/access control purposes. */ con...
50,663
https://github.com/aibotstechrepo/AiBotsStudio/blob/master/WindowOperations/WindowOpsCore.cs
Github Open Source
Open Source
Apache-2.0
null
AiBotsStudio
aibotstechrepo
C#
Code
786
2,330
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Threading.Tasks; using System.Runtime.InteropServices; namespace WindowOperations { public class WindowOpsCore { [DllImport("user32.dll")] static extern bool SetForegrou...
38,129
https://github.com/waSRull/pvbki/blob/master/src/Enums/PaymentPeriod.php
Github Open Source
Open Source
MIT
null
pvbki
waSRull
PHP
Code
135
421
<?php namespace Wearesho\Pvbki\Enums; use MyCLabs\Enum\Enum; use Wearesho\Pvbki\Interrelations\NullableEnum; /** * Class PaymentPeriod * @package Wearesho\Pvbki\Enums * * @method static PaymentPeriod EVERY_15_DAYS() * @method static PaymentPeriod EVERY_30_DAYS() * @method static PaymentPeriod EVERY_60_DAYS() ...
31,626
https://github.com/sailfly/nuxeo/blob/master/nuxeo-features/nuxeo-automation/nuxeo-automation-core/src/main/java/org/nuxeo/ecm/automation/core/operations/execution/RunInNewTransaction.java
Github Open Source
Open Source
Apache-2.0
null
nuxeo
sailfly
Java
Code
405
1,097
/* * (C) Copyright 2006-2014 Nuxeo SA (http://nuxeo.com/) and others. * * 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 re...
34,348
https://github.com/juliancheal/artoo-pebble/blob/master/lib/artoo/adaptors/pebble.rb
Github Open Source
Open Source
Apache-2.0
2,013
artoo-pebble
juliancheal
Ruby
Code
120
353
require 'artoo/adaptors/adaptor' module Artoo module Adaptors # Connect to a pebble device # @see device documentation for more information class Pebble < Adaptor attr_reader :pebble # Number of retries when connecting RETRY_COUNT = 5 # Creates a connection with device # @...
9,755
https://github.com/XoYoKing/NewsApp/blob/master/简闻/简闻/Main/Other/Reachability+AutoChecker.h
Github Open Source
Open Source
Apache-2.0
2,016
NewsApp
XoYoKing
Objective-C
Code
32
120
// // Reachability+AutoChecker.h // 简闻 // // Created by 韩露露 on 16/6/13. // Copyright © 2016年 韩露露. All rights reserved. // #import "Reachability.h" @interface Reachability (AutoChecker) + (void)startCheckWithReachability:(Reachability *)reachability; + (BOOL)isReachable; @end
27,851
https://github.com/chromium/chromium/blob/master/ios/web/navigation/synthesized_session_restore_unittest.mm
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,022
chromium
chromium
Objective-C++
Code
205
965
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "ios/web/navigation/synthesized_session_restore.h" #include "base/ios/ios_util.h" #include "base/strings/stringprintf.h" #include "base/strings/u...
4,551
https://github.com/mohammadzainabbas/Digital-System-Desgin/blob/master/Project/DSD_Project/Testing_4.v
Github Open Source
Open Source
MIT
2,019
Digital-System-Desgin
mohammadzainabbas
Verilog
Code
125
477
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 21:54:30 02/05/2018 // Design Name: // Module Name: Testing_4 // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // ...
8,486
https://github.com/zombie/firefox-extension-profile-manager/blob/master/.gitmodules
Github Open Source
Open Source
CC-BY-3.0
2,014
firefox-extension-profile-manager
zombie
Git Config
Code
8
41
[submodule "packages/subprocess"] path = packages/subprocess url = https://github.com/ochameau/jetpack-subprocess.git
53,843
https://github.com/Simacrus/honu/blob/master/Code/Commands/StaticCommand.cs
Github Open Source
Open Source
MIT
2,021
honu
Simacrus
C#
Code
185
670
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using watchtower.Commands; using watchtower.Models.Census; using watchtower.Services.Census; namespace watchtowe...
19,354
https://github.com/datastax/simulacron/blob/master/native-protocol-json/src/main/java/com/datastax/oss/simulacron/protocol/json/QueryOptionsSerializer.java
Github Open Source
Open Source
Apache-2.0
2,022
simulacron
datastax
Java
Code
153
545
/* * Copyright DataStax, 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 in wri...
18,364
https://github.com/vincent-uden/elastic-pendulum/blob/master/Unprocessed Data/E/E3_origin.tsv
Github Open Source
Open Source
MIT
2,020
elastic-pendulum
vincent-uden
TSV
Code
12,000
145,194
31.598,3.605,665.414 31.588,3.603,665.407 31.591,3.592,665.422 31.585,3.597,665.428 31.590,3.593,665.409 31.590,3.593,665.409 31.579,3.606,665.420 31.581,3.607,665.413 31.577,3.598,665.395 31.595,3.593,665.429 31.593,3.602,665.427 31.601,3.600,665.401 31.607,3.602,665.401 31.611,3.614,665.400 31.595,3.604,665.420 31.59...
27,394
https://github.com/SuperElon/MassNet-wallet/blob/master/txscript/script.go
Github Open Source
Open Source
MIT, ISC
2,019
MassNet-wallet
SuperElon
Go
Code
2,741
6,399
// Modified for MassNet // Copyright (c) 2013-2015 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package txscript import ( "bytes" "encoding/binary" "fmt" "github.com/massnetorg/MassNet-wallet/wire" ) // isSmallInt returns whether or n...
40,652
https://github.com/decke/jbot/blob/master/src/at/bluelife/jbot/core/history/TemporaryUserHistory.java
Github Open Source
Open Source
Apache-2.0
null
jbot
decke
Java
Code
384
1,246
/* ************************************************************************** */ /* Project : jBot (an advanced WebChat Bot) */ /* */ /* Author : Bernhard Froehlich <decke@bluelife.at> ...
26,376
https://github.com/NikolaeVarius/gods4/blob/master/connection.go
Github Open Source
Open Source
MIT
2,019
gods4
NikolaeVarius
Go
Code
94
259
package gods4 type ConnectionType uint const ( ConnectionTypeNone ConnectionType = iota ConnectionTypeUSB ConnectionTypeBluetooth ) func (t ConnectionType) String() string { switch t { case ConnectionTypeNone: return "NONE" case ConnectionTypeUSB: return "USB" case ConnectionTypeBluetooth: return "BT" ...
25,650
https://github.com/ivanpilot/ruby-collaborating-objects-lab-v-000/blob/master/lib/song.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,016
ruby-collaborating-objects-lab-v-000
ivanpilot
Ruby
Code
102
268
# A song has a title and belongs to an artist and only one artist # Attributes # name # artist # Behavior # create a song # add artist to a song # require 'pry' class Song attr_accessor :name, :artist def initialize(name) @name = name end def self.new_by_filename(file_name) array = file_name.sp...
38,597
https://github.com/fattureincloud/fattureincloud-java-sdk/blob/master/src/main/java/it/fattureincloud/sdk/model/Entity.java
Github Open Source
Open Source
MIT
2,022
fattureincloud-java-sdk
fattureincloud
Java
Code
2,453
9,004
/* * Fatture in Cloud API v2 - API Reference * Connect your software with Fatture in Cloud, the invoicing platform chosen by more than 400.000 businesses in Italy. The Fatture in Cloud API is based on REST, and makes possible to interact with the user related data prior authorization via OAuth2 protocol. * * The ...
45,692
https://github.com/acviana/hub-bucket/blob/master/app/bitbucket.py
Github Open Source
Open Source
MIT
null
hub-bucket
acviana
Python
Code
60
224
import requests import pprint def bitbucket_main(bitbucket_username): ''' This is a stubbed main function for the BitBucket API. When fully implemented this will return data in the same format as the GitHub main functions. Args: bitbucket_username (str): The bitbucket user name to query....
7,543
https://github.com/DalavanCloud/k8s-cloudkms-plugin/blob/master/vendor/k8s.io/kubernetes/pkg/cloudprovider/providers/gce/BUILD.bazel
Github Open Source
Open Source
Apache-2.0
2,019
k8s-cloudkms-plugin
DalavanCloud
Starlark
Code
28
286
load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = ["token_source.go"], importmap = "https:/github.com/GoogleCloudPlatform/k8s-cloudkms-plugin/vendor/k8s.io/kubernetes/pkg/cloudprovider/providers/gce", importpath = "k8s.io/kubernetes/pkg/cloudprovider/p...
23,200
https://github.com/RescateDeRecursos/RescateDeRecursosYoutube/blob/master/Casa Rosada - República Argentina/Fiesta del 25 de Mayo en la Plaza. Aniversario 203 de la Revolución de Mayo.-_kjmHyD1QSs.es-MX.srt
Github Open Source
Open Source
MS-PL
2,016
RescateDeRecursosYoutube
RescateDeRecursos
null
Spoken
171
500
1 00:00:00,764 --> 00:00:04,482 Este 25 de mayo, todos los argentinos celebramos el aniversario 2 00:00:04,482 --> 00:00:09,775 203 de nuestra revolución de mayo. Y además, celebramos 10 años de trabajo 3 00:00:09,775 --> 00:00:11,879 por una patria con libertad e igualdad. 4 00:00:11,890 --> 00:00:15,088 Vení a cel...
52,129
https://github.com/nsicontest/nsi-ri/blob/master/test/net/geant/nsicontest/reservation/DecomposedStpTest.java
Github Open Source
Open Source
Apache-2.0
null
nsi-ri
nsicontest
Java
Code
75
421
package net.geant.nsicontest.reservation; import net.geant.nsicontest.topology.DecomposedStp; import org.junit.Assert; import org.junit.Test; public class DecomposedStpTest { @Test public void testParseStp() throws Exception { String exampleStp = "urn:ogf:network:example.net:2013:bi-ps"; String networkId ...
19,012
https://github.com/ORKO06/Employ-h-er-1/blob/master/employ-h-er/lib/services.dart
Github Open Source
Open Source
MIT
2,021
Employ-h-er-1
ORKO06
Dart
Code
264
952
import 'package:flutter/material.dart'; class Services extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( backgroundColor: Colors.white, body: SafeArea( child: Container( decoration: BoxDecoration( ...
20,558
https://github.com/andrewdacenko/geocentr-meteodata/blob/master/server.js
Github Open Source
Open Source
MIT
2,017
geocentr-meteodata
andrewdacenko
JavaScript
Code
3,272
10,434
var express = require("express"), path = require("path"), nedb = require('nedb'), async = require('async'), excelReport = require('excel-report'), employeesDB = "db/employees.db", annualsDB = "db/annuals.db", monthsDB = "db/months.db", toolsDB = "db/tools.db", daysDB = "db/days.db", stationsDB = "...
46,987
https://github.com/carmeloevoli/SimProp-beta/blob/master/src/crossSections/PhotoPionProductionXsec.cpp
Github Open Source
Open Source
MIT
null
SimProp-beta
carmeloevoli
C++
Code
162
571
#include "simprop/crossSections/PhotoPionProductionXsec.h" #include "simprop/units.h" #include "simprop/utils/numeric.h" #define MAXLOGS 9.0 namespace simprop { namespace xsecs { PhotoPionProductionXsec::PhotoPionProductionXsec() { LOGD << "calling " << __func__ << " constructor"; m_sigma.loadTable(m_filename, ...
30,362
https://github.com/fossam/hubble/blob/master/hubblestack/files/hubblestack_nova/sysctl.py
Github Open Source
Open Source
Apache-2.0
null
hubble
fossam
Python
Code
442
1,307
# -*- encoding: utf-8 -*- ''' HubbleStack Nova module for using sysctl to verify sysctl parameter. :maintainer: HubbleStack / avb76 :maturity: 2016.7.0 :platform: Linux :requires: SaltStack This audit module requires yaml data to execute. It will search the local directory for any .yaml files, and if it finds a top-l...
10,155
https://github.com/ken85rose/chisel/blob/master/src/style/modal.scss
Github Open Source
Open Source
MIT
null
chisel
ken85rose
SCSS
Code
152
769
.#{$modal}{ background-color: $modal-background; position: fixed; top: 0; bottom: 0; right: 0; left: 0; display: none; z-index: $modal-z-index; .#{$modal-box}{ max-height: 100%; max-width: $modal-max-width; padding: $modal-box-padding; background-color: #fff; position: absolute; text-align: center...
43,428
https://github.com/jchoyt/mrald-lite/blob/master/src/test/org/mitre/mrald/query/SqlElementsTest.java
Github Open Source
Open Source
Apache-2.0
null
mrald-lite
jchoyt
Java
Code
596
1,616
/* * Copyright 2008 The MITRE Corporation (http://www.mitre.org/). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
7,861
https://github.com/Axway/ats-framework/blob/master/log/src/test/java/com/axway/ats/log/autodb/Test_LoadQueueState.java
Github Open Source
Open Source
Apache-2.0
2,023
ats-framework
Axway
Java
Code
569
2,353
/* * Copyright 2017 Axway Software * * 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 t...
34,987
https://github.com/minhtrithcb/laravelmovie_github/blob/master/resources/views/inc/banner.blade.php
Github Open Source
Open Source
MIT
2,021
laravelmovie_github
minhtrithcb
Blade
Code
363
1,486
<div class="banner"> <div class="banner-slides" > @foreach($banner as $key => $baner) <div class="banner-slide-item" id="bannerid{{$key}}"> <div class="banner-main-img"> <div class="over-lay"></div> <img src="/storage/img/{{$baner->wallpaper}}" alt="" styl...
54,554
https://github.com/pmiddend/libawl/blob/master/include/awl/main/exit_success.hpp
Github Open Source
Open Source
BSL-1.0
2,014
libawl
pmiddend
C++
Code
21
110
#ifndef AWL_MAIN_EXIT_SUCCESS_HPP_INCLUDED #define AWL_MAIN_EXIT_SUCCESS_HPP_INCLUDED #include <awl/symbol.hpp> #include <awl/main/exit_code.hpp> namespace awl { namespace main { AWL_SYMBOL awl::main::exit_code const exit_success(); } } #endif
10,333
https://github.com/buhahemal/iFoundit/blob/master/public/CustomjsForView/StockCs.js
Github Open Source
Open Source
MIT
null
iFoundit
buhahemal
JavaScript
Code
236
960
var Select2Selects = function() { var _componentSelect2 = function() { if (!$().select2) { console.warn('Warning - select2.min.js is not loaded.'); return; } $('#product_category').select2({ minimumInputLength: 1, ajax: { url: ...
26,139
https://github.com/kenshaw/goji/blob/master/router.go
Github Open Source
Open Source
MIT
2,019
goji
kenshaw
Go
Code
523
1,598
package goji import ( "context" "net/http" "sort" "strings" ) // Router is the shared router interface. type Router interface { Handle(Matcher, http.Handler) Route(*http.Request) *http.Request } type route struct { matcher Matcher handler http.Handler } type match struct { context.Context matcher Matcher ...
37,765
https://github.com/spitamen77/fifa/blob/master/console/fixtures/data/foot_player.php
Github Open Source
Open Source
BSD-3-Clause
null
fifa
spitamen77
PHP
Code
4,880
14,819
<?php return [ [ 'club_id' => 1, 'name' => 'Keylor Navas', 'position' => 1, 'price' => 15.3, 'selected' => 0, 'total' => 0, ], [ 'club_id' => 1, 'name' => 'Kiko Casilla', 'position' => 1, 'price' => 5.10, 'selected' => ...
10,925
https://github.com/priojeetpriyom/competitive-programming/blob/master/hacker earth/Micro and Array Update .cpp
Github Open Source
Open Source
MIT
2,021
competitive-programming
priojeetpriyom
C++
Code
47
174
#include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { // freopen("out.txt", "w", stdout); int n,k; int x; int t; cin>>t; while(t--) { cin>>n>>k; int mn = 0; for(int i=0; i<n; i++) { cin>>x; if(x<=...
21,157
https://github.com/jjmartinr01/gauss3/blob/master/entidades/views.py
Github Open Source
Open Source
MIT
null
gauss3
jjmartinr01
Python
Code
9,213
45,908
# -*- coding: utf-8 -*- from __future__ import unicode_literals import csv import os import re import logging import xlwt import pdfkit from time import sleep from django.http import JsonResponse from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib...
24,516
https://github.com/UDC-GAC/tejas_knl/blob/master/Tejas-Simulator/Tejas/src/simulator/pipeline/outoforder/RenameTable.java
Github Open Source
Open Source
Apache-2.0
2,021
tejas_knl
UDC-GAC
Java
Code
674
2,622
package pipeline.outoforder; import java.io.FileWriter; import java.io.IOException; import config.EnergyConfig; import generic.Event; import generic.EventQueue; import generic.PortType; import generic.SimulationElement; public class RenameTable extends SimulationElement{ OutOrderExecutionEngine execEngine; int ...
29,464
https://github.com/InDerectif/GoogleAnalyticsTracker/blob/master/GoogleAnalyticsTracker.Core/HttpWebRequestExtensions.cs
Github Open Source
Open Source
MS-PL
2,019
GoogleAnalyticsTracker
InDerectif
C#
Code
109
269
using System.Net; using System.Reflection; namespace GoogleAnalyticsTracker.Core { public static class HttpWebRequestExtensions { /// <summary> /// Workaround for PCL's "Additional information: The '.....' header must be modified using the appropriate property or method." exception. ///...
44,365
https://github.com/scalapb/ScalaPB/blob/master/scalapb-runtime/src/main/jvm-native/scalapb/descriptors/ConcurrentWeakReferenceMap.scala
Github Open Source
Open Source
Apache-2.0
2,023
ScalaPB
scalapb
Scala
Code
82
217
package scalapb.descriptors import scala.collection.mutable import scala.ref.WeakReference /** JVM implementation of ConcurrentWeakReferenceMap. We provide a separate implementation here * since some of the classes used are not available in JS runtime. */ private[descriptors] class ConcurrentWeakReferenceMap[K, V...
48,525
https://github.com/lishulongVI/leetcode/blob/master/javascript/868.Push Dominoes(推多米诺).js
Github Open Source
Open Source
MIT
2,018
leetcode
lishulongVI
JavaScript
Code
335
2,501
/* <p>There are<font face="monospace">&nbsp;<code>N</code></font> dominoes in a line, and we place each domino vertically upright.</p> <p>In the beginning, we simultaneously push&nbsp;some of the dominoes either to the left or to the right.</p> <p><img alt="" src="https://s3-lc-upload.s3.amazonaws.com/uploads/2018/05...
15,342
https://github.com/Mozu/cryptic-theme/blob/master/.references/Core4/scripts/widgets/instock-request.js
Github Open Source
Open Source
MIT
null
cryptic-theme
Mozu
JavaScript
Code
194
810
define(['modules/jquery-mozu', 'hyprlive', 'shim!vendor/underscore>_', "modules/api", "modules/backbone-mozu", "modules/models-product"], function ($, Hypr, _, api, Backbone, ProductModels, UserModels) { function getExistingNotifications() { return ($.cookie('mozustocknotify') || '').sp...
4,497
https://github.com/AmpereComputing/terraform-openstack-images/blob/master/archlinux/archlinux_image.sh
Github Open Source
Open Source
Apache-2.0
2,022
terraform-openstack-images
AmpereComputing
Shell
Code
73
292
#!/usr/bin/env bash IMAGE_CACHE=$HOME/.terraform/image_cache if [ ! -d $IMAGE_CACHE ]; then mkdir -p $IMAGE_CACHE fi PROJECT_DIR=`pwd` echo "Image Cache Location: " echo $IMAGE_CACHE echo echo "Project Directory: " echo $PROJECT_DIR echo cd $IMAGE_CACHE if [ -e arch-openstack-LATEST-image-bootstrap.qcow2 ] then ...
12,334
https://github.com/0xor1/gorillaseed/blob/master/src/client/component/counter/style.scss
Github Open Source
Open Source
MIT
2,015
gorillaseed
0xor1
SCSS
Code
12
50
@import "../../global"; .cp-counter{ .global-counter{ color: $global; } .my-counter{ color: $my; } }
13,786
https://github.com/MuffinzPlox/Fighting491-L/blob/master/Assets/Scripts/EasyAI.cs
Github Open Source
Open Source
MIT
2,018
Fighting491-L
MuffinzPlox
C#
Code
417
1,359
using UnityEngine; using UnityEngine.UI; using System.Collections; [RequireComponent(typeof(Rigidbody2D), typeof(InputController), typeof(SoundController))] public class EasyAI : MonoBehaviour { public enum Direction { left, right }; public Transform Computer; public Transform P...
49,135
https://github.com/Satyam/roxyMusic/blob/master/client/store/sync/index.js
Github Open Source
Open Source
MIT
2,020
roxyMusic
Satyam
JavaScript
Code
47
152
import { combineReducers } from 'redux'; import misc, { miscSelectors } from './reducers/misc'; import sideBySide, { sideBySideSelectors } from './reducers/sideBySide'; import mp3Transfer, { mp3TransferSelectors } from './reducers/mp3Transfer'; export * from './actions'; export default combineReducers({ misc, si...
6,989
https://github.com/shank-eric/inbox-in-gmail/blob/master/src/scss/bundle.scss
Github Open Source
Open Source
MIT
2,020
inbox-in-gmail
shank-eric
SCSS
Code
81
373
.zA.bundle-wrapper { .label-link { flex-basis: 212px; max-width: 212px; .bundle-count { font-weight: 400; margin-left: 5px; } } .WA { //important-indicator-column &.hide-important-markers { display: none; } } .a4W { //body-column padding-right: 30px; .bundle-senders { color: #202124; ...
5,903
https://github.com/hdc-arizona/pothos/blob/master/include/immutable/array.h
Github Open Source
Open Source
MIT
2,021
pothos
hdc-arizona
C++
Code
3,167
8,772
#pragma once #include "base.h" #include <iterator> namespace immutable { struct ArrayImp; template <typename T> struct TransientArray; static constexpr uint32 END = 0xffffffff; // Persistent array (aka vector aka random-access list) template <typename T> struct Array : RefCounted { using ValueT = V...
52,910
https://github.com/genwch/jmapp/blob/master/jmapp/lib/__init__.py
Github Open Source
Open Source
MIT
null
jmapp
genwch
Python
Code
8
14
from .auth import * from .apiclient import *
39,563
https://github.com/samlanh/loankch/blob/master/application/modules/callecterall/models/DbTable/DbCallecterall.php
Github Open Source
Open Source
Apache-2.0
null
loankch
samlanh
PHP
Code
113
636
<?php class Callecterall_Model_DbTable_DbCallecterall extends Zend_Db_Table_Abstract { protected $_name = 'ln_callecteral_type'; function addcallecterall($data){ $db = $this->getAdapter(); $arr = array( 'title_en'=>$data['title_en'], 'title_kh'=>$data['title_kh'], 'date'=>$data['...
10,011
https://github.com/HongChutang/cie.szu/blob/master/usr/plugins/Thumbnail/Plugin.php
Github Open Source
Open Source
MIT
2,019
cie.szu
HongChutang
PHP
Code
526
2,453
<?php /** * 文章缩略图 * * @package Thumbnail * @author Mr.Asong * @version 1.0.3 * @update: 2011.12.17 * @link http://mrasong.com * @useage Thumbnail_Plugin::show($this); * * version: 1.0.3 * 加入文章分类图片,随机图片 * 附件 -> 文章内第一张 -> 分类图片 -> 随机图片 -> 默认图 * version: 1.0.1 * 实现从附...
24,237
https://github.com/nongnoochr/fullstack-rpi-app/blob/master/client/src/components/TimerSelector/TimerSelector.js
Github Open Source
Open Source
MIT
2,020
fullstack-rpi-app
nongnoochr
JavaScript
Code
168
620
import React, { Component } from 'react'; import classes from './TimerSelector.module.css'; import { convertDurationDataToSeconds, getDurationData } from '../../utils/TimeUtils' import { connect } from 'react-redux'; import * as actions from '../../store/actions/index'; class TimerSelector extends Component {...
33,119
https://github.com/abelli85/nvelocity/blob/master/NVelocity/NVelocity.Tests/VMLibraryTestCase.cs
Github Open Source
Open Source
Apache-2.0
null
nvelocity
abelli85
C#
Code
820
3,071
/* * 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 may n...
44,933
https://github.com/beatoblige/CodeLabWk10/blob/master/CodeLabWk10/Assets/NightAye/Textures/Masks.meta
Github Open Source
Open Source
Unlicense
2,019
CodeLabWk10
beatoblige
Unity3D Asset
Code
16
74
fileFormatVersion: 2 guid: 7abb5447d3af8e14fbacc7bdf31de500 folderAsset: yes timeCreated: 1555502885 licenseType: Store DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
32,958
https://github.com/MeshGeometry/IogramSource/blob/master/Components/Input_Panel.cpp
Github Open Source
Open Source
MIT
2,018
IogramSource
MeshGeometry
C++
Code
669
2,530
// // Copyright (c) 2016 - 2017 Mesh Consultants Inc. // 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, ...
8,144
https://github.com/RickyXuPengfei/ShareSpark/blob/master/src/main/scala/Streaming/structed/Basic.scala
Github Open Source
Open Source
MIT
null
ShareSpark
RickyXuPengfei
Scala
Code
85
371
package Streaming.structed import Streaming.util.CSVFileStreamGenerator import org.apache.spark.sql.{SparkSession, types} import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType} object Basic { def main(args: Array[String]): Unit = { val fm = new CSVFileStreamGenerator(10, 5, 500) ...
18,224
https://github.com/DrkCore/ContentViewAnnotation/blob/master/demo/src/main/java/core/annotation/view/demo/FirstActivity.java
Github Open Source
Open Source
Apache-2.0
2,017
ContentViewAnnotation
DrkCore
Java
Code
115
376
package core.annotation.view.demo; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import core.annotation.view.ContentView; /** * @author DrkCore * @since 2017-07-11 */ @ContentView(R.layout.activity_first) public cla...
36,117
https://github.com/RafaelMarinheiro/rules_rust/blob/master/rust/private/repository_utils.bzl
Github Open Source
Open Source
Apache-2.0
2,022
rules_rust
RafaelMarinheiro
Starlark
Code
2,304
7,918
"""Utility macros for use in rules_rust repository rules""" load("//rust:known_shas.bzl", "FILE_KEY_TO_SHA") load( "//rust/platform:triple_mappings.bzl", "system_to_binary_ext", "system_to_dylib_ext", "system_to_staticlib_ext", "system_to_stdlib_linkflags", "triple_to_system", ) DEFAULT_TOOLCH...
16,817
https://github.com/tpadilha79/html5scheduler/blob/master/node_modules/phonegap/node_modules/phonegap-soundwave/lib/index.js
Github Open Source
Open Source
Apache-2.0
2,014
html5scheduler
tpadilha79
JavaScript
Code
227
538
/*! * Module dependencies. */ var Static = require('node-static'), events = require('events'), emitter = new events.EventEmitter(); /** * Serve the App. * * Creates a local server to serve up the project. The intended * receiver is the PhoneGap App but any browser can consume the * content. * * Optio...
31,021
https://github.com/IamBeltran/handle-firebase-accounts/blob/master/main.js
Github Open Source
Open Source
MIT
2,019
handle-firebase-accounts
IamBeltran
JavaScript
Code
1,022
3,539
/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable node/no-unpublished-require */ /* eslint-disable no-console */ /* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable global-require */ // ┌───────────────────────────────────────────────────────────────────────────────────┐ /...
36,692