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/bullteam/zeus-admin/blob/master/pkg/api/controllers/menu.go
Github Open Source
Open Source
Apache-2.0
2,022
zeus-admin
bullteam
Go
Code
317
1,037
package controllers import ( "github.com/gin-gonic/gin" "zeus/pkg/api/dto" "zeus/pkg/api/service" ) var menuService = service.MenuService{} type MenuController struct { BaseController } // @Summary 菜单信息 // @Tags menu // @Security ApiKeyAuth // @Accept json // @Produce json // @Success 200 {array} model.User "...
4,801
https://github.com/cwyang/ssl_siege/blob/master/src/ssl.cpp
Github Open Source
Open Source
Apache-2.0
null
ssl_siege
cwyang
C++
Code
100
387
#include <cassert> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #include <netinet/in.h> #include <openssl/ssl.h> #include <pthread.h> static pthread_mutex_t *lock_cs; static void thread_locking_callback(int mode, int n, const char *file, int line) { if ((mode & CRYPTO_LOCK)...
711
https://github.com/YoshitakaMo/pymol-psico/blob/master/psico/viewing.py
Github Open Source
Open Source
BSD-2-Clause
2,023
pymol-psico
YoshitakaMo
Python
Code
1,487
4,562
""" Viewing and Coloring Stuff (c) 2011 Thomas Holder, MPI for Developmental Biology License: BSD-2-Clause """ from pymol import cmd, CmdException def nice(selection="(all)", simple=1e5, *, _self=cmd): """ DESCRIPTION My favourite representation Color: by chain (elem C) and by element (ot...
42,373
https://github.com/tvwijgerden/sulu/blob/master/src/Sulu/Component/Export/Export.php
Github Open Source
Open Source
MIT
2,020
sulu
tvwijgerden
PHP
Code
543
1,754
<?php /* * This file is part of Sulu. * * (c) Sulu GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Component\Export; use Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector; use Sulu\Bundle\PageBundle\Document\BasePa...
43,209
https://github.com/dead-claudia/sanctuary/blob/master/test/append.js
Github Open Source
Open Source
MIT
2,016
sanctuary
dead-claudia
JavaScript
Code
171
467
'use strict'; var S = require('..'); var eq = require('./internal/eq'); var throws = require('./internal/throws'); test('append', function() { eq(typeof S.append, 'function'); eq(S.append.length, 2); throws(function() { S.append('c', 'ab'); }, TypeError, 'Invalid value\n' + '\n' +...
13,799
https://github.com/typecode/allourideas.org/blob/master/vendor/gems/friendly_id-2.2.7/lib/friendly_id/non_sluggable_class_methods.rb
Github Open Source
Open Source
MIT, BSD-3-Clause
2,010
allourideas.org
typecode
Ruby
Code
115
393
module FriendlyId::NonSluggableClassMethods include FriendlyId::Helpers protected def find_one(id, options) #:nodoc:# if id.respond_to?(:to_str) && result = send("find_by_#{ friendly_id_options[:method] }", id.to_str, options) result.send(:found_using_friendly_id=, true) else result = super...
42,990
https://github.com/fverse/poi-tl/blob/master/poi-tl/src/main/java/com/deepoove/poi/resolver/TemplateResolver.java
Github Open Source
Open Source
Apache-2.0
null
poi-tl
fverse
Java
Code
1,025
3,806
/* * Copyright 2014-2021 Sayi * * 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...
23,566
https://github.com/gii-is-DP1/dp1-2021-2022-l8-02/blob/master/src/main/java/org/springframework/samples/endofline/board/Path.java
Github Open Source
Open Source
Apache-2.0
null
dp1-2021-2022-l8-02
gii-is-DP1
Java
Code
49
215
package org.springframework.samples.endofline.board; import lombok.Getter; import lombok.Setter; import org.springframework.samples.endofline.card.CardColor; import org.springframework.samples.endofline.model.BaseEntity; import javax.persistence.Table; import java.util.List; import javax.persistence.ElementCollectio...
38,573
https://github.com/GPUWorks/WebCore/blob/master/src/Texture.cpp
Github Open Source
Open Source
MIT
2,018
WebCore
GPUWorks
C++
Code
182
871
#include "Texture.h" #include <fstream> #include <vector> #include <iostream> #include "PngLoader.h" Texture::Texture() { } Texture::~Texture() { } void Texture::loadPng(const char* file) { PngLoader loader; loader.load(file); glActiveTexture(GL_TEXTURE1); glGenTextures(1, &m_texture); glBindTextu...
18,599
https://github.com/MagnusThor/demolishedRender/blob/master/lib/DR.d.ts
Github Open Source
Open Source
MIT
null
demolishedRender
MagnusThor
TypeScript
Code
443
1,199
export interface ITx { src?: any; fn?(prg: WebGLProgram, gl: WebGLRenderingContext, src: any): Function; w?: number; h?: number; } export declare class Dt { framebuffer: WebGLFramebuffer; renderbuffer: WebGLRenderbuffer; texture: WebGLTexture; textures: Array<string>; uniforms: any; ...
52,617
https://github.com/handsomegyr/laravel_models/blob/master/lib/App/Common/Models/Member/Friend.php
Github Open Source
Open Source
MIT
null
laravel_models
handsomegyr
PHP
Code
17
74
<?php namespace App\Common\Models\Member; use App\Common\Models\Base\Base; class Friend extends Base { function __construct() { $this->setModel(new \App\Common\Models\Member\Mysql\Friend()); } }
10,144
https://github.com/ClotildeToullec/TelescopeRoassal3/blob/master/src/Telescope-Roassal3-Tests/TLExamplesTest.class.st
Github Open Source
Open Source
MIT
2,020
TelescopeRoassal3
ClotildeToullec
null
Spoken
89
234
Class { #name : #TLExamplesTest, #superclass : #TestCase, #category : #'Telescope-Roassal3-Tests' } { #category : #tests } TLExamplesTest >> testAllExamples [ | no examplesToTest redExamples | no := #(exampleCompositeNodeWithLabelInsideInButterfly exampleTreeExplorerCollectionHierarchy exampleTwoConnectedVis...
48,125
https://github.com/iadgov/simon-speck-supercop/blob/master/crypto_aead/enchilada128v1/ref/api.h
Github Open Source
Open Source
CC0-1.0
2,018
simon-speck-supercop
iadgov
C
Code
15
65
#define CRYPTO_KEYBYTES 32 #define CRYPTO_NSECBYTES 0 #define CRYPTO_NPUBBYTES 8 #define CRYPTO_ABYTES 32 #define CRYPTO_NOOVERLAP 1
31,500
https://github.com/Gooru/ln-nucleus-search-indexer/blob/master/src/main/java/org/gooru/nucleus/search/indexers/app/index/model/LicenseEo.java
Github Open Source
Open Source
Apache-2.0
null
ln-nucleus-search-indexer
Gooru
Java
Code
79
279
package org.gooru.nucleus.search.indexers.app.index.model; import org.gooru.nucleus.search.indexers.app.utils.JsonUtil; import io.vertx.core.json.JsonObject; public class LicenseEo { private JsonObject license; public LicenseEo() { this.license = new JsonObject(); } public JsonObject getLicense() { ...
41,131
https://github.com/yarongvili1/latticezk/blob/master/include/latticezk/cudamv/common.hpp
Github Open Source
Open Source
CC-BY-4.0
null
latticezk
yarongvili1
C++
Code
375
1,375
#ifndef __LATTICEZK_CUDAMV_COMMON_HPP_ #define __LATTICEZK_CUDAMV_COMMON_HPP_ // Common CUDA facilities // - error-handling // - mapping basic arithmetic types (like int and double) to the corresponding 4-tuple CUDA ones (like int4 and double4) // - cuda_memory_model definitions // - cuda_stream_set operations...
28,662
https://github.com/ksyun-fe/kingdot/blob/master/src/utils/zIndex.js
Github Open Source
Open Source
MIT
2,022
kingdot
ksyun-fe
JavaScript
Code
52
116
import Vue from 'vue'; let zIndex; export const setZIndex = (value) => { zIndex = value; }; export default function nextZIndex() { zIndex = zIndex || (Vue.prototype.$KD || {}).zIndex; if (typeof zIndex === 'function') { return zIndex(); } else if (typeof zIndex === undefined) { zIndex ...
13,356
https://github.com/ripple/ripple-client/blob/master/src/js/tabs/login.controller.js
Github Open Source
Open Source
ISC
2,017
ripple-client
ripple
JavaScript
Code
191
781
'use strict'; var util = require('util'); var Tab = require('../client/tab').Tab; var LoginTab = function() { Tab.call(this); }; util.inherits(LoginTab, Tab); LoginTab.prototype.tabName = 'login'; LoginTab.prototype.pageMode = 'single'; LoginTab.prototype.parent = 'main'; LoginTab.prototype.extraRoutes = [ {na...
52,219
https://github.com/malizhev/uaweb-reddit/blob/master/src/scss/views/subreddit.scss
Github Open Source
Open Source
MIT
null
uaweb-reddit
malizhev
SCSS
Code
5
21
.app-subreddit { padding-top: $header-height; }
6,719
https://github.com/nighrain/my_leetcode_cn/blob/master/algorithm/src/main/java/leetcode/algorithm/aarray/BMaxProfit.java
Github Open Source
Open Source
Apache-2.0
null
my_leetcode_cn
nighrain
Java
Code
393
1,372
package leetcode.algorithm.aarray; /** *     * Title       [title] * Author:       [..] * CreateDate:   [2020-04-30--16:02] @_@ ~~ * Version:      [v1.0] * Description:  [买卖股票的最佳时机 II] * <p> * 给定一个数组,它的第 i 个元素是一支给定股票第 i 天的价格。 * 设计一个算法来计算你所能获取的最大利润。你可以尽可能地完成更多的交易(多次买卖一支股票)。 * 注意:你不能同时参与多笔交易(你必须在再次购买前出售...
5,337
https://github.com/kbu1564/SimpleAlgorithm/blob/master/acmicpc.net/2580.cpp
Github Open Source
Open Source
MIT
2,021
SimpleAlgorithm
kbu1564
C++
Code
347
807
#include <iostream> #include <vector> using namespace std; int MM[9][9][10]; int M[9][9]; int main() { int zero = 0; for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { cin >> M[i][j]; if (M[i][j] == 0) { zero++; } } } while (zero > 0) { for (int i = 0; i < 9; i++) for (int j = 0; j <...
43,318
https://github.com/netgroup/rose-srv6-control-plane/blob/master/control_plane/apps/apps/nb_grpc_client/srv6_manager.py
Github Open Source
Open Source
Apache-2.0
2,022
rose-srv6-control-plane
netgroup
Python
Code
1,846
6,433
#!/usr/bin/python ########################################################################## # Copyright (C) 2020 Carmine Scarpitta # (Consortium GARR and University of Rome "Tor Vergata") # www.garr.it - www.uniroma2.it/netgroup # # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use t...
12,058
https://github.com/luochen52/legendables/blob/master/index.js
Github Open Source
Open Source
MIT
2,019
legendables
luochen52
JavaScript
Code
17
61
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var legend_1 = require("./src/legend"); exports.Legend = legend_1.default; //# sourceMappingURL=index.js.map
39,436
https://github.com/khasibhatla/CsvHelper/blob/master/src/CsvHelper/ICsvReader.cs
Github Open Source
Open Source
MS-PL
null
CsvHelper
khasibhatla
C#
Code
448
1,037
// Copyright 2009-2015 Josh Close and Contributors // This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0. // See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0. // http://csvhelper.com u...
42,186
https://github.com/shujahm/binary-test/blob/master/loopback/packages/testlab/dist/__tests__/unit/test-sandbox.unit.js
Github Open Source
Open Source
MIT
null
binary-test
shujahm
JavaScript
Code
213
798
"use strict"; // Copyright IBM Corp. 2020. All Rights Reserved. // Node module: @loopback/testlab // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = require("path"); const __1 = re...
16,370
https://github.com/ThisIsMyNick/CChat/blob/master/generate_documentation.sh
Github Open Source
Open Source
MIT
null
CChat
ThisIsMyNick
Shell
Code
64
184
#!/bin/bash head -n "$(grep -nr "## Documentation" README.md | cut -d : -f 1)" README.md > README.md.tmp mv README.md.tmp README.md echo -e "Documentation is taken directly from the source. Run \`./generate_documentation.sh\` to generate the documentation." >> README.md for file in src/client/*.c; do { e...
995
https://github.com/bobozihan/longmao/blob/master/totoro_manage-master/src/main/java/com/opengroup/longmao/gwcommon/repository/slave/LiveH5RepositorySlave.java
Github Open Source
Open Source
Apache-2.0
2,017
longmao
bobozihan
Java
Code
28
151
package com.opengroup.longmao.gwcommon.repository.slave; import com.opengroup.longmao.gwcommon.configuration.query.core.BaseRepository; import com.opengroup.longmao.gwcommon.entity.po.LiveH5; /** * 【直播间H5活动入口】 RepositorySlave接口 * * @version 1.0 * @author Hermit 2017年05月12日 下午16:09:19 */ public interface LiveH5R...
10,143
https://github.com/vivicoco/107-Arduino-FPGA/blob/master/extras/fpga/rtl/unitViperQuadcopterTop/ViperQuadcopterTop-e.vhd
Github Open Source
Open Source
MIT
2,021
107-Arduino-FPGA
vivicoco
VHDL
Code
166
586
--------------------------------------------------------------- -- This software is distributed under the terms of the MIT License. -- Copyright (c) 2020 LXRobotics. -- Author: Alexander Entinger <alexander.entinger@lxrobotics.com> -- Contributors: https://github.com/107-systems/107-Arduino-FPGA/graphs/contributors. --...
16,497
https://github.com/rj08zhou/timerwheel/blob/master/timerwheel/common/model/linkedlist.go
Github Open Source
Open Source
MIT
2,021
timerwheel
rj08zhou
Go
Code
94
343
package model import ( "container/list" "sync" ) type SafeLinkedList struct { sync.RWMutex L *list.List } func NewSafeLinkedList() *SafeLinkedList { return &SafeLinkedList{L: list.New()} } func (this *SafeLinkedList) PushFront(v interface{}) *list.Element { this.Lock() defer this.Unlock() return this.L.Push...
43,120
https://github.com/Bilalh/media-scrobblers/blob/master/Daemon/last_fm_scrobble_on_mplayer_played_50.c
Github Open Source
Open Source
Apache-2.0
2,015
media-scrobblers
Bilalh
C
Code
209
659
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <stdbool.h> #define FIFO_NAME "/Users/bilalh/.mplayer/pipe" #define FIFO_OUTPUT "~/.mplayer/output" #define SCRIPT "/usr/local/bin/lastfm_from_mplayer_output.rb" #define INFO "/usr/local/bin/audio_i...
41,330
https://github.com/hannadrehman/react-production/blob/master/client/src/App/Modules/Todo/Components/Header/Header.styles.scss
Github Open Source
Open Source
MIT
2,018
react-production
hannadrehman
SCSS
Code
8
27
.theader{ &__theader{ border: 1px solid gray; } }
43,045
https://github.com/mnagarajapppa/GoogleDork/blob/master/gd0rk.php
Github Open Source
Open Source
MIT
2,017
GoogleDork
mnagarajapppa
PHP
Code
212
708
<?php require_once("gd0rk.class.php"); use \dwisiswant0\gD0rk As gD0rk; ############################# echo "\n # gD0rk v1.0"; echo "\n # @ 2017, dw1\n\n"; $opened = "Usage: php " . basename(__FILE__) . " -d \"inurl:index.php?id= ext:php\" -p \"127.0.0.1:9050\"\n\n"; $header = "Startup:"; $header .= "\n -d DORK\t\tD...
45,818
https://github.com/DinhDuyTu/manchup/blob/master/app/Models/Image.php
Github Open Source
Open Source
MIT
null
manchup
DinhDuyTu
PHP
Code
28
103
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Image extends Model { protected $fillable = [ 'product_id', 'image1', 'image2', 'image3', 'image4', ]; public function product() { return $this->belongsTo(Product::class); } ...
24,125
https://github.com/neerajvkn/latteys_nvk/blob/master/latteys_nvk/cron/auto_email_report.py
Github Open Source
Open Source
MIT
2,022
latteys_nvk
neerajvkn
Python
Code
80
255
from __future__ import unicode_literals from frappe import _ import frappe import datetime def send_at_set_time(): now = datetime.datetime.now() timestamp = now.strftime('%H'+'.00') enabled_reports = frappe.get_all('Auto Email Report', filters={'ls_enabled': 1, 'frequency': 'At Set Time'}) for report in enable...
30,986
https://github.com/ai4reason/mm-atp-benchmark/blob/master/mmsetthf_v3/vd13.p
Github Open Source
Open Source
CC0-1.0
2,023
mm-atp-benchmark
ai4reason
OpenEdge ABL
Code
132
428
thf(cwvd1_tp,type,(cwvd1 : ($o > ($o > $o)))). thf(cwvd3_tp,type,(cwvd3 : ($o > ($o > ($o > ($o > $o)))))). thf(adfvd3ir_thm,axiom,(! [Xph:$o] : (! [Xps:$o] : (! [Xch:$o] : (! [Xth:$o] : ((Xph => (Xps => (Xch => Xth))) => (cwvd3 @ Xph @ Xps @ Xch @ Xth))))))). thf(aa1dd_thm,axiom,(! [Xph:$o] : (! [Xps:$o] : (! [Xch:$o]...
15,763
https://github.com/LooWooTech/Kaopu/blob/master/Ztop.Todo.Web/Views/Task/SelectUser.cshtml
Github Open Source
Open Source
MIT
null
Kaopu
LooWooTech
C#
Code
194
681
@{ Layout = null; List<UserGroup> groups = ViewBag.Groups; List<User> allUsers = ViewBag.AllUsers; List<User> selectedUsers = ViewBag.Users ?? new List<User>(); } <div class="alert alert-danger" role="alert" id="user-alert" style="display:none"> <span>警告框</span> </div> @if (Request.Browser.IsMobil...
32,801
https://github.com/abdonrd/es-dev-server-apollo-example/blob/master/packages/my-app/index.js
Github Open Source
Open Source
MIT
2,020
es-dev-server-apollo-example
abdonrd
JavaScript
Code
6
16
export { MyApp } from './src/MyApp.js';
3,536
https://github.com/mizhhieudo-it/FluentValidationASPnetCore/blob/master/src/FluentValidation/Resources/Languages/IndonesianLanguage.cs
Github Open Source
Open Source
Apache-2.0
2,020
FluentValidationASPnetCore
mizhhieudo-it
C#
Code
426
1,110
#region License // Copyright (c) .NET Foundation and contributors. // // 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 ...
2,438
https://github.com/KismetSuS/SunderingShadows/blob/master/cmds/system/_cc.c
Github Open Source
Open Source
MIT
2,021
SunderingShadows
KismetSuS
C
Code
225
900
/* Written by Plura@Nightmare 930120. I took some of the code from _update.c */ #include <std.h> #include <move.h> #define TEMP_ROOM "/d/standard/void" inherit DAEMON; int cmd_cc(string str) { object *ob, obb, ob2; string file, log, res, tmp; int n,old_size; if(!str) str = ""; this_player()->force_me(...
38,010
https://github.com/jorgelbg/grafana/blob/master/pkg/tsdb/prometheus/querydata/exemplar/testdata/noop_sampler.jsonc
Github Open Source
Open Source
AGPL-3.0-only, Apache-2.0
2,023
grafana
jorgelbg
null
Spoken
4,199
20,339
// 🌟 This was machine generated. Do not edit. 🌟 // // Frame[0] // Name: exemplar // Dimensions: 2 Fields by 2000 Rows // +-------------------------------+-----------------+ // | Name: Time | Name: Value | // | Labels: | Labels: | // | Type: []time.Time ...
15,933
https://github.com/progress/kendo-ui-builder-samples/blob/master/sports-sample-2018/app/src/scripts/components/date-time-picker/index.js
Github Open Source
Open Source
Apache-2.0
2,019
kendo-ui-builder-samples
progress
JavaScript
Code
98
283
/////////////////// // Auto-generated // Do not edit!!! /////////////////// 'use strict'; import template from './template.html'; function directive() { return { restrict: 'E', scope: true, bindToController: { id: '@', name: '@', title: '@', ...
10,657
https://github.com/quabug/GraphExt/blob/master/Packages/com.quabug.graph-ext/Core/Editor/View/IGraphElementViewFactory.cs
Github Open Source
Open Source
MIT
2,022
GraphExt
quabug
C#
Code
8
20
namespace GraphExt.Editor { public interface IGraphElementViewFactory {} }
30,088
https://github.com/leonwgc/my-react-ssr/blob/master/node/proxy.js
Github Open Source
Open Source
MIT
2,021
my-react-ssr
leonwgc
JavaScript
Code
55
160
const request = require('request'); module.exports = (page, pkg, env, req, res, next) => { request( { url: `https://static.domain.com/${env}/mkt/${pkg}/${page}?${Math.random()}` }, function (error, response, body) { if (error) { next(); } if ( !error && ((response.st...
22,285
https://github.com/davidmarinangeli/react-native-spring-scrollview/blob/master/Examples/ComplexExample.js
Github Open Source
Open Source
MIT
null
react-native-spring-scrollview
davidmarinangeli
JavaScript
Code
241
902
/* * * Created by Stone * https://github.com/bolan9999 * Email: shanshang130@gmail.com * Date: 2018/7/4 * */ import React from "react"; import { StyleSheet, Text, TouchableOpacity, Easing, TextInput, View } from "react-native"; import { VerticalScrollView } from "../src"; import { NormalHeader } fro...
31,983
https://github.com/leninbooter/impulse/blob/master/application/modules/receipts/models/Receipts_m.php
Github Open Source
Open Source
MIT
null
impulse
leninbooter
PHP
Code
146
361
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Receipts_m extends MY_Model { public $table = 'receipts'; // you MUST mention the table name public $primary_key = 'pk_id'; // you MUST mention the primary key public $fillable = array(); // If you want, you can...
5,998
https://github.com/cat24max/ArmAControlAPI/blob/master/app/Http/Controllers/HouseController.php
Github Open Source
Open Source
MIT
2,018
ArmAControlAPI
cat24max
PHP
Code
350
1,399
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class HouseController extends Controller { public function houselist() { $gangs = DB::table('houses')->orderBy('id')->get(); $count = 0; $output = []; foreach ($gangs as $gan...
34,271
https://github.com/devlphj/BaekjoonOJ/blob/master/9498.cpp
Github Open Source
Open Source
MIT
null
BaekjoonOJ
devlphj
C++
Code
35
88
#include <iostream> using namespace std; int main() { int N; cin >> N; if(N >= 90) printf("A"); else if(N >= 80) printf("B"); else if(N >= 70) printf("C"); else if(N >= 60) printf("D"); else printf("F"); }
40,774
https://github.com/riteshrana87/ritesh_new_070419879033821051_blazedeskcrm/blob/master/application/modules/Ticket/views/Ticketview.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,017
ritesh_new_070419879033821051_blazedeskcrm
riteshrana87
PHP
Code
1,049
4,514
<?php defined('BASEPATH') OR exit('No direct script access allowed'); //$formAction = !empty($editRecord)?'updatedata':'insertdata'; $formAction = 'insertdata'; $path = $lead_view . '/' . $formAction; ?> <!-- Example row of columns --> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6"> <?php echo ...
48,427
https://github.com/Catfeeds/Job_Gom/blob/master/video/gomeplusFED/DataPlatform/controllers/manage/email/index.js
Github Open Source
Open Source
MIT
2,018
Job_Gom
Catfeeds
JavaScript
Code
122
361
/** * @author lzn * @date 20161213 * @fileoverview 发送邮件 */ var email = require("emailjs"); module.exports = (Router) => { Router.post("/email/send", (req, res, next) => { let body = req.body; console.log(body); let mails = JSON.parse(body.mails); var server = email.server.conn...
41,946
https://github.com/gwen-interpreter/gwen-web/blob/master/src/main/scala/gwen/web/eval/binding/Selector.scala
Github Open Source
Open Source
Apache-2.0
2,022
gwen-web
gwen-interpreter
Scala
Code
294
690
/* * Copyright 2014-2021 Branko Juric, Brady Wood * * 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...
25,321
https://github.com/andrew-aladev/pseudo-worker/blob/master/test/onmessage-style/echo-messagechannel.js
Github Open Source
Open Source
Apache-2.0
2,020
pseudo-worker
andrew-aladev
JavaScript
Code
9
34
'use strict'; self.onmessage = function (e) { e.ports[0].postMessage(e.data); };
10,231
https://github.com/1244752609/XWanAndroid/blob/master/module-mine/src/main/java/com/ara/mine/ui/state/MyIntegralActivityViewModel.java
Github Open Source
Open Source
MIT
2,022
XWanAndroid
1244752609
Java
Code
97
432
package com.ara.mine.ui.state; import androidx.databinding.ObservableField; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.ara.base.data.response.LoadState; import com.ara.mine.domain.request.MineRequest; import com.ara.project_common.data.bean.AccountBean; import com.kunmi...
52,449
https://github.com/rahuldahal/vanilla-football-stats/blob/master/src/assets/css/modules/_flashMessage.scss
Github Open Source
Open Source
MIT
2,021
vanilla-football-stats
rahuldahal
SCSS
Code
195
698
.flashMessage { position: absolute; z-index: 5; top: 0; left: 0; width: 100vw; pointer-events: none; &__message { pointer-events: initial; position: relative; padding: 1.25em 1.5em; text-align: center; margin: 15vh auto; width: max-content; font-family: "roboto", var(--bodyFon...
50,139
https://github.com/sukanyasaha007/virtual-stylist/blob/master/code/image_generation/TryOnGAN/poseEncoder.py
Github Open Source
Open Source
MIT
null
virtual-stylist
sukanyasaha007
Python
Code
211
779
import torch from torch import nn import numpy as np ''' We take in pose as a 17x64x64 heatmap. 17 channels for 17 pose keypoints. We output 64x64, 32x32, 16x16, 8x8 and 4x4 tensors to input at multiple style blocks, starting from the first. ''' class PoseEncoder(nn.Module): def __init__(self, imageSize = 256, ch...
30,800
https://github.com/cristiancrazy/Useful-tools/blob/master/Educational Exercises/Miscellaneous/subContains.cpp
Github Open Source
Open Source
MIT
2,021
Useful-tools
cristiancrazy
C++
Code
215
533
/********************************************************************************* * Author: Cristian Capraro * Lang: C++ * School: I.T.I.S. G. Fauser - Novara Class: 4CIN * Esercizio N°4: * Scrivere un programma che riceva in ingresso due parole inserite da tastiera * Si consideri che ciascuna parola può co...
39,377
https://github.com/dage390455/AndroidModulePattern-master/blob/master/lib_common/src/main/java/com/guiying/module/common/Constant.java
Github Open Source
Open Source
Apache-2.0
2,019
AndroidModulePattern-master
dage390455
Java
Code
38
86
package com.guiying.module.common; /** * Created by Administrator on 2019/3/27. */ public final class Constant { public static final String GirlsActivity = "/girls/list"; public static final String NewsDetailActivity = "/news/detail"; // public static final String NewsDetailActivity = "/news/detail"; }
22,723
https://github.com/crazymousethief/Playground/blob/master/Nike/src/components/Good/Detail.jsx
Github Open Source
Open Source
MIT
null
Playground
crazymousethief
null
Spoken
261
1,217
import React from 'react' import { Link } from 'react-router-dom' import { Radio, Button, Icon, Rate, Form, message } from 'antd' import ReactImageZoom from 'react-image-zoom' import { data, codes } from './GoodData' import CartModel from '../Cart/CartModel' const RadioButton = Radio.Button const RadioGroup = Radio.Gr...
5,659
https://github.com/maulanauls/codeigniter-tabbing-upload/blob/master/application/controllers/Upload.php
Github Open Source
Open Source
MIT
null
codeigniter-tabbing-upload
maulanauls
PHP
Code
557
2,341
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Created by PhpStorm. * User: uls * Date: 11/02/18 * Time: 21.51 */ class Upload extends CI_Controller { var $data; public function __construct() { parent::__construct(); $this->load->database(); $this->...
9,817
https://github.com/FlorianMarcon/my_rpg/blob/master/src/game/initialisation_game.c
Github Open Source
Open Source
MIT
null
my_rpg
FlorianMarcon
C
Code
183
832
/* ** EPITECH PROJECT, 2017 ** initialisation_game ** File description: ** initialisation_game */ #include <stdbool.h> #include "graphique.h" #include "game.h" #include "map.h" #include "quete.h" void initialisation_quete(game_t *game) { unsigned int y = 550; game->textbox = sfSprite_create(); sfSprite_setTexture...
2,832
https://github.com/andrewhao/cyclecity-ingester/blob/master/services/strava.js
Github Open Source
Open Source
MIT
2,016
cyclecity-ingester
andrewhao
JavaScript
Code
216
615
import stravaLib from 'strava-v3'; import util from 'util'; import Promise from 'bluebird'; import _ from 'lodash'; // I haven't figured this out, but the load order sometimes isn't // guaranteed and dotenv doesn't always load up. if (process.env.NODE_ENV !== 'production') { require('dotenv').config(); } export def...
21,212
https://github.com/Plan9-Archive/plan9-2e/blob/master/sys/src/fb/3to1.c
Github Open Source
Open Source
MIT
2,021
plan9-2e
Plan9-Archive
C
Code
797
3,924
/* * 3to1 -- convert a 24 bit picture to 8 bits * also does color-map replacement on 8 bit inputs */ #include <u.h> #include <libc.h> #include <libg.h> #include <fb.h> #define NCMAP 256 /* how many color map entries? */ #define NCOLOR 256 /* 0<=r,g,b<NCOLOR */ void initcindex(uchar [][3], int); int fclook(int, int...
7,641
https://github.com/anishLearnsToCode/hackerrank-algorithms/blob/master/src/implimentation/ElectronicsShop.java
Github Open Source
Open Source
MIT
2,019
hackerrank-algorithms
anishLearnsToCode
Java
Code
301
691
// https://www.hackerrank.com/challenges/electronics-shop/problem package implimentation; import java.util.Arrays; import java.util.Scanner; public class ElectronicsShop { private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) { int money = scanner.next...
27,671
https://github.com/So-Cool/xCave/blob/master/xCave/helpers.py
Github Open Source
Open Source
MIT
2,021
xCave
So-Cool
Python
Code
132
359
""" Helper functions for xCave. """ import sys def parse_config(config): conf = {} for section in config.sections(): conf[section] = {} for name, raw_value in config.items(section): try: # Ugly fix to avoid '0' and '1' to be parsed as a boolean value. ...
19,813
https://github.com/LiberatorUSA/GUCEF/blob/master/platform/gucefCORE/include/gucefCORE_CDate.h
Github Open Source
Open Source
Apache-2.0
2,023
GUCEF
LiberatorUSA
C++
Code
357
923
/* * gucefCORE: GUCEF module providing O/S abstraction and generic solutions * Copyright (C) 2002 - 2008. Dinand Vanvelzen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; ei...
21,905
https://github.com/Keesiu/meta-kaggle/blob/master/data/external/repositories/126714/kaggle-avazu-master/script/rare.py
Github Open Source
Open Source
MIT
null
meta-kaggle
Keesiu
Python
Code
110
320
import marshal def stat(input,isTest): f = open(input) line = f.readline() count = 0 while True: line = f.readline() if not line: break count += 1 if count % 100000 == 0: print count lis = line.split(",") index = 11 if isT...
50,682
https://github.com/linjeforeningen-delta/delta/blob/master/templates/partials/kompendier.blade.php
Github Open Source
Open Source
MIT
2,019
delta
linjeforeningen-delta
Blade
Code
66
298
<?php $args = ['post_type' => 'product', 'posts_per_page' => 5, 'tax_query' => array( array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => 'kompendier' ) )]; do_action( 'posts_selection' ); if(is_product()){ ...
7,982
https://github.com/lukaszbudnik/protobuf-evolutions/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,015
protobuf-evolutions
lukaszbudnik
Ignore List
Code
8
38
.idea/ build/ .gradle/ .DS_Store protobuf-evolutions.iml gradle/ gradlew gradlew.bat
47,451
https://github.com/einsweniger/hhypermap-bop/blob/master/bop-ui/app/components/modules.js
Github Open Source
Open Source
Apache-2.0
null
hhypermap-bop
einsweniger
JavaScript
Code
25
229
(function() { angular.module('search_components', [ 'search_timehistogram_component', 'search_legendhistogram_component', 'search_datepicker_component', 'search_tweetlist_component', 'search_tweetpanel_component', 'search_tweetcounter_component', 'search_butto...
40,622
https://github.com/yukirin/webgl/blob/master/webgl_1_0/距離フォグ/fragment.frag
Github Open Source
Open Source
MIT
2,019
webgl
yukirin
GLSL
Code
21
57
precision mediump float; uniform vec4 fogColor; varying vec4 vColor; varying float fogFactor; void main(void) { gl_FragColor = mix(fogColor, vColor, fogFactor); }
30,016
https://github.com/ost500/cloudM/blob/master/public/js/main.js
Github Open Source
Open Source
MIT
2,016
cloudM
ost500
JavaScript
Code
451
1,734
/*-----------------------------------------------------------------------------------*/ /* Mian Js Start /*-----------------------------------------------------------------------------------*/ $(document).ready(function ($) { "use strict" /*-------------------------------------------------------------------...
38,974
https://github.com/liupengfgei/apollo/blob/master/apollo-client/src/main/java/com/ctrip/framework/apollo/spring/annotation/SpringValueProcessor.java
Github Open Source
Open Source
Apache-2.0
2,019
apollo
liupengfgei
Java
Code
389
1,483
package com.ctrip.framework.apollo.spring.annotation; import com.ctrip.framework.apollo.build.ApolloInjector; import com.ctrip.framework.apollo.spring.property.AutoUpdateConfigChangeListener; import com.ctrip.framework.apollo.spring.property.PlaceholderHelper; import com.ctrip.framework.apollo.spring.property.SpringVa...
23,580
https://github.com/vedi/oauthifizer-dummy-example/blob/master/views/index.jade
Github Open Source
Open Source
MIT
2,015
oauthifizer-dummy-example
vedi
null
Spoken
77
181
extends layout block content h1= title p Welcome to #{title} p It's example project for module a(href='https://github.com/vedi/oauthifizer') oauthifizer. p It's an example of using dummyAuthDelegate.js. It allows you to be always successfully authenticated, and can be used for understanding how `oauthifizer` w...
9,549
https://github.com/Stu042/Cy/blob/master/Cy/Scanner/TokenType.cs
Github Open Source
Open Source
MIT
2,020
Cy
Stu042
C#
Code
95
333
namespace Cy.Scanner { public enum TokenType { // Single-character tokens. LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, COMMA, DOT, MINUS, PLUS, SEMICOLON, SLASH, BACKSLASH, STAR, COLON, NEWLINE, HASH, // One or two character tokens. BANG, BANG_EQUAL, EQUAL, EQUAL_EQUAL, GREATER, GREATER_EQUAL, LESS...
10,528
https://github.com/Pengchans/TJAPlayer3-f/blob/master/FDK19/src/04.Graphic/CDecodedFrame.cs
Github Open Source
Open Source
MIT
2,021
TJAPlayer3-f
Pengchans
C#
Code
140
479
using System; using System.Drawing; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using FFmpeg.AutoGen; namespace FDK { public class CDecodedFrame : IDisposable { public CDecodedFrame(Size texsize) { this.Using = fa...
21,779
https://github.com/sangaman/raiden/blob/master/raiden/tests/integration/rpc/assumptions/test_rpc_transaction_assumptions.py
Github Open Source
Open Source
MIT
null
raiden
sangaman
Python
Code
270
986
import pytest from eth_utils import to_checksum_address from raiden.exceptions import InsufficientFunds from raiden.network.rpc.transactions import check_transaction_threw from raiden.tests.utils.client import burn_eth from raiden.tests.utils.smartcontracts import deploy_rpc_test_contract from raiden.utils import safe...
39,886
https://github.com/rancoud/Markdown/blob/master/tests/BlankLineTest.php
Github Open Source
Open Source
MIT
null
Markdown
rancoud
PHP
Code
166
515
<?php declare(strict_types=1); namespace Rancoud\Markdown\Test; use PHPUnit\Framework\TestCase; use Rancoud\Markdown\Block\BlankLine; use Rancoud\Markdown\Markdown; class BlankLineTest extends TestCase { /** * @dataProvider data * * @param string $input * @param string|null $output ...
30,538
https://github.com/jeikerxiao/AndroidStudy/blob/master/Android-ContentProvider2/app/src/main/java/com/jeiker/contentprovider2/MainActivity.java
Github Open Source
Open Source
MIT
2,019
AndroidStudy
jeikerxiao
Java
Code
229
827
package com.jeiker.contentprovider2; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.media.Image; import android.net.Uri; import android.os.ParcelFileDescriptor; import android.support.v7.app.AppCompatActivity; import and...
7,582
https://github.com/alvarogzp/nextation/blob/master/Assets/Scripts/Util/TextRenderer/World/HandlesWorldTextRenderer.cs
Github Open Source
Open Source
Apache-2.0
2,016
nextation
alvarogzp
C#
Code
54
174
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using System.Collections; public class HandlesWorldTextRenderer : WorldTextRenderer { private TextFormatter formatter; private Vector3 position; public HandlesWorldTextRenderer(TextFormatter formatter, Vector3 position) { this.formatter = formatter; ...
39,670
https://github.com/FernandoFrichenbruder/rca/blob/master/src/app/cart/cart.component.scss
Github Open Source
Open Source
MIT
null
rca
FernandoFrichenbruder
SCSS
Code
109
401
.columns { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 2rem; } .cart-item { display: flex; flex-direction: row; align-items: flex-start; img { max-width: 126px; margin-right: 17px; } .cart-content { ...
43,464
https://github.com/shimada-toy-box/babywearing/blob/master/spec/support/exist_in_database.rb
Github Open Source
Open Source
MIT
2,020
babywearing
shimada-toy-box
Ruby
Code
12
50
# frozen_string_literal: true RSpec::Matchers.define :exist_in_database do match do |actual| actual.class.exists?(actual.id) end end
12,218
https://github.com/kvetab/bio_embeddings/blob/master/bio_embeddings/extract/light_attention/__init__.py
Github Open Source
Open Source
MIT
2,022
bio_embeddings
kvetab
Python
Code
14
78
from bio_embeddings.extract.light_attention.light_attention_annotation_extractor import ( LightAttentionAnnotationExtractor, ) from bio_embeddings.extract.light_attention.light_attention_model import LightAttention __all__ = ["LightAttentionAnnotationExtractor", "LightAttention"]
37,877
https://github.com/porzell/EagleFS/blob/master/src/EagleFS.h
Github Open Source
Open Source
Apache-2.0
2,022
EagleFS
porzell
C
Code
387
1,513
// ©2016 Peter Orzell // 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, sof...
46,973
https://github.com/tf-encrypted/tf-encrypted/blob/master/primitives/tf_encrypted/primitives/__init__.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
tf-encrypted
tf-encrypted
Python
Code
14
35
from . import paillier from . import sodium __all__ = [ "paillier", "sodium", ]
26,720
https://github.com/Wesleygmssa/lauchbase/blob/master/modulo04/Desafios/School/controllers/students.js
Github Open Source
Open Source
MIT
null
lauchbase
Wesleygmssa
JavaScript
Code
295
881
const fs = require('fs'); const data = require("../data.json"); const { grade, date } = require("../utils"); exports.index = (req, res) => { res.render("students/index", { students: data.students }); } exports.create = (req, res) => { res.render("students/create"); } exports.show = (req, res) => { const { id ...
31,962
https://github.com/ckrause/loda/blob/master/programs/oeis/071/A071045.asm
Github Open Source
Open Source
Apache-2.0
2,021
loda
ckrause
null
Spoken
24
257
; A071045: Number of 0's in n-th row of triangle in A071030. ; 0,0,3,1,6,2,9,3,12,4,15,5,18,6,21,7,24,8,27,9,30,10,33,11,36,12,39,13,42,14,45,15,48,16,51,17,54,18,57,19,60,20,63,21,66,22,69,23,72,24,75,25,78,26,81,27,84,28,87,29,90,30,93,31,96,32,99,33,102,34,105,35,108,36,111,37,114,38,117,39,120,40,123,41,126,42,129,...
41,143
https://github.com/ddstest/ddsprep/blob/master/dataprep-actions/src/main/java/org/talend/dataprep/transformation/actions/date/CompareDates.java
Github Open Source
Open Source
Apache-2.0
null
ddsprep
ddstest
Java
Code
344
1,213
// ============================================================================ // // Copyright (C) 2006-2018 Talend Inc. - www.talend.com // // This source code is available under agreement available at // https://github.com/Talend/data-prep/blob/master/LICENSE // // You should have received a copy of the agreement //...
51,411
https://github.com/wrmsr/tokamak/blob/master/tokamak-core/src/test/java/com/wrmsr/tokamak/core/JmespathTest.java
Github Open Source
Open Source
Apache-2.0
2,022
tokamak
wrmsr
Java
Code
1,109
3,530
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
22,825
https://github.com/andywebb1975/solr/blob/master/solr/packaging/test/test_auth.bats
Github Open Source
Open Source
Apache-2.0
2,022
solr
andywebb1975
Shell
Code
206
357
#!/usr/bin/env bats # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "Licens...
24,014
https://github.com/Sanoma-CDA/maxmind-geoip2-scala/blob/master/src/test/scala/com/sanoma/cda/geo/CoordinateConversions_test.scala
Github Open Source
Open Source
Apache-2.0
2,020
maxmind-geoip2-scala
Sanoma-CDA
Scala
Code
291
921
/* * Copyright (c) 2016 Hugo Gävert. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/L...
1,367
https://github.com/rsassi/hivemind2/blob/master/xml/src/java/org/apache/hivemind/impl/DefaultsSymbolSource.java
Github Open Source
Open Source
Apache-2.0
null
hivemind2
rsassi
Java
Code
205
464
// Copyright 2004, 2005 The Apache Software Foundation // // 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 applic...
1,260
https://github.com/andey-robins/alexa-skills-analytics/blob/master/server/api/answer.go
Github Open Source
Open Source
Apache-2.0
null
alexa-skills-analytics
andey-robins
Go
Code
245
765
package api import ( "context" "database/sql" "log" "net/http" "strconv" "github.com/andey-robins/alexa-skills-analytics/server/db" "github.com/andey-robins/alexa-skills-analytics/server/types" "github.com/gin-gonic/gin" ) func GetAnswers(c *gin.Context) { db := db.Connect() rows, err := db.Db.Query(`SELEC...
85
https://github.com/Oneflow-Inc/oneflow/blob/master/python/oneflow/test/modules/test_bitwise.py
Github Open Source
Open Source
Apache-2.0
2,023
oneflow
Oneflow-Inc
Python
Code
344
1,471
""" Copyright 2020 The OneFlow Authors. 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 law or agr...
12,721
https://github.com/BowenFu/mathia.cpp/blob/master/src/internal.h
Github Open Source
Open Source
Apache-2.0
2,022
mathia.cpp
BowenFu
C
Code
162
524
#ifndef INTERNAL_H #define INTERNAL_H #include "mathiu/core.h" #include "matchit.h" #define VERBOSE_DEBUG 0 #define DEBUG 1 #if DEBUG #include <iostream> #endif // DEBUG namespace matchit::impl { template <> class PatternTraits<mathiu::impl::ExprPtr> { using Pattern = mathiu::impl::ExprPtr; ...
47,450
https://github.com/bufan1228/jdonframework/blob/master/JdonAccessory/jdon-remote/src/main/java/com/jdon/bussinessproxy/remote/hessian/io/JdonJavaSerializer.java
Github Open Source
Open Source
Apache-2.0
2,022
jdonframework
bufan1228
Java
Code
563
1,713
package com.jdon.bussinessproxy.remote.hessian.io; import java.io.IOException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.logging.Level; import com.caucho.hessian.io.AbstractHessianOutput; import com.caucho.hessian.io.AbstractSerializer; public cl...
30,484
https://github.com/maciur/ObjectObfuscator/blob/master/ObjectObfuscator/Handlers/ObfuscateValueHandler.cs
Github Open Source
Open Source
Apache-2.0
null
ObjectObfuscator
maciur
C#
Code
81
311
using ObjectObfuscator.Abstracts; using ObjectObfuscator.Abstracts.Handlers; using System.Reflection; namespace ObjectObfuscator.Handlers { public class ObfuscateValueHandler : PropertyHandler { private readonly IStringValueHandler _stringValueHandler; public ObfuscateValueHandler( ...
896
https://github.com/zwpro/coupons/blob/master/cloudfunctions-aliyun/send/index.js
Github Open Source
Open Source
Apache-2.0
2,022
coupons
zwpro
JavaScript
Code
246
948
'use strict'; const utils = require('utils'); function getFormatDate(ms) { let date = new Date(); date.setTime(date.getTime() + ms); const year = date.getFullYear(); let month = date.getMonth() + 1; let strDate = date.getDate(); if (month >= 1 && month <= 9) { month = '0' + month; } ...
34,312
https://github.com/Thom1729/Sublime-JS-Custom/blob/master/src/commands/reassign_syntaxes.py
Github Open Source
Open Source
MIT
2,023
Sublime-JS-Custom
Thom1729
Python
Code
44
137
import sublime import sublime_plugin if False: # Mypy from collections.abc import Container __all__ = ['ReassignSyntaxesCommand'] class ReassignSyntaxesCommand(sublime_plugin.ApplicationCommand): def run(self, syntaxes: 'Container[str]', replacement: str) -> None: # type: ignore for window in subl...
46,882
https://github.com/curryudon08/Atcoder/blob/master/ABC/abc061/a/Program.cs
Github Open Source
Open Source
CC0-1.0
null
Atcoder
curryudon08
C#
Code
43
125
using System; namespace a { class Program { static void Main(string[] args) { var _ = Console.ReadLine().Split(); var a = int.Parse(_[0]); var b = int.Parse(_[1]); var c = int.Parse(_[2]); if(c >= a && c <= b){ Consol...
5,069
https://github.com/0xflotus/miniweb/blob/master/main.c
Github Open Source
Open Source
MIT
null
miniweb
0xflotus
C
Code
342
1,271
///////////////////////////////////////////////////////////// // main.c : Example miniweb web server process // // Demonstrations the more advanced features such as logging, // error handling and printing statistics to the consle. // // (c) 2020 Mike Field <hamster@snap.net.nz> /////////////////////////////////////////...
7,998
https://github.com/zann1x/FrameGraph/blob/master/framegraph/Vulkan/CommandBuffer/VTaskProcessor.h
Github Open Source
Open Source
BSD-2-Clause
null
FrameGraph
zann1x
C
Code
711
2,527
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #pragma once #include "VTaskGraph.h" #include "VLocalBuffer.h" #include "VLocalImage.h" #include "VLocalRTGeometry.h" #include "VLocalRTScene.h" #include "VBarrierManager.h" namespace FG { // // Task Processor // class VTaskProcess...
19,129
https://github.com/epicfaace/sanskrit/blob/master/dcs/data/conllu/files/Ṛgveda/Ṛgveda-0002-ṚV, 1, 3-9983.conllu
Github Open Source
Open Source
CC-BY-4.0
2,021
sanskrit
epicfaace
null
Spoken
1,962
6,798
## text: Ṛgveda ## text_id: 450 ## chapter: ṚV, 1, 3 ## chapter_id: 9983 # text_line: aśvinā yajvarīr iṣo dravatpāṇī śubhas patī # text_line_id: 570817 # text_line_counter: 1 # text_line_subcounter: 1 1 aśvinā aśvin _ None Case=Voc|Number=2|Gender=Masc _ _ _ _ 60409 aśvinā _ 2 yajvarīr yajvan _ None Case=Acc|Number=3|...
35,183