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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb122339d98117ef6163eb14bca0d43b4015f3f8 | 1,193 | c | C | v4-cokapi/backends/c_cpp/valgrind-3.11.0/memcheck/tests/x86/pushpopmem.c | ambadhan/OnlinePythonTutor | 857bab941fbde20f1f020b05b7723094ddead62a | [
"MIT"
] | 17 | 2021-12-09T11:31:44.000Z | 2021-12-29T03:07:14.000Z | v4-cokapi/backends/c_cpp/valgrind-3.11.0/memcheck/tests/x86/pushpopmem.c | heysachin/OnlinePythonTutor | 0dcdacc7ff5be504dd6a47236ebc69dc0069f991 | [
"MIT"
] | 8 | 2020-02-04T20:23:26.000Z | 2020-02-17T00:23:37.000Z | v4-cokapi/backends/c_cpp/valgrind-3.11.0/memcheck/tests/x86/pushpopmem.c | heysachin/OnlinePythonTutor | 0dcdacc7ff5be504dd6a47236ebc69dc0069f991 | [
"MIT"
] | 12 | 2021-12-09T11:31:46.000Z | 2022-01-07T03:14:46.000Z |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
unsigned int do32 ( unsigned int x )
{
unsigned int* y = malloc(sizeof(unsigned int));
unsigned int* z = malloc(sizeof(unsigned int));
unsigned int t;
assert(y);
assert(z);
y[0] = x;
__asm__ __volatile__(
"pushl %0\n\t"
"pushl %1\n\t"
... | 18.936508 | 57 | 0.526404 |
7f256b41d027bb90b0a71cc66f4e8aca475704ac | 8,470 | rs | Rust | pulse-binding/src/context/scache.rs | timvisee/pulse-binding-rust | 4d7d437c5aed40388e5d7fcf7c37be9968bf69cd | [
"Apache-2.0",
"MIT"
] | null | null | null | pulse-binding/src/context/scache.rs | timvisee/pulse-binding-rust | 4d7d437c5aed40388e5d7fcf7c37be9968bf69cd | [
"Apache-2.0",
"MIT"
] | null | null | null | pulse-binding/src/context/scache.rs | timvisee/pulse-binding-rust | 4d7d437c5aed40388e5d7fcf7c37be9968bf69cd | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright 2017 Lyndon Brown
//
// This file is part of the PulseAudio Rust language binding.
//
// Licensed under the MIT license or the Apache license (version 2.0), at your option. You may not
// copy, modify, or distribute this file except in compliance with said license. You can find copies
// of these licenses ... | 45.053191 | 100 | 0.644038 |
2c69bce11884b5ff3348b8438b9b5c5e7323572a | 5,366 | kt | Kotlin | src/main/kotlin/org/dustinl/argparse4k/argument_parser.kt | dustinliu/argparse4k | 6b0f1e4afbe1783986fa5117aef56227da66d374 | [
"BSD-3-Clause"
] | null | null | null | src/main/kotlin/org/dustinl/argparse4k/argument_parser.kt | dustinliu/argparse4k | 6b0f1e4afbe1783986fa5117aef56227da66d374 | [
"BSD-3-Clause"
] | null | null | null | src/main/kotlin/org/dustinl/argparse4k/argument_parser.kt | dustinliu/argparse4k | 6b0f1e4afbe1783986fa5117aef56227da66d374 | [
"BSD-3-Clause"
] | null | null | null | package org.dustinl.argparse4k
import net.sourceforge.argparse4j.ArgumentParsers
import net.sourceforge.argparse4j.helper.HelpScreenException
import net.sourceforge.argparse4j.impl.Arguments
import net.sourceforge.argparse4j.inf.ArgumentParserException
import net.sourceforge.argparse4j.inf.Subparser
import org.dustinl... | 39.167883 | 116 | 0.686731 |
24f6dcd4bdcf6f4446ffe50f5e6f13183734bb94 | 178 | go | Go | module/userconfig/model/update_user_config.go | PhamThanhTin0702/togo | 168d28ad648e74d04fa4e35196af328378b6a394 | [
"MIT"
] | null | null | null | module/userconfig/model/update_user_config.go | PhamThanhTin0702/togo | 168d28ad648e74d04fa4e35196af328378b6a394 | [
"MIT"
] | null | null | null | module/userconfig/model/update_user_config.go | PhamThanhTin0702/togo | 168d28ad648e74d04fa4e35196af328378b6a394 | [
"MIT"
] | null | null | null | package model
type UpdateUserConfig struct {
MaxTask *uint `json:"max_task" gorm:"max_task"`
}
func (UpdateUserConfig) TableName() string {
return UserConfig{}.TableName()
}
| 17.8 | 48 | 0.747191 |
98ff691cc427d697d4c0699d54a33834e4b33d61 | 1,218 | swift | Swift | C64/Utils/CircularBuffer.swift | Sephiroth87/C-swifty4 | 81efc0bbfb99da2e3bbb683f155fe5572333d1f9 | [
"MIT"
] | 57 | 2015-02-15T19:11:33.000Z | 2021-08-31T15:45:07.000Z | C64/Utils/CircularBuffer.swift | Sephiroth87/C-swifty4 | 81efc0bbfb99da2e3bbb683f155fe5572333d1f9 | [
"MIT"
] | null | null | null | C64/Utils/CircularBuffer.swift | Sephiroth87/C-swifty4 | 81efc0bbfb99da2e3bbb683f155fe5572333d1f9 | [
"MIT"
] | 6 | 2015-07-16T15:22:49.000Z | 2019-01-17T12:14:43.000Z | //
// CircularBuffer.swift
// C64
//
// Created by Fabio Ritrovato on 30/11/2015.
// Copyright © 2015 orange in a day. All rights reserved.
//
import Foundation
public final class CircularBuffer<T: CustomStringConvertible> {
fileprivate var buffer: Array<T?>
fileprivate var index = 0
public ... | 21.75 | 65 | 0.520525 |
2f1235cde893a4cb54779570484f7998d96e779f | 329 | php | PHP | app/Http/Controllers/Api/ProvinciaController.php | echuquillanquiy/mainin | b2e4605a513d7ef867122e5bc2ac2fc4dbe6a527 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/ProvinciaController.php | echuquillanquiy/mainin | b2e4605a513d7ef867122e5bc2ac2fc4dbe6a527 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/ProvinciaController.php | echuquillanquiy/mainin | b2e4605a513d7ef867122e5bc2ac2fc4dbe6a527 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Provincia;
class ProvinciaController extends Controller
{
public function getProvinciaxDep($id)
{
return Provincia::where('departamento_id', $id)->get(['id', 'name','departamento_id']);... | 20.5625 | 95 | 0.720365 |
ddca2330a71ea07a271d88c6a4ab8bee61deb645 | 6,290 | php | PHP | e/space/spacefun.php | 2088309711/mycms | 076a411a0c1b477d96507d481ba8ca7c03e1aab2 | [
"MIT"
] | null | null | null | e/space/spacefun.php | 2088309711/mycms | 076a411a0c1b477d96507d481ba8ca7c03e1aab2 | [
"MIT"
] | null | null | null | e/space/spacefun.php | 2088309711/mycms | 076a411a0c1b477d96507d481ba8ca7c03e1aab2 | [
"MIT"
] | null | null | null | <?php
//返回sql语句
function espace_ReturnBqQuery($classid,$line,$enews=0,$do=0,$ewhere='',$eorder=''){
global $empire,$dbtbpre,$public_r,$class_r,$class_zr,$fun_r,$class_tr,$emod_r,$etable_r,$userid,$eyh_r;
$userid=(int)$userid;
if($enews==24)//按sql查询
{
$query_first=substr($classid,0,7);
if(!($query_first=='select... | 21.178451 | 119 | 0.589984 |
654703d3442414e22c011435d888fb9d635fb514 | 1,138 | rs | Rust | src/command_control/completion_handler/generator/mod_template.rs | TheMindCompany/signedurl | c710b984ce9f7bb4074bcdff3821d279513e4fe4 | [
"MIT"
] | 1 | 2020-06-23T03:29:18.000Z | 2020-06-23T03:29:18.000Z | src/command_control/completion_handler/generator/mod_template.rs | TheMindCompany/signedurl | c710b984ce9f7bb4074bcdff3821d279513e4fe4 | [
"MIT"
] | null | null | null | src/command_control/completion_handler/generator/mod_template.rs | TheMindCompany/signedurl | c710b984ce9f7bb4074bcdff3821d279513e4fe4 | [
"MIT"
] | null | null | null | pub struct ModTemplate {
}
impl ModTemplate {
pub fn get_top_template() -> String {
String::from(
r#"pub struct CompletionScript { }
impl CompletionScript {
pub fn bash() {
println!("{}",r#"
"#,
)
}
pub fn get_fish_template() -> String {
St... | 15.173333 | 46 | 0.353251 |
f5061509ed45f3ad65e3177383ca9cb080807981 | 8,676 | rs | Rust | examples/basic-server/examples/users.rs | ModProg/bonsaidb | 542cdccecc6876a43f47f858efd4a47c72301557 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/basic-server/examples/users.rs | ModProg/bonsaidb | 542cdccecc6876a43f47f858efd4a47c72301557 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/basic-server/examples/users.rs | ModProg/bonsaidb | 542cdccecc6876a43f47f858efd4a47c72301557 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! Shows basic usage of users and permissions.
use std::time::Duration;
use bonsaidb::{
client::{url::Url, Client},
core::{
admin::{PermissionGroup, Role},
connection::{
AsyncStorageConnection, Authentication, AuthenticationMethod, SensitiveString,
},
permissions::... | 34.15748 | 94 | 0.58172 |
1628e8e08312d99873ac687a37102e966b232060 | 162 | h | C | AbracodeFramework/OMCiTermExecutor.h | FlashSheridan/OMC | 206e38255df5d863c7a2e056ea4bf42dcfb9a155 | [
"MIT"
] | 20 | 2020-01-15T14:55:17.000Z | 2022-03-28T06:23:21.000Z | AbracodeFramework/OMCiTermExecutor.h | FlashSheridan/OMC | 206e38255df5d863c7a2e056ea4bf42dcfb9a155 | [
"MIT"
] | 15 | 2019-08-19T07:28:21.000Z | 2022-01-21T01:06:02.000Z | AbracodeFramework/OMCiTermExecutor.h | FlashSheridan/OMC | 206e38255df5d863c7a2e056ea4bf42dcfb9a155 | [
"MIT"
] | 5 | 2020-02-25T22:19:39.000Z | 2021-04-13T08:32:51.000Z | /*
* OMCTerminalExecutor.h
* OnMyCommandCM
*/
void ExecuteInITerm(CFStringRef inCommand, CFStringRef inShellPath, bool openInNewWindow, bool bringToFront);
| 23.142857 | 109 | 0.790123 |
952b7949637e34c02a4873480079dd25d13b7b76 | 26,380 | css | CSS | data/usercss/175576.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/175576.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/175576.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Custom - One Ring - Dark
@namespace USO Archive
@author MyIrish
@description `An edit, not all my work. Thanks to the guys who made the One Ring. However, this adds/fixes some colors to make a dark theme.`
@version 20190923.2.28
@license NO-REDISTRIBUTION
@... | 23.079615 | 291 | 0.628241 |
959a012d4904c8f899930fe8c77998e9874b33f8 | 1,943 | swift | Swift | Sources/WolfFoundation/Extensions/DataExtensions.swift | wolfmcnally/WolfFoundation | 8370e79858c238b584600374bd13484414796c72 | [
"MIT"
] | null | null | null | Sources/WolfFoundation/Extensions/DataExtensions.swift | wolfmcnally/WolfFoundation | 8370e79858c238b584600374bd13484414796c72 | [
"MIT"
] | null | null | null | Sources/WolfFoundation/Extensions/DataExtensions.swift | wolfmcnally/WolfFoundation | 8370e79858c238b584600374bd13484414796c72 | [
"MIT"
] | null | null | null | //
// DataExtensions.swift
// WolfFoundation
//
// Created by Wolf McNally on 6/8/16.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limita... | 31.852459 | 82 | 0.708183 |
270449535b496b989764388f53338d8e5de33f9e | 304 | h | C | runtime/STMassgeManager.h | LFJComponent/LFJRunTime | 6a750c9ca509991a2bc316b0831c0fa04770aff7 | [
"MIT"
] | null | null | null | runtime/STMassgeManager.h | LFJComponent/LFJRunTime | 6a750c9ca509991a2bc316b0831c0fa04770aff7 | [
"MIT"
] | null | null | null | runtime/STMassgeManager.h | LFJComponent/LFJRunTime | 6a750c9ca509991a2bc316b0831c0fa04770aff7 | [
"MIT"
] | null | null | null | //
// STMassgeManager.h
// StevenShowMassage
//
// Created by 李方建 on 2018/6/9.
// Copyright © 2018年 李方建. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface STMassgeManager : NSObject
+ (STMassgeManager*)shared;
- (void)showMassage:(NSString *)massage;
@end
| 20.266667 | 47 | 0.713816 |
77bba6bb08508f3074df618e68137e8953a341bb | 2,469 | kt | Kotlin | collection/collection/src/commonTest/kotlin/androidx/collection/internal/LruHashMapTest.kt | AndroidX/androidx | 3605520a7da0e350bf00d7de489ad1759a7b9e70 | [
"Apache-2.0"
] | 7 | 2020-07-23T18:52:59.000Z | 2020-07-23T20:31:41.000Z | collection/collection/src/commonTest/kotlin/androidx/collection/internal/LruHashMapTest.kt | AndroidX/androidx | 3605520a7da0e350bf00d7de489ad1759a7b9e70 | [
"Apache-2.0"
] | 2 | 2020-07-23T19:17:07.000Z | 2020-07-23T19:43:42.000Z | collection/collection/src/commonTest/kotlin/androidx/collection/internal/LruHashMapTest.kt | AndroidX/androidx | 3605520a7da0e350bf00d7de489ad1759a7b9e70 | [
"Apache-2.0"
] | 5 | 2020-07-23T18:45:08.000Z | 2020-07-23T18:56:15.000Z | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 22.861111 | 90 | 0.601458 |
960c31ddca881367693ae37d138005b7c17eea64 | 1,160 | swift | Swift | Focus for YouTube/ChecklistRow.swift | kevcube/Focus-for-YouTube | a09e41bf0ccbc5171b35593c78e4c8f660a9858b | [
"MIT"
] | 12 | 2020-08-29T12:49:47.000Z | 2021-09-07T08:46:39.000Z | Focus for YouTube/ChecklistRow.swift | kevcube/Focus-for-YouTube | a09e41bf0ccbc5171b35593c78e4c8f660a9858b | [
"MIT"
] | 13 | 2020-10-11T21:40:29.000Z | 2021-09-08T15:51:09.000Z | Focus for YouTube/ChecklistRow.swift | kevcube/Focus-for-YouTube | a09e41bf0ccbc5171b35593c78e4c8f660a9858b | [
"MIT"
] | 2 | 2021-09-25T19:58:01.000Z | 2022-03-25T20:33:01.000Z | //
// BlockableElementRow.swift
// Focus for YouTube
//
// Created by Patrick Botros on 5/20/20.
// Copyright © 2020 Patrick Botros. All rights reserved.
//
import Cocoa
protocol DOMElementCellDelegate: AnyObject {
func updateDataSource(blocked: Bool, index: Int)
func updateBlockListJSON()
}
class Checkl... | 32.222222 | 89 | 0.705172 |
8b6f5faef276c5c2835e31ec26a551d62f9e3a8d | 9,194 | lua | Lua | fairseq/test/test_tokenizer.lua | weixsong/Codeblock | 413e7acd6addc4950bffe2d57eb0cc7973c6fb7a | [
"MIT"
] | 4,180 | 2017-05-09T16:08:06.000Z | 2022-03-29T04:44:20.000Z | test/test_tokenizer.lua | xiuzbl/fairseq-1 | 39e98d640a74bc527cac3d8fe10ea5a4d77c8551 | [
"BSD-3-Clause"
] | 146 | 2017-05-09T18:45:59.000Z | 2022-02-17T23:51:24.000Z | test/test_tokenizer.lua | xiuzbl/fairseq-1 | 39e98d640a74bc527cac3d8fe10ea5a4d77c8551 | [
"BSD-3-Clause"
] | 755 | 2017-05-09T17:00:09.000Z | 2022-03-14T13:05:49.000Z | -- Copyright (c) 2017-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the license found in the LICENSE file in
-- the root directory of this source tree. An additional grant of patent rights
-- can be found in the PATENTS file in the same directory.
--
--[[
--
-- Tests for token... | 31.060811 | 89 | 0.64466 |
b2f7fb8b602bfdd673abb75e7f89ca8dc32301c9 | 1,400 | py | Python | coretabs ATM py/withdraw.py | attia7/Test | c74f09816ba2e0798b0533e31ea8b72249dec598 | [
"MIT"
] | null | null | null | coretabs ATM py/withdraw.py | attia7/Test | c74f09816ba2e0798b0533e31ea8b72249dec598 | [
"MIT"
] | 11 | 2020-03-24T17:40:26.000Z | 2022-01-13T01:42:38.000Z | coretabs ATM py/withdraw.py | attia7/AttiaGit | c74f09816ba2e0798b0533e31ea8b72249dec598 | [
"MIT"
] | null | null | null | balance = 700
papers=[100, 50, 10, 5,4,3,2,1]
def withdraw(balance, request):
if balance < request :
print('Sorry, you are try withdraw: {0}, but Your balance just : {1}'.format(request, balance))
else:
print ('your balance >>', balance)
orgnal_request = request
while request > ... | 30.434783 | 103 | 0.512857 |
39bc43b2b6323c5063e3936b2183070cb8403634 | 109,929 | js | JavaScript | node_modules/@aws-cdk/core/test/test.stack.js | messagepluscoza/action-deploy-aws-static-site | 655a2de1d80273c754388874086f3b212cb7483d | [
"MIT"
] | null | null | null | node_modules/@aws-cdk/core/test/test.stack.js | messagepluscoza/action-deploy-aws-static-site | 655a2de1d80273c754388874086f3b212cb7483d | [
"MIT"
] | 19 | 2021-06-01T05:56:31.000Z | 2022-03-01T04:13:17.000Z | node_modules/@aws-cdk/core/test/test.stack.js | abaldawa/action-deploy-aws-static-site | eba96876ccf2d513b74d7d641ebec1927f29caa3 | [
"MIT"
] | null | null | null | "use strict";
const cxapi = require("@aws-cdk/cx-api");
const lib_1 = require("../lib");
const intrinsic_1 = require("../lib/private/intrinsic");
const refs_1 = require("../lib/private/refs");
const util_1 = require("../lib/util");
const util_2 = require("./util");
class StackWithPostProcessor extends lib_1.Stack {
... | 149.971351 | 76,438 | 0.87179 |
11f9949bdcc3d7b78849393fd08d485277459b01 | 842 | htm | HTML | dist/game/data/html/gatekeeper/70023-13.htm | juninhorosa/L2JServer_C6_Interlude | f46627b75d86531fe863297544a5a4578388a6fe | [
"MIT"
] | 10 | 2019-07-27T13:12:11.000Z | 2022-01-15T19:13:26.000Z | dist/game/data/html/gatekeeper/70023-13.htm | juninhorosa/L2JServer_C6_Interlude | f46627b75d86531fe863297544a5a4578388a6fe | [
"MIT"
] | 2 | 2020-12-10T15:08:48.000Z | 2021-12-01T01:01:46.000Z | dist/game/data/html/gatekeeper/70023-13.htm | juninhorosa/L2JServer_C6_Interlude | f46627b75d86531fe863297544a5a4578388a6fe | [
"MIT"
] | 15 | 2020-05-08T20:41:06.000Z | 2022-02-24T01:36:58.000Z | <html>
<body>
<center>
<img src="L2UI_CH3.herotower_deco" width=256 height=32>
<tr>
<td><font color="FF0000">-= Talking Island Township =-</font></td>
</tr>
<tr>
<td> </td>
</tr>
<tr><td><img src="L2UI.SquareWhite" width=260 height=1></tr></td><br><br>
<a action="bypass -h ... | 40.095238 | 90 | 0.635392 |
e71ac2d82b6f6fd862d108319d658a499bb7fc8c | 5,740 | js | JavaScript | data/split-book-data/B01IRTEADI.1644007421618.js | npbluth/my-audible-library | 7eb3ab0c9fc5121949b3db30c7119a50ddfdf33d | [
"0BSD"
] | null | null | null | data/split-book-data/B01IRTEADI.1644007421618.js | npbluth/my-audible-library | 7eb3ab0c9fc5121949b3db30c7119a50ddfdf33d | [
"0BSD"
] | null | null | null | data/split-book-data/B01IRTEADI.1644007421618.js | npbluth/my-audible-library | 7eb3ab0c9fc5121949b3db30c7119a50ddfdf33d | [
"0BSD"
] | null | null | null | window.peopleAlsoBoughtJSON = [{"asin":"B00UKG14PE","authors":"Nick Offerman","cover":"61iTj6bARmL","length":"11 hrs and 42 mins","narrators":"Nick Offerman","subHeading":"Relighting the Torch of Freedom with America's Gutsiest Troublemakers","title":"Gumption"},{"asin":"0451485041","authors":"Nick Offerman","cover":"5... | 1,913.333333 | 3,794 | 0.739373 |
f745d32c5bc1cb9fc345b5275bf68afb1afd7df9 | 1,706 | h | C | src/Libs/canls/smc-cam-rc/c-anls/suprc/inc/sup_math.h | rayscc/dev-track | 644a68bc49eae215c56ce587ff73fc68e8c3f0e9 | [
"MIT"
] | null | null | null | src/Libs/canls/smc-cam-rc/c-anls/suprc/inc/sup_math.h | rayscc/dev-track | 644a68bc49eae215c56ce587ff73fc68e8c3f0e9 | [
"MIT"
] | null | null | null | src/Libs/canls/smc-cam-rc/c-anls/suprc/inc/sup_math.h | rayscc/dev-track | 644a68bc49eae215c56ce587ff73fc68e8c3f0e9 | [
"MIT"
] | null | null | null | // Copyright 赛北智能车
// All rights reserved.
// 除注明出处外,以下所有内容版权均中国计量大学赛北智能车所有,未经允许,不得用于商业用途,
// 修改内容时必须保留赛北智能车的版权声明。
// file sup_math.h
// brief 数学运算支持(高效算法)
// author 赛北智能车 Rays(整理修改)
// version v2.0
// date 2018-08-11
#ifndef _SUP_MATH_H_
#define _SUP_MATH_H_
#define _imax( x, y ) ( ((x) > ... | 33.45098 | 109 | 0.607268 |
5aea2df77a0c33fb974b8f38493e34a7d50a22cb | 1,747 | kt | Kotlin | app/src/main/java/cz/hlinkapp/gvpintranet/view_models/ArticleDetailViewModel.kt | gohlinka2/GVPIntranet | d5ee48c9bd06e330927801c79e5fc06d4ccf3319 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/cz/hlinkapp/gvpintranet/view_models/ArticleDetailViewModel.kt | gohlinka2/GVPIntranet | d5ee48c9bd06e330927801c79e5fc06d4ccf3319 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/cz/hlinkapp/gvpintranet/view_models/ArticleDetailViewModel.kt | gohlinka2/GVPIntranet | d5ee48c9bd06e330927801c79e5fc06d4ccf3319 | [
"Apache-2.0"
] | null | null | null | package cz.hlinkapp.gvpintranet.view_models
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.paging.PagedList
import cz.hlinkapp.gvpintranet.data.repositories.ArticleDetailRepository
import cz.hlinkapp.gvpintranet.data.utils.event_handling.RequestInfo
import cz.hlinkapp.gvpintrane... | 38.822222 | 145 | 0.755009 |
9c31feff3b82d9dc779198b4a03e3f8a0e65f972 | 812 | js | JavaScript | index.js | panjunqiu/angular-sample | 97c24db1c86ed60ea714ee448f8d14e683ead3f2 | [
"MIT"
] | null | null | null | index.js | panjunqiu/angular-sample | 97c24db1c86ed60ea714ee448f8d14e683ead3f2 | [
"MIT"
] | null | null | null | index.js | panjunqiu/angular-sample | 97c24db1c86ed60ea714ee448f8d14e683ead3f2 | [
"MIT"
] | null | null | null | angular.module('sampleApp', ['ngRoute', 'pascalprecht.translate'])
.config(function($routeProvider, sampleList) {
var list = sampleList.list;
console.log(list);
// 下一步细化路由,细化模块结构
for (var i = 0, r; r = list[i]; i++) {
$routeProvider.when("/" + r, {
templateUrl: "modules/" + r + "/" + r + ".htm"
});
... | 23.882353 | 66 | 0.618227 |
7abbe3bf720daea2c40d5db1c1db9d899f74cbcc | 235 | rb | Ruby | attributes/filesystem.rb | duedil-ltd/chef-monit-bin | 1e7780a1feedc43e8dc91762e6e5e91300128fc0 | [
"MIT"
] | null | null | null | attributes/filesystem.rb | duedil-ltd/chef-monit-bin | 1e7780a1feedc43e8dc91762e6e5e91300128fc0 | [
"MIT"
] | null | null | null | attributes/filesystem.rb | duedil-ltd/chef-monit-bin | 1e7780a1feedc43e8dc91762e6e5e91300128fc0 | [
"MIT"
] | null | null | null | default['monit']['filesystem']['targets'] = {
"rootfs" => {
"path" => "/",
"policies" => [
"if changed fsflags then alert",
"if space usage > 60 % then alert",
"if inode usage > 60 % then alert"
]
}
}
| 21.363636 | 45 | 0.502128 |
9c65416e8ae6e7aa1aa523dd29e14ad95a0b4ca2 | 3,962 | js | JavaScript | doc/files/src/engineLauncher/Egg-cs-Summary.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/files/src/engineLauncher/Egg-cs-Summary.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | doc/files/src/engineLauncher/Egg-cs-Summary.js | Studio58Games/EGG-website | 85098a6472af4b53f5d5be55234eb5a66a37a70a | [
"CC-BY-3.0"
] | null | null | null | NDFramePage.OnPageTitleLoaded("File:src/engineLauncher/Egg.cs","Egg.cs");NDSummary.OnSummaryLoaded("File:src/engineLauncher/Egg.cs",[["C#","CSharp"]],[["Classes","Class"],["Constants","Constant"],["Enums","Enumeration"],["Functions","Function"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[3... | 3,962 | 3,962 | 0.760475 |
2d7671333047e9c4a7fbfdb692ed62e845840aa8 | 1,837 | lua | Lua | _lua5.1-tests/verybig.lua | edunx/lua | 166c0e5e42e224516c056dd1dc96e48b3b2bff31 | [
"MIT"
] | 1 | 2021-03-25T03:04:33.000Z | 2021-03-25T03:04:33.000Z | _lua5.1-tests/verybig.lua | edunx/lua | 166c0e5e42e224516c056dd1dc96e48b3b2bff31 | [
"MIT"
] | null | null | null | _lua5.1-tests/verybig.lua | edunx/lua | 166c0e5e42e224516c056dd1dc96e48b3b2bff31 | [
"MIT"
] | null | null | null | if rawget(_G, "_soft") then return 10 end
print "testing large programs (>64k)"
-- template to create a very big test file
prog = [[$
local a,b
b = {$1$
b30009 = 65534,
b30010 = 65535,
b30011 = 65536,
b30012 = 65537,
b30013 = 16777214,
b30014 = 16777215,
b30015 = 16777216,
b30016 = ... | 18.188119 | 71 | 0.558519 |
383cfcdc1bde141fb7d65ced89b23de666732c92 | 1,833 | asm | Assembly | programs/oeis/134/A134062.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/134/A134062.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/134/A134062.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A134062: Row sums of triangle A134061.
; 1,8,18,38,78,158,318,638,1278,2558,5118,10238,20478,40958,81918,163838,327678,655358,1310718,2621438,5242878,10485758,20971518,41943038,83886078,167772158,335544318,671088638,1342177278,2684354558,5368709118,10737418238,21474836478,42949672958,85899345918,171798691838,34359738... | 141 | 1,710 | 0.917621 |
ba6414190e8f1dfd072fba63df3722c2a9949bcb | 3,676 | kt | Kotlin | src/main/kotlin/org/arend/toolWindow/repl/ArendReplExecutionHandler.kt | knisht/intellij-arend | ef3cdcd131f9edfaa7d5cf8cfb66b729f11ffdab | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/arend/toolWindow/repl/ArendReplExecutionHandler.kt | knisht/intellij-arend | ef3cdcd131f9edfaa7d5cf8cfb66b729f11ffdab | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/org/arend/toolWindow/repl/ArendReplExecutionHandler.kt | knisht/intellij-arend | ef3cdcd131f9edfaa7d5cf8cfb66b729f11ffdab | [
"Apache-2.0"
] | null | null | null | package org.arend.toolWindow.repl
import com.intellij.execution.console.BaseConsoleExecuteActionHandler
import com.intellij.execution.console.LanguageConsoleBuilder
import com.intellij.execution.console.LanguageConsoleView
import com.intellij.execution.ui.ConsoleViewContentType
import com.intellij.icons.AllIcons
impor... | 39.956522 | 134 | 0.705386 |
43952246e47182278a147e2a1479b7c37cf188e0 | 911 | go | Go | main.go | afiskon/golang-codec-example | 9e737f3dd4a1fbba5facf3d557014534ba296623 | [
"MIT"
] | null | null | null | main.go | afiskon/golang-codec-example | 9e737f3dd4a1fbba5facf3d557014534ba296623 | [
"MIT"
] | null | null | null | main.go | afiskon/golang-codec-example | 9e737f3dd4a1fbba5facf3d557014534ba296623 | [
"MIT"
] | null | null | null | package main
import (
"github.com/ugorji/go/codec"
. "github.com/afiskon/golang-codec-example/types"
"log"
)
func main() {
var (
cborHandle codec.CborHandle
err error
)
//v1 := Hero{ "Alex", 123, 456, &WarriorInfo{ BOW, 10 }, nil}
v1 := Hero{ "Bob", 234, 567, nil,
&MageInfo{ []Spell{FIREBALL, THUNDERBOL... | 20.704545 | 64 | 0.613611 |
7b9ec05d694e6f1cf3866623b9bb5ded016ed467 | 5,667 | kt | Kotlin | app/src/main/java/com/yadaniil/bitcurve/screens/tx/TxActivity.kt | YaDaniil/BitCurve | 7f592b5501c1fd5dc67ec3857de8d1341c9f81dd | [
"MIT"
] | null | null | null | app/src/main/java/com/yadaniil/bitcurve/screens/tx/TxActivity.kt | YaDaniil/BitCurve | 7f592b5501c1fd5dc67ec3857de8d1341c9f81dd | [
"MIT"
] | null | null | null | app/src/main/java/com/yadaniil/bitcurve/screens/tx/TxActivity.kt | YaDaniil/BitCurve | 7f592b5501c1fd5dc67ec3857de8d1341c9f81dd | [
"MIT"
] | null | null | null | package com.yadaniil.bitcurve.screens.tx
import android.content.ClipData
import android.content.ClipboardManager
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
import com.jakewharton.rxbinding2.widget.text
import com.yadaniil.bitcurve.R
import com.yadaniil.bitcurv... | 39.908451 | 119 | 0.669314 |
e50d092e0ce538d9098e9a899e6bee13f2ffacb1 | 663 | ts | TypeScript | src/shared/util.ts | dotlim/hooks | bfbd42f2ecb9d8de8207e6ad2f0ad61bec416dc8 | [
"MIT"
] | null | null | null | src/shared/util.ts | dotlim/hooks | bfbd42f2ecb9d8de8207e6ad2f0ad61bec416dc8 | [
"MIT"
] | null | null | null | src/shared/util.ts | dotlim/hooks | bfbd42f2ecb9d8de8207e6ad2f0ad61bec416dc8 | [
"MIT"
] | null | null | null | export const noop = () => {};
export function on<T extends Window | Document | HTMLElement | EventTarget>(
target: T | null,
...args: Parameters<T['addEventListener']> | [string, Function | null, ...any]
) {
if (target?.addEventListener) {
target.addEventListener(...(args as Parameters<HTMLElement['addEventL... | 33.15 | 92 | 0.68175 |
c7a28d2076c6b08055e6480e3020b085e0d31bd3 | 803 | sql | SQL | quarantaenie.sql | Schlaumra/quarantaenie | 9aa6f76de43db1cb1c77cc2030743c932b2b9d79 | [
"MIT"
] | null | null | null | quarantaenie.sql | Schlaumra/quarantaenie | 9aa6f76de43db1cb1c77cc2030743c932b2b9d79 | [
"MIT"
] | null | null | null | quarantaenie.sql | Schlaumra/quarantaenie | 9aa6f76de43db1cb1c77cc2030743c932b2b9d79 | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS quarantaenie;
DROP USER IF EXISTS quarantine@localhost;
CREATE DATABASE quarantaenie;
CREATE USER quarantine@localhost IDENTIFIED BY 'Kennwort0';
GRANT ALL PRIVILEGES ON quarantaenie.* TO quarantine@localhost;
USE quarantaenie;
CREATE TABLE class (
id integer AUTO_INCREMENT PRIMARY KEY,
n... | 24.333333 | 84 | 0.797011 |
000ee1a564d896b18085cccaae15d70a7a6e6432 | 176 | sql | SQL | NewQuery.sql | Dashanan-Visharava-Kaikasi/AmpleRepository | 444b7016f7f2313a6a029e4820097c920a8a0247 | [
"MIT"
] | null | null | null | NewQuery.sql | Dashanan-Visharava-Kaikasi/AmpleRepository | 444b7016f7f2313a6a029e4820097c920a8a0247 | [
"MIT"
] | null | null | null | NewQuery.sql | Dashanan-Visharava-Kaikasi/AmpleRepository | 444b7016f7f2313a6a029e4820097c920a8a0247 | [
"MIT"
] | null | null | null | create table PointsTable
(
Id int primary key identity(1,1),
FStatus nvarchar(10) default('Del'),
UserId int foreign key References Users(Id),
Poinst float default(0)
); | 25.142857 | 45 | 0.732955 |
7e19dd2915417fa371324cf6d93c5a88f8ccc905 | 3,757 | css | CSS | base/base_files/myCustom.css | lengyue1084/git_learning | 4beab914b5facf55a6cbe8254ecdecf28bdefa41 | [
"MIT"
] | 1 | 2020-08-02T15:41:55.000Z | 2020-08-02T15:41:55.000Z | base/base_files/myCustom.css | lengyue1084/learning | 4beab914b5facf55a6cbe8254ecdecf28bdefa41 | [
"MIT"
] | null | null | null | base/base_files/myCustom.css | lengyue1084/learning | 4beab914b5facf55a6cbe8254ecdecf28bdefa41 | [
"MIT"
] | null | null | null | input {
outline: none !important;
background: transparent !important;
border: none !important;
outline: medium !important;
}
/**:focus {
outline: none !important;
background-color: transparent !important;
}*/
::selection {
background: transparent;
!important;
}
::-moz-selection {
back... | 19.670157 | 62 | 0.601278 |
0b57f9e75344dd34d7fe38dc10faa58dd476ec48 | 4,270 | py | Python | events/utils.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | null | null | null | events/utils.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | null | null | null | events/utils.py | ewjoachim/pythondotorg | 382741cc6208fc56aa827cdd1da41983fb7e6ba8 | [
"Apache-2.0"
] | null | null | null | import datetime
import re
import pytz
from django.utils.timezone import make_aware, is_aware
def seconds_resolution(dt):
return dt - dt.microsecond * datetime.timedelta(0, 0, 1)
def minutes_resolution(dt):
return dt - dt.second * datetime.timedelta(0, 1, 0) - dt.microsecond * datetime.timedelta(0, 0, 1)
... | 34.16 | 102 | 0.545902 |
65ebad56bffee1bcd3d0d3934634cf9f581a4a16 | 331 | rs | Rust | 7kyu/dominant-array-elements/src/lib.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | 7kyu/dominant-array-elements/src/lib.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | 7kyu/dominant-array-elements/src/lib.rs | lincot/rusted-katana | 3979ff39d5c10f5d413debf0447d9e7588f2478f | [
"BSD-2-Clause"
] | null | null | null | //! <https://www.codewars.com/kata/5a04133e32b8b998dc000089/train/rust>
pub fn solve(arr: &[u32]) -> Vec<u32> {
let mut res = Vec::with_capacity(arr.len());
let mut max = 0;
for &x in arr.iter().rev() {
if x > max {
res.push(x);
max = x;
}
}
res.reverse();
... | 18.388889 | 71 | 0.501511 |
cf8a4d0a514762a626b64ffdceb72a779b652f9d | 462 | css | CSS | src/components/ScrollToTopButton/ScrollToTopButton.module.css | Aortix/portfolio-site-v2 | e0e5ae8a720619dc5bd0091913ac7bf70a554f75 | [
"MIT"
] | null | null | null | src/components/ScrollToTopButton/ScrollToTopButton.module.css | Aortix/portfolio-site-v2 | e0e5ae8a720619dc5bd0091913ac7bf70a554f75 | [
"MIT"
] | 4 | 2021-03-09T20:44:57.000Z | 2022-02-26T19:08:19.000Z | src/components/ScrollToTopButton/ScrollToTopButton.module.css | Aortix/portfolio-site-v2 | e0e5ae8a720619dc5bd0091913ac7bf70a554f75 | [
"MIT"
] | null | null | null | .mainContainer {
position: fixed;
bottom: 25px;
right: 25px;
border: 1px solid black;
height: 50px;
width: 50px;
border-radius: 50%;
cursor: pointer;
}
.mainContainerDark {
position: fixed;
bottom: 25px;
right: 25px;
border: 1px solid #f8f8f8;
height: 50px;
width: 50px;
border-radius: 50%... | 15.4 | 28 | 0.655844 |
b29bdce71f61e6d1e43fdf86fb65d96df7174994 | 3,202 | swift | Swift | apiserver/Sources/App/Models/Item.swift | corruptedzulu/shoppinglist | 3b227c20b89121ad165dc2e39fc34352804ab60f | [
"MIT"
] | null | null | null | apiserver/Sources/App/Models/Item.swift | corruptedzulu/shoppinglist | 3b227c20b89121ad165dc2e39fc34352804ab60f | [
"MIT"
] | null | null | null | apiserver/Sources/App/Models/Item.swift | corruptedzulu/shoppinglist | 3b227c20b89121ad165dc2e39fc34352804ab60f | [
"MIT"
] | null | null | null | //
// Item.swift
// apiserver
//
// Created by Spencer on 6/23/18.
//
import Foundation
import Vapor
import FluentMySQL
final class Item : Completable, MySQLModel {
var id: Int?;
var ownerId: Int;
var title: String;
var description: String;
var isComplete: Bool;
var createdTi... | 25.616 | 128 | 0.545909 |
c45f45db549340d639d05b7af6311cb6dda0d14b | 854 | h | C | GameServer/Source/TMonsterAI.h | sp3cialk/MU-S8EP2-Repack | 202856a74c905c203b9b2795fd161f564ca8b257 | [
"MIT"
] | 10 | 2019-04-09T23:36:43.000Z | 2022-02-10T19:20:52.000Z | GameServer/Source/TMonsterAI.h | microvn/mu-s8ep2-repack | 202856a74c905c203b9b2795fd161f564ca8b257 | [
"MIT"
] | 1 | 2019-09-25T17:12:36.000Z | 2019-09-25T17:12:36.000Z | GameServer/Source/TMonsterAI.h | microvn/mu-s8ep2-repack | 202856a74c905c203b9b2795fd161f564ca8b257 | [
"MIT"
] | 9 | 2019-09-25T17:12:57.000Z | 2021-08-18T01:21:25.000Z | // TMonsterAI.h: interface for the TMonsterAI class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TMONSTERAI_H__0780F804_C72A_4667_BB23_25ECCA8C056A__INCLUDED_)
#define AFX_TMONSTERAI_H__0780F804_C72A_4667_BB23_25ECCA8C056A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#end... | 23.722222 | 86 | 0.728337 |
d2b2eaf73947650916b0e076a60b30e86501c691 | 308 | php | PHP | src/ExceptionUnrecognizedOperator.php | programster/package-query-builder-pgsql-driver | e0125507d7eed35c72318ea458ea69f397a857da | [
"MIT"
] | null | null | null | src/ExceptionUnrecognizedOperator.php | programster/package-query-builder-pgsql-driver | e0125507d7eed35c72318ea458ea69f397a857da | [
"MIT"
] | null | null | null | src/ExceptionUnrecognizedOperator.php | programster/package-query-builder-pgsql-driver | e0125507d7eed35c72318ea458ea69f397a857da | [
"MIT"
] | null | null | null | <?php
namespace Programster\QueryBuilderPgsqlDriver;
class ExceptionUnrecognizedOperator extends \Exception
{
public function __construct(string $operator)
{
parent::__construct("Unrecognized operator: {$operator}. Please check your JSON structure, or create an issue for this.");
}
}
| 23.692308 | 130 | 0.746753 |
2f4fc061a72241e1a4b52e075b1d3b4ba36bd677 | 5,817 | php | PHP | test/src/Fixtures/StatSnapshots/Base/StatsSnapshot.php | activecollab/databaseobject | 7cdcbf80fc9293fa808118ec34dcf7ead09afe05 | [
"MIT"
] | 1 | 2019-03-15T09:12:38.000Z | 2019-03-15T09:12:38.000Z | test/src/Fixtures/StatSnapshots/Base/StatsSnapshot.php | activecollab/databaseobject | 7cdcbf80fc9293fa808118ec34dcf7ead09afe05 | [
"MIT"
] | null | null | null | test/src/Fixtures/StatSnapshots/Base/StatsSnapshot.php | activecollab/databaseobject | 7cdcbf80fc9293fa808118ec34dcf7ead09afe05 | [
"MIT"
] | 2 | 2015-10-29T18:03:00.000Z | 2019-10-24T08:00:17.000Z | <?php
/*
* This file is part of the Active Collab DatabaseObject project.
*
* (c) A51 doo <info@activecollab.com>. All rights reserved.
*/
namespace ActiveCollab\DatabaseObject\Test\Fixtures\StatSnapshots\Base;
use ActiveCollab\DatabaseConnection\Record\ValueCaster;
use ActiveCollab\DatabaseConnection\Record\Val... | 23.646341 | 123 | 0.536015 |
dfec1a1319a7be5839625cab1580cbc8bdd06a5e | 23,413 | tsx | TypeScript | client/src/core/components/FInput.tsx | cakeslice/flawk.js | dc29206525fee7b4085e42c98e0487bc0224d0b2 | [
"MIT"
] | null | null | null | client/src/core/components/FInput.tsx | cakeslice/flawk.js | dc29206525fee7b4085e42c98e0487bc0224d0b2 | [
"MIT"
] | null | null | null | client/src/core/components/FInput.tsx | cakeslice/flawk.js | dc29206525fee7b4085e42c98e0487bc0224d0b2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 José Guerreiro. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import TrackedComponent from 'core/components/TrackedComponent'
import config from 'core/config'
import styles from 'core/st... | 27.674941 | 96 | 0.59783 |
810afef4f529224fac1df2091573646701493152 | 7,935 | rs | Rust | rg3d-core/src/lib.rs | martin-t/Fyrox | 90309500ee40b1e0eb492f3ad20e0f4c363b9f55 | [
"MIT"
] | null | null | null | rg3d-core/src/lib.rs | martin-t/Fyrox | 90309500ee40b1e0eb492f3ad20e0f4c363b9f55 | [
"MIT"
] | 1 | 2021-12-07T22:38:40.000Z | 2021-12-07T22:38:40.000Z | rg3d-core/src/lib.rs | martin-t/Fyrox | 90309500ee40b1e0eb492f3ad20e0f4c363b9f55 | [
"MIT"
] | null | null | null | //! Core data structures and algorithms used throughout rg3d.
//!
//! Some of them can be useful separately outside the engine.
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::from_over_into)]
#[macro_use]
extern crate memoffset;
#[macro_use]
extern crate lazy_static;
pub use arrayvec;
pub use byteorder;
pub... | 26.45 | 102 | 0.552237 |
7519df554059d261b9b71a1cae32f12bd3ecfdc9 | 261 | h | C | gotoVC/Router/PageClassManager.h | suifengqjn/gotoVC | b5019b98f01c947908dd54ad543f42f72793f6c6 | [
"Apache-2.0"
] | null | null | null | gotoVC/Router/PageClassManager.h | suifengqjn/gotoVC | b5019b98f01c947908dd54ad543f42f72793f6c6 | [
"Apache-2.0"
] | null | null | null | gotoVC/Router/PageClassManager.h | suifengqjn/gotoVC | b5019b98f01c947908dd54ad543f42f72793f6c6 | [
"Apache-2.0"
] | null | null | null | //
// PageClassManager.h
// gotoVC
//
// Created by qianjn on 2016/12/18.
// Copyright © 2016年 SF. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface PageClassManager : NSObject
+ (Class)classWithPageName:(NSString *)pageName;
@end
| 13.736842 | 48 | 0.697318 |
eb0c1897096bef9301c46ff97b11846ca7b5fd4c | 2,135 | rs | Rust | examples/xlib_window.rs | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | 2 | 2020-07-25T19:54:47.000Z | 2020-07-26T23:56:53.000Z | examples/xlib_window.rs | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | null | null | null | examples/xlib_window.rs | atkurtul/vk-rs | e6ba04fe3d5987bada288fad3f5a08d732f74cf1 | [
"MIT"
] | null | null | null | #![cfg(feature="xlib")]
#![allow(non_upper_case_globals)]
extern crate x11;
extern crate vk_rs;
use vk_rs::*;
#[derive(Copy, Clone)]
pub struct Window {
pub display : u64,
pub window : u64,
pub surface : vk::SurfaceKHR,
pub size : vk::Extent2D,
}
impl Window {
pub unsafe fn new(width : u32, height... | 33.359375 | 95 | 0.556909 |
0f2550fd836603cebb6f9b5dca96cea69e8c7b01 | 1,157 | swift | Swift | NEWS/Utility.swift | laant/UI-Imitation-DailyBeast | b9d3a0e3e7f25d95bfe67bfbc145847bbd8436a1 | [
"MIT"
] | 1 | 2016-02-01T07:19:48.000Z | 2016-02-01T07:19:48.000Z | NEWS/Utility.swift | laant/UI-Imitation-DailyBeast | b9d3a0e3e7f25d95bfe67bfbc145847bbd8436a1 | [
"MIT"
] | null | null | null | NEWS/Utility.swift | laant/UI-Imitation-DailyBeast | b9d3a0e3e7f25d95bfe67bfbc145847bbd8436a1 | [
"MIT"
] | null | null | null | //
// Utility.swift
// NEWS
//
// Created by BlissLog on 2016. 1. 19..
// Copyright © 2016년 BlissLog. All rights reserved.
//
import UIKit
class Utility {
// MARK : Screen Size
static func getScreenSize() -> CGSize {
let windowRect = UIScreen.main.bounds
return windowRect.size
}
... | 28.219512 | 159 | 0.650821 |
21daed3041e925536ee2578ef356bd2a813f2c4f | 910 | html | HTML | client/src/app/login/login.component.html | SEGH/workDash | 5a3a5fbc9f3edb691a8e5a0b8598ac01ae315bac | [
"Unlicense"
] | null | null | null | client/src/app/login/login.component.html | SEGH/workDash | 5a3a5fbc9f3edb691a8e5a0b8598ac01ae315bac | [
"Unlicense"
] | null | null | null | client/src/app/login/login.component.html | SEGH/workDash | 5a3a5fbc9f3edb691a8e5a0b8598ac01ae315bac | [
"Unlicense"
] | null | null | null | <div class="container">
<div class="jumbotron mt-5">
<form (submit)="login()">
<div class="form-group">
<label for="username">Username</label>
<input
type="text"
class="form-control"
name="username"
... | 33.703704 | 74 | 0.405495 |
80201af861891354db15e7c82ac5b66d450530fd | 3,840 | sql | SQL | tubes_si.sql | GilangJulianS/Web-Waroeng-Steak | 876acb344f6afd95c4131ef4bacf96f8f1c72568 | [
"CC-BY-3.0"
] | null | null | null | tubes_si.sql | GilangJulianS/Web-Waroeng-Steak | 876acb344f6afd95c4131ef4bacf96f8f1c72568 | [
"CC-BY-3.0"
] | null | null | null | tubes_si.sql | GilangJulianS/Web-Waroeng-Steak | 876acb344f6afd95c4131ef4bacf96f8f1c72568 | [
"CC-BY-3.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.2.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Apr 16, 2015 at 11:48 AM
-- Server version: 5.6.21
-- PHP Version: 5.6.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
... | 24.458599 | 135 | 0.653385 |
33a95ab457b05aac6e70743c4d49dbfa986ed33a | 149 | sql | SQL | Listings/Listings/Kapitel 3/Listing 3.13.sql | captainabap/Einstieg-in-SQLScript | c5041bd0655e4e880bebcd07bc255e9a6e125383 | [
"MIT"
] | null | null | null | Listings/Listings/Kapitel 3/Listing 3.13.sql | captainabap/Einstieg-in-SQLScript | c5041bd0655e4e880bebcd07bc255e9a6e125383 | [
"MIT"
] | null | null | null | Listings/Listings/Kapitel 3/Listing 3.13.sql | captainabap/Einstieg-in-SQLScript | c5041bd0655e4e880bebcd07bc255e9a6e125383 | [
"MIT"
] | 1 | 2021-06-10T16:48:13.000Z | 2021-06-10T16:48:13.000Z | -- Listing 3.13.sql
-- Aufruf einer skalaren UDF in der Feldliste
SELECT get_parcel_price(width, height, depth, weight )
FROM parcels;
| 18.625 | 56 | 0.697987 |
62f26d781edb99f6ea22bc16a85151ac92aa0835 | 1,003 | sql | SQL | init-tables.sql | frozsgy/odtu-telegram-bot | 5f645b1fc3482002647ccb9091e67c7c633e2609 | [
"MIT"
] | 4 | 2020-02-26T17:24:43.000Z | 2020-03-01T20:47:22.000Z | init-tables.sql | frozsgy/odtu-telegram-bot | 5f645b1fc3482002647ccb9091e67c7c633e2609 | [
"MIT"
] | null | null | null | init-tables.sql | frozsgy/odtu-telegram-bot | 5f645b1fc3482002647ccb9091e67c7c633e2609 | [
"MIT"
] | 1 | 2021-02-13T14:05:11.000Z | 2021-02-13T14:05:11.000Z | CREATE TABLE IF NOT EXISTS settings (id SERIAL PRIMARY KEY, data varchar);
CREATE TABLE IF NOT EXISTS people (uid bigint NOT NULL UNIQUE , fname text, lname text, uname text);
CREATE TABLE IF NOT EXISTS groups (gid bigint NOT NULL UNIQUE, title text);
CREATE TABLE IF NOT EXISTS logs (uid bigint, mid bigint NOT NULL, ti... | 91.181818 | 188 | 0.771685 |
6073caad31d6fbb3a9557ec41574baf930aeac47 | 870 | html | HTML | views/directiveViews/field/natural.html | tellform/angular-tellform | cfd9d8ee69b3ad2cee3f6feb31063498737e9d8d | [
"MIT"
] | 42 | 2016-04-28T18:22:57.000Z | 2021-01-05T04:46:06.000Z | views/directiveViews/field/natural.html | tellform/angular-tellform | cfd9d8ee69b3ad2cee3f6feb31063498737e9d8d | [
"MIT"
] | 11 | 2016-04-28T14:21:44.000Z | 2018-12-02T13:54:09.000Z | views/directiveViews/field/natural.html | tellform/angular-tellform | cfd9d8ee69b3ad2cee3f6feb31063498737e9d8d | [
"MIT"
] | 15 | 2016-04-28T23:11:36.000Z | 2020-07-20T13:25:03.000Z | <div class="field row textfield natural" ng-click="setActiveField(field._id, index, true)">
<div class="col-xs-12 field-title" ng-style="{'color': design.colors.questionColor}"><h3><span class="fa fa-angle-double-right"></span> {{field.title}} <span class="required-error" ng-show="field.required && !field.fieldValu... | 51.176471 | 260 | 0.674713 |
c7eb34402f16b2af87e23b4c83bed68438311fd1 | 4,527 | java | Java | dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/ClassRoutesBuilderLoader.java | adessaigne/camel | a10a9ccbfa60acc951d75848b9c66930056c7510 | [
"Apache-2.0"
] | null | null | null | dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/ClassRoutesBuilderLoader.java | adessaigne/camel | a10a9ccbfa60acc951d75848b9c66930056c7510 | [
"Apache-2.0"
] | null | null | null | dsl/camel-java-joor-dsl/src/main/java/org/apache/camel/dsl/java/joor/ClassRoutesBuilderLoader.java | adessaigne/camel | a10a9ccbfa60acc951d75848b9c66930056c7510 | [
"Apache-2.0"
] | null | null | null | /*
* 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 "License"); you may ... | 39.025862 | 111 | 0.671747 |
020687371d265f0df3ffee704666810ba60ad28e | 1,573 | kt | Kotlin | app/src/main/java/io/github/coffeegerm/betterbarista/ui/children/drinks/DrinksAdapter.kt | Coffeegerm/Better-Barista | 4d1a98616d88a9b65aa0d4d4b7467717f78bff1e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/github/coffeegerm/betterbarista/ui/children/drinks/DrinksAdapter.kt | Coffeegerm/Better-Barista | 4d1a98616d88a9b65aa0d4d4b7467717f78bff1e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/github/coffeegerm/betterbarista/ui/children/drinks/DrinksAdapter.kt | Coffeegerm/Better-Barista | 4d1a98616d88a9b65aa0d4d4b7467717f78bff1e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Coffee and Cream Studios
*
* 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 ... | 34.955556 | 109 | 0.765416 |
c3b874e4acd3c2443de1051ac2d88e43e9be06af | 859 | go | Go | testing/testserver_test.go | emrearmagan/Hvv-REST-API | 06cdc596ac5803f3bf7e76cbec0a5460d688c52f | [
"MIT"
] | 1 | 2019-06-13T16:15:42.000Z | 2019-06-13T16:15:42.000Z | testing/testserver_test.go | emrearmagan/Hvv-REST-API | 06cdc596ac5803f3bf7e76cbec0a5460d688c52f | [
"MIT"
] | null | null | null | testing/testserver_test.go | emrearmagan/Hvv-REST-API | 06cdc596ac5803f3bf7e76cbec0a5460d688c52f | [
"MIT"
] | null | null | null | package testing
import (
"fmt"
"log"
"net/http"
"net/http/httptest"
)
// Create a Test HTTP Server that will return a response with HTTP code and body.
func testServer(code int, body string) *httptest.Server {
serv := testServerForQuery("", code, body)
return serv
}
// testServerForQuery returns a mock server ... | 26.030303 | 92 | 0.700815 |
cb1f21728a07df57465e1bd982dc1dc21878ae5a | 2,342 | h | C | src/operators/RadialResample/QvisRadialResampleWindow.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 226 | 2018-12-29T01:13:49.000Z | 2022-03-30T19:16:31.000Z | src/operators/RadialResample/QvisRadialResampleWindow.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 5,100 | 2019-01-14T18:19:25.000Z | 2022-03-31T23:08:36.000Z | src/operators/RadialResample/QvisRadialResampleWindow.h | visit-dav/vis | c08bc6e538ecd7d30ddc6399ec3022b9e062127e | [
"BSD-3-Clause"
] | 84 | 2019-01-24T17:41:50.000Z | 2022-03-10T10:01:46.000Z | // Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers. See the top-level LICENSE file for dates and other
// details. No copyright assignment is required to contribute to VisIt.
#ifndef QVISRADIALRESAMPLEWINDOW_H
#define QVISRADIALRESAMPLEWINDOW_H
#include <QvisOperatorWin... | 27.552941 | 79 | 0.65585 |
9bcfc95e3bd3c2fe5a56e4bed6652524059cff6b | 2,029 | js | JavaScript | Improved-Training-of-Wasserstein-GANs/page/wasserstein-gan.js | toonnyy8/PPT | 03595b5e635a830890900d296458810fd5553893 | [
"MIT"
] | 1 | 2021-01-25T16:30:25.000Z | 2021-01-25T16:30:25.000Z | Improved-Training-of-Wasserstein-GANs/page/wasserstein-gan.js | toonnyy8/PPT | 03595b5e635a830890900d296458810fd5553893 | [
"MIT"
] | 10 | 2020-01-06T10:26:04.000Z | 2022-02-11T00:15:04.000Z | Improved-Training-of-Wasserstein-GANs/page/wasserstein-gan.js | toonnyy8/PPT | 03595b5e635a830890900d296458810fd5553893 | [
"MIT"
] | null | null | null | ///<reference path="../src/html.js">
///<reference path="../src/css.js">
///<reference path="./template.js">
const wasserstein_gan =
(() => {
return [
template.default_page(
'Wasserstein GAN',
template.div_hc(0)([
html.img({ src: './img/d2c-1.... | 38.283019 | 107 | 0.347462 |
7b44db40e4eab52dd0a5179b191f142aa9d056f3 | 1,980 | rb | Ruby | lib/autodesk_vida/authentication.rb | keram/autodesk_vida | 8aa095417d63881f7161aac7b4fb36ab2607967d | [
"MIT"
] | null | null | null | lib/autodesk_vida/authentication.rb | keram/autodesk_vida | 8aa095417d63881f7161aac7b4fb36ab2607967d | [
"MIT"
] | null | null | null | lib/autodesk_vida/authentication.rb | keram/autodesk_vida | 8aa095417d63881f7161aac7b4fb36ab2607967d | [
"MIT"
] | null | null | null | require_relative 'base'
require_relative 'request'
require_relative 'access_token'
module AutodeskVida
class Authentication < Base
def initialize(client_id:, client_secret:, grant_type:)
@credentials = {
client_id: client_id,
client_secret: client_secret,
grant_type: grant_type
... | 36.666667 | 78 | 0.657576 |
33310d445d44da6d57d70c0d985520626d8989bd | 1,473 | py | Python | scrape.py | ilemhadri/fb_messenger | c5da22ec40e0caa4c11236016226e258bf181c64 | [
"MIT"
] | 11 | 2018-11-18T18:16:13.000Z | 2022-02-07T14:14:33.000Z | scrape.py | ilemhadri/fb_messenger | c5da22ec40e0caa4c11236016226e258bf181c64 | [
"MIT"
] | 1 | 2021-01-16T16:54:14.000Z | 2021-01-17T09:28:34.000Z | scrape.py | ilemhadri/fb_messenger | c5da22ec40e0caa4c11236016226e258bf181c64 | [
"MIT"
] | 10 | 2019-02-28T18:01:51.000Z | 2022-03-24T16:43:57.000Z | import os
import sys
from collections import defaultdict
import datetime
import pickle
import re
import time
import json
from selenium import webdriver
def main():
driver = webdriver.Chrome() # Optional argument, if not specified will search path.
#load login cookie
driver.get('https://www.messenger.com')
... | 30.061224 | 87 | 0.663951 |
fb7a755c3f316f4ddb55439a46dcd8257b3e5f21 | 1,599 | h | C | export/windows/cpp/obj/include/openfl/_legacy/gl/GLRenderbuffer.h | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/include/openfl/_legacy/gl/GLRenderbuffer.h | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/include/openfl/_legacy/gl/GLRenderbuffer.h | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.3.0
#ifndef INCLUDED_openfl__legacy_gl_GLRenderbuffer
#define INCLUDED_openfl__legacy_gl_GLRenderbuffer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl__legacy_gl_GLObject
#include <openfl/_legacy/gl/GLObject.h>
#endif
HX_DECLARE_CLASS3(openfl,_legacy,gl,GLObject)
HX_DECLARE_C... | 30.75 | 119 | 0.763602 |
f083f81f215c3c4bed5141eca94e83edfda1ebf3 | 1,040 | lua | Lua | build/premake-inc/sys-openssl.lua | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | 6 | 2022-01-27T20:33:17.000Z | 2022-02-16T18:29:43.000Z | build/premake-inc/sys-openssl.lua | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | 4 | 2022-01-30T16:16:53.000Z | 2022-02-20T20:07:25.000Z | build/premake-inc/sys-openssl.lua | Unbundlesss/OUROVEON | 34dda511eda2a28b8522a724cfc9500a7914ea03 | [
"MIT"
] | null | null | null | -- ==============================================================================
ModuleRefInclude["openssl"] = function()
filter "system:Windows"
sysincludedirs
{
GetPrebuiltLibs_Win64() .. "openssl/include"
}
filter {}
filter "system:macosx"
sysincludedirs
{
GetMacOSP... | 21.22449 | 114 | 0.469231 |
74cdebe3befc311a89e8447ba698b651ae4467b8 | 5,144 | js | JavaScript | example/index.ios.js | moschan/react-native-responsive-keybord-view | 8504bfefaa5650f146a84e6a2d5fa9b5293dee91 | [
"MIT"
] | null | null | null | example/index.ios.js | moschan/react-native-responsive-keybord-view | 8504bfefaa5650f146a84e6a2d5fa9b5293dee91 | [
"MIT"
] | null | null | null | example/index.ios.js | moschan/react-native-responsive-keybord-view | 8504bfefaa5650f146a84e6a2d5fa9b5293dee91 | [
"MIT"
] | null | null | null | /**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
// import ResponsiveKeyboardView from './index.js'
import ResponsiveKeyboardView from 'react-native-responsive-keyboard-view'
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
TextInput... | 72.450704 | 285 | 0.767302 |
d5c2fecb7a82d01722ce9338eee6acbb1c577873 | 307 | h | C | ZBLiveBarrage/ZBTestLiveBarrageCell.h | itzhangbao/ZBLiveBarrage | 4bcf74de1e45789ea1eeea68d07cc98479e5e8e2 | [
"MIT"
] | 14 | 2017-08-08T01:35:00.000Z | 2021-09-28T22:06:10.000Z | ZBLiveBarrage/ZBTestLiveBarrageCell.h | itzhangbao/ZBLiveBarrage | 4bcf74de1e45789ea1eeea68d07cc98479e5e8e2 | [
"MIT"
] | 1 | 2021-08-10T01:39:40.000Z | 2021-08-16T10:02:46.000Z | ZBLiveBarrage/ZBTestLiveBarrageCell.h | itzhangbao/ZBLiveBarrage | 4bcf74de1e45789ea1eeea68d07cc98479e5e8e2 | [
"MIT"
] | 6 | 2017-08-01T00:35:46.000Z | 2021-08-13T06:51:27.000Z | //
// ZBTestLiveBarrageCell.h
// ZBLiveBarrage
//
// Created by zhangbao on 2017/3/15.
// Copyright © 2017年 张宝. All rights reserved.
//
#import "ZBLiveBarrageCell.h"
@class ZBTestModel;
@interface ZBTestLiveBarrageCell : ZBLiveBarrageCell
@property (nonatomic, strong) ZBTestModel *testModel;
@end
| 17.055556 | 53 | 0.739414 |
56fb871c3dd8d1635381ce7b29464bd2209e20e4 | 2,917 | ts | TypeScript | blend/src/dom/ClassList.ts | blendsdk/material-blend | 43900f9d16e4aed033794c25593578cb35a44224 | [
"Apache-2.0"
] | null | null | null | blend/src/dom/ClassList.ts | blendsdk/material-blend | 43900f9d16e4aed033794c25593578cb35a44224 | [
"Apache-2.0"
] | null | null | null | blend/src/dom/ClassList.ts | blendsdk/material-blend | 43900f9d16e4aed033794c25593578cb35a44224 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2016 TrueSoftware B.V. 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... | 29.464646 | 76 | 0.468632 |
a1b75a2ad035390745ed18c10ad2eb8fee8e951b | 1,601 | go | Go | src/checklist/checklist.go | landau/agile-results | 671419e1a70ac71c11a73e03e22b8ebef8bcb107 | [
"Unlicense"
] | null | null | null | src/checklist/checklist.go | landau/agile-results | 671419e1a70ac71c11a73e03e22b8ebef8bcb107 | [
"Unlicense"
] | null | null | null | src/checklist/checklist.go | landau/agile-results | 671419e1a70ac71c11a73e03e22b8ebef8bcb107 | [
"Unlicense"
] | null | null | null | package checklist
import (
"github.com/adlio/trello"
)
type trelloChecklistHandler interface {
CreateChecklist(card *trello.Card, name string, extraArgs trello.Arguments) (*trello.Checklist, error)
CreateCheckItem(checklist *trello.Checklist, name string, extraArgs trello.Arguments) (*trello.CheckItem, error)
}
/... | 22.549296 | 113 | 0.720175 |
3be6cc3edd64111ebec81dbc4933f4b145fec6fc | 240 | sql | SQL | telegram_messages_after_insert.sql | Pinx0/telegram-bot | dfabd673e76b6003ed7dab5638e7e2d62110c659 | [
"MIT"
] | null | null | null | telegram_messages_after_insert.sql | Pinx0/telegram-bot | dfabd673e76b6003ed7dab5638e7e2d62110c659 | [
"MIT"
] | null | null | null | telegram_messages_after_insert.sql | Pinx0/telegram-bot | dfabd673e76b6003ed7dab5638e7e2d62110c659 | [
"MIT"
] | null | null | null | CREATE TRIGGER `telegram_messages_after_insert` AFTER INSERT ON `telegram_messages` FOR EACH ROW BEGIN
IF NEW.message_text IS NOT NULL AND LENGTH(NEW.message_text) > 1
THEN
CALL `bot_save_phrase`(NEW.message_text, NEW.chat_id);
END IF;
END | 40 | 102 | 0.8125 |
6e0e5f9d60ce0697db610e5e5de1897d34a25b00 | 720 | swift | Swift | Twitter/TableViewBase.swift | rpandey1234/twitter_ios_codepath | c5dc20dc08cedd53c43bb8f42ad1b506a8fdecaa | [
"Apache-2.0"
] | null | null | null | Twitter/TableViewBase.swift | rpandey1234/twitter_ios_codepath | c5dc20dc08cedd53c43bb8f42ad1b506a8fdecaa | [
"Apache-2.0"
] | null | null | null | Twitter/TableViewBase.swift | rpandey1234/twitter_ios_codepath | c5dc20dc08cedd53c43bb8f42ad1b506a8fdecaa | [
"Apache-2.0"
] | null | null | null | //
// TableViewBase.swift
// Twitter
//
// Created by Rahul Pandey on 11/6/16.
// Copyright © 2016 Rahul Pandey. All rights reserved.
//
import UIKit
class TableBaseView: NSObject, UITableViewDataSource {
var tweets: [Tweet]!
func hello() {
print("hello")
}
func tableView(_ ... | 24 | 125 | 0.658333 |
9c39f4ec8e841bcc89809b87aa4e5949a283d7c6 | 36,350 | js | JavaScript | DiceCTF/2021/pwn/AdultCSP/mojo_bindings/gen/third_party/blink/public/mojom/file_system_access/file_system_access_file_writer.mojom.js | mystickev/ctf-archives | 89e99a5cd5fb6b2923cad3fe1948d3ff78649b4e | [
"MIT"
] | 1 | 2021-11-02T20:53:58.000Z | 2021-11-02T20:53:58.000Z | DiceCTF/2021/pwn/AdultCSP/mojo_bindings/gen/third_party/blink/public/mojom/file_system_access/file_system_access_file_writer.mojom.js | ruhan-islam/ctf-archives | 8c2bf6a608c821314d1a1cfaa05a6cccef8e3103 | [
"MIT"
] | null | null | null | DiceCTF/2021/pwn/AdultCSP/mojo_bindings/gen/third_party/blink/public/mojom/file_system_access/file_system_access_file_writer.mojom.js | ruhan-islam/ctf-archives | 8c2bf6a608c821314d1a1cfaa05a6cccef8e3103 | [
"MIT"
] | 1 | 2021-12-19T11:06:24.000Z | 2021-12-19T11:06:24.000Z | // third_party/blink/public/mojom/file_system_access/file_system_access_file_writer.mojom.js is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.... | 38.58811 | 154 | 0.736561 |
f14c27f6533c6dca09147d6c61d29bc4d63829b7 | 6,180 | rb | Ruby | test/lib/docparser/parser_test.rb | jurriaan/docparser | 0a0a9cbcbbfb5b3fc4555a85e614990a4ba6b86f | [
"MIT"
] | 10 | 2015-01-10T12:46:32.000Z | 2021-04-08T22:41:09.000Z | test/lib/docparser/parser_test.rb | jurriaan/docparser | 0a0a9cbcbbfb5b3fc4555a85e614990a4ba6b86f | [
"MIT"
] | 51 | 2020-04-17T18:49:59.000Z | 2021-08-03T04:46:49.000Z | test/lib/docparser/parser_test.rb | jurriaan/docparser | 0a0a9cbcbbfb5b3fc4555a85e614990a4ba6b86f | [
"MIT"
] | 1 | 2015-07-08T23:30:36.000Z | 2015-07-08T23:30:36.000Z | # frozen_string_literal: true
require_relative '../../test_helper'
describe DocParser::Parser do
before do
SimpleCov.at_exit {}
end
after do
SimpleCov.at_exit do
SimpleCov.result.format!
end
end
it 'should initialize correctly' do
parser = DocParser::Parser.new(quiet: true)
parser... | 37.005988 | 71 | 0.612136 |
0cc7dbac1b53714dc8579ed543f77deb34610c57 | 1,705 | py | Python | src/users/management/commands/populate_tables.py | pimpale/BQuest-Backend | b32833ee5053db1c47fa28f57273632eae43a5cc | [
"MIT"
] | null | null | null | src/users/management/commands/populate_tables.py | pimpale/BQuest-Backend | b32833ee5053db1c47fa28f57273632eae43a5cc | [
"MIT"
] | 51 | 2018-01-24T05:53:15.000Z | 2022-01-13T00:44:24.000Z | src/users/management/commands/populate_tables.py | pimpale/BQuest-Backend | b32833ee5053db1c47fa28f57273632eae43a5cc | [
"MIT"
] | 3 | 2020-04-22T03:21:37.000Z | 2020-12-15T22:45:52.000Z | from django.core.management.base import BaseCommand
from users.models import Major, Minor, Course
from django.db import IntegrityError
from os import path
import json
class Command(BaseCommand):
def _create_majors(self):
base_path = path.dirname(__file__)
majors_path = path.abspath(path.join(base_... | 32.788462 | 85 | 0.567742 |
7557348eee56033c0110116118f50d994182d992 | 96 | h | C | td02/td02b/proj/Bibliotheques/Tri/sort.h | zdimension/tdsys | c248b3dfaacb89436db88461f5d47ba68122e603 | [
"MIT"
] | 1 | 2021-05-12T18:39:18.000Z | 2021-05-12T18:39:18.000Z | td02/td02b/proj/Bibliotheques/Tri/sort.h | zdimension/tdsys | c248b3dfaacb89436db88461f5d47ba68122e603 | [
"MIT"
] | null | null | null | td02/td02b/proj/Bibliotheques/Tri/sort.h | zdimension/tdsys | c248b3dfaacb89436db88461f5d47ba68122e603 | [
"MIT"
] | 6 | 2021-05-13T12:20:41.000Z | 2022-03-23T09:09:35.000Z | #ifndef _SORT_H_
#define _SORT_H_
_declspec(dllexport) void sort(int list[], int size);
#endif | 16 | 53 | 0.760417 |
fb0685bfee6b40f3b78bf49ec43e568304d046c0 | 5,316 | h | C | lib/python/util.h | pathak22/ccnn | aa3d3b2b0c194640fc2b887dbff04d9a5c032392 | [
"BSD-4-Clause-UC"
] | 69 | 2015-12-10T15:23:19.000Z | 2021-05-18T06:36:34.000Z | lib/python/util.h | chocl8camellia/ccnn | aa3d3b2b0c194640fc2b887dbff04d9a5c032392 | [
"BSD-4-Clause-UC"
] | 3 | 2016-05-31T19:31:31.000Z | 2018-07-25T09:14:11.000Z | lib/python/util.h | chocl8camellia/ccnn | aa3d3b2b0c194640fc2b887dbff04d9a5c032392 | [
"BSD-4-Clause-UC"
] | 30 | 2015-12-09T22:48:23.000Z | 2020-01-05T20:35:50.000Z | // --------------------------------------------------------
// CCNN
// 2015. Modified by Deepak Pathak, Philipp Krähenbühl
// --------------------------------------------------------
/*
Copyright (c) 2014, Philipp Krähenbühl
All rights reserved.
Redistribution and use in source and binary forms, with or ... | 34.076923 | 99 | 0.680399 |
5c592ecd0153071a02ffa5c9648cec73418c114f | 436 | h | C | src/settings.h | cfrank/shot | d188752c1c850a6f16b272364ca716cbe13ed698 | [
"BSD-3-Clause"
] | 1 | 2018-04-13T16:34:05.000Z | 2018-04-13T16:34:05.000Z | src/settings.h | cfrank/shot | d188752c1c850a6f16b272364ca716cbe13ed698 | [
"BSD-3-Clause"
] | null | null | null | src/settings.h | cfrank/shot | d188752c1c850a6f16b272364ca716cbe13ed698 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <stdbool.h>
#include <stdint.h>
enum scrot_type {
CUSTOM,
FULL,
SCREEN,
WINDOW,
};
struct settings {
enum scrot_type type;
const char *dimensions;
uint32_t timeout;
int8_t screen_num;
const char *custom_out;
bool fl... | 18.166667 | 61 | 0.630734 |
18e2a7e24af24ce805292881677bfa2f55e1f8a1 | 114 | sql | SQL | src/test/resources/sql/create_function/4c400f05.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_function/4c400f05.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_function/4c400f05.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:plpgsql.sql ln:2157 expect:true
create function missing_return_expr() returns int as $$
begin
return
| 22.8 | 55 | 0.754386 |
3dcff636c7ece9518436287327f5d47c335f8b08 | 149 | rs | Rust | packages/core/src/lib.rs | flix477/rustyboy | 1ab3b588eae0964939fae3ec3f5b202693e50173 | [
"MIT"
] | 6 | 2019-02-07T02:02:46.000Z | 2020-05-20T20:35:58.000Z | packages/core/src/lib.rs | flix477/rustyboy | 1ab3b588eae0964939fae3ec3f5b202693e50173 | [
"MIT"
] | 15 | 2019-07-06T02:19:27.000Z | 2022-02-26T11:50:57.000Z | packages/core/src/lib.rs | flix477/rustyboy | 1ab3b588eae0964939fae3ec3f5b202693e50173 | [
"MIT"
] | null | null | null | pub mod bus;
pub mod cartridge;
pub mod config;
pub mod debugger;
pub mod gameboy;
pub mod hardware;
pub mod processor;
pub mod util;
pub mod video;
| 14.9 | 18 | 0.758389 |
ddf337831b185d9f46faeddb2b66d8a8637fd231 | 936 | php | PHP | application/views/templates/categories_box.php | vuonghuynhthanhtu/administrator.lacasa.com | 8021ad6122241f05fe2c9fe42c94f3f3dac31c4f | [
"MIT"
] | null | null | null | application/views/templates/categories_box.php | vuonghuynhthanhtu/administrator.lacasa.com | 8021ad6122241f05fe2c9fe42c94f3f3dac31c4f | [
"MIT"
] | null | null | null | application/views/templates/categories_box.php | vuonghuynhthanhtu/administrator.lacasa.com | 8021ad6122241f05fe2c9fe42c94f3f3dac31c4f | [
"MIT"
] | null | null | null | <div class="category-box multiple">
<?php foreach ($categories_limit as $key => $category): ?>
<?php
$count = count($categories_limit);
if ($count == 3 || $key == 0):
$col = 'col-md-6 col-sm-6';
else:
$col = 'col-md-3 col-sm-3';
endif;
?>
<?php if ($count > 0) : ?>
<div class="categories-item <?php... | 37.44 | 155 | 0.598291 |
d03ba23e3d7b423e4bb62b38b579e0db8af13a7f | 1,473 | css | CSS | styles/components/Hero.module.css | yokoyamahirokazu/ltd_nextjs | 20bac0ded0ce2dc2b8edd1d40715d388d4f25c90 | [
"Apache-2.0"
] | null | null | null | styles/components/Hero.module.css | yokoyamahirokazu/ltd_nextjs | 20bac0ded0ce2dc2b8edd1d40715d388d4f25c90 | [
"Apache-2.0"
] | null | null | null | styles/components/Hero.module.css | yokoyamahirokazu/ltd_nextjs | 20bac0ded0ce2dc2b8edd1d40715d388d4f25c90 | [
"Apache-2.0"
] | null | null | null | .hero {
width: 100%;
height: 50vw;
max-height: 640px;
background-color: #ddd;
position: relative;
background-color: var(--secondary-Main);
}
.heroInner {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
display: flex;
align-items: center;
justify-content: flex-start;
}
.heroContent... | 14.441176 | 42 | 0.600136 |
c1d6d26b44b81182cffeb127379499d58d0e82ef | 2,614 | sql | SQL | app/Common/Custom/dbinit/cms_single_page.sql | realphp/fund | d975784b31c7be81a0dd4cb562fac1a0e591a223 | [
"Apache-2.0"
] | null | null | null | app/Common/Custom/dbinit/cms_single_page.sql | realphp/fund | d975784b31c7be81a0dd4cb562fac1a0e591a223 | [
"Apache-2.0"
] | null | null | null | app/Common/Custom/dbinit/cms_single_page.sql | realphp/fund | d975784b31c7be81a0dd4cb562fac1a0e591a223 | [
"Apache-2.0"
] | null | null | null | DROP TABLE IF EXISTS <--db-prefix-->cms_single_page;
CREATE TABLE `<--db-prefix-->cms_single_page` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`url` varchar(200) NOT NULL DEFAULT '' COMMENT '访问URL路径',
`title` varchar(200) NOT NULL DEFAULT '' COMMENT '页面标题',
`keywords` varchar(200) DEFAULT '' COMMENT '页面关键词... | 153.764706 | 1,195 | 0.712318 |
1a5a7364811fc084d1d708ae47d368a611bb3d6c | 310 | kt | Kotlin | app/src/main/java/com/teamnoyes/majorparksinseoul/model/SearchParkInfoService.kt | kjh9589/Android-Major-Parks-In-Seoul | 0c12c5b787730eb36263afcc3de0ab7163c8692a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/teamnoyes/majorparksinseoul/model/SearchParkInfoService.kt | kjh9589/Android-Major-Parks-In-Seoul | 0c12c5b787730eb36263afcc3de0ab7163c8692a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/teamnoyes/majorparksinseoul/model/SearchParkInfoService.kt | kjh9589/Android-Major-Parks-In-Seoul | 0c12c5b787730eb36263afcc3de0ab7163c8692a | [
"Apache-2.0"
] | null | null | null | package com.teamnoyes.majorparksinseoul.model
import com.google.gson.annotations.SerializedName
data class SearchParkInfoService(
@SerializedName("list_total_count")
val listTotalCount: Int?,
@SerializedName("RESULT")
val rESULT: RESULT?,
@SerializedName("row")
val row: List<Row>?
) | 23.846154 | 49 | 0.741935 |
ebe8c6ed6446b902c8dd007bd05de9e8a6df3995 | 588 | rs | Rust | src/essentials/on_event/left.rs | sonicrules1234/sonicbot-matrix | e4090a5baedd355ad50df211010230fe68950711 | [
"BSD-3-Clause"
] | null | null | null | src/essentials/on_event/left.rs | sonicrules1234/sonicbot-matrix | e4090a5baedd355ad50df211010230fe68950711 | [
"BSD-3-Clause"
] | null | null | null | src/essentials/on_event/left.rs | sonicrules1234/sonicbot-matrix | e4090a5baedd355ad50df211010230fe68950711 | [
"BSD-3-Clause"
] | null | null | null | //use ruma::api::client::r0::sync::sync_events::*;
use crate::{Instructions, instruction_generators::RoomTypeData, EventArgs};
//use std::collections::BTreeMap;
pub fn help() -> String {
String::from("Runs on all syncs that have left rooms states")
}
pub fn main(event_args: EventArgs) -> Vec<Instructions> {
l... | 32.666667 | 75 | 0.671769 |
b999a58f87783948c2bb20b8595b1213b3f2dc1b | 360 | h | C | RuntimeKVOByReactive/RuntimeKVOByReactive/NSObject+KVO.h | AAYuan/RAC | 9aaa9f823401af358b5460ad3294fb4fa62fbe69 | [
"Apache-2.0"
] | null | null | null | RuntimeKVOByReactive/RuntimeKVOByReactive/NSObject+KVO.h | AAYuan/RAC | 9aaa9f823401af358b5460ad3294fb4fa62fbe69 | [
"Apache-2.0"
] | null | null | null | RuntimeKVOByReactive/RuntimeKVOByReactive/NSObject+KVO.h | AAYuan/RAC | 9aaa9f823401af358b5460ad3294fb4fa62fbe69 | [
"Apache-2.0"
] | null | null | null | //
// NSObject+KVO.h
// RuntimeKVOByReactive
//
// Created by AYuan on 16/5/23.
// Copyright © 2016年 AYuan. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (KVO)
- (void)lty_addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options c... | 21.176471 | 153 | 0.736111 |
bcb8f512c2059488ceeb2cf7a51ea24a33eacf52 | 2,114 | js | JavaScript | components/form/index.js | taran-pierce/wffd | 46fc9c769fd3afbc95273b40355b02ca1cfae702 | [
"MIT"
] | null | null | null | components/form/index.js | taran-pierce/wffd | 46fc9c769fd3afbc95273b40355b02ca1cfae702 | [
"MIT"
] | null | null | null | components/form/index.js | taran-pierce/wffd | 46fc9c769fd3afbc95273b40355b02ca1cfae702 | [
"MIT"
] | null | null | null | import React from 'react';
import {
string,
func,
object
} from 'prop-types';
import styles from './form.module.scss';
export default function Form(props) {
const {
handleSubmit,
changeHandler,
formInputPlaceRef,
formInputLocationRef,
placePlaceholder,
locationPlaceholder,
buttonTe... | 24.298851 | 73 | 0.589877 |
5f05486ecb4cd0deccb9c22f4045902c7c515e36 | 4,361 | ts | TypeScript | cocos/core/gfx/base/texture.ts | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | cocos/core/gfx/base/texture.ts | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | cocos/core/gfx/base/texture.ts | SteveLau-GameDeveloper/engine | 159e5acd0f5115a878d59ed59f924ce7627a5466 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
Copyright (c) 2020 Xiamen Yaji Software Co., Ltd.
https://www.cocos.com/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
to... | 22.952632 | 95 | 0.609493 |
b929b8e9cabe846ca1e47de09d599a1cba19c43b | 1,438 | h | C | atca_config.h | kmwebnet/ECC608-TNG-AES-Test-raspi | 313c41c8ab0dd5543937c9b64be9e14dc3e0f4c4 | [
"MIT"
] | null | null | null | atca_config.h | kmwebnet/ECC608-TNG-AES-Test-raspi | 313c41c8ab0dd5543937c9b64be9e14dc3e0f4c4 | [
"MIT"
] | null | null | null | atca_config.h | kmwebnet/ECC608-TNG-AES-Test-raspi | 313c41c8ab0dd5543937c9b64be9e14dc3e0f4c4 | [
"MIT"
] | null | null | null | /* Auto-generated config file atca_config.h */
#ifndef ATCA_CONFIG_H
#define ATCA_CONFIG_H
/* Included HALS */
#define ATCA_HAL_I2C
/* Included device support */
#define ATCA_ATECC608_SUPPORT
/** Device Override - Library Assumes ATECC608B support in checks */
#define ATCA_ATECC608A_SUPPORT
/* \brief How long to w... | 26.145455 | 77 | 0.698887 |
c1f517db9365e39c813e43c66ede3ae5cea42c64 | 2,338 | rs | Rust | src/app/reducers/symlink_reducer.rs | mihaigalos/sfm | 3daf892e1c65728eacc061e4f2fd5e2f0ade2f79 | [
"MIT"
] | 17 | 2021-02-02T19:18:03.000Z | 2022-03-09T01:18:31.000Z | src/app/reducers/symlink_reducer.rs | mihaigalos/sfm | 3daf892e1c65728eacc061e4f2fd5e2f0ade2f79 | [
"MIT"
] | 4 | 2021-12-22T17:25:32.000Z | 2022-03-23T17:10:37.000Z | src/app/reducers/symlink_reducer.rs | mihaigalos/sfm | 3daf892e1c65728eacc061e4f2fd5e2f0ade2f79 | [
"MIT"
] | 3 | 2021-04-10T22:37:24.000Z | 2022-03-19T18:40:05.000Z | use std::{fmt::Debug, path::PathBuf};
use crate::app::{
actions::{PanelSide, SymlinkAction},
file_system::FileSystem,
state::{AppState, PanelState, TabIdx, TabState},
};
pub fn symlink_reducer<TFileSystem: Clone + Debug + Default + FileSystem>(
state: AppState<TFileSystem>,
action: SymlinkAction,
... | 28.512195 | 76 | 0.51497 |
4606e898b80cd477faf3b2d8ee426fdd76afdfa7 | 87 | sql | SQL | fluxtream-web/db/0.9.0015/02_default_storage_engine.sql | gpatel123/fluxtream-app-master | 0e0f0225fd893b72aa43273daad0d20290b4c545 | [
"Apache-2.0"
] | 89 | 2015-01-21T20:15:47.000Z | 2021-11-08T09:58:39.000Z | fluxtream-web/db/0.9.0015/02_default_storage_engine.sql | tanajilondhefidel/fluxtream-app-master | 73c1aefb449acaf2bc9726718c25f62ded9fc36c | [
"Apache-2.0"
] | 30 | 2020-01-13T05:27:46.000Z | 2021-08-02T17:08:02.000Z | fluxtream-web/db/0.9.0015/02_default_storage_engine.sql | tanajilondhefidel/fluxtream-app-master | 73c1aefb449acaf2bc9726718c25f62ded9fc36c | [
"Apache-2.0"
] | 31 | 2015-02-18T06:16:01.000Z | 2022-03-29T15:09:39.000Z | ALTER TABLE Facet_VisitedCity ENGINE = MYISAM;
ALTER TABLE cities1000 ENGINE = MYISAM;
| 29 | 46 | 0.816092 |
e3cfbc249cd8e3515f1f3d95e418b757d5a41cc4 | 4,300 | go | Go | emails_templates_service_test.go | kvarts/sendpulse-sdk-go | ac96af8014b416063691f977e7534dc2958fb5bd | [
"MIT"
] | 13 | 2019-05-25T17:35:51.000Z | 2022-02-23T07:08:35.000Z | emails_templates_service_test.go | kvarts/sendpulse-sdk-go | ac96af8014b416063691f977e7534dc2958fb5bd | [
"MIT"
] | null | null | null | emails_templates_service_test.go | kvarts/sendpulse-sdk-go | ac96af8014b416063691f977e7534dc2958fb5bd | [
"MIT"
] | 7 | 2019-09-19T11:43:17.000Z | 2022-01-04T18:56:38.000Z | package sendpulse_sdk_go
import (
"context"
"fmt"
"net/http"
)
func (suite *SendpulseTestSuite) TestEmailsService_TemplatesService_Create() {
suite.mux.HandleFunc("/template", func(w http.ResponseWriter, r *http.Request) {
suite.Equal(http.MethodPost, r.Method)
fmt.Fprintf(w, `{"result": true,"real_id":1}`)
... | 35.833333 | 331 | 0.680465 |
0cca7a33169b15c0dca26a3d1d4121500e7fe51e | 7,735 | py | Python | robot.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 2 | 2018-02-08T23:29:21.000Z | 2018-12-27T22:45:12.000Z | robot.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 2 | 2018-02-10T20:25:16.000Z | 2018-02-20T12:47:33.000Z | robot.py | dragonrobotics/2018-PowerUp | 0fb6be22420b1488ca3d6abb04588e8564d768b9 | [
"MIT"
] | 8 | 2018-01-15T14:53:52.000Z | 2018-02-14T22:34:30.000Z | import wpilib
import constants
import swerve
import lift
import winch
import sys
from teleop import Teleop
from autonomous.baseline_simple import Autonomous
from sensors.imu import IMU
def log(src, msg):
try:
full_msg = "[{:.3f}] [{}] {}".format(
wpilib.Timer.getMatchTime(), str(src), str(msg)... | 31.315789 | 95 | 0.576083 |
4a3f9dda44318f32f6fb960a0b2554edfa4bce53 | 415 | js | JavaScript | git-it.js | psainii/git-it | 85b31b48a2b1f22dcd332fd846ee94feab9b2b7a | [
"BSD-2-Clause"
] | 1,627 | 2015-01-02T13:32:57.000Z | 2022-03-23T15:01:38.000Z | git-it.js | 2071473367/git-it | 85b31b48a2b1f22dcd332fd846ee94feab9b2b7a | [
"BSD-2-Clause"
] | 112 | 2015-01-03T18:36:42.000Z | 2022-03-05T18:23:49.000Z | git-it.js | 2071473367/git-it | 85b31b48a2b1f22dcd332fd846ee94feab9b2b7a | [
"BSD-2-Clause"
] | 608 | 2015-01-02T00:15:51.000Z | 2022-03-07T14:22:10.000Z | #!/usr/bin/env node
const Workshopper = require('workshopper-jlord'),
path = require('path')
process.env.LANG = 'C'
Workshopper({
name: 'git-it',
title: 'GIT + GITHUB : VERSION CONTROL + SOCIAL CODING',
appDir: __dirname,
helpFile: path.join(__dirname, 'help.txt'),
menu: {
fg: /^win/.test(process... | 23.055556 | 58 | 0.624096 |
4969b7aac36f07a3937d59eaba276011931b076a | 1,661 | swift | Swift | Aurora/PropertyButton.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | Aurora/PropertyButton.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | Aurora/PropertyButton.swift | barrymcandrews/aurora-ios | 7b472dbb739bc995664ef82944ee5af6c4abe2fe | [
"BSD-2-Clause"
] | null | null | null | //
// PropertyButton.swift
// Aurora
//
// Created by Barry McAndrews on 5/9/17.
// Copyright © 2017 Barry McAndrews. All rights reserved.
//
import UIKit
class PropertyButton: UIButton {
override var canBecomeFirstResponder: Bool { get{ return true } }
private var iv: UIView?
override var inputView:... | 23.728571 | 154 | 0.544852 |
9c70b51e7646bab8a3999f49cb92c54d3a2b7683 | 3,437 | js | JavaScript | _tpl/theme.js | dak0rn/sfftfth | 359ad48d6582c8f12729da084159728a4f53823a | [
"Apache-2.0"
] | null | null | null | _tpl/theme.js | dak0rn/sfftfth | 359ad48d6582c8f12729da084159728a4f53823a | [
"Apache-2.0"
] | null | null | null | _tpl/theme.js | dak0rn/sfftfth | 359ad48d6582c8f12729da084159728a4f53823a | [
"Apache-2.0"
] | null | null | null | /**
* Example theme
*/
/**
* Renders the beginning of the document.
*
* @param {string} title Page title
* @param {string} baseUrl Base URL o fthe page
* @return {string} HTML
*/
const head = (title, baseUrl) => `<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<... | 31.245455 | 96 | 0.499855 |
4d5f5e03c5ed3b642039efa0149677df063871ef | 653 | kt | Kotlin | app/src/main/java/com/chotaling/ownlibrary/ui/books/BookSeachViewModel.kt | chotaling1/ownLibrary-Android | 1c10ce7ee8a0f22d49475ed33df6d8ccd6b017e2 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/chotaling/ownlibrary/ui/books/BookSeachViewModel.kt | chotaling1/ownLibrary-Android | 1c10ce7ee8a0f22d49475ed33df6d8ccd6b017e2 | [
"Apache-2.0"
] | 9 | 2021-04-09T20:40:53.000Z | 2021-04-12T20:35:51.000Z | app/src/main/java/com/chotaling/ownlibrary/ui/books/BookSeachViewModel.kt | chotaling1/ownLibrary-Android | 1c10ce7ee8a0f22d49475ed33df6d8ccd6b017e2 | [
"Apache-2.0"
] | null | null | null | package com.chotaling.ownlibrary.ui.books
import android.content.Context
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.chotaling.ownlibrary.domain.services.BookService
import com.chotaling.ownlibrary.infrastructure.dto.Google.GoogleBookDto
import com.chotaling.ownlibrary.ui.B... | 28.391304 | 71 | 0.761103 |
73b5812f6d0d08ad7c69facfef056b091ebee8be | 9,759 | rs | Rust | lib/src/project/mod.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | lib/src/project/mod.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | lib/src/project/mod.rs | forbjok/chandler3 | d6addb6da67f9973a678e9caea11858a7ac37e64 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::collections::{BTreeSet, HashSet};
use std::path::{Path, PathBuf};
use chrono::{DateTime, Utc};
use tracing::info;
use url::Url;
pub mod common;
mod v2;
mod v3;
use common::LinkInfo;
use crate::config;
use crate::config::chandler::ChandlerConfig;
use crate::config::sites::SitesConfig;
use crate::error::*;
u... | 31.480645 | 117 | 0.586536 |
fed7ed90c28ed95e22fbb641d83cec8bd622f80e | 58,524 | html | HTML | docs/html/GeometryStage_8h_source.html | kostrykin/Carna | 099783bb7f8a6f52fcc8ccd4666e491cf0aa864c | [
"BSD-3-Clause"
] | null | null | null | docs/html/GeometryStage_8h_source.html | kostrykin/Carna | 099783bb7f8a6f52fcc8ccd4666e491cf0aa864c | [
"BSD-3-Clause"
] | null | null | null | docs/html/GeometryStage_8h_source.html | kostrykin/Carna | 099783bb7f8a6f52fcc8ccd4666e491cf0aa864c | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | 475.804878 | 40,547 | 0.701917 |
dde4bc5a48fe45eb2fbdaa0e1761bd084350affb | 1,015 | php | PHP | Modules/Installer/Events/LaravelInstallerFinished.php | thuandinhglink/laravel5-to-heroku | a0c629a4bbb76289fc67da4bad712c061e56d7e4 | [
"MIT"
] | null | null | null | Modules/Installer/Events/LaravelInstallerFinished.php | thuandinhglink/laravel5-to-heroku | a0c629a4bbb76289fc67da4bad712c061e56d7e4 | [
"MIT"
] | null | null | null | Modules/Installer/Events/LaravelInstallerFinished.php | thuandinhglink/laravel5-to-heroku | a0c629a4bbb76289fc67da4bad712c061e56d7e4 | [
"MIT"
] | 1 | 2021-12-23T14:28:08.000Z | 2021-12-23T14:28:08.000Z | <?php
namespace Modules\Installer\Events;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
/**
* Class LaravelInstallerFinished
*
* The class is Defined for LaravelInstallerFinished.
*
* PHP version 7.1.3
*
* @category Admi... | 21.145833 | 61 | 0.66601 |
73872034eb5dad88718770db114e8972532cc262 | 5,659 | rs | Rust | src/results/svg_graph.rs | DTM9025/feh-sim-seed | e20a0b59b1c17bbeed26200351712f274f9a902a | [
"MIT"
] | 4 | 2019-06-08T10:58:47.000Z | 2022-02-22T03:16:46.000Z | src/results/svg_graph.rs | DTM9025/feh-sim-seed | e20a0b59b1c17bbeed26200351712f274f9a902a | [
"MIT"
] | null | null | null | src/results/svg_graph.rs | DTM9025/feh-sim-seed | e20a0b59b1c17bbeed26200351712f274f9a902a | [
"MIT"
] | 1 | 2021-01-22T02:09:24.000Z | 2021-01-22T02:09:24.000Z | use seed::prelude::*;
use std::fmt::Write;
use wasm_bindgen::JsCast;
use crate::counter::Counter;
use crate::stats;
use crate::Msg;
const XMIN: f32 = 0.0;
const YMIN: f32 = 0.0;
const WIDTH: f32 = 100.0;
const HEIGHT: f32 = 60.0;
/// SVG elements for displaying the results within the graph. If `highlight` is
/// gi... | 34.506098 | 96 | 0.4651 |
3eed958f450b5cd4d72535645a1d10188d3245bd | 5,918 | h | C | aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/DeleteChangeSetRequest.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/DeleteChangeSetRequest.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/DeleteChangeSetRequest.h | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 36.530864 | 127 | 0.68148 |
75ec1d619b793162c0e5c61084d94293d55db0d8 | 317 | php | PHP | resources/views/clientes/resultado.blade.php | diogoko/fatec_t13 | ab5bf4705857749f94c1bef4fde48ac82161533e | [
"MIT"
] | null | null | null | resources/views/clientes/resultado.blade.php | diogoko/fatec_t13 | ab5bf4705857749f94c1bef4fde48ac82161533e | [
"MIT"
] | null | null | null | resources/views/clientes/resultado.blade.php | diogoko/fatec_t13 | ab5bf4705857749f94c1bef4fde48ac82161533e | [
"MIT"
] | null | null | null | @extends('layout')
@section('conteudo')
<div>
<p>Nome</p>
<p>{{ $nome }}</p>
</div>
<div>
<p>Nascimento</p>
<p>{{ $nascimento }}</p>
</div>
<div>
<p>Idade</p>
<p>{{ $idade }}</p>
</div>
@endsection
@section('titulo', 'Resultado da operação')
| 15.85 | 43 | 0.435331 |
0b61d6924578e04d8bbfa01176c73eece0bd32ef | 2,484 | py | Python | nova/tests/test_hooks.py | bopopescu/zknova | 8dd09199f5678697be228ffceeaf2c16f6d7319d | [
"Apache-2.0"
] | null | null | null | nova/tests/test_hooks.py | bopopescu/zknova | 8dd09199f5678697be228ffceeaf2c16f6d7319d | [
"Apache-2.0"
] | null | null | null | nova/tests/test_hooks.py | bopopescu/zknova | 8dd09199f5678697be228ffceeaf2c16f6d7319d | [
"Apache-2.0"
] | 1 | 2020-07-24T08:25:25.000Z | 2020-07-24T08:25:25.000Z | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 OpenStack, LLC.
# 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... | 28.227273 | 78 | 0.654187 |
e49918e5329ac582eff34892048cb6cb06da0b3e | 666 | lua | Lua | lib/acid/bisect.lua | wenbobuaa/lua-acid | 906260e1dc42b26353c3b8fa24ca94653536e56e | [
"MIT"
] | 10 | 2017-03-02T05:54:11.000Z | 2018-02-27T07:06:27.000Z | lib/acid/bisect.lua | wenbobuaa/lua-acid | 906260e1dc42b26353c3b8fa24ca94653536e56e | [
"MIT"
] | 37 | 2017-04-11T06:33:49.000Z | 2018-04-03T03:56:11.000Z | lib/acid/bisect.lua | wenbobuaa/lua-acid | 906260e1dc42b26353c3b8fa24ca94653536e56e | [
"MIT"
] | 4 | 2017-08-28T08:36:06.000Z | 2018-03-22T03:00:43.000Z | local tableutil = require('acid.tableutil')
local _M = {}
function _M.search(array, key, opts)
-- Return boolean `found` and int `index` so that:
--
-- array[index] <= key < array[index + 1]
opts = opts or {}
local cmp = opts.cmp or tableutil.cmp_list
local l = 0
local r = #array... | 17.076923 | 54 | 0.503003 |
ddf587878b1ba887179c8802a36529f8e83c94e0 | 3,947 | php | PHP | resources/views/users/index.blade.php | sultan1311/saga | d05bc6a7c939c98d0c627504291f260be7785e43 | [
"MIT"
] | null | null | null | resources/views/users/index.blade.php | sultan1311/saga | d05bc6a7c939c98d0c627504291f260be7785e43 | [
"MIT"
] | null | null | null | resources/views/users/index.blade.php | sultan1311/saga | d05bc6a7c939c98d0c627504291f260be7785e43 | [
"MIT"
] | null | null | null | @extends('template.header')
@section('content')
<div class="content-page">
<!-- Start content -->
<div class="content">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="card-box table-responsive">
<a h... | 51.25974 | 120 | 0.266785 |