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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f477d14acd0116995a2777e94a2a505c4fb7cc3b | 5,800 | go | Go | pkg/apiserver/internal/v1/region_test.go | jiachengxu/kubecarrier | 337ce9c28aff235e278c5d67557b20d87b3cf67f | [
"Apache-2.0"
] | 277 | 2020-03-12T12:40:12.000Z | 2022-03-03T10:01:31.000Z | pkg/apiserver/internal/v1/region_test.go | jiachengxu/kubecarrier | 337ce9c28aff235e278c5d67557b20d87b3cf67f | [
"Apache-2.0"
] | 341 | 2020-03-12T13:50:07.000Z | 2022-03-31T14:23:17.000Z | pkg/apiserver/internal/v1/region_test.go | jiachengxu/kubecarrier | 337ce9c28aff235e278c5d67557b20d87b3cf67f | [
"Apache-2.0"
] | 16 | 2020-03-12T13:49:24.000Z | 2022-01-27T02:48:01.000Z | /*
Copyright 2020 The KubeCarrier Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 24.369748 | 72 | 0.613621 |
404ba7de5283f0eb5a0ff28a5dcbe8d8e2a215e2 | 1,131 | py | Python | backend/src/services/tramites-service/src/get-tramites/test/test_get_all_tramites.py | matiasvallejosdev/miregistro-serverless-app | 519b7dc43550d2bf3c9e7db4d86155937a9f6f50 | [
"Apache-2.0"
] | null | null | null | backend/src/services/tramites-service/src/get-tramites/test/test_get_all_tramites.py | matiasvallejosdev/miregistro-serverless-app | 519b7dc43550d2bf3c9e7db4d86155937a9f6f50 | [
"Apache-2.0"
] | null | null | null | backend/src/services/tramites-service/src/get-tramites/test/test_get_all_tramites.py | matiasvallejosdev/miregistro-serverless-app | 519b7dc43550d2bf3c9e7db4d86155937a9f6f50 | [
"Apache-2.0"
] | 1 | 2021-10-01T23:52:40.000Z | 2021-10-01T23:52:40.000Z | import pytest
import json
from get_all_tramites import lambda_function
from lambda_handlers.response.wrapper import APIGatewayProxyResult
from lambda_handlers.handlers.http_handler import CORSHeaders
class TestGetTramites:
@pytest.fixture
def event(self):
# Return JSON configuration file
PATH ... | 35.34375 | 175 | 0.693192 |
5998eeb6fa4b42c5ce42492aac2bbb591fe5c698 | 6,113 | ps1 | PowerShell | Scripts/Download-PSDevApps.ps1 | mwgevans115/MyScripts | 3e180f092693a2c4e67593740ec1fce356f56f09 | [
"MIT"
] | null | null | null | Scripts/Download-PSDevApps.ps1 | mwgevans115/MyScripts | 3e180f092693a2c4e67593740ec1fce356f56f09 | [
"MIT"
] | null | null | null | Scripts/Download-PSDevApps.ps1 | mwgevans115/MyScripts | 3e180f092693a2c4e67593740ec1fce356f56f09 | [
"MIT"
] | null | null | null | function Get-DownloadFolderPath {
# Define known folder GUIDs
$KnownFolders = @{
'Downloads' = '374DE290-123F-4565-9164-39C4925E467B';
'PublicDownloads' = '3D644C9B-1FB8-4f30-9B45-F670235F79C0';
}
$GetSignature = @'
[DllImport("shell32.dll", CharSet = CharSet.Unicode)]public ex... | 35.958824 | 148 | 0.623589 |
2f8634d28b3275079d338308bb94f459d1c5b018 | 51,288 | asm | Assembly | pce/player.asm | BlockoS/dmf-player | 711be7ab53fcd829765a47e8f941f18a543b4c3b | [
"BSD-3-Clause"
] | 16 | 2015-01-02T17:50:16.000Z | 2022-03-13T02:42:13.000Z | pce/player.asm | BlockoS/dmf-player | 711be7ab53fcd829765a47e8f941f18a543b4c3b | [
"BSD-3-Clause"
] | 7 | 2015-10-19T09:09:08.000Z | 2020-10-27T10:19:31.000Z | pce/player.asm | BlockoS/dmf-player | 711be7ab53fcd829765a47e8f941f18a543b4c3b | [
"BSD-3-Clause"
] | 1 | 2021-01-09T17:45:29.000Z | 2021-01-09T17:45:29.000Z | ; Copyright (c) 2015-2020, Vincent "MooZ" Cruz and other contributors. All rights reserved.
; Copyrights licensed under the New BSD License.
; See the accompanying LICENSE file for terms.
;;------------------------------------------------------------------------------------------
; [todo]
; porta to note borken?
; pa... | 23.988775 | 124 | 0.503081 |
2408af88fcc477e76e8e3744a6053c1d01a8dc33 | 342 | swift | Swift | box/Metal/Spatial/MetalSpatialDirection.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 7 | 2017-05-17T15:11:53.000Z | 2020-10-14T14:54:52.000Z | box/Metal/Spatial/MetalSpatialDirection.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 22 | 2017-05-16T15:43:08.000Z | 2018-02-26T07:11:18.000Z | box/Metal/Spatial/MetalSpatialDirection.swift | grandiere/box | 72c9848017e2fed2b8358e2f52edbc8d21f1a4f0 | [
"MIT"
] | 7 | 2017-05-17T15:12:02.000Z | 2020-09-09T13:15:44.000Z | import Foundation
class MetalSpatialDirection
{
let top:Float
let bottom:Float
let left:Float
let right:Float
init(
top:Float,
bottom:Float,
left:Float,
right:Float)
{
self.top = top
self.bottom = bottom
self.left = left
self.... | 15.545455 | 28 | 0.54386 |
64e2bd5fa92e4c80de4a856fd8b4fb7463be0db8 | 3,943 | java | Java | social/social-entity/src/main/java/br/com/crescer/social/entity/entities/Perfil.java | ArthurLDS/FaceFut-Social-Network | c9883505d4cdf48d6ef96c216904e3cd890564f3 | [
"MIT"
] | 10 | 2017-05-03T20:26:28.000Z | 2021-06-29T03:14:21.000Z | social/social-entity/src/main/java/br/com/crescer/social/entity/entities/Perfil.java | ArthurLDS/FaceFut | c9883505d4cdf48d6ef96c216904e3cd890564f3 | [
"MIT"
] | null | null | null | social/social-entity/src/main/java/br/com/crescer/social/entity/entities/Perfil.java | ArthurLDS/FaceFut | c9883505d4cdf48d6ef96c216904e3cd890564f3 | [
"MIT"
] | 2 | 2017-04-10T22:08:22.000Z | 2019-01-08T07:32:59.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.crescer.social.entity.entities;
import br.com.crescer.social.entity.enumeration.Sexo;
import java.io.Serializable;
impo... | 26.286667 | 100 | 0.676642 |
8743c8dcca6375e8a286c724d3d0579589ac519d | 8,767 | html | HTML | resume.html | antonpunith/maria-resume | a8954ecce659c56102cd1310fe86a0435807d993 | [
"MIT"
] | null | null | null | resume.html | antonpunith/maria-resume | a8954ecce659c56102cd1310fe86a0435807d993 | [
"MIT"
] | 1 | 2021-09-01T23:07:55.000Z | 2021-09-01T23:07:55.000Z | resume.html | antonpunith/maria-resume | a8954ecce659c56102cd1310fe86a0435807d993 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<!-- saved from url=(0022)http://localhost:4000/ -->
<html coupert-item="9AF8D9A4E502F3784AD24272D81F0381" class="gr__localhost"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
<title>Mari... | 19.525612 | 270 | 0.607848 |
9246cc53b4702fe8ea2fdea09d3e73fa8c50a360 | 483 | lua | Lua | examples/client.lua | victorgrey/lua-resty-riak | 0a00842afad86258936f57189bc3942e88112f01 | [
"Unlicense"
] | 1 | 2015-07-13T16:38:22.000Z | 2015-07-13T16:38:22.000Z | examples/client.lua | victorgrey/lua-resty-riak | 0a00842afad86258936f57189bc3942e88112f01 | [
"Unlicense"
] | null | null | null | examples/client.lua | victorgrey/lua-resty-riak | 0a00842afad86258936f57189bc3942e88112f01 | [
"Unlicense"
] | null | null | null | local riak = require "resty.riak.client"
local client = riak.new()
local ok, err = client:connect("127.0.0.1", 8087)
if not ok then
ngx.log(ngx.ERR, "connect failed: " .. err)
end
local object = { key = "1", content = { value = "test", content_type = "text/plain" } }
local rc, err = client:store_object("test", obje... | 30.1875 | 87 | 0.670807 |
61e8697b3039562add8605702eb19fbfc55c6ba8 | 263 | lua | Lua | modfiles/data/migrations/migration_1_1_19.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 49 | 2019-05-31T18:36:00.000Z | 2022-03-19T18:16:28.000Z | modfiles/data/migrations/migration_1_1_19.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 8 | 2019-11-20T19:44:41.000Z | 2021-10-02T19:35:07.000Z | modfiles/data/migrations/migration_1_1_19.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 27 | 2019-06-26T18:22:55.000Z | 2022-03-30T10:57:41.000Z | local migration = {}
function migration.global()
global.nth_tick_events = {}
end
function migration.player_table(player_table)
end
function migration.subfactory(subfactory)
end
function migration.packed_subfactory(packed_subfactory)
end
return migration
| 15.470588 | 55 | 0.813688 |
263d63e9c415bb7ce2b194351ce965c05285da41 | 2,960 | java | Java | bonaparte-core-test/src/test/java/testcases/csv/TestMultiRecordTypes.java | jpaw/bonaparte-java | 1a165271e43098ff334fa9127a613b1e6bd2ae4a | [
"Apache-2.0"
] | 1 | 2018-04-12T20:49:07.000Z | 2018-04-12T20:49:07.000Z | bonaparte-core-test/src/test/java/testcases/csv/TestMultiRecordTypes.java | jpaw/bonaparte-java | 1a165271e43098ff334fa9127a613b1e6bd2ae4a | [
"Apache-2.0"
] | null | null | null | bonaparte-core-test/src/test/java/testcases/csv/TestMultiRecordTypes.java | jpaw/bonaparte-java | 1a165271e43098ff334fa9127a613b1e6bd2ae4a | [
"Apache-2.0"
] | 3 | 2016-04-05T13:42:55.000Z | 2021-02-16T09:59:52.000Z | package testcases.csv;
import java.util.HashMap;
import java.util.Map;
import org.testng.annotations.Test;
import de.jpaw.bonaparte.core.BonaPortable;
import de.jpaw.bonaparte.core.CSVComposer2;
import de.jpaw.bonaparte.core.CSVConfiguration;
import de.jpaw.bonaparte.core.StringCSVParser;
import de.jpaw.bonaparte.po... | 41.690141 | 157 | 0.701351 |
70c679072dc54ace0889cbbe01af359daf998aec | 150 | c | C | src.clean/servers/vm/physravl.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | 2 | 2018-03-01T13:45:41.000Z | 2018-03-01T14:11:47.000Z | src.clean/servers/vm/physravl.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null | src.clean/servers/vm/physravl.c | ducis/operating-system-labs | 7df84f3dae792ee96461497b7d47414d24d233ee | [
"MIT"
] | null | null | null |
#include "proto.h"
#include "sanitycheck.h"
#include "phys_region.h"
#include "physravl_defs.h"
#include "cavl_if.h"
#include "cavl_impl.h"
| 16.666667 | 27 | 0.693333 |
175468bf46a73ece9d6515341ad0e194a4149f8c | 368 | html | HTML | src/promises.html | BigFun123/PIXI-Shader-Playground | c7670bb8b521f766e97525be435fb5afea4ec94c | [
"MIT"
] | null | null | null | src/promises.html | BigFun123/PIXI-Shader-Playground | c7670bb8b521f766e97525be435fb5afea4ec94c | [
"MIT"
] | 1 | 2021-03-10T07:39:02.000Z | 2021-03-10T07:39:02.000Z | src/promises.html | BigFun123/PIXI-Shader-Playground | c7670bb8b521f766e97525be435fb5afea4ec94c | [
"MIT"
] | null | null | null | <html>
<style>
#tarea {
float:left;
}
</style>
<body>
<!--<script src="dist/bundle.js"></script>-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.1.3/pixi.min.js"></script>
</body>
<!--<script type = "module" src="index.js"></script> -->
<script type = "... | 24.533333 | 92 | 0.538043 |
7fa67af356976ab6205fc8493ea659288c288a0b | 1,970 | kt | Kotlin | src/main/kotlin/com/jamieswhiteshirt/responsiveinventory/client/DragSplittingSlotsSet.kt | JamiesWhiteShirt/responsive-inventory | 02276e0d66b17c57445c50ccd22e79451618deca | [
"MIT"
] | null | null | null | src/main/kotlin/com/jamieswhiteshirt/responsiveinventory/client/DragSplittingSlotsSet.kt | JamiesWhiteShirt/responsive-inventory | 02276e0d66b17c57445c50ccd22e79451618deca | [
"MIT"
] | null | null | null | src/main/kotlin/com/jamieswhiteshirt/responsiveinventory/client/DragSplittingSlotsSet.kt | JamiesWhiteShirt/responsive-inventory | 02276e0d66b17c57445c50ccd22e79451618deca | [
"MIT"
] | null | null | null | package com.jamieswhiteshirt.responsiveinventory.client
import com.jamieswhiteshirt.responsiveinventory.init.ResponsiveInventorySoundEvents
import net.minecraft.client.audio.ISound
import net.minecraft.client.audio.PositionedSoundRecord
import net.minecraft.client.gui.inventory.GuiContainer
import net.minecraft.invent... | 32.833333 | 130 | 0.620305 |
9c150d6117de9500728e951aba84e670066e562c | 739 | js | JavaScript | static/src/js/pages/Home.js | blackb0x3/Edward | fae35c2bad13a19c7bfb2f0d5d9810762169a086 | [
"MIT"
] | 2 | 2019-01-08T00:32:10.000Z | 2019-06-24T14:29:24.000Z | static/src/js/pages/Home.js | lukebarker3/Edward | fae35c2bad13a19c7bfb2f0d5d9810762169a086 | [
"MIT"
] | 5 | 2021-03-09T01:31:15.000Z | 2022-02-17T20:41:27.000Z | static/src/js/pages/Home.js | lukebarker3/Edward | fae35c2bad13a19c7bfb2f0d5d9810762169a086 | [
"MIT"
] | null | null | null | import React, { Component } from "react";
import { Button, Jumbotron } from "reactstrap";
export default class Home extends Component {
constructor(props) {
super(props);
this.state = {};
}
componentDidMount() { }
render() {
return (
<Jumbotron>
<h1 className="display-3">Edward</h1... | 27.37037 | 145 | 0.612991 |
d2e785e4f037e1c9bfeac20acd95233e5b4598e2 | 4,336 | php | PHP | application/controllers/Customer.php | MuhammadSuryono/digitalisasi-marketing | 1cc8132dda7f4ce7dbdc336af277139c1557e4ef | [
"MIT"
] | null | null | null | application/controllers/Customer.php | MuhammadSuryono/digitalisasi-marketing | 1cc8132dda7f4ce7dbdc336af277139c1557e4ef | [
"MIT"
] | null | null | null | application/controllers/Customer.php | MuhammadSuryono/digitalisasi-marketing | 1cc8132dda7f4ce7dbdc336af277139c1557e4ef | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class Customer extends CI_Controller
{
public function __construct()
{
parent::__construct();
if ($this->session->userdata('masuk') != true) {
$url = base_url();
redirect($url);
}
... | 32.848485 | 88 | 0.556504 |
0bdd1351c1b9be0e3fd8e038805924c002aa47ae | 858 | js | JavaScript | src/components/header/header.css.js | vmcdesign/vmcdesign-site-2020 | 6dce8319c9097c9ee527709fdda4970f8f7cb263 | [
"MIT"
] | null | null | null | src/components/header/header.css.js | vmcdesign/vmcdesign-site-2020 | 6dce8319c9097c9ee527709fdda4970f8f7cb263 | [
"MIT"
] | null | null | null | src/components/header/header.css.js | vmcdesign/vmcdesign-site-2020 | 6dce8319c9097c9ee527709fdda4970f8f7cb263 | [
"MIT"
] | null | null | null | import styled from '@emotion/styled'
export const HeaderContainer = styled.header`
display: block;
position: absolute;
top: 7px;
width: 100%;
padding: 0 20px;
background-color: transparent;
border-top: 7px solid linear-gradient(90deg, rgba(241,95,95,1) 0%, rgba(235,155,82,1) 100%);
`
export ... | 22 | 95 | 0.641026 |
64f392f0ab4f49c254e615bc47aea75c3f50206e | 1,916 | lua | Lua | workspace/FDMM/tests/FDMMTEST_UnitTest.lua | NachtRaveVL/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | 4 | 2020-02-29T09:04:46.000Z | 2021-12-20T12:05:24.000Z | workspace/FDMM/tests/FDMMTEST_UnitTest.lua | justin-lovell/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | null | null | null | workspace/FDMM/tests/FDMMTEST_UnitTest.lua | justin-lovell/FDMM_DCS | 1a5c2090d46a0165fff9d46120dec08d555114d6 | [
"MIT"
] | 2 | 2020-09-03T11:21:46.000Z | 2020-10-25T19:19:28.000Z | ---
-- FDMMTEST Unit Test Module.
-- @module FDMMTEST_UnitTest
env.info("---FDMMTEST_UnitTest Start---")
do -- FDMMTESTUnitTest
--- Unit test class.
-- @type FDMMTESTUnitTest
-- @extends FDMMFacility
FDMMTESTUnitTest = {}
FDMMTESTUnitTest.__index = FDMMTESTUnitTest
setmetatable(FDMMTESTUnitTest, {
__c... | 26.246575 | 117 | 0.629958 |
c1d545e990146591a2d595f1ba9442d11fc31989 | 847 | sql | SQL | openGaussBase/testcase/KEYWORDS/Constraint_Name/Opengauss_Function_Keyword_Constraint_Name_Case0021.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Constraint_Name/Opengauss_Function_Keyword_Constraint_Name_Case0021.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/Constraint_Name/Opengauss_Function_Keyword_Constraint_Name_Case0021.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字constraint_name(非保留),作为函数名,部分测试点合理报错
--关键字不带引号-成功
drop function if exists constraint_name;
create function constraint_name(i integer)
returns integer
as $$
begin
return i+1;
end;
$$ language plpgsql;
/
--关键字带双引号-成功
drop function if exists "constraint_name";
create function "constraint_na... | 18.822222 | 63 | 0.75915 |
e4ec0897bf610dd36ed437eccb9b5ac76c4d4832 | 261 | sql | SQL | backend/dbtoaster/examples/queries/simple/rs_simple.sql | fdbresearch/FIVM | e4e5347a92ff5fb949d323c9123e5ceca3b4a3df | [
"Apache-2.0"
] | 8 | 2019-02-13T10:56:44.000Z | 2021-10-14T03:31:03.000Z | backend/dbtoaster/examples/queries/simple/rs_simple.sql | fdbresearch/FIVM | e4e5347a92ff5fb949d323c9123e5ceca3b4a3df | [
"Apache-2.0"
] | null | null | null | backend/dbtoaster/examples/queries/simple/rs_simple.sql | fdbresearch/FIVM | e4e5347a92ff5fb949d323c9123e5ceca3b4a3df | [
"Apache-2.0"
] | 3 | 2021-06-13T12:26:40.000Z | 2022-03-29T19:58:35.000Z | CREATE STREAM R(A int, B int)
FROM FILE 'examples/data/simple/r.dat' LINE DELIMITED
CSV ();
CREATE STREAM S(B int, C int)
FROM FILE 'examples/data/simple/s.dat' LINE DELIMITED
CSV ();
SELECT r.A, SUM(s.C)
FROM R r, S s
WHERE r.B = S.B
GROUP BY r.A;
| 20.076923 | 55 | 0.662835 |
749620b8ffe87c96bf6c7ddc43e85658d9423ad0 | 896 | h | C | KeyMouse/utils.h | iscooool/KeyMouse | 810943658287b63e999e758dbafb3ccf9f2cc25b | [
"MIT"
] | 76 | 2019-08-20T05:55:36.000Z | 2022-03-28T00:58:23.000Z | KeyMouse/utils.h | iscooool/KeyMouse | 810943658287b63e999e758dbafb3ccf9f2cc25b | [
"MIT"
] | 20 | 2019-11-27T00:11:06.000Z | 2022-03-28T05:32:17.000Z | KeyMouse/utils.h | iscooool/KeyMouse | 810943658287b63e999e758dbafb3ccf9f2cc25b | [
"MIT"
] | 5 | 2019-08-20T08:00:41.000Z | 2020-11-11T14:14:12.000Z | #pragma once
#include "tag.h"
#include "ctx.h"
inline void throw_if_fail(HRESULT hr);
HRESULT InitializeUIAutomation(IUIAutomation **ppAutomation);
KeyMouse::Context *GetContext(HWND hMainWnd);
KeyMouse::PElementVec CachingElementsFromWindow(HWND hMainWnd, std::vector<HWND> TopWindowVec, KeyMouse::PElementVec(*lpEnumF... | 47.157895 | 143 | 0.819196 |
0c91f8beba1444262adffec26a3344ef48edb987 | 435 | py | Python | ex3.py | SuPoPoo/python-exercise | 601b87c38c0090406cf532d2f9676b18650a0e0f | [
"MIT"
] | null | null | null | ex3.py | SuPoPoo/python-exercise | 601b87c38c0090406cf532d2f9676b18650a0e0f | [
"MIT"
] | null | null | null | ex3.py | SuPoPoo/python-exercise | 601b87c38c0090406cf532d2f9676b18650a0e0f | [
"MIT"
] | null | null | null | print("I will now count my chickens:")
print ("Hens",25+30/6)
print ("Roosters",100-25*3%4)
print("How I will count the eggs:")
print(3+2+1-5+4%2-1/4+6)
print("Is it true that 3+2<5-7?")
print(3+2<5-7)
print("What is 3+2?", 3+2)
print("What is 5-7?", 5-7)
print("Oh,that's why it's false")
print("How about some... | 16.730769 | 38 | 0.62069 |
7573e759e50e2c167de6758dfd6ac232f9fed86f | 2,101 | rs | Rust | math/src/vector_ops.rs | torresguilherme/oni-cv-rs | 615e98ad75fde94ffe25a4698c55743a25ae094d | [
"MIT"
] | 1 | 2020-03-17T19:02:34.000Z | 2020-03-17T19:02:34.000Z | math/src/vector_ops.rs | torresguilherme/oni-cv-rs | 615e98ad75fde94ffe25a4698c55743a25ae094d | [
"MIT"
] | null | null | null | math/src/vector_ops.rs | torresguilherme/oni-cv-rs | 615e98ad75fde94ffe25a4698c55743a25ae094d | [
"MIT"
] | null | null | null | use crate::point::{Point2D, Point3D, HPoint2D, EPoint3D};
use crate::point::{homogenize2d, homogenize3d};
/// fn dot2d
/// Calculates the dot product between two 2D points, homogenous or not.
pub fn dot2d(pa: &Point2D, pb: &Point2D) -> f64 {
match (pa, pb) {
(Point2D::EuclideanPoint(a), Point2D::EuclideanP... | 36.859649 | 153 | 0.566873 |
04ac5e73ae446dd8291db0da2efd78f475886c53 | 1,372 | java | Java | vaadin/src/main/java/org/jdal/vaadin/ui/bind/FieldAccessor.java | KrzychuJedi/jdal | 4bbfcf55ac9b0af912da140074ee2f7c92f5f070 | [
"Apache-2.0"
] | 20 | 2015-03-02T22:37:15.000Z | 2021-06-20T18:46:49.000Z | vaadin/src/main/java/org/jdal/vaadin/ui/bind/FieldAccessor.java | KrzychuJedi/jdal | 4bbfcf55ac9b0af912da140074ee2f7c92f5f070 | [
"Apache-2.0"
] | 2 | 2015-01-07T12:05:02.000Z | 2017-01-24T20:16:44.000Z | vaadin/src/main/java/org/jdal/vaadin/ui/bind/FieldAccessor.java | KrzychuJedi/jdal | 4bbfcf55ac9b0af912da140074ee2f7c92f5f070 | [
"Apache-2.0"
] | 11 | 2015-06-17T20:24:30.000Z | 2021-08-31T06:54:05.000Z | /*
* Copyright 2009-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 23.655172 | 75 | 0.709913 |
877b5bd0ff13eee35505bc0364180303f1c8a3af | 5,145 | html | HTML | WebContent/WEB-INF/views/user_setpassword.html | smrgeoinfo/cyberconnector | e5b8830d8c9b368c9a9e7707994a4075b0b99ebc | [
"MIT"
] | 14 | 2018-12-31T16:55:02.000Z | 2020-12-11T05:16:05.000Z | WebContent/WEB-INF/views/user_setpassword.html | smrgeoinfo/cyberconnector | e5b8830d8c9b368c9a9e7707994a4075b0b99ebc | [
"MIT"
] | 56 | 2018-10-19T21:13:22.000Z | 2022-01-21T23:42:21.000Z | WebContent/WEB-INF/views/user_setpassword.html | smrgeoinfo/cyberconnector | e5b8830d8c9b368c9a9e7707994a4075b0b99ebc | [
"MIT"
] | 9 | 2019-02-18T22:46:20.000Z | 2020-06-29T16:47:01.000Z | <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorator="frame">
<head>
<title>Sign Up</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" media="screen, p... | 30.264706 | 149 | 0.530418 |
a6da0ba63f7fd7d972870cd0da14d061e4443e15 | 509 | sql | SQL | Dev/Database/Scripts/Tables/Foreign keys. Match.sql | MorozovDamian/DevManuals | 0ebaaf7d828273c9f16845a8fc9d3e6a3892dc63 | [
"MIT"
] | 5 | 2020-09-17T15:20:27.000Z | 2022-02-22T09:19:40.000Z | Dev/Database/Scripts/Tables/Foreign keys. Match.sql | MorozovDamian/DevManuals | 0ebaaf7d828273c9f16845a8fc9d3e6a3892dc63 | [
"MIT"
] | null | null | null | Dev/Database/Scripts/Tables/Foreign keys. Match.sql | MorozovDamian/DevManuals | 0ebaaf7d828273c9f16845a8fc9d3e6a3892dc63 | [
"MIT"
] | null | null | null | -- Foreign keys. Match.
declare @table_foregin nvarchar(255) = 'LOGS'
declare @table_primary nvarchar(255) = 'LOG_TYPES'
select
[fk_tab].[name] [foreign_table]
,[pk_tab].[name] [primary_table]
,[fk].[name] [fk_constraint_name]
from [sys].[foreign_keys] [fk]
inner join [sys].[tables] [fk_tab] on [fk_tab].[object_id... | 42.416667 | 88 | 0.715128 |
0a1f34ca66a76ba50f9ac845edaadce2c20631cf | 814 | ts | TypeScript | src/app/services/fetch.service.ts | ahmedHusseinF/payme-demo | 518fcf270fd1e53c1aca666b317ae4e4d87495b7 | [
"MIT"
] | null | null | null | src/app/services/fetch.service.ts | ahmedHusseinF/payme-demo | 518fcf270fd1e53c1aca666b317ae4e4d87495b7 | [
"MIT"
] | null | null | null | src/app/services/fetch.service.ts | ahmedHusseinF/payme-demo | 518fcf270fd1e53c1aca666b317ae4e4d87495b7 | [
"MIT"
] | null | null | null | import { Injectable } from "@angular/core";
import { Http } from '@angular/http';
import 'rxjs/Rx';
@Injectable()
export class fetchService{
http: any;
baseUrl: string;
locationUrl: string;
constructor(http:Http){
this.http = http;
this.baseUrl = "http://devx.paymeapp.co/api/v2/mobile/h... | 26.258065 | 80 | 0.552826 |
9635707cfb845f0d576f41fbfbeeaa470f189205 | 359 | php | PHP | app/Reklame.php | Septiandnj/pajak | 97c78b2c8cfe2672a716a2342f2879336df1d848 | [
"MIT"
] | null | null | null | app/Reklame.php | Septiandnj/pajak | 97c78b2c8cfe2672a716a2342f2879336df1d848 | [
"MIT"
] | null | null | null | app/Reklame.php | Septiandnj/pajak | 97c78b2c8cfe2672a716a2342f2879336df1d848 | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Reklame extends Model
{
//
protected $fillable=['name','dasar1','dasar2','dasar3','ket'];
protected $visible=['name','dasar1','dasar2','dasar3','ket'];
public $timestamps=true;
public function entry()
{
return $this->has... | 18.894737 | 66 | 0.635097 |
089e6678cbb9f72bace30d96d8a68fb670a7618a | 6,690 | go | Go | handler.go | ochronus/grimd | 7f47b779b04435db96fbf5d5bbb3164306ca0a24 | [
"MIT"
] | null | null | null | handler.go | ochronus/grimd | 7f47b779b04435db96fbf5d5bbb3164306ca0a24 | [
"MIT"
] | null | null | null | handler.go | ochronus/grimd | 7f47b779b04435db96fbf5d5bbb3164306ca0a24 | [
"MIT"
] | null | null | null | package main
import (
"log"
"net"
"strings"
"time"
"github.com/miekg/dns"
)
const (
notIPQuery = 0
_IP4Query = 4
_IP6Query = 6
)
// Question type
type Question struct {
Qname string `json:"name"`
Qtype string `json:"type"`
Qclass string `json:"class"`
}
// QuestionCacheEntry represents a full query ... | 22.525253 | 108 | 0.63423 |
125ea7a76ea24d7ca1ece3c0b53f7affad1c8130 | 983 | c | C | src/clib/u8g2_font_timB10_tn.c | kzhioki/U8g2_Arduino | 42bac40675ab7404e6df3444cb01124aa9bd17b2 | [
"BSD-2-Clause"
] | null | null | null | src/clib/u8g2_font_timB10_tn.c | kzhioki/U8g2_Arduino | 42bac40675ab7404e6df3444cb01124aa9bd17b2 | [
"BSD-2-Clause"
] | null | null | null | src/clib/u8g2_font_timB10_tn.c | kzhioki/U8g2_Arduino | 42bac40675ab7404e6df3444cb01124aa9bd17b2 | [
"BSD-2-Clause"
] | null | null | null | #include "u8g2.h"
/*
Fontname: -Adobe-Times-Bold-R-Normal--14-100-100-100-P-76-ISO10646-1
Copyright: Copyright (c) 1984, 1987 Adobe Systems Incorporated. All Rights Reserved. Copyright (c) 1988, 1991 Digital Equipment Corporation. All Rights Reserved.
Glyphs: 18/756
BBX Build Mode: 0
*/
const uint8_t u8g2_font_... | 57.823529 | 163 | 0.673449 |
f4fb2e42869fc7f9c21065a0e9c22befbfc4b648 | 19,963 | asm | Assembly | Firmware/obj/hm_trp/radio~hm_trp/mavlink.asm | mgrunsfeld/SiK | 76563efb25620265b47992d7af30cb4de9849941 | [
"BSD-2-Clause"
] | null | null | null | Firmware/obj/hm_trp/radio~hm_trp/mavlink.asm | mgrunsfeld/SiK | 76563efb25620265b47992d7af30cb4de9849941 | [
"BSD-2-Clause"
] | null | null | null | Firmware/obj/hm_trp/radio~hm_trp/mavlink.asm | mgrunsfeld/SiK | 76563efb25620265b47992d7af30cb4de9849941 | [
"BSD-2-Clause"
] | null | null | null | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Mar 24 2016) (Linux)
; This file was generated Mon Jul 23 11:34:32 2018
;--------------------------------------------------------
.module mavlink
.optsdcc -mmcs51 --model-large
... | 20.538066 | 98 | 0.618795 |
32099911272be35f7b6c3e212fc4260b39fd6820 | 17,004 | ps1 | PowerShell | Functions/Get-MCASActivity.ps1 | gravikumar123/Cloud-App-Security | 384f675039f860e0b6adf71487bd2a10fa61ed22 | [
"MIT"
] | null | null | null | Functions/Get-MCASActivity.ps1 | gravikumar123/Cloud-App-Security | 384f675039f860e0b6adf71487bd2a10fa61ed22 | [
"MIT"
] | null | null | null | Functions/Get-MCASActivity.ps1 | gravikumar123/Cloud-App-Security | 384f675039f860e0b6adf71487bd2a10fa61ed22 | [
"MIT"
] | null | null | null | <#
.Synopsis
Gets user activity information from your Cloud App Security tenant.
.DESCRIPTION
Gets user activity information from your Cloud App Security tenant and requires a credential be provided.
Without parameters, Get-MCASActivity gets 100 activity records and associated properties. You can specify a p... | 51.841463 | 485 | 0.616267 |
cb5a7a2a55104663ac7c6b7def797dbebdac4413 | 17,406 | html | HTML | app/content/texts/grc_sblgnt/C19.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | 5 | 2019-12-18T05:17:19.000Z | 2020-04-04T07:07:21.000Z | app/content/texts/grc_sblgnt/C19.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | 1 | 2020-04-30T01:25:38.000Z | 2020-04-30T01:25:38.000Z | app/content/texts/grc_sblgnt/C19.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<title>ΚΟΡΙΝΘΙΟΥΣ Α΄ 9 (SBLGNT)</title>
<link href="../../../build/mobile.css" rel="stylesheet" />
<script src="../../../build/mobile.js"></script>
</head>
<body dir="ltr" cl... | 316.472727 | 913 | 0.555728 |
240629f5a6bdbad01c3a780fc498e4522ae8b611 | 456 | dart | Dart | lib/commands/fortnite/shop/br.dart | Tiebe/fishstick-dart | 4e48b70a0629933022689d41da3ee11796164fcb | [
"BSD-3-Clause"
] | 11 | 2022-02-11T11:27:31.000Z | 2022-02-20T20:15:30.000Z | lib/commands/fortnite/shop/br.dart | Tiebe/fishstick-dart | 4e48b70a0629933022689d41da3ee11796164fcb | [
"BSD-3-Clause"
] | 1 | 2022-03-30T14:43:02.000Z | 2022-03-30T14:43:02.000Z | lib/commands/fortnite/shop/br.dart | Tiebe/fishstick-dart | 4e48b70a0629933022689d41da3ee11796164fcb | [
"BSD-3-Clause"
] | 8 | 2022-02-11T11:43:25.000Z | 2022-02-23T19:13:01.000Z | import "package:nyxx/nyxx.dart";
import "package:nyxx_commands/nyxx_commands.dart";
import "../../../fishstick_dart.dart";
final ChatCommand brShopCommand = ChatCommand(
"br",
"View fortnite battle royale item shop.",
id(
"br_shop_command",
(IContext ctx) async {
await ctx.respond(MessageBuilder.co... | 28.5 | 113 | 0.695175 |
e51530994611388af094e08cc80077365bfb7a00 | 2,951 | ts | TypeScript | src/server.ts | Bandito11/spending-tracker-server | e90c3088515e349d59e2c7052d0a2708901901b2 | [
"MIT"
] | null | null | null | src/server.ts | Bandito11/spending-tracker-server | e90c3088515e349d59e2c7052d0a2708901901b2 | [
"MIT"
] | null | null | null | src/server.ts | Bandito11/spending-tracker-server | e90c3088515e349d59e2c7052d0a2708901901b2 | [
"MIT"
] | null | null | null | import * as express from 'express'
import * as bodyParser from 'body-parser'
import * as helmet from 'helmet'
import * as passport from 'passport'
import { verify } from 'jsonwebtoken'
import { Response } from 'express'
import * as authenticate from './db/authenticate.db'
const app = express()
require('dotenv').config... | 29.217822 | 125 | 0.664859 |
c8d81c0761a7d9f0497fe01891e7b371c307a3b3 | 4,938 | dart | Dart | lib/widget/home/sort_navigation.dart | shaodong-wu/LJ_NetDisk | df7a0df0debea707225779c438d165e9dae79e44 | [
"MIT"
] | null | null | null | lib/widget/home/sort_navigation.dart | shaodong-wu/LJ_NetDisk | df7a0df0debea707225779c438d165e9dae79e44 | [
"MIT"
] | null | null | null | lib/widget/home/sort_navigation.dart | shaodong-wu/LJ_NetDisk | df7a0df0debea707225779c438d165e9dae79e44 | [
"MIT"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:lj_netdisk/common/images_data.dart';
import 'package:lj_netdisk/views/search/home.dart';
import 'package:lj_netdisk/widget/common/search.dart';
class SortNavigation extends StatelessWidget {
const SortNavigation... | 32.701987 | 93 | 0.407655 |
2d6a4eb474485cfe5425ef43d10b3c781833d70e | 2,695 | ps1 | PowerShell | internal/configurations/settings/tabexpansion.ps1 | LetsGoRafting/dbatools | 8efcdbe2727c6c53f96a1fddba28d3ba52ecf7ce | [
"MIT"
] | 3 | 2020-05-20T18:34:08.000Z | 2021-06-29T04:13:58.000Z | internal/configurations/settings/tabexpansion.ps1 | LetsGoRafting/dbatools | 8efcdbe2727c6c53f96a1fddba28d3ba52ecf7ce | [
"MIT"
] | 2 | 2018-07-25T09:45:42.000Z | 2018-07-25T09:49:06.000Z | internal/configurations/settings/tabexpansion.ps1 | NakedPowerShell/dbatools | 714edec97214fcc005038bbf1a8fc3bffeeda7a1 | [
"MIT"
] | 2 | 2020-05-20T18:34:10.000Z | 2020-07-14T07:01:20.000Z | # Sets the default interval and timeout for TEPP updates
Set-DbaConfig -FullName 'TabExpansion.UpdateInterval' -Value (New-TimeSpan -Minutes 3) -Initialize -Validation timespan -Handler { [Sqlcollaborative.Dbatools.TabExpansion.TabExpansionHost]::TeppUpdateInterval = $args[0] } -Description 'The frequency in which TEP... | 96.25 | 508 | 0.792579 |
682d84b3b30e28a97c3caf42f51efa7317bce337 | 6,339 | sql | SQL | frthr_fqe/constraint.sql | openfurther/further-open-db | 54e97102db4542ec0996b9f6e2ae79e86a16746f | [
"Apache-2.0"
] | null | null | null | frthr_fqe/constraint.sql | openfurther/further-open-db | 54e97102db4542ec0996b9f6e2ae79e86a16746f | [
"Apache-2.0"
] | null | null | null | frthr_fqe/constraint.sql | openfurther/further-open-db | 54e97102db4542ec0996b9f6e2ae79e86a16746f | [
"Apache-2.0"
] | null | null | null | --------------------------------------------------------
-- Constraints for Table APP_LOG
--------------------------------------------------------
ALTER TABLE FRTHR_FQE.APP_LOG
ADD PRIMARY KEY (APP_LOG_ID);
--------------------------------------------------------
-- Constraints for Table AUDIT_LOG
----------------... | 36.641618 | 81 | 0.548036 |
252fc32c24601546a6352647fb65820318f7dac4 | 1,350 | sql | SQL | src/test/resources/randexpr1.test_2157.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/randexpr1.test_2157.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/randexpr1.test_2157.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- randexpr1.test
--
-- db eval {SELECT (abs((select +abs(case count(*) when +max(19) then count(distinct b)*count(distinct (13+(select max(t1.d) from t1)* -a+t1.e*t1.b*a))+cast(avg(13) AS integer) | min(13)*cast(avg(c) AS integer)-count(distinct t1.e)-((min(f))) | cast(avg(17) AS integer)-( -cast(avg(( -t1.d)) AS int... | 337.5 | 670 | 0.654074 |
ef6965015de7f67825bcb4b3124cf486a5a2f0a6 | 1,387 | kt | Kotlin | reactor/Core/src/jetbrains/mps/logic/reactor/core/internal/IncrSpecHolder.kt | JetBrains/mps-coderules | 96ede52bccaeea1b56b4986027142760a3760909 | [
"Apache-2.0"
] | 25 | 2018-09-04T14:29:38.000Z | 2022-02-21T02:54:03.000Z | reactor/Core/src/jetbrains/mps/logic/reactor/core/internal/IncrSpecHolder.kt | JetBrains/mps-coderules | 96ede52bccaeea1b56b4986027142760a3760909 | [
"Apache-2.0"
] | 1 | 2020-10-23T10:00:26.000Z | 2020-10-23T10:00:27.000Z | reactor/Core/src/jetbrains/mps/logic/reactor/core/internal/IncrSpecHolder.kt | JetBrains/mps-coderules | 96ede52bccaeea1b56b4986027142760a3760909 | [
"Apache-2.0"
] | 5 | 2019-02-03T13:07:25.000Z | 2022-03-18T16:38:22.000Z | /*
* Copyright 2014-2020 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 36.5 | 80 | 0.772891 |
60cf3a01298f98b099f3933fb393cab1b2c1c40f | 2,576 | lua | Lua | FairyGUI-Demo/TransitionDemo.lua | fairygui/FairyGUI-solar2d | 8fab30578000463cbff34041a1f9b901bada52b3 | [
"MIT"
] | 10 | 2021-12-06T08:20:39.000Z | 2022-03-28T10:27:27.000Z | FairyGUI-Demo/TransitionDemo.lua | fairygui/FairyGUI-solar2d | 8fab30578000463cbff34041a1f9b901bada52b3 | [
"MIT"
] | 1 | 2022-03-29T09:48:22.000Z | 2022-03-30T08:47:11.000Z | FairyGUI-Demo/TransitionDemo.lua | fairygui/FairyGUI-solar2d | 8fab30578000463cbff34041a1f9b901bada52b3 | [
"MIT"
] | null | null | null | local composer = require( "composer" )
local scene = composer.newScene()
local _groot
local _view
local _btnGroup
local _g1
local _g2
local _g3
local _g4
local _g5
function scene:create( event )
_groot = GRoot.create(self)
UIPackage.addPackage('UI/Transition')
composer.addCloseButton()
_vi... | 25.254902 | 66 | 0.710016 |
282a1e0ac93e84167c9e542507c7cdea488f3323 | 787 | rb | Ruby | app/controllers/articles_controller.rb | helman101/Every-Tech2 | 0cd993c9b687eedf4340117a3877e159c607118a | [
"MIT"
] | 3 | 2021-03-03T19:31:59.000Z | 2021-04-23T10:45:06.000Z | app/controllers/articles_controller.rb | helman101/Every-Tech2 | 0cd993c9b687eedf4340117a3877e159c607118a | [
"MIT"
] | 1 | 2021-03-01T07:31:50.000Z | 2021-03-01T07:31:50.000Z | app/controllers/articles_controller.rb | helman101/Every-Tech2 | 0cd993c9b687eedf4340117a3877e159c607118a | [
"MIT"
] | null | null | null | class ArticlesController < ApplicationController
include ArticlesHelper
before_action :require_login, only: %i[create new]
def new
@article = Article.new
end
def create
@article = current_user.authored_articles.build(article_params)
if @article.save
create_categories(params[:article][:cat... | 24.59375 | 79 | 0.707751 |
90b196f6c33c63adb938a7efa6f6eaee4e21cd0e | 1,680 | sql | SQL | Database Connection/MySQL For DS/3.4_bonus_exercises.sql | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 14 | 2020-09-17T17:04:04.000Z | 2021-08-19T05:08:49.000Z | Database Connection/MySQL For DS/3.4_bonus_exercises.sql | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 85 | 2020-10-01T16:53:21.000Z | 2021-07-08T17:44:17.000Z | Database Connection/MySQL For DS/3.4_bonus_exercises.sql | jrderek/Data-science-master-resources | 95adab02dccbf5fbe6333389324a1f8d032d3165 | [
"MIT"
] | 5 | 2020-09-18T08:53:01.000Z | 2021-08-19T05:12:52.000Z | /* ==================================================
3.4 Bonus Exercises
Ednalyn C. De Dios
2019-02-19
MySQL
Ada Cohort
Codeup Data Science Career Accelerator Program
==================================================
*/
/*
Write a query that shows all the information in the `he... | 22.4 | 77 | 0.65119 |
53824efc6f190b32a8637f93c406888dae0380ed | 2,408 | sql | SQL | tps-forvalteren-config/src/main/resources/db/migration/tpsforvalterenDB/V1.0__Initialize_Tables.sql | navikt/tps-forvalteren | 864fa1e19d8fcea53b8acb976b517670d10768eb | [
"MIT"
] | null | null | null | tps-forvalteren-config/src/main/resources/db/migration/tpsforvalterenDB/V1.0__Initialize_Tables.sql | navikt/tps-forvalteren | 864fa1e19d8fcea53b8acb976b517670d10768eb | [
"MIT"
] | 37 | 2020-09-23T14:00:49.000Z | 2021-11-17T12:19:57.000Z | tps-forvalteren-config/src/main/resources/db/migration/tpsforvalterenDB/V1.0__Initialize_Tables.sql | navikt/tps-forvalteren | 864fa1e19d8fcea53b8acb976b517670d10768eb | [
"MIT"
] | 1 | 2022-02-16T13:52:48.000Z | 2022-02-16T13:52:48.000Z | -----------------
-- T A B L E S --
-----------------
CREATE TABLE T_PERSON (
PERSON_ID NUMBER(9) NOT NULL,
IDENT VARCHAR2(11) NOT NULL,
IDENTTYPE VARCHAR2(3) NOT NULL,
KJONN VARCHAR2(1) NOT NULL,
FORNAVN VARCHAR2(50) NOT NULL,
MELLOMNAVN VARCHAR2(50),
ETT... | 33.444444 | 95 | 0.582641 |
adb14882eea3fb76ea772bbd7ae0bdb7c98b659a | 3,734 | dart | Dart | lib/features/user_profile/data/dtos/user_dto.dart | hellyab/loan_app | bddd7689dbaf193b0fec5fe27da7b27f9ecfba41 | [
"Apache-2.0"
] | null | null | null | lib/features/user_profile/data/dtos/user_dto.dart | hellyab/loan_app | bddd7689dbaf193b0fec5fe27da7b27f9ecfba41 | [
"Apache-2.0"
] | null | null | null | lib/features/user_profile/data/dtos/user_dto.dart | hellyab/loan_app | bddd7689dbaf193b0fec5fe27da7b27f9ecfba41 | [
"Apache-2.0"
] | null | null | null | import 'dart:convert';
import 'package:loan_app/features/user_profile/data/dtos/dtos.dart';
import 'package:loan_app/features/user_profile/domain/entities/entities.dart';
class UserDTO {
UserDTO({
required this.id,
required this.city,
required this.country,
required this.createdAt,
required this... | 23.632911 | 78 | 0.58677 |
400ff23eea96eef52d15f5da1e54e1282902b729 | 19,636 | py | Python | blesuite/cli/blesuite_cli.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 198 | 2016-08-04T05:45:38.000Z | 2022-02-17T08:30:58.000Z | blesuite/cli/blesuite_cli.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 13 | 2018-02-04T14:16:16.000Z | 2020-10-09T02:16:24.000Z | blesuite/cli/blesuite_cli.py | jreynders/BLESuite-1 | 1c3c15fc2d4e30c3f9c1a15e0268cae84685784b | [
"MIT"
] | 57 | 2016-08-08T04:24:04.000Z | 2022-01-24T08:43:02.000Z | import argparse
from blesuite.connection_manager import BLEConnectionManager
from blesuite_wrapper import ble_service_read, ble_service_read_async, ble_service_write, \
ble_handle_subscribe, ble_service_scan, ble_service_write_async, ble_run_smart_scan
from blesuite import utils
from blesuite.utils.print_helper imp... | 53.214092 | 120 | 0.503718 |
81e76b593a639f4ccc4339a8a2cd93480b119674 | 3,905 | go | Go | client/user/get_profile_responses.go | prydin/go-fitter | 243604ef54c2ab39441858b4fb40971b4794854b | [
"Apache-2.0"
] | null | null | null | client/user/get_profile_responses.go | prydin/go-fitter | 243604ef54c2ab39441858b4fb40971b4794854b | [
"Apache-2.0"
] | null | null | null | client/user/get_profile_responses.go | prydin/go-fitter | 243604ef54c2ab39441858b4fb40971b4794854b | [
"Apache-2.0"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package user
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"github.com/go-openapi/runtime"
strfmt "github.com/go-openapi/strfmt"
)
// GetProfileReader is a Reader ... | 27.695035 | 196 | 0.762612 |
0589b4bc24575fc5aaf96966e4e1e5a15cde2ece | 91 | rb | Ruby | app/controllers/tweets_controller.rb | alex6851/sinatra-fwitter-group-project-online-web-sp-000 | 5db531cb20d717624ca8490288567fd154dc0fba | [
"RSA-MD"
] | null | null | null | app/controllers/tweets_controller.rb | alex6851/sinatra-fwitter-group-project-online-web-sp-000 | 5db531cb20d717624ca8490288567fd154dc0fba | [
"RSA-MD"
] | null | null | null | app/controllers/tweets_controller.rb | alex6851/sinatra-fwitter-group-project-online-web-sp-000 | 5db531cb20d717624ca8490288567fd154dc0fba | [
"RSA-MD"
] | null | null | null | class TweetsController < ApplicationController
get '/tweets' do
binding.pry
end
end
| 10.111111 | 46 | 0.758242 |
46009cf1ce649b8dcce7b2b1bca51f2ee0dfdeae | 1,290 | kt | Kotlin | src/chapter4/section1/ex8.kt | w1374720640/Algorithms | 879885b82ef51d58efe578c9391f04bc54c2531d | [
"MIT"
] | 1 | 2022-01-08T13:57:45.000Z | 2022-01-08T13:57:45.000Z | src/chapter4/section1/ex8.kt | w1374720640/Algorithms | 879885b82ef51d58efe578c9391f04bc54c2531d | [
"MIT"
] | null | null | null | src/chapter4/section1/ex8.kt | w1374720640/Algorithms | 879885b82ef51d58efe578c9391f04bc54c2531d | [
"MIT"
] | 1 | 2021-04-23T11:13:32.000Z | 2021-04-23T11:13:32.000Z | package chapter4.section1
import chapter1.section5.CompressionWeightedQuickUnionUF
import edu.princeton.cs.algs4.In
import extensions.readInt
/**
* 按照正文中的要求,用union-find算法实现4.1.2.3中搜索的API
*/
class UnionFindSearch(val graph: Graph, val s: Int) : Search(graph, s) {
// 压缩路径、带权重的QuickUnion
private val uf = Compr... | 23.888889 | 72 | 0.555814 |
7129b32e0bea1eef1fcd481173045f2db1c095d2 | 870 | ts | TypeScript | clients/node/client-elastic-beanstalk-node/types/DescribeApplicationVersionsOutput.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-elastic-beanstalk-node/types/DescribeApplicationVersionsOutput.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | clients/node/client-elastic-beanstalk-node/types/DescribeApplicationVersionsOutput.ts | pravgupt/aws-sdk-js-v3 | 1fd0fab5da141d934eb98624d6c23b347806bb47 | [
"Apache-2.0"
] | null | null | null | import { _UnmarshalledApplicationVersionDescription } from "./_ApplicationVersionDescription";
import * as __aws_sdk_types from "@aws-sdk/types";
/**
* <p>Result message wrapping a list of application version descriptions.</p>
*/
export interface DescribeApplicationVersionsOutput
extends __aws_sdk_types.MetadataBe... | 36.25 | 139 | 0.755172 |
7611b4e07c23867c6f6e359c98ace7513de201ca | 1,319 | go | Go | src/github.com/st3v/fakesandra/cql/proto/v3/handler.go | st3v/fakesandra | cfc962d29a7b0611cf81a0c097afa864cbee466c | [
"Apache-2.0"
] | 1 | 2016-09-01T00:33:23.000Z | 2016-09-01T00:33:23.000Z | src/github.com/st3v/fakesandra/cql/proto/v3/handler.go | st3v/fakesandra | cfc962d29a7b0611cf81a0c097afa864cbee466c | [
"Apache-2.0"
] | null | null | null | src/github.com/st3v/fakesandra/cql/proto/v3/handler.go | st3v/fakesandra | cfc962d29a7b0611cf81a0c097afa864cbee466c | [
"Apache-2.0"
] | null | null | null | package v3
import (
"bytes"
"github.com/st3v/fakesandra/cql/proto"
)
var StartupFrameHandler = proto.FrameHandlerFunc(startupFrameHandler)
var QueryFrameHandler = NewQueryFrameHandler(ResultVoidHandler)
var ResultVoidHandler = proto.QueryHandlerFunc(resultVoidHandler)
func resultVoidHandler(qry string, req prot... | 24.886792 | 82 | 0.769522 |
48d203b521bf3acaed6a050235d625ef40c8489a | 350 | sql | SQL | C# DB Fundamentals/Databases Basics - MS SQL Server/Database Programmability and Transactions - Exercise/10. People with Balance Higher Than.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Basics - MS SQL Server/Database Programmability and Transactions - Exercise/10. People with Balance Higher Than.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | C# DB Fundamentals/Databases Basics - MS SQL Server/Database Programmability and Transactions - Exercise/10. People with Balance Higher Than.sql | DanielBankov/SoftUni | 378b55e249cdaa9570b101238c289cf0102ba946 | [
"MIT"
] | null | null | null | CREATE PROC usp_GetHoldersWithBalanceHigherThan @Number DECIMAL(14, 2) AS
SELECT k.FirstName, k.LastName FROM (
SELECT ah.Id, ah.FirstName, ah.LastName
FROM Accounts AS a
JOIN AccountHolders AS ah ON ah.Id = a.AccountHolderId
GROUP BY ah.Id, ah.FirstName, ah.LastName
HAVING SUM(a.Balance) > @Number) AS k
ORD... | 38.888889 | 73 | 0.76 |
f9ca93a7ce2def33e191e29bc9321e31112cdae0 | 1,280 | go | Go | transform/process.go | brunopugliese/cas-xog | 104a1e45ed2476e2c4634693eaa846c2cb73f228 | [
"MIT"
] | 12 | 2017-04-03T18:29:46.000Z | 2022-01-31T11:25:45.000Z | transform/process.go | brunopugliese/cas-xog | 104a1e45ed2476e2c4634693eaa846c2cb73f228 | [
"MIT"
] | 22 | 2017-11-10T12:35:15.000Z | 2021-01-15T12:17:34.000Z | transform/process.go | brunopugliese/cas-xog | 104a1e45ed2476e2c4634693eaa846c2cb73f228 | [
"MIT"
] | 2 | 2020-08-17T17:33:33.000Z | 2020-12-22T11:37:28.000Z | package transform
import (
"errors"
"github.com/andreluzz/cas-xog/model"
"github.com/beevik/etree"
"regexp"
)
func specificProcessTransformations(xog, aux *etree.Document, file *model.DriverFile) error {
removeElementFromParent(xog, "//lookups")
if file.CopyPermissions != "" {
securityElement, err := copyPro... | 22.857143 | 93 | 0.697656 |
088191201697751bfa41e3957d29749b0b0d5962 | 5,804 | swift | Swift | ConnectionKit/Classes/Socket/CKSTask.swift | ddrccw/ConnectionKit | 7836c8d5781e481679936a24b2b6c77cc01c9e1a | [
"MIT"
] | null | null | null | ConnectionKit/Classes/Socket/CKSTask.swift | ddrccw/ConnectionKit | 7836c8d5781e481679936a24b2b6c77cc01c9e1a | [
"MIT"
] | null | null | null | ConnectionKit/Classes/Socket/CKSTask.swift | ddrccw/ConnectionKit | 7836c8d5781e481679936a24b2b6c77cc01c9e1a | [
"MIT"
] | null | null | null | //
// CKSUDPTask.swift
// ConnectionKit-iOS
//
// Created by ddrccw on 2018/3/17.
// Copyright © 2018年 ddrccw. All rights reserved.
//
import Foundation
/// A type that can inspect and optionally adapt a `URLRequest` in some manner if necessary.
protocol CKSTaskAdapter {
/// Inspects and adapts the specified ... | 26.995349 | 123 | 0.61561 |
eeca1f8d7725cacabf13293b2c96e201a16fc0a5 | 572 | lua | Lua | libuix.lua | octacian/libuix | 40844d97206f0672bb1b5ac4ec605fecf5312d72 | [
"MIT"
] | 6 | 2020-01-13T08:53:21.000Z | 2021-01-06T22:18:16.000Z | libuix.lua | octacian/libuix | 40844d97206f0672bb1b5ac4ec605fecf5312d72 | [
"MIT"
] | null | null | null | libuix.lua | octacian/libuix | 40844d97206f0672bb1b5ac4ec605fecf5312d72 | [
"MIT"
] | null | null | null | local types = import("types.lua")
local manager = import("formspec/manager.lua")
-----------------------
-- UIXInstance Class --
-----------------------
local UIXInstance = types.type("UIXInstance")
function UIXInstance:new(modname)
types.force({"string"}, modname)
local instance = {modname = modname}
setmetatab... | 22.88 | 114 | 0.652098 |
d634b3473739af438b5a31f2a5328ff905962e87 | 731 | swift | Swift | Source/iMindLib/Protocols/InfoPresenter.swift | imindeu/iMindLib.swift | 798d9b28959456b0a54a16b7d983e1b2b70209bb | [
"MIT"
] | null | null | null | Source/iMindLib/Protocols/InfoPresenter.swift | imindeu/iMindLib.swift | 798d9b28959456b0a54a16b7d983e1b2b70209bb | [
"MIT"
] | null | null | null | Source/iMindLib/Protocols/InfoPresenter.swift | imindeu/iMindLib.swift | 798d9b28959456b0a54a16b7d983e1b2b70209bb | [
"MIT"
] | null | null | null | //
// ErrorPresenter.swift
// iMindLib
//
// Created by Rezessy Miklós on 2017. 01. 24..
// Copyright © 2017. iMind. All rights reserved.
//
import Foundation
protocol InfoPresenter {
/**
Presenting information for the user with level and message parts
- parameter level: The level of the info.
... | 24.366667 | 93 | 0.660739 |
855141dd9c7a676552a75f96f4c5092226097171 | 632 | dart | Dart | lib/drawerfiles/map.dart | samrat19/vivarta2019 | 93ddb9fb84080944d30b5c4f0e85083a42203540 | [
"Apache-2.0"
] | 1 | 2020-02-12T04:37:20.000Z | 2020-02-12T04:37:20.000Z | lib/drawerfiles/map.dart | samrat19/vivarta2019 | 93ddb9fb84080944d30b5c4f0e85083a42203540 | [
"Apache-2.0"
] | null | null | null | lib/drawerfiles/map.dart | samrat19/vivarta2019 | 93ddb9fb84080944d30b5c4f0e85083a42203540 | [
"Apache-2.0"
] | 1 | 2019-01-22T07:10:22.000Z | 2019-01-22T07:10:22.000Z | import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
class Map extends StatefulWidget {
@override
_MapState createState() => _MapState();
}
class _MapState extends State<Map> {
@override
Widget build(BuildContext context) {
return WebviewScaffold(
... | 27.478261 | 192 | 0.716772 |
17b4272f6fbbe89cd28e4714476a47664f44dce6 | 309 | sql | SQL | SQLBeam.Core/Database/Config/MoveExecutableTaskToRunning.sql | MindFlavor/SQLBeam | 27fadbfec69e0434247063440d2fd944d5b97cc2 | [
"MIT"
] | 5 | 2018-03-01T03:31:11.000Z | 2022-01-19T16:17:35.000Z | SQLBeam.Core/Database/Config/MoveExecutableTaskToRunning.sql | MindFlavor/SQLBeam | 27fadbfec69e0434247063440d2fd944d5b97cc2 | [
"MIT"
] | null | null | null | SQLBeam.Core/Database/Config/MoveExecutableTaskToRunning.sql | MindFlavor/SQLBeam | 27fadbfec69e0434247063440d2fd944d5b97cc2 | [
"MIT"
] | null | null | null | BEGIN TRANSACTION
INSERT INTO [core].[RunningTasks]
SELECT
[GUID], [Server], [Destination_ID], [Task_ID], [Parameters], [WaitStartTime], [ScheduledTime], GETDATE()
FROM [core].[ScheduledTasks] WITH(XLOCK)
WHERE
GUID = @GUID;
DELETE FROM [core].[ScheduledTasks]
WHERE
GUID = @GUID;
COMMIT TRANSACTION | 22.071429 | 106 | 0.724919 |
fe02fe753b35b2c7bf7b3f849b2f0bca447d851d | 629 | swift | Swift | anotherContains.playground/Contents.swift | DahnaB/ios-another-contains-swift-challenge | cac42d7e453698c0ba2109e1fb41536a44206d8d | [
"MIT"
] | null | null | null | anotherContains.playground/Contents.swift | DahnaB/ios-another-contains-swift-challenge | cac42d7e453698c0ba2109e1fb41536a44206d8d | [
"MIT"
] | null | null | null | anotherContains.playground/Contents.swift | DahnaB/ios-another-contains-swift-challenge | cac42d7e453698c0ba2109e1fb41536a44206d8d | [
"MIT"
] | null | null | null | import Foundation
extension String {
func anotherContains(_ target: String) -> Bool {
let stringA = self.lowercased()
let stringB = target.lowercased()
var anotherContains: Bool {
return stringA.isEqual(stringB)
}
return anotherContains
}
}
... | 26.208333 | 62 | 0.647059 |
ca062b8fee6ad251119d5ce4d84011ac4eb58bdf | 128 | java | Java | src/main/java/daggerok/interceptors/events/ResetEvent.java | daggerok/cdi-example | c347619a7cec962abc597a1426923777ec1c802f | [
"MIT"
] | null | null | null | src/main/java/daggerok/interceptors/events/ResetEvent.java | daggerok/cdi-example | c347619a7cec962abc597a1426923777ec1c802f | [
"MIT"
] | null | null | null | src/main/java/daggerok/interceptors/events/ResetEvent.java | daggerok/cdi-example | c347619a7cec962abc597a1426923777ec1c802f | [
"MIT"
] | null | null | null | package daggerok.interceptors.events;
import lombok.Value;
@Value
public class ResetEvent {
private final String payload;
}
| 14.222222 | 37 | 0.789063 |
c2bf7d0ae3ccbd60e49ca0af64eec3dfe996eb94 | 3,445 | kt | Kotlin | bootstrap/src/main/kotlin/win.kt | mikehearn/graviton-browser | ce6180b85c627293d22e76073ecf9b06910af310 | [
"Apache-2.0"
] | 26 | 2018-03-31T21:58:58.000Z | 2018-12-24T14:59:13.000Z | bootstrap/src/main/kotlin/win.kt | mikehearn/graviton-browser | ce6180b85c627293d22e76073ecf9b06910af310 | [
"Apache-2.0"
] | 69 | 2018-03-31T16:36:08.000Z | 2018-12-29T23:07:13.000Z | bootstrap/src/main/kotlin/win.kt | mikehearn/graviton-browser | ce6180b85c627293d22e76073ecf9b06910af310 | [
"Apache-2.0"
] | 4 | 2018-03-31T18:20:37.000Z | 2018-10-30T16:30:47.000Z | import kotlinx.cinterop.*
import platform.windows.*
import platform.posix.*
import kotlin.math.max
typealias WSTR = CPointer<UShortVar>
private fun WSTR.toKString(): String = memScoped {
// Figure out how much memory we need after UTF-8 conversion.
val sz = WideCharToMultiByte(CP_UTF8, WC_ERR_INVALID_CHARS, t... | 38.707865 | 123 | 0.661248 |
74b682029323befbb79b5e699563ff7e49efe9f3 | 348 | js | JavaScript | Documentation/html/d0/d7a/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation63f6925cd849065e1e2c514ce69d6108.js | jamesbrindle/YTMusicUploader | c2c7c7d694275f311932316794d179b44814c4d2 | [
"MIT"
] | 127 | 2020-08-30T16:36:03.000Z | 2022-02-19T19:17:08.000Z | Documentation/html/d0/d7a/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation63f6925cd849065e1e2c514ce69d6108.js | fcrimins/YTMusicUploader | e90784391398a96e12595dc6fe4dda64ae345cae | [
"MIT"
] | 33 | 2020-08-31T17:17:16.000Z | 2021-10-16T11:41:03.000Z | Documentation/html/d0/d7a/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation63f6925cd849065e1e2c514ce69d6108.js | fcrimins/YTMusicUploader | e90784391398a96e12595dc6fe4dda64ae345cae | [
"MIT"
] | 22 | 2020-10-10T19:55:56.000Z | 2022-03-08T03:53:59.000Z | var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation63f6925cd849065e1e2c514ce69d6108 =
[
[ "musicVideoType", "d0/d7a/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_artist_results_continuation63f6925cd849065e1e2c514ce69d6108.html#ad637d0c485d6a144... | 87 | 208 | 0.916667 |
ca14bb007e538580842c77c1360bd7df3de46b36 | 7,072 | java | Java | src/com/innerfunction/choreographer/Process.java | innerfunction/semo-core-and | 36e36a6d292da28b183c56e9b44ad5288f609344 | [
"Apache-2.0"
] | null | null | null | src/com/innerfunction/choreographer/Process.java | innerfunction/semo-core-and | 36e36a6d292da28b183c56e9b44ad5288f609344 | [
"Apache-2.0"
] | null | null | null | src/com/innerfunction/choreographer/Process.java | innerfunction/semo-core-and | 36e36a6d292da28b183c56e9b44ad5288f609344 | [
"Apache-2.0"
] | null | null | null | package com.innerfunction.choreographer;
import java.util.List;
import java.util.Map;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import com.innerfunction.util.Locals;
/**
* A process running a procedure.
* @author juliangoacher
*
*/
public class Process {
/** The process number. *... | 29.466667 | 105 | 0.569146 |
6e9f4b56f2e8c7648787d9d86e89798f3032a256 | 1,274 | kt | Kotlin | android-base/basektlib/src/main/java/com/kangraoo/basektlib/tools/rx/RxTimer.kt | easemob/Task-4-Android | fc094179ed211c28d9c83ef8fda3e1f3b0f5c061 | [
"MIT"
] | 3 | 2021-10-01T17:02:09.000Z | 2021-11-17T07:08:09.000Z | android-base/basektlib/src/main/java/com/kangraoo/basektlib/tools/rx/RxTimer.kt | easemob/Creative-Challenge-DrawingBoard | bd0cdce2ef682d1059bc888e91923c00024ba91b | [
"MIT"
] | null | null | null | android-base/basektlib/src/main/java/com/kangraoo/basektlib/tools/rx/RxTimer.kt | easemob/Creative-Challenge-DrawingBoard | bd0cdce2ef682d1059bc888e91923c00024ba91b | [
"MIT"
] | 1 | 2021-09-16T07:57:58.000Z | 2021-09-16T07:57:58.000Z | package com.kangraoo.basektlib.tools.rx
import com.kangraoo.basektlib.tools.rx.RxTransformerHelper.ioToUI
import io.reactivex.Observable
import io.reactivex.Observer
import io.reactivex.disposables.Disposable
import java.util.concurrent.TimeUnit
object RxTimer {
fun interval(seconds: Int, callback: RxIntervalCal... | 26 | 65 | 0.531397 |
4d06edd03f4f174d9cab2b252e04996717f862b7 | 502 | sql | SQL | migrations/sql/V2020.10.22.09.29__add_trigger_to_mine_seq.sql | bcgov/mds | 6c427a66a5edb4196222607291adef8fd6677038 | [
"Apache-2.0"
] | 25 | 2018-07-09T19:04:37.000Z | 2022-03-15T17:27:10.000Z | migrations/sql/V2020.10.22.09.29__add_trigger_to_mine_seq.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 983 | 2018-04-25T20:08:07.000Z | 2022-03-31T21:45:20.000Z | migrations/sql/V2020.10.22.09.29__add_trigger_to_mine_seq.sql | areyeslo/mds | e8c38e593e09b78e2a57009c0d003d6c4bfa32e6 | [
"Apache-2.0"
] | 58 | 2018-05-15T22:35:50.000Z | 2021-11-29T19:40:52.000Z | CREATE SEQUENCE mine_mine_number_seq;
ALTER SEQUENCE mine_mine_number_seq RESTART WITH 2000000;
ALTER TABLE mine
ALTER COLUMN mine_no_sequence SET DEFAULT nextval('mine_mine_number_seq');
CREATE FUNCTION new_mine_number_function()
RETURNS trigger AS '
BEGIN
IF NEW.mine_no IS NULL THEN
NEW.mine_no := NEW.mine_no... | 27.888889 | 74 | 0.808765 |
81718c84ae657e67be74f4826dfdfb16f9367eaf | 34,392 | go | Go | pkg/client/zitadel/org/org.pb.go | caos/zitadel-go | ca6b26e4d6e35411560e313f9084ac436c2643e1 | [
"Apache-2.0"
] | 13 | 2021-04-27T11:10:37.000Z | 2022-03-28T11:37:24.000Z | pkg/client/zitadel/org/org.pb.go | caos/zitadel-go | ca6b26e4d6e35411560e313f9084ac436c2643e1 | [
"Apache-2.0"
] | 67 | 2021-04-22T15:29:39.000Z | 2022-03-30T18:03:13.000Z | pkg/client/zitadel/org/org.pb.go | caos/zitadel-go | ca6b26e4d6e35411560e313f9084ac436c2643e1 | [
"Apache-2.0"
] | 1 | 2021-12-17T20:00:29.000Z | 2021-12-17T20:00:29.000Z | // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.18.0
// source: zitadel/org.proto
package org
import (
object "github.com/caos/zitadel-go/pkg/client/zitadel/object"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
_ "github.com/grpc-ecosystem/grpc-... | 36.548353 | 185 | 0.699843 |
4ccd767a4bf2e69ffc9c9a8563166a505d79a377 | 512 | kt | Kotlin | src/main/kotlin/ru/inforion/lab403/common/logging/logger/Record.kt | xthebat/logkot | 7cc7570b7ec3ace213dea13d1debbc505812f969 | [
"MIT"
] | 9 | 2019-03-19T07:39:21.000Z | 2022-02-18T23:49:50.000Z | src/main/kotlin/ru/inforion/lab403/common/logging/logger/Record.kt | xthebat/logkot | 7cc7570b7ec3ace213dea13d1debbc505812f969 | [
"MIT"
] | null | null | null | src/main/kotlin/ru/inforion/lab403/common/logging/logger/Record.kt | xthebat/logkot | 7cc7570b7ec3ace213dea13d1debbc505812f969 | [
"MIT"
] | 2 | 2020-11-24T21:23:34.000Z | 2020-11-25T14:09:29.000Z | package ru.inforion.lab403.common.logging.logger
import ru.inforion.lab403.common.logging.Caller
import ru.inforion.lab403.common.logging.LogLevel
class Record constructor(
val logger: Logger,
val level: LogLevel,
val millis: Long,
val caller: Caller
) {
val sourceMethodName: String get() = caller... | 30.117647 | 64 | 0.738281 |
ddf6a70d7579e0d25cb0f2cd7f344cc66eb46ecd | 292 | sql | SQL | Cheburashka/Tests/TestScripts/AvoidWriteOnlyVariablesRule/ProcWithChainedWriteOnlyVariables.sql | dedmedved/cheburashka | 8598f37af575907e066b773f5c4c5f010aefbb49 | [
"Apache-2.0"
] | 1 | 2017-11-28T11:04:40.000Z | 2017-11-28T11:04:40.000Z | Cheburashka/Tests/TestScripts/AvoidWriteOnlyVariablesRule/ProcWithChainedWriteOnlyVariables.sql | dedmedved/cheburashka | 8598f37af575907e066b773f5c4c5f010aefbb49 | [
"Apache-2.0"
] | 4 | 2021-02-09T17:03:55.000Z | 2021-04-06T08:55:07.000Z | Cheburashka/Tests/TestScripts/AvoidWriteOnlyVariablesRule/ProcWithChainedWriteOnlyVariables.sql | dedmedved/cheburashka | 8598f37af575907e066b773f5c4c5f010aefbb49 | [
"Apache-2.0"
] | null | null | null |
create procedure ProcWithChainedWriteOnlyVariables
as
begin
declare @A int -- @A is only written to/used in the setting of @B . This should be flagged as a problem
, @B int -- @B is only written to . This should be flagged as a problem
set @A = 1
set @B = @A
end | 32.444444 | 109 | 0.657534 |
adcf02300608ae0e177d1a45f21c2200e233cd7f | 3,519 | ps1 | PowerShell | PPoShTools/Public/FileSystem/Add-Font.ps1 | PPOSHGROUP/PPoShTools | 73c452a7c79cbe595a2b92291deab40ae1c30cfb | [
"MIT"
] | 6 | 2017-08-01T03:53:37.000Z | 2019-06-29T07:17:12.000Z | PPoShTools/Public/FileSystem/Add-Font.ps1 | PPOSHGROUP/PPoShTools | 73c452a7c79cbe595a2b92291deab40ae1c30cfb | [
"MIT"
] | 2 | 2017-06-14T09:12:07.000Z | 2021-04-26T10:18:03.000Z | PPoShTools/Public/FileSystem/Add-Font.ps1 | PPOSHGROUP/PPoShTools | 73c452a7c79cbe595a2b92291deab40ae1c30cfb | [
"MIT"
] | null | null | null | function Add-Font {
<#
#requires -Version 2.0
.SYNOPSIS
This will install Windows fonts.
.DESCRIPTION
Requries Administrative privileges. Will copy fonts to Windows Fonts folder and register them.
.PARAMETER Path
May be either the path to a font file to install or the path... | 35.545455 | 152 | 0.62944 |
176d5ce7fbe41f45c09ea92786503f5e9fc0729b | 11,892 | html | HTML | i386/usr/share/doc/libxcb1-dev/manual/xcbext_8h_source.html | liberodark/GOG | 62c1193e2ce17c4b28f01c15a28bdde58a59fe0f | [
"Unlicense"
] | 1 | 2020-03-05T23:46:18.000Z | 2020-03-05T23:46:18.000Z | i386/usr/share/doc/libxcb1-dev/manual/xcbext_8h_source.html | liberodark/steam-runtime | 62c1193e2ce17c4b28f01c15a28bdde58a59fe0f | [
"Unlicense"
] | null | null | null | i386/usr/share/doc/libxcb1-dev/manual/xcbext_8h_source.html | liberodark/steam-runtime | 62c1193e2ce17c4b28f01c15a28bdde58a59fe0f | [
"Unlicense"
] | 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"/>
<title>XCB: xcbext.h Sourc... | 71.638554 | 472 | 0.693996 |
563cd355ce86ba61a425e7835306678e008034c0 | 5,161 | go | Go | read_writer.go | c4pt0r/iouring-go | e86988586594b53f535fd5054906cfafe4ef163d | [
"MIT"
] | 186 | 2020-03-17T12:23:45.000Z | 2022-03-31T14:44:54.000Z | read_writer.go | c4pt0r/iouring-go | e86988586594b53f535fd5054906cfafe4ef163d | [
"MIT"
] | 9 | 2020-05-06T01:17:19.000Z | 2021-06-21T14:17:51.000Z | read_writer.go | c4pt0r/iouring-go | e86988586594b53f535fd5054906cfafe4ef163d | [
"MIT"
] | 9 | 2020-04-21T18:51:41.000Z | 2021-05-14T14:23:56.000Z | // +build linux
package iouring
import (
"io"
"os"
"runtime"
"sync/atomic"
"syscall"
"unsafe"
"github.com/pkg/errors"
)
// ReadWriteAtCloser supports reading, writing, and closing.
type ReadWriteAtCloser interface {
io.WriterAt
io.ReadWriteCloser
}
// ringFIO is used for handling file IO.
type ringFIO str... | 21.776371 | 79 | 0.647936 |
2a6852aad4e134400d8862bfcb67466a5f9a1c58 | 10,838 | java | Java | src/main/java/act/view/beetl/BeetlRegisterHelper.java | actframework/beetl | 8c4a2c13e4364936a32701cadcc00d526eb1a65c | [
"Apache-2.0"
] | null | null | null | src/main/java/act/view/beetl/BeetlRegisterHelper.java | actframework/beetl | 8c4a2c13e4364936a32701cadcc00d526eb1a65c | [
"Apache-2.0"
] | 13 | 2016-09-27T05:44:07.000Z | 2019-08-27T21:28:53.000Z | src/main/java/act/view/beetl/BeetlRegisterHelper.java | actframework/beetl | 8c4a2c13e4364936a32701cadcc00d526eb1a65c | [
"Apache-2.0"
] | 1 | 2020-05-09T00:52:53.000Z | 2020-05-09T00:52:53.000Z | package act.view.beetl;
/*-
* #%L
* ACT Beetl
* %%
* Copyright (C) 2017 - 2019 ActFramework
* %%
* 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/licens... | 28.596306 | 101 | 0.538014 |
69ac3f03d3f73af2350ce1d66de40196369dfec9 | 3,977 | ps1 | PowerShell | D365FOLBDAdmin/functions/Remove-D365LBDSFImageStoreFiles.ps1 | stefanland/D365FOLBDAdmin | b9cd322d46bb825ae7582f9fd161307b850c1945 | [
"MIT"
] | 5 | 2019-11-21T06:41:33.000Z | 2022-01-03T18:02:49.000Z | D365FOLBDAdmin/functions/Remove-D365LBDSFImageStoreFiles.ps1 | stefanland/D365FOLBDAdmin | b9cd322d46bb825ae7582f9fd161307b850c1945 | [
"MIT"
] | null | null | null | D365FOLBDAdmin/functions/Remove-D365LBDSFImageStoreFiles.ps1 | stefanland/D365FOLBDAdmin | b9cd322d46bb825ae7582f9fd161307b850c1945 | [
"MIT"
] | 3 | 2019-11-21T08:03:54.000Z | 2021-03-01T04:22:29.000Z | function Remove-D365LBDSFImageStoreFiles {
<# TODO: Needs more testing
.SYNOPSIS
Created to clean service fabric image store. needs more testing.
.DESCRIPTION
Created to clean service fabric image store. needs more testing.
.EXAMPLE
Remove-D365LBDSFImageStoreFiles
Removes Image store files insi... | 55.236111 | 281 | 0.675132 |
b2bff192f3852a8121825cff9ab0d2dc48bcad15 | 999 | py | Python | esp8266/boot.py | AlexGolovko/UltrasonicDeeper | 598020854a1bff433bce1582bf05625a6cb646c8 | [
"MIT"
] | 3 | 2020-04-21T10:51:38.000Z | 2022-03-10T18:23:56.000Z | esp8266/boot.py | AlexGolovko/UltrasonicDeeper | 598020854a1bff433bce1582bf05625a6cb646c8 | [
"MIT"
] | 5 | 2020-09-05T22:53:54.000Z | 2021-05-05T14:31:35.000Z | esp8266/boot.py | AlexGolovko/UltrasonicDeeper | 598020854a1bff433bce1582bf05625a6cb646c8 | [
"MIT"
] | 2 | 2021-01-24T19:18:42.000Z | 2021-02-26T09:41:54.000Z | # This file is executed on every boot (including wake-boot from deepsleep)
import esp
import gc
import machine
import network
esp.osdebug(None)
# machine.freq(160000000)
def do_connect(wifi_name, wifi_pass):
ssid = 'microsonar'
password = 'microsonar'
ap_if = network.WLAN(network.AP_IF)
ap_if.activ... | 23.785714 | 74 | 0.672673 |
87db3ed69f3c967777660cf8325ed2f43790d84a | 467 | dart | Dart | lib/Answer.dart | Sohailm25/Keep-or-Yeet | 13b64291d18eb54b5735f8d8163bdd73ff47b35f | [
"MIT"
] | null | null | null | lib/Answer.dart | Sohailm25/Keep-or-Yeet | 13b64291d18eb54b5735f8d8163bdd73ff47b35f | [
"MIT"
] | null | null | null | lib/Answer.dart | Sohailm25/Keep-or-Yeet | 13b64291d18eb54b5735f8d8163bdd73ff47b35f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
class Answer extends StatelessWidget {
final Function selectedFunc;
final String buttonName;
Answer(this.selectedFunc, this.buttonName);
@override
Widget build(BuildContext context) {
return Container(
width: double.infinity,
child: RaisedButton(
... | 21.227273 | 45 | 0.665953 |
948cdc63f975f72bf32e546a67a58e8308597394 | 1,934 | kt | Kotlin | src/test/kotlin/org/rust/ide/inspections/RsExtraSemicolonInspectionTest.kt | fedochet/intellij-rust | 5bc3e1d091d41ef3e20f4a30d32d0d427d5fa830 | [
"MIT"
] | null | null | null | src/test/kotlin/org/rust/ide/inspections/RsExtraSemicolonInspectionTest.kt | fedochet/intellij-rust | 5bc3e1d091d41ef3e20f4a30d32d0d427d5fa830 | [
"MIT"
] | null | null | null | src/test/kotlin/org/rust/ide/inspections/RsExtraSemicolonInspectionTest.kt | fedochet/intellij-rust | 5bc3e1d091d41ef3e20f4a30d32d0d427d5fa830 | [
"MIT"
] | 1 | 2022-02-27T01:19:02.000Z | 2022-02-27T01:19:02.000Z | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.inspections
class RsExtraSemicolonInspectionTest : RsInspectionsTestBase(RsExtraSemicolonInspection::class) {
fun `test not applicable without return type`() = checkByText("""
f... | 25.447368 | 97 | 0.469493 |
2a6520b5293b6be6252b20e8ea7f93309a39c489 | 1,141 | java | Java | src/main/java/ch/ost/rj/sa/miro2cml/business_logic/BasicInputCorrector.java | miro2cml/generator | f4d9cff91ade6a9c47467bc1f157da13a9a5f648 | [
"Apache-2.0"
] | null | null | null | src/main/java/ch/ost/rj/sa/miro2cml/business_logic/BasicInputCorrector.java | miro2cml/generator | f4d9cff91ade6a9c47467bc1f157da13a9a5f648 | [
"Apache-2.0"
] | null | null | null | src/main/java/ch/ost/rj/sa/miro2cml/business_logic/BasicInputCorrector.java | miro2cml/generator | f4d9cff91ade6a9c47467bc1f157da13a9a5f648 | [
"Apache-2.0"
] | 1 | 2021-07-06T14:52:27.000Z | 2021-07-06T14:52:27.000Z | package ch.ost.rj.sa.miro2cml.business_logic;
import ch.ost.rj.sa.miro2cml.business_logic.model.InputBoard;
import ch.ost.rj.sa.miro2cml.business_logic.model.MappingLog;
import ch.ost.rj.sa.miro2cml.data_access.model.miro2cml.widgets.IRelevantText;
import ch.ost.rj.sa.miro2cml.data_access.model.miro2cml.widgets.Widget... | 40.75 | 176 | 0.7844 |
1f1294adb2424547ef1cc2ed78a9c59e480130c7 | 3,703 | css | CSS | data/usercss/161829.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/161829.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/161829.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Reduce Graying of Downvoted Contents
@namespace USO Archive
@author Matthias Winkelmann
@description `Makes downvoted comments on Hacker News readable by either reducing the graying, or replacing it with subtle colored indicators.`
@version 20180626.12.34
@license... | 31.381356 | 460 | 0.642452 |
7e926a538acd7f7fcc203fffd9b5b2f60bb216bc | 232 | kt | Kotlin | common/src/main/java/com/ably/tracking/common/LocationMappers.kt | ably/ably-asset-tracking-android | 396e02f12ec4ef0d0d6eaefb25b4e1f6ce838b52 | [
"Apache-2.0"
] | 4 | 2021-05-18T21:07:53.000Z | 2022-02-16T16:44:14.000Z | common/src/main/java/com/ably/tracking/common/LocationMappers.kt | ably/ably-asset-tracking-android | 396e02f12ec4ef0d0d6eaefb25b4e1f6ce838b52 | [
"Apache-2.0"
] | 298 | 2021-03-11T16:57:57.000Z | 2022-03-31T11:41:32.000Z | common/src/main/java/com/ably/tracking/common/LocationMappers.kt | ably/ably-asset-tracking-android | 396e02f12ec4ef0d0d6eaefb25b4e1f6ce838b52 | [
"Apache-2.0"
] | 2 | 2021-05-06T09:39:58.000Z | 2021-05-19T07:50:15.000Z | package com.ably.tracking.common
import com.ably.tracking.Location
fun android.location.Location.toAssetTracking(timestamp: Long = time): Location =
Location(latitude, longitude, altitude, accuracy, bearing, speed, timestamp)
| 33.142857 | 81 | 0.797414 |
50691f7530f25fe27e484d8f30deb564005638b1 | 1,062 | go | Go | NFs/ausf/internal/sbi/consumer/nf_discovery.go | ChiaChia1114/Free5gc_docker2 | 5ffb5e7bf3aa902f4737b28cd7d14f1858008e4a | [
"Apache-2.0"
] | null | null | null | NFs/ausf/internal/sbi/consumer/nf_discovery.go | ChiaChia1114/Free5gc_docker2 | 5ffb5e7bf3aa902f4737b28cd7d14f1858008e4a | [
"Apache-2.0"
] | null | null | null | NFs/ausf/internal/sbi/consumer/nf_discovery.go | ChiaChia1114/Free5gc_docker2 | 5ffb5e7bf3aa902f4737b28cd7d14f1858008e4a | [
"Apache-2.0"
] | null | null | null | package consumer
import (
"context"
"fmt"
"net/http"
"github.com/free5gc/ausf/internal/logger"
"github.com/free5gc/openapi/Nnrf_NFDiscovery"
"github.com/free5gc/openapi/models"
)
func SendSearchNFInstances(nrfUri string, targetNfType, requestNfType models.NfType,
param Nnrf_NFDiscovery.SearchNFInstancesParamO... | 31.235294 | 90 | 0.760829 |
c7e86329be034a46e590869f6e7da7a623e1d787 | 1,275 | swift | Swift | src/Shiba/Shiba/ShibaFunctionExecutor.swift | ShibaJS/iOSRuntime | 951af75976e3a2f8894191c8ea18c95bf4b7fcde | [
"MIT"
] | 31 | 2018-05-08T17:27:00.000Z | 2019-02-02T08:54:12.000Z | iOS/Shiba/Shiba/ShibaFunctionExecutor.swift | Tlaster/Shiba | ae4c4f62e2b6bdbeb0acfe9afaf386ebe27d69d8 | [
"MIT"
] | 14 | 2018-08-22T07:54:18.000Z | 2019-02-12T03:08:09.000Z | iOS/Shiba/Shiba/ShibaFunctionExecutor.swift | ShibaJS/Shiba | ae4c4f62e2b6bdbeb0acfe9afaf386ebe27d69d8 | [
"MIT"
] | 1 | 2018-11-29T19:19:38.000Z | 2018-11-29T19:19:38.000Z | //
// Created by 高垣朝陽 on 2018/8/16.
// Copyright (c) 2018 Tlaster. All rights reserved.
//
import Foundation
class ShibaFunctionExecutor {
func execute(function: ShibaFunction, dataContext: Any?) -> Any? {
return Shiba.instance.configuration.converterExecutor.execute(name: function.name, parameters: func... | 34.459459 | 133 | 0.701176 |
e57e1af8e96a56c57a0d47f81b98b26bbd87acd6 | 691 | swift | Swift | MineBleeper/Views/RootLabel.swift | WikipediaBrown/MineBleeper | a1cc75274a6d06d8dc123ad879cfcf48df97a8b4 | [
"MIT"
] | null | null | null | MineBleeper/Views/RootLabel.swift | WikipediaBrown/MineBleeper | a1cc75274a6d06d8dc123ad879cfcf48df97a8b4 | [
"MIT"
] | null | null | null | MineBleeper/Views/RootLabel.swift | WikipediaBrown/MineBleeper | a1cc75274a6d06d8dc123ad879cfcf48df97a8b4 | [
"MIT"
] | null | null | null | //
// RootLabel.swift
// MineBleeper
//
// Created by Wikipedia Brown on 11/8/19.
// Copyright © 2019 IamGoodBad. All rights reserved.
//
import UIKit
class RootLabel: UILabel {
override init(frame: CGRect) {
super.init(frame: frame)
adjustsFontSizeToFitWidth = true
font = UIFont.syst... | 23.827586 | 61 | 0.645441 |
0719e55b86c43ec445422aa87489525c0e86504b | 108,506 | sql | SQL | Tables/sssproje_benfed.sql | meettan/benfed_fertilizer | 23b6f6b95e1a6c96515e504b435742531284f1aa | [
"MIT"
] | null | null | null | Tables/sssproje_benfed.sql | meettan/benfed_fertilizer | 23b6f6b95e1a6c96515e504b435742531284f1aa | [
"MIT"
] | null | null | null | Tables/sssproje_benfed.sql | meettan/benfed_fertilizer | 23b6f6b95e1a6c96515e504b435742531284f1aa | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Sep 16, 2020 at 10:03 PM
-- Server version: 5.7.31
-- PHP Version: 7.3.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHA... | 73.663272 | 565 | 0.581627 |
7bcd818ab70222373d5c1ced593ca6fe4c2e6054 | 127 | ps1 | PowerShell | SecretsManagementExtension/classes/01-init.ps1 | JPRuskin/PS.SecretsManagement.LastPass | f58e1afcf83ccc33859f261f2f1a0d7339ec161e | [
"MIT"
] | 1 | 2020-11-18T16:37:52.000Z | 2020-11-18T16:37:52.000Z | SecretsManagementExtension/classes/01-init.ps1 | JPRuskin/PS.SecretsManagement.LastPass | f58e1afcf83ccc33859f261f2f1a0d7339ec161e | [
"MIT"
] | null | null | null | SecretsManagementExtension/classes/01-init.ps1 | JPRuskin/PS.SecretsManagement.LastPass | f58e1afcf83ccc33859f261f2f1a0d7339ec161e | [
"MIT"
] | null | null | null | $BasicEncoding = [System.Text.Encoding]::GetEncoding("iso-8859-1")
$TextEncoding = [System.Text.Encoding]::GetEncoding("UTF-8") | 63.5 | 66 | 0.748031 |
5068885f321a0f395a18a1ef91a1b1a33fdf0941 | 1,026 | lua | Lua | server/lualib/agent/handler.lua | yangxuan0261/Testmmo-cli | 51010a3148d48488321a9da3c885e36b34c46132 | [
"MIT"
] | null | null | null | server/lualib/agent/handler.lua | yangxuan0261/Testmmo-cli | 51010a3148d48488321a9da3c885e36b34c46132 | [
"MIT"
] | null | null | null | server/lualib/agent/handler.lua | yangxuan0261/Testmmo-cli | 51010a3148d48488321a9da3c885e36b34c46132 | [
"MIT"
] | null | null | null | -- agent所有handler的父类
local syslog = require "syslog"
local handler = {}
local mt = { __index = handler }
function handler.new (rpc, cmd)
return setmetatable ({
init_func = {},
rpc = rpc,
cmd = cmd,
}, mt)
end
function handler:init (f)
table.insert (self.init_func, f)
end
local function merge (dest, t) -- 复制... | 18.654545 | 69 | 0.663743 |
861ff709d12862c88caee11e58968b6fb6d0e7ec | 3,164 | swift | Swift | Sources/XHTML/Elements/InputElement.swift | YOCKOW/SwiftXHTML | 74b871ea4fcf61dec577408462b2a317a484270c | [
"MIT"
] | null | null | null | Sources/XHTML/Elements/InputElement.swift | YOCKOW/SwiftXHTML | 74b871ea4fcf61dec577408462b2a317a484270c | [
"MIT"
] | 1 | 2021-02-16T08:19:07.000Z | 2021-02-16T08:40:59.000Z | Sources/XHTML/Elements/InputElement.swift | YOCKOW/SwiftXHTML | 74b871ea4fcf61dec577408462b2a317a484270c | [
"MIT"
] | null | null | null | /* *************************************************************************************************
InputElement.swift
© 2019 YOCKOW.
Licensed under MIT License.
See "LICENSE.txt" for more information.
************************************************************************************************ */
... | 24.913386 | 125 | 0.554678 |
56a24585ce72a5d09f99bb2544959775c5ee35a7 | 588 | go | Go | util/assert/_example/example_test.go | sniperkit/snk.fork.corestoreio-pkg | 3411558ebd72429134255437e680e2f0e5395d48 | [
"Apache-2.0"
] | null | null | null | util/assert/_example/example_test.go | sniperkit/snk.fork.corestoreio-pkg | 3411558ebd72429134255437e680e2f0e5395d48 | [
"Apache-2.0"
] | null | null | null | util/assert/_example/example_test.go | sniperkit/snk.fork.corestoreio-pkg | 3411558ebd72429134255437e680e2f0e5395d48 | [
"Apache-2.0"
] | null | null | null | /*
Sniperkit-Bot
- Status: analyzed
*/
package example
import (
"testing"
"github.com/sniperkit/snk.fork.corestoreio-pkg/util/assert"
)
type Person struct {
Name string
Age int
}
func TestDiff(t *testing.T) {
expected := []*Person{{"Alec", 20}, {"Bob", 21}, {"Sally", 22}}
actual := []*Person{{"Alex", 20}, {... | 19.6 | 64 | 0.612245 |
f81ac3e6b7bf6607303c42337e036409df2d79e6 | 903 | lua | Lua | src/StarterPlayer/StarterPlayerScripts/contents/coreRenderServices/init.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | 91 | 2020-10-28T23:25:05.000Z | 2022-03-20T23:01:32.000Z | src/StarterPlayer/StarterPlayerScripts/contents/coreRenderServices/init.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | null | null | null | src/StarterPlayer/StarterPlayerScripts/contents/coreRenderServices/init.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | 32 | 2020-10-29T00:03:51.000Z | 2022-03-30T00:48:42.000Z | local Container = {} do
for _, service in pairs(script:GetChildren()) do
local success, contents = pcall(function()
local module = require(service)
if type(module) == "table" and module.init then
--module:init()
end;
return module
end... | 23.763158 | 93 | 0.563677 |
f0226c6808c08f2703acc1926c1c5db646216b9a | 1,645 | js | JavaScript | platforms/android/platform_www/cordova_plugins.js | deemanthaMediajogger/gyApp | 4d88a3e0abadc4cd15c1f8bfc36fe6abac9276bb | [
"Apache-2.0"
] | null | null | null | platforms/android/platform_www/cordova_plugins.js | deemanthaMediajogger/gyApp | 4d88a3e0abadc4cd15c1f8bfc36fe6abac9276bb | [
"Apache-2.0"
] | null | null | null | platforms/android/platform_www/cordova_plugins.js | deemanthaMediajogger/gyApp | 4d88a3e0abadc4cd15c1f8bfc36fe6abac9276bb | [
"Apache-2.0"
] | null | null | null | cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"id": "cordova-plugin-device.device",
"file": "plugins/cordova-plugin-device/www/device.js",
"pluginId": "cordova-plugin-device",
"clobbers": [
"device"
]
},
{
"id": "cordova-plugin-inappb... | 28.362069 | 74 | 0.641945 |
9d1a97f18a9aca8ffee5565128b9b4d25398c1ae | 11,081 | html | HTML | src/public/html/help.html | agepoly/Wish | bb3e37d8007870edb794181ab764f1a76d9bca5a | [
"MIT"
] | 1 | 2016-09-30T13:47:24.000Z | 2016-09-30T13:47:24.000Z | src/public/html/help.html | agepoly/Wish | bb3e37d8007870edb794181ab764f1a76d9bca5a | [
"MIT"
] | 36 | 2016-10-20T12:26:27.000Z | 2020-01-07T17:45:29.000Z | src/public/html/help.html | agepoly/Wish | bb3e37d8007870edb794181ab764f1a76d9bca5a | [
"MIT"
] | 3 | 2016-11-10T10:09:53.000Z | 2021-08-31T19:07:55.000Z | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>Wish</title>
<link rel="stylesheet" type="text/css" href="/css/lib/normalize.css">
<link rel="stylesheet" type="text/css" href="/css/lib/skeleton.css">
<link rel="stylesheet" type="tex... | 72.424837 | 536 | 0.741901 |
335a4441ef30c33d5cad3d5359502e7ca96e5802 | 363 | asm | Assembly | verify/alfy/1_variable_definition/variable_list_with_value.alfy.asm | alexandruradovici/alf-alfy-asm-public | 43a73cc13c38f39125620fb9bd566c261cff1c73 | [
"BSD-2-Clause"
] | null | null | null | verify/alfy/1_variable_definition/variable_list_with_value.alfy.asm | alexandruradovici/alf-alfy-asm-public | 43a73cc13c38f39125620fb9bd566c261cff1c73 | [
"BSD-2-Clause"
] | 2 | 2017-05-18T20:29:57.000Z | 2017-05-19T19:03:07.000Z | verify/alfy/1_variable_definition/variable_list_with_value.alfy.asm | alexandruradovici/alf-alfy-asm-language-public | 43a73cc13c38f39125620fb9bd566c261cff1c73 | [
"BSD-2-Clause"
] | null | null | null |
; script
start:
; attribution
; value int 3
set r2 3
; n: r3
set r3 0
store r3 r2
; attribution
; value real 3.7
set r2 3700
; r: r3
set r3 4
store r3 r2
; attribution
; value logic false
set r2 0
; l: r... | 16.5 | 27 | 0.435262 |
f046760db9f9c57e0de347811b277f149a454916 | 49 | py | Python | pluploader/upm/exceptions.py | craftamap/pluploader | c44e683282abb6fba8ced156aa807a66736a4ca1 | [
"Apache-2.0"
] | 12 | 2020-04-09T12:50:23.000Z | 2020-10-30T14:43:40.000Z | pluploader/upm/exceptions.py | livelyapps/pluploader | 39f2f50ba9625c038cdb1f5a7ecf2ad64da5577c | [
"Apache-2.0"
] | 40 | 2020-04-12T15:25:46.000Z | 2021-06-04T19:47:44.000Z | pluploader/upm/exceptions.py | craftamap/pluploader | c44e683282abb6fba8ced156aa807a66736a4ca1 | [
"Apache-2.0"
] | 2 | 2020-09-16T14:07:49.000Z | 2020-10-30T14:45:07.000Z | class UploadFailedException(Exception):
pass
| 16.333333 | 39 | 0.795918 |
4f3b55d7ca7eafee641df01d864608b5dbe97db9 | 393 | ps1 | PowerShell | Chapter01/CreateAzureStorage.ps1 | PacktPublishing/DP-203-Azure-Data-Engineer-Associate-Certification-Guide | b7c3ccec05bfed5882a50f8705d2dac765ea623c | [
"MIT"
] | 1 | 2022-03-07T15:26:38.000Z | 2022-03-07T15:26:38.000Z | Chapter01/CreateAzureStorage.ps1 | PacktPublishing/DP-203-Azure-Data-Engineer-Associate-Certification-Guide | b7c3ccec05bfed5882a50f8705d2dac765ea623c | [
"MIT"
] | null | null | null | Chapter01/CreateAzureStorage.ps1 | PacktPublishing/DP-203-Azure-Data-Engineer-Associate-Certification-Guide | b7c3ccec05bfed5882a50f8705d2dac765ea623c | [
"MIT"
] | 1 | 2022-03-30T18:24:41.000Z | 2022-03-30T18:24:41.000Z | # Creating Azure storage account
$resourceGroup = "<INSERT RESOURCE GROUP NAME>"
$storageAccount ="<INSERT STORAGE ACCOUNT NAME>"
$region = "<INSERT REGION NAME>"
# We will have to create an Azure Storage first before we can create queues, shares or files
az storage account create --resource-group $resourceGroup --na... | 49.125 | 135 | 0.773537 |
61ff8e5abacca8b6d58aa61bd1f9ba1784abf8f1 | 10,117 | dart | Dart | lib/services/sms_filter/index.dart | sgatibaru/Mpesa-Ledger-Flutter | 97529bf16a598094151fb5f3775ac9120703e7e9 | [
"MIT"
] | 2 | 2022-02-21T15:55:31.000Z | 2022-02-24T11:29:11.000Z | lib/services/sms_filter/index.dart | sgatibaru/Mpesa-Ledger-Flutter | 97529bf16a598094151fb5f3775ac9120703e7e9 | [
"MIT"
] | null | null | null | lib/services/sms_filter/index.dart | sgatibaru/Mpesa-Ledger-Flutter | 97529bf16a598094151fb5f3775ac9120703e7e9 | [
"MIT"
] | 1 | 2020-09-30T11:27:46.000Z | 2020-09-30T11:27:46.000Z | import 'dart:core';
import 'package:mpesa_ledger_flutter/blocs/counter/counter_bloc.dart';
import 'package:mpesa_ledger_flutter/models/category_model.dart';
import 'package:mpesa_ledger_flutter/models/mpesa_balance_model.dart';
import 'package:mpesa_ledger_flutter/models/summary_model.dart';
import 'package:mpesa_ledg... | 46.196347 | 215 | 0.662944 |
dfa477b77658c5bef1368de9f25295a67624b2c8 | 1,257 | lua | Lua | Weld.lua | RedCanaryStudios/Welder-Plugin-Source | 4fb78a25aca7df392ca353847020aa8c0ee55190 | [
"MIT"
] | null | null | null | Weld.lua | RedCanaryStudios/Welder-Plugin-Source | 4fb78a25aca7df392ca353847020aa8c0ee55190 | [
"MIT"
] | null | null | null | Weld.lua | RedCanaryStudios/Welder-Plugin-Source | 4fb78a25aca7df392ca353847020aa8c0ee55190 | [
"MIT"
] | null | null | null | local toolbar = plugin:CreateToolbar("Weld")
local selection = game:GetService("Selection")
local Weld = toolbar:CreateButton("Weld All", "Weld all parts", "rbxassetid://4458901886")
local destroyWelds = toolbar:CreateButton("Destroy Welds", "Destroys all welds", "rbxassetid://4458901886")
local weld
weld = fun... | 24.173077 | 107 | 0.570406 |
39b67495739b36e208ed38a2636321145b7b3ca1 | 81 | js | JavaScript | app/map-tools/identify-visible-marker.js | viatkinviatkin/ember-flexberry-gis | 02f0afa2d0275619d4a957b4b25210cc197ac790 | [
"MIT"
] | 4 | 2016-11-21T09:48:53.000Z | 2019-07-09T07:36:17.000Z | app/map-tools/identify-visible-marker.js | viatkinviatkin/ember-flexberry-gis | 02f0afa2d0275619d4a957b4b25210cc197ac790 | [
"MIT"
] | 75 | 2016-06-30T12:13:19.000Z | 2022-02-13T14:10:46.000Z | app/map-tools/identify-visible-marker.js | viatkinviatkin/ember-flexberry-gis | 02f0afa2d0275619d4a957b4b25210cc197ac790 | [
"MIT"
] | 5 | 2020-04-20T05:34:54.000Z | 2021-12-08T04:27:44.000Z | export { default } from 'ember-flexberry-gis/map-tools/identify-visible-marker';
| 40.5 | 80 | 0.777778 |
2f26cd19b09be95752d80a63b431d1d65e67be04 | 172 | sql | SQL | migrations/20210319202300_add_users.down.sql | dimfeld/ergo | e8610f0a826378e827d72e51d386839c28fa67d5 | [
"Apache-2.0",
"MIT"
] | 64 | 2021-03-14T08:50:12.000Z | 2022-03-05T16:44:36.000Z | migrations/20210319202300_add_users.down.sql | dimfeld/ergo | e8610f0a826378e827d72e51d386839c28fa67d5 | [
"Apache-2.0",
"MIT"
] | 24 | 2021-03-17T19:03:16.000Z | 2022-02-05T21:27:33.000Z | migrations/20210319202300_add_users.down.sql | dimfeld/ergo | e8610f0a826378e827d72e51d386839c28fa67d5 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-04-23T22:48:53.000Z | 2022-01-21T08:32:59.000Z | BEGIN;
DROP TABLE api_keys;
DROP TABLE user_roles;
DROP TABLE roles;
DROP TABLE users;
DROP TABLE orgs;
DROP TABLE user_entity_permissions;
DROP TYPE permission;
COMMIT;
| 14.333333 | 35 | 0.802326 |
a75fb6da20db750c6e2fe7e73bf6cfee2e532243 | 1,250 | swift | Swift | Tests/WeakCollectionTests/WeakCollectionTests.swift | CharonTechnology/SwiftWeakCollection | 4efd937b98fb6567c258057351a4d9eeb563f8c9 | [
"CC0-1.0"
] | 1 | 2021-10-19T16:43:29.000Z | 2021-10-19T16:43:29.000Z | Tests/WeakCollectionTests/WeakCollectionTests.swift | CharonTechnology/SwiftWeakCollection | 4efd937b98fb6567c258057351a4d9eeb563f8c9 | [
"CC0-1.0"
] | 1 | 2021-11-10T14:24:35.000Z | 2021-11-10T14:24:35.000Z | Tests/WeakCollectionTests/WeakCollectionTests.swift | CharonTechnology/SwiftWeakCollection | 4efd937b98fb6567c258057351a4d9eeb563f8c9 | [
"CC0-1.0"
] | null | null | null | import Foundation
import XCTest
@testable import WeakCollection
class Foo {
}
class Hello {
let msg = "hello"
}
final class WeakCollectionTests: XCTestCase {
func testWeakArray() {
var array = WeakArray<Foo>()
do {
let foo = Foo()
array.append(foo)
}
XCTAssertNil(array[0])
}
func testUnownedArr... | 19.230769 | 57 | 0.5856 |
86ba299775f2c0a1e23e9767abe560511aeff4bc | 31,391 | rs | Rust | src/unix/linux_like/linux/gnu/b32/arm/mod.rs | namib-project/libc | 44abe4b82dd19d63e7b2c63578b51b6e76842cd1 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/unix/linux_like/linux/gnu/b32/arm/mod.rs | namib-project/libc | 44abe4b82dd19d63e7b2c63578b51b6e76842cd1 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/unix/linux_like/linux/gnu/b32/arm/mod.rs | namib-project/libc | 44abe4b82dd19d63e7b2c63578b51b6e76842cd1 | [
"Apache-2.0",
"MIT"
] | null | null | null | pub type c_char = u8;
pub type wchar_t = u32;
s! {
pub struct sigaction {
pub sa_sigaction: ::sighandler_t,
pub sa_mask: ::sigset_t,
pub sa_flags: ::c_int,
pub sa_restorer: ::Option<extern fn()>,
}
pub struct statfs {
pub f_type: ::__fsword_t,
pub f_bsize: :... | 35.590703 | 79 | 0.69023 |
d9d3535cdcef69d9ccb94f45228966940cb512aa | 3,497 | dart | Dart | packages/json_serializer/test/deserialization_test.dart | dart-backend/server-utilities | a6fad92806ebe134e99f75fbba774ca0adb47174 | [
"BSD-3-Clause"
] | 2 | 2021-09-19T10:40:24.000Z | 2021-11-06T22:53:06.000Z | packages/json_serializer/test/deserialization_test.dart | dart-backend/server-utilities | a6fad92806ebe134e99f75fbba774ca0adb47174 | [
"BSD-3-Clause"
] | null | null | null | packages/json_serializer/test/deserialization_test.dart | dart-backend/server-utilities | a6fad92806ebe134e99f75fbba774ca0adb47174 | [
"BSD-3-Clause"
] | null | null | null | import 'package:belatuk_json_serializer/belatuk_json_serializer.dart' as god;
import 'package:test/test.dart';
import 'shared.dart';
main() {
god.logger.onRecord.listen(printRecord);
group('deserialization', () {
test('deserialize primitives', testDeserializationOfPrimitives);
test('deserialize maps', te... | 30.146552 | 94 | 0.663998 |
bb543d4af2afd677d710d6b0f4d8ef6e55dec4cb | 2,878 | sql | SQL | emulador/sql-files/upgrades/upgrade_20210308.sql | dattebayoonline/Dattebayo | 09526566f63e76b9a5ce80f1f4e3d1918e26cf01 | [
"DOC",
"OLDAP-2.2.1"
] | 1 | 2022-03-24T17:24:12.000Z | 2022-03-24T17:24:12.000Z | emulador/sql-files/upgrades/upgrade_20210308.sql | eluvju/Dattebayo | cc0fc92d8827f4890a8595bc3be0a71ef98767c1 | [
"DOC"
] | null | null | null | emulador/sql-files/upgrades/upgrade_20210308.sql | eluvju/Dattebayo | cc0fc92d8827f4890a8595bc3be0a71ef98767c1 | [
"DOC"
] | null | null | null | -- 16.1 official variables
UPDATE `char_reg_num` SET `key` = 'ep16_royal' WHERE `key` = 'banquet_main_quest' AND `value` < 16;
UPDATE `char_reg_num` SET `key` = 'ep16_royal', `value` = `value` - 1 WHERE `key` = 'banquet_main_quest' AND `value` < 20;
UPDATE `char_reg_num` SET `key` = 'ep16_royal', `value` = `value` - 2 ... | 71.95 | 125 | 0.680334 |