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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b094683dcd5ac0d963e6c31a8132bfcc953ec09e | 1,751 | py | Python | Scripts/core/sims4/random.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/core/sims4/random.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | Scripts/core/sims4/random.py | velocist/TS4CheatsInfo | b59ea7e5f4bd01d3b3bd7603843d525a9c179867 | [
"Apache-2.0"
] | null | null | null | # uncompyle6 version 3.7.4
# Python bytecode 3.7 (3394)
# Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: T:\InGame\Gameplay\Scripts\Core\sims4\random.py
# Compiled at: 2014-10-10 00:35:00
# Size of source mod 2**32: 3002 bytes
from random ... | 32.425926 | 107 | 0.70474 |
5d6ea006c9d4b15be117a54deaf32d513ac3257c | 225 | dart | Dart | lib/app/core/spacing/shape.dart | guikebr/estacionamento | bde92ac4d50d578548a70b2ebcdf4a63ccea0bcc | [
"MIT"
] | null | null | null | lib/app/core/spacing/shape.dart | guikebr/estacionamento | bde92ac4d50d578548a70b2ebcdf4a63ccea0bcc | [
"MIT"
] | null | null | null | lib/app/core/spacing/shape.dart | guikebr/estacionamento | bde92ac4d50d578548a70b2ebcdf4a63ccea0bcc | [
"MIT"
] | null | null | null | class Shape {
const Shape();
double get sharp => 0;
double get xsmall => 4;
double get small => 8;
double get medium => 16;
double get large => 24;
double get xlarge => 32;
double get rounded => 0.5;
}
| 12.5 | 28 | 0.595556 |
7eba82fe14cfb2fbba4feefe86fc2fec9955cb71 | 1,627 | rs | Rust | src/nu.rs | bluk/nu_plugin_from_bencode | 34249042b7b34fea043105aaf438bbc302cf13f2 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/nu.rs | bluk/nu_plugin_from_bencode | 34249042b7b34fea043105aaf438bbc302cf13f2 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/nu.rs | bluk/nu_plugin_from_bencode | 34249042b7b34fea043105aaf438bbc302cf13f2 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright 2022 Bryant Luk
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to t... | 31.288462 | 123 | 0.623848 |
cc4c6169a8e731cf1c3d9c6828b7b199a3f8b89e | 310 | kt | Kotlin | src/main/kotlin/com/runyu/wechat/msg/cus/CusMsgVoice.kt | Miao4099/VertxGo | 746886bd5e113cbc0750198a019aa28c3b625f19 | [
"MIT"
] | 2 | 2020-08-06T09:34:00.000Z | 2020-08-11T00:11:36.000Z | src/main/kotlin/com/runyu/wechat/msg/cus/CusMsgVoice.kt | Miao4099/VertxGo | 746886bd5e113cbc0750198a019aa28c3b625f19 | [
"MIT"
] | null | null | null | src/main/kotlin/com/runyu/wechat/msg/cus/CusMsgVoice.kt | Miao4099/VertxGo | 746886bd5e113cbc0750198a019aa28c3b625f19 | [
"MIT"
] | null | null | null | package com.runyu.wechat.msg.cus
/**
* Created by sheng on 2017/11/7.
*/
class CusMsgVoice(toUser:String): CusMsg(toUser,"voice"){
constructor(toUser:String, mediaId:String) : this(toUser) {
var j=io.vertx.core.json.JsonObject()
j.put("media_id",mediaId)
put("voice",j)
}
} | 22.142857 | 63 | 0.63871 |
937335edf44e421d00fd96477fde09984e141943 | 1,318 | sql | SQL | init/procedures/Detection/GetDetectionInfoAfter.sql | devnw/aegis | 61a1ad3018e3df4e1fb872285236647aa496c287 | [
"Apache-2.0"
] | null | null | null | init/procedures/Detection/GetDetectionInfoAfter.sql | devnw/aegis | 61a1ad3018e3df4e1fb872285236647aa496c287 | [
"Apache-2.0"
] | 15 | 2021-01-21T16:31:08.000Z | 2021-05-03T19:56:58.000Z | init/procedures/Detection/GetDetectionInfoAfter.sql | mwilliams7197/aegis | 5f8c8e734c29bcd5fb91b0cce7fe519328ddd62a | [
"Apache-2.0"
] | null | null | null | /*
RETURN DetectionInfo
ID NVARCHAR(36) NOT
OrganizationID NVARCHAR(36) NOT
SourceID NVARCHAR(36) NOT
DeviceID NVARCHAR(36) NOT
VulnerabilityID NVARCHAR(36) NOT
IgnoreID VARCHAR(36) NULL
AlertDate DATETIME NOT
LastFound ... | 29.954545 | 146 | 0.597117 |
45955696ebf893d2ac8c670a1f35f666e83759b9 | 3,124 | py | Python | qark/issue.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 2,943 | 2015-08-14T22:05:40.000Z | 2022-03-29T09:17:43.000Z | qark/issue.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 254 | 2015-08-16T06:38:35.000Z | 2022-02-11T14:02:23.000Z | qark/issue.py | op01/qark | 0acf116ece6d62ecb4a310b6dea402b8ac884160 | [
"Apache-2.0",
"OpenSSL"
] | 672 | 2015-08-17T03:27:13.000Z | 2022-03-28T05:08:04.000Z | import logging
from copy import deepcopy
from enum import Enum
from json import JSONEncoder, dumps
log = logging.getLogger(__name__)
class Issue(object):
def __init__(self, category, name, severity, description, line_number=None, file_object=None, apk_exploit_dict=None):
"""
Create a vulnerabilit... | 38.567901 | 140 | 0.604994 |
6b7cb64fc7cd6524ffebd48cb5cee36307acdf5a | 106 | js | JavaScript | test/plugin/index.js | IMSupperkaka/z-qiniu-webpack-plugin | f81095b48be4d794015992988927f93953abc800 | [
"MIT"
] | 2 | 2020-07-21T16:38:31.000Z | 2020-07-22T02:02:26.000Z | test/plugin/index.js | IMSupperkaka/z-qiniu-webpack-plugin | f81095b48be4d794015992988927f93953abc800 | [
"MIT"
] | null | null | null | test/plugin/index.js | IMSupperkaka/z-qiniu-webpack-plugin | f81095b48be4d794015992988927f93953abc800 | [
"MIT"
] | null | null | null |
const testfunc = () => {
import('lodash');
console.log('test test');
}
export default testfunc;
| 13.25 | 29 | 0.603774 |
44348e69bd00c61dbc6f5a2fa68fa0ad6767c0a1 | 1,371 | py | Python | argminCVX.py | rameezw/BanditDynamicPricing | 352d5ccadb40a25601f12000b4df2e4703980bbb | [
"MIT"
] | null | null | null | argminCVX.py | rameezw/BanditDynamicPricing | 352d5ccadb40a25601f12000b4df2e4703980bbb | [
"MIT"
] | null | null | null | argminCVX.py | rameezw/BanditDynamicPricing | 352d5ccadb40a25601f12000b4df2e4703980bbb | [
"MIT"
] | null | null | null | """implementation of argmin step"""
from scipy import optimize
import numpy as np
from BanditPricing import randUnitVector
def argmin(eta, s_radius, barrier, g_bar_aggr_t, g_tilde, d, max_iter = 1e4):
#implement argmin_ball(eta * (g_bar_1:t + g_tilde_t+1)^T x + barrier(x)
#argmin is over ball with radius r
... | 44.225806 | 101 | 0.628738 |
2f153a3388a5dc0975d9d7a61699188ee568a6a5 | 483 | js | JavaScript | src/components/product.js | SHRA-NITRR/search-demo | 997e0949c84a5bdb9b474a265df0bb20d1cf0e82 | [
"MIT"
] | null | null | null | src/components/product.js | SHRA-NITRR/search-demo | 997e0949c84a5bdb9b474a265df0bb20d1cf0e82 | [
"MIT"
] | null | null | null | src/components/product.js | SHRA-NITRR/search-demo | 997e0949c84a5bdb9b474a265df0bb20d1cf0e82 | [
"MIT"
] | null | null | null | import React from 'react';
const Product=(props)=>{
const {name, price, stocked}=props.productDetails;
return(
<div className='panel panel-default'>
<div className="panel-body product-details">
<span className={stocked?'prd-name':'prd-name text-danger'}>{name}</... | 28.411765 | 93 | 0.52795 |
38da4580045f194f7da2391fdf6ee037f846d285 | 480 | php | PHP | application/controllers/Home.php | najmisania/Skripsi | 03fd87610217b17160f0f14ac72097a53cd1df7d | [
"MIT"
] | null | null | null | application/controllers/Home.php | najmisania/Skripsi | 03fd87610217b17160f0f14ac72097a53cd1df7d | [
"MIT"
] | null | null | null | application/controllers/Home.php | najmisania/Skripsi | 03fd87610217b17160f0f14ac72097a53cd1df7d | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller {
public function index()
{
$query = $this->db->select('*')
->from('wisata_bogor')
->get()
->result();
// SELECT * FROM wisata_bogor WHERE jenis_wisata = 'alam'
// echo "<pre>";
/... | 20 | 63 | 0.585417 |
1a074861ffb87a24f55882426ddb98650d8ef33d | 808 | lua | Lua | 0.17/JoinAndPlayCoop-Scenario-Labyrinth-0.17/session_data/jCJIGWdCvCPywhlG.lua | joinandplaycoop/Factorio-Scenarios | 252c52dad35a73562880266bb7a09b9d266e8d4d | [
"Apache-2.0"
] | 3 | 2019-05-21T11:56:52.000Z | 2020-08-13T03:43:02.000Z | 0.17/JoinAndPlayCoop-Scenario-Maze-0.17/session_data/jCJIGWdCvCPywhlG.lua | IIPoliII/Factorio-Scenarios | 23d5630f8f1ec0703a289262101bfb99056025b1 | [
"Apache-2.0"
] | 8 | 2019-08-05T00:57:04.000Z | 2020-07-09T10:29:46.000Z | 0.17/JoinAndPlayCoop-Scenario-Maze-0.17/session_data/jCJIGWdCvCPywhlG.lua | IIPoliII/Factorio-Scenarios | 23d5630f8f1ec0703a289262101bfb99056025b1 | [
"Apache-2.0"
] | 6 | 2019-08-11T20:56:30.000Z | 2021-10-07T16:04:37.000Z | local playsession = {
{"mikeike68", {146345}},
{"neuro666", {718998}},
{"kalenmonster", {530912}},
{"lluceu", {217022}},
{"Gorlos", {156632}},
{"noga89", {5937}},
{"GuidoCram", {199263}},
{"jeffertoot", {561019}},
{"Pucio", {593923}},
{"juggernautlegend", {463552}},
{"beranabus", {111625}},
{"Rezz", {55371}... | 23.764706 | 32 | 0.568069 |
7988fc146ecb5ab0e038ef339b397e8e8ed3d86e | 84 | php | PHP | sidebar.php | ahwgs/iStar | e790bffb51318a5c409f1e125ae49c28c651d127 | [
"MIT"
] | 3 | 2019-01-11T12:59:49.000Z | 2020-06-06T11:05:22.000Z | sidebar.php | ahwgs/iStar | e790bffb51318a5c409f1e125ae49c28c651d127 | [
"MIT"
] | null | null | null | sidebar.php | ahwgs/iStar | e790bffb51318a5c409f1e125ae49c28c651d127 | [
"MIT"
] | null | null | null |
<aside id="aside" class="fr">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside> | 21 | 42 | 0.595238 |
c689230d9dc2a36464a9faa3b251d5048b751184 | 26,807 | py | Python | scripts/clean.py | cuddebtj/Fantasy-Sidelines | 54847ff6673ab2b77da2089599f7db4b19c89ce7 | [
"MIT"
] | null | null | null | scripts/clean.py | cuddebtj/Fantasy-Sidelines | 54847ff6673ab2b77da2089599f7db4b19c89ce7 | [
"MIT"
] | null | null | null | scripts/clean.py | cuddebtj/Fantasy-Sidelines | 54847ff6673ab2b77da2089599f7db4b19c89ce7 | [
"MIT"
] | null | null | null | from api import SportRadar
# from api import MySportsFeeds
import pandas as pd
import numpy as np
import time
import gspread
import re
from gspread_pandas import Spread
def schedule_clean(data):
schedule = pd.DataFrame()
season = pd.json_normalize(data).add_prefix("season.")
season_weeks = pd.json_norma... | 34.149045 | 88 | 0.47372 |
68dd88f1a35e4588cee95b65c63ae24ba550e14f | 418 | rb | Ruby | app/models/preneeds/state.rb | gg-1414/vets-api | 263c29fa2c6e5dce50c962b068e38019eff61906 | [
"CC0-1.0"
] | null | null | null | app/models/preneeds/state.rb | gg-1414/vets-api | 263c29fa2c6e5dce50c962b068e38019eff61906 | [
"CC0-1.0"
] | null | null | null | app/models/preneeds/state.rb | gg-1414/vets-api | 263c29fa2c6e5dce50c962b068e38019eff61906 | [
"CC0-1.0"
] | null | null | null | # frozen_string_literal: true
require 'common/models/base'
module Preneeds
class State < Common::Base
attribute :code, String
attribute :name, String
attribute :first_five_zip, String
attribute :last_five_zip, String
attribute :lower_indicator, String
def id
code
end
# Defaul... | 18.173913 | 46 | 0.677033 |
ef84e1e896bdb6b7da06752ca1927e1a746ceef3 | 32,552 | c | C | syslinux/com32/gpllib/dmi/dmi.c | TooDumbForAName/modern-boot-floppy | c0f4352ee356aab3f31d214af73d2462bde28198 | [
"BSD-2-Clause"
] | null | null | null | syslinux/com32/gpllib/dmi/dmi.c | TooDumbForAName/modern-boot-floppy | c0f4352ee356aab3f31d214af73d2462bde28198 | [
"BSD-2-Clause"
] | null | null | null | syslinux/com32/gpllib/dmi/dmi.c | TooDumbForAName/modern-boot-floppy | c0f4352ee356aab3f31d214af73d2462bde28198 | [
"BSD-2-Clause"
] | null | null | null | /* ----------------------------------------------------------------------- *
*
* Copyright 2006 Erwan Velu - All Rights Reserved
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Softwar... | 31.269933 | 126 | 0.641957 |
ed68705ba33b3d027873df7cad14702b07b9578a | 9,585 | h | C | src/vscp_type_multimedia.h | BlueAndi/vscp-framework | a9650a2163519212be2c07c541518d646c8acd0f | [
"MIT"
] | 13 | 2015-10-29T17:12:21.000Z | 2021-02-07T19:56:46.000Z | src/vscp_type_multimedia.h | BlueAndi/vscp-framework | a9650a2163519212be2c07c541518d646c8acd0f | [
"MIT"
] | 36 | 2015-04-21T16:35:03.000Z | 2021-09-16T15:15:26.000Z | src/vscp_type_multimedia.h | BlueAndi/vscp-framework | a9650a2163519212be2c07c541518d646c8acd0f | [
"MIT"
] | 16 | 2015-09-15T12:53:52.000Z | 2021-11-19T20:29:24.000Z | /* The MIT License (MIT)
*
* Copyright (c) 2014 - 2021, Andreas Merkle
* http://www.blue-andi.de
* vscp@blue-andi.de
*
* 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 ... | 31.738411 | 103 | 0.597392 |
469f87671c8f22fd813e378273bd1384e17addad | 17,894 | lua | Lua | CoreScripts/Modules/Server/ClientChat/ChatBar.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/Server/ClientChat/ChatBar.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/Server/ClientChat/ChatBar.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | -- // FileName: ChatBar.lua
-- // Written by: Xsitsu
-- // Description: Manages text typing and typing state.
local module = {}
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local TextService = game:GetService("... | 29.334426 | 141 | 0.783838 |
a3481e5e470efa84af8e35752c39c3422400991e | 4,341 | java | Java | java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java | kyowill/derby-10.0.2.1 | b30dddf5248b603291bdf509ba6b10efe6999609 | [
"Apache-2.0"
] | null | null | null | java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java | kyowill/derby-10.0.2.1 | b30dddf5248b603291bdf509ba6b10efe6999609 | [
"Apache-2.0"
] | null | null | null | java/engine/org/apache/derby/impl/sql/compile/BaseColumnNode.java | kyowill/derby-10.0.2.1 | b30dddf5248b603291bdf509ba6b10efe6999609 | [
"Apache-2.0"
] | null | null | null | /*
Derby - Class org.apache.derby.impl.sql.compile.BaseColumnNode
Copyright 1997, 2004 The Apache Software Foundation or its licensors, as applicable.
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 ... | 27.301887 | 87 | 0.711587 |
b2f0d88b4147086cb28bbc1ffe616c1cf2f1ddec | 118 | css | CSS | dist/web/css/src/card.min.css | appwebd/yii2-01-base-bootstrap | d85d36c2c0d298d3ccf09e8302602115c07ecf70 | [
"BSD-3-Clause"
] | null | null | null | dist/web/css/src/card.min.css | appwebd/yii2-01-base-bootstrap | d85d36c2c0d298d3ccf09e8302602115c07ecf70 | [
"BSD-3-Clause"
] | null | null | null | dist/web/css/src/card.min.css | appwebd/yii2-01-base-bootstrap | d85d36c2c0d298d3ccf09e8302602115c07ecf70 | [
"BSD-3-Clause"
] | null | null | null | .card-header-title{font-weight:bold}.card-header-background-login{background:var(--status-bar-background);color:white} | 118 | 118 | 0.813559 |
cc72a349e1978388a55f79deabef4349fd20deaa | 618 | rb | Ruby | recipes/yum_group_development_tools.rb | JamesJJ/chef_box_basic | 9bb1104f414dbd2c26105426a21d55d4a38a67bf | [
"MIT"
] | null | null | null | recipes/yum_group_development_tools.rb | JamesJJ/chef_box_basic | 9bb1104f414dbd2c26105426a21d55d4a38a67bf | [
"MIT"
] | null | null | null | recipes/yum_group_development_tools.rb | JamesJJ/chef_box_basic | 9bb1104f414dbd2c26105426a21d55d4a38a67bf | [
"MIT"
] | null | null | null | #
# Recipe:: yum_group_development_tools
#
_once_only_file = '/tmp/chef_box_basic_yum_group_install_development_tools'
bash "yum install 'Development tools' group" do
user "root"
cwd "/"
umask "033"
environment "PATH" => "/bin:/usr/bin:/sbin:/usr/sbin"
creates _once_only_file
code <<-EOH
touch '#{_onc... | 25.75 | 83 | 0.70712 |
382b1668b5c985d7aa8f539bc1ff150ed8100c1c | 216 | ps1 | PowerShell | src/AlbyOnContainers.Services.Catalog/Scripts/secrets.ps1 | alby-corp/alby-on-containers | 8c36480228e01b980a59e19a138a96fb7733ee28 | [
"Apache-2.0"
] | 1 | 2021-06-21T18:23:58.000Z | 2021-06-21T18:23:58.000Z | src/AlbyOnContainers.Services.Catalog/Scripts/secrets.ps1 | alby-corp/alby-on-containers | 8c36480228e01b980a59e19a138a96fb7733ee28 | [
"Apache-2.0"
] | 1 | 2021-01-31T09:22:37.000Z | 2021-01-31T09:22:37.000Z | src/AlbyOnContainers.Services.Catalog/Scripts/secrets.ps1 | alby-corp/alby-on-containers | 8c36480228e01b980a59e19a138a96fb7733ee28 | [
"Apache-2.0"
] | 1 | 2021-06-21T18:24:01.000Z | 2021-06-21T18:24:01.000Z | dotnet user-secrets set "ConnectionStrings:DefaultDatabase" "Host=postgres;Database=sherlock-development;Username=postgres;Password=postgres;Port=5432"
dotnet user-secrets remove "ConnectionStrings:DefaultDatabase" | 72 | 152 | 0.861111 |
094b234ec3bd9c7b5ba0a3196571b764987f701a | 163 | sql | SQL | sql/_17_sql_extension2/_01_acceptance_test/cases/stddev_samp.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_17_sql_extension2/_01_acceptance_test/cases/stddev_samp.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_17_sql_extension2/_01_acceptance_test/cases/stddev_samp.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | --STDDEV_SAMP FUNCTION
CREATE TABLE voo(a int);
INSERT INTO voo VALUES (1), (2), (3);
SELECT STDDEV_SAMP(a) FROM voo;
DROP TABLE voo;
SELECT STDDEV_SAMP(NULL);
| 16.3 | 37 | 0.717791 |
cf1dcc38f1d4c0bcf794ad9f0b7fb2cbf3f83c10 | 453 | php | PHP | resources/views/brand/brand.blade.php | xiaohai456/xiaohai | 05778068962b55c2678cf048c160a7b0b22e3919 | [
"MIT"
] | null | null | null | resources/views/brand/brand.blade.php | xiaohai456/xiaohai | 05778068962b55c2678cf048c160a7b0b22e3919 | [
"MIT"
] | null | null | null | resources/views/brand/brand.blade.php | xiaohai456/xiaohai | 05778068962b55c2678cf048c160a7b0b22e3919 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<form action="{{url('/brand/store')}}" method="post" enctype="multipart/form-data">
@csrf
品牌名称<input type="text" name="name"><br>
品牌网址<input type="text" name="zhi"><br>
描述<textarea name="shu" id="" cols="30"... | 26.647059 | 84 | 0.626932 |
331f525a868558baff83d19f8cd87d1ed97898d9 | 219 | go | Go | genuuid.go | krishnasrinivas/random-progs | 29b8334c42653dd27722375a7686302266a0b088 | [
"Apache-2.0"
] | null | null | null | genuuid.go | krishnasrinivas/random-progs | 29b8334c42653dd27722375a7686302266a0b088 | [
"Apache-2.0"
] | null | null | null | genuuid.go | krishnasrinivas/random-progs | 29b8334c42653dd27722375a7686302266a0b088 | [
"Apache-2.0"
] | null | null | null | package main
import (
"fmt"
"github.com/satori/go.uuid"
)
func main() {
fmt.Printf("filenames := {")
for i := 0; i < 100000; i++ {
uuid := uuid.NewV4().String()
fmt.Printf("%s, ", uuid)
}
fmt.Printf("}")
}
| 12.882353 | 31 | 0.557078 |
653b6fdc33ce0f5baf0ec2609e79eb28217f1bb3 | 13,421 | css | CSS | public/css/winning/infowindow.css | AndySR/wirent | 7a499f0e0388c18d88b60d12ee719a8d4c5d9fcd | [
"MIT"
] | null | null | null | public/css/winning/infowindow.css | AndySR/wirent | 7a499f0e0388c18d88b60d12ee719a8d4c5d9fcd | [
"MIT"
] | null | null | null | public/css/winning/infowindow.css | AndySR/wirent | 7a499f0e0388c18d88b60d12ee719a8d4c5d9fcd | [
"MIT"
] | null | null | null | .map-page {
/*position: relative;*/
}
.map-page .infowindow-container {
/*border: 2px solid #ccc;*/
background-color: white;
/*border-radius: 5px;*/
padding: 5px;
margin: 5px 0
}
.map-page .infowindow-container::after {
content: "";
clear: both;
display: table;
}
.map-page .infowindow-container img {... | 19.310791 | 93 | 0.649355 |
065b99222a64d845fa377a415976049c1c412892 | 1,051 | swift | Swift | IOS10CollisionDetectionTutorial/LineView.swift | sachanand/ioscreator | bbe83ccdcd0bc97916e99d80e7cd510689262d25 | [
"MIT"
] | null | null | null | IOS10CollisionDetectionTutorial/LineView.swift | sachanand/ioscreator | bbe83ccdcd0bc97916e99d80e7cd510689262d25 | [
"MIT"
] | null | null | null | IOS10CollisionDetectionTutorial/LineView.swift | sachanand/ioscreator | bbe83ccdcd0bc97916e99d80e7cd510689262d25 | [
"MIT"
] | null | null | null | //
// LineView.swift
// IOS10CollisionDetectionTutorial
//
// Created by Arthur Knopper on 18/04/2017.
// Copyright © 2017 Arthur Knopper. All rights reserved.
//
import UIKit
class LineView: UIView {
override func draw(_ rect: CGRect) {
drawLineFromPoint(fromX: 0, toPoint: bounds.size.... | 30.911765 | 120 | 0.655566 |
43f7f91b56deffb8a6c8aab7804fc84c8b6af860 | 2,198 | ps1 | PowerShell | PowerShell/Working/o365/ConnectToMultipleMSOnlineServices.ps1 | borkit/scriptdump | 86c622e7a5ce48c75efa9eceeac58b8c69e24973 | [
"MIT"
] | 4 | 2019-02-01T22:50:24.000Z | 2020-10-22T15:50:04.000Z | PowerShell/Working/o365/ConnectToMultipleMSOnlineServices.ps1 | borkit/scriptdump | 86c622e7a5ce48c75efa9eceeac58b8c69e24973 | [
"MIT"
] | null | null | null | PowerShell/Working/o365/ConnectToMultipleMSOnlineServices.ps1 | borkit/scriptdump | 86c622e7a5ce48c75efa9eceeac58b8c69e24973 | [
"MIT"
] | 2 | 2019-01-27T09:30:56.000Z | 2020-10-22T15:50:28.000Z | ## MSOnline: PowerShell Script that Connects to the PowerShell Modules for Core Office 365 (o365) Services ##
<#
Overview: PowerShell Script that connects to the following o365 MSOnline Services
- Azure Active Directory Module for Windows PowerShell (MSOnline)
- Skype for Business Online Windows PowerShell Module ... | 46.765957 | 202 | 0.824386 |
4bbb5ca8cd5733b47006b73aed9e2568dc58effe | 3,285 | h | C | uwsim_resources/uwsim_osgocean/include/OceanExample/Scene.h | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 1 | 2020-11-30T09:55:33.000Z | 2020-11-30T09:55:33.000Z | uwsim_resources/uwsim_osgocean/include/OceanExample/Scene.h | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | null | null | null | uwsim_resources/uwsim_osgocean/include/OceanExample/Scene.h | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 2 | 2020-11-21T19:50:54.000Z | 2020-12-27T09:35:29.000Z | #pragma once
#include <osg/Switch>
#include <osg/TextureCubeMap>
#include <osgText/Text>
#include <osgOcean/OceanScene>
#include <osgOcean/FFTOceanSurface>
#include <osgOcean/FFTOceanSurfaceVBO>
#include "SkyDome.h"
enum DrawMask
{
CAST_SHADOW = (0x1<<30),
RECEIVE_SHADOW ... | 28.565217 | 111 | 0.631963 |
7e619539929b254a7ca5ce138a8b7883023e2877 | 1,065 | kt | Kotlin | covpass-sdk/src/main/java/de/rki/covpass/sdk/cert/models/Recovery.kt | G00fY2/covpass-android | 41f79b787d87c14f628da8a6eb863afc00a0e1e5 | [
"Apache-2.0"
] | 175 | 2021-06-16T07:57:22.000Z | 2022-03-17T19:35:33.000Z | covpass-sdk/src/main/java/de/rki/covpass/sdk/cert/models/Recovery.kt | G00fY2/covpass-android | 41f79b787d87c14f628da8a6eb863afc00a0e1e5 | [
"Apache-2.0"
] | 164 | 2021-06-16T12:15:53.000Z | 2022-03-31T13:24:15.000Z | covpass-sdk/src/main/java/de/rki/covpass/sdk/cert/models/Recovery.kt | G00fY2/covpass-android | 41f79b787d87c14f628da8a6eb863afc00a0e1e5 | [
"Apache-2.0"
] | 105 | 2021-06-17T19:10:54.000Z | 2022-03-26T10:48:27.000Z | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.sdk.cert.models
import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import java.time.LocalDate
/**
* Enum to mark the type of a [Recovery].
... | 22.659574 | 68 | 0.679812 |
17eea714d5de489d7e6558cb0c25ade9f13a361c | 808 | rb | Ruby | lib/whatweb/plugins/adsubtract.rb | ninoseki/SimpleWhatWeb | 8ba51cfec0179333ca0742fdbd10ade9b9c67425 | [
"MIT"
] | 6 | 2018-08-18T23:15:53.000Z | 2021-04-01T06:58:08.000Z | lib/whatweb/plugins/adsubtract.rb | ninoseki/SimpleWhatWeb | 8ba51cfec0179333ca0742fdbd10ade9b9c67425 | [
"MIT"
] | 16 | 2018-08-19T00:34:03.000Z | 2020-08-07T01:19:09.000Z | lib/whatweb/plugins/adsubtract.rb | ninoseki/SimpleWhatWeb | 8ba51cfec0179333ca0742fdbd10ade9b9c67425 | [
"MIT"
] | 2 | 2020-11-04T06:31:49.000Z | 2020-11-06T11:01:53.000Z | # frozen_string_literal: true
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
# Version 0.2 # 2016-04-18 # Andrew Horton
#... | 31.076923 | 72 | 0.706683 |
45bfd0eacac3feb1e8207731f6920217d4c1c43f | 1,233 | py | Python | sentiment_analysis_nltk.py | ss-sathishsampath/Sentiment_Analysis_Movie_Reviews | d9166b73e8f675ac84620542e6b3bb349e89c234 | [
"Apache-2.0"
] | null | null | null | sentiment_analysis_nltk.py | ss-sathishsampath/Sentiment_Analysis_Movie_Reviews | d9166b73e8f675ac84620542e6b3bb349e89c234 | [
"Apache-2.0"
] | null | null | null | sentiment_analysis_nltk.py | ss-sathishsampath/Sentiment_Analysis_Movie_Reviews | d9166b73e8f675ac84620542e6b3bb349e89c234 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Sentiment Analysis-Movie Reviews using NLTK
@author: Sathish Sampath(ss.sathishsampath@gmail.com)
Developed as part of Microsoft's NLP MOOC(https://www.edx.org/course/natural-language-processing-nlp)
"""
# movie reviews / sentiment analysis
import nltk
from nltk.corpus import movie_rev... | 24.66 | 103 | 0.726683 |
b6de606d7fe885f7d056afe297aeb9eb0e9c7df6 | 876 | swift | Swift | DPSlideMenuKitDemo/DPSlideMenuKitDemo/DPSlideMenuKit/DPBaseEmbedViewController.swift | EchoLiao/DPSlideMenuKit-Swift | 66243b9c4e289d3525696791f86aa5f8292fad60 | [
"MIT"
] | null | null | null | DPSlideMenuKitDemo/DPSlideMenuKitDemo/DPSlideMenuKit/DPBaseEmbedViewController.swift | EchoLiao/DPSlideMenuKit-Swift | 66243b9c4e289d3525696791f86aa5f8292fad60 | [
"MIT"
] | null | null | null | DPSlideMenuKitDemo/DPSlideMenuKitDemo/DPSlideMenuKit/DPBaseEmbedViewController.swift | EchoLiao/DPSlideMenuKit-Swift | 66243b9c4e289d3525696791f86aa5f8292fad60 | [
"MIT"
] | null | null | null | //
// DPBaseEmbedViewController.swift
// DPSlideMenuKitDemo
//
// Created by Hongli Yu on 11/07/2017.
// Copyright © 2017 Hongli Yu. All rights reserved.
//
import UIKit
open class DPBaseEmbedViewController: UIViewController {
fileprivate (set) var positionState: DPEmbedViewControllerPositionState = .left
... | 23.675676 | 87 | 0.729452 |
321d9ec9fe2961e0d05176a84f3f529833f1f709 | 1,436 | dart | Dart | lib/widgets/fileBrowser.dart | nchartiot/giffer | b2b75cdd3f3e3fc75cbe68e76380e276796efbb8 | [
"MIT"
] | null | null | null | lib/widgets/fileBrowser.dart | nchartiot/giffer | b2b75cdd3f3e3fc75cbe68e76380e276796efbb8 | [
"MIT"
] | null | null | null | lib/widgets/fileBrowser.dart | nchartiot/giffer | b2b75cdd3f3e3fc75cbe68e76380e276796efbb8 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:file_picker/file_picker.dart';
void main() => runApp(new FileBrowser());
class FileBrowser extends StatefulWidget {
@override
_FileBrowserState createState() => new _FileBrowserState();
}
class _FileBrowserState exten... | 25.192982 | 66 | 0.648329 |
38b910c82c47ffeb29c956d5439e546a7a845488 | 331 | php | PHP | app/Models/ModelHasPermissionsModel.php | sheshkumarp/chai | 7edd413644da540c6e05105ff6426a2dcaea54f9 | [
"MIT"
] | null | null | null | app/Models/ModelHasPermissionsModel.php | sheshkumarp/chai | 7edd413644da540c6e05105ff6426a2dcaea54f9 | [
"MIT"
] | null | null | null | app/Models/ModelHasPermissionsModel.php | sheshkumarp/chai | 7edd413644da540c6e05105ff6426a2dcaea54f9 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Spatie\Permission\Models\Permission;
class ModelHasPermissionsModel extends Model
{
protected $table = 'model_has_permissions';
public function permissions()
{
return $this->belongsTo(Permission::class, 'permission_id', 'id'... | 18.388889 | 71 | 0.725076 |
0d413bb6fb4f6ba7912012917443bf09e6ec8d11 | 20,265 | c | C | third-party/libfabric/libfabric-src/prov/efa/src/rxr/rxr_read.c | kamleshbhalui/chapel | 275f4fe65997bca8cbdba6079a37ccc7157f5676 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2018-01-16T20:08:24.000Z | 2018-01-31T17:05:32.000Z | third-party/libfabric/libfabric-src/prov/efa/src/rxr/rxr_read.c | kamleshbhalui/chapel | 275f4fe65997bca8cbdba6079a37ccc7157f5676 | [
"ECL-2.0",
"Apache-2.0"
] | 18 | 2022-03-08T13:46:16.000Z | 2022-03-23T15:30:29.000Z | third-party/libfabric/libfabric-src/prov/efa/src/rxr/rxr_read.c | benharsh/chapel | e4efca905abda765881e834c79abe2854aa9aa5d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019-2020 Amazon.com, Inc. or its affiliates.
* All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main ... | 31.081288 | 106 | 0.716506 |
726de88626ac63c8e1e8b66e5df3c794fb135a43 | 186 | swift | Swift | Sampleapp/CombineCollection/CombineCollection/API/DogImageListLoader.swift | stzn/CombineStudy | 1de9f1a8f34fe61e8f95438142ced2db080c6472 | [
"MIT"
] | 27 | 2020-09-20T02:30:26.000Z | 2022-01-21T15:23:28.000Z | Schedulers/CombineCollection_RunOnMainScheduler/CombineCollection/API/DogImageListLoader.swift | stzn/CombineStudy | 1de9f1a8f34fe61e8f95438142ced2db080c6472 | [
"MIT"
] | null | null | null | Schedulers/CombineCollection_RunOnMainScheduler/CombineCollection/API/DogImageListLoader.swift | stzn/CombineStudy | 1de9f1a8f34fe61e8f95438142ced2db080c6472 | [
"MIT"
] | 1 | 2020-09-20T06:30:36.000Z | 2020-09-20T06:30:36.000Z | //
// DogImageListLoader.swift
// CombineCollection
//
//
import Combine
import Foundation
struct DogImageListLoader {
let load: (BreedType) -> AnyPublisher<[DogImage], Error>
}
| 14.307692 | 60 | 0.72043 |
f4cc691825080edff871a76fc0145e4eff1a5d5f | 588 | tsx | TypeScript | template/packages/frontend/stories/Title.stories.tsx | Originate/create-originate-app | 1a0f019b8e1acb5bb712f7cc0bac0f15af2f1621 | [
"MIT"
] | 6 | 2020-10-26T16:53:38.000Z | 2021-09-26T06:40:34.000Z | template/packages/frontend/stories/Title.stories.tsx | Originate/create-originate-app | 1a0f019b8e1acb5bb712f7cc0bac0f15af2f1621 | [
"MIT"
] | 196 | 2020-09-08T17:53:25.000Z | 2022-02-27T09:59:30.000Z | template/packages/frontend/stories/Title.stories.tsx | Originate/create-originate-app | 1a0f019b8e1acb5bb712f7cc0bac0f15af2f1621 | [
"MIT"
] | null | null | null | import * as React from "react"
import { storiesOf } from "@storybook/react"
import { Title } from "../components/IndexStyles"
import { theme } from "../components/Theme"
import { GlobalStyle } from "../components/GlobalStyles"
import { ThemeProvider } from "styled-components"
storiesOf("Title", module).add("with text"... | 28 | 64 | 0.62415 |
44689eb1c353f9b02a6afaeadb0ae3553e6686c3 | 1,104 | py | Python | ratio/cifar10_resnet34_ratio_alpha_0_beta_0.75/ratio.py | guoyurong0104/CRL-code | 276466a64823c5bd1645317b6cfb7ee12d3ba735 | [
"MIT"
] | 1 | 2022-02-23T04:30:00.000Z | 2022-02-23T04:30:00.000Z | ratio/cifar10_resnet34_ratio_alpha_0_beta_0.75/ratio.py | guoyurong0104/CRL-code | 276466a64823c5bd1645317b6cfb7ee12d3ba735 | [
"MIT"
] | null | null | null | ratio/cifar10_resnet34_ratio_alpha_0_beta_0.75/ratio.py | guoyurong0104/CRL-code | 276466a64823c5bd1645317b6cfb7ee12d3ba735 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.autograd import Variable
#对Variable操作如果直接使用索引,梯度不传播
import torch
import torch.nn as nn
import torch.nn.functional as F
def one_hot(index,classes):
N=index.size(0)
onehot = torch.zeros(N, classes).lo... | 28.307692 | 120 | 0.630435 |
06bc576c973669ef151ea9d80bba623dde84b7f9 | 210,909 | py | Python | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 173 | 2017-12-24T07:35:01.000Z | 2022-03-08T17:31:20.000Z | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 130 | 2017-12-16T16:08:37.000Z | 2022-03-21T09:46:39.000Z | opem/Script.py | Martenet/opem | 3b386b14bbd5d2cc5a376a7fc80c7d93dd7523f5 | [
"MIT"
] | 45 | 2017-12-16T16:05:58.000Z | 2022-02-28T17:43:12.000Z | # -*- coding: utf-8 -*-
"""Chart.js script."""
JS_SCRIPT = r'''
/*!
* Chart.js
* http://chartjs.org/
* Version: 2.7.1
*
* Copyright 2017 Nick Downie
* Released under the MIT license
* https://github.com/chartjs/Chart.js/blob/master/LICENSE.md
*/
!function(t){if("object"==typeof exports&&"undefined"!=typeof modu... | 1,687.272 | 208,031 | 0.687794 |
7b127291a4c09a31933284ffd9d006abb255a03a | 12,432 | lua | Lua | ExtraShipClassesCore/data/scripts/lib/esccutil.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | ExtraShipClassesCore/data/scripts/lib/esccutil.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | ExtraShipClassesCore/data/scripts/lib/esccutil.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | package.path = package.path .. ";data/scripts/lib/?.lua"
package.path = package.path .. ";data/scripts/?.lua"
include ("galaxy")
--See pirategenerator.lua for a better description of exactly what these ships do.
--fairly standard table of spawns by danger level. Scorchers (very dangerous shield-killing ships) don't s... | 45.538462 | 219 | 0.636422 |
2a7536c6fb7208489b539d4a32f3f3de28116b5f | 8,377 | rs | Rust | db/src/lib.rs | tmokenc/tomoka-rs | 4824962b38bca7a774e03e5d03cbe801ad9e87c8 | [
"MIT"
] | null | null | null | db/src/lib.rs | tmokenc/tomoka-rs | 4824962b38bca7a774e03e5d03cbe801ad9e87c8 | [
"MIT"
] | null | null | null | db/src/lib.rs | tmokenc/tomoka-rs | 4824962b38bca7a774e03e5d03cbe801ad9e87c8 | [
"MIT"
] | null | null | null | use bincode::config::{BigEndian, DefaultOptions, Options, WithOtherEndian};
use lazy_static::lazy_static;
use log::error;
use serde::de::DeserializeOwned;
use serde::ser::Serialize;
use sled::{Db, Tree};
use std::error::Error;
use std::marker::PhantomData;
use std::path::Path;
use std::sync::Arc;
type Manager = Arc<Db... | 26.178125 | 110 | 0.508535 |
017074689565ee19675f0aaf7ad5d16b21998947 | 2,598 | asm | Assembly | libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/add_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 1,602 | 2015-01-06T11:26:31.000Z | 2022-03-30T06:17:21.000Z | libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/add_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/add_n.asm | kroggen/aergo | 05af317eaa1b62b21dc0144ef74a9e7acb14fb87 | [
"MIT"
] | 498 | 2015-01-08T18:58:18.000Z | 2022-03-20T15:37:45.000Z | dnl SPARC v9 mpn_add_n for T3/T4.
dnl Contributed to the GNU project by David Miller.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * ... | 20.456693 | 79 | 0.653965 |
6df8f052f270a66124cacce6d99424916729449e | 1,253 | c | C | src/draw/vfxs/sheared_rectangle.c | Stellaris-code/DanmakuParanoia | 8745ee76d66a6267974c7597b1e771027f4f3e97 | [
"MIT"
] | null | null | null | src/draw/vfxs/sheared_rectangle.c | Stellaris-code/DanmakuParanoia | 8745ee76d66a6267974c7597b1e771027f4f3e97 | [
"MIT"
] | null | null | null | src/draw/vfxs/sheared_rectangle.c | Stellaris-code/DanmakuParanoia | 8745ee76d66a6267974c7597b1e771027f4f3e97 | [
"MIT"
] | null | null | null | #include "draw/vfx.h"
#include <string.h>
#include "math/easing.h"
#include "draw/draw.h"
bool vfx_sheared_rectangle_draw(void* databuf, float time)
{
vfx_sheared_rectangle_info_t info;
memcpy(&info, databuf, sizeof(info)); // standard-compliant type-punning
if (info.persist)
{
if (time > in... | 25.571429 | 78 | 0.605746 |
a41c2bffd5d696b80b7e98205814e1f9454788a5 | 1,234 | php | PHP | src/Finder/Rql.php | Lukeboy25/jsonapi-rql-finder-bundle | 5165375885892d5cdff8346e18d2f4f22b05e035 | [
"MIT"
] | 7 | 2018-10-10T07:52:59.000Z | 2020-06-18T15:04:02.000Z | src/Finder/Rql.php | Lukeboy25/jsonapi-rql-finder-bundle | 5165375885892d5cdff8346e18d2f4f22b05e035 | [
"MIT"
] | 5 | 2019-09-13T10:01:03.000Z | 2022-03-21T15:17:16.000Z | src/Finder/Rql.php | Lukeboy25/jsonapi-rql-finder-bundle | 5165375885892d5cdff8346e18d2f4f22b05e035 | [
"MIT"
] | 3 | 2019-01-23T08:47:02.000Z | 2022-03-14T08:39:31.000Z | <?php
namespace Mnugter\JsonApiRqlFinderBundle\Finder;
use AndreasGlaser\DoctrineRql\Factory\ORMVisitorFactory;
use Doctrine\ORM\QueryBuilder;
use Paknahad\JsonApiBundle\Helper\FieldManager;
use Paknahad\JsonApiBundle\Helper\Filter\FinderInterface;
use Symfony\Component\HttpFoundation\Request;
class Rql implements F... | 18.984615 | 69 | 0.601297 |
b728245881598bd173e019180fb2863faf68151d | 1,845 | cpp | C++ | 1135/main.cpp | Heliovic/PAT_Solutions | 7c5dd554654045308f2341713c3e52cc790beb59 | [
"MIT"
] | 2 | 2019-03-18T12:55:38.000Z | 2019-09-07T10:11:26.000Z | 1135/main.cpp | Heliovic/My_PAT_Answer | 7c5dd554654045308f2341713c3e52cc790beb59 | [
"MIT"
] | null | null | null | 1135/main.cpp | Heliovic/My_PAT_Answer | 7c5dd554654045308f2341713c3e52cc790beb59 | [
"MIT"
] | null | null | null | #include <cstdio>
//#include <cstdlib>
#define MAX_N 64
#define RED -1
#define BLACK 1
using namespace std;
struct node
{
int type, data;
node* lc;
node* rc;
node() {lc = rc = NULL;}
};
int K, N;
node* root = NULL;
int black_cnt = -1;
bool is_rbtree = true;
void insert_bst(int data, node* & r, in... | 15.769231 | 91 | 0.416802 |
27aadd89ed46b9210456bf83c422b5cc7edaa5bf | 74 | sql | SQL | framework/resources/Functional/text_storage/testcases/drill4919_5.sql | dkondriu/drill-test-framework | 919d931f987cd615b9184584371ca5513f8e9e7a | [
"Apache-2.0"
] | null | null | null | framework/resources/Functional/text_storage/testcases/drill4919_5.sql | dkondriu/drill-test-framework | 919d931f987cd615b9184584371ca5513f8e9e7a | [
"Apache-2.0"
] | null | null | null | framework/resources/Functional/text_storage/testcases/drill4919_5.sql | dkondriu/drill-test-framework | 919d931f987cd615b9184584371ca5513f8e9e7a | [
"Apache-2.0"
] | null | null | null | select Id, col1, col2 from `/drill/testdata/text_storage/drill4919.tcsv`;
| 37 | 73 | 0.783784 |
9fc8fdb848c363fda9d5c3bc34a45130b926cace | 2,600 | rs | Rust | src/bin/timebase.rs | RafaelOrtizRC/timebase | 5b7eb439984183e53f85050e9aa38096ebd5457a | [
"MIT"
] | null | null | null | src/bin/timebase.rs | RafaelOrtizRC/timebase | 5b7eb439984183e53f85050e9aa38096ebd5457a | [
"MIT"
] | null | null | null | src/bin/timebase.rs | RafaelOrtizRC/timebase | 5b7eb439984183e53f85050e9aa38096ebd5457a | [
"MIT"
] | null | null | null | use clap::{crate_authors, crate_description, crate_version, App, Arg, SubCommand};
use slog::debug;
use timebase::LOGGER;
use timebase::{client, dmz, server};
fn main() {
let matches = App::new("Timebase")
.version(crate_version!())
.author(crate_authors!("\n"))
.about(crate_description!())... | 39.393939 | 88 | 0.495 |
23fc89053a37b946b4cf4bbe19798c77ecdca7ac | 2,225 | js | JavaScript | src/lib/properties/view.js | davepgreene/propsd | 64bfc819f3b3bd91d0b32874e33dfdb206043434 | [
"MIT"
] | 21 | 2016-04-29T23:01:02.000Z | 2022-02-16T07:15:01.000Z | src/lib/properties/view.js | davepgreene/propsd | 64bfc819f3b3bd91d0b32874e33dfdb206043434 | [
"MIT"
] | 272 | 2016-01-11T16:41:01.000Z | 2021-09-01T02:31:43.000Z | src/lib/properties/view.js | davepgreene/propsd | 64bfc819f3b3bd91d0b32874e33dfdb206043434 | [
"MIT"
] | 11 | 2016-07-14T13:23:23.000Z | 2022-02-16T07:15:01.000Z | 'use strict';
/**
* A View aggregates the initialized events of multiple sources and safely
* forwards their update events to a parent Properties object.
*/
class View {
/**
* Constructor
* @param {Properties} parent
* @param {Array} sources
*/
constructor(parent, sources) {
this.parent = parent... | 26.176471 | 80 | 0.627416 |
b7cc98a2a46d5b3d1dd617d15de154a5730d8183 | 176 | sql | SQL | resources/sql/autopatches/20151215.phame.1.autotitle.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 8,840 | 2015-01-02T03:04:43.000Z | 2022-03-29T05:24:18.000Z | resources/sql/autopatches/20151215.phame.1.autotitle.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 73 | 2015-01-06T11:05:32.000Z | 2021-12-02T17:50:10.000Z | resources/sql/autopatches/20151215.phame.1.autotitle.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 1,335 | 2015-01-04T03:15:40.000Z | 2022-03-30T23:34:27.000Z | ALTER TABLE {$NAMESPACE}_phame.phame_post
DROP KEY phameTitle;
ALTER TABLE {$NAMESPACE}_phame.phame_post
CHANGE phameTitle phameTitle VARCHAR(64) COLLATE {$COLLATE_SORT};
| 29.333333 | 67 | 0.801136 |
c6927b3a1ce8470988406dd5e4148cdc4c895a04 | 1,532 | py | Python | usage_graph.py | msteknoadam/bill-plot | a9383a172cc6eb2ef61f43bb268275383784cbce | [
"MIT"
] | null | null | null | usage_graph.py | msteknoadam/bill-plot | a9383a172cc6eb2ef61f43bb268275383784cbce | [
"MIT"
] | null | null | null | usage_graph.py | msteknoadam/bill-plot | a9383a172cc6eb2ef61f43bb268275383784cbce | [
"MIT"
] | null | null | null | import csv
import matplotlib.pyplot as plt
import matplotlib
periods = []
electricity = []
water = []
with open('monthly_bills.csv') as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',')
line_count = 0
for row in csv_reader:
if line_count == 0:
print(f'Column names are {row}')
... | 30.039216 | 81 | 0.607702 |
2710daf7290be3182aacc4167467907f125bdbc0 | 418 | lua | Lua | 11_logical_operators_cont.lua | pabloariasal/lua_tutorial | 42f784027c2c7d756f728b1235c3fd13b3ce7b53 | [
"Apache-2.0"
] | null | null | null | 11_logical_operators_cont.lua | pabloariasal/lua_tutorial | 42f784027c2c7d756f728b1235c3fd13b3ce7b53 | [
"Apache-2.0"
] | null | null | null | 11_logical_operators_cont.lua | pabloariasal/lua_tutorial | 42f784027c2c7d756f728b1235c3fd13b3ce7b53 | [
"Apache-2.0"
] | null | null | null | -- Logical operators work with all types
-- In Lua Everything is true but nil and false
-- Logical operators short-circuiting
--[[
false and x = false
true and x = x
true or x = true
false or x = x
--]]
print(4 and 5) -- 5
print(nil or 13) -- 13
-- compute the minimum of two numbers
min (x < y) an... | 18.173913 | 46 | 0.629187 |
3925b2784023edda66e35c0c33a7eb363d9b6d50 | 123 | py | Python | home/iot/urls.py | he0119/smart-home | bdd3a59a8c46c0fdc07ac3049bf589c7f95a2683 | [
"MIT"
] | null | null | null | home/iot/urls.py | he0119/smart-home | bdd3a59a8c46c0fdc07ac3049bf589c7f95a2683 | [
"MIT"
] | 223 | 2020-02-21T06:16:56.000Z | 2022-03-01T22:24:19.000Z | home/iot/urls.py | he0119/smart-home | bdd3a59a8c46c0fdc07ac3049bf589c7f95a2683 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
app_name = "iot"
urlpatterns = [
path("", views.iot, name="iot"),
]
| 13.666667 | 36 | 0.650407 |
23f8c8ba349b6c882a23dde8b6ff608b24d9ee76 | 389 | js | JavaScript | models/comments.model.js | mtwn105/REST-API-Node | f512ab243590aa2b3eeff8bf6d2b6644f8a13d11 | [
"MIT"
] | 2 | 2021-10-02T12:27:27.000Z | 2021-10-13T02:39:36.000Z | models/comments.model.js | mtwn105/REST-API-Node | f512ab243590aa2b3eeff8bf6d2b6644f8a13d11 | [
"MIT"
] | 35 | 2021-10-01T19:38:22.000Z | 2021-11-05T16:32:55.000Z | models/comments.model.js | mtwn105/REST-API-Node | f512ab243590aa2b3eeff8bf6d2b6644f8a13d11 | [
"MIT"
] | 19 | 2021-10-02T06:22:23.000Z | 2021-10-31T02:09:49.000Z | const mongoose = require("mongoose");
const { ObjectId } = mongoose.Schema.Types;
const Comments = mongoose.model(
"Comments",
new mongoose.Schema({
description: {
type: String,
required: true,
},
orderId: {
type: ObjectId,
required: true,
},
userId: {
type: Object... | 16.913043 | 43 | 0.580977 |
7b79392464ee45291e471ce0b7f033c4dbab04c3 | 392 | rb | Ruby | ruby/learning/gui_tk/03.btn_command_.rb | zhaoace/codecraft | bf06267e86bd7386714911b0df4aa0ca0a91d882 | [
"Unlicense"
] | null | null | null | ruby/learning/gui_tk/03.btn_command_.rb | zhaoace/codecraft | bf06267e86bd7386714911b0df4aa0ca0a91d882 | [
"Unlicense"
] | null | null | null | ruby/learning/gui_tk/03.btn_command_.rb | zhaoace/codecraft | bf06267e86bd7386714911b0df4aa0ca0a91d882 | [
"Unlicense"
] | null | null | null | require 'tk'
# click button will change label color
msg= "你好。"
root = TkRoot.new{title "title nihao"}
lable_msg = TkLabel.new (root) {
text msg
pack :padx=>2, :pady=>2, :side=>'top'
font "arial 20 "
}
TkButton.new(root){
text "bianse"
pack :padx => 2, :pady =>2 , :side => 'bottom'
command {
la... | 15.076923 | 48 | 0.591837 |
7b159e4c6b5980f1ae2196f6a40eefd7d3cafdf3 | 267 | rb | Ruby | app/misc/sql_util.rb | fengb/nvst | 1a2099ba34b18da017c85a3d1943d203717aca4a | [
"MIT"
] | 1 | 2015-10-01T13:35:02.000Z | 2015-10-01T13:35:02.000Z | app/misc/sql_util.rb | fengb/nvst | 1a2099ba34b18da017c85a3d1943d203717aca4a | [
"MIT"
] | 17 | 2015-02-24T03:27:58.000Z | 2022-03-30T22:25:12.000Z | app/misc/sql_util.rb | fengb/nvst | 1a2099ba34b18da017c85a3d1943d203717aca4a | [
"MIT"
] | null | null | null | module SqlUtil
def self.sanitize(sql, *args)
ActiveRecord::Base.send(:sanitize_sql_array, [sql, *args])
end
def self.execute(sql, *args)
if args.present?
sql = sanitize(sql, *args)
end
ActiveRecord::Base.connection.execute(sql)
end
end
| 20.538462 | 62 | 0.674157 |
0a4a51568eba60cc44186f690089c37c4fcf4ea2 | 8,540 | cs | C# | src/Cake.Module.Shared/CakeEngineBase.cs | JuergenRB/Cake.BuildSystems.Module | 3a7f5b4ed3d4178903a351d3a171fcddb90b87b3 | [
"MIT"
] | 23 | 2017-04-26T17:24:07.000Z | 2020-10-27T10:42:42.000Z | src/Cake.Module.Shared/CakeEngineBase.cs | JuergenRB/Cake.BuildSystems.Module | 3a7f5b4ed3d4178903a351d3a171fcddb90b87b3 | [
"MIT"
] | 64 | 2021-02-02T19:23:52.000Z | 2022-01-13T15:19:53.000Z | src/Cake.Module.Shared/CakeEngineBase.cs | biohazard999/Cake.BuildSystems.Module | 0c7ad22f67e85211de4d1e5f8418e4c3be174796 | [
"MIT"
] | 12 | 2017-09-19T15:57:15.000Z | 2021-01-27T16:36:20.000Z | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cake.Core;
namespace Cake.Module.Shared
{
/// <summary>
/// Base-implementation for a wrapped <see cref="ICakeEngine"/> - the base Shared Engine used by CI modules.
/// </summary>
public abstract class CakeEngineBase :... | 36.969697 | 129 | 0.610422 |
3c75783e5d3b1d6cfed744739627171103a5a13b | 5,155 | swift | Swift | Sources/SafariView/SafariViewPresenter.swift | ericlewis/BetterSafariView | b3660c429a671283ee41ed3974aedfa868e44181 | [
"MIT"
] | null | null | null | Sources/SafariView/SafariViewPresenter.swift | ericlewis/BetterSafariView | b3660c429a671283ee41ed3974aedfa868e44181 | [
"MIT"
] | null | null | null | Sources/SafariView/SafariViewPresenter.swift | ericlewis/BetterSafariView | b3660c429a671283ee41ed3974aedfa868e44181 | [
"MIT"
] | null | null | null | #if os(iOS)
import SwiftUI
import SafariServices
@_spi(Private) import Shared
struct SafariViewPresenter<Item: Identifiable>: UIViewRepresentable {
// MARK: Representation
@Binding var item: Item?
var onDismiss: (() -> Void)? = nil
var representationBuilder: (Item) -> SafariView
// ... | 35.551724 | 154 | 0.598642 |
4210b9871fda059da814c76abc10f852e52f7099 | 792 | cs | C# | Test/LanguageServerTest/IntegrationTests/CounterExampleIntegrationTest/VariousExamples.cs | just-me-/dafny-language-server | e54dab51b83c0d07fa13363d8e9778b16258ef37 | [
"MIT"
] | null | null | null | Test/LanguageServerTest/IntegrationTests/CounterExampleIntegrationTest/VariousExamples.cs | just-me-/dafny-language-server | e54dab51b83c0d07fa13363d8e9778b16258ef37 | [
"MIT"
] | null | null | null | Test/LanguageServerTest/IntegrationTests/CounterExampleIntegrationTest/VariousExamples.cs | just-me-/dafny-language-server | e54dab51b83c0d07fa13363d8e9778b16258ef37 | [
"MIT"
] | null | null | null | using NUnit.Framework;
using System.Collections.Generic;
using Files = TestCommons.Paths;
namespace CounterExampleIntegrationTest
{
[TestFixture]
public class Various : CounterExampleBase
{
[Test]
public void LoopInvariant()
{
GetCounterExamples(Files.ce_li);
... | 24.75 | 56 | 0.525253 |
7d6c1810bc8430b88f1a5bd4ff07b17bd27d0ded | 1,844 | lua | Lua | doc/write_examples.lua | FaceDeer/namegen | 12362740d4015d2ee7ee373004debbf61039ab15 | [
"MIT"
] | 1 | 2020-01-30T10:23:44.000Z | 2020-01-30T10:23:44.000Z | doc/write_examples.lua | FaceDeer/name_generator | 12362740d4015d2ee7ee373004debbf61039ab15 | [
"MIT"
] | null | null | null | doc/write_examples.lua | FaceDeer/name_generator | 12362740d4015d2ee7ee373004debbf61039ab15 | [
"MIT"
] | 1 | 2020-07-03T16:42:37.000Z | 2020-07-03T16:42:37.000Z | local inspect = require("inspect")
local name_generator = require("name_generator")
local DEST = "examples.rst"
local dest = ""
math.randomseed(1)
math.random()
local sets = name_generator.get_sets()
table.sort(sets)
local groups = {
{"Books"},
{"Creatures"},
{"Potions"},
{"Towns"},
{"Inns"},
}
... | 24.918919 | 76 | 0.494577 |
d576735fcf92a803f0cb8bc6fad2ed884672c58a | 657 | sh | Shell | thumbulator/bareBench/correctness.sh | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | 4 | 2018-12-31T04:46:13.000Z | 2021-02-04T15:11:03.000Z | thumbulator/bareBench/correctness.sh | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | null | null | null | thumbulator/bareBench/correctness.sh | impedimentToProgress/ratchet | 4a0f4994ee7e16819849fc0a1a1dbb04921a25fd | [
"MIT"
] | 3 | 2017-10-28T16:15:33.000Z | 2021-11-16T05:11:43.000Z | #!/bin/bash
ROOTS=( "crc/" "rsa/" "FFT/" "dijkstra/" "picojpeg/" "stringsearch/" "sha/" "basicmath/" )
#ROOTS=( "dijkstra/" )
#ROOTS=( "stringsearch/" )
function correctness {
cmd="(../sim_main $1/main.bin 2>&1 | grep
[0-9]*,[0-9]*,[0-9]*,[0-9]*,[0-9]*,[0-9]* | grep -v
[0-9]*,[0-9]*,0,[0-9]*,[0-9]*,[0-9]*)"
R... | 21.9 | 113 | 0.561644 |
c9a9b2d11bbe3f91d68d5bdc127808f39ff84663 | 235 | lua | Lua | ProgrammingInLua/ch09/9.2.lua | Tic-tics/Algorithm-Museum | 21412552b6e80d05d60634a583d4f2696d98ee35 | [
"MIT"
] | null | null | null | ProgrammingInLua/ch09/9.2.lua | Tic-tics/Algorithm-Museum | 21412552b6e80d05d60634a583d4f2696d98ee35 | [
"MIT"
] | null | null | null | ProgrammingInLua/ch09/9.2.lua | Tic-tics/Algorithm-Museum | 21412552b6e80d05d60634a583d4f2696d98ee35 | [
"MIT"
] | null | null | null | #!/usr/local/bin/lua
function F (x)
return {
set = function (y) x = y end,
get = function () return x end
}
end
o1 = F(10)
o2 = F(20)
print(o1.get(), o2.get())
o2.set(100)
o1.set(300)
print(o1.get(), o2.get())
| 15.666667 | 38 | 0.540426 |
406153a5bd4e4d6330cb9765630e5c55e83194a1 | 218 | ts | TypeScript | js_modules/dagit/packages/core/src/configeditor/ConfigEditorHelpContext.ts | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 4,606 | 2018-06-21T17:45:20.000Z | 2022-03-31T23:39:42.000Z | js_modules/dagit/packages/core/src/configeditor/ConfigEditorHelpContext.ts | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 6,221 | 2018-06-12T04:36:01.000Z | 2022-03-31T21:43:05.000Z | js_modules/dagit/packages/core/src/configeditor/ConfigEditorHelpContext.ts | dbatten5/dagster | d76e50295054ffe5a72f9b292ef57febae499528 | [
"Apache-2.0"
] | 619 | 2018-08-22T22:43:09.000Z | 2022-03-31T22:48:06.000Z | import {ConfigEditorRunConfigSchemaFragment_allConfigTypes} from './types/ConfigEditorRunConfigSchemaFragment';
export interface ConfigEditorHelpContext {
type: ConfigEditorRunConfigSchemaFragment_allConfigTypes;
}
| 36.333333 | 111 | 0.880734 |
40d094b345effb64b08d99d558cfe198d07030c4 | 2,835 | lua | Lua | scripts/HC01-JP/c100287005.lua | JSY1728/ygopro-pre-script | 7c4a08e38c8f4a1181b41c9fb49ee8698f7754aa | [
"Unlicense"
] | null | null | null | scripts/HC01-JP/c100287005.lua | JSY1728/ygopro-pre-script | 7c4a08e38c8f4a1181b41c9fb49ee8698f7754aa | [
"Unlicense"
] | null | null | null | scripts/HC01-JP/c100287005.lua | JSY1728/ygopro-pre-script | 7c4a08e38c8f4a1181b41c9fb49ee8698f7754aa | [
"Unlicense"
] | null | null | null | --真紅き魂
--
--Script by Trishula9
function c100287005.initial_effect(c)
--change name
aux.EnableChangeCode(c,74677422,LOCATION_MZONE+LOCATION_GRAVE)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCE... | 39.375 | 112 | 0.807055 |
12cb64151df42720b50675acd3e36c58c3f44f56 | 1,200 | cs | C# | MonoGame32/Asset/AssetsManager.cs | PilzHere/MonoGame32 | 030ef3ae309d78a2e8de8bbf9eb142842539e71c | [
"MIT"
] | null | null | null | MonoGame32/Asset/AssetsManager.cs | PilzHere/MonoGame32 | 030ef3ae309d78a2e8de8bbf9eb142842539e71c | [
"MIT"
] | null | null | null | MonoGame32/Asset/AssetsManager.cs | PilzHere/MonoGame32 | 030ef3ae309d78a2e8de8bbf9eb142842539e71c | [
"MIT"
] | null | null | null | using System;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame32.Asset
{
public class AssetsManager
{
private ContentManager _contentManager;
public AssetsManager(ContentManager contentManager)
{
_contentManager = contentMana... | 26.086957 | 78 | 0.6 |
db0e0829889bac58eb848238dccff45977d25b57 | 2,098 | swift | Swift | UnitTests/Explore/TestExploreRequesterParserPaging.swift | turingcorp/autoplaza | d006a163e36b74cde4d1949ab5fde20d7c3b1185 | [
"MIT"
] | null | null | null | UnitTests/Explore/TestExploreRequesterParserPaging.swift | turingcorp/autoplaza | d006a163e36b74cde4d1949ab5fde20d7c3b1185 | [
"MIT"
] | null | null | null | UnitTests/Explore/TestExploreRequesterParserPaging.swift | turingcorp/autoplaza | d006a163e36b74cde4d1949ab5fde20d7c3b1185 | [
"MIT"
] | null | null | null | import XCTest
@testable import autoplaza
class TestExploreRequesterParserPaging:XCTestCase {
private var parser:ExploreRequesterParserPaging!
private var jsonSuccess:Data!
private var jsonError:Data!
private var dictionarySuccess:[String:Any]!
private var dictionaryError:[String:Any]!
private s... | 36.172414 | 86 | 0.677788 |
bb557dae9fd06f81cf50e291b4f4bb3783ad148e | 14,766 | cs | C# | src/PowerShell/Commands/GetPartnerUserSignInActivity.cs | rvdintercept/Partner-Center-PowerShell | 8fbf3346cf8b86a8214389b29e725efcba14702c | [
"MIT"
] | 65 | 2019-05-08T15:47:24.000Z | 2022-01-20T10:56:59.000Z | src/PowerShell/Commands/GetPartnerUserSignInActivity.cs | rvdintercept/Partner-Center-PowerShell | 8fbf3346cf8b86a8214389b29e725efcba14702c | [
"MIT"
] | 191 | 2019-05-07T23:22:42.000Z | 2022-03-25T12:05:08.000Z | src/PowerShell/Commands/GetPartnerUserSignInActivity.cs | rvdintercept/Partner-Center-PowerShell | 8fbf3346cf8b86a8214389b29e725efcba14702c | [
"MIT"
] | 31 | 2019-05-28T19:14:25.000Z | 2022-03-09T07:22:44.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.PowerShell.Commands
{
using System;
using System.Collections.Generic;
using System.Globalization;
u... | 43.175439 | 220 | 0.598808 |
719676fad01e55b9f6781b08bdbe0d660bd71a72 | 4,051 | swift | Swift | Classes/UIKit/ViewController+Extension.swift | kongzichixiangjiao/GAExtension | 9c457ff368375fbe5920c83934824388a59f5c50 | [
"MIT"
] | null | null | null | Classes/UIKit/ViewController+Extension.swift | kongzichixiangjiao/GAExtension | 9c457ff368375fbe5920c83934824388a59f5c50 | [
"MIT"
] | null | null | null | Classes/UIKit/ViewController+Extension.swift | kongzichixiangjiao/GAExtension | 9c457ff368375fbe5920c83934824388a59f5c50 | [
"MIT"
] | null | null | null | //
// ViewController+Extension.swift
// YE
//
// Created by 侯佳男 on 2017/12/8.
// Copyright © 2017年 侯佳男. All rights reserved.
//
/*
* 交换方法viewWillAppear、viewDidDisappear方法
* 获取storyboard的root vc
* push pop present相关犯法
*/
import UIKit
public extension UIViewController {
func ga_storyboardRootVC(name: St... | 29.569343 | 138 | 0.616885 |
2be50cd9bc33862524dd95ff1007400b4e8504d0 | 2,222 | lua | Lua | hammerspoon/hs-anycomplete/anycomplete.lua | anmoljagetia/dotfiles | 2e832cf7e9c436014ddce9ab47a22f16157e99e3 | [
"MIT"
] | 58 | 2015-09-19T08:38:14.000Z | 2022-02-01T01:21:30.000Z | link/hammerspoon/anycomplete/anycomplete.lua | marcusramberg/dotfiles | 07a0576eaa0a233a2125ddcb2bb04a5fe5033674 | [
"MIT"
] | 2 | 2018-06-23T15:07:00.000Z | 2019-02-11T14:44:46.000Z | hammerspoon/hs-anycomplete/anycomplete.lua | anmoljagetia/dotfiles | 2e832cf7e9c436014ddce9ab47a22f16157e99e3 | [
"MIT"
] | 41 | 2015-09-24T12:34:53.000Z | 2019-09-19T01:31:45.000Z | local mod = {}
-- Anycomplete
function mod.anycomplete()
local GOOGLE_ENDPOINT = 'https://suggestqueries.google.com/complete/search?client=firefox&q=%s'
local current = hs.application.frontmostApplication()
local tab = nil
local copy = nil
local choices = {}
local chooser = hs.chooser.new(func... | 27.432099 | 99 | 0.594059 |
40971ea23e1f300e6b4a8ede5921122a8d49ea1c | 1,586 | ts | TypeScript | src/plugins/find-replace/__tests__/integration/replace.ts | acezard/editor-core-fork | 1e4e7ac28b36603a6dae32821b5cc26eab7114f0 | [
"Apache-2.0"
] | null | null | null | src/plugins/find-replace/__tests__/integration/replace.ts | acezard/editor-core-fork | 1e4e7ac28b36603a6dae32821b5cc26eab7114f0 | [
"Apache-2.0"
] | null | null | null | src/plugins/find-replace/__tests__/integration/replace.ts | acezard/editor-core-fork | 1e4e7ac28b36603a6dae32821b5cc26eab7114f0 | [
"Apache-2.0"
] | null | null | null | import { BrowserTestCase } from '@atlaskit/webdriver-runner/runner';
import {
fullpage,
editable,
getDocFromElement,
} from '../../../../__tests__/integration/_helpers';
import {
goToEditorTestingExample,
mountEditor,
} from '../../../../__tests__/__helpers/testing-example-helpers';
import replaceAdf from './... | 35.244444 | 101 | 0.73203 |
7da933fc16a9208ff81a88d344763f6f431f16a9 | 581 | css | CSS | swifttools/src/routes/Public/Css/SectionView.css | React-App/React | 2227a1f10b08c5782784d52f69de09f5cd04e96a | [
"Apache-2.0"
] | null | null | null | swifttools/src/routes/Public/Css/SectionView.css | React-App/React | 2227a1f10b08c5782784d52f69de09f5cd04e96a | [
"Apache-2.0"
] | null | null | null | swifttools/src/routes/Public/Css/SectionView.css | React-App/React | 2227a1f10b08c5782784d52f69de09f5cd04e96a | [
"Apache-2.0"
] | null | null | null | /**
* Created by zhangshumeng on 2018/5/14
*/
.sectionView {
background-color: white;
line-height: 60px;
}
.sectionView_bg {
margin-left: 24px;
margin-right: 24px;
display: inline-flex;
flex-direction: row;
align-items: center;
}
.sectionView_bg_leftTitle {
color: black;
font-s... | 15.702703 | 40 | 0.64716 |
0d082cee1478da6518dad3ca958e47b8374912ad | 1,960 | kt | Kotlin | app/src/main/java/arch/Resource.kt | li2/Wipro_Assessment | 010d25e9d53b5b1d6355daa96b56071b82c28aae | [
"Apache-2.0"
] | null | null | null | app/src/main/java/arch/Resource.kt | li2/Wipro_Assessment | 010d25e9d53b5b1d6355daa96b56071b82c28aae | [
"Apache-2.0"
] | null | null | null | app/src/main/java/arch/Resource.kt | li2/Wipro_Assessment | 010d25e9d53b5b1d6355daa96b56071b82c28aae | [
"Apache-2.0"
] | 1 | 2018-07-30T12:03:50.000Z | 2018-07-30T12:03:50.000Z | /*
* Copyright (C) 2017 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 app... | 42.608696 | 161 | 0.711224 |
dd8a1500472c3338857a2078c84ce29aabc025a7 | 2,138 | java | Java | ui/src/main/java/de/ipb_halle/lbac/message/TagWordMessage.java | sneumann/CRIMSy | 3c7f3a0e656884bb7f0c5b67b3651e34b810fa5e | [
"Apache-2.0"
] | null | null | null | ui/src/main/java/de/ipb_halle/lbac/message/TagWordMessage.java | sneumann/CRIMSy | 3c7f3a0e656884bb7f0c5b67b3651e34b810fa5e | [
"Apache-2.0"
] | null | null | null | ui/src/main/java/de/ipb_halle/lbac/message/TagWordMessage.java | sneumann/CRIMSy | 3c7f3a0e656884bb7f0c5b67b3651e34b810fa5e | [
"Apache-2.0"
] | null | null | null | /*
* Leibniz Bioactives Cloud
* Copyright 2017 Leibniz-Institut f. Pflanzenbiochemie
*
* 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... | 26.073171 | 75 | 0.61319 |
af24557690e209d72c82c387118de6b26e58a134 | 9,647 | py | Python | conf/node.py | LaudateCorpus1/ZFM | c92db4637010c304fe7df5057813f591a3577322 | [
"Apache-2.0"
] | null | null | null | conf/node.py | LaudateCorpus1/ZFM | c92db4637010c304fe7df5057813f591a3577322 | [
"Apache-2.0"
] | null | null | null | conf/node.py | LaudateCorpus1/ZFM | c92db4637010c304fe7df5057813f591a3577322 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
#
# (C) Copyright 2020 Hewlett Packard Enterprise Development LP.
# Licensed under the Apache v2.0 license.
#
import re
import os
import sys
import json
import copy
import pprint
# -----------------------------------------------------------------------------------------------------------------... | 34.826715 | 123 | 0.523479 |
c6e92300ac61a4690c85701fd479dc25aee8421e | 1,494 | py | Python | cannab/merge_oof.py | ktncktnc/SpaceNet_Off_Nadir_Solutions | 2a9ef1c3b72fb749c808ddb8593a85cb16b9f1ca | [
"Apache-2.0"
] | 164 | 2019-01-31T16:37:09.000Z | 2022-03-31T02:47:49.000Z | cannab/merge_oof.py | xiaofanglegoc/SpaceNet_Off_Nadir_Solutions | 812f151d244565f29987ebec7683ef42622ae16e | [
"Apache-2.0"
] | 3 | 2019-11-20T03:32:29.000Z | 2021-12-20T05:52:50.000Z | cannab/merge_oof.py | xiaofanglegoc/SpaceNet_Off_Nadir_Solutions | 812f151d244565f29987ebec7683ef42622ae16e | [
"Apache-2.0"
] | 36 | 2019-02-08T19:12:35.000Z | 2021-12-23T06:52:35.000Z | # -*- coding: utf-8 -*-
import os
os.environ["MKL_NUM_THREADS"] = "1"
os.environ["NUMEXPR_NUM_THREADS"] = "1"
os.environ["OMP_NUM_THREADS"] = "1"
from os import path, makedirs
import numpy as np
np.random.seed(1)
import random
random.seed(1)
import timeit
import cv2
import pandas as pd
from multiproce... | 24.9 | 113 | 0.62249 |
a3d8e2277cdc785da9325a9a58f384c3a2a2dc2a | 1,073 | sql | SQL | Protein_Sequences/Legacy/T_Protein_Names_Revised.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 2 | 2018-04-03T05:18:15.000Z | 2020-04-23T04:00:25.000Z | Protein_Sequences/Legacy/T_Protein_Names_Revised.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | null | null | null | Protein_Sequences/Legacy/T_Protein_Names_Revised.sql | viswaratha12/dbwarden | 3931accda4fb401d21b6cb272fe3d6959915ceb8 | [
"Apache-2.0"
] | 4 | 2016-05-14T17:56:55.000Z | 2020-01-23T12:02:25.000Z | /****** Object: Table [dbo].[x_T_Protein_Names_Revised] ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[x_T_Protein_Names_Revised](
[Reference_ID] [int] NOT NULL,
[Name] [varchar](128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Annotation_Type_ID] [int] NOT NULL,
[Referen... | 37 | 169 | 0.735322 |
c47f8acd78f5f6aeff4c10ffae4bba33d5089c6f | 2,623 | cpp | C++ | qt/qt_common/qtoglcontext.cpp | keksikex/omim | cf75e55bc6d96f3488af9d5977c4bee422a366c3 | [
"Apache-2.0"
] | null | null | null | qt/qt_common/qtoglcontext.cpp | keksikex/omim | cf75e55bc6d96f3488af9d5977c4bee422a366c3 | [
"Apache-2.0"
] | null | null | null | qt/qt_common/qtoglcontext.cpp | keksikex/omim | cf75e55bc6d96f3488af9d5977c4bee422a366c3 | [
"Apache-2.0"
] | null | null | null | #include "qt/qt_common/qtoglcontext.hpp"
#include "base/assert.hpp"
#include "base/logging.hpp"
#include "base/macros.hpp"
#include "base/math.hpp"
#include "base/stl_add.hpp"
#include "drape/glfunctions.hpp"
namespace qt
{
namespace common
{
// QtRenderOGLContext ----------------------------------------------------... | 21.325203 | 100 | 0.682043 |
43eb77b141b40a62a08bb7130fe3c38e53d80040 | 2,245 | ts | TypeScript | src/app/services/catalog/catalog.service.ts | EiNyeinChanWai/fineract-cn-fims-web-app | a79c1d2572459b564f7febb79e9db977f711b701 | [
"Apache-2.0"
] | 13 | 2018-04-17T16:56:08.000Z | 2021-11-10T19:25:58.000Z | src/app/services/catalog/catalog.service.ts | EiNyeinChanWai/fineract-cn-fims-web-app | a79c1d2572459b564f7febb79e9db977f711b701 | [
"Apache-2.0"
] | 13 | 2018-04-01T06:01:45.000Z | 2019-12-09T22:15:39.000Z | src/app/services/catalog/catalog.service.ts | EiNyeinChanWai/fineract-cn-fims-web-app | a79c1d2572459b564f7febb79e9db977f711b701 | [
"Apache-2.0"
] | 180 | 2018-01-24T12:56:26.000Z | 2022-01-27T04:26:01.000Z | /**
* 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... | 38.050847 | 108 | 0.722494 |
ef58fd66cb2f848b3ca634e5332ffd52b32a9103 | 382 | js | JavaScript | web/src/sagas/index.js | sergej-kurakin/multiproxy | e75795a3d1126dbd0a4c7c250875c9663b05d0b2 | [
"MIT"
] | 13 | 2018-06-30T11:03:34.000Z | 2020-07-30T18:07:29.000Z | web/src/sagas/index.js | sergej-kurakin/multiproxy | e75795a3d1126dbd0a4c7c250875c9663b05d0b2 | [
"MIT"
] | 1 | 2018-11-18T21:03:16.000Z | 2018-11-18T21:03:16.000Z | web/src/sagas/index.js | sergej-kurakin/multiproxy | e75795a3d1126dbd0a4c7c250875c9663b05d0b2 | [
"MIT"
] | 2 | 2018-12-12T20:49:55.000Z | 2020-04-20T14:39:57.000Z | import 'regenerator-runtime/runtime';
import { takeEvery, takeLatest } from 'redux-saga/effects';
import { LOAD_SELECTED_ENV, SELECT_ENV } from '../actions';
import loadSelectedEnv from './loadSelectedEnv';
import selectEnv from './selectEnv';
export default function* sagas() {
yield takeEvery(LOAD_SELECTED_ENV, l... | 29.384615 | 59 | 0.769634 |
7d8977d741fe3a23402dbd21fe4cc7eba772af8b | 812 | css | CSS | assets/css/tietovisa_screen.css | LSDsuperfruit/CodeIgniterProjekti | 0419e7b4d0bb569f94e93f2f571bebb4d6d48321 | [
"MIT"
] | null | null | null | assets/css/tietovisa_screen.css | LSDsuperfruit/CodeIgniterProjekti | 0419e7b4d0bb569f94e93f2f571bebb4d6d48321 | [
"MIT"
] | null | null | null | assets/css/tietovisa_screen.css | LSDsuperfruit/CodeIgniterProjekti | 0419e7b4d0bb569f94e93f2f571bebb4d6d48321 | [
"MIT"
] | null | null | null | /* tietovisa_screen.css */
.kysymys {
margin: 10px;
padding: 20px;
border: 1px solid #333;
border-radius: 3px;
}
.info {
margin: 20px 0;
}
.navi {
margin-bottom: 20px;
}
/*
.painikkeet {
margin-bottom: 10px;
clear: both;
}
.painikkeet a {
display: inline-block;
width: 10em;
text-align: center;
font-fami... | 11.768116 | 26 | 0.651478 |
09eec47386bde22591a7810601fa374d39690590 | 3,309 | rs | Rust | cap-primitives/src/posish/fs/read_dir_inner.rs | ghcom275/cap-std | fd3bacf238f7fe516551c6ac175fbdfb7ca7db83 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2020-11-16T02:24:15.000Z | 2020-11-16T02:24:15.000Z | cap-primitives/src/posish/fs/read_dir_inner.rs | ghcom275/cap-std | fd3bacf238f7fe516551c6ac175fbdfb7ca7db83 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | cap-primitives/src/posish/fs/read_dir_inner.rs | ghcom275/cap-std | fd3bacf238f7fe516551c6ac175fbdfb7ca7db83 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | use crate::fs::{
open_dir, open_dir_unchecked, open_entry_impl, read_dir_unchecked, remove_dir_unchecked,
remove_file_unchecked, stat_unchecked, DirEntryInner, FollowSymlinks, Metadata, OpenOptions,
ReadDir,
};
use posish::fs::Dir;
#[cfg(unix)]
use std::os::unix::{
ffi::OsStrExt,
io::{AsRawFd, FromR... | 30.925234 | 97 | 0.576307 |
1963e271f99c7cb0a632958b31d727855b165aa7 | 45 | lua | Lua | data.lua | Xman1109/More_Exoskeletons | c0fc14e978bc7ee2a0a7dd1589da3a1f74c1fe81 | [
"MIT"
] | null | null | null | data.lua | Xman1109/More_Exoskeletons | c0fc14e978bc7ee2a0a7dd1589da3a1f74c1fe81 | [
"MIT"
] | null | null | null | data.lua | Xman1109/More_Exoskeletons | c0fc14e978bc7ee2a0a7dd1589da3a1f74c1fe81 | [
"MIT"
] | null | null | null | require("prototypes/items/steel-exoskeleton") | 45 | 45 | 0.844444 |
c6987afa2f85e606bc8dd860351e78f1b56c0b68 | 607 | rs | Rust | carbide_core/src/environment/environment_font_size.rs | HolgerGottChriestensen/conrod | 48b80a0c8915b2d478a445f1e5a8e0f396598652 | [
"Apache-2.0",
"MIT"
] | 8 | 2021-03-11T04:54:40.000Z | 2022-02-20T16:02:16.000Z | carbide_core/src/environment/environment_font_size.rs | HolgerGottChriestensen/conrod | 48b80a0c8915b2d478a445f1e5a8e0f396598652 | [
"Apache-2.0",
"MIT"
] | null | null | null | carbide_core/src/environment/environment_font_size.rs | HolgerGottChriestensen/conrod | 48b80a0c8915b2d478a445f1e5a8e0f396598652 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-24T18:11:04.000Z | 2021-11-24T18:11:04.000Z | use crate::prelude::EnvironmentFontSizeState;
use crate::state::*;
use crate::state::WidgetState;
#[derive(Hash, Eq, PartialEq, Clone, Debug)]
pub enum EnvironmentFontSize {
LargeTitle,
Title,
Title2,
Title3,
Headline,
Body,
Callout,
Subhead,
Footnote,
Caption,
Caption2,
... | 18.96875 | 71 | 0.654036 |
1a86ad20df48158c6c33bdf81370ad348f9e9e50 | 301 | py | Python | Server/Code/view/auth/auth.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | Server/Code/view/auth/auth.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | Server/Code/view/auth/auth.py | HueyPark/Unreal-Knights | 9a08dd15c65d8853f1322bf6de4b892cd88c571a | [
"MIT"
] | null | null | null | from flask import jsonify, request
from logic.auth import AuthLogic
class AuthView:
@staticmethod
def login():
json = request.json
user_id = json['id']
password = json['password']
jwt = AuthLogic.create_jwt(user_id, password)
return jsonify(jwt=jwt)
| 21.5 | 53 | 0.644518 |
da84eafa62ff0f178928ba8dc11b6733adb8ebbb | 1,049 | ts | TypeScript | packages/@surface/htmlx-element/internal/decorators/event.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | 2 | 2020-03-26T17:25:19.000Z | 2021-02-20T19:22:03.000Z | packages/@surface/htmlx-element/internal/decorators/event.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | null | null | null | packages/@surface/htmlx-element/internal/decorators/event.ts | SurfaceJS/Modules | aa444e71c36c87c8533e1506942c4c0f2126da6a | [
"MIT"
] | null | null | null | import type { Indexer } from "@surface/core";
import { DisposableMetadata, HookableMetadata } from "@surface/core";
/**
* Creates an event handler using the decorated method.
* @type Event listener type.
* @options Event listener options.
*/
export default function event<K extends keyof HTML... | 43.708333 | 181 | 0.677788 |
eca32176987efec5817a636d4c4bfc0993866b85 | 430 | dart | Dart | bluewater_app/lib/src/features/categories/data/datasource/categories_remote_datasource.dart | Cafe-Store/bluewater-app | ce08411b38d9317bd16395a8a6d391eb67a24846 | [
"MIT"
] | null | null | null | bluewater_app/lib/src/features/categories/data/datasource/categories_remote_datasource.dart | Cafe-Store/bluewater-app | ce08411b38d9317bd16395a8a6d391eb67a24846 | [
"MIT"
] | null | null | null | bluewater_app/lib/src/features/categories/data/datasource/categories_remote_datasource.dart | Cafe-Store/bluewater-app | ce08411b38d9317bd16395a8a6d391eb67a24846 | [
"MIT"
] | null | null | null | import 'package:dio/dio.dart';
import 'package:injectable/injectable.dart';
import 'package:retrofit/retrofit.dart';
import '../model/category_model.dart';
part 'categories_remote_datasource.g.dart';
@injectable
@RestApi()
abstract class CategoriesRemoteDataSource {
@factoryMethod
factory CategoriesRemoteDataSou... | 23.888889 | 76 | 0.783721 |
386b3767fc7a70d919c516fcdf04aff1db285064 | 393 | php | PHP | src/kwai/Modules/Club/Repositories/MemberQuery.php | fbraem/kwai | 3584231d48491703c299eaf6821feddad5e4524d | [
"MIT"
] | 1 | 2022-02-18T02:44:11.000Z | 2022-02-18T02:44:11.000Z | src/kwai/Modules/Club/Repositories/MemberQuery.php | fbraem/kwai | 3584231d48491703c299eaf6821feddad5e4524d | [
"MIT"
] | 6 | 2020-12-09T19:36:26.000Z | 2021-11-04T21:28:06.000Z | src/kwai/Modules/Club/Repositories/MemberQuery.php | fbraem/kwai | 3584231d48491703c299eaf6821feddad5e4524d | [
"MIT"
] | null | null | null | <?php
/**
* @package Modules
* @subpackage Club
*/
declare(strict_types=1);
namespace Kwai\Modules\Club\Repositories;
use Kwai\Core\Infrastructure\Repositories\Query;
/**
* Interface MemberQuery
*/
interface MemberQuery extends Query
{
/**
* Add a filter for the given id
*
* @param int $id
... | 15.72 | 48 | 0.648855 |
cf030ced9d76e78d46fdd3a4bcc2aef702b62ff3 | 705 | php | PHP | test/TestAsset/NotAutoloaderModule/Module.php | bcremer/laminas-modulemanager | ebba90ef21a00aa2c0694a256019ed095d32a480 | [
"BSD-3-Clause"
] | 1 | 2021-07-10T21:16:52.000Z | 2021-07-10T21:16:52.000Z | test/TestAsset/NotAutoloaderModule/Module.php | bcremer/laminas-modulemanager | ebba90ef21a00aa2c0694a256019ed095d32a480 | [
"BSD-3-Clause"
] | null | null | null | test/TestAsset/NotAutoloaderModule/Module.php | bcremer/laminas-modulemanager | ebba90ef21a00aa2c0694a256019ed095d32a480 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* @see https://github.com/laminas/laminas-modulemanager for the canonical source repository
* @copyright https://github.com/laminas/laminas-modulemanager/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-modulemanager/blob/master/LICENSE.md New BSD License
*/
namespace NotAu... | 26.111111 | 101 | 0.614184 |
af2ae192d788b5ccfe9e49229f89e5f62f28799e | 5,858 | py | Python | client/driver/utils.py | yangdsh/ottertune | 9dbb30bcb1c9ae27feb24662630b4768ccb9009c | [
"Apache-2.0"
] | 3 | 2019-09-27T07:57:08.000Z | 2019-09-27T09:06:04.000Z | client/driver/utils.py | yangdsh/ottertune | 9dbb30bcb1c9ae27feb24662630b4768ccb9009c | [
"Apache-2.0"
] | null | null | null | client/driver/utils.py | yangdsh/ottertune | 9dbb30bcb1c9ae27feb24662630b4768ccb9009c | [
"Apache-2.0"
] | null | null | null | import importlib
import os
from fabric.api import hide, local, settings, task
from fabric.api import get as _get, put as _put, run as _run, sudo as _sudo
dconf = None # pylint: disable=invalid-name
def load_driver_conf():
# The default config file is 'driver_config.py' but you can use
# set the env 'DRIVER... | 32.364641 | 95 | 0.589962 |
75181ae61a51d3b07c46da0b1608ff332305bb64 | 87,660 | swift | Swift | DEPNotify Set-up Helper/ViewController.swift | BIG-RAT/DEPNotify-Set-up-Helper | 4ec4f660b81368c600b106d0b234ce37f13688c7 | [
"MIT"
] | 15 | 2020-05-31T22:25:04.000Z | 2022-03-29T22:07:06.000Z | DEPNotify Set-up Helper/ViewController.swift | BIG-RAT/DEPNotify-Set-up-Helper | 4ec4f660b81368c600b106d0b234ce37f13688c7 | [
"MIT"
] | null | null | null | DEPNotify Set-up Helper/ViewController.swift | BIG-RAT/DEPNotify-Set-up-Helper | 4ec4f660b81368c600b106d0b234ce37f13688c7 | [
"MIT"
] | 2 | 2020-12-22T08:19:23.000Z | 2021-07-15T14:56:22.000Z | //
// ViewController.swift
// DEPNotify Set-up Helper
//
// Created by Leslie Helou on 2/24/20.
// Copyright © 2020 Leslie Helou. All rights reserved.
//
import AppKit
import Cocoa
import Foundation
class Setting: NSObject {
@objc dynamic var keyName: String
@objc dynamic var keyValue: String
ini... | 57.294118 | 456 | 0.605704 |
315fd93329d1f2988352935877d65c5b2359b101 | 5,335 | asm | Assembly | basic/src/commands/graphics.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 13 | 2020-03-31T08:21:22.000Z | 2021-07-28T20:03:29.000Z | basic/src/commands/graphics.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 37 | 2020-03-31T06:35:37.000Z | 2020-09-17T08:56:48.000Z | basic/src/commands/graphics.asm | paulscottrobson/eris | cf102530334ed86360deb20f0e41af1e10f5d584 | [
"MIT"
] | 5 | 2020-05-10T10:23:06.000Z | 2022-01-14T02:21:02.000Z | ; *****************************************************************************
; *****************************************************************************
;
; Name: graphics.asm
; Purpose: Simple Graphics keywords
; Created: 18th March 2020
; Reviewed: TODO
; Author: Paul Robson (paul@robsons.org.uk)
;
; *... | 25.046948 | 79 | 0.464855 |
20dcd2810b2b5e99322acbb5905844e020c55fec | 865 | py | Python | final_project/machinetranslation/tests/tests.py | bluesydan/xzceb-flask_eng_fr | e026b3b13402de94d7e75958f359e9c0cf4017aa | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/tests/tests.py | bluesydan/xzceb-flask_eng_fr | e026b3b13402de94d7e75958f359e9c0cf4017aa | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/tests/tests.py | bluesydan/xzceb-flask_eng_fr | e026b3b13402de94d7e75958f359e9c0cf4017aa | [
"Apache-2.0"
] | null | null | null | import unittest
from translator import english_to_french, french_to_english
class TestenglishToFrench(unittest.TestCase):
def test1(self):
self.assertEqual(english_to_french("Hello"), "Bonjour")
self.assertEqual(english_to_french("Farewell"), "Adieu")
self.assertEqual(english_to_french("Wh... | 30.892857 | 87 | 0.708671 |
753ba6a65c8b2b3189c675f633073fa38f74f674 | 118 | css | CSS | style.css | hebah-aldawalib/bus-mall | 80f7a842460ccf09abc1484a61b5d27997cac093 | [
"MIT"
] | null | null | null | style.css | hebah-aldawalib/bus-mall | 80f7a842460ccf09abc1484a61b5d27997cac093 | [
"MIT"
] | null | null | null | style.css | hebah-aldawalib/bus-mall | 80f7a842460ccf09abc1484a61b5d27997cac093 | [
"MIT"
] | null | null | null | img{
width: 400px;
height: 400px;
}
img{
margin-left: 20px;
}
div{
padding-left: 150px;
} | 9.833333 | 23 | 0.508475 |
c9646bb16ba2d15d6e2503c869a3afb386e9dd18 | 3,509 | dart | Dart | lib/ui/views/home/home_view.dart | SleeplessCreative/fleoscan | cffc4fc7328430bf726fea8635cb7dbd9ce19ea5 | [
"MIT"
] | null | null | null | lib/ui/views/home/home_view.dart | SleeplessCreative/fleoscan | cffc4fc7328430bf726fea8635cb7dbd9ce19ea5 | [
"MIT"
] | null | null | null | lib/ui/views/home/home_view.dart | SleeplessCreative/fleoscan | cffc4fc7328430bf726fea8635cb7dbd9ce19ea5 | [
"MIT"
] | null | null | null | import 'package:fleoscan/items/fleocolor.dart';
import 'package:fleoscan/ui/widgets/appbar/appbar_view.dart';
import 'package:fleoscan/ui/widgets/end_drawer/end_drawer_view.dart';
import 'package:fleoscan/ui/widgets/navigation_bar/navigation_bar_view.dart';
import 'package:flutter/material.dart';
import 'package:stacke... | 36.175258 | 77 | 0.394699 |
79b2143dcea754c8f6386beed76aee2482487e6d | 9,583 | php | PHP | resources/views/admin/add_manufacture.blade.php | Muhdmarwan07/Paddy88 | 76eb0a42c37a3dc140b90cd92c1e5a71277ef7b9 | [
"MIT"
] | null | null | null | resources/views/admin/add_manufacture.blade.php | Muhdmarwan07/Paddy88 | 76eb0a42c37a3dc140b90cd92c1e5a71277ef7b9 | [
"MIT"
] | null | null | null | resources/views/admin/add_manufacture.blade.php | Muhdmarwan07/Paddy88 | 76eb0a42c37a3dc140b90cd92c1e5a71277ef7b9 | [
"MIT"
] | 3 | 2019-09-16T17:13:37.000Z | 2020-10-07T06:32:09.000Z | @extends('admin_layout')
@section('admin_content')
<div class="breadcome-area">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="breadcome-list">
... | 70.985185 | 181 | 0.282584 |
1b141ba413795c50c7a473fcad06b71252adf6f3 | 503 | rb | Ruby | spec/features/indexes/new_spec.rb | l1n/glowfic | 26e5460d8c5cc97d82b796608fe436eadea8e2e5 | [
"MIT"
] | 14 | 2017-02-05T22:43:40.000Z | 2021-11-17T21:30:39.000Z | spec/features/indexes/new_spec.rb | l1n/glowfic | 26e5460d8c5cc97d82b796608fe436eadea8e2e5 | [
"MIT"
] | 799 | 2017-02-04T20:50:07.000Z | 2022-03-28T05:45:23.000Z | spec/features/indexes/new_spec.rb | l1n/glowfic | 26e5460d8c5cc97d82b796608fe436eadea8e2e5 | [
"MIT"
] | 6 | 2017-02-14T04:45:24.000Z | 2020-11-07T01:25:21.000Z | RSpec.feature "Creating a new index", :type => :feature do
scenario "Create a simple index" do
login
visit new_index_path
expect(page).to have_no_selector('.flash.error')
within('.form-table') do
fill_in 'Index Name', with: 'Example index'
click_button 'Save'
end
expect(page).to ha... | 29.588235 | 58 | 0.66998 |
73a0adfec73eb53a7401890c1cfaf496c916f538 | 11,353 | sql | SQL | recusos/contablesdb.sql | ar17092/ContablesWebApp | 28194669fbb40b775336dfce7ce253e4a0836913 | [
"Apache-2.0"
] | null | null | null | recusos/contablesdb.sql | ar17092/ContablesWebApp | 28194669fbb40b775336dfce7ce253e4a0836913 | [
"Apache-2.0"
] | null | null | null | recusos/contablesdb.sql | ar17092/ContablesWebApp | 28194669fbb40b775336dfce7ce253e4a0836913 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost
-- Tiempo de generación: 09-01-2021 a las 00:30:27
-- Versión del servidor: 10.4.14-MariaDB
-- Versión de PHP: 7.2.34
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 26.463869 | 141 | 0.659385 |
db82c7af8c805add1d7737fafd12749bb297d5cd | 1,802 | php | PHP | metadata/Google/Ads/GoogleAds/V0/Enums/DisplayAdFormatSetting.php | charlesastwood/google-ads-php | c0a76d4b3ae074cef9c72f687b5e37222f7571ce | [
"Apache-2.0"
] | null | null | null | metadata/Google/Ads/GoogleAds/V0/Enums/DisplayAdFormatSetting.php | charlesastwood/google-ads-php | c0a76d4b3ae074cef9c72f687b5e37222f7571ce | [
"Apache-2.0"
] | null | null | null | metadata/Google/Ads/GoogleAds/V0/Enums/DisplayAdFormatSetting.php | charlesastwood/google-ads-php | c0a76d4b3ae074cef9c72f687b5e37222f7571ce | [
"Apache-2.0"
] | null | null | null | <?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v0/enums/display_ad_format_setting.proto
namespace GPBMetadata\Google\Ads\GoogleAds\V0\Enums;
class DisplayAdFormatSetting
{
public static $is_initialized = false;
public static function initOnce() {
$pool... | 45.05 | 77 | 0.747503 |
b78101efddb2a7e59f09add1befc45375ecff834 | 994 | cs | C# | Jacdac/Constants/CapacitivebuttonConstants.g.cs | microsoft/jacdac-csharp | e8cd9a303fabbd9480582a57be1ce3f08598dea9 | [
"MIT"
] | 6 | 2021-07-29T09:09:38.000Z | 2022-01-31T21:04:37.000Z | Jacdac/Constants/CapacitivebuttonConstants.g.cs | microsoft/jacdac-csharp | e8cd9a303fabbd9480582a57be1ce3f08598dea9 | [
"MIT"
] | 7 | 2021-07-29T11:52:50.000Z | 2022-01-21T17:25:09.000Z | Jacdac/Constants/CapacitivebuttonConstants.g.cs | microsoft/jacdac-csharp | e8cd9a303fabbd9480582a57be1ce3f08598dea9 | [
"MIT"
] | 4 | 2021-12-13T19:36:12.000Z | 2022-01-20T17:26:53.000Z | namespace Jacdac {
public static partial class ServiceClasses
{
public const uint CapacitiveButton = 0x2865adc9;
}
public enum CapacitiveButtonReg : ushort {
/// <summary>
/// Read-write ratio u0.16 (uint16_t). Indicates the threshold for ``up`` events.
///
/// ``... | 30.121212 | 145 | 0.577465 |
cd9bb00ef3d0cb38e7931f4bf7aeb98bff0c6d0a | 1,129 | cs | C# | src/ReactiveMarbles.ObservableEvents.Example/MyForm.cs | ScriptBox99/ObservableEvents | 4bde8e3cd92f10a6e5b1f0df57c51eeee4b0928c | [
"MIT"
] | 44 | 2021-05-31T07:54:36.000Z | 2022-03-19T13:16:32.000Z | src/ReactiveMarbles.ObservableEvents.Example/MyForm.cs | ScriptBox99/ObservableEvents | 4bde8e3cd92f10a6e5b1f0df57c51eeee4b0928c | [
"MIT"
] | 98 | 2021-06-14T01:00:21.000Z | 2022-03-30T00:16:12.000Z | src/ReactiveMarbles.ObservableEvents.Example/MyForm.cs | ScriptBox99/ObservableEvents | 4bde8e3cd92f10a6e5b1f0df57c51eeee4b0928c | [
"MIT"
] | 5 | 2021-05-31T07:50:18.000Z | 2021-08-22T23:02:01.000Z | // Copyright (c) 2019-2021 ReactiveUI Association Incorporated. All rights reserved.
// ReactiveUI Association Incorporated licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Reactive;
... | 23.520833 | 87 | 0.655447 |
a12c73e78cf378ea711a38379e83c04094577236 | 1,631 | ts | TypeScript | strongly-signalk/src/loader/ExpeditionFormatConversion.test.ts | tkurki/charted-sails | 661e02510459b8746d5c00a470083a3ebccbe615 | [
"Apache-2.0"
] | 1 | 2020-07-21T20:08:03.000Z | 2020-07-21T20:08:03.000Z | strongly-signalk/src/loader/ExpeditionFormatConversion.test.ts | tkurki/charted-sails | 661e02510459b8746d5c00a470083a3ebccbe615 | [
"Apache-2.0"
] | null | null | null | strongly-signalk/src/loader/ExpeditionFormatConversion.test.ts | tkurki/charted-sails | 661e02510459b8746d5c00a470083a3ebccbe615 | [
"Apache-2.0"
] | null | null | null | import { ExpeditionFormatConversion } from './ExpeditionFormatConversion'
import * as utils from '@signalk/nmea0183-utilities'
import { columnConvertersForLine } from './CSVConversion';
import {toBeDeepCloseTo,toMatchCloseTo} from 'jest-matcher-deep-close-to';
import { SKValue } from '../model';
// This little dance i... | 34.702128 | 106 | 0.732066 |