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/pmarfany/SmartCityApp/blob/master/app/src/main/java/ptin/smartcity/mqttService/MQTTCommunication.java
Github Open Source
Open Source
MIT
null
SmartCityApp
pmarfany
Java
Code
420
1,435
package ptin.smartcity.mqttService; import android.content.Context; import android.util.Log; import org.eclipse.paho.android.service.MqttAndroidClient; import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken; import org.eclipse.paho.client.mqttv3.IMqttToken; import org.eclipse.paho.client.mqttv3.MqttClient; import o...
38,766
https://github.com/sailengsi/sls-admin-quick-start/blob/master/src/store/leftmenu/state.js
Github Open Source
Open Source
Apache-2.0
2,021
sls-admin-quick-start
sailengsi
JavaScript
Code
9
34
export default { //左侧菜单宽度 width: '190px', menu_flag: true, };
22,059
https://github.com/SteveSmith16384/MultiplayerArena/blob/master/src/com/scs/multiplayerarena/map/SimpleMapLoader.java
Github Open Source
Open Source
MIT
2,019
MultiplayerArena
SteveSmith16384
Java
Code
247
1,048
package com.scs.multiplayerarena.map; import com.jme3.scene.Node; import com.scs.multiplayerarena.MultiplayerArenaMain; import com.scs.multiplayerarena.Settings; import com.scs.multiplayerarena.entities.Fence; import com.scs.multiplayerarena.entities.PhysicalEntity; import com.scs.multiplayerarena.entities.SimplePilla...
48,887
https://github.com/vishipayyallore/LearningPython_2019/blob/master/Jan2019/HelloWorld/Hello.py
Github Open Source
Open Source
MIT
null
LearningPython_2019
vishipayyallore
Python
Code
24
62
import sys message = "----- Person Details ----- " print(message) userName = input("Enter your Name: ") print(userName) userAge = int(input("Enter your Age: ")) print(userAge+10)
41,889
https://github.com/denxorz/HotChocolatey/blob/master/HotChocolatey/Model/Save/ExportExecutor.cs
Github Open Source
Open Source
MIT
2,022
HotChocolatey
denxorz
C#
Code
106
380
using System; using System.Collections.Generic; using System.Linq; using Microsoft.EntityFrameworkCore; namespace HotChocolatey.Model.Save { class ExportExecutor { public void Export(string filename, IEnumerable<Package> packages) { using (ListContext db = new ListContext(filename)...
33,759
https://github.com/Appenzeill/ProjectMes/blob/master/Classes/Cookie.php
Github Open Source
Open Source
MIT
null
ProjectMes
Appenzeill
PHP
Code
5
11
<?php class Cookie { }
39,752
https://github.com/tock/design-explorations/blob/master/zst_pointer_async/futures/mod.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,020
design-explorations
tock
Rust
Code
18
41
/// Futures-based libtock-rs. pub mod alarm; pub mod button; pub mod combinator; pub mod executor; pub mod rng;
32,792
https://github.com/carlosvchr/IPO-Group-Creator-Tool/blob/master/src/ipo_pr_final/AluCambioGupoTr.java
Github Open Source
Open Source
MIT
null
IPO-Group-Creator-Tool
carlosvchr
Java
Code
828
5,190
/* * 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 ipo_pr_final; import java.awt.BorderLayout; import java.awt.Color; import javax.swing.BorderFactory; import javax.swing.Defaul...
25,230
https://github.com/eea/ui/blob/master/app/environment/index/controller.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,015
ui
eea
JavaScript
Code
25
116
import Ember from 'ember'; export default Ember.Controller.extend({ environments: Ember.inject.controller(), mode: Ember.computed.alias('environments.mode'), actions: { addService: function() { this.get('controllers.environment').send('addService'); }, addBalancer: function() { this.get(...
20,956
https://github.com/ATMatrix/demo/blob/master/POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/components/signin/core/browser/account_reconcilor.h
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,017
demo
ATMatrix
C++
Code
583
2,497
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_RECONCILOR_H_ #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_RECONCILOR_H_ #include <deque> #include <funct...
30,905
https://github.com/main--/mumble/blob/master/src/mumble/AudioInput.h
Github Open Source
Open Source
BSD-3-Clause
2,018
mumble
main--
C
Code
606
1,827
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> 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 retain the above copyright notice,...
30,952
https://github.com/marlon-tucker/jint/blob/master/Jint.Tests/Runtime/Debugger/ScopeTests.cs
Github Open Source
Open Source
BSD-2-Clause
2,022
jint
marlon-tucker
C#
Code
1,045
3,460
using Jint.Native; using Jint.Runtime.Debugger; using System.Linq; using Xunit; namespace Jint.Tests.Runtime.Debugger { public class ScopeTests { private static JsValue AssertOnlyScopeContains(DebugScopes scopes, string name, DebugScopeType scopeType) { var containingScope = Assert...
24,697
https://github.com/CezaryDobrenko/PracaDyplomowa/blob/master/Online_class_register/backend/application/controllers/class_register_api/teacher/staf_note.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,021
PracaDyplomowa
CezaryDobrenko
PHP
Code
543
2,400
<?php require APPPATH."libraries/REST_Controller.php"; //headers header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: POST, GET"); class staf_note extends REST_Controller{ //Constructor public function __construct(){ parent::__construct(); $this->load->model("class...
51,517
https://github.com/SatyamRai1/java-practice-programs/blob/master/SharedDigit.java
Github Open Source
Open Source
MIT
2,021
java-practice-programs
SatyamRai1
Java
Code
53
215
public class SharedDigit { public static void main(String[] args) { System.out.println(hasSharedDigit(10,22)); } public static boolean hasSharedDigit(int number1,int number2){ if((number1>=10 && number1<=99) && (number2>=10 && number2<=99)){ int m,n,q,r; m=(numbe...
25,528
https://github.com/bukkitcommons/BukkitCommons/blob/master/src/main/java/cc/bukkit/misc/reference/IntReference.java
Github Open Source
Open Source
MIT
2,019
BukkitCommons
bukkitcommons
Java
Code
123
321
package cc.bukkit.misc.reference; import cc.bukkit.misc.reference.interfaces.Present; import lombok.AllArgsConstructor; import lombok.EqualsAndHashCode; @EqualsAndHashCode @AllArgsConstructor public class IntReference implements Present { private int value; public int get() { return value; } ...
24,593
https://github.com/incomingflyingbrick/FlyARocket_GNC/blob/master/Doxygen/html/search/defines_4.js
Github Open Source
Open Source
MIT
2,017
FlyARocket_GNC
incomingflyingbrick
JavaScript
Code
5
67
var searchData= [ ['nmax',['NMAX',['../simplex__header_8h.html#a5de5d183f9a6a8d53316f743e1ca6dc2',1,'simplex_header.h']]] ];
11,688
https://github.com/digideskio/motech-ui/blob/master/src/common/motech-list/list.base.scss
Github Open Source
Open Source
BSD-2-Clause
2,016
motech-ui
digideskio
SCSS
Code
78
375
.motech-list { display: block; width: 100%; .header>ul, >ul, .motech-list-column-headers{ @extend .list-unstyled; margin: 0em; } .motech-list-column-headers>li{ position: relative; line-height: 1.25em; >a{ @extend .icon-only; posit...
36,371
https://github.com/janzmazek/FEM/blob/master/source/square.py
Github Open Source
Open Source
MIT
null
FEM
janzmazek
Python
Code
147
462
""" This module creates triangulated square mesh. """ import numpy as np class SquareGrid(object): """ This class generates a mesh based on the number of input rows and columns. """ def __init__(self, columns, rows): self.columns = columns self.rows = rows def get_vertices_matrix...
25,319
https://github.com/bdoubleu86/degiro-api/blob/master/src/types/SearchProductOptionsType.ts
Github Open Source
Open Source
MIT
2,021
degiro-api
bdoubleu86
TypeScript
Code
26
78
import { DeGiroProducTypes } from '../enums/DeGiroEnums' export type SearchProductOptionsType = { text: string, type?: DeGiroProducTypes | undefined, sortColumn?: string, sortType?: any, limit?: number, offset?: number, }
1,463
https://github.com/leonardocustodio/php-scale-codec/blob/master/src/Codec/Types/metadataV14.php
Github Open Source
Open Source
MIT
null
php-scale-codec
leonardocustodio
PHP
Code
1,395
5,440
<?php namespace Codec\Types; use Codec\Base; use Codec\Generator; use Codec\Utils; /** * Class metadataV14 * * @package Codec\Types * * metadata v14 pr https://github.com/paritytech/substrate/pull/8615 * polkadot.js https://github.com/polkadot-js/api/blob/master/packages/types/src/interfaces/metadata/v14.ts...
1,280
https://github.com/aosbgu/ROSPlan-ExperimentPDDL/blob/master/src/ROSPlan/rosplan_planning_system/src/ActionInterface/NavigateActionInterface.cpp
Github Open Source
Open Source
MIT
null
ROSPlan-ExperimentPDDL
aosbgu
C++
Code
197
924
#include "rosplan_action_interface/NavigateActionInterface.h" #include "rosplan_knowledge_msgs/KnowledgeUpdateService.h" #include "rosplan_planning_system/PlanDispatch/EsterelPlanDispatcher.h" #include "diagnostic_msgs/KeyValue.h" #include <iostream> #include "robotican_demos_upgrade/robot_navigation.h" #include <stri...
9,572
https://github.com/cgroc/essential-scala-code/blob/master/src/main/scala/fn/firstorder/FirstOrder.scala
Github Open Source
Open Source
Apache-2.0
null
essential-scala-code
cgroc
Scala
Code
185
460
package fn.firstorder import scala.annotation.tailrec object FirstOrder { val sumSquares: (Int, Int) => Int = (a, b) => (a * a) + (b * b) val anotherSumSquares: (Int, Int) => Int = (a, b )=> { def sq(i: Int): Int = i * i sq(a) + sq(b) } // nope val yetAnotherSumSquares: (Int, Int) => Int = (a, b) =>...
9,364
https://github.com/isomerpages/isomercms-frontend/blob/master/src/features/FeatureTour/FeatureTour.stories.tsx
Github Open Source
Open Source
MIT
2,023
isomercms-frontend
isomerpages
TSX
Code
133
437
import { Icon, Button } from "@chakra-ui/react" import { Meta, Story } from "@storybook/react" import { useState } from "react" import { BiCheckCircle } from "react-icons/bi" import { FeatureTour } from "./FeatureTour" import { STORYBOOK_FEATURE_STEPS } from "./FeatureTourSequence" export default { title: "Pages/Fe...
2,459
https://github.com/data-fact/a-datav/blob/master/front/datav-create/components/common/common-chart-configer/OtherConfiger.js
Github Open Source
Open Source
MIT
2,021
a-datav
data-fact
JavaScript
Code
100
398
/** * * Project_name: a-datav * Company: aleiye * Author: yulucui * Date: Created in 2020/10/29. * Description: * Modified By: */ import React from 'react' import {Collapse,Row,Col,Button,Slider} from 'antd4' import { EyeOutlined,EyeInvisibleOutlined } from '@ant-design/icons'; import Tooltip from "./base/Toolt...
26,487
https://github.com/dnmfarrell/CPAN-Smoker/blob/master/root/.cpan/sources/authors/id/R/RU/RURBAN/patches/Class-DBI-v3.0.17.patch
Github Open Source
Open Source
Unlicense
2,021
CPAN-Smoker
dnmfarrell
null
Spoken
35
192
difforig Class-DBI-v3.0.17 diff -u Class-DBI-v3.0.17/lib/Class/DBI.pm.orig --- Class-DBI-v3.0.17/lib/Class/DBI.pm.orig 2007-10-04 23:27:07.000000000 +0200 +++ Class-DBI-v3.0.17/lib/Class/DBI.pm 2009-08-20 12:31:17.953125000 +0200 @@ -7,7 +7,7 @@ package Class::DBI; -use version; $VERSION = qv('3.0.17'); +use ver...
19,233
https://github.com/shunito/vibook/blob/master/assets/css/_base.scss
Github Open Source
Open Source
MIT
2,020
vibook
shunito
SCSS
Code
258
919
@namespace "http://www.w3.org/1999/xhtml"; @namespace epub "http://www.idpf.org/2007/ops"; html { orphans: 2; widows: 2; } body { text-align: justify; text-justify: inter-ideograph; } * { box-sizing: border-box; margin: 0; padding: 0; } .horizontal-tb { -epub-writing-mode: horizontal-tb; -ms-writi...
18,143
https://github.com/f110/hugo/blob/master/vendor/github.com/bep/golibsass/internal/libsass/error_handling.cpp
Github Open Source
Open Source
Apache-2.0
2,022
hugo
f110
C++
Code
5
34
#ifndef USE_LIBSASS_SRC #include "../../libsass_src/src/error_handling.cpp" #endif
711
https://github.com/ExistDev/EXIST/blob/master/src/net/minecraft/command/CommandTrigger.java
Github Open Source
Open Source
Apache-2.0
2,021
EXIST
ExistDev
Java
Code
277
1,061
package net.minecraft.command; import com.google.common.collect.Lists; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.scoreboard.IScoreObjectiveCriteria; import net.minecraft.sco...
50,160
https://github.com/csitedexperts/ProgrammingWithC/blob/master/chap12/cp12_20.c
Github Open Source
Open Source
Apache-2.0
null
ProgrammingWithC
csitedexperts
C
Code
75
184
/* CP12_20.C */ /* Sample Program using clearerr() function */ #include <stdio.h> #include<conio.h> int main() { FILE *fp; char ch; /* open a file for writing */ fp = fopen("C:\\mm.doc", "w"); /* force an error condition by attempting to read */ ch = fgetc(fp); printf("%c\n",ch); if (ferror(fp)) { prin...
36,339
https://github.com/janinko/causeway/blob/master/core/src/main/java/org/jboss/pnc/causeway/ctl/ImportController.java
Github Open Source
Open Source
Apache-2.0
2,017
causeway
janinko
Java
Code
25
112
package org.jboss.pnc.causeway.ctl; import org.jboss.pnc.causeway.rest.CallbackTarget; import org.jboss.pnc.causeway.rest.model.Build; /** * * @author Honza Brázdil &lt;jbrazdil@redhat.com&gt; */ public interface ImportController { public void importBuild(Build build, CallbackTarget callback); }
45,879
https://github.com/oliverkurth/photon/blob/master/SPECS/selinux-policy/system-systenwork.patch
Github Open Source
Open Source
Apache-2.0
2,020
photon
oliverkurth
null
Spoken
154
1,379
diff -aur selinux-policy-ad1d35503f55f535401daa0a59913aa559c38d44/policy/modules/system/sysnetwork.fc selinux-policy-ad1d35503f55f535401daa0a59913aa559c38d44_2/policy/modules/system/sysnetwork.fc --- selinux-policy-ad1d35503f55f535401daa0a59913aa559c38d44/policy/modules/system/sysnetwork.fc 2020-07-09 12:50:34.02844327...
23,599
https://github.com/Bakx13/tbot_report/blob/master/tbot_venv/lib/python3.9/site-packages/telegramPublishBot/publisher.py
Github Open Source
Open Source
MIT
2,021
tbot_report
Bakx13
Python
Code
131
410
#!/usr/bin/env python3 import requests import json from .token import * from .network import postAsync URL = lambda token, method:\ "https://api.telegram.org/bot%s/%s" % (token, method) def getMe(token): url = URL(token, "getMe") r = requests.get(url) try: j = r.json() return j["ok"]...
21,881
https://github.com/JulianoCristian/GSCoronaExample/blob/master/auth.lua
Github Open Source
Open Source
MIT
2,018
GSCoronaExample
JulianoCristian
Lua
Code
233
604
----------------------------------------------------------------------------------------- -- -- auth.lua -- -- Stephen Callaghan <stephen.callaghan@gamesparks.com> -- Edited: 2018/01/19 -- Created: 2018/01/18 ----------------------------------------------------------------------------------------- local widget = requir...
22,216
https://github.com/JoelCourtney/aerie/blob/master/scheduler-server/src/main/java/gov/nasa/jpl/aerie/scheduler/server/remotes/postgres/IntegrationFailureException.java
Github Open Source
Open Source
MIT
2,022
aerie
JoelCourtney
Java
Code
43
141
package gov.nasa.jpl.aerie.scheduler.server.remotes.postgres; public abstract sealed class IntegrationFailureException extends RuntimeException permits DatabaseException, FailedInsertException, FailedUpdateException { public IntegrationFailureException() {} public IntegrationFailureException(final String ...
39,103
https://github.com/ibm-spl-fhir/FHIR/blob/master/fhir-server-test/src/test/java/com/ibm/fhir/server/test/profiles/USCoreMedicationTest.java
Github Open Source
Open Source
Apache-2.0
2,021
FHIR
ibm-spl-fhir
Java
Code
353
1,493
/* * (C) Copyright IBM Corp. 2020 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.server.test.profiles; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertTrue; import java.util.Arrays; import java.util.List; import java.util.logging.Logger; import javax.ws.rs.c...
20,557
https://github.com/stolostron/hub-of-hubs-status-transport-bridge/blob/master/pkg/bundle/base_bundle.go
Github Open Source
Open Source
Apache-2.0
null
hub-of-hubs-status-transport-bridge
stolostron
Go
Code
50
154
package bundle import "github.com/stolostron/hub-of-hubs-data-types/bundle/status" type baseBundle struct { LeafHubName string `json:"leafHubName"` BundleVersion *status.BundleVersion `json:"bundleVersion"` } // GetLeafHubName returns the leaf hub name that sent the bundle. func (baseBundle *baseB...
16,825
https://github.com/tidalvirus/vzduch-dotek/blob/master/AirTouch/AirTouchResponse.cs
Github Open Source
Open Source
MIT
2,021
vzduch-dotek
tidalvirus
C#
Code
25
67
namespace VzduchDotek.Net.AirTouch { public class AirTouchResponse { public AirTouchResponse(string[] msg) { Content = msg; } public string[] Content { get; private set; } } }
2,289
https://github.com/corselia/table-setter/blob/master/template/config.ru
Github Open Source
Open Source
MIT
2,021
table-setter
corselia
Ruby
Code
144
365
#!/usr/bin/env ruby # This is the rackup file for TableSetter, you can use it to run the application through any rack # enabled web server. # # For example this will spin up a thin instance: # # thin start -R ./config.ru # # To run it in apache you should have Passenger enabled, and follow the instructions in the # pa...
29,207
https://github.com/nizmow/settings/blob/master/fish/config.fish
Github Open Source
Open Source
MIT
null
settings
nizmow
Fish
Code
21
79
if not functions -q fisher set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish fish -c fisher end
27,155
https://github.com/yakir12/AssociationsGUI.jl/blob/master/src/util.jl
Github Open Source
Open Source
MIT
2,019
AssociationsGUI.jl
yakir12
Julia
Code
242
649
function second2hms(x::Second)::Dict{DataType, Int} ps = Dates.canonicalize(Dates.CompoundPeriod(x)) a = Dict{DataType, Int}(k => 0 for k in [Hour, Minute, Second]) ts = [Day, Week, Month, Year] for p in ps.periods if typeof(p) in ts a[Hour] += Hour(p).value else ...
40,951
https://github.com/keyblade95/DamicoGabboliniParroni/blob/master/Implementation/TravlendarApp/placesAPI/src/main/java/noman/googleplaces/PlaceType.java
Github Open Source
Open Source
MIT
null
DamicoGabboliniParroni
keyblade95
Java
Code
477
1,378
package noman.googleplaces; /** * Created by Noman on 8/25/2016. * https://developers.google.com/places/supported_types */ public interface PlaceType { public String ACCOUNTING = "accounting"; public String AIRPORT = "airport"; public String AMUSEMENT_PARK = "amusement_park"; public String AQUARIUM ...
373
https://github.com/nitricspace/PurpurLite/blob/master/patches/server/0006-Configurable-server-mod-name.patch
Github Open Source
Open Source
MIT
null
PurpurLite
nitricspace
null
Spoken
155
707
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath <Blake.Galbreath@GMail.com> Date: Sat, 21 Mar 2020 11:47:39 -0500 Subject: [PATCH] Configurable server mod name diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server...
372
https://github.com/kshen3778/seqenv/blob/master/examples/sequences/run.sh
Github Open Source
Open Source
MIT
2,023
seqenv
kshen3778
Shell
Code
6
19
seqenv community.fasta --seq_type nucl --out_dir output
769
https://github.com/ozge-demiryol/kodluyoruzilkrepo/blob/master/csharp-dersleri-odev-4/Program.cs
Github Open Source
Open Source
MIT
null
kodluyoruzilkrepo
ozge-demiryol
C#
Code
131
498
using System; namespace csharp_dersleri_odev4 { class Program { static void Main(string[] args) { //Implicit Conversion //Bir tipin kendinden daha yuksek kapasiteli bir degiskene atanmasi byte a=5; sbyte b=30; short c= 10...
30,440
https://github.com/maxxx580/elastic-object-detection-and-monitor-dashboard/blob/master/run_user.py
Github Open Source
Open Source
MIT
2,020
elastic-object-detection-and-monitor-dashboard
maxxx580
Python
Code
17
69
import logging from app import create_app, db user_app = create_app() logging.basicConfig(filename='request.log', level=logging.CRITICAL) if __name__ == "__main__": user_app.run(debug=True)
39,453
https://github.com/nogayhan/flights-api-project/blob/master/YiiWebApplication.php
Github Open Source
Open Source
BSD-3-Clause
2,021
flights-api-project
nogayhan
PHP
Code
28
91
<?php use app\components\TravelPayoutsApi; use yii\web\Application; /** * Created by: Andrey Polyakov (andrey@polyakov.im) */ /** * Class YiiWebApplication * @property-read TravelPayoutsApi $travelpayoutsApi */ class YiiWebApplication extends Application { }
26,196
https://github.com/altay13/gostructures/blob/master/algorithms/strings/strings_test.go
Github Open Source
Open Source
MIT
2,020
gostructures
altay13
Go
Code
57
183
package strings import "testing" func TestGetAllSubstrings(t *testing.T) { dummy := "abcd" res := GetAllSubstrings(dummy) if len(res) != 10 { t.Fatalf("Failed testing GetAllSubstrings. Expected 10, instead %d", len(res)) } if res[0] != "a" { t.Fatalf("Failed testing GetAllSubsctrings. Expected a, instead %s"...
42,938
https://github.com/kuafuwang/JCDT/blob/master/JCDT/JCDT_Lib/internal/classfmt/AttributeInfo.inl
Github Open Source
Open Source
MIT
2,021
JCDT
kuafuwang
C++
Code
314
960
#ifndef jcdt_class_AttributeInfo_INCLUDED #define jcdt_class_AttributeInfo_INCLUDED #include <JCDT_Lib/internal/util/tuple.h> #include "ConstantPool.inl" namespace Jikes { class CPUtf8Info; class ClassFile; // Open namespace Jikes block // // Describes an arbitrary attribute. We subclass this for known attribut...
13,893
https://github.com/kanekotic/tello-js/blob/master/test/index-test.js
Github Open Source
Open Source
MIT
2,021
tello-js
kanekotic
JavaScript
Code
89
343
jest.mock('../src/commands/control', () => jest.fn()) jest.mock('../src/commands/read', () => jest.fn()) jest.mock('../src/commands/set', () => jest.fn()) jest.mock('../src/streams/state', () => jest.fn()) jest.mock('../src/streams/video', () => jest.fn()) const controlCommands = require('../src/commands/control'), ...
2,564
https://github.com/hshukla/vespa/blob/master/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/maintenance/RoutingPolicyMaintainer.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,019
vespa
hshukla
Java
Code
747
2,841
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.maintenance; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.RotationName; import com.yahoo.config.provision.zone.ZoneId; import ...
29,440
https://github.com/atyuwen/string_dictionary/blob/master/external/libCSD/StringDictionary.h
Github Open Source
Open Source
MIT
2,021
string_dictionary
atyuwen
C
Code
698
1,582
/* StringDictionary.h * Copyright (C) 2014, Francisco Claude & Rodrigo Canovas & Miguel A. Martinez-Prieto * all rights reserved. * * Abstract class for implementing Compressed String Dictionaries. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
10,349
https://github.com/belajarqywok/zeiper/blob/master/src/models/stream/stream.py
Github Open Source
Open Source
MIT
2,021
zeiper
belajarqywok
Python
Code
521
1,652
import cv2 import imutils import datetime from src.apis.sound import Sound from src.views.views import Views from imutils.video import VideoStream from src.apis.randomName import Generator from src.models.captures.image_capture import Image from src.apis.detectNPredict import detect_and_predict_mask from src.logging.l...
4,817
https://github.com/DunZhang/DomainSpecificThesaurus/blob/master/build/lib/DST/phrase_detection/__init__.py
Github Open Source
Open Source
MIT
2,022
DomainSpecificThesaurus
DunZhang
Python
Code
9
25
from ..phrase_detection import PhraseDetection # from .PhraseDetection import PhraseDetection
27,278
https://github.com/angular-rust/opengles-tutorial/blob/master/c07_in_practice/assets/shaders/2.0.particle.fs
Github Open Source
Open Source
MIT
2,022
opengles-tutorial
angular-rust
null
Spoken
32
109
#version 100 precision mediump float; uniform vec4 u_color; uniform sampler2D s_texture; varying float v_lifetime; void main() { vec4 texColor; texColor = texture2D(s_texture, gl_PointCoord); gl_FragColor = vec4(u_color) * texColor; gl_FragColor.a *= v_lifetime; }
41,691
https://github.com/timduru/platform-packages-apps-Settings/blob/master/src/com/android/settings/katkiss/ChooserDialogFragment.java
Github Open Source
Open Source
Apache-2.0
2,016
platform-packages-apps-Settings
timduru
Java
Code
171
603
package com.android.settings.katkiss; import android.app.*; import android.content.ContentResolver; import android.content.DialogInterface; import android.os.Bundle; import android.os.SystemProperties; import android.app.AlertDialog.Builder; import com.android.settings.R; import org.meerkats.katkiss.KatUtils; import ...
52,191
https://github.com/JoaoKshesek/quebra-galho/blob/master/quebra-galho/itens.php
Github Open Source
Open Source
MIT
null
quebra-galho
JoaoKshesek
PHP
Code
98
564
<?php session_start(); include_once('conexao.php'); //print_r($_SESSION); $email_user = $_SESSION['email_user']; //print_r($email_user); $sqlSelect = "SELECT * FROM usuarios WHERE email_user = '$email_user'"; $resultSql = $conexao->query($sqlSelect); //print_r($resultSql); while...
40,990
https://github.com/pcwalton/rust-bindgen/blob/master/tests/headers/union_with_anon_unnamed_union_1_0.h
Github Open Source
Open Source
BSD-3-Clause
2,022
rust-bindgen
pcwalton
C
Code
23
70
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq union foo { unsigned int a; union { unsigned short b; unsigned char c; }; };
6,675
https://github.com/ChainGangChase/game/blob/master/core/src/com/percipient24/input/maps/XboxWindows.java
Github Open Source
Open Source
MIT
2,016
game
ChainGangChase
Java
Code
194
338
/* * @(#)XboxWindows.java 0.1 14/1/28 * * Copyright 2014, MAGIC Spell Studios, LLC */ package com.percipient24.input.maps; /* * Controller mapping for an Xbox 360 controller on Windows * * @version 0.1 14/1/28 * @author William Ziegler */ public class XboxWindows { public static final int A = 0; public ...
17,759
https://github.com/Toxe/design-patterns/blob/master/src/adapter/main.cpp
Github Open Source
Open Source
MIT
null
design-patterns
Toxe
C++
Code
23
93
#include <fmt/core.h> #include "adaptee/adaptee.h" #include "adapter/adapter.h" #include "client/client.h" int main() { Adaptee adaptee; Adapter adapter(adaptee); const auto value = client(adapter); fmt::print("{}\n", value); }
5,019
https://github.com/david-steffen/veebrate-multi/blob/master/backends/vertx/src/main/js/App.js
Github Open Source
Open Source
MIT
null
veebrate-multi
david-steffen
JavaScript
Code
304
1,202
var Router = require("vertx-web-js/router"); var SockJSHandler = require("vertx-web-js/sock_js_handler"); var BodyHandler = require("vertx-web-js/body_handler"); var StaticHandler = require("vertx-web-js/static_handler"); var router = Router.router(vertx); var connections = {} var eb = vertx.eventBus(); eb.consumer...
24,529
https://github.com/isc-bsaviano/intersystems-servermanager/blob/master/src/makeRESTRequest.ts
Github Open Source
Open Source
MIT
2,022
intersystems-servermanager
isc-bsaviano
TypeScript
Code
383
993
// Derived from https://github.com/intersystems/language-server/blob/bdeea88d1900a3aff35d5ac373436899f3904a7e/server/src/server.ts import axios, { AxiosResponse } from 'axios'; import axiosCookieJarSupport from 'axios-cookiejar-support'; import tough = require('tough-cookie'); import { ServerSpec } from './extension';...
31,843
https://github.com/lindexi/UWP/blob/master/uwp/src/ImageMoseClick/ImageMoseClick/ViewModel/ViewModel.cs
Github Open Source
Open Source
MIT
2,022
UWP
lindexi
C#
Code
153
552
// lindexi using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; using Windows.Storage.Pickers; using Windows.UI.Xaml; using Windows.UI.Xaml.Media.Imaging; namespace ImageMoseClick.ViewModel { public class ViewModel : ViewModelB...
29,177
https://github.com/bremersee/common-model/blob/master/src/test/java/org/bremersee/common/model/UnknownAwareTest.java
Github Open Source
Open Source
Apache-2.0
2,021
common-model
bremersee
Java
Code
472
1,715
/* * Copyright 2018-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
19,465
https://github.com/PNNL-Comp-Mass-Spec/DBSchema_PgSQL_DMS/blob/master/dms/test_get_data_single.sql
Github Open Source
Open Source
Apache-2.0
2,022
DBSchema_PgSQL_DMS
PNNL-Comp-Mass-Spec
SQL
Code
90
280
-- -- Name: test_get_data_single(integer, text, refcursor, text); Type: PROCEDURE; Schema: public; Owner: d3l243 -- CREATE OR REPLACE PROCEDURE public.test_get_data_single(_itemid integer, INOUT _message text DEFAULT ''::text, INOUT _result_one refcursor DEFAULT 'rs_resultone'::refcursor, INOUT _returncode text DEFAUL...
17,548
https://github.com/NaiveWang/Just_for_Fun/blob/master/Compilers/Parser/timer.h
Github Open Source
Open Source
MIT
2,020
Just_for_Fun
NaiveWang
C
Code
33
79
#include <windows.h> /** * This head file aims to compute * how much time taken by block of code. */ DWORD timer_c; void timerStart() { timer_c=GetTickCount(); } long timerEnd() { return GetTickCount()-timer_c; }
31,868
https://github.com/makimenko/akibot-common/blob/master/dist/message/orientation/OrientationResponse.d.ts
Github Open Source
Open Source
MIT
null
akibot-common
makimenko
TypeScript
Code
31
61
import { Message, Angle } from "../.."; export declare class OrientationResponse extends Message { success: boolean | undefined; finalAngle: Angle | undefined; constructor(success?: boolean | undefined, finalAngle?: Angle | undefined); }
3,850
https://github.com/eplebel/science-commons/blob/master/alpha-site-v1/search.py
Github Open Source
Open Source
MIT
2,018
science-commons
eplebel
Python
Code
312
874
import mongo_tools as mt s = raw_input('What? --->') authors = mt.Connect('sciencecommons').setTable('authors') journals = mt.Connect('sciencecommons').setTable('journals') articles = mt.Connect('sciencecommons').setTable('articles') #parse the search string in spaces s = s.split(' ') #find dois matching anything...
47,113
https://github.com/woshiluo/woshiluo-conf/blob/master/atom/.atom/config.cson
Github Open Source
Open Source
CC0-1.0
2,021
woshiluo-conf
woshiluo
CoffeeScript
Code
74
363
"*": "atom-clock": dateFormat: "YYYY.MM.DD dddd HH:MM:ss " refreshInterval: 1 "atom-drawio": showExportButtons: true "atom-material-ui": colors: abaseColor: "#2196f3" predefinedColor: "Blue" tabs: compactTabs: true stretchedTabs: true ui: panelContrast: true...
22,724
https://github.com/echuquillanquiy/lamp-logistica/blob/master/resources/views/layouts/backoffice/reportepagoletra/index.blade.php
Github Open Source
Open Source
MIT
null
lamp-logistica
echuquillanquiy
PHP
Code
245
1,524
@extends('layouts.backoffice.master') @section('cuerpobackoffice') <div class="panel panel-danger" data-sortable-id="ui-widget-3"> <div class="panel-heading ui-sortable-handle"> <div class="btn-group btn-group-toggle pull-right"> <a href="javascript:;" class="btn btn-warning" onclick="modal({rou...
40,085
https://github.com/ammongit/scripts/blob/master/scp-slots.py
Github Open Source
Open Source
MIT
2,020
scripts
ammongit
Python
Code
120
440
#!/usr/bin/python3 import re import sys from bs4 import BeautifulSoup from urllib.request import urlopen DEFAULT_SERIES = 7 SCP_SERIES_REGEX = re.compile(r'/scp-[0-9]{3,4}') def count_slots(url): with urlopen(url) as response: data = response.read() empty_slots = 0 total_slots = 0 scps = se...
32,563
https://github.com/Gradven/platform-api/blob/master/portal-api/src/main/java/com/channelsharing/hongqu/portal/api/service/impl/UserCertificateServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,021
platform-api
Gradven
Java
Code
210
1,063
/** * Copyright &copy; 2016-2022 liuhangjun All rights reserved. */ package com.channelsharing.hongqu.portal.api.service.impl; import java.io.IOException; import com.channelsharing.hongqu.portal.api.enums.Side; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; imp...
43,346
https://github.com/netuoso/msp3k/blob/master/app/controllers/api/v1/bots_controller.rb
Github Open Source
Open Source
WTFPL
2,019
msp3k
netuoso
Ruby
Code
219
931
class Api::V1::BotsController < Api::V1::BaseController def vote parsed_url = Bot.parse_url(permitted_params[:url]) action_params = { bots: permitted_params[:bots].split(','), bot_action: action_name, app_user: permitted_params[:app_user], author: parsed_url['actions'].include?('reste...
46,105
https://github.com/LeeWongSnail/SourceCode_ReadingNote/blob/master/xnu-2782.1.97/bsd/sys/coalition.h
Github Open Source
Open Source
MIT
null
SourceCode_ReadingNote
LeeWongSnail
C
Code
355
873
/* * Copyright (c) 2013 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except ...
18,047
https://github.com/mcanthony/river/blob/master/assets/libs/terrain-generator/river.js
Github Open Source
Open Source
MIT
2,015
river
mcanthony
JavaScript
Code
68
251
var RIVER_FILTER = { Apply: function( inCanvas, inParameters ) { var context = inCanvas.getContext( "2d" ); // Apply a linear gradient var gradient = context.createLinearGradient(0, 0, inCanvas.width, 0) gradient.addColorStop( 0.0, 'transparent' ); gradient.addColorStop( 0.2, 'transparent' ); gradie...
22,793
https://github.com/bitzesty/trade-tariff-backend/blob/master/app/serializers/api/v2/chemicals/chemical_list_serializer.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,020
trade-tariff-backend
bitzesty
Ruby
Code
32
131
module Api module V2 module Chemicals class ChemicalListSerializer include JSONAPI::Serializer set_type :chemical set_id :id attributes :id, :cas attribute :name, &:name has_many :goods_nomenclatures, serializer: Api::V2::GoodsNomenclatures::GoodsNomenclat...
3,067
https://github.com/OlehBalandyuk/martian-java/blob/master/src/test/java/com/google/martian/VerificationFailureTest.java
Github Open Source
Open Source
Apache-2.0
2,016
martian-java
OlehBalandyuk
Java
Code
214
535
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
3,540
https://github.com/10088/cas/blob/master/support/cas-server-support-scim/src/main/java/org/apereo/cas/config/CasScimConfiguration.java
Github Open Source
Open Source
Apache-2.0
null
cas
10088
Java
Code
299
1,797
package org.apereo.cas.config; import org.apereo.cas.api.PrincipalProvisioner; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.configuration.support.CasFeatureModule; import org.apereo.cas.scim.v1.ScimV1PrincipalAttributeMapper; import org.apereo.cas.scim.v1.ScimV1PrincipalProvisi...
28,445
https://github.com/henryclong/shopify-product-fetcher/blob/master/test/parseSitemap.js
Github Open Source
Open Source
MIT
null
shopify-product-fetcher
henryclong
JavaScript
Code
60
181
const assert = require('assert'); const fs = require('fs'); const path = require('path'); const { getProductSitemaps } = require('../src/parseSitemap'); const sitemapPath = './testServer/public/sitemap.xml'; let sitemap = ''; try { sitemap = fs.readFileSync(path.join(__dirname, sitemapPath), 'utf-8'); } catch (e) ...
31,641
https://github.com/sifulan-access-federation/helm-charts/blob/master/mongodb/templates/_helpers.tpl
Github Open Source
Open Source
Apache-2.0
2,021
helm-charts
sifulan-access-federation
null
Spoken
261
682
{{/* vim: set filetype=mustache: */}} {{/* Expand the name of the chart. */}} {{- define "mongodb.name" -}} {{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* Create a default fully qualified app name. We truncate at 63 chars because some Kubernetes name fields are limited to...
16,170
https://github.com/CognizantOpenSource/ciqdashboard-api/blob/master/src/main/java/com/cognizant/ciqdashboardapi/repos/impl/CollectorRepositoryImpl.java
Github Open Source
Open Source
Apache-2.0
null
ciqdashboard-api
CognizantOpenSource
Java
Code
969
3,673
/* * © [2021] Cognizant. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
43,887
https://github.com/BinaryTreeNode/KDS/blob/master/vendor/k8s.io/kubernetes/pkg/controller/node/ipam/timeout_test.go
Github Open Source
Open Source
Apache-2.0
2,020
KDS
BinaryTreeNode
Go
Code
187
508
/* Copyright 2017 The Kubernetes Authors. 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, ...
40,643
https://github.com/h2atecnologia/ftpgrab/blob/master/go.mod
Github Open Source
Open Source
MIT
2,020
ftpgrab
h2atecnologia
Go Module
Code
49
503
module github.com/crazy-max/ftpgrab/v7 go 1.13 require ( github.com/alecthomas/kong v0.2.11 github.com/crazy-max/gonfig v0.2.0 github.com/docker/go-units v0.4.0 github.com/go-gomail/gomail v0.0.0-20160411212932-81ebce5c23df github.com/go-playground/validator/v10 v10.3.0 github.com/hako/durafmt v0.0.0-2019100913...
3,561
https://github.com/Ellife/InsulatedNarwhal/blob/master/data_result.php
Github Open Source
Open Source
Unlicense
null
InsulatedNarwhal
Ellife
PHP
Code
373
1,765
<?php if (!empty($_POST["council_dataset"])) { $council_dataset= $_POST["council_dataset"]; } if (!empty($_POST["council_name"])) { $council_name = $_POST["council_name"]; } // House price db selection if (!empty($_POST["house_db"])) {$house_db = $_POST["house_db"];} else {$house_db = "n";} //h...
1,424
https://github.com/livingston12/sistema_pacientes/blob/master/presentacion/inicio/frmIngresoPacientes.Designer.cs
Github Open Source
Open Source
MIT
null
sistema_pacientes
livingston12
C#
Code
8,290
42,585
namespace presentacion.inicio { partial class frmIngresoPacientes { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
5,786
https://github.com/halotroop2288/consulo/blob/master/modules/desktop-awt/desktop-ui-impl/src/main/java/consulo/ui/desktop/internal/DesktopWindowWrapper.java
Github Open Source
Open Source
Apache-2.0
2,022
consulo
halotroop2288
Java
Code
230
701
/* * Copyright 2013-2020 consulo.io * * 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 ...
36,218
https://github.com/Adds98/MiCanino-django-2293077/blob/master/static/js/model.js
Github Open Source
Open Source
Apache-2.0
null
MiCanino-django-2293077
Adds98
JavaScript
Code
50
237
class Tarea { constructor(descripcion){ this.descripcion = descripcion this.inicial = new Date() this.final = NaN this.status = false this.notas = [] } get detalle(){ return `${this.descripcion} [${this.getDate(this.inicial)}] [${this.getDate(this.final)}] (...
19,358
https://github.com/henryj41043/TheUnseen/blob/master/Assets/AstarPathfindingProject/Plugins/JsonFx/Readme.txt.meta
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,014
TheUnseen
henryj41043
Unity3D Asset
Code
6
38
fileFormatVersion: 2 guid: c207495daada940f28b068cb759f14dd TextScriptImporter: userData:
16,926
https://github.com/anniyanvr/gravitee-gateway/blob/master/gravitee-apim-rest-api/gravitee-apim-rest-api-service/src/main/java/io/gravitee/rest/api/service/v4/impl/validation/FlowValidationServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,023
gravitee-gateway
anniyanvr
Java
Code
436
1,649
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
6,240
https://github.com/amir9480/michka/blob/master/src/Core/Container/Vector.inl
Github Open Source
Open Source
MIT
2,021
michka
amir9480
C++
Code
1,767
5,645
// ------------------------------------------------------------------------------- // // Michka // // ------------------------------------------------------------------------------- // // MIT License ...
40,865
https://github.com/ifelseprint/scconcrete.co.th/blob/master/frontend/controllers/HomeController.php
Github Open Source
Open Source
BSD-3-Clause
null
scconcrete.co.th
ifelseprint
PHP
Code
136
619
<?php namespace frontend\controllers; use common\models\Banner; use common\models\Customer; use common\models\News; use common\models\Product; use yii; class HomeController extends \yii\web\Controller { public function actionIndex() { $Pages = \common\models\Pages::findOne(['is_active' => 1,'page_id' =>...
45,298
https://github.com/tanyeun/JavaCodeInterview/blob/master/stacksandqueues/src/main/java/NormalizedPathnames.java
Github Open Source
Open Source
MIT
2,018
JavaCodeInterview
tanyeun
Java
Code
113
386
import java.util.*; import static java.util.Arrays.asList; public class NormalizedPathnames { /* 9.4 */ public static String shortestEquivalentPath(String path) { List<String> dirs; Deque<String> finalPath = new LinkedList<>(); if (path.charAt(0) == '/') { finalPa...
24,765
https://github.com/snouz/nullius/blob/master/nullius/prototypes/item/fluid.lua
Github Open Source
Open Source
MIT-0
2,021
nullius
snouz
Lua
Code
16,517
66,539
-- seed + drone -> farmer -- farmer + greenhouse + 1 minute -> seed + 1 local ICONPATH = "__nullius__/graphics/icons/" local FLUIDPATH = ICONPATH .. "fluid/" local ENTITYPATH = "__nullius__/graphics/entity/" element_tint = { ["carbon"] = { 32, 32, 32 }, ["hydrogen"] = { 240, 240, 240 }, ["heavy"] = { 255, 240...
26,804
https://github.com/lionturtle99/PierresTreats.Solution/blob/master/PierresTreats/Controllers/FlavorsController.cs
Github Open Source
Open Source
MIT
null
PierresTreats.Solution
lionturtle99
C#
Code
221
830
using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc; using PierresTreats.Models; using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; using System.Security.Claims; namespace PierresTreats.Controllers { [Authorize] public cla...
32,986
https://github.com/conectmarcelo/TrocaLivros/blob/master/app/Http/Controllers/SocialiteController.php
Github Open Source
Open Source
MIT
null
TrocaLivros
conectmarcelo
PHP
Code
122
503
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Laravel\Socialite\Facades\Socialite; use Auth; use App\User; use Illuminate\Support\Facades\Hash; class SocialiteController extends Controller { /** * Redirect the user to the GitHub authentication page. * * @return \Illuminat...
16,511
https://github.com/thiencalvin00/thiencalvin00.github.io/blob/master/style.scss
Github Open Source
Open Source
MIT
2,020
thiencalvin00.github.io
thiencalvin00
SCSS
Code
827
2,858
--- --- // // IMPORTS // @import "reset"; @import "variables"; // Syntax highlighting @import is at the bottom of this file /**************/ /* BASE RULES */ /**************/ html { font-size: 100%; } body { background: $darkGray; font: 18px/1.4 $helvetica; color: $offWhite; } title { font-size: 30px; ...
46,341
https://github.com/OverPowered-Team/Alien-GameEngine/blob/master/Alien Engine/Alien Engine/ComponentScript.cpp
Github Open Source
Open Source
MIT
2,020
Alien-GameEngine
OverPowered-Team
C++
Code
2,359
10,839
#include "ComponentScript.h" #include "ModuleObjects.h" #include "Application.h" #include "ReturnZ.h" #include "ComponentTransform.h" #include "ResourceScript.h" #include "Alien.h" #include "FileNode.h" #include "ResourcePrefab.h" #include "ModuleResources.h" #include "ModuleUI.h" #include "Prefab.h" #include "mmgr/mmg...
42,889
https://github.com/jeremija/weather/blob/master/console_weather/main.py
Github Open Source
Open Source
MIT
null
weather
jeremija
Python
Code
463
1,696
import argparse from colorama import Fore, Style import datetime import pytz import sys import traceback from . import services, config TEMP_COLORS = [ (6, Fore.BLUE), (14, Fore.BLUE), (22, Fore.GREEN), (30, Fore.YELLOW), (100, Fore.RED) ] def parse_args(argv): parser = argparse.ArgumentPar...
18,100
https://github.com/MarioRuiz/slack-smart-bot/blob/master/lib/slack/smart-bot/commands/general/see_statuses.rb
Github Open Source
Open Source
MIT
2,022
slack-smart-bot
MarioRuiz
Ruby
Code
229
752
class SlackSmartBot def see_statuses(user, channel, types, dest, not_on) save_stats(__method__) react :runner if channel == "" if dest[0] == "D" cdest = @channel_id else cdest = dest end else get_channels_name_and_id() unless @channels_name.keys.include?(channel...
47,903
https://github.com/ankurshukla1993/IOT-test/blob/master/coeey/com/facebook/imagepipeline/cache/BitmapMemoryCacheKey.java
Github Open Source
Open Source
Apache-2.0
2,021
IOT-test
ankurshukla1993
Java
Code
242
1,003
package com.facebook.imagepipeline.cache; import android.net.Uri; import com.facebook.cache.common.CacheKey; import com.facebook.common.internal.Objects; import com.facebook.common.internal.Preconditions; import com.facebook.common.time.RealtimeSinceBootClock; import com.facebook.common.util.HashCodeUtil; import com.f...
26,520
https://github.com/mrsir52/graphql-test1/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
graphql-test1
mrsir52
JavaScript
Code
104
361
import React, {Fragment} from 'react' import ReactDOM from 'react-dom' import { NavLink, Link, BrowserRouter as Router, Route, Switch, } from 'react-router-dom' import { ApolloProvider } from 'react-apollo' import ApolloClient from 'apollo-boost' import FeedPage from './components/FeedPage' import DraftsPage...
43,204