hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d13fe64c5bc402e0340c4b2e8eb0eeae0d79c653 | 9,116 | swift | Swift | DataStructure/Queue.swift | ChenYalun/Project | 9734c3987676d61b8932973a82a578470e398e09 | [
"MIT"
] | 2 | 2019-05-31T02:17:02.000Z | 2020-02-19T13:54:41.000Z | DataStructure/Queue.swift | ChenYalun/Project | 9734c3987676d61b8932973a82a578470e398e09 | [
"MIT"
] | null | null | null | DataStructure/Queue.swift | ChenYalun/Project | 9734c3987676d61b8932973a82a578470e398e09 | [
"MIT"
] | null | null | null | //
// Queue.swift
// Le
//
// Created by Chen,Yalun on 2019/6/20.
// Copyright © 2019 Chen,Yalun. All rights reserved.
//
/// 队列
/*
因为频繁地在开头末尾添加删除元素所以使用链表实现
又因为双向链表有头指针和尾指针而单向链表只有头指针所以使用双向链表实现(减少遍历)
*/
class Queue<T: Equatable> {
private var list: TwoWayLinkedList<T> = TwoWayLinkedList()
// 元素数量
... | 19.191579 | 93 | 0.534774 |
06a36ca5ea176c6343a876da25c863b4c776a77a | 709 | cpp | C++ | MSVC/14.24.28314/crt/src/vcruntime/new_array.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | MSVC/14.24.28314/crt/src/vcruntime/new_array.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | MSVC/14.24.28314/crt/src/vcruntime/new_array.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | //
// new_array.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines the array operator new.
//
#include <vcruntime_internal.h>
#include <vcruntime_new.h>
////////////////////////////////////
// new() Fallback Ordering
//
// +----------+
// |new_scalar<---------------+
// +----^-----+... | 23.633333 | 65 | 0.373766 |
9654a08f007b875f53884560f65ed8ca8f903245 | 1,109 | php | PHP | src/Form/Type/UserRoleType.php | danilovl/final-work-system | ad17dd95966a6cfca6bd67cbb23ab2df2113707b | [
"MIT"
] | 8 | 2019-11-19T10:55:42.000Z | 2022-03-23T20:48:52.000Z | src/Form/Type/UserRoleType.php | danilovl/final-work-system | ad17dd95966a6cfca6bd67cbb23ab2df2113707b | [
"MIT"
] | 26 | 2020-10-23T20:23:59.000Z | 2022-02-11T21:34:31.000Z | src/Form/Type/UserRoleType.php | danilovl/final-work-system | ad17dd95966a6cfca6bd67cbb23ab2df2113707b | [
"MIT"
] | null | null | null | <?php declare(strict_types=1);
/**
*
* This file is part of the FinalWorkSystem project.
* (c) Vladimir Danilov
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
*/
namespace App\Form\Type;
use App\Constant\UserRoleConstant;
use S... | 24.644444 | 74 | 0.664563 |
626c1d0249cb06f7eb3f8e47e72b6159dde3c98e | 8,519 | dart | Dart | lib/events.dart | El-Gonno-Grande/beer_counter | e39a1b98d56ee361bbe59ec4a227715b2257fca3 | [
"Apache-2.0"
] | null | null | null | lib/events.dart | El-Gonno-Grande/beer_counter | e39a1b98d56ee361bbe59ec4a227715b2257fca3 | [
"Apache-2.0"
] | 15 | 2020-08-02T22:42:40.000Z | 2020-08-25T22:45:58.000Z | lib/events.dart | El-Gonno-Grande/beer_counter | e39a1b98d56ee361bbe59ec4a227715b2257fca3 | [
"Apache-2.0"
] | null | null | null | import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'beermap.dart';
import 'firebase/firebase_helper.dart';
import 'models.dart';
void openEventPage(context, FirebaseUser user, BeerEvent event) =>
Navigator.of(context)... | 33.14786 | 85 | 0.449583 |
39732cc741b27a8056eec671fdbc8ce43af0cc4b | 68,028 | html | HTML | lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2011/013014.html | zcorpan/whatwg.org | 3374e69f013e5939abc5f3fffaae50bb6eaf0bd3 | [
"CC-BY-4.0"
] | 1 | 2022-02-14T23:44:51.000Z | 2022-02-14T23:44:51.000Z | lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2011/013014.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T11:51:12.000Z | 2021-01-31T11:51:12.000Z | lists.whatwg.org/pipermail/commit-watchers-whatwg.org/2011/013014.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [html5] r6147 - [cgiow] (0) Change cross-origin='' to crossorigin='' since people don't seem to [...]
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:commit-watchers%40lists.whatwg.org?Subject... | 82.960976 | 511 | 0.683557 |
04b88999147a534e799a9aef02fe0df0e155f9c1 | 1,994 | java | Java | treebase-web/src/main/java/org/cipres/treebase/web/controllers/RegisterUserController.java | TreeBASE/treebasetest | 12e0c9c30b8269891318140714a06b9fccdc723f | [
"BSD-3-Clause"
] | 6 | 2018-04-18T11:28:45.000Z | 2021-12-08T05:22:27.000Z | treebase-web/src/main/java/org/cipres/treebase/web/controllers/RegisterUserController.java | TreeBASE/treebasetest | 12e0c9c30b8269891318140714a06b9fccdc723f | [
"BSD-3-Clause"
] | 38 | 2015-10-23T09:57:03.000Z | 2022-03-15T13:07:45.000Z | treebase-web/src/main/java/org/cipres/treebase/web/controllers/RegisterUserController.java | TreeBASE/treebase | ebb437aece0f3feeb0491cc3c3b459f10e376978 | [
"BSD-3-Clause"
] | null | null | null |
package org.cipres.treebase.web.controllers;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.validation.BindException;
import org.springframework.web.servlet.ModelAndView;
import org.cipres.treebase.domain.admin.... | 27.694444 | 101 | 0.750752 |
9eed439bbddb61d8a18bb8cf5b6873231ec248c3 | 8,691 | lua | Lua | ConsolePortBar/Custom/Blizzard.lua | anton-bozhina/ConsolePort | 7211a1fb7af448c35e9ea8df3e1ba101c34fab22 | [
"Artistic-2.0"
] | null | null | null | ConsolePortBar/Custom/Blizzard.lua | anton-bozhina/ConsolePort | 7211a1fb7af448c35e9ea8df3e1ba101c34fab22 | [
"Artistic-2.0"
] | null | null | null | ConsolePortBar/Custom/Blizzard.lua | anton-bozhina/ConsolePort | 7211a1fb7af448c35e9ea8df3e1ba101c34fab22 | [
"Artistic-2.0"
] | null | null | null | -- This was mostly stolen from Bartender4.
-- This code snippet hides and modifies the default action bars.
local _, ab = ...
local Bar = ab.bar
local red, green, blue = ab.data.Atlas.GetCC()
do
-- Hidden parent frame
local UIHider = CreateFrame('Frame')
local FadeIn, FadeOut = ab.data.UIFrameFadeIn, ab.data.UIFra... | 30.072664 | 119 | 0.695432 |
b2e92be3c0534e16199e949b149cd8bfd11ccfbb | 1,382 | asm | Assembly | u7-common/patch-eop-findPartyItem.asm | JohnGlassmyer/UltimaHacks | f9a114e00c4a1edf1ac7792b465feff2c9b88ced | [
"MIT"
] | 68 | 2018-03-04T22:34:22.000Z | 2022-03-10T15:18:32.000Z | u7-common/patch-eop-findPartyItem.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 19 | 2018-11-20T04:06:49.000Z | 2021-11-08T16:37:10.000Z | u7-common/patch-eop-findPartyItem.asm | ptrie/UltimaHacks | 2c3557a86d94ad8b54b26bc395b9aed1604f8be1 | [
"MIT"
] | 4 | 2020-09-01T17:57:36.000Z | 2022-01-04T20:51:11.000Z | ; Returns ibo of first found matching item held by any party member, or zero.
[bits 16]
startPatch EXE_LENGTH, eop-findPartyItem
startBlockAt addr_eop_findPartyItem
push bp
mov bp, sp
; bp-based stack frame:
%assign arg_itemFrame 0x08
%assign arg_itemQuality 0x06
%assign arg_itemType... | 20.323529 | 77 | 0.673661 |
5d4a7a9afae5d519bf2f71e4684545da0dc04cbb | 115 | dart | Dart | lib/src/info/search_conversation_result.dart | drewzhao/rongcloud-im-flutter-sdk | 86c6f97f12587da8c86d12423ff67890c2d63450 | [
"MIT"
] | 203 | 2019-07-22T00:51:20.000Z | 2022-03-22T07:09:23.000Z | lib/src/info/search_conversation_result.dart | drewzhao/rongcloud-im-flutter-sdk | 86c6f97f12587da8c86d12423ff67890c2d63450 | [
"MIT"
] | 208 | 2019-07-15T13:25:20.000Z | 2021-12-16T03:04:03.000Z | lib/src/info/search_conversation_result.dart | drewzhao/rongcloud-im-flutter-sdk | 86c6f97f12587da8c86d12423ff67890c2d63450 | [
"MIT"
] | 60 | 2019-07-24T07:00:59.000Z | 2022-03-22T07:45:57.000Z | import 'conversation.dart';
class SearchConversationResult {
Conversation? mConversation;
int? mMatchCount;
}
| 16.428571 | 32 | 0.782609 |
80d61a4aa878c0641ba8d56488bc41e79dd88bd1 | 2,206 | java | Java | src/main/java/org/bian/dto/SDRegulatoryAndLegalAuthorityConfigureInputModelRegulatoryAndLegalAuthorityServiceConfigurationRecordRegulatoryAndLegalAuthorityServiceSubscription.java | bianapis/sd-regulatoryand-legal-authority-v3 | e562ee85319a22850e69a89985d136d21cb643ad | [
"Apache-2.0"
] | null | null | null | src/main/java/org/bian/dto/SDRegulatoryAndLegalAuthorityConfigureInputModelRegulatoryAndLegalAuthorityServiceConfigurationRecordRegulatoryAndLegalAuthorityServiceSubscription.java | bianapis/sd-regulatoryand-legal-authority-v3 | e562ee85319a22850e69a89985d136d21cb643ad | [
"Apache-2.0"
] | null | null | null | src/main/java/org/bian/dto/SDRegulatoryAndLegalAuthorityConfigureInputModelRegulatoryAndLegalAuthorityServiceConfigurationRecordRegulatoryAndLegalAuthorityServiceSubscription.java | bianapis/sd-regulatoryand-legal-authority-v3 | e562ee85319a22850e69a89985d136d21cb643ad | [
"Apache-2.0"
] | null | null | null | package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.Valid;
/**
* SDRegulatoryAndLegalAuthorityConfigureInputModelRegulatoryAn... | 45.020408 | 235 | 0.856754 |
c4446d272b0463c2a2c5c65cfc58d5b41e852654 | 256 | kt | Kotlin | tmp/arrays/youTrackTests/10385.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 1 | 2021-04-06T16:59:24.000Z | 2021-04-06T16:59:24.000Z | tmp/arrays/youTrackTests/10385.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | null | null | null | tmp/arrays/youTrackTests/10385.kt | vitekkor/bbfgradle | b4ec701a7a3b7523db97631fa0ed6484149ca9cd | [
"Apache-2.0"
] | 11 | 2020-03-23T08:28:36.000Z | 2022-03-22T07:04:42.000Z | // Original bug: KT-6202
fun createPage(pageNum: Int, position: String): String? {
var pageView: String? = "123"
if (pageView == null) {
pageView = ""
} else {
pageView.toString()
}
print(pageNum)
return pageView
}
| 19.692308 | 57 | 0.578125 |
90e9d67bee168d14a2d55cd10fdc902c536cc2d5 | 313 | sql | SQL | openGaussBase/testcase/SQL/DDL/table/Opengauss_Function_DDL_Table_Case0102.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/table/Opengauss_Function_DDL_Table_Case0102.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/SQL/DDL/table/Opengauss_Function_DDL_Table_Case0102.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: 测试列名长度超过63字节,实际列名为前63字节
drop table if exists table_1;
create table table_1(qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq int);
insert into table_1 values(1);
insert into table_1 values(2);
insert into table_1 values(3);
select * from table_1;
drop table if exists table_1;
| 34.777778 | 97 | 0.827476 |
cb48449c2ae2cfe279a4a154b44934da60710838 | 291 | h | C | mmu.h | Seteeri/pilos-risc | 63a01c9ce1d12f157ea9e3bb87108d5e83d14158 | [
"Apache-2.0"
] | null | null | null | mmu.h | Seteeri/pilos-risc | 63a01c9ce1d12f157ea9e3bb87108d5e83d14158 | [
"Apache-2.0"
] | null | null | null | mmu.h | Seteeri/pilos-risc | 63a01c9ce1d12f157ea9e3bb87108d5e83d14158 | [
"Apache-2.0"
] | null | null | null | void mmu_mair(void);
void mmu_tcr(long long int TG1,
long long int T1SZ,
long long int TG0,
long long int T0SZ);
void mmu_ttrbr0(unsigned long r);
void mmu_sctrlr(void);
void mmu_map_stage1(void);
void mmu_map_stage2(void);
void mmu_map_stage3(void);
| 24.25 | 33 | 0.67354 |
7a68742d27bfbbb36cbf9c58587d13b1628c5c1e | 1,697 | sql | SQL | SQL TABLES/story_list.sql | calebdenby/StoryBlend | 96b0ae55fef31be416582eae66b167792b0b9848 | [
"MIT"
] | null | null | null | SQL TABLES/story_list.sql | calebdenby/StoryBlend | 96b0ae55fef31be416582eae66b167792b0b9848 | [
"MIT"
] | null | null | null | SQL TABLES/story_list.sql | calebdenby/StoryBlend | 96b0ae55fef31be416582eae66b167792b0b9848 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 14, 2017 at 06:09 PM
-- Server version: 10.1.19-MariaDB
-- PHP Version: 5.5.38
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 24.594203 | 90 | 0.680613 |
988ba90d49fbf3c732183d48764a621e7506d06b | 1,215 | html | HTML | Site/angular-src/src/app/components/profile/profile.component.html | KyrXtz/HexiwearMeanStack | fd92555fee4b58cd802b4dcf3bd78623c3c8e1ff | [
"MIT"
] | 7 | 2019-05-15T12:29:00.000Z | 2020-12-08T15:00:24.000Z | Site/angular-src/src/app/components/profile/profile.component.html | fotioudim/HexiwearMeanStack | 43075ab0b065b74a9478fc462327cbe18f861722 | [
"MIT"
] | null | null | null | Site/angular-src/src/app/components/profile/profile.component.html | fotioudim/HexiwearMeanStack | 43075ab0b065b74a9478fc462327cbe18f861722 | [
"MIT"
] | 2 | 2019-06-20T12:17:22.000Z | 2020-12-08T15:00:27.000Z | <div *ngIf="user">
<h2 class="page-header">Greetings {{user.name}} !!</h2>
<ul class="list-group">
<li class="list-group-item">Username : {{user.username}}</li>
<li class="list-group-item">Email : {{user.email}}</li>
<li class="list-group-item">Role : {{user.role}}</li>
<div *ngIf="user.role == 'Pa... | 36.818182 | 150 | 0.643621 |
987b35519c707d89c878d263c085698bdf14a003 | 812 | swift | Swift | Sources/Solana/Models/Requests and Responses/GetConfirmedTransaction.swift | ajamaica/solana-swift | 29470a4273ab23055467b0ad68eff0e4a0f89138 | [
"MIT"
] | null | null | null | Sources/Solana/Models/Requests and Responses/GetConfirmedTransaction.swift | ajamaica/solana-swift | 29470a4273ab23055467b0ad68eff0e4a0f89138 | [
"MIT"
] | null | null | null | Sources/Solana/Models/Requests and Responses/GetConfirmedTransaction.swift | ajamaica/solana-swift | 29470a4273ab23055467b0ad68eff0e4a0f89138 | [
"MIT"
] | null | null | null | //
// GetConfirmedTransaction.swift
// SolanaDemoApp
//
// Created by Gene Crucean on 3/11/21.
//
import Foundation
// MARK: - Response
public struct GetConfirmedTransactionResponse: Codable {
let jsonrpc: String
let result: GetConfirmedTransactionResult?
let id: Int
let error: RpcError?
}
public ... | 23.2 | 56 | 0.725369 |
dc902ebfc0fc0b22b6952c56e6e02d9b535ef9ba | 61 | dart | Dart | lib/src/services/remote/rest/rest.dart | sibvisions/flutterclient | ee04222b585cc705a52e2ac65aeebf8c649c5d45 | [
"Apache-2.0"
] | 1 | 2022-02-28T14:36:24.000Z | 2022-02-28T14:36:24.000Z | lib/src/services/remote/rest/rest.dart | sibvisions/flutterclient | ee04222b585cc705a52e2ac65aeebf8c649c5d45 | [
"Apache-2.0"
] | null | null | null | lib/src/services/remote/rest/rest.dart | sibvisions/flutterclient | ee04222b585cc705a52e2ac65aeebf8c649c5d45 | [
"Apache-2.0"
] | null | null | null | export 'rest_client.dart';
export 'cert_http_overrides.dart'; | 30.5 | 34 | 0.819672 |
46aeb4000914843606b44f3e356d9293f6603ce1 | 876 | html | HTML | ex007/index.html | delima75/Aulas-HTML | 55aa6e792fa654291591ffc548b03d018a2e3a38 | [
"MIT"
] | null | null | null | ex007/index.html | delima75/Aulas-HTML | 55aa6e792fa654291591ffc548b03d018a2e3a38 | [
"MIT"
] | null | null | null | ex007/index.html | delima75/Aulas-HTML | 55aa6e792fa654291591ffc548b03d018a2e3a38 | [
"MIT"
] | null | null | null | <html>
<head>
<title>Meu Site em HTML4</title>
</head>
<body bgcolor="blue">
<h1>Exercício de site em HTML4</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum, reprehenderit voluptate? Quam inventore odio quos provident voluptate dolorum! Sed blanditii... | 48.666667 | 261 | 0.650685 |
fb245b1e5724ea1e3b80c413d42ec2180dd238c7 | 1,447 | go | Go | pkg/backend/mock/api/server/backend/v1/system/teardown.go | mlab-lattice/lattice | 8ad7070f7c0c5d2a24373b59567797afd669201f | [
"Apache-2.0"
] | 1 | 2018-10-01T17:33:36.000Z | 2018-10-01T17:33:36.000Z | pkg/backend/mock/api/server/backend/v1/system/teardown.go | mlab-lattice/lattice | 8ad7070f7c0c5d2a24373b59567797afd669201f | [
"Apache-2.0"
] | 59 | 2018-08-23T17:07:35.000Z | 2018-10-09T15:55:05.000Z | pkg/backend/mock/api/server/backend/v1/system/teardown.go | mlab-lattice/lattice | 8ad7070f7c0c5d2a24373b59567797afd669201f | [
"Apache-2.0"
] | 3 | 2018-10-09T05:38:16.000Z | 2018-10-10T16:58:57.000Z | package system
import (
"github.com/mlab-lattice/lattice/pkg/api/v1"
"github.com/satori/go.uuid"
)
type TeardownBackend struct {
systemID v1.SystemID
backend *Backend
}
func (b *TeardownBackend) Create() (*v1.Teardown, error) {
b.backend.registry.Lock()
defer b.backend.registry.Unlock()
record, err := b.bac... | 20.097222 | 71 | 0.709744 |
2fa29c33fb3d85c13efe31afaa1fae244db3a22a | 47 | sql | SQL | db/migrations/20190206204219_add_url_nonce_to_payments/down.sql | taritom/bn-api | 6fbf05bf426c4ddd3d5f50378ac9b51f3ebf2a3f | [
"BSD-3-Clause"
] | null | null | null | db/migrations/20190206204219_add_url_nonce_to_payments/down.sql | taritom/bn-api | 6fbf05bf426c4ddd3d5f50378ac9b51f3ebf2a3f | [
"BSD-3-Clause"
] | null | null | null | db/migrations/20190206204219_add_url_nonce_to_payments/down.sql | taritom/bn-api | 6fbf05bf426c4ddd3d5f50378ac9b51f3ebf2a3f | [
"BSD-3-Clause"
] | null | null | null | ALTER TABLE payments
drop column url_nonce
| 15.666667 | 25 | 0.787234 |
80a0792e89b14483bfc778bcb44926e963d521cf | 568 | java | Java | The 5zig Mod/src/eu/the5zig/mod/modules/items/server/timolia/DNAHeight.java | TurTalhi/The-5zig-Mod | efce66b2cec83e76f40e4e18e96a2013a89e0a42 | [
"MIT"
] | 105 | 2019-05-28T16:53:31.000Z | 2022-03-11T06:41:04.000Z | The 5zig Mod/src/eu/the5zig/mod/modules/items/server/timolia/DNAHeight.java | TurTalhi/The-5zig-Mod | efce66b2cec83e76f40e4e18e96a2013a89e0a42 | [
"MIT"
] | 33 | 2019-06-12T14:52:32.000Z | 2021-11-07T15:09:38.000Z | The 5zig Mod/src/eu/the5zig/mod/modules/items/server/timolia/DNAHeight.java | TurTalhi/The-5zig-Mod | efce66b2cec83e76f40e4e18e96a2013a89e0a42 | [
"MIT"
] | 68 | 2019-05-30T22:40:20.000Z | 2022-03-29T00:58:25.000Z | package eu.the5zig.mod.modules.items.server.timolia;
import eu.the5zig.mod.modules.GameModeItem;
import eu.the5zig.mod.server.GameState;
import eu.the5zig.mod.server.timolia.ServerTimolia;
public class DNAHeight extends GameModeItem<ServerTimolia.DNA> {
public DNAHeight() {
super(ServerTimolia.DNA.class, GameStat... | 21.846154 | 66 | 0.739437 |
d9936a4a644ce10ef5415164adee73df061d4c40 | 2,959 | rs | Rust | src/game/game.rs | samhippie/rust_mc_cfr | 38baf84ec84dfdf26fd2e82e6586dbfec0bdcf8f | [
"MIT"
] | null | null | null | src/game/game.rs | samhippie/rust_mc_cfr | 38baf84ec84dfdf26fd2e82e6586dbfec0bdcf8f | [
"MIT"
] | null | null | null | src/game/game.rs | samhippie/rust_mc_cfr | 38baf84ec84dfdf26fd2e82e6586dbfec0bdcf8f | [
"MIT"
] | null | null | null | use std::fmt;
use std::hash::{Hash, Hasher};
use fasthash::{MetroHasher};
#[derive(PartialEq, Copy, Clone, Debug, Hash)]
pub enum Player {
P1,
P2,
}
impl Player {
/// Gets the opposite player
pub fn other(self) -> Player {
match self {
Player::P1 => Player::P2,
Player::... | 27.654206 | 88 | 0.567759 |
409ee4439c5e2beef5d84d0609d9d97498d8be26 | 3,831 | py | Python | python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-numpy_array_indexing.py | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-numpy_array_indexing.py | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | python/en/_numpy/python_numpy_tutorial/python_numpy_tutorial-numpy_array_indexing.py | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
CS231n Convolutional Neural Networks for Visual Recognition
http://cs231n.github.io/
Python Numpy Tutorial
http://cs231n.github.io/python-numpy-tutorial/
Numpy Reference
https://docs.scipy.org/doc/numpy/reference/
 ̄
python_numpy_tutorial-numpy_array_indexing.py
2019-... | 22.273256 | 114 | 0.567476 |
664aec69f908ceb5469acbc6782e2ded6f635666 | 14,171 | hpp | C++ | samples/cpp/speech_sample/utils.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 1 | 2019-09-22T01:05:07.000Z | 2019-09-22T01:05:07.000Z | samples/cpp/speech_sample/utils.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 58 | 2020-11-06T12:13:45.000Z | 2022-03-28T13:20:11.000Z | samples/cpp/speech_sample/utils.hpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 2 | 2019-09-20T01:33:37.000Z | 2019-09-20T08:42:11.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cnpy.h>
#include <samples/common.hpp>
#define MAX_SCORE_DIFFERENCE 0.0001f // max score difference for frame error threshold
#define MAX_VAL_2B_FEAT 16384 // max to find scale factor
typedef std::c... | 34.818182 | 119 | 0.625785 |
d5d671096613999c8361fe4ffe4bb6205b5e5b3f | 270 | c | C | C language/class/last/large than ever.c | Yibotian-true/Fanta-sea | 52fc3fb8e6ce4591d07ba21b2456f8472d3c5b3c | [
"MIT"
] | null | null | null | C language/class/last/large than ever.c | Yibotian-true/Fanta-sea | 52fc3fb8e6ce4591d07ba21b2456f8472d3c5b3c | [
"MIT"
] | null | null | null | C language/class/last/large than ever.c | Yibotian-true/Fanta-sea | 52fc3fb8e6ce4591d07ba21b2456f8472d3c5b3c | [
"MIT"
] | null | null | null | //超长数(近百位数字)的处理
//非十进制数的处理--存到数组里面按竖式运算一样一位一位处理
//链表与数组是使用指针存放数据的不同方式 各有利弊
//桶排序:利用数组下标排列数据的方式,典型的以空间换时间,数字有多大,数组就要多大(用下标的数组还是声明成char吧)
//处理文件需要用到很多函数,需要的时候再翻吧,但是要知道一个特定的的功能可以用一个标准库里的函数来实现
//指针的更多使用方式:malloc与free,更面向内存
// C primer plus 的结束只是C语言的开始,溯洄从之,道阻且长
// C++? C++! | 33.75 | 60 | 0.807407 |
476d791e50110e17326cb9d11db01612f6991ba6 | 50 | sql | SQL | src/main/resources/org/support/project/web/dao/sql/RolesDao/RolesDao_select_count_all.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 742 | 2015-02-03T02:02:15.000Z | 2022-03-15T16:54:25.000Z | src/main/resources/org/support/project/web/dao/sql/RolesDao/RolesDao_select_count_all.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 760 | 2015-02-01T11:40:05.000Z | 2022-01-21T23:22:06.000Z | src/main/resources/org/support/project/web/dao/sql/RolesDao/RolesDao_select_count_all.sql | kuro-channel/knowledge-1 | 6f74162ad54af961fb5069a27f49959b9e9a8048 | [
"Apache-2.0"
] | 285 | 2015-02-23T08:02:29.000Z | 2022-03-25T02:48:31.000Z | SELECT COUNT(*) FROM ROLES
WHERE DELETE_FLAG = 0;
| 16.666667 | 26 | 0.74 |
69cdc2b37af8cbf984cb48265efd0fdbc6d636c4 | 5,123 | swift | Swift | SexyColor.Swift/Classes/Mall/Controller/Goods/CommodityDetailsCommentViewController.swift | lxkbest/SexyColor.Swift | b32eed4b5939f8846d372ea63e679d68acff17fe | [
"Apache-2.0"
] | 3 | 2018-06-09T10:38:49.000Z | 2020-06-26T10:07:29.000Z | SexyColor.Swift/Classes/Mall/Controller/Goods/CommodityDetailsCommentViewController.swift | lxkbest/SexyColor.Swift | b32eed4b5939f8846d372ea63e679d68acff17fe | [
"Apache-2.0"
] | null | null | null | SexyColor.Swift/Classes/Mall/Controller/Goods/CommodityDetailsCommentViewController.swift | lxkbest/SexyColor.Swift | b32eed4b5939f8846d372ea63e679d68acff17fe | [
"Apache-2.0"
] | null | null | null | //
// CommodityDetailsCommentViewController.swift
// SexyColor.Swift
//
// Created by kayzhang on 2017/8/31.
// Copyright © 2017年 薛凯凯圆滚滚. All rights reserved.
//商品详情-评论
import UIKit
import MJRefresh
class CommodityDetailsCommentViewController: BaseViewController {
fileprivate var tableView : UITable... | 32.839744 | 163 | 0.618192 |
2e2558f3c6cefddeaf054fdb31c2b053348bdfe1 | 1,181 | sql | SQL | tables/table-create-alter/script_table_creation1.sql | dit-mark-team/mssql-server-standards | 3a5d6e9fff5b046671d14ada445889987755fda0 | [
"MIT"
] | 1 | 2020-02-12T16:49:30.000Z | 2020-02-12T16:49:30.000Z | tables/table-create-alter/script_table_creation1.sql | dit-mark-team/mssql-server-standards | 3a5d6e9fff5b046671d14ada445889987755fda0 | [
"MIT"
] | null | null | null | tables/table-create-alter/script_table_creation1.sql | dit-mark-team/mssql-server-standards | 3a5d6e9fff5b046671d14ada445889987755fda0 | [
"MIT"
] | null | null | null | --================================================================
-- Tabela.........: table_name
-- Modulo(s)......: nome_modulo(s)
-- Programador....: nome_programador
-- Descritivo.....: descricao_tabela
--================================================================
use master
go
use database_name
go
if object... | 36.90625 | 109 | 0.680779 |
904ba8eccbda391a00dbef97b00866cf27e8e36e | 1,209 | py | Python | wikilabels/utilities/task_inserts.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 15 | 2015-07-16T17:56:43.000Z | 2018-08-20T14:59:16.000Z | wikilabels/utilities/task_inserts.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 122 | 2015-06-10T15:58:11.000Z | 2018-08-16T14:56:23.000Z | wikilabels/utilities/task_inserts.py | aryan040501/wikilabels | ea110da2b969cc978a0f288c4da6250dc9d67e72 | [
"MIT"
] | 27 | 2015-07-15T22:12:35.000Z | 2018-08-06T23:10:28.000Z | """
Inserts a set of tasks into a campaign
Usage:
load_tasks -h | --help
load_tasks <campaign-id> [--config=<path>]
Arguments:
<campaign-id> The campaign that the tasks should be associated with
Options:
-h --help Prints this documentation
--config=<path> Path to a config directory to us... | 21.981818 | 72 | 0.664185 |
22e1ec2bd3b3df529b54a428cb835a7528daa1d8 | 783 | c | C | Set Matrix Zeroes /setZeroes.c | somnusfish/leetcode | eae387efd76159bc63948235fd1cb7d56f45335e | [
"MIT"
] | 3 | 2015-07-29T08:28:33.000Z | 2016-04-23T11:35:33.000Z | Set Matrix Zeroes /setZeroes.c | somnusfish/leetcode | eae387efd76159bc63948235fd1cb7d56f45335e | [
"MIT"
] | null | null | null | Set Matrix Zeroes /setZeroes.c | somnusfish/leetcode | eae387efd76159bc63948235fd1cb7d56f45335e | [
"MIT"
] | null | null | null | void setZeroes(int **matrix, int m, int n) {
bool *rowm;
bool *coln;
int i;
int j;
rowm = (bool *)malloc(sizeof(bool)*m);
coln = (bool *)malloc(sizeof(bool)*n);
for(i=0; i<m; i++){
rowm[i] = false;
}
for(i=0; i<n; i++){
coln[i] = false;
}
for(i=... | 18.642857 | 44 | 0.318008 |
c171c4656f8f2933de27369002c283df7eb40ef2 | 9,901 | rs | Rust | r528-pac/src/uart0/lsr.rs | duskmoon314/aw-pac | b6ac4bbfdcf671dc2512281e226094b7be933ebe | [
"Apache-2.0",
"MIT"
] | 7 | 2021-12-21T10:15:37.000Z | 2022-02-20T14:16:47.000Z | r528-pac/src/uart3/lsr.rs | duskmoon314/d1-pac | 30db8b83ceeaf5c1b4fd331c2ad6e0697cbd7c76 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-08T01:52:26.000Z | 2022-03-08T01:52:26.000Z | xr806-pac/src/uart2/lsr.rs | duskmoon314/aw-pac | b6ac4bbfdcf671dc2512281e226094b7be933ebe | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-16T23:05:17.000Z | 2022-02-13T11:43:01.000Z | #[doc = "Register `LSR` reader"]
pub struct R(crate::R<LSR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<LSR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<LSR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<LSR_SPEC>) ... | 26.831978 | 231 | 0.555095 |
e8403f9b46c274c3536681d32289a1ec6cc42512 | 4,458 | cpp | C++ | Client/CCrashHandler.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | 8 | 2017-02-13T13:29:39.000Z | 2022-01-12T17:12:04.000Z | Client/CCrashHandler.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | null | null | null | Client/CCrashHandler.cpp | LHMPTeam/lhmp-old | 84dd379ab8ae59418135c940e700f3022339e136 | [
"Apache-2.0"
] | 10 | 2017-01-14T09:41:06.000Z | 2021-10-10T00:02:32.000Z | // (C) LHMP Team 2013-2016; Licensed under Apache 2; See LICENSE;;
#include "CCrashHandler.h"
#include "CCore.h"
#include <psapi.h>
#include <Windows.h>
#include "../shared/version.h"
#include <fstream>
#include <iostream>
extern CCore* g_CCore;
void GetAdressAsModule(DWORD addr, char* outbuffer)
{
HMODULE hMods[512... | 29.328947 | 112 | 0.696725 |
97cb58416bbafda8e02f00d7746545445fdef4c3 | 4,780 | swift | Swift | Provenance/Sources/CollectionViewCells/TransactionCell.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | Provenance/Sources/CollectionViewCells/TransactionCell.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | Provenance/Sources/CollectionViewCells/TransactionCell.swift | themuzzleflare/Provenance | f356e598107b3a5ac0beb890d5a5807bd84444be | [
"MIT"
] | null | null | null | import SnapKit
import IGListKit
import UIKit
final class TransactionCell: UICollectionViewCell {
// MARK: - Properties
private let transactionDescriptionLabel = UILabel()
private let transactionCreationDateLabel = UILabel()
private let transactionAmountLabel = UILabel()
private let verticalStack = UIStackVi... | 31.447368 | 153 | 0.758787 |
6c1487cd0af3ff76b11945a37813c10e288aa798 | 947 | go | Go | search.go | Sixeight/alfred-workflow-search-rubygems | dffe981f66444de1b0a048998c7b2faf14895dee | [
"MIT"
] | null | null | null | search.go | Sixeight/alfred-workflow-search-rubygems | dffe981f66444de1b0a048998c7b2faf14895dee | [
"MIT"
] | null | null | null | search.go | Sixeight/alfred-workflow-search-rubygems | dffe981f66444de1b0a048998c7b2faf14895dee | [
"MIT"
] | null | null | null | package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
)
type searchResult struct {
Name string `json:"name"`
Version string `json:"version"`
Info string `json:"info"`
ProjectURI string `json:"project_uri"`
HomePageURI string `json:"ho... | 22.023256 | 85 | 0.657867 |
4431ea29c0153049502ab57433aba00f393ba5cc | 3,430 | dart | Dart | lib/src/model/generated/Id4meIdentity.g.dart | InterNetX/dart-domainrobot-sdk | 5d27966d9b124117250bf4c8d586679b6653b261 | [
"MIT"
] | 1 | 2020-03-13T08:57:26.000Z | 2020-03-13T08:57:26.000Z | lib/src/model/generated/Id4meIdentity.g.dart | InterNetX/dart-domainrobot-sdk | 5d27966d9b124117250bf4c8d586679b6653b261 | [
"MIT"
] | 4 | 2019-11-21T10:33:37.000Z | 2020-06-05T08:19:58.000Z | lib/src/model/generated/Id4meIdentity.g.dart | InterNetX/dart-domainrobot-sdk | 5d27966d9b124117250bf4c8d586679b6653b261 | [
"MIT"
] | 3 | 2019-11-21T20:35:02.000Z | 2020-03-19T11:24:36.000Z | // GENERATED CODE - DO NOT MODIFY BY HAND
part of 'Id4meIdentity.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Id4meIdentity _$Id4meIdentityFromJson(Map<String, dynamic> j... | 32.980769 | 77 | 0.605831 |
fe3b37bd12300413ff3b911bae69431f5d961c1a | 2,658 | cpp | C++ | Utility/WinAPI/StringUtils_WinAPI.cpp | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | 1 | 2016-06-01T10:41:12.000Z | 2016-06-01T10:41:12.000Z | Utility/WinAPI/StringUtils_WinAPI.cpp | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | null | null | null | Utility/WinAPI/StringUtils_WinAPI.cpp | yorung/XLE | 083ce4c9d3fe32002ff5168e571cada2715bece4 | [
"MIT"
] | null | null | null | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#include "../StringUtils.h"
#include "../../Core/WinAPI/IncludeWindows.h"
namespace Utility
{
#if 0
size_t XlUtf8To16(ucs2* utf16, size_t co... | 29.533333 | 101 | 0.687359 |
500ea74071b6ee9ce101b7ab95761afad059d2e0 | 1,935 | kts | Kotlin | library/build.gradle.kts | averagehuman/okhttp-client-mock | 0d8a801a6d0033fd62e3efa731c86dbe1a709c8e | [
"MIT"
] | null | null | null | library/build.gradle.kts | averagehuman/okhttp-client-mock | 0d8a801a6d0033fd62e3efa731c86dbe1a709c8e | [
"MIT"
] | null | null | null | library/build.gradle.kts | averagehuman/okhttp-client-mock | 0d8a801a6d0033fd62e3efa731c86dbe1a709c8e | [
"MIT"
] | null | null | null | plugins {
id("java")
id("jacoco")
id("maven-publish")
id("org.jetbrains.kotlin.jvm") version "1.3.21"
}
base.archivesBaseName = "okhttp-mock"
java {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
dependencies {
compileOnly("com.squareup.okhtt... | 25.460526 | 100 | 0.633075 |
48fb6ff9ec5e385020b6f915b818cd744685ba3b | 133 | h | C | compat-headers/stdnoreturn.h | mikesmiffy128/lumpystuff | cb726d66e8848ddbd69009033de7d7c436758d30 | [
"ISC"
] | 2 | 2018-08-07T09:54:09.000Z | 2021-03-25T17:48:41.000Z | compat-headers/stdnoreturn.h | mikesmiffy128/lumpystuff | cb726d66e8848ddbd69009033de7d7c436758d30 | [
"ISC"
] | null | null | null | compat-headers/stdnoreturn.h | mikesmiffy128/lumpystuff | cb726d66e8848ddbd69009033de7d7c436758d30 | [
"ISC"
] | null | null | null | #pragma once
#if defined(_MSC_VER) && !defined(__clang__)
#define _Noreturn __declspec(noreturn)
#endif
#define noreturn _Noreturn
| 19 | 44 | 0.781955 |
4a0b14ab1baa5def218b0172c1fa45e01ce3a9ae | 1,069 | kt | Kotlin | app/src/androidTest/java/shvyn22/flexingfinalspace/util/ImageViewAssertion.kt | shvyn22/FlexingFinalSpace | bbc57adeab66926b694af7f2e5b26a34bb7347ca | [
"MIT"
] | null | null | null | app/src/androidTest/java/shvyn22/flexingfinalspace/util/ImageViewAssertion.kt | shvyn22/FlexingFinalSpace | bbc57adeab66926b694af7f2e5b26a34bb7347ca | [
"MIT"
] | null | null | null | app/src/androidTest/java/shvyn22/flexingfinalspace/util/ImageViewAssertion.kt | shvyn22/FlexingFinalSpace | bbc57adeab66926b694af7f2e5b26a34bb7347ca | [
"MIT"
] | null | null | null | package shvyn22.flexingfinalspace.util
import android.view.View
import android.widget.ImageView
import androidx.core.graphics.drawable.toBitmap
import org.hamcrest.Description
import org.hamcrest.TypeSafeMatcher
fun withImageDrawable(
expectedId: Int
) = object : TypeSafeMatcher<View>() {
private var resourc... | 28.891892 | 78 | 0.70159 |
d234f9a14d6788e535444e939a10df82301919b5 | 318 | ps1 | PowerShell | New-Post.ps1 | raveling/aaronpowell.github.io | f71f50e72378dc3dc8698261c3d6de805c5e5696 | [
"Apache-2.0"
] | 10 | 2015-02-28T14:14:10.000Z | 2021-03-28T02:09:07.000Z | New-Post.ps1 | raveling/aaronpowell.github.io | f71f50e72378dc3dc8698261c3d6de805c5e5696 | [
"Apache-2.0"
] | 13 | 2016-11-14T06:17:56.000Z | 2020-03-09T03:24:10.000Z | New-Post.ps1 | raveling/aaronpowell.github.io | f71f50e72378dc3dc8698261c3d6de805c5e5696 | [
"Apache-2.0"
] | 15 | 2016-10-10T20:59:13.000Z | 2022-01-19T03:13:41.000Z | #requires -version 3.0
[CmdletBinding()]
param(
# Blog post name
[Parameter(Mandatory=$true)]
[string]
$Title
)
Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'
Push-Location (Join-Path $PSScriptRoot src)
../hugo.exe new "posts/$(Get-Date -Format 'yyyy-MM-dd')-$Title.md"
Pop-Location
| 18.705882 | 66 | 0.691824 |
a0d6125e83971bee232d8fa3134cd159ea203f9f | 518 | asm | Assembly | programs/oeis/230/A230775.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/230/A230775.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/230/A230775.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A230775: Smallest prime number greater than or equal to the square root of n.
; 2,2,2,2,3,3,3,3,3,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11... | 86.333333 | 252 | 0.658301 |
08f41f7803dd89f93b081beb82e4f56939e6cd03 | 1,611 | lua | Lua | config/nvim/pack/benferse/opt/toggleterm.nvim/tests/commandline_spec.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | 4 | 2020-07-10T17:50:47.000Z | 2021-08-12T23:55:38.000Z | config/nvim/pack/benferse/opt/toggleterm.nvim/tests/commandline_spec.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | null | null | null | config/nvim/pack/benferse/opt/toggleterm.nvim/tests/commandline_spec.lua | benferse/dotfiles | da500616ad755f391bde6b99087b0d925b728aa4 | [
"MIT"
] | null | null | null | local fmt = string.format
describe("Commandline tests:", function()
local parser = require("toggleterm.commandline")
it("should return a table containg correct arguments", function()
local file = vim.fn.tempname() .. ".txt"
vim.cmd(fmt("e %s", file))
local result = parser.parse("cmd='echo %' dir='/test... | 32.877551 | 74 | 0.68653 |
66268ae0ab31b90805e06da45371862cb5ef9834 | 4,438 | cpp | C++ | src/selector.cpp | mugiseyebrows/mugi-ffmpeg | e7c3a5aeab3ee6ba5d3000f912491e42f32facbd | [
"MIT"
] | 3 | 2019-10-08T13:33:48.000Z | 2020-06-14T01:10:04.000Z | src/selector.cpp | mugiseyebrows/mugi-ffmpeg | e7c3a5aeab3ee6ba5d3000f912491e42f32facbd | [
"MIT"
] | null | null | null | src/selector.cpp | mugiseyebrows/mugi-ffmpeg | e7c3a5aeab3ee6ba5d3000f912491e42f32facbd | [
"MIT"
] | 3 | 2020-06-14T01:10:09.000Z | 2021-12-30T01:36:49.000Z | #include "selector.h"
#include <QFile>
#include <QDir>
Selector::Selector(QObject* parent) : QObject(parent)
{
}
QStringList stringList(const QString& item1) {
QStringList result;
result << item1;
return result;
}
QStringList stringList(const QString& item1, const QString& item2) {
QStringList resul... | 25.802326 | 131 | 0.547093 |
5bfae0313334900ebaf35e74709ac07861d60c72 | 7,708 | swift | Swift | MobileApplicationDevelopment2018-2019-master/Knowledge of FBLA_CenturaFBLA_SeeversJacobsenStates_2019/Knowledge of FBLA/Ribbons.swift | TechWizard12/MobileApplicationDevelopmentCentura2019 | c132332addb9e0c89b3ecb34d3bf6bf361271a39 | [
"AML"
] | null | null | null | MobileApplicationDevelopment2018-2019-master/Knowledge of FBLA_CenturaFBLA_SeeversJacobsenStates_2019/Knowledge of FBLA/Ribbons.swift | TechWizard12/MobileApplicationDevelopmentCentura2019 | c132332addb9e0c89b3ecb34d3bf6bf361271a39 | [
"AML"
] | null | null | null | MobileApplicationDevelopment2018-2019-master/Knowledge of FBLA_CenturaFBLA_SeeversJacobsenStates_2019/Knowledge of FBLA/Ribbons.swift | TechWizard12/MobileApplicationDevelopmentCentura2019 | c132332addb9e0c89b3ecb34d3bf6bf361271a39 | [
"AML"
] | null | null | null | //
// Ribbons.swift
// KIn the Know FBLA
//
// Created by Created by Colten Seevers, Jayden Jacobsen, Caitlin States on 12/28/18.
// Copyright © 2019 Centura FBLA. All rights reserved.
//
import UIKit
class Ribbons: UIViewController{
@IBOutlet var Ribbonlabel: UILabel!
@IBOutlet var Ribbonb1: UIButto... | 36.704762 | 172 | 0.590815 |
4a6b5384a133df444d14865b6a1f23a4f9ea4d8b | 30,352 | html | HTML | _site/2021/01/28/bcaitech-ustage-day9.html | Heeseok-Jeong/Heeseok-Jeong.github.io | ec463c4ffd6d9afe12a6ee1a949979da4b6ee2bf | [
"MIT"
] | null | null | null | _site/2021/01/28/bcaitech-ustage-day9.html | Heeseok-Jeong/Heeseok-Jeong.github.io | ec463c4ffd6d9afe12a6ee1a949979da4b6ee2bf | [
"MIT"
] | null | null | null | _site/2021/01/28/bcaitech-ustage-day9.html | Heeseok-Jeong/Heeseok-Jeong.github.io | ec463c4ffd6d9afe12a6ee1a949979da4b6ee2bf | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!--Favicon-->
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon">
<!-- Font Awesome -->
<link ... | 35.416569 | 712 | 0.611657 |
4db67d6e5607dbea3f5622462b734474322e940c | 11,585 | asm | Assembly | vtcomp/runner.asm | nanoflite/victracker | 5728bba3a9df449996ab1c0a0911cf282ac4657e | [
"BSD-3-Clause"
] | 1 | 2021-09-20T20:35:14.000Z | 2021-09-20T20:35:14.000Z | vtcomp/runner.asm | nanoflite/victracker | 5728bba3a9df449996ab1c0a0911cf282ac4657e | [
"BSD-3-Clause"
] | null | null | null | vtcomp/runner.asm | nanoflite/victracker | 5728bba3a9df449996ab1c0a0911cf282ac4657e | [
"BSD-3-Clause"
] | null | null | null | ;**************************************************************************
;*
;* FILE runner.asm
;* Copyright (c) 1994, 2001, 2003 Daniel Kahlin <daniel@kahlin.net>
;* Written by Daniel Kahlin <daniel@kahlin.net>
;* $Id: runner.asm,v 1.12 2003/08/26 16:51:38 tlr Exp $
;*
;* DESCRIPTION
;* runner for packed vic-trac... | 17.11226 | 124 | 0.676047 |
c69f89a439477b7a0538e3950ce71183f5ea9b2e | 5,926 | tab | SQL | src/numeric.tab | Acidburn0zzz/tethys | 2456a24764729620735010db1a37fb6fb060c1a3 | [
"MIT"
] | 4 | 2015-01-06T13:02:16.000Z | 2015-03-28T15:13:30.000Z | src/numeric.tab | atheme/tethys | e0eb8c458369b64848c3486d553e650c2f86e31b | [
"MIT"
] | null | null | null | src/numeric.tab | atheme/tethys | e0eb8c458369b64848c3486d553e650c2f86e31b | [
"MIT"
] | 2 | 2016-01-09T03:30:18.000Z | 2019-06-04T23:45:19.000Z | RPL_WELCOME 1 ":Welcome to the %s Internet Relay Chat Network %s"
RPL_YOURHOST 2 ":Your host is %s, running version %s"
RPL_CREATED 3 ":This server was born on %s"
RPL_MYINFO 4 "%s %s %s %s idfk"
RPL_ISUPPORT 5 "%s :are supported by this server"
RPL_YOUREJAMESBOND 7 ":You are now Bond. James Bond."
RPL_MAP 15 ":%s"
R... | 28.76699 | 93 | 0.769997 |
2f1982c903c616c8e070edbca5af7436b37495c7 | 1,571 | java | Java | netty-websocket-http2/src/main/java/com/jauntsdn/netty/handler/codec/http2/websocketx/Http2WebSocketChannelFutureListener.java | jauntsdn/netty-websocket-http2 | d76982d2afadec9447cd98922e435173a214b3d3 | [
"Apache-2.0"
] | 11 | 2020-07-30T14:12:13.000Z | 2021-09-05T16:00:26.000Z | netty-websocket-http2/src/main/java/com/jauntsdn/netty/handler/codec/http2/websocketx/Http2WebSocketChannelFutureListener.java | jauntsdn/netty-websocket-http2 | d76982d2afadec9447cd98922e435173a214b3d3 | [
"Apache-2.0"
] | 1 | 2020-07-30T14:13:42.000Z | 2020-09-05T08:31:32.000Z | netty-websocket-http2/src/main/java/com/jauntsdn/netty/handler/codec/http2/websocketx/Http2WebSocketChannelFutureListener.java | jauntsdn/netty-websocket-http2 | d76982d2afadec9447cd98922e435173a214b3d3 | [
"Apache-2.0"
] | 1 | 2021-05-15T01:16:06.000Z | 2021-05-15T01:16:06.000Z | /*
* Copyright 2020 - present Maksym Ostroverkhov.
*
* 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 la... | 34.152174 | 92 | 0.762572 |
46df6d8dc26c9ba58ad23b32e94e052d481eb2cc | 763 | html | HTML | AULA 06/ex006.html | joaovianayt/javascript | 0ba7c264d50d87783580f853b9f8055798e5fd3a | [
"MIT"
] | null | null | null | AULA 06/ex006.html | joaovianayt/javascript | 0ba7c264d50d87783580f853b9f8055798e5fd3a | [
"MIT"
] | null | null | null | AULA 06/ex006.html | joaovianayt/javascript | 0ba7c264d50d87783580f853b9f8055798e5fd3a | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Primeiro Passos com DOM</title>
<style>
body{
background: rgb(255, 108, 108);
color: rgb(... | 25.433333 | 74 | 0.600262 |
9bcc4a3f169a9a86cc8bd011d09cb448feae09f2 | 2,093 | kt | Kotlin | src/main/kotlin/br/com/zup/edu/keymanager/chavepix/lista/ListaChavesPixEndPoint.kt | jaacksonalves/orange-talents-02-template-pix-keymanager-grpc | e11f987f10675ce553549f6a1c24e404a7f29a3c | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/br/com/zup/edu/keymanager/chavepix/lista/ListaChavesPixEndPoint.kt | jaacksonalves/orange-talents-02-template-pix-keymanager-grpc | e11f987f10675ce553549f6a1c24e404a7f29a3c | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/br/com/zup/edu/keymanager/chavepix/lista/ListaChavesPixEndPoint.kt | jaacksonalves/orange-talents-02-template-pix-keymanager-grpc | e11f987f10675ce553549f6a1c24e404a7f29a3c | [
"Apache-2.0"
] | null | null | null | package br.com.zup.edu.keymanager.chavepix.lista
import br.com.zup.edu.*
import br.com.zup.edu.keymanager.chavepix.ChavePixRepository
import br.com.zup.edu.keymanager.chavepix.compartilhado.exceptions.handlers.ErrorHandler
import com.google.protobuf.Timestamp
import io.grpc.stub.StreamObserver
import java.time.ZoneId
... | 38.054545 | 112 | 0.664118 |
56d4ddce648019b565c593f21460de091db5ac38 | 62 | dart | Dart | lib/src/enum.dart | dart-bitcoin-lib/dart-bech32 | 5683fd9b1ddb4f1524dd23ea6cf50239dd37c097 | [
"MIT"
] | null | null | null | lib/src/enum.dart | dart-bitcoin-lib/dart-bech32 | 5683fd9b1ddb4f1524dd23ea6cf50239dd37c097 | [
"MIT"
] | null | null | null | lib/src/enum.dart | dart-bitcoin-lib/dart-bech32 | 5683fd9b1ddb4f1524dd23ea6cf50239dd37c097 | [
"MIT"
] | null | null | null | /// Encoding Enums
enum EncodingEnum {
bech32,
bech32m,
}
| 10.333333 | 19 | 0.677419 |
4c9f05d78b3dcead14b4232d51c62231aaab5f7c | 6,055 | kt | Kotlin | twitlin/src/common/main/kotlin/com/sorrowblue/twitlin/v2/tweets/impl/TweetsApiImp.kt | SorrowBlue/Twitlin | 728f84d96dab86f43309674ddee7754b77fce956 | [
"MIT"
] | 1 | 2021-11-20T06:02:03.000Z | 2021-11-20T06:02:03.000Z | twitlin/src/common/main/kotlin/com/sorrowblue/twitlin/v2/tweets/impl/TweetsApiImp.kt | SorrowBlue/Twitlin | 728f84d96dab86f43309674ddee7754b77fce956 | [
"MIT"
] | 1 | 2020-08-08T15:29:10.000Z | 2020-08-08T15:31:44.000Z | twitlin/src/common/main/kotlin/com/sorrowblue/twitlin/v2/tweets/impl/TweetsApiImp.kt | SorrowBlue/Twitlin | 728f84d96dab86f43309674ddee7754b77fce956 | [
"MIT"
] | null | null | null | /*
* (c) 2020-2021 SorrowBlue.
*/
package com.sorrowblue.twitlin.v2.tweets.impl
import com.sorrowblue.twitlin.core.Urls
import com.sorrowblue.twitlin.v2.client.Response
import com.sorrowblue.twitlin.v2.client.UserClient
import com.sorrowblue.twitlin.v2.field.Expansion
import com.sorrowblue.twitlin.v2.field.MediaFie... | 39.575163 | 93 | 0.661272 |
a7226573fe35541c62d27b5a531aeae6c52697ab | 496 | dart | Dart | bin/AdventureGame/item/GoldPurse.dart | jonelleamio/AdventureGameServer | be55e48508be4df83fa5e44c77aae26ee072d8e8 | [
"MIT"
] | null | null | null | bin/AdventureGame/item/GoldPurse.dart | jonelleamio/AdventureGameServer | be55e48508be4df83fa5e44c77aae26ee072d8e8 | [
"MIT"
] | null | null | null | bin/AdventureGame/item/GoldPurse.dart | jonelleamio/AdventureGameServer | be55e48508be4df83fa5e44c77aae26ee072d8e8 | [
"MIT"
] | null | null | null | import '../character/Player.dart';
import 'Item.dart';
class GoldPurse implements Item {
final int gold;
final int id;
@override
int get getId => id;
GoldPurse(this.gold, this.id);
@override
Map isUsedBy(Player p) {
p.gold += gold;
return {
'description' : '${p.name} gain ${gold} gold',
... | 16.533333 | 52 | 0.560484 |
e976d3bd42a280b13be02b87367bae1f6bb8b0d8 | 2,400 | go | Go | internal/localfs/localfs_test.go | PithomLabs/gitfs | 35c333f5834c28ba5aa47d842abaae10c5b04a60 | [
"Apache-2.0"
] | 121 | 2019-07-13T14:02:05.000Z | 2021-08-04T03:28:26.000Z | internal/localfs/localfs_test.go | PithomLabs/gitfs | 35c333f5834c28ba5aa47d842abaae10c5b04a60 | [
"Apache-2.0"
] | 20 | 2019-07-20T14:33:04.000Z | 2021-05-29T18:38:05.000Z | internal/localfs/localfs_test.go | PithomLabs/gitfs | 35c333f5834c28ba5aa47d842abaae10c5b04a60 | [
"Apache-2.0"
] | 8 | 2019-07-13T14:02:34.000Z | 2021-01-16T11:50:46.000Z | package localfs
import (
"net/http"
"os"
"path/filepath"
"testing"
"github.com/posener/gitfs/internal/testfs"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestNew(t *testing.T) {
t.Parallel()
testfs.TestFS(t, func(t *testing.T, project string) (http.FileSystem, error) {
... | 24.242424 | 91 | 0.670417 |
b0a624542df9fb9fa4bd0f89d6fd1b5213ee62d3 | 4,029 | ps1 | PowerShell | Google.PowerShell.IntegrationTests/SQL/SQL.GcSqlConfiguration.Tests.ps1 | pjmcc2009/google-cloud-powershell | fe1d8b12b7a2276bf53546b4b85abbb7d550a454 | [
"Apache-2.0"
] | 125 | 2016-07-24T04:17:13.000Z | 2022-03-14T18:30:38.000Z | Google.PowerShell.IntegrationTests/SQL/SQL.GcSqlConfiguration.Tests.ps1 | pjmcc2009/google-cloud-powershell | fe1d8b12b7a2276bf53546b4b85abbb7d550a454 | [
"Apache-2.0"
] | 484 | 2016-07-20T21:54:10.000Z | 2022-01-29T11:02:47.000Z | Google.PowerShell.IntegrationTests/SQL/SQL.GcSqlConfiguration.Tests.ps1 | pjmcc2009/google-cloud-powershell | fe1d8b12b7a2276bf53546b4b85abbb7d550a454 | [
"Apache-2.0"
] | 71 | 2016-07-20T21:48:52.000Z | 2022-02-22T06:12:02.000Z | . $PSScriptRoot\..\GcloudCmdlets.ps1
Install-GcloudCmdlets
$project, $zone, $oldActiveConfig, $configName = Set-GCloudConfig
Describe "New-GcSqlInstanceReplicaConfig" {
It "shouldn't require any parameters" {
$config = New-GcSqlInstanceReplicaConfig
$config.MysqlReplicaConfiguration.ConnectRetryIn... | 41.536082 | 111 | 0.670638 |
754613e91f665940ac5ca0d10352af8d07df2878 | 3,717 | c | C | caesar.c | JacobGrisham/Encryption-Arrays-using-C | a9bddc834d04ce02dfbb4e009adfa872fce247ca | [
"MIT"
] | 1 | 2021-05-24T06:14:09.000Z | 2021-05-24T06:14:09.000Z | caesar.c | JacobGrisham/Encryption-Arrays-using-C | a9bddc834d04ce02dfbb4e009adfa872fce247ca | [
"MIT"
] | 1 | 2021-05-02T20:04:05.000Z | 2021-05-02T20:04:05.000Z | caesar.c | JacobGrisham/Encryption-Arrays-using-C | a9bddc834d04ce02dfbb4e009adfa872fce247ca | [
"MIT"
] | 1 | 2021-05-02T11:37:37.000Z | 2021-05-02T11:37:37.000Z | // Includes
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdbool.h>
// Delcare functions
bool text(char *s);
void cipher(char *plaintext, char *ciphertext, int k);
char *get_string(const char *prompt);
// argv[1] is the secret key (i.e., a non-negative integer)
int main(int ... | 27.533333 | 121 | 0.532688 |
5b08a8619921a349f512e1b6580f6a67ed90a1f5 | 2,426 | cpp | C++ | tools/clang/test/CXX/class.access/class.access.base/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | tools/clang/test/CXX/class.access/class.access.base/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 2,214 | 2019-05-06T22:22:53.000Z | 2022-03-31T19:38:50.000Z | tools/clang/test/CXX/class.access/class.access.base/p5.cpp | clayne/DirectXShaderCompiler | 0ef9b702890b1d45f0bec5fa75481290323e14dc | [
"NCSA"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 -verify %s
namespace test0 {
struct A {
static int x;
};
struct B : A {};
struct C : B {};
int test() {
return A::x
+ B::x
+ C::x;
}
}
namespace test1 {
struct A {
private: static int x; // expected-note 5 {{declared private here}}
static int test() ... | 24.505051 | 162 | 0.595218 |
163d7ab38b1236776565772e71c249a29c5fff59 | 653 | h | C | Applications/TVPhotos/TVPhotosTopShelfExtendedTraitCollection.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | 4 | 2019-08-27T18:03:47.000Z | 2021-09-18T06:29:00.000Z | Applications/TVPhotos/TVPhotosTopShelfExtendedTraitCollection.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | null | null | null | Applications/TVPhotos/TVPhotosTopShelfExtendedTraitCollection.h | lechium/tvOS124Headers | 11d1b56dd4c0ffd88b9eac43f87a5fd6f7228475 | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "PXExtendedTraitCollection.h"
@interface TVPhotosTopShelfExtendedTraitCollection : PXExtendedTraitCollection
{
}
- (double)displayScale; // IMP=0x0000000100082f80
- (struc... | 28.391304 | 83 | 0.75804 |
f5f4d28559bffa9a95892217e61e494ab2fe5fd4 | 427 | rs | Rust | checker/src/utils.rs | kumanote/gaiamon | d6428bf857c52157d1ed4b979f5362c8e03e8dcc | [
"MIT"
] | null | null | null | checker/src/utils.rs | kumanote/gaiamon | d6428bf857c52157d1ed4b979f5362c8e03e8dcc | [
"MIT"
] | 1 | 2022-02-01T02:57:19.000Z | 2022-02-01T04:23:30.000Z | checker/src/utils.rs | kumanote/gaiamon | d6428bf857c52157d1ed4b979f5362c8e03e8dcc | [
"MIT"
] | null | null | null | use crate::{CustomError, Result};
use sha2::{Digest, Sha256};
use std::fmt::Write;
pub fn calculate_hash(bytes: &[u8]) -> Result<String> {
// sha256
let mut hasher = Sha256::new();
hasher.update(bytes);
let output = hasher.finalize();
let mut result = String::new();
for byte in &output[..32] {
... | 26.6875 | 83 | 0.606557 |
355d03cc131039161d328c540a189b9e10046aac | 425 | dart | Dart | lib/src/service/justin_endpoints.dart | masich/djustin | 5b06ce7d123587501821ecf5f09804980c9daf13 | [
"MIT"
] | null | null | null | lib/src/service/justin_endpoints.dart | masich/djustin | 5b06ce7d123587501821ecf5f09804980c9daf13 | [
"MIT"
] | null | null | null | lib/src/service/justin_endpoints.dart | masich/djustin | 5b06ce7d123587501821ecf5f09804980c9daf13 | [
"MIT"
] | null | null | null | library justin_endpoints;
const String justinBase = 'http://openapi.justin.ua';
const String justinBranches = '/branches';
const String justinBranchTypes = '/branch_types';
const String justinBranchLocator = '/branches_locator';
const String justinTracking = '/tracking';
const String justinTrackingHistory = '/tracking... | 38.636364 | 57 | 0.792941 |
29162de07be391441baba79f55a715b9d6c4c3ce | 158 | py | Python | flaskrestful/FlaskProject/App/models/UserModel.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | null | null | null | flaskrestful/FlaskProject/App/models/UserModel.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | null | null | null | flaskrestful/FlaskProject/App/models/UserModel.py | riverstation/project-all | c56f1879e1303d561e95a3ff3a70f94fb5fa2191 | [
"Apache-2.0"
] | null | null | null | from App.ext import db
class User(db.Model):
u_id = db.Column(db.Integer, primary_key=True, autoincrement=True)
u_name = db.Column(db.String(16))
| 17.555556 | 70 | 0.702532 |
4c20ae23b8e85c203e8ffcbe75e7829749b5dce0 | 5,869 | php | PHP | resources/views/blogs.blade.php | leostark08/FinbuProject-Laravel-backend | 0af42f7a2e15c57b4e7f02d0f5fa210406e51641 | [
"MIT"
] | null | null | null | resources/views/blogs.blade.php | leostark08/FinbuProject-Laravel-backend | 0af42f7a2e15c57b4e7f02d0f5fa210406e51641 | [
"MIT"
] | 1 | 2021-02-02T18:09:33.000Z | 2021-02-02T18:09:33.000Z | resources/views/blogs.blade.php | leostark08/FinbuProject-Laravel-backend | 0af42f7a2e15c57b4e7f02d0f5fa210406e51641 | [
"MIT"
] | null | null | null | {{-- resources/views/admin/dashboard.blade.php --}}
@extends('adminlte::page')
@section('title', 'Người dùng')
@section('content_header')
<h1>Người dùng</h1>
@stop
@section('content')
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1... | 54.850467 | 208 | 0.429715 |
5991b77f4655b48433a5b58e3fb8605272061471 | 4,181 | cpp | C++ | src/physical_plan/auto_inc.cpp | tullyliu/BaikalDB | 08c4430a79c2621714a2bc9b024380877b7db499 | [
"Apache-2.0"
] | 984 | 2018-08-03T16:22:49.000Z | 2022-03-22T07:54:48.000Z | src/physical_plan/auto_inc.cpp | tullyliu/BaikalDB | 08c4430a79c2621714a2bc9b024380877b7db499 | [
"Apache-2.0"
] | 100 | 2018-08-07T11:33:18.000Z | 2021-12-22T19:22:43.000Z | src/physical_plan/auto_inc.cpp | tullyliu/BaikalDB | 08c4430a79c2621714a2bc9b024380877b7db499 | [
"Apache-2.0"
] | 157 | 2018-08-04T05:32:34.000Z | 2022-03-10T03:16:47.000Z | // Copyright (c) 2018-present Baidu, 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 b... | 36.356522 | 99 | 0.644822 |
8e5ce0115c3358b694058055922d244564c4a78f | 2,013 | swift | Swift | Pods/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/Core/models/TapCountry.swift | Tap-Payments/TapCheckoutApiKIT | 9d55499ac09199bd62379f721cf11ae0489f142f | [
"MIT"
] | 5 | 2021-01-05T02:18:40.000Z | 2022-01-14T19:50:31.000Z | Pods/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/Core/models/TapCountry.swift | Tap-Payments/TapCheckoutApiKIT | 9d55499ac09199bd62379f721cf11ae0489f142f | [
"MIT"
] | null | null | null | Pods/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/CommonDataModelsKit-iOS/Core/models/TapCountry.swift | Tap-Payments/TapCheckoutApiKIT | 9d55499ac09199bd62379f721cf11ae0489f142f | [
"MIT"
] | 3 | 2020-04-02T07:57:34.000Z | 2021-09-16T11:34:26.000Z | import Foundation
/// Represents a model for the country object
@objc public class TapCountry : NSObject,Codable {
/// Arabic name
public let nameAR : String?
/// English name
public let nameEN : String?
/// Phone calling international code
public let code : String?
/// The correct... | 34.706897 | 119 | 0.647789 |
2f02927a8fc9f3aa94a343439b8ec770f8add2ac | 4,500 | java | Java | src/main/java/fr/nimrod/recognition/web/controller/EnrollmentController.java | VirtualIdentity/facial-recognition | a33ca0c22629c351cbdea135641b22a215b493b8 | [
"MIT"
] | null | null | null | src/main/java/fr/nimrod/recognition/web/controller/EnrollmentController.java | VirtualIdentity/facial-recognition | a33ca0c22629c351cbdea135641b22a215b493b8 | [
"MIT"
] | null | null | null | src/main/java/fr/nimrod/recognition/web/controller/EnrollmentController.java | VirtualIdentity/facial-recognition | a33ca0c22629c351cbdea135641b22a215b493b8 | [
"MIT"
] | null | null | null | package fr.nimrod.recognition.web.controller;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Base64;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.stream.Collectors;
import org.apache.commons.io.FileUtils;
import org.springframework.beans... | 39.823009 | 228 | 0.748222 |
f3681bd31baba142f5f116686b29a44c06bf8906 | 14,348 | dart | Dart | lib/forms/operator_form.dart | ibstelix/donation-app-via-creditemoi | 9ee8f0f4972ce462e4342e481b6f5f4fe9d1bed2 | [
"MIT"
] | null | null | null | lib/forms/operator_form.dart | ibstelix/donation-app-via-creditemoi | 9ee8f0f4972ce462e4342e481b6f5f4fe9d1bed2 | [
"MIT"
] | null | null | null | lib/forms/operator_form.dart | ibstelix/donation-app-via-creditemoi | 9ee8f0f4972ce462e4342e481b6f5f4fe9d1bed2 | [
"MIT"
] | null | null | null | import 'dart:io';
import 'package:after_layout/after_layout.dart';
import 'package:codedecoders/scope/main_model.dart';
import 'package:codedecoders/strings/const.dart';
import 'package:codedecoders/utils/general.dart';
import 'package:codedecoders/widgets/input_formatters.dart';
import 'package:codedecoders/widgets/i... | 29.954071 | 85 | 0.559451 |
945db4dde993b4f79d4dc2b434c02b5c1e455816 | 455 | cpp | C++ | src/AppConsole.cpp | kommander/cinderjs | 9fc6c7f50ccb1783f7074a616f8830e5eb13c7c3 | [
"Unlicense"
] | 17 | 2015-02-25T08:33:31.000Z | 2021-02-17T04:40:49.000Z | src/AppConsole.cpp | kommander/cinderjs | 9fc6c7f50ccb1783f7074a616f8830e5eb13c7c3 | [
"Unlicense"
] | 1 | 2015-07-21T07:31:50.000Z | 2015-08-25T19:23:48.000Z | src/AppConsole.cpp | kommander/cinderjs | 9fc6c7f50ccb1783f7074a616f8830e5eb13c7c3 | [
"Unlicense"
] | 4 | 2015-05-08T01:13:11.000Z | 2019-02-20T05:42:30.000Z | //
// Console.cpp
// cinderjs
//
// Created by Sebastian Herrlinger on 16/10/14.
//
//
#include <stdio.h>
#include "AppConsole.h"
namespace cjs {
bool AppConsole::sInitialized = false;
bool AppConsole::sChanged = false;
int AppConsole::sNumLinesToShow = 10;
int AppConsole::sMaxLines = 100;
cinder::gl::TextureRe... | 20.681818 | 73 | 0.714286 |
f100738806ad130a667882b3bbc66cf6ce4437d5 | 1,610 | rb | Ruby | ch07_Classes_and_Modules/7.5.rb | DouglasAllen/RPLExamples | 7baf3a9cd5ef2fb609cb66250ac8f4819b43d5c9 | [
"Ruby",
"Unlicense"
] | null | null | null | ch07_Classes_and_Modules/7.5.rb | DouglasAllen/RPLExamples | 7baf3a9cd5ef2fb609cb66250ac8f4819b43d5c9 | [
"Ruby",
"Unlicense"
] | null | null | null | ch07_Classes_and_Modules/7.5.rb | DouglasAllen/RPLExamples | 7baf3a9cd5ef2fb609cb66250ac8f4819b43d5c9 | [
"Ruby",
"Unlicense"
] | null | null | null | # ---------------------------
# 7.5.1.1 Nested namespaces
module Base64
DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
class Encoder
def encode
end
end
class Decoder
def decode
end
end
# A utility function for use by both classes
def Base64.helper
end
end... | 21.466667 | 77 | 0.545342 |
11f0623956ed84d36cbf26d6d013ac3077bd4415 | 1,084 | sql | SQL | sql/20150723/add_parallel_questions_for_dcs_spanish.sql | ufbmi/CCDA_MAIN | 34d470d2883aa710bda5ca9e86befe12e9558608 | [
"Apache-2.0"
] | 1 | 2021-04-25T16:36:49.000Z | 2021-04-25T16:36:49.000Z | sql/20150723/add_parallel_questions_for_dcs_spanish.sql | ufbmi/CCDA_MAIN | 34d470d2883aa710bda5ca9e86befe12e9558608 | [
"Apache-2.0"
] | null | null | null | sql/20150723/add_parallel_questions_for_dcs_spanish.sql | ufbmi/CCDA_MAIN | 34d470d2883aa710bda5ca9e86befe12e9558608 | [
"Apache-2.0"
] | null | null | null | INSERT INTO `questions` (`id`, `sections_id`, `next_questions_id`, `previous_questions_id`, `is_required`, `sort_order`, `created_at`, `updated_at`, `deleted_at`) VALUES
(NULL, 45, NULL, NULL, 0, 0, NOW(), '0000-00-00 00:00:00', '0000-00-00 00:00:00'),
(NULL, 45, NULL, NULL, 0, 1, NOW(), '0000-00-00 00:00:00', '0000-00... | 83.384615 | 169 | 0.595018 |
3315429c0aa928801a1243413b1efad540cf1405 | 1,102 | py | Python | core/migrations/0002_meetup.py | hatsem78/django_docker_nginex_nginx_gunicorn | 15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3 | [
"MIT"
] | null | null | null | core/migrations/0002_meetup.py | hatsem78/django_docker_nginex_nginx_gunicorn | 15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3 | [
"MIT"
] | null | null | null | core/migrations/0002_meetup.py | hatsem78/django_docker_nginex_nginx_gunicorn | 15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3 | [
"MIT"
] | null | null | null | # Generated by Django 2.2.16 on 2020-09-29 23:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Meetup',
fields=[
('id', mod... | 36.733333 | 115 | 0.579855 |
9140dc29704868f2b229da3cd3db733792d75aa4 | 703 | sql | SQL | 32_event_trigger.sql | zimirrr/postgres-showcase | 7a3cd5ddc71f88c933e2739ec779209fd0fb12ff | [
"BSD-3-Clause"
] | 153 | 2017-05-22T15:59:29.000Z | 2022-03-26T00:30:37.000Z | 32_event_trigger.sql | zimirrr/postgres-showcase | 7a3cd5ddc71f88c933e2739ec779209fd0fb12ff | [
"BSD-3-Clause"
] | 7 | 2017-08-24T16:20:55.000Z | 2017-09-11T22:12:39.000Z | 32_event_trigger.sql | zimirrr/postgres-showcase | 7a3cd5ddc71f88c933e2739ec779209fd0fb12ff | [
"BSD-3-Clause"
] | 35 | 2017-08-24T13:26:09.000Z | 2022-03-26T00:30:53.000Z | \c pg_features_demo
SET ROLE TO demorole;
CREATE OR REPLACE FUNCTION rewrite_date_check() RETURNS event_trigger AS
$$
BEGIN
-- disallow full re-writes of the "account" table during business hours as it could block all operations
IF pg_event_trigger_table_rewrite_oid() = 'banking_schema.account'::regclass THEN
... | 29.291667 | 108 | 0.773826 |
d5ff2fa8ade11ccfcfc61130bba55dbe85bae56a | 70 | dart | Dart | lib/sticky_float_button.dart | yoehwan/flutter_sticky_float_button | 9d300c03d39cefb8c9d664fd520a5bfb1a91913f | [
"MIT"
] | null | null | null | lib/sticky_float_button.dart | yoehwan/flutter_sticky_float_button | 9d300c03d39cefb8c9d664fd520a5bfb1a91913f | [
"MIT"
] | 1 | 2021-09-19T02:34:04.000Z | 2021-09-19T02:35:06.000Z | lib/sticky_float_button.dart | yoehwan/flutter_sticky_float_button | 9d300c03d39cefb8c9d664fd520a5bfb1a91913f | [
"MIT"
] | null | null | null | library sticky_float_button;
export 'src/sticky_float_button.dart';
| 14 | 38 | 0.828571 |
105cad50b01a4e0a3897975a8ca56d074ba712f0 | 672 | kt | Kotlin | app/src/main/java/nl/rvbsoftdev/curiosityreporting/feature/more/MoreViewModel.kt | rbenza/Curiosity-Reporting | c824d6a08e9576232c7f57e7f7e9f1ba247495d4 | [
"Apache-2.0"
] | 4 | 2019-08-19T18:18:50.000Z | 2019-10-14T09:20:48.000Z | app/src/main/java/nl/rvbsoftdev/curiosityreporting/feature/more/MoreViewModel.kt | rbenza/Curiosity-Reporting | c824d6a08e9576232c7f57e7f7e9f1ba247495d4 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/nl/rvbsoftdev/curiosityreporting/feature/more/MoreViewModel.kt | rbenza/Curiosity-Reporting | c824d6a08e9576232c7f57e7f7e9f1ba247495d4 | [
"Apache-2.0"
] | 3 | 2020-02-23T18:23:14.000Z | 2022-02-09T05:36:30.000Z | package nl.rvbsoftdev.curiosityreporting.feature.more
import androidx.lifecycle.ViewModel
import nl.rvbsoftdev.curiosityreporting.R
class MoreViewModel : ViewModel() {
val moreItemslist = listOf(
MoreItem(0, R.drawable.icon_mission, "Visit the NASA website", "Get to know more about Mars and the missi... | 51.692308 | 135 | 0.72619 |
53ccdd4d03a2b3a4ca12159e87562494f4990ce1 | 167 | java | Java | src/org/theusaf/BattlefieldChess/game/GameTeam.java | theusaf/BattlefieldChess | 23fc3319822c55726811be35010826b796500bdb | [
"MIT"
] | null | null | null | src/org/theusaf/BattlefieldChess/game/GameTeam.java | theusaf/BattlefieldChess | 23fc3319822c55726811be35010826b796500bdb | [
"MIT"
] | null | null | null | src/org/theusaf/BattlefieldChess/game/GameTeam.java | theusaf/BattlefieldChess | 23fc3319822c55726811be35010826b796500bdb | [
"MIT"
] | null | null | null | package org.theusaf.BattlefieldChess.game;
/**
* The two sides in chess.
*/
public enum GameTeam {
/**
* White
*/
WHITE,
/**
* Black
*/
BLACK
}
| 10.4375 | 42 | 0.556886 |
8c901becb0d41ae43c3de39fb47eed1bdd2752b5 | 567 | asm | Assembly | pgm_1.asm | mitchGuthrieDev/Assembly-code | 521a539cc4bb59b94c751eba65036035d4df8c15 | [
"MIT"
] | null | null | null | pgm_1.asm | mitchGuthrieDev/Assembly-code | 521a539cc4bb59b94c751eba65036035d4df8c15 | [
"MIT"
] | null | null | null | pgm_1.asm | mitchGuthrieDev/Assembly-code | 521a539cc4bb59b94c751eba65036035d4df8c15 | [
"MIT"
] | null | null | null | # C code:
# f = (g + h) - (i + j);
.data
f: .word 0 # RAM storage location for "f"
g: .word 10
h: .word 20
i: .word 1
j: .word 4
.text
lw $s0, f # load all the data from RAM into registers
lw $s1, g
lw $s2, h
lw $s3, i
lw $s4, j
add $t0, $s1, $s2 # g + h
add $t1, $s3, $s4 # i + j
sub $s0, $t0, $t... | 19.551724 | 75 | 0.553792 |
ddeb9514c0d60fb12a896af0982bdbd357faeb28 | 168 | php | PHP | app/Http/Controllers/Admin/License/Management.php | kennyLtv/PHP-License-System | b0aba80c9190792c05adacfff40f1dd47e2eaffc | [
"MIT"
] | 13 | 2018-11-17T04:35:21.000Z | 2022-02-20T18:16:22.000Z | app/Http/Controllers/Admin/License/Management.php | kennyLtv/PHP-License-System | b0aba80c9190792c05adacfff40f1dd47e2eaffc | [
"MIT"
] | 4 | 2017-06-05T09:28:34.000Z | 2017-09-14T05:56:05.000Z | app/Http/Controllers/Admin/License/Management.php | kennyLtv/PHP-License-System | b0aba80c9190792c05adacfff40f1dd47e2eaffc | [
"MIT"
] | 5 | 2019-08-19T01:18:20.000Z | 2022-01-03T21:03:35.000Z | <?php
namespace App\Http\Controllers\Admin\License;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class Management extends Controller
{
//
}
| 14 | 45 | 0.767857 |
64d7eed18f29816f86d02c566ff6e24fd7bd2319 | 149 | java | Java | android/src/main/java/cn/finalteam/rxgalleryfinalprovider/utils/FileUtils.java | yuvaraj119/react-native-multiple-camera-gallery-image-picker | 3fecd0eb7184677ec5b5d22f1d5e01d70e857d62 | [
"Apache-2.0"
] | null | null | null | android/src/main/java/cn/finalteam/rxgalleryfinalprovider/utils/FileUtils.java | yuvaraj119/react-native-multiple-camera-gallery-image-picker | 3fecd0eb7184677ec5b5d22f1d5e01d70e857d62 | [
"Apache-2.0"
] | null | null | null | android/src/main/java/cn/finalteam/rxgalleryfinalprovider/utils/FileUtils.java | yuvaraj119/react-native-multiple-camera-gallery-image-picker | 3fecd0eb7184677ec5b5d22f1d5e01d70e857d62 | [
"Apache-2.0"
] | null | null | null | package cn.finalteam.rxgalleryfinalprovider.utils;
/**
* Desction:文件工具类
* Author:pengjianbo
* Date:16/5/6 下午5:45
*/
public class FileUtils {
}
| 13.545455 | 50 | 0.718121 |
19ac11601202a098703cea743fa7e72da7700050 | 2,058 | swift | Swift | Sources/AdvancedCodableHelpers/delayed/DelayedEncodingContainer.swift | TheAngryDarling/SwiftAdvancedCodableHelpers | 7e3434edebe925453daefb0ac2321e0ffb56a143 | [
"Apache-2.0"
] | null | null | null | Sources/AdvancedCodableHelpers/delayed/DelayedEncodingContainer.swift | TheAngryDarling/SwiftAdvancedCodableHelpers | 7e3434edebe925453daefb0ac2321e0ffb56a143 | [
"Apache-2.0"
] | null | null | null | Sources/AdvancedCodableHelpers/delayed/DelayedEncodingContainer.swift | TheAngryDarling/SwiftAdvancedCodableHelpers | 7e3434edebe925453daefb0ac2321e0ffb56a143 | [
"Apache-2.0"
] | null | null | null | //
// DelayedEncodingContainer.swift
// AdvancedCodableHelpers
//
// Created by Tyler Anger on 2018-11-06.
//
import Foundation
/// Base class for delayed encoding container
public class DelayedEncodingContainer {
/// The path of coding keys taken to get to this point in encoding.
public private(set) ... | 37.418182 | 114 | 0.684159 |
9bd5298505f5b1d3642e39d91a0fcd5422105c30 | 1,016 | sql | SQL | src/main/java/com/fivetran/agent/mysql/source/table_column_attributes.sql | fivetran/mysql-secure-agent | 304e47b3a9c651c55d8496628b109f0c651024f7 | [
"MIT"
] | 1 | 2018-05-08T19:40:20.000Z | 2018-05-08T19:40:20.000Z | src/main/java/com/fivetran/agent/mysql/source/table_column_attributes.sql | fivetran/mysql-secure-agent | 304e47b3a9c651c55d8496628b109f0c651024f7 | [
"MIT"
] | null | null | null | src/main/java/com/fivetran/agent/mysql/source/table_column_attributes.sql | fivetran/mysql-secure-agent | 304e47b3a9c651c55d8496628b109f0c651024f7 | [
"MIT"
] | null | null | null | SELECT
c.TABLE_SCHEMA,
c.TABLE_NAME,
c.COLUMN_NAME,
c.ORDINAL_POSITION,
c.COLUMN_TYPE,
c.CHARACTER_SET_NAME,
c.COLUMN_KEY,
k.REFERENCED_TABLE_SCHEMA,
k.REFERENCED_TABLE_NAME,
k.REFERENCED_COLUMN_NAME
FROM information_schema.COLUMNS c
LEFT JOIN information_schema.KEY_COLUMN_USAGE ... | 36.285714 | 57 | 0.647638 |
2f75076f1c12ba45cc5dce57b0eb1982a87ef449 | 5,092 | php | PHP | app/Http/Controllers/TarefasController.php | Wanderson-A-Timoteo/laravel-project | 18a1cfb52ef28b951edc00aca623c8a6f9d39ff9 | [
"MIT"
] | null | null | null | app/Http/Controllers/TarefasController.php | Wanderson-A-Timoteo/laravel-project | 18a1cfb52ef28b951edc00aca623c8a6f9d39ff9 | [
"MIT"
] | null | null | null | app/Http/Controllers/TarefasController.php | Wanderson-A-Timoteo/laravel-project | 18a1cfb52ef28b951edc00aca623c8a6f9d39ff9 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
//use Illuminate\Support\Facades\DB; // usar com Query Builder
use App\Models\Tarefa;
class TarefasController extends Controller
{
// Controllers com suas respectivas actions
public function list() {
// Exemplo com query build para li... | 29.777778 | 124 | 0.485075 |
c51a23b707834b9705e441b3a81ed636c82f96e3 | 331 | lua | Lua | fs/writelines/writelines.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 48 | 2018-02-14T08:28:58.000Z | 2021-12-08T02:06:43.000Z | fs/writelines/writelines.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 10 | 2018-02-23T11:55:20.000Z | 2019-09-03T19:08:02.000Z | fs/writelines/writelines.lua | aiq/luazdf | 4f23aa7c6c9ce38f72b361b5a7c067480a97a178 | [
"0BSD"
] | 2 | 2018-02-26T11:57:12.000Z | 2018-03-06T18:37:43.000Z | --ZFUNC-writelines-v1
local function writelines( filename, strlst ) --> res, err
local f, err = io.open( filename, "w" )
if err then return nil, err end
for _, str in ipairs( strlst ) do
local wres, err = f:write( str, "\n" )
if err then return nil, err end
end
return f:close()
end
return ... | 22.066667 | 58 | 0.637462 |
badeb62172715705b39bbd9612d76eb1f70d6c4e | 1,720 | lua | Lua | SVUI_Skins/components/blizzard/talkinghead.lua | FailcoderAddons/supervillain-ui | 04ad89eef9d19659f804346d7baa4fe5d4cd619a | [
"MIT"
] | 38 | 2016-10-25T23:09:31.000Z | 2020-09-18T15:33:19.000Z | SVUI_Skins/components/blizzard/talkinghead.lua | FailcoderAddons/supervillain-ui | 04ad89eef9d19659f804346d7baa4fe5d4cd619a | [
"MIT"
] | 223 | 2016-10-26T15:36:36.000Z | 2021-06-26T12:33:39.000Z | SVUI_Skins/components/blizzard/talkinghead.lua | failcoder/supervillain-ui | 04ad89eef9d19659f804346d7baa4fe5d4cd619a | [
"MIT"
] | 24 | 2016-10-26T06:21:41.000Z | 2020-11-23T10:49:25.000Z | --[[
##############################################################################
S V U I By: Failcoder
Talking Head By: JoeyMagz
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
local ipai... | 24.927536 | 88 | 0.537209 |
5948068215ad563bf89a0a60702071bed77fd915 | 3,843 | cpp | C++ | src/Pattern.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | 1 | 2017-08-28T05:49:37.000Z | 2017-08-28T05:49:37.000Z | src/Pattern.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | null | null | null | src/Pattern.cpp | tapio/Wendy | 41ba0af0158bfe9fe50c0e881b451342602aa327 | [
"Zlib"
] | null | null | null | ///////////////////////////////////////////////////////////////////////
// Wendy core library
// Copyright (c) 2009 Camilla Berglund <elmindreda@elmindreda.org>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any
// damages arising fro... | 25.966216 | 91 | 0.574291 |
1d2f4bd7f4e78dae3f0de34d43222d26899138db | 12,722 | swift | Swift | AppTapia/AppTapia/Utils/Utils.swift | otakutronic/WebRTCiOSApp | 835d09c222cc0da435c4f33cbd9ec839f46bf026 | [
"AML"
] | null | null | null | AppTapia/AppTapia/Utils/Utils.swift | otakutronic/WebRTCiOSApp | 835d09c222cc0da435c4f33cbd9ec839f46bf026 | [
"AML"
] | null | null | null | AppTapia/AppTapia/Utils/Utils.swift | otakutronic/WebRTCiOSApp | 835d09c222cc0da435c4f33cbd9ec839f46bf026 | [
"AML"
] | null | null | null | //
// Utils.swift
// CyberhoodEIP
//
// Created by user on 2014/10/1.
// Copyright (c) 2014年 kinghood. All rights reserved.
//
import Foundation
import UIKit
let mailReceiveDateLocalDateTimeFormatter = "yyyy-MM-dd HH:mm";
// MARK: - Alert utils
public func showWarningAlert(viewController: UIViewController, M... | 34.107239 | 160 | 0.621679 |
c418854cde10e03f0e166e6c3f5a32ee706b80cc | 91,996 | c | C | arch/risc-v/src/esp32c3/esp32c3_bignum.c | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | 1 | 2022-01-04T04:04:56.000Z | 2022-01-04T04:04:56.000Z | arch/risc-v/src/esp32c3/esp32c3_bignum.c | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | 4 | 2021-12-04T01:29:43.000Z | 2022-03-30T00:02:20.000Z | arch/risc-v/src/esp32c3/esp32c3_bignum.c | eenurkka/incubator-nuttx | 5c3d6bba6d9ec5015896c3019cd2064696373210 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* arch/risc-v/src/esp32c3/esp32c3_bignum.c
*
* 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 co... | 23.753163 | 78 | 0.488423 |
63330b9a3adee8ff4a3c433f34f8793c1aaa119e | 361 | swift | Swift | Sources/ChouTi/Operations/OperationQueue.swift | ChouTi-Lab/ChouTi | 083dd4df77e6f9b11fc78c7913e25bf2e6b96b6d | [
"MIT"
] | 9 | 2019-03-09T12:24:56.000Z | 2019-12-29T01:09:25.000Z | Sources/ChouTi/Operations/OperationQueue.swift | Ch0uti/ChouTi | 083dd4df77e6f9b11fc78c7913e25bf2e6b96b6d | [
"MIT"
] | 2 | 2018-11-16T19:20:25.000Z | 2019-12-24T04:19:59.000Z | Sources/ChouTi/Operations/OperationQueue.swift | ChouTi-Lab/ChouTi | 083dd4df77e6f9b11fc78c7913e25bf2e6b96b6d | [
"MIT"
] | 5 | 2018-11-12T05:30:26.000Z | 2020-01-03T15:19:18.000Z | //
// File.swift
//
//
// Created by Honghao Zhang on 2/12/20.
//
import Foundation
public extension OperationQueue {
convenience init(name: String) {
self.init()
self.name = name
}
func addTask(_ task: Operation) {
self.addOperation(task)
}
}
public extension Operation {
func add(to queue: Operation... | 13.884615 | 40 | 0.67867 |
74446a6af0dc30982416a705fcb538fbc6f87123 | 751 | sql | SQL | .erda/migrations/pipeline/20210528-runner-scheduler-base.sql | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 2,402 | 2021-03-08T00:47:58.000Z | 2022-03-31T15:15:54.000Z | .erda/migrations/pipeline/20210528-runner-scheduler-base.sql | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 3,828 | 2021-03-15T03:33:16.000Z | 2022-03-31T10:51:30.000Z | .erda/migrations/pipeline/20210528-runner-scheduler-base.sql | harverywxu/erda | 521b773a73424f514756b7bfcb515c594003b19a | [
"Apache-2.0"
] | 315 | 2021-03-05T09:53:24.000Z | 2022-03-31T09:48:35.000Z | -- MIGRATION_BASE
CREATE TABLE `dice_runner_tasks`
(
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`job_id` varchar(150) DEFAULT NULL,
`status` varchar(150) DEFAULT NULL,
`open_api_token` text,
`context_data_url` varchar(255) DEFAULT NULL,
`result_data_ur... | 35.761905 | 71 | 0.591212 |
81d7ac9e8305661a3be844deb53e26064e3e995f | 1,319 | go | Go | build.go | bldy/build | d04b29acc6a742388d5696bbff0d7fca49117189 | [
"BSD-3-Clause"
] | 15 | 2016-11-03T10:49:09.000Z | 2020-02-20T06:34:32.000Z | build.go | bldy/build | d04b29acc6a742388d5696bbff0d7fca49117189 | [
"BSD-3-Clause"
] | 52 | 2016-11-02T16:47:54.000Z | 2019-03-31T15:38:36.000Z | build.go | bldy/build | d04b29acc6a742388d5696bbff0d7fca49117189 | [
"BSD-3-Clause"
] | 2 | 2016-11-06T20:42:13.000Z | 2017-01-03T21:39:20.000Z | // Copyright 2015-2016 Sevki <s@sevki.org>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package build defines build target and build context structures
package build
import (
"bldy.build/build/executor"
"bldy.build/build/label"
"bl... | 23.553571 | 83 | 0.73768 |
5757cd01671a6c2ebd37f245e66a465337fe4227 | 7,721 | h | C | aws-cpp-sdk-lookoutequipment/include/aws/lookoutequipment/model/IngestionS3InputConfiguration.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-lookoutequipment/include/aws/lookoutequipment/model/IngestionS3InputConfiguration.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-lookoutequipment/include/aws/lookoutequipment/model/IngestionS3InputConfiguration.h | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class ... | 36.766667 | 127 | 0.672581 |
c309e261011eac217cb60e05f1d0ae9a2cf4e6d1 | 2,143 | rs | Rust | crates/eosio_rpc/src/chain/get_table_rows.rs | datudou/rust-eos | 636073c21d2ab21af3f853fd09c907a3564a5a4e | [
"Apache-2.0",
"MIT"
] | null | null | null | crates/eosio_rpc/src/chain/get_table_rows.rs | datudou/rust-eos | 636073c21d2ab21af3f853fd09c907a3564a5a4e | [
"Apache-2.0",
"MIT"
] | null | null | null | crates/eosio_rpc/src/chain/get_table_rows.rs | datudou/rust-eos | 636073c21d2ab21af3f853fd09c907a3564a5a4e | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-21T02:03:38.000Z | 2020-12-21T02:03:38.000Z | use crate::{Client, Error};
use eosio::{AccountName, ScopeName, TableName};
use serde::{Deserialize, Serialize};
use std::marker::PhantomData;
#[derive(Serialize)]
pub struct GetTableRowsBuilder<Row> {
#[serde(skip)]
_data: PhantomData<Row>,
scope: ScopeName,
code: AccountName,
table: TableName,
... | 23.293478 | 72 | 0.600093 |
19e949377f39913b5ec0ae3a29c9efa1a3342bf3 | 32 | lua | Lua | Themes/Til Death/BGAnimations/_mouseselect.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | 1 | 2021-05-06T09:07:47.000Z | 2021-05-06T09:07:47.000Z | Themes/Til Death/BGAnimations/_mouseselect.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | null | null | null | Themes/Til Death/BGAnimations/_mouseselect.lua | kangalioo/etterna | 11630aa1c23bad46b2da993602b06f8b659a4961 | [
"MIT"
] | null | null | null | -- merged into mousewheelscroll
| 16 | 31 | 0.8125 |
2d812a57f9359fddd77c06c2ee327f55fdd7305e | 936 | html | HTML | ASP.NET/ASPNET Application/wwwroot/App/Views/UniquePages/Menu/MainMenuView.html | marcvil/WPF-App | c27b2890f8c144f0faccf55a43097e5162e0f2d0 | [
"MIT"
] | null | null | null | ASP.NET/ASPNET Application/wwwroot/App/Views/UniquePages/Menu/MainMenuView.html | marcvil/WPF-App | c27b2890f8c144f0faccf55a43097e5162e0f2d0 | [
"MIT"
] | null | null | null | ASP.NET/ASPNET Application/wwwroot/App/Views/UniquePages/Menu/MainMenuView.html | marcvil/WPF-App | c27b2890f8c144f0faccf55a43097e5162e0f2d0 | [
"MIT"
] | null | null | null |
<div class="Main">
<!-- Intro -->
<section id="intro" class="wrapper style1 fullscreen fade-up" style="background-color:brown">
<div class="inner">
<h1 style="color:azure">Welcome to ITAcademy!</h1>
<p style="color:azure">
IT Academ... | 34.666667 | 170 | 0.535256 |
040024577472b83deb5852c2cb67057d9fdc656d | 2,193 | js | JavaScript | src/components/AuthorMessage.js | jumpalottahigh/blog.georgiyanev.me | 1d101fa7aefbb05f24428c5cafd0526b39f327a7 | [
"MIT"
] | 21 | 2017-11-22T07:45:16.000Z | 2022-02-10T15:56:08.000Z | src/components/AuthorMessage.js | jumpalottahigh/blog.georgi-yanev.com | 99e5bd6e18348fcb4c3365e4af622b68db7ebbee | [
"MIT"
] | 33 | 2017-10-22T10:54:21.000Z | 2021-12-28T09:43:30.000Z | src/components/AuthorMessage.js | jumpalottahigh/blog.georgiyanev.me | 1d101fa7aefbb05f24428c5cafd0526b39f327a7 | [
"MIT"
] | 6 | 2018-10-11T15:39:25.000Z | 2019-10-08T17:42:17.000Z | import React from 'react'
import { graphql, useStaticQuery } from 'gatsby'
import Img from 'gatsby-image'
import svgReact from '../../static/react.svg'
import svgJS from '../../static/javascript.svg'
const AuthorMessage = ({ type = 'fpv', style }) => {
const authorImage = useStaticQuery(graphql`
{
georgiF... | 24.920455 | 79 | 0.468764 |
e788846d47fb067c9aee6172914d1dc99afb5108 | 2,304 | js | JavaScript | build/es6-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | 1 | 2019-09-04T20:40:47.000Z | 2019-09-04T20:40:47.000Z | build/es6-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | null | null | null | build/es6-amd/node_modules/@lrnwebcomponents/a11y-collapse/lib/a11y-collapse-group.js | profmikegreene/HAXcms | 50390c19bc91e49f05038fccb1104707153058f5 | [
"Apache-2.0"
] | null | null | null | define(["exports","../../../@polymer/polymer/polymer-element.js","../../../@polymer/polymer/lib/utils/render-status.js","../a11y-collapse.js"],function(_exports,_polymerElement,_renderStatus,_a11yCollapse){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.A11yCollapseGroup=void 0;class A11yCollapseGroup ... | 109.714286 | 1,319 | 0.720486 |
70a37a38b1480a8713090e2ca0213ca1f584cd4f | 385 | h | C | Projects/cube_demo/SpheresIntersecting.h | AlexLamson/ledcube | 66ae1e468bcfe0f9930e22773504ca474c987b52 | [
"MIT"
] | 4 | 2019-01-26T22:45:40.000Z | 2020-10-17T21:14:02.000Z | Projects/cube_demo/SpheresIntersecting.h | AlexLamson/ledcube | 66ae1e468bcfe0f9930e22773504ca474c987b52 | [
"MIT"
] | null | null | null | Projects/cube_demo/SpheresIntersecting.h | AlexLamson/ledcube | 66ae1e468bcfe0f9930e22773504ca474c987b52 | [
"MIT"
] | 2 | 2019-01-26T22:46:04.000Z | 2019-06-21T07:02:40.000Z | /*
* SpheresIntersecting.h
*
* Created on: Nov 2, 2018
* Author: raffc
*/
#ifndef SPHERESINTERSECTING_H_
#define SPHERESINTERSECTING_H_
#include "Demo.h"
class SpheresIntersecting: public Demo {
private:
float angle = 0;
const float angleIncremement = 0.05;
public:
SpheresIntersecting();
void init... | 16.041667 | 40 | 0.703896 |
6e87a0a5ef048c85aecf1c878c2a0f8fa313e67b | 1,255 | dart | Dart | lema_predial/lib/data/file_names.dart | joaomarcelors/appLemaPredial | 0330de5e010960179c93555f01694a2b04659a51 | [
"MIT"
] | null | null | null | lema_predial/lib/data/file_names.dart | joaomarcelors/appLemaPredial | 0330de5e010960179c93555f01694a2b04659a51 | [
"MIT"
] | null | null | null | lema_predial/lib/data/file_names.dart | joaomarcelors/appLemaPredial | 0330de5e010960179c93555f01694a2b04659a51 | [
"MIT"
] | null | null | null | final NAMES_BCIS = [
{
'title': 'Bomba Cisterna A',
'API': 'get_bcis_a.php',
'data': 'bcis_data',
'hora': 'bcis_hora',
'status': 'bcis_status',
'temp': 'bcis_temperatura',
},
{
'title': 'Bomba Cisterna B',
'API': 'get_bcis_b.php',
'data': 'bcisb_data',
'hora': 'bcisb_hora',... | 20.916667 | 32 | 0.538645 |
1b3e71cf1b197bfdd1a6c986c8cd4890486feda4 | 541 | lua | Lua | prototypes/engineering/data.lua | jonkeda/Colonists | d65671942e9887682088311b1facabacacff413d | [
"MIT"
] | null | null | null | prototypes/engineering/data.lua | jonkeda/Colonists | d65671942e9887682088311b1facabacacff413d | [
"MIT"
] | null | null | null | prototypes/engineering/data.lua | jonkeda/Colonists | d65671942e9887682088311b1facabacacff413d | [
"MIT"
] | 1 | 2019-02-21T17:24:53.000Z | 2019-02-21T17:24:53.000Z | --require("prototypes.engineering.workshop_furnace_data")
require("prototypes.engineering.workshop_beacon_data")
require("prototypes.engineering.wear_and_tear")
table.insert(data.raw["technology"]["automation"].effects, {type = "unlock-recipe", recipe = "colonists-workshop-beacon-1"})
table.insert(data.raw["technology... | 67.625 | 126 | 0.763401 |
e8f31d35996b9be1b63960dfeb46a66b8f3d9023 | 2,102 | asm | Assembly | compress.asm | neilbaldwin/PR8 | 045cbd282aba6357a4ae555958cf65c018952e49 | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | 8 | 2021-03-14T18:20:40.000Z | 2021-08-04T20:32:25.000Z | compress.asm | neilbaldwin/PR8 | 045cbd282aba6357a4ae555958cf65c018952e49 | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | 2 | 2021-09-17T02:53:10.000Z | 2021-09-17T03:11:10.000Z | compress.asm | neilbaldwin/PR8 | 045cbd282aba6357a4ae555958cf65c018952e49 | [
"BSD-2-Clause-FreeBSD",
"MIT"
] | null | null | null | ;
; Sequencer Pattern Compress/Decompress (RLE)
;
compress:
lda #WRAM_PATTERNS
jsr setMMC1r1
lda #<patterns
sta tmp0
lda #>patterns
sta tmp1
lda #<$7000
sta tmp2
lda #>$7000
sta tmp3
ldy #$00
lda #$FF
: sta (tmp2),y
iny
bne :-
ldx #$60 ;96 blocks
lda #$00
sta tmp4
: ldy #$00
lda (tmp0),y ;0?... | 12.150289 | 63 | 0.588011 |
6201c33ca227b7f9598de01c93fad286f900fa43 | 200 | dart | Dart | lib/backend/schema/index.dart | Fewsrt/yogaer | 74fc2aab04b561bd35e7a7aec614fd6e0ebbe734 | [
"MIT"
] | 2 | 2022-03-01T15:13:17.000Z | 2022-03-02T21:25:41.000Z | lib/backend/schema/index.dart | MaxHwK/Flutter_TaskManager | b7b3aeb5baf42704287e8cc110b590596d54117e | [
"MIT"
] | null | null | null | lib/backend/schema/index.dart | MaxHwK/Flutter_TaskManager | b7b3aeb5baf42704287e8cc110b590596d54117e | [
"MIT"
] | 1 | 2022-01-24T18:55:40.000Z | 2022-01-24T18:55:40.000Z | export 'package:cloud_firestore/cloud_firestore.dart';
export 'package:built_value/serializer.dart';
export 'package:built_collection/built_collection.dart';
export '../../flutter_flow/lat_lng.dart';
| 40 | 56 | 0.815 |
24a2a9e859f5fd25729e1baf44adceb9af3cff6a | 8,179 | sql | SQL | db.sql | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | db.sql | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | db.sql | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | -- A Subquery or Inner query or a Nested query is a query within another SQL query and embedded within the WHERE clause.
-- A subquery is used to return data that will be used in the main query as a condition to further restrict the data to be retrieved.
-- https://www.tutorialspoint.com/sql/sql-sub-queries.htm#:~:text... | 24.635542 | 133 | 0.488568 |