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/RatchetModding/clank/blob/master/src/main/java/net/hashsploit/clank/server/RTMessage.java
Github Open Source
Open Source
MIT
2,021
clank
RatchetModding
Java
Code
167
442
package net.hashsploit.clank.server; import java.nio.ByteBuffer; import java.nio.ByteOrder; public class RTMessage implements IRTMessage { private final RTMessageId id; private final short length; private final byte[] payload; /** * Represents a single plain-text raw data packet from a Medius client. * @p...
32,956
https://github.com/xight/karabiner/blob/master/src/core/kext/VirtualKey/VK_WAIT.cpp
Github Open Source
Open Source
Unlicense
null
karabiner
xight
C++
Code
63
233
#include <IOKit/IOLib.h> #include "EventOutputQueue.hpp" #include "VK_WAIT.hpp" namespace org_pqrs_Karabiner { bool VirtualKey::VK_WAIT::handle(const Params_KeyboardEventCallBack& params) { int milliseconds = 0; /**/ if (params.key == KeyCode::VK_WAIT_10MS) { milliseconds = 10; } else if (params.key == Key...
24,418
https://github.com/patrikperssonmath/MDPN/blob/master/Converters/convert_rgbd_to_sfm.py
Github Open Source
Open Source
MIT
2,022
MDPN
patrikperssonmath
Python
Code
1,085
4,177
# MIT License # Copyright (c) 2020 Patrik Persson and Linn Öström # 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...
10,956
https://github.com/st-user/three-space/blob/master/src/rtc/FileTransferer.js
Github Open Source
Open Source
MIT
2,021
three-space
st-user
JavaScript
Code
110
419
import Logger from '../utils/Logger.js'; export default class FileTransferer { #file; #rtcConnection; constructor(file, rtcConnection) { this.#file = file; this.#rtcConnection = rtcConnection; } startTransfer() { Logger.debug('Remote peer accept my file so start sending ...
35,211
https://github.com/wyrover/vaca/blob/master/include/Vaca/ClientLayout.h
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,012
vaca
wyrover
C++
Code
339
611
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2010 David Capello // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must reta...
13,258
https://github.com/jimbaemon/tripko/blob/master/back-end/tripko/src/main/java/runa/hoppers/tripko/controller/ImageUploadController.java
Github Open Source
Open Source
MIT
null
tripko
jimbaemon
Java
Code
46
247
package runa.hoppers.tripko.controller; import java.util.List; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestPart; import org.springframework.web.bind.annotat...
47,842
https://github.com/Coolist/fitness-brand/blob/master/src/assets/styles/elements/_breakpoints.scss
Github Open Source
Open Source
MIT
2,015
fitness-brand
Coolist
SCSS
Code
27
71
@mixin breakpoint($class) { @if $class == small { @media (max-width: 1440px) { @content; } } @else { @warn "Breakpoint mixin supports: xs, sm, md, lg"; } }
22,750
https://github.com/lotusczp/Tmctl-Plugin/blob/master/TmctlPlugin.pro
Github Open Source
Open Source
MIT
2,021
Tmctl-Plugin
lotusczp
null
Spoken
242
791
#------------------------------------------------- # # Project created by QtCreator 2020-08-03T16:42:17 # #------------------------------------------------- QT += widgets network TARGET = TmctlPlugin TEMPLATE = lib DEFINES += TMCTLPLUGIN_LIBRARY # The following define makes your compiler emit warnings if you ...
28,911
https://github.com/danyfang/SourceCode/blob/master/java/leetcode/CardFlipping.java
Github Open Source
Open Source
MIT
null
SourceCode
danyfang
Java
Code
109
374
//Leetcode problem 822 Card Flipping Game //Solution written by Xuqiang Fang on 31 May, 2018 import java.util.ArrayList; import java.util.List; import java.util.HashMap; import java.util.Map; import java.util.HashSet; import java.util.Set; import java.util.PriorityQueue; import java.util.Stack; import java.util.Queue;...
9,070
https://github.com/YifanLi/GraphPartition/blob/master/src/PartitioningExperiments_factor.scala
Github Open Source
Open Source
Apache-2.0
2,021
GraphPartition
YifanLi
Scala
Code
614
2,585
import org.apache.spark._ import org.apache.spark.graphx._ import org.apache.spark.rdd.RDD import org.apache.spark.storage.StorageLevel import org.apache.spark.SparkContext._ import collection.mutable.HashMap import scala.util.Random import scala.collection.mutable.ArrayBuffer import scala.collection.mutable.Set import...
11,153
https://github.com/fuse-open/fuselibs/blob/master/Tests/ManualTests/ManualTestingApp/BackButton/BackButtonView.ux.uno
Github Open Source
Open Source
MIT
2,023
fuselibs
fuse-open
null
Spoken
90
339
using Uno; using Fuse; using Fuse.Controls; using Fuse.Elements; using Uno.Platform; public partial class BackButtonView { bool _passed = false; bool _handlerInitialized = false; void EnableBack(object s, object a) { _passed = false; _handlerInitialized = true; Uno.Platform.EventSources.HardwareKeys.KeyD...
51,199
https://github.com/ryuuseijin/swiftly/blob/master/test/InMemoryWorkflowRunner.test.ts
Github Open Source
Open Source
MIT
2,020
swiftly
ryuuseijin
TypeScript
Code
79
221
import { Workflow, TaskRunnable, InMemoryWorkflowRunner } from '../src'; describe('InMemoryWorkflowRunner', () => { it('runs workflows', async () => { const workflow: Workflow<number, { MyTask: string }> = { name: 'MyWorkflow', repeatConditionFn: null, runnables: [ ...
229
https://github.com/nielsnuebel/generator-kittn-joomla/blob/master/generators/app/templates/src/skeletons/starterpack/wordpress/structure/templates/_components/cardSlider.php
Github Open Source
Open Source
MIT
2,018
generator-kittn-joomla
nielsnuebel
PHP
Code
355
1,259
<?php /** * Card Slider * =========== * Build a Card Slider with flickity */ // Default Vars $classnameCardSlider = 'c-slider'; $ratio = get_sub_field('ratio'); $style = get_sub_field('style'); $slideCount = count( get_sub_field('slides') ); $responsive = get_sub_field('responsive') ? '-r' : ''; $spaceBetween = g...
13,872
https://github.com/checo9514/StockManagement/blob/master/Stock management/Stock management/ClientApp/src/components/products/admin.js
Github Open Source
Open Source
MIT
null
StockManagement
checo9514
JavaScript
Code
130
526
import React, { Component } from 'react'; import { Button } from 'react-bootstrap'; import '../stylesheet/main.css'; import { Create } from './create'; import { Update } from './edit'; import { Delete } from './delete'; export class Admin extends Component { constructor(props) { super(props); this...
2,603
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/f/flex-scopes:1.0.6/Gemfile
Github Open Source
Open Source
MIT
2,015
gemstat
remore
Ruby
Code
2
6
gem 'flex'
6,300
https://github.com/BRMcLaren/openenclave/blob/master/3rdparty/musl/libc-test/src/functional/Makefile
Github Open Source
Open Source
MIT, GPL-1.0-or-later, BSD-3-Clause, OpenSSL, Apache-2.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-mit-nagy, LicenseRef-scancode-other-permissive, BSD-2-Clause
2,021
openenclave
BRMcLaren
Makefile
Code
11
41
all: %: FORCE $(MAKE) -C ../.. B=src src/functional/$@ .SUFFIXES: FORCE: ;
2,949
https://github.com/YrenR/react-snake-nagini/blob/master/src/App.tsx
Github Open Source
Open Source
MIT
null
react-snake-nagini
YrenR
TypeScript
Code
51
148
import React from "react"; import TableBoard from "./pages/TableBoard"; import { Provider } from "react-redux"; import { persistor, store } from "./redux/store"; import { PersistGate } from "redux-persist/integration/react"; import NavBar from "./components/NavBar/NavBar"; export default function App(): JSX.Element { ...
22,344
https://github.com/nagyist/forcedotcom-aura/blob/master/aura-modules/src/test/components/secureModuleTest/secureLightningElementTest/secureLightningElementTest.cmp
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, LGPL-2.0-or-later, ICU, LicenseRef-scancode-mx4j, W3C, CC-BY-4.0, SAX-PD, MPL-2.0, WTFPL, CDDL-1.0, MIT
2,022
forcedotcom-aura
nagyist
Gerber Image
Code
11
85
<aura:component implements="aura:requireLocker"> <secureModuleTest:secureLightningElementComponentParent aura:id="secureLightningElementComponentParent"/> <aura:method name="secureLightningElementTester"> <aura:attribute name="testCase" type="String"/> </aura:method> </aura:component>
54,083
https://github.com/LiuYang5506/ks/blob/master/js/header.js
Github Open Source
Open Source
MIT
2,019
ks
LiuYang5506
JavaScript
Code
25
101
$(function() { $.ajax({ url: "footer.html", type: "get", success: function(result) { $(result).replaceAll("#footer"); } }); $.ajax({ url: "header.html", type: "get", success: function(result) { $(result).replaceAll("#header"); ...
10,431
https://github.com/davidenke/catage/blob/master/stencil.config.ts
Github Open Source
Open Source
MIT
null
catage
davidenke
TypeScript
Code
73
242
import { Config } from '@stencil/core'; import { sass } from '@stencil/sass'; import { postcss } from '@stencil/postcss'; import autoprefixer from 'autoprefixer'; // const isDevelopment = process.argv && process.argv.includes('--dev'); // https://stenciljs.com/docs/config export const config: Config = { globalStyle...
21,349
https://github.com/nasa/fprime/blob/master/Svc/PassiveRateGroup/test/ut/PassiveRateGroupTester.cpp
Github Open Source
Open Source
Apache-2.0
2,023
fprime
nasa
C++
Code
138
622
/* * \author Tim Canham * \file * \brief * * This file is the test driver for the active rate group unit test. * * Code Generated Source Code Header * * Copyright 2014-2015, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. */ #inclu...
2,273
https://github.com/AndyTechGuy/Wobble/blob/master/Examples/GreenBox/GreenBox/Program.cs
Github Open Source
Open Source
MIT
2,022
Wobble
AndyTechGuy
C#
Code
35
93
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GreenBox { internal class Program { internal static void Main(string[] args) { using (var game = new MyGame()) { game.Run(); ...
42,521
https://github.com/UE4DotNet/Plugins/blob/master/DotNet/DotNet/UE4/Generated/Engine/LocalizedSubtitle.cs
Github Open Source
Open Source
MIT
2,019
Plugins
UE4DotNet
C#
Code
77
243
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.Engine{ ...
30,338
https://github.com/DistributedMonitoringSystem/open-falcon-backend/blob/master/vendor/github.com/ahl5esoft/golang-underscore/values.go
Github Open Source
Open Source
Apache-2.0
2,022
open-falcon-backend
DistributedMonitoringSystem
Go
Code
49
130
package underscore import ( "reflect" ) func Values(source interface{}) interface{} { sourceRV := reflect.ValueOf(source) if sourceRV.Kind() != reflect.Map { return nil } return Map(source, func (value, _ interface{}) Facade { return Facade{ reflect.ValueOf(value) } }) } //Chain func (this *Query) Values(...
40,213
https://github.com/felipealmeida/mORBid/blob/master/iiop/include/morbid/iiop/endianness.hpp
Github Open Source
Open Source
BSL-1.0
2,021
mORBid
felipealmeida
C++
Code
1,046
4,136
/* (c) Copyright 2012 Felipe Magno de Almeida * * Distributed under the Boost Software License, Version 1.0. (See * accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ #ifndef MORBID_IIOP_ENDIANNESS_HPP #define MORBID_IIOP_ENDIANNESS_HPP #include <morbid/giop/rule.hpp> #includ...
12,999
https://github.com/torilife/torilife/blob/master/fuel/app/views/error/invalid.php
Github Open Source
Open Source
MIT
2,012
torilife
torilife
Hack
Code
1
22
<p>入力値が正しくありません。</p>
16,066
https://github.com/simplejia/push/blob/master/api/target.go
Github Open Source
Open Source
BSD-2-Clause
2,019
push
simplejia
Go
Code
34
131
package api import ( "github.com/globalsign/mgo/bson" ) type Target struct { ID bson.ObjectId `json:"id" bson:"_id,omitempty"` CID int64 `json:"cid" bson:"cid"` MID int64 `json:"mid" bson:"mid"` PIDs map[string]State `json:"pids" bson:"pids"` } func NewTarget() *Target { return &Ta...
56,003
https://github.com/he8us/docker-symfony-react-redux-webpack-skeleton/blob/master/devtools/devbox/commands/show_help.sh
Github Open Source
Open Source
MIT
null
docker-symfony-react-redux-webpack-skeleton
he8us
Shell
Code
74
189
#!/usr/bin/env bash show_help(){ cat <<EOF Usage: ${0##*/} [-hv] [-e ENVIRONMENT] COMMAND Options -h,--help display this help and exit -e,--environment ENVIRONMENT work with ENVIRONMENT configuration -v verbose mode Commands launch|start|up ...
17,925
https://github.com/dotnet/Scaffolding/blob/master/src/Scaffolding/VS.Web.CG.EFCore/EditSyntaxTreeResult.cs
Github Open Source
Open Source
MIT
2,023
Scaffolding
dotnet
C#
Code
56
116
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; namespace Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore { public class EditSyntaxTreeResult { public bool Edited { get;...
4,568
https://github.com/joseloc300/clava/blob/master/ClavaWeaver/resources/clava/test/weaver/cpp/src/loop.cpp
Github Open Source
Open Source
Apache-2.0
null
clava
joseloc300
C++
Code
114
356
int main() { for(int a=0; a<10; a++) { for(int b=0; b<10; b++) { for(int c=0; c<10; c++) { } } } for(;;){ } double a = 0.5; int i; for(i=0; i<10; i++) { a += 0.1; } for(int j=0; j<10; j++) { a += 0.1; } i = 0; for(; i<10; i++) { a += 0.1; } for(; ; i++) { a += 0.1; } ...
38,593
https://github.com/bondhugula/polymage-ppopp-2018-ae/blob/master/sandbox/video_demo/Makefile
Github Open Source
Open Source
Apache-2.0
null
polymage-ppopp-2018-ae
bondhugula
Makefile
Code
52
146
DIRS = bilateral_grid harris_corner local_laplacian unsharp_mask all: naive polymage naive: @-for d in $(DIRS); do \ make -C $$d naive; \ done polymage: @-for d in $(DIRS); do \ make -C $$d polymage; \ done clean: @-for d in $(DIRS); do \ mak...
3,900
https://github.com/philianeles/compas/blob/master/src/compas/numerical/fd/__init__.py
Github Open Source
Open Source
MIT
2,018
compas
philianeles
Python
Code
120
425
from __future__ import absolute_import import importlib class NotSupportedError(Exception): pass class ForceDensity(object): """Force-density algorithm with different backends. Parameters ---------- backend : {'alglib', 'numpy', 'cpp'}, optional The backend to use for the algorithm. ...
53,547
https://github.com/gavioto/farmbot-precision-agriculture-dss/blob/master/src/main/scala/aws/s3/ChannelInfoAccessor.scala
Github Open Source
Open Source
MIT
2,014
farmbot-precision-agriculture-dss
gavioto
Scala
Code
476
1,214
package s3 import argonaut._, Argonaut._ import types.ChannelInfo import awscala._ import awscala.s3._ import sys.process._ import java.io.File import types.ChannelInfo import types.Module import java.io.ByteArrayInputStream import java.io.FileOutputStream import aws.UsesPrefix /* * Accessor for farmbot channel info...
14,021
https://github.com/FosolSolutions/docker-react/blob/master/src/features/admin/users/UserInfo.tsx
Github Open Source
Open Source
Apache-2.0
2,021
docker-react
FosolSolutions
TypeScript
Code
241
693
import React from 'react'; import { IUser, useUsers } from 'store'; import styled from 'styled-components'; import { useFormikForm, FormikForm, Field } from 'components'; const defaultUser: IUser = { id: 0, key: '', username: '', email: '', firstName: '', lastName: '', isDisabled: false, }; interface IE...
23,376
https://github.com/limli/step/blob/master/portfolio/src/main/webapp/gallery-script.js
Github Open Source
Open Source
Apache-2.0
2,020
step
limli
JavaScript
Code
61
194
/** * Initializes data */ function init() { fetch('/upload-image-url') .then((response) => { return response.text(); }) .then((imageUploadUrl) => { const form = document.getElementById('image-form'); form.style.display = 'block'; form.action = imageUploadUrl; ...
47,968
https://github.com/patilnabhi/slaggy-engine/blob/master/src/slaggy-engine/slaggy-engine/physics/spatial/BSPTree.cpp
Github Open Source
Open Source
MIT
2,020
slaggy-engine
patilnabhi
C++
Code
572
2,087
#include "BSPTree.hpp" #include <algorithm> #include <glm/ext/matrix_transform.hpp> #include <glm/gtx/vector_angle.hpp> #include <utils/BoxDebug.hpp> #include <physics/Geometry.hpp> namespace slaggy { void BSPNode::split(const unsigned depth, Shapes objects) { if (objects.empty()) return; if (depth == _maxDe...
33,705
https://github.com/Bioinfo2015/gclust/blob/master/gclust.cpp
Github Open Source
Open Source
MIT
2,014
gclust
Bioinfo2015
C++
Code
947
2,544
/* * gclust.cpp for gclust * Copyright (c) 2014 Beifang Niu All Rights Reserved. * * 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 ...
29,858
https://github.com/mysticfalconvt/SchoolDashboard/blob/master/school-dashboard/components/TA/TaTeacherInfo.js
Github Open Source
Open Source
MIT
null
SchoolDashboard
mysticfalconvt
JavaScript
Code
32
89
import { useUser } from '../User'; import SignIn from '../loginComponents/SignIn'; export default function TaTeacherInfo() { const user = useUser(); if (!user) return <SignIn />; return ( <div> <h1>{user?.name}'s TA</h1> </div> ); }
52,324
https://github.com/tudal/BrunLib/blob/master/src/pl/brun/lib/debugger/DebugServiceProxy.as
Github Open Source
Open Source
Apache-2.0
null
BrunLib
tudal
null
Spoken
405
1,349
package pl.brun.lib.debugger { import flash.display.DisplayObject; import flash.utils.Dictionary; /** * created: 2010-01-09 * @author Marek Brun */ public class DebugServiceProxy { /** Debugger instance */ public static var debugger:Object; // IDebugger /** BDObjectLogging */ private var logging:O...
42,964
https://github.com/UtkarshSarkari/laravel-ecommerce-system/blob/master/platform/packages/shortcode/helpers/constans.php
Github Open Source
Open Source
BSD-2-Clause
2,022
laravel-ecommerce-system
UtkarshSarkari
PHP
Code
7
54
<?php if (!defined('SHORTCODE_REGISTER_CONTENT_IN_ADMIN')) { define('SHORTCODE_REGISTER_CONTENT_IN_ADMIN', 'sc-content-admin'); }
24,393
https://github.com/JavaQualitasCorpus/cayenne-3.0.1/blob/master/itests/jpa-chapter2/src/main/java/org/apache/cayenne/jpa/itest/ch2/entity/PropertyDefaultsOtherEntity.java
Github Open Source
Open Source
Apache-2.0
null
cayenne-3.0.1
JavaQualitasCorpus
Java
Code
258
631
/***************************************************************** * 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 * ...
38,926
https://github.com/mdmarshmallow/TravelBerlin/blob/master/ui/src/components/NavBar.js
Github Open Source
Open Source
MIT
2,019
TravelBerlin
mdmarshmallow
JavaScript
Code
240
896
import React, { Component } from 'react' import { Menu, Button } from 'semantic-ui-react' import LoginButton from './LoginButton.js' import RegisterButton from './RegisterButton.js'; import { withRouter } from 'react-router-dom'; import Client from "../Client" import LogoutButton from './LogoutButton' import cookie fro...
4,138
https://github.com/ddenizakpinar/hexagon/blob/master/src/components/Spinner/Spinner.tsx
Github Open Source
Open Source
MIT
null
hexagon
ddenizakpinar
TypeScript
Code
32
92
import { FC } from "react"; import styles from "./Spinner.module.scss"; interface SpinnerProps {} const Spinner: FC<SpinnerProps> = () => { return ( <div className={styles.backdrop}> <div className={styles.spinner}></div> </div> ); }; export default Spinner;
53,590
https://github.com/qq575792372/lime-util/blob/master/packages/core/src/dom/index.js
Github Open Source
Open Source
MIT
null
lime-util
qq575792372
JavaScript
Code
419
1,403
/* Class操作 */ /** * 判断元素包含某个类名 * @param {Element} elem 元素 * @param {String} className 类名 * @return {Boolean} 返回true和false */ export function hasClass(elem, className) { return elem.className.indexOf(className) > 0; } /** * 元素添加类名 * @param {Element} elem 元素 * @param {String} className 类名 */ export function a...
25,576
https://github.com/finfabrik/fxforward-cordapp/blob/master/src/main/java/com/finfabrik/corda/flows/SettleFXForward.java
Github Open Source
Open Source
MIT
null
fxforward-cordapp
finfabrik
Java
Code
449
1,865
package com.finfabrik.corda.flows; import co.paralleluniverse.fibers.Suspendable; import com.finfabrik.corda.FXForward; import com.finfabrik.corda.FXForwardContract; import com.finfabrik.corda.Token; import com.finfabrik.corda.TokenContract; import com.google.common.collect.ImmutableList; import com.google.common.coll...
23,547
https://github.com/RiversideLabs/landmark/blob/master/lib/schemaPlugins.js
Github Open Source
Open Source
MIT
2,020
landmark
RiversideLabs
JavaScript
Code
763
2,443
var landmark = require('../'), _ = require('underscore'), async = require('async'), utils = require('landmark-utils'); var methods = module.exports.methods = {}; var statics = module.exports.statics = {}; var options = module.exports.options = {}; exports.sortable = function() { var list = this; this.schema.ad...
54,802
https://github.com/Mike-Bal/mart-common/blob/master/include/mart-common/MartVec.h
Github Open Source
Open Source
MIT
null
mart-common
Mike-Bal
C
Code
4,781
11,356
#ifndef LIB_MART_COMMON_GUARD_EXPERIMENTAL_MART_VEC_H #define LIB_MART_COMMON_GUARD_EXPERIMENTAL_MART_VEC_H /** * MartVec.h (mart-common) * * Copyright (C) 2015-2018: Michael Balszun <michael.balszun@mytum.de> * * This software may be modified and distributed under the terms * of the MIT license. See either the L...
49,099
https://github.com/siddharthkp/regithub/blob/master/src/components/alert.js
Github Open Source
Open Source
MIT
2,019
regithub
siddharthkp
JavaScript
Code
19
49
import React from 'react' // import Icon from './icon' function Alert(props) { return <div className="alert">{props.children}</div> } export default Alert
24,931
https://github.com/wyw880829/YWBaiSiBuDeJie/blob/master/Y百思不得姐/Y百思不得姐/Classes/FriendTrends - 关注/Controller/YRecommendViewController.m
Github Open Source
Open Source
MIT
2,016
YWBaiSiBuDeJie
wyw880829
Objective-C
Code
690
3,444
// // YRecommendViewController.m // Y百思不得姐 // // Created by wyw on 16/5/13. // Copyright © 2016年 qw. All rights reserved. // #import "YRecommendViewController.h" #import "AFNetworking.h" #import "SVProgressHUD.h" #import "MJExtension.h" #import "YRecommendCategoryCell.h" #import "YUserCategoryCell.h" #import "YCat...
37,072
https://github.com/RehMaar/uKanren-spec/blob/master/test/old_programs/Something.hs
Github Open Source
Open Source
BSD-3-Clause
2,020
uKanren-spec
RehMaar
Haskell
Code
255
662
module Something where import Syntax tree last_goal = Let (def "add" ["a", "b", "q14"] ( ((V "a" === C "o" []) &&& (V "b" === V "q14")) ||| (fresh ["x"] ( (V "a" === C "s" [V "x"]) &&& (fresh ["q16"] ( (V "q14" === C "s" [V "q16"]) &&& (call "add" [V "x", V "b", V "q16"...
10,292
https://github.com/bvivek77/twitter-search/blob/master/lib/server/algolia.ts
Github Open Source
Open Source
MIT
2,021
twitter-search
bvivek77
TypeScript
Code
16
73
import algoliasearch from 'algoliasearch' export * from 'algoliasearch' export const client = algoliasearch( process.env.NEXT_PUBLIC_ALGOLIA_APPLICATION_ID, process.env.ALGOLIA_SECRET_KEY )
6,779
https://github.com/mrhegemon/Rasa_zero_rpc_XR_bot/blob/master/run-bot.js
Github Open Source
Open Source
MIT
2,021
Rasa_zero_rpc_XR_bot
mrhegemon
JavaScript
Code
226
1,026
const xrengineBot = require('./src/xrengine-bot'); const AgonesSDK = require('@google-cloud/agones-sdk'); const { BotAction } = require('./src/bot-action'); const BotManager = require('./src/bot-manager'); const agonesSDK = new AgonesSDK(); async function run() { console.log("=============Start================="...
45,062
https://github.com/eribean/girth_mcmc/blob/master/girth_mcmc/polytomous/__init__.py
Github Open Source
Open Source
MIT
2,021
girth_mcmc
eribean
Python
Code
16
41
from .graded_response_model import * from .multidimensional_grm import * from .partial_credit_model import * from .multidimensional_pcm import *
43,449
https://github.com/jakim54/swift-protocolType-lab-swift-intro-000/blob/master/protocolTypesAndDelegates.playground/Contents.swift
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,017
swift-protocolType-lab-swift-intro-000
jakim54
Swift
Code
399
956
//: Playground - noun: a place where people can play import UIKit var str = "Hello, playground" protocol FavoriteThings { var favColor: String { get } var favIceCream: String { get } var favSong: String { get } } struct Person: FavoriteThings { var favColor: String var favIceCream: String va...
28,275
https://github.com/mattmole/nursery-temperature-touch/blob/master/nurseryTouch.service
Github Open Source
Open Source
MIT
2,017
nursery-temperature-touch
mattmole
null
Spoken
14
83
[Unit] Description=Nursery Touch button Service After=multi-user.target [Service] User=pi Type=idle ExecStart=/usr/bin/python /home/pi/nursery/nurseryTouch.py Restart=on-failure [Install] WantedBy=multi-user.target
55,439
https://github.com/jimis/influxdb/blob/master/storage/engine_test.go
Github Open Source
Open Source
MIT
2,019
influxdb
jimis
Go
Code
1,585
6,166
package storage_test import ( "context" "fmt" "io/ioutil" "math" "math/rand" "os" "testing" "time" "github.com/influxdata/influxdb" "github.com/influxdata/influxdb/kit/prom/promtest" "github.com/influxdata/influxdb/models" "github.com/influxdata/influxdb/storage" "github.com/influxdata/influxdb/storage/r...
4,152
https://github.com/sheinsight/shineout/blob/master/src/Button/styles/button.less
Github Open Source
Open Source
MIT
2,022
shineout
sheinsight
Less
Code
550
2,690
@import '../../styles/variables.less'; @import '../../styles/themes/@{so-theme}.less'; @button-prefix: ~'@{so-prefix}-button'; @button-disabled: ~'.@{button-prefix}-disabled'; @icon-prefix: ~'@{so-prefix}-icon'; .@{button-prefix} { display: inline-block; margin-bottom: 0; // For input.btn border: 1px solid tra...
15,552
https://github.com/implode-compression-impls/libblast/blob/master/Makefile
Github Open Source
Open Source
Zlib
null
libblast
implode-compression-impls
Makefile
Code
33
148
libblast: ./src/blast.c ./include/blast.h cc -shared -o ./build/lib/libblast.so ./lib/blast.c -I./include blast: ./src/blast.c ./include/blast.h libblast cc -o ./build/bin/blast ./src/blast.c -I./include -l:./build/lib/libblast.so test: ./build/bin/blast ./build/bin/blast < ./tests/test.pk | cmp - ./tests/test.txt...
19,086
https://github.com/prashantkoshta/pTreeApp/blob/master/src/container/DetailContainer/index.tsx
Github Open Source
Open Source
Apache-2.0
null
pTreeApp
prashantkoshta
TypeScript
Code
123
358
import * as React from "react"; import { connect } from "react-redux"; import Detail from "../../stories/screens/Detail"; import { dtFetchList } from "./actions"; import { Platform } from 'react-native'; const API = Platform.OS === 'android' ? 'http://localhost:5000/tree/api' // works for Genymotion : 'http://l...
49,451
https://github.com/IDA-TUBS/IDA_LWIP_FilterStack/blob/master/ports/hw/ps7/netif/subdir.mk
Github Open Source
Open Source
Unlicense
2,020
IDA_LWIP_FilterStack
IDA-TUBS
Makefile
Code
42
530
SRC += $(LWIP_HW_PS7_SRC_DIR)/xtopology_g.c SRC += $(LWIP_HW_PS7_SRC_DIR)/../../psur5/netif/xemacpsif.c SRC += $(LWIP_HW_PS7_SRC_DIR)/../../psur5/netif/xemacpsif_dma.c SRC += $(LWIP_HW_PS7_SRC_DIR)/../../psur5/netif/xemacpsif_hw.c SRC += $(LWIP_HW_PS7_SRC_DIR)/../../psur5/netif/xemacpsif_physpeed.c SRC += $(LWIP_HW_PS7...
49,533
https://github.com/helbachilaule/LMS-PFC/blob/master/resources/views/p2c1.blade.php
Github Open Source
Open Source
MIT
2,021
LMS-PFC
helbachilaule
Blade
Code
130
672
@extends('layouts.app') @section('content') <div class="container"> <h1><center>Licenciatura em Farmacia</center></h1><hr> <div class="row tabela2"> <span><center><Strong>Modulo 1</Strong></center></span><hr> <div class="text-center form-group col-sm-6 col-md-4"> <...
47,859
https://github.com/flamesdev/neon/blob/master/src/neon/utils/SpriteSheet.java
Github Open Source
Open Source
MIT
2,021
neon
flamesdev
Java
Code
183
352
package neon.utils; import java.awt.image.BufferedImage; /** A class used to load sprites from sprite sheets. */ public class SpriteSheet { private final BufferedImage image; private final int width; private final int height; /** * @param image the image * @param width the width of each sprite in the i...
8,060
https://github.com/shaga/bCoreDeiverforAndroid/blob/master/bCoreDriver_Android/app/src/main/java/net/shaga_workshop/bcoredriverforandroid/views/fragments/BcoreControllerFragment.java
Github Open Source
Open Source
Apache-2.0, MIT
2,016
bCoreDeiverforAndroid
shaga
Java
Code
614
2,589
package net.shaga_workshop.bcoredriverforandroid.views.fragments; import android.app.Activity; import android.os.Bundle; import android.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CompoundButton; import android.widget.TextView; import...
16,157
https://github.com/Kyudaimex01/Files.edu/blob/master/archivosOther/routes/web.php
Github Open Source
Open Source
Apache-2.0
null
Files.edu
Kyudaimex01
PHP
Code
177
818
<?php use App\Notice; use Carbon\Carbon; //use DB; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the...
26,868
https://github.com/liuhaozzu/linux/blob/master/kernels/linux-2.6.24/arch/x86/boot/memory.c
Github Open Source
Open Source
Apache-2.0
null
linux
liuhaozzu
C
Code
393
968
/* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * * This file is part of the Linux kernel, and is made available under * the terms of the GNU General Public License version 2. * * ...
55,988
https://github.com/mavasani/visualstudio-docs/blob/master/docs/data-tools/codesnippet/VisualBasic/query-datasets_2.vb
Github Open Source
Open Source
CC-BY-4.0, MIT
2,021
visualstudio-docs
mavasani
Visual Basic
Code
37
90
Dim s As String = "primaryKeyValue" Dim foundRow As DataRow = DataSet1.Tables("AnyTable").Rows.Find(s) If foundRow IsNot Nothing Then MsgBox(foundRow(1).ToString()) Else MsgBox("A row with the primary key of " & s & " could not be found") End If
52,270
https://github.com/acervenky/oostrinity/blob/master/smali/com/oneplus/lib/menu/ActionMenuView$LayoutParams.smali
Github Open Source
Open Source
MIT
null
oostrinity
acervenky
Smali
Code
167
758
.class public Lcom/oneplus/lib/menu/ActionMenuView$LayoutParams; .super Landroid/widget/LinearLayout$LayoutParams; .source "ActionMenuView.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/oneplus/lib/menu/ActionMenuView; .end annotation .annotation system Ldalvik/annotation/...
12,726
https://github.com/ZhangJiupeng/ecom/blob/master/src/main/java/io/codeager/plugin/MailSender.java
Github Open Source
Open Source
MIT
2,018
ecom
ZhangJiupeng
Java
Code
133
237
/* * Copyright 2017 Jiupeng Zhang * * 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...
46,345
https://github.com/SudhiR3369/FeedbackRepository/blob/master/SageFrame/Modules/DigitalMarketing/MediaPerformaceCounter/js/MediaPerformaceCounter.js
Github Open Source
Open Source
MIT
2,018
FeedbackRepository
SudhiR3369
JavaScript
Code
3,284
11,534
/// <reference path="../../../../js/jquery-1.9.1.js" /> //References //http://canvasjs.com/docs/charts/basics-of-creating-html5-chart/title/ var mediaTypes; var attributeTypes; var MediaPerformaceCounter; (function ($) { var graphEnabled = false; var newPerformanceObjectType; var currentPfItem; var t...
17,463
https://github.com/ygunna/Microservices/blob/master/microservice/src/crossent/micro/studio/db/migration/schema/initial_schema.go
Github Open Source
Open Source
Apache-2.0
null
Microservices
ygunna
Go
Code
158
426
package schema import "crossent/micro/studio/db/migration" func InitialSchema(tx migration.LimitedTx) error { _, err := tx.Exec(` CREATE TABLE IF NOT EXISTS micro_app ( id serial PRIMARY KEY, name text NOT NULL, org_guid varchar(255) NOT NULL, space_guid varchar(255) NOT NULL, version varchar...
12,951
https://github.com/Tim-Burbank/react-native-hyphenate/blob/master/android/src/main/java/com/yunio/easechat/utils/CommonUtils.java
Github Open Source
Open Source
MIT
null
react-native-hyphenate
Tim-Burbank
Java
Code
365
1,415
package com.yunio.easechat.utils; import android.app.ActivityManager; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.text.TextUtils; import android.view.View; import android.view.inputmethod.InputMethodManager; import com.hyphenate.chat.EMTextMes...
11,320
https://github.com/app-man/LoginEasy/blob/master/app/controllers/sessions_controller.rb
Github Open Source
Open Source
MIT
2,014
LoginEasy
app-man
Ruby
Code
119
394
class SessionsController < ApplicationController before_filter :authenticate_user, :only => [:home, :profile, :setting] before_filter :save_login_state, :only => [:login, :login_attempt] def login end def login_attempt authorized_user = User.authenticate(params[:username_or_email],params[:login_password]) if au...
31,278
https://github.com/splhack/coreir/blob/master/Makefile
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-2-Clause-Views, BSD-3-Clause
2,019
coreir
splhack
Makefile
Code
310
1,252
UNAME_S := $(shell uname -s) ifeq ($(UNAME_S), Linux) TARGET = so prefix?=/usr endif ifeq ($(UNAME_S), Darwin) TARGET = dylib prefix?=/usr/local endif COREIRCONFIG ?= g++ CXX ?= g++ ifeq ($(COREIRCONFIG),g++) CXX = g++ endif ifeq ($(COREIRCONFIG),g++-4.9) CXX = g++-4.9 endif CFLAGS = -Wall -fPIC #CXXFLAGS = -std...
21,625
https://github.com/ReactiveSoftware/Rx.Net.Plus/blob/master/Source/RxVarJsonFlat.cs
Github Open Source
Open Source
MIT
2,021
Rx.Net.Plus
ReactiveSoftware
C#
Code
202
615
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Xml.Serializa...
56,351
https://github.com/JonSn0w/advent-of-code/blob/master/2017/day10.py
Github Open Source
Open Source
MIT
2,018
advent-of-code
JonSn0w
Python
Code
132
223
# This hash function simulates tying a knot in a circle of string with 256 marks on it. Based on the input to be hashed, the function repeatedly selects a span of string, brings the ends together, and gives the span a half-twist to reverse the order of the marks within it. After doing this many times, the order of the ...
33,713
https://github.com/mndzielski/pomocua-ogloszenia/blob/master/src/test/java/pl/gov/coi/pomocua/ads/users/UserResourceTest.java
Github Open Source
Open Source
MIT
2,022
pomocua-ogloszenia
mndzielski
Java
Code
182
1,109
package pl.gov.coi.pomocua.ads.users; import com.icegreen.greenmail.util.GreenMail; import com.icegreen.greenmail.util.ServerSetup; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import o...
37,242
https://github.com/Zink10Craft/CalculationParser/blob/master/CalculationParser.h
Github Open Source
Open Source
Unlicense
null
CalculationParser
Zink10Craft
C
Code
775
2,377
#pragma once #ifndef CALCULATION_PARSER_H #define CALCULATION_PARSER_H #include <cctype> #include <exception> #include <iostream> enum class TokenType : char { END_OF_FILE = '\0', OPEN_PARENTHESIS = '(', CLOSE_PARENTHESIS = ')', NUMBER, BINARY_OPERATOR }; struct Token { TokenType type; union ...
20,407
https://github.com/eslamandroid12345/Reservation/blob/master/app/Models/Room.php
Github Open Source
Open Source
MIT
null
Reservation
eslamandroid12345
PHP
Code
74
319
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Room extends Model { use HasFactory; use SoftDeletes; protected $fillable = [ 'room_type_id', 'room_description'...
19,639
https://github.com/nakagami/firebirust/blob/master/src/transaction.rs
Github Open Source
Open Source
MIT
2,022
firebirust
nakagami
Rust
Code
310
678
// MIT License // // Copyright (c) 2021 Hajime Nakagami<nakagami@gmail.com> // // 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 ...
15,441
https://github.com/kuustudio/hitokoto-sentence-generator/blob/master/database/exports.go
Github Open Source
Open Source
Apache-2.0
2,021
hitokoto-sentence-generator
kuustudio
Go
Code
46
168
package database import ( "github.com/hitokoto-osc/hitokoto-sentence-generator/config" "github.com/hitokoto-osc/hitokoto-sentence-generator/logging" "github.com/upper/db/v4" ) // Session is upper database session var Session db.Session // Connect connect to database func Connect() (err error) { defer logging.Log...
23,261
https://github.com/wendersonferreira/tangram/blob/master/core/src/main/java/com/github/mengxianun/core/permission/ConnectorCondition.java
Github Open Source
Open Source
MIT
2,020
tangram
wendersonferreira
Java
Code
45
158
package com.github.mengxianun.core.permission; import com.github.mengxianun.core.request.Connector; import com.google.auto.value.AutoValue; @AutoValue public abstract class ConnectorCondition { public static ConnectorCondition create(Condition condition) { return new AutoValue_ConnectorCondition(Connector.AND, co...
42,223
https://github.com/Maeiky/CpcdosOS2.1-1/blob/master/CONTRIB/LLVM/_Demo/Lib_GZ/Str.cpp
Github Open Source
Open Source
Apache-2.0
2,021
CpcdosOS2.1-1
Maeiky
C++
Code
2,804
10,367
//This file is part of "GZE - GroundZero Engine" //The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0). //For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code. //Though not required ...
2,742
https://github.com/Azrael808/chef-tiddlywiki5/blob/master/metadata.rb
Github Open Source
Open Source
Apache-2.0
2,021
chef-tiddlywiki5
Azrael808
Ruby
Code
30
134
name 'tiddlywiki5' maintainer 'AzTek Native Ltd.' maintainer_email 'peter.green@aztek-native.com' license 'Apache 2.0' description 'Installs/Configures tiddlywiki5' long_description 'Installs/Configures tiddlywiki5' version '0.3.0' %w{ application application_nginx appli...
12,628
https://github.com/msroot/vanity/blob/master/templates/default/scripts/main.js
Github Open Source
Open Source
CC-BY-3.0, BSD-3-Clause, LicenseRef-scancode-public-domain, CC-PDDC, MIT
2,012
vanity
msroot
JavaScript
Code
84
297
window.highlight = function(url) { var hash = url.match(/#([^#]+)$/); if (hash) { $('a[name=' + hash[1] + ']').parent().effect('highlight', {}, 'slow') } } $(function() { var rel; $('a').live('click', function(evt) { rel = $(this).attr('rel'); if (rel) { top.location.href = rel; evt.preventDefault();...
24,233
https://github.com/ategaw-cisco/intersight-powershell/blob/master/src/intersight/Model/New-IntersightApiClient.ps1
Github Open Source
Open Source
Apache-2.0
2,018
intersight-powershell
ategaw-cisco
PowerShell
Code
66
251
function New-IntersightApiClient { [CmdletBinding()] Param ( [Parameter(Position = 0, ValueFromPipelineByPropertyName = $true, Mandatory = $true)] [String] ${IntersightUrl}, [Parameter(Position = 1, ValueFromPipelineByPropertyName = $true, Mandatory = $true)] [String] ...
12,447
https://github.com/xapple/cbmcfs3_runner/blob/master/cbmcfs3_runner/pre_processor/__init__.py
Github Open Source
Open Source
MIT
2,021
cbmcfs3_runner
xapple
Python
Code
266
846
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC biomass Project. Unit D1 Bioeconomy. """ # Built-in modules # # Third party modules # # First party modules # from autopaths.auto_paths import AutoPaths from plumbing.cache import property_cached # Internal m...
17,969
https://github.com/iain17/meshbird/blob/master/common/state.go
Github Open Source
Open Source
Apache-2.0
2,021
meshbird
iain17
Go
Code
168
536
package common import ( "encoding/json" "fmt" "github.com/meshbird/meshbird/log" "github.com/meshbird/meshbird/network" "github.com/meshbird/meshbird/secure" "io/ioutil" "net" "os" "path" ) type State struct { Secret *secure.NetworkSecret `json:"-"` ListenPort int `json:"port"` Priva...
42,994
https://github.com/phyzhangyang/EasyScan_Hep/blob/master/src/scan_controller.py
Github Open Source
Open Source
Apache-2.0
2,021
EasyScan_Hep
phyzhangyang
Python
Code
1,061
3,904
#################################################################### # Class CONTROLLER: contral scan # #################################################################### # External modules import os import random import time from math import log10 import math # Internal modules imp...
13,122
https://github.com/muaddibco/O10city/blob/master/Client/Common/O10.Client.ServiceProvider/ExecutionScopeService.cs
Github Open Source
Open Source
Apache-2.0
2,021
O10city
muaddibco
C#
Code
218
1,185
using O10.Client.Common.Communication; using O10.Client.Common.Configuration; using O10.Client.Common.Interfaces; using O10.Client.Common.Services; using O10.Client.DataLayer.Enums; using O10.Client.State; using O10.Core.Architecture; using O10.Core.Configuration; using O10.Core.Models; using O10.Crypto.Models; using ...
52,354
https://github.com/inlacou/DrawOverImage/blob/master/picturedraweditor/src/main/java/picturedraweditor/inlacou/bvapps/com/picturedraweditor/PictureDrawEditorCtrl.kt
Github Open Source
Open Source
MIT
null
DrawOverImage
inlacou
Kotlin
Code
58
280
package picturedraweditor.inlacou.bvapps.com.picturedraweditor import android.view.View /** * Created by inlacou on 19/12/17. */ class PictureDrawEditorCtrl(val view: PictureDrawEditorAct, val model: PictureDrawEditorMdl) { fun onEraserDisplayClick() { view.switchEraserSeekBarVisibility() } fun onBrushDispl...
16,944
https://github.com/ankitgoyal1009/discussionForumKotlin/blob/master/app/src/main/java/com/ankitgoyal1009/discussionforum/SplashScreen.kt
Github Open Source
Open Source
MIT
null
discussionForumKotlin
ankitgoyal1009
Kotlin
Code
60
323
package com.ankitgoyal1009.discussionforum import android.content.Intent import android.os.Bundle import android.os.Handler import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.ViewModelProvider import com.ankitgoyal1009.discussionforum.discussions.ui.DiscussionsActivity import com.ankitgoyal1009....
21,003
https://github.com/Guergeiro/ES1/blob/master/src/emprestimos/Requisicao.java
Github Open Source
Open Source
MIT
null
ES1
Guergeiro
Java
Code
96
276
package emprestimos; import java.time.LocalDate; import livros.Copia; import utilizadores.Utilizador; public class Requisicao { // Attributes private Copia copia; private Utilizador utilizador; private LocalDate data; // Constructor public Requisicao(LocalDate data, Utilizador utilizador, Copia copia) { ...
46,747
https://github.com/deployment-helper/mcrc-repocommit/blob/master/temp.js
Github Open Source
Open Source
MIT
2,019
mcrc-repocommit
deployment-helper
JavaScript
Code
25
122
const Git = require("./src/git"); const git = new Git( "https://github.com/vinaymavi/netlify-cms-authentication", "https://github.com/vinaymavi/mcrc-temp3.git", "source" ); git .push_to_app() .then(data => { console.log(data); }) .catch(err => { console.log(err); });
26,368
https://github.com/FDMOliveira/Front-end-nanodegree-exercises/blob/master/5.Neighborhood-Map/js/main.js
Github Open Source
Open Source
MIT
2,018
Front-end-nanodegree-exercises
FDMOliveira
JavaScript
Code
956
4,073
function renderMap () { viewModel.renderMap(); } function mapError() { view.renderMapError(); } let view = { hideBar() { // If the lateral menu is checked, the bar hide itself before showing the IW // This is only valid for smartphones if((window.matchMedia("(max-width: 700px)")).mat...
4,298
https://github.com/yugabyte/jdbc-yugabytedb/blob/master/jdbc-yugabytedb/src/main/java/org/postgresql/jdbc/AutoSave.java
Github Open Source
Open Source
BSD-2-Clause
2,021
jdbc-yugabytedb
yugabyte
Java
Code
58
147
/* * Copyright (c) 2005, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.jdbc; public enum AutoSave { NEVER, ALWAYS, CONSERVATIVE; private final String value; AutoSave() { value = this.name().toLowerCase(); } public...
12,037
https://github.com/Lambdauv/paint/blob/master/__init__.py
Github Open Source
Open Source
MIT
null
paint
Lambdauv
Python
Code
33
65
###################################################################### # # # Copyright 2017- Lambdauv. # # This file is part of paint, distributed under the terms of the # # MIT License ...
48,592
https://github.com/henrich/afdko/blob/master/FDK/Tools/Programs/public/lib/build/dynarr/linux/pentium/gcc-2.96/debug/Makefile
Github Open Source
Open Source
Apache-2.0
null
afdko
henrich
Makefile
Code
84
303
# Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved. # This software is licensed as OpenSource, under the Apache License, Version 2.0. # This license is available at: http://opensource.org/licenses/Apache-2.0. # Configuration CONFIG = debug CFLAGS = $(STD_OPTS) -g -DDNA_DEBUG=1 #...
16,105
https://github.com/harshalgalgale/todo_flutter_app/blob/master/test/presentation/blocs/todo/todo_bloc_test.mocks.dart
Github Open Source
Open Source
MIT
2,021
todo_flutter_app
harshalgalgale
Dart
Code
153
746
// Mocks generated by Mockito 5.0.16 from annotations // in done_it/test/feature/todo/presentation/blocs/todo/todo_bloc_test.dart. // Do not manually edit this file. import 'dart:async' as _i5; import 'package:dartz/dartz.dart' as _i3; import 'package:done_it/core/error/failures.dart' as _i6; import 'package:done_it/...
43,866
https://github.com/rgxcp/JavaBelajar/blob/master/Latihan/DtInheritance/Karyawan.java
Github Open Source
Open Source
MIT
null
JavaBelajar
rgxcp
Java
Code
70
192
class Karyawan { private String nama; private double gaji; private static double persenGaji = 0.10; Karyawan(String nm, double gj) { nama = nm; gaji = gj; } void setNama(String nm) { nama = nm; } void setGaji(double gj) { gaji = gj; } void setPer...
11,456
https://github.com/jedrekmiecznikowski/Bachelor_project/blob/master/__temp_migrations/PGGRegiEN/0009_auto_20200310_1815.py
Github Open Source
Open Source
MIT
2,020
Bachelor_project
jedrekmiecznikowski
Python
Code
39
171
# Generated by Django 2.2.4 on 2020-03-10 17:15 from django.db import migrations import otree.db.models class Migration(migrations.Migration): dependencies = [ ('PGGRegiEN', '0008_remove_player_rulestr'), ] operations = [ migrations.RemoveField( model_name='player', ...
23,274