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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd21e821e26d7f247fb72df3517baf2847fdceec | 5,520 | dart | Dart | geography/lib/src/countries/iceland_states.dart | GioCirque/dart-pub | 44ae54c0cb6260d2ce3a1758f3fec080f1fa4556 | [
"BSD-3-Clause"
] | 2 | 2022-01-17T15:16:08.000Z | 2022-01-19T13:27:19.000Z | geography/lib/src/countries/iceland_states.dart | GioCirque/pub-dev | 44ae54c0cb6260d2ce3a1758f3fec080f1fa4556 | [
"BSD-3-Clause"
] | null | null | null | geography/lib/src/countries/iceland_states.dart | GioCirque/pub-dev | 44ae54c0cb6260d2ce3a1758f3fec080f1fa4556 | [
"BSD-3-Clause"
] | null | null | null | /// Access to known geographies in Iceland and their meta data.
///
/// NOTICE: This file is auto-generated and should not be changed manually.
import '../base.dart';
import 'iceland_cities.dart';
/// The 8 regions of `🇮🇸 Iceland`
const Region icelandCapitalRegion = Region(
id: 3431,
parentId: 100,
long... | 31.724138 | 75 | 0.744203 |
9d2fa8ca3b17c64bc4daef5b230425ad73ec1600 | 498 | html | HTML | respa_admin/templates/respa_admin/forms/widgets/_generic_checkbox.html | jussiarpalahti/respa | c308bcb96e56d9401e22df94d3073e248618e243 | [
"MIT"
] | 49 | 2015-10-21T06:25:31.000Z | 2022-03-20T07:24:20.000Z | respa_admin/templates/respa_admin/forms/widgets/_generic_checkbox.html | jussiarpalahti/respa | c308bcb96e56d9401e22df94d3073e248618e243 | [
"MIT"
] | 728 | 2015-06-24T13:26:54.000Z | 2022-03-24T12:18:41.000Z | respa_admin/templates/respa_admin/forms/widgets/_generic_checkbox.html | digipointtku/respa | a529e0df4d3f072df7801adb5bf97a5f4abd1243 | [
"MIT"
] | 46 | 2015-06-26T10:52:57.000Z | 2021-12-17T09:38:25.000Z | {% load i18n %}
<div class="custom-checkbox checkbox-inline generic-checkbox">
<input
class="custom-checkbox"
id="{{ widget.attrs.id }}"
type="checkbox"
name="{{ widget.name }}"
{% if widget.value != None %}value="{{ widget.value|stringformat:'s' }}"{% endif %}
{% in... | 31.125 | 91 | 0.564257 |
aae219a0dd18691513114a38aadc6c3738b6183d | 2,246 | sql | SQL | tests/sql/test.sql | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 46 | 2021-03-07T02:21:29.000Z | 2022-03-24T12:45:03.000Z | tests/sql/test.sql | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 53 | 2021-03-08T08:50:00.000Z | 2022-03-29T06:11:13.000Z | tests/sql/test.sql | burakuyar/simple-ddl-parser | f5714e0947a7cb48c202a91969b6e6d0d9a64d24 | [
"MIT"
] | 12 | 2021-06-21T16:14:17.000Z | 2022-03-25T13:52:35.000Z | CREATE TABLE "users" (
"id" SERIAL PRIMARY KEY,
"name" varchar,
"created_at" timestamp,
"updated_at" timestamp,
"country_code" int,
"default_language" int
);
CREATE TABLE "languages" (
"id" int PRIMARY KEY,
"code" varchar(2) NOT NULL,
"name" varchar NOT NULL
);
CREATE TABLE "countries" (
"id" int ... | 23.642105 | 101 | 0.694568 |
64f340c3be61a26eae70055b92357c54879ebb50 | 6,221 | java | Java | core/src/nl/arjanfrans/mario/model/MovingActor.java | 4qu3l3c4r4/SuperMarioCloneInJAVA | aed8f9363b41786fbb4c4c6f9b075e1ebb3ea8e4 | [
"MIT"
] | null | null | null | core/src/nl/arjanfrans/mario/model/MovingActor.java | 4qu3l3c4r4/SuperMarioCloneInJAVA | aed8f9363b41786fbb4c4c6f9b075e1ebb3ea8e4 | [
"MIT"
] | null | null | null | core/src/nl/arjanfrans/mario/model/MovingActor.java | 4qu3l3c4r4/SuperMarioCloneInJAVA | aed8f9363b41786fbb4c4c6f9b075e1ebb3ea8e4 | [
"MIT"
] | null | null | null | package nl.arjanfrans.mario.model;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.Touchable;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Pool;
public ... | 24.206226 | 149 | 0.663559 |
b878589b7c46db8e5473b66410b2da832412ff57 | 360 | asm | Assembly | oeis/138/A138099.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/138/A138099.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/138/A138099.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A138099: Irregular triangle read by rows: T(n,k) = k + floor(n/2), 1 <= k <= ceiling(n/2).
; 1,2,2,3,3,4,3,4,5,4,5,6,4,5,6,7,5,6,7,8,5,6,7,8,9,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,7,8,9,10,11,12,13,8,9,10,11,12,13,14,8,9,10,11,12,13,14,15,9,10,11,12,13,14,15,16,9,10,11,12,13
lpb $0
add $1,$2
cmp $1,$2
add $... | 30 | 187 | 0.561111 |
f45e6cf007fdcb46f89e84c7e05ff0e5ad8d468c | 1,242 | ps1 | PowerShell | Hyper-V/HyperV_Status.ps1 | cyberjacob/Zabbix-Addons | 05979a1c606e978ed26d523cd7079e3261df5596 | [
"MIT"
] | null | null | null | Hyper-V/HyperV_Status.ps1 | cyberjacob/Zabbix-Addons | 05979a1c606e978ed26d523cd7079e3261df5596 | [
"MIT"
] | null | null | null | Hyper-V/HyperV_Status.ps1 | cyberjacob/Zabbix-Addons | 05979a1c606e978ed26d523cd7079e3261df5596 | [
"MIT"
] | null | null | null | param(
[Parameter(Mandatory=$False)]
[string]$QueryName,
[string]$VMName
)
if ($QueryName -eq '') {
$colItems = Get-VM
write-host "{"
write-host " `"data`":["
write-host
foreach ($objItem in $colItems) {
$line = " { `"{#VMNAME}`":`"" + $objItem.Name + "`" , `"{#VMSTATE}`":`""... | 30.292683 | 129 | 0.586957 |
47f7d41fea06d187c2986a0914fa9152d1f86924 | 729 | kt | Kotlin | sdk/src/main/java/eu/genome/sdk/payment/datamodule/repository/PayRepositoryImpl.kt | genome-eu/payment-sdk-android | 26656429febf99273584773f305086d148a302fb | [
"MIT"
] | 1 | 2021-10-04T14:01:01.000Z | 2021-10-04T14:01:01.000Z | sdk/src/main/java/eu/genome/sdk/payment/datamodule/repository/PayRepositoryImpl.kt | genome-eu/payment-sdk-android | 26656429febf99273584773f305086d148a302fb | [
"MIT"
] | null | null | null | sdk/src/main/java/eu/genome/sdk/payment/datamodule/repository/PayRepositoryImpl.kt | genome-eu/payment-sdk-android | 26656429febf99273584773f305086d148a302fb | [
"MIT"
] | null | null | null | package eu.genome.sdk.payment.datamodule.repository
import eu.genome.sdk.payment.datamodule.api.Api
import eu.genome.sdk.payment.datamodule.api.PayApi
import eu.genome.sdk.payment.model.PayGatewayInfo
import eu.genome.sdk.payment.model.request.PaymentDto
import eu.genome.sdk.payment.model.response.BaseResponse
... | 36.45 | 103 | 0.754458 |
9273ef6d8a5e79ac307b91f2572bb127ec361deb | 8,957 | swift | Swift | Sources/Core/Theme/SingleSourceOfTruth/BrandsThemes/Aesop/AesopLightTheme.swift | fnazarios/natds-ios | be6b4d6fcd5f55708de371cb38e683eff59b4291 | [
"0BSD"
] | null | null | null | Sources/Core/Theme/SingleSourceOfTruth/BrandsThemes/Aesop/AesopLightTheme.swift | fnazarios/natds-ios | be6b4d6fcd5f55708de371cb38e683eff59b4291 | [
"0BSD"
] | null | null | null | Sources/Core/Theme/SingleSourceOfTruth/BrandsThemes/Aesop/AesopLightTheme.swift | fnazarios/natds-ios | be6b4d6fcd5f55708de371cb38e683eff59b4291 | [
"0BSD"
] | null | null | null | /***
*
* ███╗ ██╗ █████╗ ████████╗██████╗ ███████╗ ████████╗██╗ ██╗███████╗███╗ ███╗███████╗███████╗
* ████╗ ██║██╔══██╗╚══██╔══╝██╔══██╗██╔════╝ ╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝██╔════╝
* ██╔██╗ ██║███████║ ██║ ██║ ██║███████╗█████╗██║ ███████║█████╗ ██╔████╔██║█████╗ ███████╗
* ... | 42.856459 | 102 | 0.681813 |
1371baa83a034ec4872ab68d0321d3403c8ae840 | 12,109 | h | C | programs/Xserver/hw/xfree86/drivers/tseng/tseng.h | sourcecode-reloaded/Xming | b9f2e99d00f9445a29803d622d24b5314ee35991 | [
"X11",
"MIT"
] | 4 | 2020-08-21T04:21:14.000Z | 2022-01-15T11:26:11.000Z | programs/Xserver/hw/xfree86/drivers/tseng/tseng.h | sourcecode-reloaded/Xming | b9f2e99d00f9445a29803d622d24b5314ee35991 | [
"X11",
"MIT"
] | 1 | 2020-02-23T19:22:52.000Z | 2020-02-23T19:22:52.000Z | programs/Xserver/hw/xfree86/drivers/tseng/tseng.h | talregev/Xming | e7a997e3c6441c572df6953468fd8e88ca9e07e7 | [
"X11",
"MIT"
] | 3 | 2020-12-18T06:33:36.000Z | 2022-02-22T16:25:50.000Z |
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tseng/tseng.h,v 1.37tsi Exp $ */
#ifndef _TSENG_H
#define _TSENG_H
/* All drivers should typically include these */
#include "xf86.h"
#include "xf86_OSproc.h"
/* All drivers need this */
#include "xf86_ansic.h"
/* Everything using inb/outb, etc needs "compile... | 30.811705 | 105 | 0.68032 |
417e728b18cbf2253fcccaebc100c372600118ff | 20,144 | c | C | salsa/src/util/parse-storage-args.c | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | salsa/src/util/parse-storage-args.c | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | salsa/src/util/parse-storage-args.c | nik-io/uDepot | 06b94b7f2438b38b46572ede28072e24997e40c6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 International Business Machines
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Authors: Nikolas Ioannou (nio@zurich.ibm.com),
* Kornilios Kourtis (kou@zurich.ibm.com, kornilios@gmail.com)
*
*/
#include "util/parse-storage-args.h"
#include <asm-gener... | 33.912458 | 99 | 0.677274 |
b1a4f6947ee0e5671bf7dcb77591908228044beb | 2,385 | ps1 | PowerShell | PowerJira/public/api-v2/issue/Invoke-JiraGetIssuePickerSuggestions.ps1 | ender2021/PowerJira | 3d859e50ad9db78040741d2d84eb93e0e1ccf19c | [
"MIT"
] | 5 | 2019-12-07T03:51:01.000Z | 2021-09-14T13:27:26.000Z | PowerJira/public/api-v2/issue/Invoke-JiraGetIssuePickerSuggestions.ps1 | ender2021/PowerJira | 3d859e50ad9db78040741d2d84eb93e0e1ccf19c | [
"MIT"
] | 1 | 2020-09-07T08:49:59.000Z | 2020-09-07T10:18:39.000Z | PowerJira/public/api-v2/issue/Invoke-JiraGetIssuePickerSuggestions.ps1 | ender2021/PowerJira | 3d859e50ad9db78040741d2d84eb93e0e1ccf19c | [
"MIT"
] | 2 | 2020-05-16T04:12:26.000Z | 2020-08-11T20:40:36.000Z | #https://developer.atlassian.com/cloud/jira/platform/rest/v2/#api-rest-api-2-issue-picker-get
function Invoke-JiraGetIssuePickerSuggestions {
[CmdletBinding()]
param (
# A string to match against text fields in the issue such as title, description, or comments.
[Parameter(Position=0,ValueFr... | 38.467742 | 116 | 0.634382 |
557db8f8e7ffdeee0908edb024ae6deacbcb9d52 | 344 | lua | Lua | lua/hpwrewrite/skins/neoskins/lioadvancedwand.lua | AdamCyffka/Hogwarts-Wands | 5dc7c5b9d438498b927dbe01838d744770fcea62 | [
"MIT"
] | null | null | null | lua/hpwrewrite/skins/neoskins/lioadvancedwand.lua | AdamCyffka/Hogwarts-Wands | 5dc7c5b9d438498b927dbe01838d744770fcea62 | [
"MIT"
] | null | null | null | lua/hpwrewrite/skins/neoskins/lioadvancedwand.lua | AdamCyffka/Hogwarts-Wands | 5dc7c5b9d438498b927dbe01838d744770fcea62 | [
"MIT"
] | null | null | null | local Skin = { }
Skin.Base = "Wand"
Skin.Description = [[
Generic Description
]]
Skin.ViewModel = Model("models/hpwrewrite/custom/c_lioadvancedwand.mdl")
Skin.WorldModel = Model("models/hpwrewrite/custom/w_lioadvancedwand.mdl")
Skin.NodeOffset = Vector(2080, -158, 0)
Skin.HoldType = "pistol"
HpwRewrite:AddSkin("L... | 22.933333 | 73 | 0.747093 |
0ceb7ee6367f4094900b7a7ad37575ea6ba9548d | 5,680 | py | Python | minidump/streams/MiscInfoStream.py | lucasg/minidump | 18474e3221038abe866256e4e0eb255e33615110 | [
"MIT"
] | 1 | 2021-06-13T10:00:44.000Z | 2021-06-13T10:00:44.000Z | minidump/streams/MiscInfoStream.py | lucasg/minidump | 18474e3221038abe866256e4e0eb255e33615110 | [
"MIT"
] | null | null | null | minidump/streams/MiscInfoStream.py | lucasg/minidump | 18474e3221038abe866256e4e0eb255e33615110 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#
# Author:
# Tamas Jos (@skelsec)
#
import io
import enum
#https://msdn.microsoft.com/en-us/library/windows/desktop/ms680388(v=vs.85).aspx
class MinidumpMiscInfo2Flags1(enum.IntFlag):
MINIDUMP_MISC1_PROCESS_ID = 0x00000001 #ProcessId is used.
MINIDUMP_MISC1_PROCESS_TIMES = 0x00000002 #Proce... | 42.074074 | 170 | 0.757394 |
9cd55a3eefe460e41330a93a57e8adde316af2ba | 413 | css | CSS | Git y GitHub/Resumenes/Proyecto/css/style.css | David9652/Platzi | 7214e42b68ffe0cc878b6a76de06a14c8b62e6fe | [
"MIT"
] | null | null | null | Git y GitHub/Resumenes/Proyecto/css/style.css | David9652/Platzi | 7214e42b68ffe0cc878b6a76de06a14c8b62e6fe | [
"MIT"
] | null | null | null | Git y GitHub/Resumenes/Proyecto/css/style.css | David9652/Platzi | 7214e42b68ffe0cc878b6a76de06a14c8b62e6fe | [
"MIT"
] | 1 | 2021-08-11T02:21:20.000Z | 2021-08-11T02:21:20.000Z | body
{
color: blueviolet;
text-align: center;
font-family: Arial;
font-size: 18px;
margin: 0;
padding: 0;
}
#container
{
width: 50%;
padding: 1em;
border-bottom: 3px solid #fafa;
border-right: 10px solid #FFF233;
border-left: 10px solid #33BEFF;
border-top: 3px solid #FF8... | 17.956522 | 37 | 0.615012 |
4b53293d8bc1f4dd5af78f7ad63981d10233f1d1 | 4,822 | html | HTML | site/oquonie.html | XXIIVV/Oscean | 2ab6198a59e936ff7168502190296cd93ea0e79e | [
"MIT"
] | 210 | 2017-11-22T20:15:41.000Z | 2020-04-22T20:25:07.000Z | site/oquonie.html | XXIIVV/Oscean | 2ab6198a59e936ff7168502190296cd93ea0e79e | [
"MIT"
] | 41 | 2018-03-30T00:51:39.000Z | 2020-04-15T01:06:19.000Z | site/oquonie.html | XXIIVV/Oscean | 2ab6198a59e936ff7168502190296cd93ea0e79e | [
"MIT"
] | 59 | 2018-03-13T21:52:39.000Z | 2020-04-04T16:05:06.000Z | <!DOCTYPE html><html><head>
<meta charset="utf-8"/><meta name="viewport" content="width=device-width, inital-scale=1"/><link href="../links/main.css" type="text/css" rel="stylesheet"/><link href="../media/services/icon.png" type="image/png" rel="shortcut icon"/>
<title>XXIIVV — oquonie</title></head><body>
<heade... | 200.916667 | 1,198 | 0.713397 |
e6a1c5212857d0a9262e4b72add3982c0df50c4a | 69,320 | sql | SQL | gighub.sql | tianboyand/gighub.id | 0c1afd1ef29eb2e94d666d98e1c07f3da65dd9be | [
"MIT"
] | null | null | null | gighub.sql | tianboyand/gighub.id | 0c1afd1ef29eb2e94d666d98e1c07f3da65dd9be | [
"MIT"
] | null | null | null | gighub.sql | tianboyand/gighub.id | 0c1afd1ef29eb2e94d666d98e1c07f3da65dd9be | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 27, 2017 at 07:04 PM
-- Server version: 10.1.16-MariaDB
-- PHP Version: 5.6.24
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 55.279107 | 459 | 0.646278 |
bccdf93af4e32d83391df91a290d5b3af297a105 | 785 | js | JavaScript | index.js | kailashyogeshwar85/async-await-foreach | edf9b09456676d5b4de453c81556953a6ac768e1 | [
"MIT"
] | null | null | null | index.js | kailashyogeshwar85/async-await-foreach | edf9b09456676d5b4de453c81556953a6ac768e1 | [
"MIT"
] | null | null | null | index.js | kailashyogeshwar85/async-await-foreach | edf9b09456676d5b4de453c81556953a6ac768e1 | [
"MIT"
] | null | null | null | /**
* Author: Kailash K Yogeshwar
* Module: async-await-foreach
* Description: Sequential looping of async calls like async.waterfall or bluebird.each
*/
/**
* Usage
* const asyncForEach = require('async-await-foreach);
* const storyIds = [1, 2, 3, 4];
*
* asyncForEach(storyIds, async (item, index, a... | 21.805556 | 88 | 0.596178 |
c2587ae43d77c5fa8d48b1d178b6e05c98655fdf | 704 | go | Go | pkg/utils/filter_forward_rules.go | ististan/cni-plugins | b6800a01a99e9e5643effa6f65d56ae120859f97 | [
"Apache-2.0"
] | 2 | 2021-05-23T18:32:32.000Z | 2021-08-04T13:25:04.000Z | pkg/utils/filter_forward_rules.go | ZentriaMC/cni-nftables-plugins | 2a5b6b0515be52493abacb890a04d99f7e83445c | [
"Apache-2.0"
] | null | null | null | pkg/utils/filter_forward_rules.go | ZentriaMC/cni-nftables-plugins | 2a5b6b0515be52493abacb890a04d99f7e83445c | [
"Apache-2.0"
] | null | null | null | package utils
import (
"github.com/containernetworking/cni/pkg/types/current"
)
// AddFilterForwardRules adds a set of rules in forwarding chain of filter table.
func AddFilterForwardRules(v, tableName, chainName string, addr *current.IPConfig, intfName string) error {
if err := isSupportedIPVersion(v); err != nil ... | 30.608696 | 107 | 0.744318 |
bb2f8067fe0f05fc4a0942ec89080548a6eaa267 | 5,817 | dart | Dart | lib/src/generated/safari_services/SFSafariTab.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | 2 | 2021-05-10T01:24:08.000Z | 2021-12-13T10:24:41.000Z | lib/src/generated/safari_services/SFSafariTab.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | lib/src/generated/safari_services/SFSafariTab.dart | rodydavis/cupertino_ffi_generated | 4d59f68921a5ae1ba58831c9de83ea0d7979148f | [
"MIT"
] | null | null | null | // AUTOMATICALLY GENERATED. DO NOT EDIT.
part of cupertino_ffi.safari_services;
/// Static methods for Objective-C class `SFSafariTab`.
/// See also instance methods in [SFSafariTabPointer].
///
/// Find detailed documentation at: [developer.apple.com/documentation/safariservices?language=objc](https://developer.appl... | 23.938272 | 172 | 0.643459 |
b8f0fca67f30c6e4ae14212353f027210d6e02a8 | 46,062 | rs | Rust | src/expressions/mod.rs | Ali-Mirghasemi/aerospike-client-rust | 85c93a2098520d35a2390c273672286618497d41 | [
"Apache-2.0"
] | 72 | 2017-01-17T17:03:57.000Z | 2022-03-01T20:34:01.000Z | src/expressions/mod.rs | Ali-Mirghasemi/aerospike-client-rust | 85c93a2098520d35a2390c273672286618497d41 | [
"Apache-2.0"
] | 77 | 2017-01-18T09:27:14.000Z | 2022-03-30T20:42:00.000Z | src/expressions/mod.rs | Ali-Mirghasemi/aerospike-client-rust | 85c93a2098520d35a2390c273672286618497d41 | [
"Apache-2.0"
] | 20 | 2017-05-23T16:44:32.000Z | 2022-03-19T06:53:57.000Z | // Copyright 2015-2020 Aerospike, Inc.
//
// Portions may be licensed to Aerospike, Inc. under one or more contributor
// license agreements.
//
// 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 ... | 31.356025 | 195 | 0.578307 |
71710684afb80d3f60ccd854e20f4f2a3a0c55ac | 273 | ts | TypeScript | packages/app/src/req.ts | leoDreamer/mrapi | 3ef2216152d97902cf8b90a26783dfceeea5b58a | [
"MIT"
] | 20 | 2020-05-13T12:09:08.000Z | 2021-09-10T07:16:09.000Z | packages/app/src/req.ts | leoDreamer/mrapi | 3ef2216152d97902cf8b90a26783dfceeea5b58a | [
"MIT"
] | 14 | 2020-07-15T09:04:06.000Z | 2021-06-21T14:27:11.000Z | packages/app/src/req.ts | leoDreamer/mrapi | 3ef2216152d97902cf8b90a26783dfceeea5b58a | [
"MIT"
] | 5 | 2020-06-30T03:12:02.000Z | 2021-08-06T20:28:41.000Z | /**
* For express compatibility
*
* get() = header()
* accepts()
* acceptsEncodings()
* acceptsCharsets()
* acceptsLanguages()
* range()
* param()
* is()
*
* protocol
* secure
* ip
* ips
* subdomains
* path
* hostname
* host
* fresh
* stale
* xhr
*/
| 10.92 | 28 | 0.571429 |
d28b92e2ee89653d17adb025efecf63cc01ab992 | 1,572 | php | PHP | app/api/validate/Report.php | tcyfree/nx-qxd | 60131ae6b583428385b1910ea8579713bf8bb733 | [
"Apache-2.0"
] | 1 | 2018-08-02T15:04:18.000Z | 2018-08-02T15:04:18.000Z | app/api/validate/Report.php | tcyfree/nx-qxd | 60131ae6b583428385b1910ea8579713bf8bb733 | [
"Apache-2.0"
] | null | null | null | app/api/validate/Report.php | tcyfree/nx-qxd | 60131ae6b583428385b1910ea8579713bf8bb733 | [
"Apache-2.0"
] | 1 | 2017-10-24T10:58:35.000Z | 2017-10-24T10:58:35.000Z | <?php
// +----------------------------------------------------------------------
// | ThinkNuan-x [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017-2018 http://www.nuan-x.com All rights reserved.
// +------------------------------------------... | 31.44 | 123 | 0.354326 |
fb86172e1156b47a75c88db7c35aebb92dafb101 | 1,783 | sql | SQL | app/lib/jelix/core-modules/jelix/install/sql/install_jacl2.data.mysql.sql | yvestan/sendui | b643a89398024e1c7c04321fefc0efe0f773115b | [
"MIT"
] | 1 | 2015-05-06T14:03:39.000Z | 2015-05-06T14:03:39.000Z | app/lib/jelix/core-modules/jelix/install/sql/install_jacl2.data.mysql.sql | yvestan/sendui | b643a89398024e1c7c04321fefc0efe0f773115b | [
"MIT"
] | null | null | null | app/lib/jelix/core-modules/jelix/install/sql/install_jacl2.data.mysql.sql | yvestan/sendui | b643a89398024e1c7c04321fefc0efe0f773115b | [
"MIT"
] | null | null | null | --
INSERT INTO `jacl2_group` (`id_aclgrp`, `name`, `grouptype`, `ownerlogin`) VALUES
(1, 'admins', 0, NULL),
(2, 'users', 1, NULL),
(3, 'admin', 2, 'admin'),
(0, 'anonymous', 1, NULL);
INSERT INTO `jacl2_user_group` (`login`, `id_aclgrp`) VALUES
('admin', 1),
('admin', 3);
INSERT INTO `jacl2_subject` (`id_aclsbj`, ... | 36.387755 | 82 | 0.635446 |
545bd2fa50b7a0cf228764350e6b4e9e4de2a81e | 1,088 | sql | SQL | DataBaseScripts/Queries/SP_getReceiptWithAp.sql | Edufacr/University-DB1-Project | 9a6b4f9ada1cfd3aaee4d9aae9287c0dfc309d21 | [
"MIT"
] | null | null | null | DataBaseScripts/Queries/SP_getReceiptWithAp.sql | Edufacr/University-DB1-Project | 9a6b4f9ada1cfd3aaee4d9aae9287c0dfc309d21 | [
"MIT"
] | null | null | null | DataBaseScripts/Queries/SP_getReceiptWithAp.sql | Edufacr/University-DB1-Project | 9a6b4f9ada1cfd3aaee4d9aae9287c0dfc309d21 | [
"MIT"
] | null | null | null | SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: Eduardo Madrigal Marín
-- Create date:
-- Description: Gets details of receipt with AP
-- =============================================
CREATE OR ALTER PROCEDURE SP_getReceiptWithAp
-- Add the parameters for ... | 25.302326 | 94 | 0.65625 |
98c328386ed086975c9e74555fd0ccf38fab32cc | 10,971 | html | HTML | docs/html/crypto__engine_8cpp.html | GovTechSIOT/decada-embedded-example-zephyr | 8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4 | [
"Apache-2.0"
] | 4 | 2021-06-30T06:18:31.000Z | 2021-07-21T07:00:03.000Z | docs/html/crypto__engine_8cpp.html | GovTechSIOT/decada-embedded-example-zephyr | 8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4 | [
"Apache-2.0"
] | null | null | null | docs/html/crypto__engine_8cpp.html | GovTechSIOT/decada-embedded-example-zephyr | 8d21fb229dd8b2b9d893660b42fb3ccdd1851ef4 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | 46.487288 | 315 | 0.668854 |
2fcc04d3ab97a72c788dfae6b26b91f43b67779a | 421 | ps1 | PowerShell | File Associations/Change file associations to notepad.ps1 | ITChristos/ActiveDirectory | 982e9cfbbd5401f2792691604e3df9aeaae44089 | [
"MIT"
] | 1 | 2021-11-17T16:57:34.000Z | 2021-11-17T16:57:34.000Z | File Associations/Change file associations to notepad.ps1 | ITChristos/ActiveDirectory | 982e9cfbbd5401f2792691604e3df9aeaae44089 | [
"MIT"
] | null | null | null | File Associations/Change file associations to notepad.ps1 | ITChristos/ActiveDirectory | 982e9cfbbd5401f2792691604e3df9aeaae44089 | [
"MIT"
] | 1 | 2021-12-03T03:07:27.000Z | 2021-12-03T03:07:27.000Z | #Import AssociateFileExtensions Module to PowerShell
Import-Module C:\Scripts\AssociateFileExtensions.psm1 #Input path where you have stored the module
Get-Help AssociateFileExtensions
AssociateFileExtensions -FileExtensions .bat,.cmd,.hta,.js,.jse,.msh,.msh1,.msh2,.mshxml,.msh1xml,.msh2xml,.ps1,.ps1xml,.ps2,.ps2xml,... | 84.2 | 234 | 0.783848 |
2a0dffc64886a6fd077950de7750dfda16952ffc | 2,213 | java | Java | src/main/java/me/shedaniel/rei/api/REIHelper.java | shartte/RoughlyEnoughItems | b8c5531beb234d7eff1138fa0c5dcc4bf1c87ea3 | [
"MIT"
] | null | null | null | src/main/java/me/shedaniel/rei/api/REIHelper.java | shartte/RoughlyEnoughItems | b8c5531beb234d7eff1138fa0c5dcc4bf1c87ea3 | [
"MIT"
] | null | null | null | src/main/java/me/shedaniel/rei/api/REIHelper.java | shartte/RoughlyEnoughItems | b8c5531beb234d7eff1138fa0c5dcc4bf1c87ea3 | [
"MIT"
] | null | null | null | /*
* This file is licensed under the MIT License, part of Roughly Enough Items.
* Copyright (c) 2018, 2019, 2020 shedaniel
*
* 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 rest... | 35.126984 | 81 | 0.744239 |
497ade6a68b0723da91feff0bc5e0ebc31b62a82 | 322 | swift | Swift | Sources/Intermodular/Extensions/SwiftUI/Axis++.swift | fr-/SwiftUIX | d02d877a982a4bb290b34917398bfbad0009fe65 | [
"MIT"
] | 4,624 | 2019-08-02T07:14:42.000Z | 2022-03-31T16:09:40.000Z | Sources/Intermodular/Extensions/SwiftUI/Axis++.swift | fr-/SwiftUIX | d02d877a982a4bb290b34917398bfbad0009fe65 | [
"MIT"
] | 301 | 2019-08-05T05:51:19.000Z | 2022-03-29T08:52:07.000Z | Sources/Intermodular/Extensions/SwiftUI/Axis++.swift | fr-/SwiftUIX | d02d877a982a4bb290b34917398bfbad0009fe65 | [
"MIT"
] | 358 | 2019-08-05T07:01:40.000Z | 2022-03-26T03:04:27.000Z | //
// Copyright (c) Vatsal Manot
//
import Swift
import SwiftUI
extension Axis {
/// The axis orthogonal to `self`.
public var orthogonal: Axis {
switch self {
case .horizontal:
return .vertical
case .vertical:
return .horizontal
}
}
... | 16.947368 | 38 | 0.52795 |
e62aa51a4f3b65009e10de2eb1f40bc435671e80 | 2,709 | go | Go | pkg/packer2llb/packer2llb_test.go | EricHripko/pack.yaml | eca8a8d0d103a7490032ec61438d619f169bcafd | [
"Apache-2.0"
] | 1 | 2021-02-19T10:29:20.000Z | 2021-02-19T10:29:20.000Z | pkg/packer2llb/packer2llb_test.go | EricHripko/pack.yaml | eca8a8d0d103a7490032ec61438d619f169bcafd | [
"Apache-2.0"
] | 5 | 2021-02-20T11:25:30.000Z | 2021-05-18T18:54:19.000Z | pkg/packer2llb/packer2llb_test.go | EricHripko/pack.yaml | eca8a8d0d103a7490032ec61438d619f169bcafd | [
"Apache-2.0"
] | null | null | null | package packer2llb
import (
"context"
"errors"
"testing"
"github.com/EricHripko/pack.yaml/pkg/packer2llb/config"
packer2llb_mock "github.com/EricHripko/pack.yaml/pkg/packer2llb/mock"
cib_mock "github.com/EricHripko/buildkit-fdk/pkg/cib/mock"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/requir... | 21.672 | 70 | 0.708379 |
39dd0ce7f83a60d39552393b16c85f0fbecc744e | 1,437 | java | Java | node_modules/appium/node_modules/appium-espresso-driver/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/handlers/FindElements.java | aspireias-ins/CodebaseAppIOS | 045fe55945fa7ba7e10a0b154464edbe8bafe643 | [
"Apache-2.0"
] | null | null | null | node_modules/appium/node_modules/appium-espresso-driver/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/handlers/FindElements.java | aspireias-ins/CodebaseAppIOS | 045fe55945fa7ba7e10a0b154464edbe8bafe643 | [
"Apache-2.0"
] | 1 | 2019-10-22T02:45:09.000Z | 2019-10-22T02:45:09.000Z | node_modules/appium/node_modules/appium-espresso-driver/espresso-server/app/src/androidTest/java/io/appium/espressoserver/lib/handlers/FindElements.java | aspireias-ins/CodebaseAppIOS | 045fe55945fa7ba7e10a0b154464edbe8bafe643 | [
"Apache-2.0"
] | null | null | null | package io.appium.espressoserver.lib.handlers;
import android.support.test.espresso.ViewInteraction;
import java.util.ArrayList;
import java.util.List;
import io.appium.espressoserver.lib.handlers.exceptions.AppiumException;
import io.appium.espressoserver.lib.handlers.exceptions.InvalidStrategyException;
import io.... | 36.846154 | 99 | 0.731385 |
a426e1fa4cbd80d54f1ac9c30b343c0987175b13 | 568 | asm | Assembly | programs/oeis/015/A015613.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/015/A015613.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/015/A015613.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A015613: a(n) = Sum_{i=1..n} phi(i) * (ceiling(n/i) - floor(n/i)).
; 0,0,1,2,5,6,11,14,19,22,31,34,45,50,57,64,79,84,101,108,119,128,149,156,175,186,203,214,241,248,277,292,311,326,349,360,395,412,435,450,489,500,541,560,583,604,649,664,705,724,755,778,829,846,885,908,943,970,1027,1042,1101,1130,1165,1196,1243,1262,1... | 71 | 419 | 0.690141 |
3399b2bf960ae58649c9c5788d750a4e0ff0b034 | 446 | sql | SQL | database/world/world_spells_effects_fix.sql | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | null | null | null | database/world/world_spells_effects_fix.sql | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | null | null | null | database/world/world_spells_effects_fix.sql | Daymortel/Stump | 52ef6d4d565467f117fbd92b2827041d97044180 | [
"Apache-2.0"
] | null | null | null | create table spells_effects_fix
(
Id int auto_increment
primary key,
SpellId int null,
SpellLevelId int null,
EffectId int null,
EffectIndex int null,
TriggerBuffDuration int null,
Dispellable int null,
ActionId ... | 24.777778 | 42 | 0.542601 |
506e63ab75244c2e3f96708e008b61e8de420df2 | 604 | html | HTML | HTML/R/262.html | cocoatomo/Python3.2_C_API_Tutorial | e33d4a285429935aca3178dc2a97aca3ab484232 | [
"PSF-2.0"
] | 2 | 2019-03-03T00:04:36.000Z | 2020-10-06T16:22:38.000Z | HTML/R/262.html | cocoatomo/Python3.2_C_API_Tutorial | e33d4a285429935aca3178dc2a97aca3ab484232 | [
"PSF-2.0"
] | null | null | null | HTML/R/262.html | cocoatomo/Python3.2_C_API_Tutorial | e33d4a285429935aca3178dc2a97aca3ab484232 | [
"PSF-2.0"
] | 1 | 2019-03-03T00:04:38.000Z | 2019-03-03T00:04:38.000Z | <html>
<head>
<title>BIT2BYTE</title>
<meta name='robots' content='noindex,nofollow'>
<meta name='generator' content='GLOBAL-5.8.1'>
</head>
<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>
<pre>
<a href='../S/502.html#L16'>BIT2BYTE</a> 16 Include/bitset.h #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] ... | 40.266667 | 147 | 0.624172 |
c71fdab351600301a24c611715f745d487a2c4b9 | 3,258 | swift | Swift | SwiftyCryptoDisco/View Controllers/AddCoinTableViewController.swift | schmidyy/SwiftyCryptoDisco | 04330cea11f2b3e2194195c03be024d170d2e145 | [
"MIT"
] | 12 | 2018-01-03T21:41:01.000Z | 2021-06-20T16:13:29.000Z | SwiftyCryptoDisco/View Controllers/AddCoinTableViewController.swift | schmidyy/SwiftyCryptoDisco | 04330cea11f2b3e2194195c03be024d170d2e145 | [
"MIT"
] | null | null | null | SwiftyCryptoDisco/View Controllers/AddCoinTableViewController.swift | schmidyy/SwiftyCryptoDisco | 04330cea11f2b3e2194195c03be024d170d2e145 | [
"MIT"
] | 1 | 2018-07-31T19:48:00.000Z | 2018-07-31T19:48:00.000Z |
//
// AddCoinTableViewController.swift
// SwiftyCryptoDisco
//
// Created by Mat Schmid on 2017-12-24.
// Copyright © 2017 Mat Schmid. All rights reserved.
//
import UIKit
protocol AddCoinDelegate {
func didTapCoinWithID(id: String)
}
class AddCoinTableViewController: UITableViewController, UISearchBarDeleg... | 34.294737 | 133 | 0.65531 |
a297515e2af1119bbcfba4d87fe0ba707a2e582b | 1,098 | dart | Dart | midterm/lib/favorite.dart | SilverJun/MobileAppDevelopment | 72fbe85d2fc1501d3048f912fcf7528c6ac72eee | [
"MIT"
] | null | null | null | midterm/lib/favorite.dart | SilverJun/MobileAppDevelopment | 72fbe85d2fc1501d3048f912fcf7528c6ac72eee | [
"MIT"
] | null | null | null | midterm/lib/favorite.dart | SilverJun/MobileAppDevelopment | 72fbe85d2fc1501d3048f912fcf7528c6ac72eee | [
"MIT"
] | null | null | null |
import 'package:flutter/material.dart';
import 'package:midterm/HotelInfo.dart';
class FavoritePage extends StatefulWidget {
@override
State<StatefulWidget> createState() => FavoritePageState();
}
class FavoritePageState extends State<FavoritePage> {
final items = favoriteList.toList();
@override
Widget ... | 24.4 | 72 | 0.606557 |
6b472ee28bff1a4a99859b15d88e36d3483a76de | 1,064 | html | HTML | manuscript/page-125/body.html | marvindanig/under-the-big-dipper | 71f1a3f0ddbf2fa3a3775223eb3bfaaf8f0bc271 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-125/body.html | marvindanig/under-the-big-dipper | 71f1a3f0ddbf2fa3a3775223eb3bfaaf8f0bc271 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-125/body.html | marvindanig/under-the-big-dipper | 71f1a3f0ddbf2fa3a3775223eb3bfaaf8f0bc271 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent stretch-last-line ">highly gifted population descended from peoples who have lived under liberal laws for many generations, inhabiting a virtually virgin land of great resources, without a history of oppression to live down—you are capable of existin... | 1,064 | 1,064 | 0.789474 |
0bd8edb0725fe9ebf8b412cc5ec1d253b77a6658 | 13,345 | sql | SQL | siperpusDB.sql | JustYourDream/siperpus | 60cbbdd4366fb584252ae54435d0da8a788c350f | [
"MIT"
] | null | null | null | siperpusDB.sql | JustYourDream/siperpus | 60cbbdd4366fb584252ae54435d0da8a788c350f | [
"MIT"
] | null | null | null | siperpusDB.sql | JustYourDream/siperpus | 60cbbdd4366fb584252ae54435d0da8a788c350f | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 17, 2021 at 05:19 PM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 7.4.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 36.461749 | 246 | 0.671862 |
a095f7a602c361ee41f42432cd7c34c3f4989a82 | 589 | asm | Assembly | oeis/027/A027794.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/027/A027794.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/027/A027794.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A027794: a(n) = 12*(n+1)*C(n+3,9).
; 84,960,5940,26400,94380,288288,780780,1921920,4375800,9335040,18845112,36279360,67016040,119380800,205931880,345181056,563861100,899870400,1406047500,2154952800,3244861620,4807202400,7015706100,10097568000,14346961200,20141282304,27960554160,38410458240,52249520400,70421028480,940... | 58.9 | 492 | 0.837012 |
9066a6fa5b6c16a19b4190b88ec90f81e3ece57d | 36,366 | py | Python | gigpower/src/gigpower/solution_nr3.py | elaguerta/gigpower | 22e0a6152fa8d7a04f6067f3d500bfee042a98f9 | [
"Unlicense"
] | null | null | null | gigpower/src/gigpower/solution_nr3.py | elaguerta/gigpower | 22e0a6152fa8d7a04f6067f3d500bfee042a98f9 | [
"Unlicense"
] | 4 | 2021-06-15T16:50:13.000Z | 2021-06-15T16:53:23.000Z | gigpower/src/gigpower/solution_nr3.py | msankur/gigpower | 22e0a6152fa8d7a04f6067f3d500bfee042a98f9 | [
"Unlicense"
] | null | null | null | # Elaine Laguerta (github: @elaguerta)
# LBNL GIG
# File created: 19 February 2021
# Create NR3 Solution class, a namespace for calculations used by nr3
from . solution import Solution
from . circuit import Circuit
import numpy as np
from . nr3_lib.compute_NR3FT import compute_NR3FT
from . nr3_lib.compute_NR3JT import... | 54.768072 | 228 | 0.474399 |
dd45648a7be07cf60184c712f163e51245348f71 | 895 | lua | Lua | tests/sorters_spec.lua | sindrets/bufferline.nvim | 94211eac27c931f4458ce713fbe430b7cc82dea8 | [
"Unlicense"
] | null | null | null | tests/sorters_spec.lua | sindrets/bufferline.nvim | 94211eac27c931f4458ce713fbe430b7cc82dea8 | [
"Unlicense"
] | null | null | null | tests/sorters_spec.lua | sindrets/bufferline.nvim | 94211eac27c931f4458ce713fbe430b7cc82dea8 | [
"Unlicense"
] | null | null | null | describe("Sorters - ", function()
local sorters = require("bufferline.sorters")
it("should sort by ID correctly", function()
local bufs = { { id = 12 }, { id = 2 }, { id = 3 }, { id = 8 } }
sorters.sort_buffers("id", bufs)
local ids = vim.tbl_map(function(buf)
return buf.id
end, bufs)
ass... | 29.833333 | 74 | 0.614525 |
64e9290f72e1e4590e02d5eb1843dcdc59e2c9bc | 1,552 | java | Java | asdctool/src/main/java/org/openecomp/sdc/asdctool/utils/ReportWriter.java | infosiftr/sdc | a1f23ec5e7cd191b76271b5f33c237bad38c61c6 | [
"Apache-2.0"
] | null | null | null | asdctool/src/main/java/org/openecomp/sdc/asdctool/utils/ReportWriter.java | infosiftr/sdc | a1f23ec5e7cd191b76271b5f33c237bad38c61c6 | [
"Apache-2.0"
] | null | null | null | asdctool/src/main/java/org/openecomp/sdc/asdctool/utils/ReportWriter.java | infosiftr/sdc | a1f23ec5e7cd191b76271b5f33c237bad38c61c6 | [
"Apache-2.0"
] | null | null | null | package org.openecomp.sdc.asdctool.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import org.openecomp.sdc.be.dao.jsongraph.utils.JsonParserUtils;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.... | 30.431373 | 111 | 0.619201 |
efc399bf36495856dd58ad65cfc2326cf0844727 | 2,339 | lua | Lua | Games/Criminality/Player/Fly.lua | Stefanuk12/roblox | 4ab76ada0093218d95639763fd6cd2e7b4423cd5 | [
"Apache-2.0"
] | 1 | 2021-12-11T16:33:01.000Z | 2021-12-11T16:33:01.000Z | Games/Criminality/Player/Fly.lua | Stefanuk12/roblox | 4ab76ada0093218d95639763fd6cd2e7b4423cd5 | [
"Apache-2.0"
] | null | null | null | Games/Criminality/Player/Fly.lua | Stefanuk12/roblox | 4ab76ada0093218d95639763fd6cd2e7b4423cd5 | [
"Apache-2.0"
] | null | null | null | -- // BARELY FUNCTIONAL - shows POC of how protect_gui can be used to bypass checks for certain parts. In order to stop being TP'd back, must be paired with a TP Bypass
-- // Services
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
-- // Vars
local LocalPlayer =... | 26.280899 | 168 | 0.659256 |
d7b90cec3abdfb606c54e52e8863eb293fbf1bc5 | 2,832 | kt | Kotlin | src/kotlin/org/intellij/plugins/hcl/findUsages/HCLFindUsagesProvider.kt | trucnguyenlam/intellij-hcl | 6a69e426b665806209a290b43ef1f84f7e0e33d2 | [
"Apache-2.0"
] | 253 | 2015-06-02T20:15:43.000Z | 2022-03-16T14:51:29.000Z | src/kotlin/org/intellij/plugins/hcl/findUsages/HCLFindUsagesProvider.kt | trucnguyenlam/intellij-hcl | 6a69e426b665806209a290b43ef1f84f7e0e33d2 | [
"Apache-2.0"
] | 377 | 2015-06-03T19:52:42.000Z | 2022-03-22T16:08:41.000Z | src/kotlin/org/intellij/plugins/hcl/findUsages/HCLFindUsagesProvider.kt | trucnguyenlam/intellij-hcl | 6a69e426b665806209a290b43ef1f84f7e0e33d2 | [
"Apache-2.0"
] | 61 | 2015-10-22T18:00:38.000Z | 2022-03-29T00:27:33.000Z | /*
* Copyright 2000-2016 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... | 32.181818 | 79 | 0.699506 |
3a14d6650459c8abcdff904b928f86be3483343a | 4,352 | swift | Swift | TemplateProject/Utilities/Extensions/StringExtension.swift | nikhil-p-crest/TemplateProjectWOPods | a82393d598dcf43e9e5f6e9388976fc3ec89b081 | [
"MIT"
] | 1 | 2019-08-26T09:50:05.000Z | 2019-08-26T09:50:05.000Z | TemplateProject/Utilities/Extensions/StringExtension.swift | nikhil-p-crest/TemplateProjectWOPods | a82393d598dcf43e9e5f6e9388976fc3ec89b081 | [
"MIT"
] | null | null | null | TemplateProject/Utilities/Extensions/StringExtension.swift | nikhil-p-crest/TemplateProjectWOPods | a82393d598dcf43e9e5f6e9388976fc3ec89b081 | [
"MIT"
] | null | null | null | //
// StringExtension.swift
// TemplateProject
//
// Created by Nikhil Patel on 27/05/19.
// Copyright © 2019 Nikhil Patel. All rights reserved.
//
import Foundation
import UIKit
extension String {
mutating func encodeURL() {
self = self.encodedURL()
}
mutating func decodeURL() {
... | 29.208054 | 162 | 0.615809 |
508be4eba71eb127ff5cf192abf3234eb08fccd6 | 115 | html | HTML | app/views/notifications/_notification.scala.html | ajaygeorge91/postboard_server | 4defc856b85e70d28c0c9182170e211bdf639a4f | [
"Apache-2.0"
] | null | null | null | app/views/notifications/_notification.scala.html | ajaygeorge91/postboard_server | 4defc856b85e70d28c0c9182170e211bdf639a4f | [
"Apache-2.0"
] | null | null | null | app/views/notifications/_notification.scala.html | ajaygeorge91/postboard_server | 4defc856b85e70d28c0c9182170e211bdf639a4f | [
"Apache-2.0"
] | null | null | null | @(userDTO: Option[User], userNotification: UserNotification)(implicit request: RequestHeader, messages: Messages)
| 57.5 | 114 | 0.808696 |
712b594383639e3fe96379f276a0cf3a1e71d926 | 4,089 | ts | TypeScript | threejs-wrappers/BaseApplication.ts | mishankov/ubiquitous-octo-train | 209a158fd38689f23f22fce2020b9efa6688f7d0 | [
"MIT"
] | null | null | null | threejs-wrappers/BaseApplication.ts | mishankov/ubiquitous-octo-train | 209a158fd38689f23f22fce2020b9efa6688f7d0 | [
"MIT"
] | null | null | null | threejs-wrappers/BaseApplication.ts | mishankov/ubiquitous-octo-train | 209a158fd38689f23f22fce2020b9efa6688f7d0 | [
"MIT"
] | null | null | null | import * as THREE from 'three';
import Stats from 'three/examples/jsm/libs/stats.module';
import { CameraWrapper } from './cameras/CameraWrapper';
import { KeyboardInputController } from './input-controllers/KeyboardInputController';
import { MouseInputContoller } from './input-controllers/MouseInputController';
expo... | 27.628378 | 106 | 0.609195 |
dab01ada6c22664be688f2a4c2cfcdc552de6535 | 170 | sql | SQL | web/dbWebSource/table_types/page_includes_tt.sql | zettasolutions/zsi-fmis | fc35ae309a55db663ed2cbf5c156b8937c544cd7 | [
"MIT"
] | null | null | null | web/dbWebSource/table_types/page_includes_tt.sql | zettasolutions/zsi-fmis | fc35ae309a55db663ed2cbf5c156b8937c544cd7 | [
"MIT"
] | 2 | 2021-05-08T23:02:28.000Z | 2021-05-11T14:17:29.000Z | web/dbWebSource/table_types/page_includes_tt.sql | zettasolutions/zsi-fmis | fc35ae309a55db663ed2cbf5c156b8937c544cd7 | [
"MIT"
] | 3 | 2019-11-20T14:33:06.000Z | 2021-01-09T00:46:07.000Z | CREATE TYPE page_includes_tt AS TABLE(
page_include_id INT NULL
,page_id INT NULL
,is_edited CHAR(1) NULL
,storage_location CHAR(1) NULL
,library_name NVARCHAR(200) NULL) | 28.333333 | 38 | 0.817647 |
9c0c247beba8680272c709ed90beb08c16ade203 | 11,241 | js | JavaScript | src/js/media-time-range.js | muxinc/player-chrome | f6b90e9765e7139a76980530c4b7c1fd0204bd01 | [
"MIT"
] | 17 | 2019-10-16T13:18:40.000Z | 2020-10-15T22:34:22.000Z | src/js/media-time-range.js | gkatsev/media-chrome | f6b90e9765e7139a76980530c4b7c1fd0204bd01 | [
"MIT"
] | 3 | 2020-03-12T00:23:48.000Z | 2020-04-06T14:25:07.000Z | src/js/media-time-range.js | muxinc/player-chrome | f6b90e9765e7139a76980530c4b7c1fd0204bd01 | [
"MIT"
] | null | null | null | import MediaChromeRange from './media-chrome-range.js';
import { defineCustomElement } from './utils/defineCustomElement.js';
import {
Window as window,
Document as document,
} from './utils/server-safe-globals.js';
import { MediaUIEvents, MediaUIAttributes } from './constants.js';
import { nouns } from './labels/l... | 33.858434 | 122 | 0.656614 |
fbcddaf9a0f6e70d36d997f1743f2edd5bf5c01e | 581 | h | C | TerrainApps/vtocx/GLThread.h | nakijun/vtp | 7bd2b2abd3a3f778a32ba30be099cfba9b892922 | [
"MIT"
] | 4 | 2019-02-08T13:51:26.000Z | 2021-12-07T13:11:06.000Z | TerrainApps/vtocx/GLThread.h | nakijun/vtp | 7bd2b2abd3a3f778a32ba30be099cfba9b892922 | [
"MIT"
] | null | null | null | TerrainApps/vtocx/GLThread.h | nakijun/vtp | 7bd2b2abd3a3f778a32ba30be099cfba9b892922 | [
"MIT"
] | 7 | 2017-12-03T10:13:17.000Z | 2022-03-29T09:51:18.000Z | #pragma once
#include <OpenThreads/Thread>
#include <OpenThreads/Mutex>
template<class CViewer>
class CGLThread : public OpenThreads::Thread, public OpenThreads::Mutex
{
public:
CGLThread(CViewer* viewer) : Thread(), _viewer(viewer), _resize(false) {}
void resizeViewport(const long w, const long h)
{
_w = w;
... | 14.897436 | 74 | 0.655766 |
7815b4074a85bdbda3e58127c5f50a2314fe465f | 283 | sql | SQL | src/AppEstimatorDb/Tables/TechnicalFactor.sql | anibalvelarde/AppEstimator | 1eeecfa1879eae15913bac4443b2f77a251f5a23 | [
"MIT"
] | null | null | null | src/AppEstimatorDb/Tables/TechnicalFactor.sql | anibalvelarde/AppEstimator | 1eeecfa1879eae15913bac4443b2f77a251f5a23 | [
"MIT"
] | null | null | null | src/AppEstimatorDb/Tables/TechnicalFactor.sql | anibalvelarde/AppEstimator | 1eeecfa1879eae15913bac4443b2f77a251f5a23 | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[TechnicalFactor]
(
[TechnicalFactorId] INT IDENTITY(1,1) NOT NULL,
Name NVARCHAR(50) NOT NULL,
[Description] NVARCHAR(500) NOT NULL,
Multiplier FLOAT NOT NULL,
ts rowversion NOT NULL,
PRIMARY KEY CLUSTERED ([TechnicalFactorId])
);
| 28.3 | 51 | 0.681979 |
8cfe9f44f4a951d8870779a92d06cae3daa45e9e | 1,926 | swift | Swift | mcts-checkers/CLI-Functions.swift | Z-Foster/ai-checkers | 0e9d7152a925a162fffbd963eca7ad73ef87c73d | [
"MIT"
] | null | null | null | mcts-checkers/CLI-Functions.swift | Z-Foster/ai-checkers | 0e9d7152a925a162fffbd963eca7ad73ef87c73d | [
"MIT"
] | null | null | null | mcts-checkers/CLI-Functions.swift | Z-Foster/ai-checkers | 0e9d7152a925a162fffbd963eca7ad73ef87c73d | [
"MIT"
] | null | null | null | //
// CLI-Functions.swift
// mcts-checkers
//
// Created by Zach Foster on 6/23/16.
// Copyright © 2016 Zach Foster. All rights reserved.
//
import Foundation
func prompt(playerNumber: Int) {
print("What AI would you like player \(playerNumber) to use?")
print("1. Pure Random")
print("2. Flat Monte-Carlo Tr... | 24.075 | 75 | 0.615784 |
91bc5698f2c78a8b0d53f94e3712a8ae4960c557 | 831 | sql | SQL | loja/src/main/resources/db/scripts/endereco.sql | juancanuto/lab4-finawork | 52b5e9053118bd60a48c9232c806a4f5530ff950 | [
"MIT"
] | null | null | null | loja/src/main/resources/db/scripts/endereco.sql | juancanuto/lab4-finawork | 52b5e9053118bd60a48c9232c806a4f5530ff950 | [
"MIT"
] | null | null | null | loja/src/main/resources/db/scripts/endereco.sql | juancanuto/lab4-finawork | 52b5e9053118bd60a48c9232c806a4f5530ff950 | [
"MIT"
] | null | null | null | --liquibase formatted sql
--changeset adriano:201810210022
--comment: Criando a estrutura da tabela ENDERECO
CREATE TABLE IF NOT EXISTS `lab04db`.`endereco` (
`id` INT(11) NOT NULL COMMENT 'Identificador da tabela endereco.',
`rua` VARCHAR(45) NULL DEFAULT NULL COMMENT 'Nome da rua.',
`numero` INT(10) NUL... | 48.882353 | 100 | 0.740072 |
2610cd92dbd23fc687d2189ef2bdfb48190050dd | 147 | asm | Assembly | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/fzero.lzh/fzero/calculate.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/fzero.lzh/fzero/calculate.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/fzero.lzh/fzero/calculate.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: calculate.asm
Type: file
Size: 31108
Last-Modified: '1993-07-20T07:13:20Z'
SHA-1: FF4842C6FC8E8BD7BA5A5A7A61947DEE32B539BB
Description: null
| 21 | 47 | 0.816327 |
62096156e71ed29e999bf6739ca555c6b54b5a4b | 276 | asm | Assembly | engine/items/print_item_description.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | engine/items/print_item_description.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 1 | 2020-12-16T01:11:20.000Z | 2020-12-16T22:53:56.000Z | engine/items/print_item_description.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | PrintItemDescription:
; Print the description for item [wCurSpecies] at de.
push de
ld hl, ItemDescriptions
ld a, [wCurSpecies]
dec a
ld c, a
ld b, 0
add hl, bc
add hl, bc
ld e, [hl]
inc hl
ld d, [hl]
pop hl
jp PlaceString
INCLUDE "data/items/descriptions.asm"
| 14.526316 | 53 | 0.692029 |
7716daf4e2138e78a30f1d4d1fb427ee7386a31b | 1,357 | lua | Lua | lua/autorun/server/autorestart.lua | s980845/misc | a32b5c97737b5a97896e5f9aa78254f8da70cf31 | [
"MIT"
] | 2 | 2018-10-14T14:15:05.000Z | 2019-01-07T03:10:40.000Z | lua/autorun/server/autorestart.lua | s980845/misc | a32b5c97737b5a97896e5f9aa78254f8da70cf31 | [
"MIT"
] | 27 | 2017-10-28T01:18:38.000Z | 2020-01-24T00:18:28.000Z | lua/autorun/server/autorestart.lua | s980845/misc | a32b5c97737b5a97896e5f9aa78254f8da70cf31 | [
"MIT"
] | 13 | 2017-10-30T11:41:49.000Z | 2019-08-20T02:17:37.000Z |
hook.Add("MingebanInitialized", "autorestart", function()
local autorestarting = false
local function abort()
mingeban.utils.print(mingeban.colors.Cyan, "Restart cancelled, players are on")
game.ConsoleCommand("mingeban abort\n")
autorestarting = false
end
timer.Create("autorestart", 60, 0, function()
if (... | 29.5 | 92 | 0.6986 |
c14995281badf0c208ba581c744bb84bac43013a | 2,199 | lua | Lua | luerl/4974fe23fed6df1bbf2deb5fba935b6f.lua | spacebeam/lovecraft | 9c608004475a84c3ea61d697740cb028f6810e8f | [
"Apache-2.0"
] | 2 | 2019-01-21T22:15:44.000Z | 2019-03-06T06:25:23.000Z | luerl/4974fe23fed6df1bbf2deb5fba935b6f.lua | spacebeam/lovecraft | 9c608004475a84c3ea61d697740cb028f6810e8f | [
"Apache-2.0"
] | 25 | 2019-04-23T13:36:17.000Z | 2020-08-19T19:25:11.000Z | luerl/4974fe23fed6df1bbf2deb5fba935b6f.lua | spacebeam/spaceboard | 9c608004475a84c3ea61d697740cb028f6810e8f | [
"Apache-2.0"
] | null | null | null | -- The Valkyrie is a Terran air-to-air unit that is available to be built
-- from a Starport once both an Armory and a Control Tower are on the field.
-- Our unit function table
local this_unit = {}
-- The standard local variables
-- Where we are and fast we move
local x, y, dx, dy
-- Our name
local... | 23.645161 | 76 | 0.6603 |
fb4f3806be24648d240350783cae1627ff940e85 | 534 | java | Java | src/p344/Solution2.java | GloryC/leetcode | b0c88b0f9359600d5c4ad1910f77efd1ca9406e8 | [
"Apache-2.0"
] | 1 | 2021-02-20T05:49:30.000Z | 2021-02-20T05:49:30.000Z | src/p344/Solution2.java | GloryC/leetcode | b0c88b0f9359600d5c4ad1910f77efd1ca9406e8 | [
"Apache-2.0"
] | null | null | null | src/p344/Solution2.java | GloryC/leetcode | b0c88b0f9359600d5c4ad1910f77efd1ca9406e8 | [
"Apache-2.0"
] | null | null | null | package p344;
/**
* @author Glory
* @date 2019/12/11 9:56
*/
public class Solution2 {
public void reverseString(char[] s) {
int n = s.length;
for (int i = 0; i < n / 2; i++) {
s[i] ^= s[n - i - 1];
s[n - i - 1] ^= s[i];
s[i] ^= s[n - i - 1];
}
}
... | 20.538462 | 46 | 0.441948 |
6daa483982a8f2cc2a7c0dec8c1df657ac726d29 | 902 | kt | Kotlin | features/yebi-feature-user/src/main/kotlin/UserFeature.kt | elouyi/yebi | d4663fcbb662bfad8e79fd1a0d10debee755358e | [
"MIT"
] | null | null | null | features/yebi-feature-user/src/main/kotlin/UserFeature.kt | elouyi/yebi | d4663fcbb662bfad8e79fd1a0d10debee755358e | [
"MIT"
] | null | null | null | features/yebi-feature-user/src/main/kotlin/UserFeature.kt | elouyi/yebi | d4663fcbb662bfad8e79fd1a0d10debee755358e | [
"MIT"
] | null | null | null | package com.elouyi.yebi.feature.user
import com.elouyi.yebi.YebiBot
import com.elouyi.yebi.feature.AttributeKey
import com.elouyi.yebi.feature.YebiFeature
import com.elouyi.yebi.feature.user.internal.UserAPIImpl
public class UserFeature internal constructor(internal val config: Config){
private lateinit var scop... | 29.096774 | 81 | 0.696231 |
ab6fd9fb1131a7b4742a9836698cb9f1f4d8a8d6 | 3,183 | swift | Swift | HackerNews/Classes/PresentationLayer/Settings/Modules/Theme/View/ThemeViewController.swift | nik3212/HackerNews | 42c88898397506b51f2b43f9ad9dca32e2334078 | [
"MIT"
] | 15 | 2019-11-17T06:59:14.000Z | 2022-01-06T05:40:58.000Z | HackerNews/Classes/PresentationLayer/Settings/Modules/Theme/View/ThemeViewController.swift | nik3212/HackerNews | 42c88898397506b51f2b43f9ad9dca32e2334078 | [
"MIT"
] | null | null | null | HackerNews/Classes/PresentationLayer/Settings/Modules/Theme/View/ThemeViewController.swift | nik3212/HackerNews | 42c88898397506b51f2b43f9ad9dca32e2334078 | [
"MIT"
] | 2 | 2020-07-21T12:26:27.000Z | 2020-08-27T12:41:39.000Z | //
// ThemeViewController.swift
// HackerNews
//
// Created by Nikita Vasilev on 27/03/2020.
// Copyright © 2020 Nikita Vasilev. All rights reserved.
//
import UIKit
final class ThemeViewController: UIViewController {
// MARK: Outlets
@IBOutlet private var tableView: UITableView!
// MARK: Public... | 28.675676 | 106 | 0.664153 |
5982077af085378bfea7630a4193758bbb6da220 | 9,031 | lua | Lua | resources/[FAROESTE]/[SYSTEM]/frp_posse/server.lua | gitmonox/frp_base_rd2 | b1458ee99ce968054cf3c5e87c8b22053d7b5dc4 | [
"MIT"
] | 15 | 2021-08-03T16:17:13.000Z | 2022-03-21T19:43:51.000Z | resources/[FAROESTE]/[SYSTEM]/frp_posse/server.lua | gitmonox/frp_base_rd2 | b1458ee99ce968054cf3c5e87c8b22053d7b5dc4 | [
"MIT"
] | 4 | 2021-07-30T19:38:47.000Z | 2022-02-28T14:48:33.000Z | resources/[FAROESTE]/[SYSTEM]/frp_posse/server.lua | gitmonox/frp_base_rd2 | b1458ee99ce968054cf3c5e87c8b22053d7b5dc4 | [
"MIT"
] | 16 | 2021-07-31T14:59:35.000Z | 2022-02-25T21:23:58.000Z | local Tunnel = module("_core", "lib/Tunnel")
local Proxy = module("_core", "lib/Proxy")
API = Proxy.getInterface("API")
API_DB = Proxy.getInterface("API_DB")
cAPI = Tunnel.getInterface("API")
RegisterCommand(
"bando",
function(source, args, rawCommand)
local User = API.getUserFromSource(source)
... | 32.485612 | 134 | 0.604806 |
b4b242891863194d209924ca24beab073bebd572 | 425 | kt | Kotlin | project-course/kotlin-smartherd/KotlinProgramming/src/loop/Main.kt | vel02/learn-kotlin-android | 7644d1911ff35fda44e45b1486bcce5d790fe7c0 | [
"MIT"
] | null | null | null | project-course/kotlin-smartherd/KotlinProgramming/src/loop/Main.kt | vel02/learn-kotlin-android | 7644d1911ff35fda44e45b1486bcce5d790fe7c0 | [
"MIT"
] | null | null | null | project-course/kotlin-smartherd/KotlinProgramming/src/loop/Main.kt | vel02/learn-kotlin-android | 7644d1911ff35fda44e45b1486bcce5d790fe7c0 | [
"MIT"
] | null | null | null | package loop
fun main(args: Array<String>) {
// LOOPS in Kotlin
// For
for (i in 1..10) {
if (i % 2 == 0)
println(i)
}
println()
// WHILE
var i = 1
while (i <= 10) {
if (i % 2 == 0)
println(i)
i++
}
println()
// DO WHIL... | 12.142857 | 31 | 0.352941 |
b178c0c9595d795b0ebcb2279c1c15c677e3beed | 1,410 | h | C | Politician.h | Berdugo1994/Politicians-Election | 4ca8a475d2e16e4f77bb729bc5a137cdc54c19ef | [
"MIT"
] | null | null | null | Politician.h | Berdugo1994/Politicians-Election | 4ca8a475d2e16e4f77bb729bc5a137cdc54c19ef | [
"MIT"
] | null | null | null | Politician.h | Berdugo1994/Politicians-Election | 4ca8a475d2e16e4f77bb729bc5a137cdc54c19ef | [
"MIT"
] | null | null | null | #ifndef ASS5_POLITICIAN_H
#define ASS5_POLITICIAN_H
#include "Party.h"
#include <iostream>
#include <string>
using namespace std;
class Party;
class Politician
{
public:
Politician(const std::string& first, const std::string& last,const int& id ,const int& my_power):
first_name(first),last_name(last)... | 36.153846 | 124 | 0.704965 |
21bfed2bf97e9217dec4c319a63ea01c87bac2e5 | 4,757 | swift | Swift | workspaces/cogito-ios-app/CogitoTests/Key store/KeyStoreSpec.swift | philips-software/cogito | e84ddb4fb1e9ae95652595f3111c43eebb6e4982 | [
"MIT"
] | 17 | 2018-08-15T08:53:18.000Z | 2022-02-17T10:10:52.000Z | workspaces/cogito-ios-app/CogitoTests/Key store/KeyStoreSpec.swift | philips-software/cogito | e84ddb4fb1e9ae95652595f3111c43eebb6e4982 | [
"MIT"
] | 105 | 2018-09-21T13:42:22.000Z | 2022-02-26T21:31:51.000Z | workspaces/cogito-ios-app/CogitoTests/Key store/KeyStoreSpec.swift | philips-software/cogito | e84ddb4fb1e9ae95652595f3111c43eebb6e4982 | [
"MIT"
] | 7 | 2018-08-07T06:58:35.000Z | 2019-04-09T05:22:54.000Z | import Quick
import Nimble
import BigInt
@testable import Cogito
class KeyStoreSpec: QuickSpec {
override func spec() {
it("can be encoded and decoded") {
let keyStore = KeyStore(name: "some name", scryptN: 1, scryptP: 2)
let encoder = JSONEncoder()
var data: Data!
... | 37.164063 | 95 | 0.418962 |
fdf0eea968b5eb61d04b8ff3e06dc695d516eb35 | 1,287 | lua | Lua | atom/args.lua | samuelwbaird/atom | 12d9468e11d19778d40e4411617a442dc6afba19 | [
"MIT"
] | null | null | null | atom/args.lua | samuelwbaird/atom | 12d9468e11d19778d40e4411617a442dc6afba19 | [
"MIT"
] | null | null | null | atom/args.lua | samuelwbaird/atom | 12d9468e11d19778d40e4411617a442dc6afba19 | [
"MIT"
] | null | null | null | -- some basic command line args handling
local error = error
local args = {}
local args_by_value = {}
-- begin by loading in the command line args
local function load(command_line_args, on_error)
error = on_error
for i = 1, #command_line_args do
args[i] = command_line_args[i]
end
end
local function get(name, req... | 23.4 | 76 | 0.690754 |
331aeb6e2fbd46d9fdd79ecc88f4699a9b2df179 | 2,487 | lua | Lua | service/clustersender.lua | Ron2014/skynet-study | f13e57d11f326ec83451b4ed2fbd50d14a09bdca | [
"MIT"
] | null | null | null | service/clustersender.lua | Ron2014/skynet-study | f13e57d11f326ec83451b4ed2fbd50d14a09bdca | [
"MIT"
] | null | null | null | service/clustersender.lua | Ron2014/skynet-study | f13e57d11f326ec83451b4ed2fbd50d14a09bdca | [
"MIT"
] | null | null | null | local skynet = require "skynet"
local sc = require "skynet.socketchannel"
local socket = require "skynet.socket"
local cluster = require "skynet.cluster.core"
local channel
local session = 1
local node, nodename = ...
local command = {}
local waiting = {}
local function send_request(addr, msg, sz)
--... | 23.685714 | 83 | 0.673904 |
8195e4ce9c221843ec8805e5c3b4ba445bf5dfe9 | 4,124 | go | Go | render_test.go | arrowltd/go-render-quill | b3a51f53cbcb658a87f3b585cf66de2f276fa1bd | [
"MIT"
] | null | null | null | render_test.go | arrowltd/go-render-quill | b3a51f53cbcb658a87f3b585cf66de2f276fa1bd | [
"MIT"
] | null | null | null | render_test.go | arrowltd/go-render-quill | b3a51f53cbcb658a87f3b585cf66de2f276fa1bd | [
"MIT"
] | 1 | 2021-01-14T21:30:25.000Z | 2021-01-14T21:30:25.000Z | package quill
import (
"bytes"
"io/ioutil"
"strconv"
"testing"
)
func TestSimple(t *testing.T) {
cases := map[string]struct {
ops string
want string
}{
"empty": {
ops: `[{"insert": "\n"}]`,
want: "<p><br></p>",
},
"two paragraphs (single op)": {
ops: `[{"insert": "line1\nline2\n"}]`,
w... | 26.606452 | 122 | 0.530795 |
bcafd88a83bae47a7871a61640fff568eacb2273 | 2,024 | js | JavaScript | static/js/share.js | angeal185/python-micro-twitter-clone | 254887f3935eb945ecfd253361bb3e80d600d7b8 | [
"MIT"
] | null | null | null | static/js/share.js | angeal185/python-micro-twitter-clone | 254887f3935eb945ecfd253361bb3e80d600d7b8 | [
"MIT"
] | null | null | null | static/js/share.js | angeal185/python-micro-twitter-clone | 254887f3935eb945ecfd253361bb3e80d600d7b8 | [
"MIT"
] | null | null | null | jQuery(function(){var e=jQuery('script[src*="share.js"]').attr("src"),t=function(t,o){var i=RegExp("[?&]"+t+"=([^&]*)").exec(e);return i&&decodeURIComponent(i[1].replace(/\+/g," "))||o},o=t("static","social"),i=encodeURIComponent(window.location.href),r=(window.location.hostname,escape(jQuery("title").text())),a="http:... | 2,024 | 2,024 | 0.657609 |
9ab40088a7abff08958f2375daa140803ef1a587 | 271 | swift | Swift | Sources/Core/Mixins/ViewRecyclerMixin.swift | Appsaurus/UIKitBase | e369195961e181700930c3d3934490d906e644a7 | [
"MIT"
] | null | null | null | Sources/Core/Mixins/ViewRecyclerMixin.swift | Appsaurus/UIKitBase | e369195961e181700930c3d3934490d906e644a7 | [
"MIT"
] | null | null | null | Sources/Core/Mixins/ViewRecyclerMixin.swift | Appsaurus/UIKitBase | e369195961e181700930c3d3934490d906e644a7 | [
"MIT"
] | null | null | null | //
// ViewRecyclerMixin.swift
// UIKitBase
//
// Created by Brian Strobach on 12/3/18.
//
import UIKitMixinable
public class ViewRecyclerMixin: UIViewControllerMixin<ViewRecycler> {
override open func viewDidLoad() {
mixable?.registerReusables()
}
}
| 18.066667 | 69 | 0.708487 |
22e8fb5859872d629c50140e5f55a9a4caf6354a | 570 | h | C | ImportantExample/cuteReportView/cutereport/src/widgets/widgets/emptydialog.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/CuteReport/src/widgets/widgets/emptydialog.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/CuteReport/src/widgets/widgets/emptydialog.h | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | #ifndef EMPTYDIALOG_H
#define EMPTYDIALOG_H
#include "widgets_export.h"
#include <QDialog>
namespace Ui {
class EmptyDialog;
}
class WIDGET_EXPORTS EmptyDialog : public QDialog
{
Q_OBJECT
public:
explicit EmptyDialog(QWidget *parent = 0);
~EmptyDialog();
void setWidget(QWidget * widget);
void s... | 16.285714 | 49 | 0.707018 |
61618c6d8b5e3b9a3f51a49ad224c1ee0aa09281 | 1,821 | css | CSS | static/css/base.css | tjdolan121/newspaper_proj | a46890f84cbf93fb4a74b277a78b3ca8b004e095 | [
"MIT"
] | null | null | null | static/css/base.css | tjdolan121/newspaper_proj | a46890f84cbf93fb4a74b277a78b3ca8b004e095 | [
"MIT"
] | 1 | 2019-01-10T11:19:06.000Z | 2019-01-10T11:19:57.000Z | static/css/base.css | tjdolan121/newspaper_proj | a46890f84cbf93fb4a74b277a78b3ca8b004e095 | [
"MIT"
] | null | null | null | h1, h2, h3, h4, h5 {
font-family: 'Bungee', cursive;
color: #f1f1ef
}
h6 {
font-family: 'Bungee', cursive;
color: #222222;
text-align: center;
}
p {
font-family: 'Lato', sans-serif;
}
body {
background-image: url(../img/wavy-dots.png);
}
li {
font-family: 'Lato', sans-serif;
}
.page-t... | 14.007692 | 53 | 0.60626 |
41110591a723977f043a65f676aaf5eaa5293c1f | 838 | h | C | EnginePractice/src/Main/Window.h | Ivaylo-Kirov/eng-practice | 1e0fbc321e873aa5a2c95b0cb3e846274b7140d6 | [
"Apache-2.0"
] | null | null | null | EnginePractice/src/Main/Window.h | Ivaylo-Kirov/eng-practice | 1e0fbc321e873aa5a2c95b0cb3e846274b7140d6 | [
"Apache-2.0"
] | null | null | null | EnginePractice/src/Main/Window.h | Ivaylo-Kirov/eng-practice | 1e0fbc321e873aa5a2c95b0cb3e846274b7140d6 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "eppch.h"
#include "Main/Core.h"
#include "Main/Events/Event.h"
namespace EnginePractice {
struct WindowProps {
std::string Title;
unsigned int Width;
unsigned int Height;
WindowProps(const std::string& title = "EP Engine", unsigned int width = 1280, unsigned int height = 720)
: Ti... | 22.052632 | 107 | 0.693317 |
8f0b4f4f6fe7173ede44cfaca8dbc9c4c3a02c28 | 3,106 | java | Java | src/no/geosoft/common/geometry/spline/SplineFactory.java | rabbagast/common | e55e9ffadaefaf2c58cc424ab4bc0b1a3bb4e985 | [
"Apache-2.0"
] | null | null | null | src/no/geosoft/common/geometry/spline/SplineFactory.java | rabbagast/common | e55e9ffadaefaf2c58cc424ab4bc0b1a3bb4e985 | [
"Apache-2.0"
] | null | null | null | src/no/geosoft/common/geometry/spline/SplineFactory.java | rabbagast/common | e55e9ffadaefaf2c58cc424ab4bc0b1a3bb4e985 | [
"Apache-2.0"
] | null | null | null | package no.geosoft.common.geometry.spline;
/**
* A spline factory instance.
*
* @author <a href="mailto:jacob.dreyer@geosoft.no">Jacob Dreyer</a>
*/
public class SplineFactory
{
/**
* Create a Bezier spline based on the given control points.
* The generated curve starts in the first control point and ends
... | 32.020619 | 80 | 0.588538 |
cfc46c1a81a03a3424d93d0579596cbecff74913 | 709 | ps1 | PowerShell | src/app/resources/scripts/iis_scripts/Start-AdminAPI.ps1 | nathanm1011/IIS.WebManager | ea813ae8e4e1ee21467c5ab856e40ba8f5ef6787 | [
"MIT"
] | 101 | 2019-05-08T21:27:05.000Z | 2022-02-13T07:33:49.000Z | src/app/resources/scripts/iis_scripts/Start-AdminAPI.ps1 | nathanm1011/IIS.WebManager | ea813ae8e4e1ee21467c5ab856e40ba8f5ef6787 | [
"MIT"
] | 275 | 2017-07-21T16:31:44.000Z | 2019-05-04T05:30:54.000Z | src/app/resources/scripts/iis_scripts/Start-AdminAPI.ps1 | nathanm1011/IIS.WebManager | ea813ae8e4e1ee21467c5ab856e40ba8f5ef6787 | [
"MIT"
] | 48 | 2019-05-16T07:06:52.000Z | 2021-11-16T02:54:36.000Z | [CmdletBinding()]
param(
## Not doing anything with this parameter yet
[string]
$sessionId,
[string]
$serviceName = "Microsoft IIS Administration"
)
$ErrorActionPreference = "Stop"
function WaitForServerToStart($service) {
$waitPeriod = 1
$remainingTime = 600
while (!(G... | 24.448276 | 109 | 0.631876 |
0009f84edf5501e6fbd48ac98d7a1c75f2a85457 | 18,591 | sql | SQL | devel2016.sql | kiritoriq/sistempenjualan | 0c1f14041afe00c85372f1a9ec4a129797550ea6 | [
"MIT"
] | null | null | null | devel2016.sql | kiritoriq/sistempenjualan | 0c1f14041afe00c85372f1a9ec4a129797550ea6 | [
"MIT"
] | null | null | null | devel2016.sql | kiritoriq/sistempenjualan | 0c1f14041afe00c85372f1a9ec4a129797550ea6 | [
"MIT"
] | null | null | null | # ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 192.168.0.5 (MySQL 5.5.47-MariaDB)
# Database: master_develop2
# Generation Time: 2016-07-22 14:10:11 +0000
# *****************************... | 54.201166 | 228 | 0.663117 |
5e1e4fb0d7400519659ae1a7be4cc08621f59483 | 282 | ps1 | PowerShell | libexec/presets.ps1 | skyhoshi/concfg | 79b395fd7a63a398adfb14164c71eec13922f890 | [
"MIT"
] | 864 | 2015-01-04T17:00:03.000Z | 2022-03-28T02:23:23.000Z | powershell/concfg/libexec/presets.ps1 | codeimpossible/dotfiles | 73e45118bf9a83202c10c17c34cf8dee53366534 | [
"MIT"
] | 62 | 2015-06-24T17:30:13.000Z | 2021-08-02T11:06:05.000Z | powershell/concfg/libexec/presets.ps1 | codeimpossible/dotfiles | 73e45118bf9a83202c10c17c34cf8dee53366534 | [
"MIT"
] | 105 | 2015-02-09T14:31:32.000Z | 2021-11-11T18:49:54.000Z | # Usage: concfg presets
# Summary: List builtin available presets
# Help: Lists the presets that are available for the 'concfg import' command
. "$PSScriptRoot\..\lib\presets.ps1"
$result = Get-BuiltinPreset
Write-Output "Available presets:"
Format-PresetOutput($result)
| 28.2 | 77 | 0.744681 |
9da35ebcde57aed1b51f195c6786ded037c8c7b9 | 2,189 | asm | Assembly | artwork/barbaro_espada_golpealto.asm | fjpena/sword-of-ianna-zx | fdd6bdb5775933756e75402a7c6be80d5334702d | [
"Apache-2.0"
] | 67 | 2017-10-07T18:48:05.000Z | 2022-02-01T20:37:40.000Z | artwork/barbaro_espada_golpealto.asm | fjpena/sword-of-ianna-zx | fdd6bdb5775933756e75402a7c6be80d5334702d | [
"Apache-2.0"
] | null | null | null | artwork/barbaro_espada_golpealto.asm | fjpena/sword-of-ianna-zx | fdd6bdb5775933756e75402a7c6be80d5334702d | [
"Apache-2.0"
] | 9 | 2017-10-06T21:02:55.000Z | 2022-01-06T03:11:58.000Z | ; ASM source file created by SevenuP v1.20
; SevenuP (C) Copyright 2002-2006 by Jaime Tejedor Gomez, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 4
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;M... | 35.885246 | 72 | 0.487437 |
0e1b2ad9078f6945bfe8599965f2aa2c0be150f5 | 4,245 | lua | Lua | spec/process_md_spec.lua | Dm1tr1y147/md_offliner | 354e9120b28923f2113156bbec0b3f08d4e64ef0 | [
"MIT"
] | null | null | null | spec/process_md_spec.lua | Dm1tr1y147/md_offliner | 354e9120b28923f2113156bbec0b3f08d4e64ef0 | [
"MIT"
] | null | null | null | spec/process_md_spec.lua | Dm1tr1y147/md_offliner | 354e9120b28923f2113156bbec0b3f08d4e64ef0 | [
"MIT"
] | null | null | null | local ProcessMD = require("src.process_md")
local Utils = require("spec.utils")
local assets_dir = './spec/assets/'
describe("process_md", function()
describe("get_file_content", function()
it("Gets content of file test.txt", function()
assert.equal(
"
type TestPassService struct {
next service.Service
t *testing.T
}
func (t TestPassService) GetNext() service.Service {
return t.next
}
func (t *TestPassService) UpdateNext(nxt service.Service) {
t.next = nxt
}
func (t TestPas... | 19 | 110 | 0.707152 |
4f9380b04c24a6babc4675eb7f01de6136e3cb46 | 699 | kt | Kotlin | app/src/main/java/com/karansyd4/pokedex/ui/compose/library/PreviewData.kt | karan4c6/Pokedex | e8052068698dd2a2a489a81fd3ada98079e515bc | [
"Apache-2.0"
] | 1 | 2022-01-28T00:29:46.000Z | 2022-01-28T00:29:46.000Z | app/src/main/java/com/karansyd4/pokedex/ui/compose/library/PreviewData.kt | karan4c6/Pokedex | e8052068698dd2a2a489a81fd3ada98079e515bc | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/karansyd4/pokedex/ui/compose/library/PreviewData.kt | karan4c6/Pokedex | e8052068698dd2a2a489a81fd3ada98079e515bc | [
"Apache-2.0"
] | 1 | 2022-01-28T00:34:25.000Z | 2022-01-28T00:34:25.000Z | package com.karansyd4.pokedex.ui.compose.library
import com.karansyd4.pokedex.data.model.PokemonCardData
fun getPreviewPokemonCardData() = listOf(
PokemonCardData(
imageUrl = "https://raw.githubusercontent.com/karan4c6/APIs/main/pokedex/images/001.jpg",
pokedexNumber = "001",
name = "Bulb... | 31.772727 | 97 | 0.668097 |
8e60eb9ce6de4537a0688db00813edf8f78289ea | 1,567 | lua | Lua | lib/types/hammerspoon/std/eventtap/event/event.lua | wwmoraes/Spoons | 7e1c5d4c2a1bef73dc53bf15612e0903f3540268 | [
"MIT"
] | null | null | null | lib/types/hammerspoon/std/eventtap/event/event.lua | wwmoraes/Spoons | 7e1c5d4c2a1bef73dc53bf15612e0903f3540268 | [
"MIT"
] | null | null | null | lib/types/hammerspoon/std/eventtap/event/event.lua | wwmoraes/Spoons | 7e1c5d4c2a1bef73dc53bf15612e0903f3540268 | [
"MIT"
] | null | null | null | --- @class EventTapEvent
--- @field properties EventTapEventProperties
--- @field rawFlagMasks EventTapEventRawFlagMasks
--- @field types EventTapEventTypes|table<integer,EventTapEventType>
local EventTapEvent
--- @param modifiers EventTapEventModifier[]
--- @param character string
--- @return EventTapEventInstance[]
... | 34.065217 | 68 | 0.808551 |
7edd217b3b867028404cf7344e6c744b5941f7c0 | 85 | swift | Swift | Package.swift | Oggerschummer/NSString-RemoveEmoji | b9fc0d5ea4068173a9b34b3fabee79e7730a5a4b | [
"MIT"
] | null | null | null | Package.swift | Oggerschummer/NSString-RemoveEmoji | b9fc0d5ea4068173a9b34b3fabee79e7730a5a4b | [
"MIT"
] | null | null | null | Package.swift | Oggerschummer/NSString-RemoveEmoji | b9fc0d5ea4068173a9b34b3fabee79e7730a5a4b | [
"MIT"
] | null | null | null | import PackageDescription
let package = Package(
name: "NSString_RemoveEmoji"
)
| 14.166667 | 32 | 0.764706 |
26653504f109c34295ebaa3747b232dc9467712a | 2,182 | java | Java | src/test/java/com/github/charlemaznable/core/net/common/HttpStatusTest.java | CharLemAznable/complex-kits | 91e3926a7801a87fb9a7707acb60e77118bb74a9 | [
"MIT"
] | 2 | 2019-05-20T14:46:15.000Z | 2020-12-01T05:59:30.000Z | src/test/java/com/github/charlemaznable/core/net/common/HttpStatusTest.java | CharLemAznable/complex-kits | 91e3926a7801a87fb9a7707acb60e77118bb74a9 | [
"MIT"
] | 1 | 2022-01-07T08:09:30.000Z | 2022-01-07T08:09:30.000Z | src/test/java/com/github/charlemaznable/core/net/common/HttpStatusTest.java | CharLemAznable/complex-kits | 91e3926a7801a87fb9a7707acb60e77118bb74a9 | [
"MIT"
] | null | null | null | package com.github.charlemaznable.core.net.common;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class HttpStatusTest {
@Test
public... | 44.530612 | 75 | 0.742438 |
2a3387a014d12afbb3e93bc3615969a7fa432bd3 | 538 | java | Java | Moviemoving5/src/main/java/com/Moviemoving/service/CartServiceImpl.java | JungHwan-Park21/spring_workspace | 16259e885854bd8ffc82f6fbaba5dcd50713f6cf | [
"MIT"
] | null | null | null | Moviemoving5/src/main/java/com/Moviemoving/service/CartServiceImpl.java | JungHwan-Park21/spring_workspace | 16259e885854bd8ffc82f6fbaba5dcd50713f6cf | [
"MIT"
] | null | null | null | Moviemoving5/src/main/java/com/Moviemoving/service/CartServiceImpl.java | JungHwan-Park21/spring_workspace | 16259e885854bd8ffc82f6fbaba5dcd50713f6cf | [
"MIT"
] | null | null | null | package com.Moviemoving.service;
import java.util.List;
import com.Moviemoving.domain.MovieVO;
import com.Moviemoving.domain.CartVO;
public class CartServiceImpl implements CartService{
@Override
public int create(CartVO cartVO) {
// TODO Auto-generated method stub
return 0;
}
@Override
public List<MovieV... | 18.551724 | 56 | 0.756506 |
cecf7e3bb398cdfca10c1f8595040d01142eb0a5 | 50 | sql | SQL | preset/postgis/testdata/queries.sql | KoduIsGreat/gnomock | 2f45fce94f7ac809abe5fca0fe9e636ccf7e6395 | [
"MIT"
] | 1 | 2021-11-20T10:30:49.000Z | 2021-11-20T10:30:49.000Z | preset/postgis/testdata/queries.sql | KoduIsGreat/gnomock | 2f45fce94f7ac809abe5fca0fe9e636ccf7e6395 | [
"MIT"
] | null | null | null | preset/postgis/testdata/queries.sql | KoduIsGreat/gnomock | 2f45fce94f7ac809abe5fca0fe9e636ccf7e6395 | [
"MIT"
] | null | null | null | create extension postgis;
create table t(a int);
| 12.5 | 25 | 0.76 |
58fa70878bec059c957cb7576498de4d66a03a20 | 186 | sql | SQL | src/main/java/sqlFiles/createTables/createEmployees.sql | karbowiak/2semsterProjekt | bedf40a89c95cf05712512669d2e0dac3bbb12e7 | [
"MIT"
] | null | null | null | src/main/java/sqlFiles/createTables/createEmployees.sql | karbowiak/2semsterProjekt | bedf40a89c95cf05712512669d2e0dac3bbb12e7 | [
"MIT"
] | null | null | null | src/main/java/sqlFiles/createTables/createEmployees.sql | karbowiak/2semsterProjekt | bedf40a89c95cf05712512669d2e0dac3bbb12e7 | [
"MIT"
] | null | null | null | CREATE TABLE employees (
employeeID INT NOT NULL IDENTITY(1,1),
function VARCHAR(255) NOT NULL,
PRIMARY KEY (employeeID),
FOREIGN KEY (employeeID) REFERENCES persons(personID)
); | 31 | 55 | 0.752688 |
7e2f33613b5722dfde34a2f230f6cac2866caf26 | 4,307 | css | CSS | mystyle.css | kerryokay07/weddingsite | 8286982572e5a11b27c6f764b42836607d3e98d0 | [
"Apache-2.0"
] | null | null | null | mystyle.css | kerryokay07/weddingsite | 8286982572e5a11b27c6f764b42836607d3e98d0 | [
"Apache-2.0"
] | null | null | null | mystyle.css | kerryokay07/weddingsite | 8286982572e5a11b27c6f764b42836607d3e98d0 | [
"Apache-2.0"
] | null | null | null | @import url(//db.onlinewebfonts.com/c/c485bd943deb738cde7beb2a970fefa8?family=Anter);
@font-face {
font-family: "Anter";
src: url("//db.onlinewebfonts.com/t/c485bd943deb738cde7beb2a970fefa8.eot");
src: url("//db.onlinewebfonts.com/t/c485bd943deb738cde7beb2a970fefa8.eot?#iefix") format("embedded-openty... | 21.216749 | 472 | 0.619225 |
01e7cab36f423e88a5a5a13bc8b9e1e8be453eaa | 3,836 | dart | Dart | lib/ui/screens/account/accountDashboardScreen.dart | paetzold/apps-nigiri | 06a678fb6ab46d41d56c04e4f1aa85b605e66893 | [
"MIT"
] | null | null | null | lib/ui/screens/account/accountDashboardScreen.dart | paetzold/apps-nigiri | 06a678fb6ab46d41d56c04e4f1aa85b605e66893 | [
"MIT"
] | null | null | null | lib/ui/screens/account/accountDashboardScreen.dart | paetzold/apps-nigiri | 06a678fb6ab46d41d56c04e4f1aa85b605e66893 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:mappy/ui/comps/ui-collection.dart';
import 'package:mappy/ui/comps/usercontext.dart';
import '../appScreen.dart';
import 'accountEditScreen.dart';
class AccountDashBoard extends StatefulWidget {
AccountDashBoard({Key key}) : super(key: key);
@override
_Ac... | 40.808511 | 80 | 0.474453 |
da53df1b69268f1b24b1242e928fe54928963165 | 1,923 | kt | Kotlin | app/src/main/java/com/jia/jetcontacts/ContactsViewModel.kt | Junjie-Jia/JetContacts | d1aa07905966e590c732ea3132efb64744393c02 | [
"MIT"
] | null | null | null | app/src/main/java/com/jia/jetcontacts/ContactsViewModel.kt | Junjie-Jia/JetContacts | d1aa07905966e590c732ea3132efb64744393c02 | [
"MIT"
] | null | null | null | app/src/main/java/com/jia/jetcontacts/ContactsViewModel.kt | Junjie-Jia/JetContacts | d1aa07905966e590c732ea3132efb64744393c02 | [
"MIT"
] | null | null | null | package com.jia.jetcontacts
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
class ContactsViewModel : V... | 31.52459 | 72 | 0.584503 |
0cab184754b8b6e990d3f1607a9b78c8dc5d5f41 | 7,421 | py | Python | model_functions.py | blowe615/flower_classifier | 7cdb6ebe292f90ae711f050ff24fb68e3a9570c1 | [
"MIT"
] | 1 | 2019-08-29T04:24:22.000Z | 2019-08-29T04:24:22.000Z | model_functions.py | blowe615/flower_classifier | 7cdb6ebe292f90ae711f050ff24fb68e3a9570c1 | [
"MIT"
] | null | null | null | model_functions.py | blowe615/flower_classifier | 7cdb6ebe292f90ae711f050ff24fb68e3a9570c1 | [
"MIT"
] | null | null | null | import torch
from torch import nn
import torch.nn.functional as F
#from helper_functions import process_image
class DeepNetworkClassifier(nn.Module):
def __init__(self, input_units, output_units, hidden_units,p_drop=0.2):
'''
Builds a classifier for a pretrained deep neural network for the flower d... | 38.252577 | 107 | 0.603153 |
5cf36c08e48caccd6885ab262a6878b4e008418c | 2,839 | swift | Swift | Example/Moya-Argo/PlainMoyaTableViewController.swift | juvs/Moya-Argo | f985f0629a778b77e50ee703fe4b6fc9b05b769e | [
"MIT"
] | 42 | 2016-01-29T23:17:01.000Z | 2020-04-16T05:23:36.000Z | Example/Moya-Argo/PlainMoyaTableViewController.swift | juvs/Moya-Argo | f985f0629a778b77e50ee703fe4b6fc9b05b769e | [
"MIT"
] | 19 | 2016-02-02T11:21:42.000Z | 2020-03-27T19:18:42.000Z | Example/Moya-Argo/PlainMoyaTableViewController.swift | juvs/Moya-Argo | f985f0629a778b77e50ee703fe4b6fc9b05b769e | [
"MIT"
] | 18 | 2016-02-07T05:57:05.000Z | 2020-03-26T19:43:14.000Z | //
// PlainMoyaTableViewController.swift
// Moya-Argo
//
// Created by Sam Watts on 23/01/2016.
// Copyright © 2016 Sam Watts. All rights reserved.
//
import UIKit
import Moya
struct PlainMoyaUser {
let id: Int
let name: String
let birthdate: String?
}
extension PlainMoyaUser: UserType { }
cla... | 29.572917 | 116 | 0.553716 |
009402d9675e3984fc934206d6a66fad57a79900 | 341 | dart | Dart | road_monitoring_system/lib/login/model/user_account.dart | circleTreeF/2020_GRP_Team17 | e29bac4f5de54d34049da6549c82fefab3c016f5 | [
"MIT"
] | null | null | null | road_monitoring_system/lib/login/model/user_account.dart | circleTreeF/2020_GRP_Team17 | e29bac4f5de54d34049da6549c82fefab3c016f5 | [
"MIT"
] | null | null | null | road_monitoring_system/lib/login/model/user_account.dart | circleTreeF/2020_GRP_Team17 | e29bac4f5de54d34049da6549c82fefab3c016f5 | [
"MIT"
] | null | null | null |
///This class describe the information of the user who has logged in to this app.
class UserAccount {
static final UserAccount _singleton = UserAccount._internal();
///user_id of this user
int user_id;
///username of this user
String username;
factory UserAccount() {
return _singleton;
}
UserAc... | 18.944444 | 81 | 0.715543 |
23b71045f2eb3c6b00312a3e23491a5721d19176 | 752 | lua | Lua | lua/snap/producer/vim/currentbuffer.lua | akinsho/snap | 79969a27fd581120288edae0fce282ce72b482b8 | [
"Unlicense"
] | 365 | 2021-06-09T02:41:45.000Z | 2022-03-22T03:43:14.000Z | lua/snap/producer/vim/currentbuffer.lua | akinsho/snap | 79969a27fd581120288edae0fce282ce72b482b8 | [
"Unlicense"
] | 82 | 2021-06-09T09:37:12.000Z | 2022-02-15T16:50:37.000Z | lua/snap/producer/vim/currentbuffer.lua | akinsho/snap | 79969a27fd581120288edae0fce282ce72b482b8 | [
"Unlicense"
] | 19 | 2021-06-09T16:15:55.000Z | 2022-03-11T13:16:32.000Z | local _2afile_2a = "fnl/snap/producer/vim/currentbuffer.fnl"
local snap = require("snap")
local function _2_(_1_)
local _arg_0_ = _1_
local winnr = _arg_0_["winnr"]
local bufnr
local function _3_(...)
return vim.api.nvim_win_get_buf(winnr, ...)
end
bufnr = snap.sync(_3_)
local filename
local functio... | 27.851852 | 82 | 0.692819 |
39f35e571517a439b1de4c1f7176c15b09eb0728 | 706 | java | Java | src/main/java/org/arquillian/extension/VolkswagenExtension.java | aslakknutsen/arquillian-volkswagen | e4b073d734445261fb8ac2d070377504f4b2ea85 | [
"Apache-2.0"
] | 28 | 2015-10-08T15:56:53.000Z | 2018-02-22T12:13:55.000Z | src/main/java/org/arquillian/extension/VolkswagenExtension.java | aslakknutsen/arquillian-volkswagen | e4b073d734445261fb8ac2d070377504f4b2ea85 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/arquillian/extension/VolkswagenExtension.java | aslakknutsen/arquillian-volkswagen | e4b073d734445261fb8ac2d070377504f4b2ea85 | [
"Apache-2.0"
] | null | null | null | package org.arquillian.extension;
import org.jboss.arquillian.core.api.annotation.Observes;
import org.jboss.arquillian.core.spi.LoadableExtension;
import org.jboss.arquillian.test.spi.TestResult;
import org.jboss.arquillian.test.spi.TestResult.Status;
public class VolkswagenExtension implements LoadableExtension {
... | 28.24 | 79 | 0.729462 |
bc6016bd218eb64461415c1779c2a65bf0249cb3 | 968 | lua | Lua | gamemodes/perp/gamemode/properties/old_industrial.lua | RobCod/PERP | 0fd4fa653074722319c24c8370313f34bd96b66e | [
"MIT"
] | 7 | 2016-01-07T19:29:45.000Z | 2021-04-17T06:34:42.000Z | gamemodes/perp/gamemode/properties/old_industrial.lua | RobCod/PERP | 0fd4fa653074722319c24c8370313f34bd96b66e | [
"MIT"
] | 2 | 2019-12-07T16:40:35.000Z | 2019-12-07T17:15:40.000Z | gamemodes/perp/gamemode/properties/old_industrial.lua | RobCod/PERP | 0fd4fa653074722319c24c8370313f34bd96b66e | [
"MIT"
] | 14 | 2016-05-19T18:25:20.000Z | 2022-03-10T06:48:07.000Z |
/*
PROPERTY = {};
PROPERTY.ID = 115;
PROPERTY.Name = "Old Industrial";
PROPERTY.Category = "Business";
PROPERTY.Description = "A Small Industrial House With A Storage And A Big Courtyard. Placed In Industrial Area.";
PROPERTY.Image = "ev17x_oldindustrialfirm";
PROPERTY.Cost = 2500;
PROPERTY.Doors = {
{Vect... | 31.225806 | 113 | 0.618802 |
96dee49297b99eadc105b5ced64b974e59e36e35 | 1,207 | sql | SQL | sql/t_auth_record.sql | shenlanAZ/oauth2-client-demo | 2a06db56cc4fb2dd8068399915f599b8ff5b2a74 | [
"MIT"
] | null | null | null | sql/t_auth_record.sql | shenlanAZ/oauth2-client-demo | 2a06db56cc4fb2dd8068399915f599b8ff5b2a74 | [
"MIT"
] | null | null | null | sql/t_auth_record.sql | shenlanAZ/oauth2-client-demo | 2a06db56cc4fb2dd8068399915f599b8ff5b2a74 | [
"MIT"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : 10.68.165.163_mariadb_3306
Source Server Type : MariaDB
Source Server Version : 100406
Source Host : 10.68.165.163:3306
Source Schema : oauth_client_demo
Target Server Type : MariaDB
Target Server Version : 100406
File Encoding ... | 33.527778 | 115 | 0.704225 |
9c5c9103e948c6907cfb91ee0f93a40a768153a3 | 4,700 | js | JavaScript | src/pages/Login.js | chachakawooka/credits-slots | d21abee5cb8ae8a74daabdbed4af1bcad3bed6ac | [
"MIT"
] | 1 | 2019-07-04T08:38:06.000Z | 2019-07-04T08:38:06.000Z | src/pages/Login.js | chachakawooka/credits-slots | d21abee5cb8ae8a74daabdbed4af1bcad3bed6ac | [
"MIT"
] | null | null | null | src/pages/Login.js | chachakawooka/credits-slots | d21abee5cb8ae8a74daabdbed4af1bcad3bed6ac | [
"MIT"
] | null | null | null | import React from 'react';
import PropTypes from 'prop-types';
import Avatar from '@material-ui/core/Avatar';
import Button from '@material-ui/core/Button';
import CssBaseline from '@material-ui/core/CssBaseline';
import TextField from '@material-ui/core/TextField';
import FormControlLabel from '@material-ui/core/FormC... | 32.638889 | 70 | 0.451277 |
a673767999d8600d22c1e651e19ed0af75ae88f9 | 353 | swift | Swift | Tests/LinuxMain.swift | HarishKataria/Triff | 3afe12d9139464d54ded1b5cf3a59fffff52f6d4 | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | HarishKataria/Triff | 3afe12d9139464d54ded1b5cf3a59fffff52f6d4 | [
"MIT"
] | null | null | null | Tests/LinuxMain.swift | HarishKataria/Triff | 3afe12d9139464d54ded1b5cf3a59fffff52f6d4 | [
"MIT"
] | null | null | null | //**************************************************************
//
// TriffTests
//
// Created by Harish Kataria
// Copyright © 2019 Harish Kataria. All rights reserved.
//
//**************************************************************
import XCTest
import TriffTests
var tests = [XCTestCaseEntry]()
tests += Trif... | 23.533333 | 64 | 0.456091 |
26731ec551ad7609d8f4ec429fa837dbe5b5206e | 5,943 | java | Java | herddb-core/src/main/java/herddb/sql/SQLRecordKeyFunction.java | fossabot/herddb | 825b2259bbc4f6849b54a77e93a3ae3ce3f5268c | [
"Apache-2.0"
] | null | null | null | herddb-core/src/main/java/herddb/sql/SQLRecordKeyFunction.java | fossabot/herddb | 825b2259bbc4f6849b54a77e93a3ae3ce3f5268c | [
"Apache-2.0"
] | null | null | null | herddb-core/src/main/java/herddb/sql/SQLRecordKeyFunction.java | fossabot/herddb | 825b2259bbc4f6849b54a77e93a3ae3ce3f5268c | [
"Apache-2.0"
] | null | null | null | /*
Licensed to Diennea S.r.l. under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. Diennea S.r.l. licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except ... | 36.913043 | 150 | 0.64597 |
6e40d36e69a538efa07dcbea11bb9c4627b97438 | 220 | html | HTML | banner.html | cjvanlissa/Doing-Meta-Analysis-in-R | e84da0dfd2e052e59f3daef1cae59d229ab133f8 | [
"CC0-1.0"
] | 4 | 2021-03-21T22:41:37.000Z | 2022-01-27T17:36:32.000Z | banner.html | cjvanlissa/Doing-Meta-Analysis-in-R | e84da0dfd2e052e59f3daef1cae59d229ab133f8 | [
"CC0-1.0"
] | null | null | null | banner.html | cjvanlissa/Doing-Meta-Analysis-in-R | e84da0dfd2e052e59f3daef1cae59d229ab133f8 | [
"CC0-1.0"
] | 2 | 2020-04-08T07:50:05.000Z | 2021-11-22T03:47:33.000Z | <!DOCTYPE html>
<html>
<head>
</head>
<body>
<!--img src="https://raw.githubusercontent.com/MathiasHarrer/Doing-Meta-Analysis-in-R/master/banner.jpg" alt="banner" /-->
</body>
</html>
| 18.333333 | 125 | 0.572727 |
81199c18698d9d011a4f9816f652cd4affc195ab | 6,876 | swift | Swift | NextLevelSessionExporter/SessionExporter/ViewController.swift | dylanreich/NextLevelSessionExporter | 7368d5313202b55a2e1c05672b4e24ce749937e1 | [
"MIT"
] | null | null | null | NextLevelSessionExporter/SessionExporter/ViewController.swift | dylanreich/NextLevelSessionExporter | 7368d5313202b55a2e1c05672b4e24ce749937e1 | [
"MIT"
] | null | null | null | NextLevelSessionExporter/SessionExporter/ViewController.swift | dylanreich/NextLevelSessionExporter | 7368d5313202b55a2e1c05672b4e24ce749937e1 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// NextLevelSessionExporter (http://nextlevel.engineering/)
//
// Copyright (c) 2016-present patrick piemonte (http://patrickpiemonte.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... | 49.114286 | 152 | 0.618237 |