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/Maxopoly/cards-database/blob/master/data/Sun & Moon/Sun & Moon/13.ts
Github Open Source
Open Source
MIT
2,022
cards-database
Maxopoly
TypeScript
Code
98
358
import { Card } from '../../../interfaces' import Set from '../Sun & Moon' const card: Card = { name: { en: "Grubbin", fr: "Larvibule", es: "Grubbin", it: "Grubbin", pt: "Grubbin", de: "Mabula" }, illustrator: "Akira Komayama", rarity: "Common", category: "Pokemon", set: Set, dexId: [ 736, ], h...
32,932
https://github.com/vlad-serbanescu/abs-java8-compiler/blob/master/src/main/java/bnfc/abs/Absyn/DClassPar.java
Github Open Source
Open Source
Apache-2.0
2,016
abs-java8-compiler
vlad-serbanescu
Java
Code
115
446
package bnfc.abs.Absyn; // Java Package generated by the BNF Converter. public class DClassPar extends Decl { public final String u_; public final ListFormalPar listformalpar_; public final ListClassBody listclassbody_1, listclassbody_2; public final MaybeBlock maybeblock_; public DClassPar(String p1, ListFo...
52,726
https://github.com/Tigerots/rt-thread/blob/master/bsp/lpc55sxx/Libraries/drivers/drv_adc.c
Github Open Source
Open Source
Apache-2.0
2,020
rt-thread
Tigerots
C
Code
256
1,167
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2019-04-20 tyustli the first version. * 2019-07-15 Magicoe The first version for LPC55S6x * */ #include <rtthread.h> #ifdef BSP_USING_ADC ...
17,091
https://github.com/BNDS-Robin23/Malmo/blob/master/Documentation/search/enumvalues_7.js
Github Open Source
Open Source
MIT
2,019
Malmo
BNDS-Robin23
JavaScript
Code
5
89
var searchData= [ ['video',['VIDEO',['../structmalmo_1_1_timestamped_video_frame.html#a6016177a24884e003e9696bcfcf172a2ac48bf8ddfa9c219fda933d0b61745f1a',1,'malmo::TimestampedVideoFrame']]] ];
44,025
https://github.com/liseon/socialWeb/blob/master/src/Acme/MainBundle/Controller/LandingController.php
Github Open Source
Open Source
MIT
null
socialWeb
liseon
PHP
Code
57
225
<?php namespace Acme\MainBundle\Controller; use Acme\MainBundle\Lib\Auth; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; class LandingController extends...
46,957
https://github.com/microsoft/powerquery-language-services/blob/master/src/test/testUtils/inspectionUtils.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,023
powerquery-language-services
microsoft
TypeScript
Code
411
1,582
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { Assert, CommonError, NoOpCancellationToken, Result, ResultUtils, Settings, Task, TaskUtils, } from "@microsoft/powerquery-parser"; import { Diagnostic, DocumentSymbol, Position } from "vscode-languageser...
43,579
https://github.com/dominikmueller/cloud-service-broker/blob/master/internal/brokerpak/fetcher/fetch.go
Github Open Source
Open Source
Apache-2.0
2,022
cloud-service-broker
dominikmueller
Go
Code
126
392
// Package fetcher has logic for fetching a file from a source // (which may be a file or URL) and saving it to a destination. package fetcher import ( "fmt" "os" "path/filepath" "github.com/hashicorp/go-getter" ) func FetchArchive(src, dest string) error { return newFileGetterClient(src, dest).Get() } func Fe...
7,358
https://github.com/FlagSystemes/goflow/blob/master/core/runtime/controller/handler/partial_execute_flow_handler.go
Github Open Source
Open Source
MIT
2,022
goflow
FlagSystemes
Go
Code
90
270
package handler import ( "errors" "fmt" "github.com/s8sg/goflow/core/runtime" "github.com/s8sg/goflow/core/sdk/executor" ) func PartialExecuteFlowHandler(response *runtime.Response, request *runtime.Request, ex executor.Executor) error { var stateOption executor.ExecutionStateOption if request.RequestID == ""...
6,942
https://github.com/GoingOK/goingok-client/blob/master/src/app/store/reducers/googleProfile.reducer.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,018
goingok-client
GoingOK
TypeScript
Code
72
258
/** * Created by andrew on 29/3/17. */ import {GoogleProfile} from "../../data/models/GoogleProfile"; import { GET_GOOGLE_PROFILE, GoogleProfileAction, RESET_GOOGLE_PROFILE, SAVE_GOOGLE_PROFILE } from "../actions/googleProfile.actions"; export type GoogleProfileState = GoogleProfile; const initialState: G...
33,279
https://github.com/ggndnn/sofa-ark-idea-plugin/blob/master/build.gradle
Github Open Source
Open Source
Apache-2.0
2,020
sofa-ark-idea-plugin
ggndnn
Gradle
Code
104
476
buildscript { repositories { maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/public' } maven { url 'https://maven.aliyun.com/repository/jcenter' } jcenter() } } plugins { id 'java' id 'org.jetbrains.intel...
22,659
https://github.com/searchisko/mbox_tools/blob/master/mbox_parser/src/test/java/org/searchisko/mbox/parser/MessageParserTest.java
Github Open Source
Open Source
Apache-2.0
2,019
mbox_tools
searchisko
Java
Code
151
397
/* * JBoss, Home of Professional Open Source * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. */ package org.searchisko.mbox.parser; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import st...
3,573
https://github.com/rdbatch02/cfn-custom-resource-bootstrap/blob/master/src/main/kotlin/com/batchofcode/cfn/payload/CfnRequest.kt
Github Open Source
Open Source
MIT
null
cfn-custom-resource-bootstrap
rdbatch02
Kotlin
Code
69
186
package com.batchofcode.cfn.payload import com.batchofcode.cfn.payload.RequestType.Create import kotlinx.serialization.Serializable import kotlinx.serialization.json.JsonElement @Serializable data class CfnRequest ( val RequestType: RequestType = Create, val ResponseURL: String = "", val StackId: String =...
20,409
https://github.com/beytarovski/screets-extra/blob/master/extras-livechat.js
Github Open Source
Open Source
MIT
2,018
screets-extra
beytarovski
JavaScript
Code
11
17
/** * My custom JavaScript codes for Screets Live Chat. */
8,824
https://github.com/iantal/AndroidPermissions/blob/master/apks/banking_set2_qark/com.advantage.RaiffeisenBank/classes_dex2jar/com/thinkdesquared/banking/models/Company.java
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Java
Code
100
324
package com.thinkdesquared.banking.models; import java.util.ArrayList; public class Company { public String accountNumber; public String amountCurrency; public String beneficiaryAddress; private CurrencyModel beneficiaryCurrency; public String beneficiaryName1; public String beneficiaryName2; public Str...
30,252
https://github.com/npocmaka/Windows-Server-2003/blob/master/inetsrv/msmq/src/mqdssvc/topolsoc.cpp
Github Open Source
Open Source
Unlicense
2,021
Windows-Server-2003
npocmaka
C++
Code
551
2,046
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: topolsoc.cpp Abstract: Implementation of sockets for Automatic recognition Author: Lior Moshaiov (LiorM) Ilan Herbst (ilanh) 9-July-2000 --*/ #include "stdh.h" #include <winsock.h> #include <nspapi.h> #include <wsnwlink.h> #include ...
31,064
https://github.com/chick/3d-printer-models/blob/master/dad.scad
Github Open Source
Open Source
Artistic-2.0
null
3d-printer-models
chick
null
Spoken
55
181
difference(){ translate([5,0,5 ]){ rotate([90,0,0]){ rotate_extrude(convexity = 50, $fn = 100) translate([4, 0, 0]) circle(r = 1, $fn = 100); } } translate([5,-2,3]){ cube(size = [5,5,4], center = false); } } tra...
23,494
https://github.com/vsyf/leetcode/blob/master/100_same_tree/Makefile
Github Open Source
Open Source
MIT
2,019
leetcode
vsyf
Makefile
Code
6
19
all: gcc -O2 -o test same_tree.c
51,522
https://github.com/liangd/jsemver/blob/master/src/main/java/com/ghunteranderson/jsemver/Version.java
Github Open Source
Open Source
MIT
2,020
jsemver
liangd
Java
Code
721
1,698
package com.ghunteranderson.jsemver; import java.util.Arrays; import java.util.List; import lombok.AccessLevel; import lombok.EqualsAndHashCode; import lombok.RequiredArgsConstructor; /** * Version models the data parsed from a semantic version string. */ @EqualsAndHashCode @RequiredArgsConstructor(access=AccessLe...
16,710
https://github.com/unbroken-dome/siren-java/blob/master/siren-ap/src/main/java/org/unbrokendome/siren/ap/DefaultProcessingWorkflow.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,017
siren-java
unbroken-dome
Java
Code
76
393
package org.unbrokendome.siren.ap; import org.unbrokendome.siren.ap.codegeneration.CodeGenerator; import org.unbrokendome.siren.ap.model.affordance.AffordanceModel; import org.unbrokendome.siren.ap.model.affordance.AffordanceModelGenerator; import org.unbrokendome.siren.ap.model.controller.ControllerModel; import org....
11,691
https://github.com/llexical/lazy/blob/master/index.js
Github Open Source
Open Source
MIT
null
lazy
llexical
JavaScript
Code
61
162
#!/usr/bin/env node const program = require('commander'); program .version('0.0.1') .command('init', 'allows you to setup your config') .command('goto [name]', 'goes to a repo with your name') .command('code [name]', 'opens vs code for given folder') .command('open [name]', 'opens the project fold...
22,774
https://github.com/xregist/v3s-linux-sdk/blob/master/buildroot-2017.08/package/jsoncpp/jsoncpp.mk
Github Open Source
Open Source
Apache-2.0
null
v3s-linux-sdk
xregist
Makefile
Code
35
175
################################################################################ # # jsoncpp # ################################################################################ JSONCPP_VERSION = 1.8.1 JSONCPP_SITE = $(call github,open-source-parsers,jsoncpp,$(JSONCPP_VERSION)) JSONCPP_LICENSE = Public Domain or MIT JSO...
28,384
https://github.com/gschneider-r7/docker-image-analyzer/blob/master/src/main/java/com/rapid7/container/analyzer/docker/model/json/ManifestJsonV2S1.java
Github Open Source
Open Source
BSD-3-Clause
2,021
docker-image-analyzer
gschneider-r7
Java
Code
524
1,735
package com.rapid7.container.analyzer.docker.model.json; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; import com.rapid7.container.analy...
210
https://github.com/OmarEldalil/laravel-blog/blob/master/resources/views/posts/index.blade.php
Github Open Source
Open Source
MIT
null
laravel-blog
OmarEldalil
PHP
Code
154
741
@extends('main') @section('title', '| All Posts') @section('content') @include('partials.messages') <div class="row"> <div class="col-md-10"> <h1>All Posts</h1> </div> <div class="col-md-2"> <a href="{{route('posts.create')}}" class="btn btn-primary btn-h1-spaci...
51,453
https://github.com/qiuyeyijian/Embed/blob/master/src/UART/UART_发送open和close控制灯亮_使用组帧/Debug/obj/gec.d
Github Open Source
Open Source
MIT
2,020
Embed
qiuyeyijian
Makefile
Code
59
2,023
obj/gec.o: srcc/gec.c \ F:\WorkSpace\AHL-GEC-EXP\Embed\src\UART_发送open和close控制灯亮_使用组帧\04_GEC/gec.h \ F:\WorkSpace\AHL-GEC-EXP\Embed\src\UART_发送open和close控制灯亮_使用组帧\03_MCU/mcu.h \ F:\WorkSpace\AHL-GEC-EXP\Embed\src\UART_发送open和close控制灯亮_使用组帧\03_MCU\startup/MKL36Z4.h \ F:\WorkSpace\AHL-GEC-EXP\Embed\src\UART_发送open和cl...
3,369
https://github.com/AskMeAgain/Event-Meshinery/blob/master/modules/connectors/kafka/meshinery-kafka-connector/src/main/java/io/github/askmeagain/meshinery/connectors/kafka/sources/KafkaConnector.java
Github Open Source
Open Source
MIT
2,022
Event-Meshinery
AskMeAgain
Java
Code
169
759
package io.github.askmeagain.meshinery.connectors.kafka.sources; import com.fasterxml.jackson.databind.ObjectMapper; import io.github.askmeagain.meshinery.connectors.kafka.MeshineryKafkaProperties; import io.github.askmeagain.meshinery.connectors.kafka.factories.KafkaConsumerFactory; import io.github.askmeagain.meshin...
51,627
https://github.com/ArturKovacs/FrameCapturer/blob/master/Plugin/fccore/Encoder/WebM/fcWebMContext.cpp
Github Open Source
Open Source
MIT
2,019
FrameCapturer
ArturKovacs
C++
Code
677
3,154
#include "pch.h" #include "fcInternal.h" #ifdef fcSupportWebM #include "fcWebMInternal.h" #include "fcWebMContext.h" #include "fcWebMWriter.h" #include "fcVorbisEncoder.h" #include "fcVPXEncoder.h" class fcWebMContext : public fcIWebMContext { public: using VideoEncoderPtr = std::unique_ptr<fcIWebMVideoEncoder...
17,344
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Ibotta_com.ibotta.android/smali_classes3/com/launchdarkly/android/LDCountryCode.smali
Github Open Source
Open Source
MIT
2,019
AndroidPolicyAutomation
Andreas237
Smali
Code
14,537
99,868
.class public enum Lcom/launchdarkly/android/LDCountryCode; .super Ljava/lang/Enum; .source "LDCountryCode.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/launchdarkly/android/LDCountryCode$Assignment; } .end annotation .annotation system Ldalvik/annotation/Sig...
35,063
https://github.com/sitMCella/learn-tool/blob/master/backend/src/main/kotlin/de/mcella/spring/learntool/workspace/WorkspaceController.kt
Github Open Source
Open Source
MIT
null
learn-tool
sitMCella
Kotlin
Code
61
330
package de.mcella.spring.learntool.workspace import java.net.URI import org.springframework.http.HttpStatus import org.springframework.http.MediaType import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PostMapping impor...
5,274
https://github.com/Tracklous/react-native-navigation-starter/blob/master/srcRedux/containers/Home.ts
Github Open Source
Open Source
MIT
2,019
react-native-navigation-starter
Tracklous
TypeScript
Code
78
257
import { Dispatch } from 'redux'; import { connect } from 'react-redux'; import Home from '../screens/Home'; import { selectSubreddit } from '../store/selectedSubreddit/actions'; import { addSubreddit, deleteSubreddit } from '../store/subreddits/actions'; type DispatchType = SelectedSubredditAction | SubredditsActio...
9,423
https://github.com/jelly/patternfly-react/blob/master/packages/react-integration/demo-app-ts/src/components/demos/SelectDemo/SelectViewMoreTypeaheadGroupedDemo.tsx
Github Open Source
Open Source
MIT
null
patternfly-react
jelly
TypeScript
Code
325
1,148
import React from 'react'; import { Select, SelectOption, SelectVariant, SelectGroup, StackItem, Title } from '@patternfly/react-core'; /* eslint-disable no-console */ interface TypeAheadOption { value?: string; disabled?: boolean; } /* eslint-disable no-console */ export interface SelectViewMoreTypeaheadGroupedD...
2,572
https://github.com/shahmal1yev/feeles/blob/master/resources/views/contact.blade.php
Github Open Source
Open Source
MIT
null
feeles
shahmal1yev
PHP
Code
187
969
@extends('layouts.master') @section('title', 'Əlaqə') @section('content') <section class='bg-white py-4 p-0 m-0'> <div class='container-fluid'> <div class='row align-items-start justify-content-center p-0 m-0'> <div class='client-feedback-background d-none d-md-block col-md-6 col-lg-5 col-xl-4 p-0 m-0'>...
41,947
https://github.com/atom-chen/M2_CLIENT/blob/master/frameworks/cocos2d-x/tools/bindings-generator/targets/spidermonkey/templates/prelude.c
Github Open Source
Open Source
MIT
2,018
M2_CLIENT
atom-chen
C
Code
8
58
#set generator = $current_class.generator JSClass *jsb_${current_class.underlined_class_name}_class; JSObject *jsb_${current_class.underlined_class_name}_prototype;
36,456
https://github.com/benjaminbear/xmltv-proxy/blob/master/epgdata/channel.go
Github Open Source
Open Source
MIT
null
xmltv-proxy
benjaminbear
Go
Code
105
365
package epgdata import ( "encoding/json" "io/ioutil" "path/filepath" "github.com/benjaminbear/xmltv-proxy/config" ) type Channel struct { ID string `json:"id"` Name string `json:"name"` NameShort string `json:"name_short"` IsPremium bool `json:"is_premium"` ImageSma...
20,099
https://github.com/dan-cummings1/box-ui-elements/blob/master/src/features/message-center/__tests__/MessageCenter.integration.test.js
Github Open Source
Open Source
Apache-2.0
2,020
box-ui-elements
dan-cummings1
JavaScript
Code
502
1,687
// @flow import * as React from 'react'; import { act } from 'react-dom/test-utils'; import { AutoSizer } from 'react-virtualized'; import { mountConnected } from '../../../test-utils/enzyme'; import MessageCenter from '../components/MessageCenter'; import PlainButton from '../../../components/plain-button'; import Me...
29,533
https://github.com/EnigmaDragons/ProjectNeon/blob/master/src/ProjectNeon/Assets/Plugins/com.unity.uiextensions/Runtime/Scripts/ToolTips/ToolTip.cs
Github Open Source
Open Source
BSD-3-Clause
2,023
ProjectNeon
EnigmaDragons
C#
Code
1,116
3,017
/// Credit drHogan /// Sourced from - http://forum.unity3d.com/threads/screenspace-camera-tooltip-controller-sweat-and-tears.293991/#post-1938929 /// updated simonDarksideJ - refactored code to be more performant. /// updated lucasvinbr - mixed with BoundTooltip, should work with Screenspace Camera (non-rotated) and O...
18,575
https://github.com/ceshine/modern_chinese_nlp/blob/master/scripts/wiki_sp_tokenize_json.py
Github Open Source
Open Source
MIT
2,021
modern_chinese_nlp
ceshine
Python
Code
270
1,049
"""SentencePiece Tokenization for Wiki Dataset Example: * python scripts/wiki_sp_tokenize_json.py --word --unigram """ import gzip import json import subprocess from pathlib import Path import sentencepiece as spm import joblib import numpy as np import click from tqdm import tqdm from opencc import OpenCC from wi...
29,752
https://github.com/caleberi/LeetCode/blob/master/python/sumRootToleaf.py
Github Open Source
Open Source
MIT
2,021
LeetCode
caleberi
Python
Code
69
229
def to_decimal(str): total = 0 length = len(str) power = 0 for i in range(length): idx = length-1-i total += str[idx] * (2**power) power += 1 return total def sumRootToLeaf(root): numbers = [] string = [] sumRootToLeafHelper(root, string, numbers) return sum...
44,699
https://github.com/eisoku9618/Portus/blob/master/db/migrate/20171213093923_add_status_and_data_to_registry_event.rb
Github Open Source
Open Source
Apache-2.0
null
Portus
eisoku9618
Ruby
Code
18
66
class AddStatusAndDataToRegistryEvent < ActiveRecord::Migration def change add_column :registry_events, :status, :integer, default: RegistryEvent.statuses[:done] add_column :registry_events, :data, :text end end
20,086
https://github.com/100RABHpy/CSE231-Operating-System/blob/master/Assignments/A4/A4_2019113.c
Github Open Source
Open Source
MIT
null
CSE231-Operating-System
100RABHpy
C
Code
307
1,110
//Name :Sourabh Saini // RollNo = 2019113 #include <pthread.h> #include <semaphore.h> #include <stdio.h> // Section 1: Setting up all the variable and constant required for program #define noOfPhilosopher 5 #define ready 2 #define wantToEat 1 #define inProcess 0 //struct for my_semaphore typedef struct { int...
27,898
https://github.com/globocom/globomap-ui/blob/master/server/controllers/tools.js
Github Open Source
Open Source
Apache-2.0
2,022
globomap-ui
globocom
JavaScript
Code
392
1,167
/* Copyright 2018 Globo.com 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 writing, software distr...
6,503
https://github.com/keshavsavva/QuaranStream/blob/master/db/schema.sql
Github Open Source
Open Source
BSD-3-Clause-Attribution
2,020
QuaranStream
keshavsavva
SQL
Code
8
21
drop database if exists quaranstream_db; create database quaranstream_db;
887
https://github.com/wei0831/learngo/blob/master/quicksort.go
Github Open Source
Open Source
MIT
null
learngo
wei0831
Go
Code
146
322
package learngo /* QuickSort sort the input array Given input int array 8 1 3 2 5 4 7 6 ^ pivot Partitioning ----------> 1 3 2 5 4 [8] 7 6 swap [8] and 6 pivot 1 3 2 5 4 [6] 7 8 do begin <- [6] and [6] -> end */ func QuickSort(a []int) { if a == nil { return } qSort(a, 0, len(a)-1) } func qSort...
37,177
https://github.com/road0001/kitchensynclib/blob/master/src/org/as3lib/kitchensync/action/loading/KSURLLoader.as
Github Open Source
Open Source
Unlicense
2,021
kitchensynclib
road0001
null
Spoken
484
1,427
package org.as3lib.kitchensync.action.loading { import flash.errors.IOError; import flash.events.Event; import flash.events.IOErrorEvent; import flash.net.URLLoader; import flash.net.URLRequest; import org.as3lib.kitchensync.action.*; /** * A KitchenSync action version of a URLLoader. Loads data from a URL...
53,454
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/a/activex-powerpoint/src/main/scala/typingsSlinky/activexPowerpoint/PowerPoint/Cell.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
238
912
package typingsSlinky.activexPowerpoint.PowerPoint import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait Cell extends StObject { val Application: typingsSlinky....
5,145
https://github.com/Pachec00/simple-to-do-list/blob/master/public/index.js
Github Open Source
Open Source
MIT
2,021
simple-to-do-list
Pachec00
JavaScript
Code
399
1,518
//Document is the DOM can be accessed in the console with document.window. // Tree is from the top, html, body, p etc. //Problem: User interaction does not provide the correct results. //Solution: Add interactivity so the user can manage daily tasks. //Break things down into smaller steps and take each step at a time....
4,601
https://github.com/leventyayla/TeknoSatis-Codeigniter/blob/master/FTP/application/models/SiteAyarModel.php
Github Open Source
Open Source
Apache-2.0
2,020
TeknoSatis-Codeigniter
leventyayla
PHP
Code
35
153
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class SiteAyarModel extends CI_Model { public function __construct() { parent::__construct(); $this->load->database(); } public function ayarlar_getir() { return $this->db->select("*")->from("ayarl...
39,677
https://github.com/deveshpatel0101/data_structures_algorithms/blob/master/algorithms/graphs/bellman_ford/bellman_ford.go
Github Open Source
Open Source
MIT
2,021
data_structures_algorithms
deveshpatel0101
Go
Code
629
1,759
package main // Note: Adjacency list representation of graph was already implemented by me in previous graphs section. Hence I have // modified few things which converts this adjacency list to adjacency matrix and then the bellman ford algorithm is // implemented. However you can directly take user inputs and add it i...
8,939
https://github.com/aalto-trafficsense/regular-routes-client/blob/master/regularroutes/src/main/java/fi/aalto/trafficsense/regularroutes/backend/parser/LocationData.java
Github Open Source
Open Source
MIT
2,016
regular-routes-client
aalto-trafficsense
Java
Code
303
867
package fi.aalto.trafficsense.regularroutes.backend.parser; import com.google.common.base.Optional; import com.google.gson.IJsonObject; import com.google.gson.annotations.SerializedName; // Review session: Model object used by parser and pipeline public final class LocationData { private static final String KEY_...
3,872
https://github.com/jayeshchoudhari/tick/blob/master/tick/inference/base/__init__.py
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,017
tick
jayeshchoudhari
Python
Code
25
91
# License: BSD 3 clause from .learner_optim import LearnerOptim from .learner_glm import LearnerGLM from .learner_robust_glm import LearnerRobustGLM from .learner_hawkes_param import LearnerHawkesParametric from .learner_hawkes_noparam import LearnerHawkesNoParam
49,738
https://github.com/iantal/AndroidPermissions/blob/master/apks/playstore_apps/com_spotify_music/app/smali_classes2/fvc.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
46
185
.class public final Lfvc; .super Ljava/lang/Object; .source "SourceFile" # direct methods .method public static a(Lfvp;Lfvf;)Lftm; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lfvp<", "*>;", "Lfvf;", ")", ...
30,046
https://github.com/davidfestal/ceylon-gwt/blob/master/ceylon.interop.gwt.runtime/resource/ceylon/interop/gwt/runtime/emulation/ceylon/language/empty_.java
Github Open Source
Open Source
Apache-2.0
2,017
ceylon-gwt
davidfestal
Java
Code
57
223
package ceylon.language; import com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor; public final class empty_ implements java.io.Serializable, com.redhat.ceylon.compiler.java.runtime.model.ReifiedType, Empty { private static final long serialVersionUID = 1L; private static Empty instance = ...
4,057
https://github.com/nguyentruongky/firebase-localization/blob/master/public/js/languages/dialog-profile.js
Github Open Source
Open Source
MIT
2,018
firebase-localization
nguyentruongky
JavaScript
Code
54
270
app.controller(DIALOG_PROFILE, function($scope, ui) { $scope.form = { password: '', passwordConfirmation: '' } $scope.open = function() { $scope.form.password = '' $scope.form.passwordConfirmation = '' ui.openDialog(DIALOG_PROFILE) } $scope.onCopyToken = function() { const input = $('#input-token'...
56,135
https://github.com/CybexDex/CybexWeb/blob/master/app/components/Edge/EdgeRank.tsx
Github Open Source
Open Source
MIT
2,019
CybexWeb
CybexDex
TypeScript
Code
510
1,752
import * as React from "react"; import { EdgePanel, EdgeContentWrapper } from "./EdgePanel"; import { EdgeActions } from "../../actions/EdgeActions"; import { connect } from "alt-react"; import { EdgeStore, EdgeState } from "../../stores/EdgeStore"; import Translate from "react-translate-component"; import { Edge } fro...
34,921
https://github.com/Corey-Wademan/Hangry/blob/master/client/node_modules/@iconify-icons/bi/chevron-bar-right.js
Github Open Source
Open Source
MIT
2,021
Hangry
Corey-Wademan
JavaScript
Code
50
176
var data = { "body": "<g fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M4.146 3.646a.5.5 0 0 0 0 .708L7.793 8l-3.647 3.646a.5.5 0 0 0 .708.708l4-4a.5.5 0 0 0 0-.708l-4-4a.5.5 0 0 0-.708 0zM11.5 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13a.5.5 0 0 1 .5-.5z\"/></g>", "width": 16, "height": 16 }; export default dat...
40,587
https://github.com/EricLi404/go-demo/blob/master/utils/copy/copy.go
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, MIT
2,022
go-demo
EricLi404
Go
Code
45
175
package copy import ( "bytes" "encoding/gob" "github.com/jinzhu/copier" ) // 基于序列化和反序列化的深度拷贝 func DeepCopy(src, dst interface{}) error { var buf bytes.Buffer if err := gob.NewEncoder(&buf).Encode(src); err != nil { return err } return gob.NewDecoder(bytes.NewBuffer(buf.Bytes())).Decode(dst) } // 基于反射的深度拷贝 f...
34,987
https://github.com/Dav0x0/Pustaka-sekolah/blob/master/app/Views/adminPustaka/Csoon.php
Github Open Source
Open Source
MIT
null
Pustaka-sekolah
Dav0x0
PHP
Code
15
67
<?= $this->extend('layout/adminPustaka'); ?> <?= $this->section('Admin'); ?> <div class="container"> <h1 class="display-1">Comming Soon</h1> </div> <?= $this->endSection(); ?>
32,458
https://github.com/VRGroupRWTH/Zytoskelett/blob/master/launcher.meta
Github Open Source
Open Source
BSD-3-Clause
2,022
Zytoskelett
VRGroupRWTH
Unity3D Asset
Code
14
53
{ "USER-DATA": { "DESCRIPTION": "" }, "CI-DATA": { "CI-DATA-ENTRIES": "WILL BE REPLACED" } }
54,101
https://github.com/bvkatwijk/code-tools/blob/master/src/app/classes/whitespace/whitespace.ts
Github Open Source
Open Source
MIT
null
code-tools
bvkatwijk
TypeScript
Code
37
100
/** * Helper class for verifying whitespaces */ export class Whitespace { /** * Convert supplied text to displayed whitespace characters */ show(value: string): string { return value .replace(/\n/g, '\\n') .replace(/\t/g, '\\t') .replace(/ /g, '+'); ...
24,569
https://github.com/monk0062006/slap/blob/master/slap_dj/app/migrations/0005_auto_20201202_1232.py
Github Open Source
Open Source
BSD-3-Clause
2,020
slap
monk0062006
Python
Code
48
269
# Generated by Django 3.1.3 on 2020-12-02 12:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_spotifytrack'), ] operations = [ migrations.AddField( model_name='youtubevideo', name='channel_title', ...
6,332
https://github.com/relayjs/relay-devtools/blob/master/src/devtools/views/StoreInspector/EventLogger/StoreEventDisplay.js
Github Open Source
Open Source
MIT
2,023
relay-devtools
relayjs
JavaScript
Code
691
2,165
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import React, { useState } from 'react'; import RecordList from '../RecordList'; import TabBar from '../StoreTabBar'; ...
14,411
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/w/winrt/src/main/scala/typingsSlinky/winrt/Windows/Graphics/Printing/PrintTaskProgressingEventArgs.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
38
180
package typingsSlinky.winrt.Windows.Graphics.Printing import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait PrintTaskProgressingEventArgs extends IPrintTaskProgressi...
31,932
https://github.com/Phinome/vue-awesome/blob/master/src/icons/brands/artstation.js
Github Open Source
Open Source
MIT
null
vue-awesome
Phinome
JavaScript
Code
38
182
import { register } from '../../components/register' register({ 'brands/artstation': { width: 512, height: 512, paths: [ { d: 'M2 377.4h315.1l59.2 102.6h-285.4 0c-17.5 0-38-12.7-45.9-28.3zM501.8 350c19 29.4-0.1 55.9-2 59.1l-40.7 70.5-257.3-447.6h88.4 0c17.1 0 37.4 12.2 45.4 27.3zM275 304.5h...
18,826
https://github.com/hamarb123/dotnet-api-docs/blob/master/samples/snippets/visualbasic/VS_Snippets_CLR/DateTime.GetDateTimeFormats/VB/class1.vb
Github Open Source
Open Source
CC-BY-4.0, MIT
2,022
dotnet-api-docs
hamarb123
Visual Basic
Code
282
787
Class Class1 Public Shared Sub Main() ShowDefaultFormats() Console.WriteLine("----") ShowDefaultFrenchFormats() Console.WriteLine("----") ShowDefaultDFormat() Console.WriteLine("----") ShowFrenchdFormat() End Sub Private Shared Sub ShowDefaultFormats() ' <Snipp...
43,937
https://github.com/alanmgg/PortafolioReact/blob/master/src/components/Footer/Footer.jsx
Github Open Source
Open Source
MIT
null
PortafolioReact
alanmgg
null
Spoken
128
622
import s from './Footer.module.scss'; import { AiFillGithub } from 'react-icons/ai'; import { FaFacebookSquare, FaLinkedinIn, FaTelegramPlane, FaInstagram, FaBehance } from 'react-icons/fa'; const Footer = () => { let date = new Date(); let year = date.getFullYear(); return ( <div className={s.footer}> ...
18,325
https://github.com/CraftAcademy/slow_food_sinatra_april2017/blob/master/features/step_definitions/protected_area_steps.rb
Github Open Source
Open Source
MIT
2,017
slow_food_sinatra_april2017
CraftAcademy
Ruby
Code
18
49
Given(/^there is a user with username "([^"]*)" and password "([^"]*)"$/) do |username, password| User.create(username: username, password: password) end
56,016
https://github.com/lefevbre-organization/eShopOnContainers/blob/master/src/Web/POC/test-nextcloud/nextcloud/apps/dav/l10n/zh_TW.js
Github Open Source
Open Source
AGPL-3.0-only, MIT
2,023
eShopOnContainers
lefevbre-organization
JavaScript
Code
460
1,607
OC.L10N.register( "dav", { "Calendar" : "日曆", "Todos" : "待辦事項", "Personal" : "個人", "{actor} created calendar {calendar}" : "{actor} 建立了日曆 {calendar}", "You created calendar {calendar}" : "您建立了日曆 {calendar}", "{actor} deleted calendar {calendar}" : "{actor} 刪除了日曆 {calendar}", "You del...
7,151
https://github.com/mesosphere/usergrid/blob/master/portal/tests/protractor/forgotPassword.spec.js
Github Open Source
Open Source
Apache-2.0
2,016
usergrid
mesosphere
JavaScript
Code
75
345
'use strict'; var util = require('./util'); describe('Forgot Password', function () { beforeEach(function(){ browser.driver.get(browser.baseUrl + ''); browser.waitForAngular(); util.logout(); }); it('should have correct iframe url', function () { if(browser.params.useSso){ //this will not wo...
15,444
https://github.com/Otus-DevOps-2019-08/Vendin_microservices/blob/master/src/comment/Dockerfile.1
Github Open Source
Open Source
MIT
null
Vendin_microservices
Otus-DevOps-2019-08
null
Spoken
51
212
FROM ruby:2.2-alpine ENV APP_HOME /app WORKDIR /$APP_HOME COPY . /$APP_HOME RUN apk add --update alpine-sdk \ && apk add build-base ADD Gemfile* $APP_HOME/ RUN bundle install ADD . $APP_HOME ARG POST_SERVICE_HOST_ARG=post ARG POST_SERVICE_PORT=5000 ARG COMMENT_SERVICE_HOST=comment ARG COMMENT_SERVICE_PORT=9292 ...
12,226
https://github.com/pmglab/kgg/blob/master/src/net/sf/samtools/AbstractSAMHeaderRecord.java
Github Open Source
Open Source
MIT
null
kgg
pmglab
Java
Code
303
594
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.sf.samtools; import java.util.HashMap; import java.util.Map; import java.util.Set; /** * Base class for the various concrete records in a SAM header, providing uniform * access to the attributes. */ pub...
43,945
https://github.com/matyioe92/SlinkyTyped/blob/master/g/googleapis/src/main/scala/typingsSlinky/googleapis/v32Mod/dfareportingV32/SchemaPricing.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
matyioe92
Scala
Code
359
1,079
package typingsSlinky.googleapis.v32Mod.dfareportingV32 import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} /** * Pricing Information */ @js.native trait SchemaPricing extends ...
15,305
https://github.com/introvertsatwork/introvertsatwork.com/blob/master/site/snippets/interviews.php
Github Open Source
Open Source
PHP-3.0, PHP-3.01
null
introvertsatwork.com
introvertsatwork
PHP
Code
68
292
<div class="row"> <div class="col-md-12"> <h2></h2> </div> </div> <ul class="teaser cf"> <div class="row"> <?php foreach(page('interviews')->children()->visible() as $interview): ?> <div class="col-md-4 thumbs"> <li> <?php if($image = $interview->images()->sortBy('sort', '...
232
https://github.com/NCKU-CIAL/tutorials/blob/master/utils/Makefile
Github Open Source
Open Source
Apache-2.0
2,022
tutorials
NCKU-CIAL
Makefile
Code
116
424
BUILD_DIR = build PCAP_DIR = pcaps LOG_DIR = logs P4C = p4c-bm2-ss P4C_ARGS += --p4runtime-files $(BUILD_DIR)/$(basename $@).p4.p4info.txt RUN_SCRIPT = ../../utils/run_exercise.py ifndef TOPO TOPO = topology.json endif source = $(wildcard *.p4) compiled_json := $(source:.p4=.json) ifndef DEFAULT_PROG DEFAULT_PROG ...
40,409
https://github.com/bilouw/graphiti-openapi/blob/master/spec/models/graphiti/open_api/generator_spec.rb
Github Open Source
Open Source
MIT
2,022
graphiti-openapi
bilouw
Ruby
Code
52
174
require "rails_helper" RSpec.describe Graphiti::OpenAPI::Generator do subject(:instance) { described_class.new } its(:resources) { is_expected.to be_a Graphiti::OpenAPI::Resources } its(:endpoints) { is_expected.to be_a Hash } its(:types) { is_expected.to be_a Hash } describe "#to_openapi" do subject(:...
37,805
https://github.com/tomekwier/fConcBook/blob/master/Common/Functional.cs/DelegateEx.cs
Github Open Source
Open Source
MIT
2,022
fConcBook
tomekwier
C#
Code
114
296
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Functional { public static partial class Functional { public static Func<Unit> ToFunc(this Action action) => () => { action(); return Unit.Default; }; public st...
22,718
https://github.com/BuildEmpire/resque-job-stats/blob/master/lib/resque/plugins/job_stats.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
resque-job-stats
BuildEmpire
Ruby
Code
51
290
require 'resque' require 'resque/plugins/job_stats/performed' require 'resque/plugins/job_stats/enqueued' require 'resque/plugins/job_stats/failed' require 'resque/plugins/job_stats/duration' require 'resque/plugins/job_stats/timeseries' require 'resque/plugins/job_stats/statistic' require 'resque/plugins/job_stats/his...
1,535
https://github.com/bounouhmahmoud/ensi/blob/master/app/_client/index.ts
Github Open Source
Open Source
MIT
2,018
ensi
bounouhmahmoud
TypeScript
Code
8
19
export * from './search.component' export * from './history.component'
16,257
https://github.com/mrcslws/ricotta/blob/master/js/src/ricotta.js
Github Open Source
Open Source
BSD-3-Clause
2,017
ricotta
mrcslws
JavaScript
Code
1,229
3,657
import * as d3 from "d3"; import * as d3ScaleChromatic from "d3-scale-chromatic"; // Use a single color scale for every diagram. var globalColor = null; function insertDiagram2(element, csvText, pixelsPerUnit, sortOrders, colorMapping) { let color; if (colorMapping) { let ks = [], vs = []; for ...
40,285
https://github.com/nedlukies/AliDatatableBundle/blob/master/Util/Datatable.php
Github Open Source
Open Source
MIT
null
AliDatatableBundle
nedlukies
PHP
Code
1,599
5,337
<?php namespace Ali\DatatableBundle\Util; use Ali\DatatableBundle\Util\Factory\Query\MongodbDoctrineBuilder; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Doctrine\ORM\Query; use Doctrine\ORM\Query\Exp...
8,682
https://github.com/SuperOyuncuNW/vds/blob/master/libs_common/vds_transactions/transactions/user_message_transaction.h
Github Open Source
Open Source
MIT
2,018
vds
SuperOyuncuNW
C
Code
197
884
#ifndef __VDS_FILE_MANAGER_FILE_ADD_TRANSACTION_H_ #define __VDS_FILE_MANAGER_FILE_ADD_TRANSACTION_H_ /* Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com All rights reserved */ #include <unordered_map> #include "binary_serialize.h" #include "channel_message_id.h" #include "json_object.h" #include "json_parser.h" ...
25,433
https://github.com/codereviewvideos/rector/blob/master/rules/psr4/tests/Rector/MultipleClassFileToPsr4ClassesRector/Expected/MyInterface.php
Github Open Source
Open Source
MIT
null
rector
codereviewvideos
PHP
Code
8
51
<?php declare(strict_types=1); namespace Rector\PSR4\Tests\Rector\MultipleClassFileToPsr4ClassesRector\Expected; interface MyInterface { }
18,698
https://github.com/dillon-giacoppo/intellij/blob/master/aswb/tests/integrationtests/com/google/idea/blaze/android/functional/BlazeModuleSystemDependentLibrariesIntegrationTest.java
Github Open Source
Open Source
Apache-2.0
2,020
intellij
dillon-giacoppo
Java
Code
715
3,545
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
39,554
https://github.com/investteam-bg/SoftUni-Projects/blob/master/C# Development/02 C# - Fundamentals/14.Text Processing - Exercise/01. Valid Usernames/Program.cs
Github Open Source
Open Source
MIT
2,021
SoftUni-Projects
investteam-bg
C#
Code
108
319
using System; using System.Linq; using System.Collections.Generic; using System.Globalization; using System.Numerics; using System.Text; namespace _01._Valid_Usernames { class Program { static void Main(string[] args) { string[] userNames = Console.ReadLine().Split(", "); ...
42,774
https://github.com/sagar027/azure-sdk-for-java/blob/master/sdk/schemaregistry/azure-data-schemaregistry-avro/src/main/java/com/azure/data/schemaregistry/avro/AvroSchemaRegistryUtils.java
Github Open Source
Open Source
MIT
null
azure-sdk-for-java
sagar027
Java
Code
755
2,110
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.data.schemaregistry.avro; import com.azure.core.util.logging.ClientLogger; import com.azure.core.util.serializer.TypeReference; import org.apache.avro.Schema; import org.apache.avro.generic.GenericContain...
20,568
https://github.com/jurtn/catima/blob/master/app/serializers/api/v1/translation_serialization.rb
Github Open Source
Open Source
Apache-2.0
2,020
catima
jurtn
Ruby
Code
13
53
module API::V1::TranslationSerialization private def translation_hash(data) data&.transform_keys { |key| key[/_([^_]+)$/, 1] } end end
50,981
https://github.com/latinbox/WebFacturaProject/blob/master/var/cache/dev/appDevDebugProjectContainerUrlMatcher.php
Github Open Source
Open Source
MIT, BSD-3-Clause
2,021
WebFacturaProject
latinbox
PHP
Code
741
3,274
<?php use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\RequestContext; /** * This class has been auto-generated * by the Symfony Routing Component. */ class appDevDebugProjectContainerUrlMatcher exten...
50,295
https://github.com/kant/vframe/blob/master/vframe/vframe/settings/vframe_cfg.py
Github Open Source
Open Source
MIT
2,021
vframe
kant
Python
Code
574
2,509
import os from os.path import join import logging import collections import cv2 as cv from vframe.settings import types from vframe.models.video_item import VideoQuality from vframe.utils import click_utils # ----------------------------------------------------------------------------- # Enun lists used for custom ...
5,032
https://github.com/TomPradat/frontend/blob/master/src/scenes/service-upsert/NewService/index.js
Github Open Source
Open Source
MIT
2,019
frontend
TomPradat
JavaScript
Code
6
13
export { default } from './NewServiceFormContainer';
14,738
https://github.com/x-stream/xstream/blob/master/xstream/src/test/com/thoughtworks/xstream/converters/extended/PropertyEditorCapableConverterTest.java
Github Open Source
Open Source
BSD-3-Clause
2,023
xstream
x-stream
Java
Code
382
1,032
/* * Copyright (C) 2007, 2018 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 20. September 2007 by Joerg Schaible */ package co...
23,707
https://github.com/anil248su/salesforcestreaming/blob/master/LineItemStream.cls
Github Open Source
Open Source
MIT
2,020
salesforcestreaming
anil248su
Apex
Code
481
1,784
public class LineItemStream { //number of push events per callout public static final Integer PUSH_EVENT_SLICE_SIZE = 250; //number of line items in each streaming notification public static final Integer LI_SLICE_SIZE = 15; // public static String generateRandomString(Integer len) { Integer[] chars = new ...
44,199
https://github.com/PHSI-supplements/labs/blob/master/09.ssbc/fall2020/distribution/Makefile
Github Open Source
Open Source
Apache-2.0
null
labs
PHSI-supplements
Makefile
Code
62
221
CC = gcc CFLAGS = -O0 -std=c99 -Wall DEPS = ssbc.h LIBS = ~cse231/ssbc.a -lpthread -lncurses %.o: %.c $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) all: demo warmup poll-calculator interrupt-calculator demo: demo.o $(CC) -o $@ $^ $(CFLAGS) $(LIBS) warmup: warmup.o $(CC) -o $@ $^ $(CFLAGS) $(LIBS) poll-calculato...
54,814
https://github.com/iglunix/igluno/blob/master/osdep/shell.c
Github Open Source
Open Source
Apache-2.0
2,021
igluno
iglunix
C
Code
344
1,277
#if !defined(lint) && !defined(DOS) static char rcsid[] = "$Id: shell.c 788 2007-11-06 23:51:13Z hubert@u.washington.edu $"; #endif /* * ======================================================================== * Copyright 2006-2007 University of Washington * * Licensed under the Apache License, Version 2.0 (the "L...
45,404
https://github.com/mavalur/sandwich/blob/master/src/main/java/com/sudo/sandwich/services/ApplicationService.java
Github Open Source
Open Source
Unlicense
null
sandwich
mavalur
Java
Code
32
127
package com.sudo.sandwich.services; import com.sudo.sandwich.json.domain.Application; import java.util.Collection; /** * Created by satishterala on 12/21/15. */ public interface ApplicationService { public Application getApplication(String applId); Collection<Application> findAllApplications(); publ...
9,049
https://github.com/usemast/vue-formulate/blob/master/src/inputs/FormulateInputTextArea.vue
Github Open Source
Open Source
MIT
2,022
vue-formulate
usemast
Vue
Code
47
282
<template> <div :class="context.classes.element" data-type="textarea" > <FormulateSlot name="prefix" :context="context" > <component :is="context.slotComponents.prefix" v-if="context.slotComponents.prefix" :context="context" /> </FormulateSlot> ...
40,622
https://github.com/macisamuele/rust-swagger-validator/blob/master/Makefile
Github Open Source
Open Source
MIT
2,022
rust-swagger-validator
macisamuele
Makefile
Code
153
553
PYTHON_MODULE_ROOT := python/rust_swagger_validator define check_env_variable $(if $(strip $($1)),,$(error "$1" ENV VARIABLE IS REQUIRED!)) endef ifndef EDITOR ifneq ("$(wildcard /etc/alternatives/editor)","") EDITOR := /etc/alternatives/editor else EDITOR := vi endif endif venv: requirements-dev.txt setup.cf...
15,921
https://github.com/kalicatmix/usefulbox/blob/master/src/com/example/usefulbox/SpeechActivity.java
Github Open Source
Open Source
Apache-2.0
null
usefulbox
kalicatmix
Java
Code
69
326
package com.example.usefulbox; import android.app.Activity; import android.media.AudioManager; import android.media.AudioTrack; import android.media.MediaPlayer; import android.media.MediaPlayer.OnPreparedListener; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.view.View; pu...
43,207
https://github.com/ljean/coop_cms/blob/master/coop_cms/migrations/0001_initial.py
Github Open Source
Open Source
BSD-3-Clause
2,022
coop_cms
ljean
Python
Code
773
4,538
# -*- coding: utf-8 -*- from django.db import models, migrations import coop_cms.settings import coop_cms.models import django.utils.timezone import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('sites', '0001_initial'), ('contenttypes', '0002_remove_conten...
48,544
https://github.com/Andi-IM/uts_1911082006/blob/master/src/pja3_24222020/BukuAlamat/recordBukuAlamat.java
Github Open Source
Open Source
Apache-2.0
2,020
uts_1911082006
Andi-IM
Java
Code
122
416
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pja3_24222020.BukuAlamat; import java.io.BufferedReader; import java.io.InputStreamReader; /** * * @author Andi */ public ...
30,412
https://github.com/antodippo/mappics/blob/master/tests/Application/CommandHandler/RetrieveImageGeoDescriptionHandlerTest.php
Github Open Source
Open Source
MIT
2,022
mappics
antodippo
PHP
Code
79
449
<?php namespace App\Tests\Application\CommandHandler; use App\Application\CommandHandler\RetrieveImageGeoDescriptionHandler; use App\Application\Service\GeoInfoRetriever; use App\Domain\Command\RetrieveImageGeoDescription; use App\Domain\Entity\Image; use App\Domain\Entity\GeoDescription; use App\Domain\Repository\Im...
52,574
https://github.com/DouglasSherk/Clapp/blob/master/db/migrate/20140301221246_create_financials.rb
Github Open Source
Open Source
Apache-2.0
2,014
Clapp
DouglasSherk
Ruby
Code
644
1,855
require 'csv' class CreateFinancials < ActiveRecord::Migration def up create_table :financials do |t| t.string :bn t.string :fpe t.string :form t.string :f4020 t.string :f4050 t.decimal :f4100, :precision => 14, :scale => 2 t.decimal :f4110, :precision => 14, :scale => 2...
1,224
https://github.com/benbarkay/fxi18n/blob/master/src/main/java/com/benbarkay/fxi18n/RepositoryUpdater.java
Github Open Source
Open Source
MIT
null
fxi18n
benbarkay
Java
Code
78
302
package com.benbarkay.fxi18n; import javafx.beans.property.Property; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import java.lang.ref.WeakReference; import java.util.Locale; class RepositoryUpdater implements ChangeListener<Locale> { private final Class cls; private f...
20,698