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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23e665bf2af9a3966e969da3963b2c502ee10ab2 | 2,427 | sql | SQL | _sql/init-oauth.sql | MRzhuyeye/IBaseCloud | 5f559ffca21dc2d451fd10d0fd4210a4657d9fc5 | [
"MIT"
] | 1 | 2020-03-21T03:12:54.000Z | 2020-03-21T03:12:54.000Z | _sql/init-oauth.sql | xing-jiajun/IBaseCloud | 5f559ffca21dc2d451fd10d0fd4210a4657d9fc5 | [
"MIT"
] | null | null | null | _sql/init-oauth.sql | xing-jiajun/IBaseCloud | 5f559ffca21dc2d451fd10d0fd4210a4657d9fc5 | [
"MIT"
] | null | null | null | # noinspection SqlNoDataSourceInspectionForFile
/*
Navicat Premium Data Transfer
Source Server : localhost-root
Source Server Type : MySQL
Source Server Version : 80018
Source Host : localhost:3306
Source Schema : ibasecloud_security
Target Server Type : MySQL
Target Server Ve... | 32.797297 | 125 | 0.63494 |
b0d0b4694b5670745aca8e4fc0247bd9a44f9317 | 20,383 | ps1 | PowerShell | Security/createAllForestDomainPermsReport.ps1 | IMULMUL/ADPoSh | 592f078b709410a88822b034e0c7acbb452f016b | [
"MIT"
] | 22 | 2019-11-11T07:41:08.000Z | 2022-03-28T14:40:42.000Z | Security/createAllForestDomainPermsReport.ps1 | IMULMUL/ADPoSh | 592f078b709410a88822b034e0c7acbb452f016b | [
"MIT"
] | 2 | 2018-07-23T14:52:36.000Z | 2018-11-13T02:31:31.000Z | Security/createAllForestDomainPermsReport.ps1 | chadmcox/ADPoSh | dd397ff85cf91bff8616a1791e319664ba8b4401 | [
"MIT"
] | 6 | 2018-07-03T12:17:24.000Z | 2019-08-30T02:56:52.000Z | #Requires -Module ActiveDirectory, GroupPolicy
#Requires -version 3.0
#Requires -RunAsAdministrator
<#PSScriptInfo
.VERSION 2021.5.19
.GUID 5e7bfd24-88b9-4e4d-99fd-c4ffbfcf5be6
.AUTHOR Chad.Cox@microsoft.com
https://blogs.technet.microsoft.com/chadcox/
https://github.com/chadmcox
.COMPANYNAME
.COPYRIGHT This ... | 67.717608 | 301 | 0.675955 |
e3443032f928b0f7b95054505bdaec201ba8798c | 9,273 | dart | Dart | lib/icons_list.dart | nramirez/flutter_cupertino_icons | 4cbb013fe0fdaccaa3c5f52a0632956808b48553 | [
"MIT"
] | null | null | null | lib/icons_list.dart | nramirez/flutter_cupertino_icons | 4cbb013fe0fdaccaa3c5f52a0632956808b48553 | [
"MIT"
] | null | null | null | lib/icons_list.dart | nramirez/flutter_cupertino_icons | 4cbb013fe0fdaccaa3c5f52a0632956808b48553 | [
"MIT"
] | null | null | null | // I wish we could use reflection to get all the icons from CupertinoIcons, sadly
// dart:mirrors is not supported in flutter anymore see https://github.com/flutter/flutter/issues/1150
// and this is not feasible with the current version of reflectable https://github.com/google/reflectable.dart
// in the meantime the e... | 56.889571 | 130 | 0.749703 |
7c4e4c4c6ee9297dc95f74e9f4344c3b2d786b27 | 761 | swift | Swift | Source/PIX/Effects/Merger/PIXMergerEffect.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | Source/PIX/Effects/Merger/PIXMergerEffect.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | Source/PIX/Effects/Merger/PIXMergerEffect.swift | jinjorge/pixels | 065fbab8aeca99c21170619da7eef28aec0cf369 | [
"MIT"
] | null | null | null | //
// PIXMergerEffect.swift
// Pixels
//
// Created by Hexagons on 2018-07-31.
// Copyright © 2018 Hexagons. All rights reserved.
//
import CoreGraphics
open class PIXMergerEffect: PIXEffect, PIXInMerger {
public var inPixA: (PIX & PIXOut)? { didSet { setNeedsConnect() } }
public var inPixB: (PIX & P... | 24.548387 | 78 | 0.622865 |
83b2b41aa7b9e44733ef54bd3bb9ffc7f38d3e99 | 1,980 | ps1 | PowerShell | Tests/Unit/Private/Measure-FunctionTrapCatchCodePath.Tests.ps1 | livianaf/PSCodeHealth | b31bec45858b38e6f3890f99e65c2db81c824db2 | [
"MIT"
] | 113 | 2017-03-21T04:58:06.000Z | 2022-01-26T09:12:19.000Z | Tests/Unit/Private/Measure-FunctionTrapCatchCodePath.Tests.ps1 | livianaf/PSCodeHealth | b31bec45858b38e6f3890f99e65c2db81c824db2 | [
"MIT"
] | 28 | 2017-03-12T12:46:04.000Z | 2020-11-26T04:59:56.000Z | Tests/Unit/Private/Measure-FunctionTrapCatchCodePath.Tests.ps1 | livianaf/PSCodeHealth | b31bec45858b38e6f3890f99e65c2db81c824db2 | [
"MIT"
] | 23 | 2017-10-05T20:18:38.000Z | 2021-05-18T08:06:55.000Z | $ModuleName = 'PSCodeHealth'
Import-Module "$PSScriptRoot\..\..\..\$ModuleName\$($ModuleName).psd1" -Force
Describe 'Measure-FunctionTrapCatchCodePath' {
InModuleScope $ModuleName {
$Mocks = ConvertFrom-Json (Get-Content -Path "$($PSScriptRoot)\..\..\TestData\MockObjects.json" -Raw )
Context 'The... | 50.769231 | 142 | 0.645455 |
fee0bcd661e1fa45e6a4fa36846824f1d90476b9 | 2,842 | html | HTML | pipermail/antlr-interest/2008-March/027467.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2008-March/027467.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2008-March/027467.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [antlr-interest] catching custom exceptions thrown from actions
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:antlr-interest%40antlr.org?Subject=Re:%20%5Bantlr-interest%5D%20catching%20custom%20exceptions... | 30.234043 | 199 | 0.642857 |
4bbcd1ef203ce8ef893e007f2cecdf12e99ef736 | 1,185 | swift | Swift | LeetCode-0003.playground/Pages/Method 1 Page.xcplaygroundpage/Contents.swift | mizu-bai/LeetCode-Notes | cf2a7bea48d70452a60a2f8ddd3ab469f9f2dcbb | [
"BSD-2-Clause"
] | 1 | 2021-06-27T12:01:53.000Z | 2021-06-27T12:01:53.000Z | LeetCode-0003.playground/Pages/Method 1 Page.xcplaygroundpage/Contents.swift | mizu-bai/LeetCode-Notes | cf2a7bea48d70452a60a2f8ddd3ab469f9f2dcbb | [
"BSD-2-Clause"
] | null | null | null | LeetCode-0003.playground/Pages/Method 1 Page.xcplaygroundpage/Contents.swift | mizu-bai/LeetCode-Notes | cf2a7bea48d70452a60a2f8ddd3ab469f9f2dcbb | [
"BSD-2-Clause"
] | null | null | null | //: [Previous](@previous)
/*:
# 滑动窗口(双指针)
1. 我们使用两个指针表示字符串中的某个子串(或窗口)的左右边界,其中左指针代表着「枚举子串的起始位置」,而右指针即为「枚举子串的结束位置」
2. 在每一步的操作中,将左指针向右移动一格,表示__开始枚举下一个字符作为起始位置__,然后不断地向右移动右指针,但需要保证这两个指针对应的子串中没有重复的字符。在移动结束后,这个子串就对应着__以左指针开始的,不包含重复字符的最长子串__。记录下这个子串的长度;
3. 在枚举结束后,找到的最长的子串的长度即为答案。
作者:LeetCode-Solution
链接:https://... | 28.902439 | 144 | 0.612658 |
d26fb3f6143af25c89ac7abf02dbda7cc4258129 | 1,101 | kt | Kotlin | core/src/main/java/com/bottle/core/arch/density/AutoDensityConfig.kt | Hbottle/AutoDensity | ce5781c6ca65b4b453309f10614be37d63ed8d26 | [
"Apache-2.0"
] | 3 | 2020-07-17T08:50:51.000Z | 2021-12-10T06:40:50.000Z | core/src/main/java/com/bottle/core/arch/density/AutoDensityConfig.kt | Hbottle/AutoDensity | ce5781c6ca65b4b453309f10614be37d63ed8d26 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/com/bottle/core/arch/density/AutoDensityConfig.kt | Hbottle/AutoDensity | ce5781c6ca65b4b453309f10614be37d63ed8d26 | [
"Apache-2.0"
] | null | null | null | package com.bottle.core.arch.density
import android.app.Application
/**
* @Date: 2020/4/20
* @Author: hugo
* @Description: 全局的配置
*/
class AutoDensityConfig(application: Application, designDraft: DesignDraft) {
var isEnableAutoDensity = true // 是否启用适配,如果否,则不适配,可以应急
var isEnableCustomAdapt = true // 是否允许Act... | 28.973684 | 77 | 0.708447 |
0448d2ffa3e1c07a24f025c314042ae9aeb5a9b2 | 2,991 | java | Java | PCS/Infrastructure/inf-poss-client/src/main/java/com/idealunited/dto/ChannelOrder.java | IdealUnited/JAVA-2017 | 75cbc068ea399ff0e9c7690419fdb0b5e215e337 | [
"Apache-2.0"
] | 2 | 2017-09-11T06:08:03.000Z | 2018-08-08T03:27:40.000Z | PCS/Infrastructure/inf-poss-client/src/main/java/com/idealunited/dto/ChannelOrder.java | IdealUnited/JAVA-2017 | 75cbc068ea399ff0e9c7690419fdb0b5e215e337 | [
"Apache-2.0"
] | 16 | 2020-04-27T03:21:18.000Z | 2022-02-01T00:57:31.000Z | PCS/Infrastructure/inf-poss-client/src/main/java/com/idealunited/dto/ChannelOrder.java | IdealUnited/JAVA-2017 | 75cbc068ea399ff0e9c7690419fdb0b5e215e337 | [
"Apache-2.0"
] | 1 | 2021-01-10T10:39:46.000Z | 2021-01-10T10:39:46.000Z | package com.idealunited.dto;
import java.util.Date;
public class ChannelOrder {
/**
* 渠道订单号
*/
private String channelOrderNo;
/**
* 渠道编号
*/
private Integer channelId;
/**
* 通道编号
*/
private Integer channelItemId;
/**
* 创建时间
*/... | 18.127273 | 64 | 0.523236 |
2d7ea5557cc7a94d1a59679f6e75d1fc9198e69f | 8,047 | htm | HTML | plugins/indikator/filemanager/controllers/index/index.htm | kentucky-roberts/lkncleaning.com | 5ee96da2195c9805fb0b93013f2523c03c07a9dc | [
"MIT"
] | null | null | null | plugins/indikator/filemanager/controllers/index/index.htm | kentucky-roberts/lkncleaning.com | 5ee96da2195c9805fb0b93013f2523c03c07a9dc | [
"MIT"
] | null | null | null | plugins/indikator/filemanager/controllers/index/index.htm | kentucky-roberts/lkncleaning.com | 5ee96da2195c9805fb0b93013f2523c03c07a9dc | [
"MIT"
] | null | null | null | <div class="scoreboard">
<div class="container-flush">
<?= $this->makeHintPartial('indikator_filemanager_hint', 'hint') ?>
</div>
<?php
use Backend\Models\UserPreferences;
use System\Classes\PluginManager;
$preferences = UserPreferences::forUser()->get('backend::backend.preferences');
$stat = $this->f... | 68.194915 | 293 | 0.578476 |
909ab0b96b338d54ac14df4e14bdb86fe32e099f | 7,550 | py | Python | tools/mirax_slide_importer.py | lucalianas/ome_seadragon | 3f4c0e66b93459e6d6b915c555c8b0151769a5a2 | [
"MIT"
] | 4 | 2017-10-04T16:52:39.000Z | 2020-06-15T19:56:13.000Z | tools/mirax_slide_importer.py | lucalianas/ome_seadragon | 3f4c0e66b93459e6d6b915c555c8b0151769a5a2 | [
"MIT"
] | null | null | null | tools/mirax_slide_importer.py | lucalianas/ome_seadragon | 3f4c0e66b93459e6d6b915c555c8b0151769a5a2 | [
"MIT"
] | null | null | null | # Copyright (c) 2021, CRS4
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribu... | 43.142857 | 132 | 0.629669 |
324b7f6db22cb71dca6773f7aa9f6f955e3bb540 | 1,006 | swift | Swift | 015-WorkingWithList/WorkingWithList/WorkingWithList/Views/02_DynamicList/WeatherRow.swift | fx-studio/swiftui-notes | 3afc7850ed516ac22759b89abcbdd681cb816f42 | [
"Apache-2.0"
] | 9 | 2021-02-18T04:10:35.000Z | 2022-03-21T02:07:58.000Z | 015-WorkingWithList/WorkingWithList/WorkingWithList/Views/02_DynamicList/WeatherRow.swift | wafulasam/swiftui-notes | 3afc7850ed516ac22759b89abcbdd681cb816f42 | [
"Apache-2.0"
] | null | null | null | 015-WorkingWithList/WorkingWithList/WorkingWithList/Views/02_DynamicList/WeatherRow.swift | wafulasam/swiftui-notes | 3afc7850ed516ac22759b89abcbdd681cb816f42 | [
"Apache-2.0"
] | 5 | 2021-04-07T03:41:15.000Z | 2022-01-14T12:48:34.000Z | //
// WeatherRow.swift
// WorkingWithList
//
// Created by Tien Le P. VN.Danang on 8/6/21.
//
import SwiftUI
struct WeatherRow: View {
var weather: Weather
var body: some View {
HStack {
Image(weather.getStatusInfo())
.resizable()
.padding()
... | 24.536585 | 104 | 0.501988 |
3261013b0eabde0e30b59b33053f7b7701e45f5a | 1,586 | dart | Dart | lib/mollie.dart | lantis-web/fluttermollie | da0a01a48cfd3a030ce32a47a046d5059a038c1d | [
"BSD-2-Clause"
] | null | null | null | lib/mollie.dart | lantis-web/fluttermollie | da0a01a48cfd3a030ce32a47a046d5059a038c1d | [
"BSD-2-Clause"
] | null | null | null | lib/mollie.dart | lantis-web/fluttermollie | da0a01a48cfd3a030ce32a47a046d5059a038c1d | [
"BSD-2-Clause"
] | null | null | null | library molli;
export 'package:mollie/src/mollieaddress.dart';
export 'package:mollie/src/mollieorder.dart';
export 'package:mollie/src/mollieproduct.dart';
export 'package:mollie/src/mollieamount.dart';
export 'package:mollie/src/molliecheckout.dart';
export 'package:mollie/src/mollieorderstatus.dart';
export 'packag... | 33.744681 | 78 | 0.773014 |
f9fa3bb181d25e3b8e207de4fe71ddab89a1a55e | 2,536 | go | Go | cmd/img/main.go | lusingander/rgb-to-256-colors | ed3c0ac8b29cdb3eca3ac5b1dd1c779686e01987 | [
"MIT"
] | null | null | null | cmd/img/main.go | lusingander/rgb-to-256-colors | ed3c0ac8b29cdb3eca3ac5b1dd1c779686e01987 | [
"MIT"
] | null | null | null | cmd/img/main.go | lusingander/rgb-to-256-colors | ed3c0ac8b29cdb3eca3ac5b1dd1c779686e01987 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"image"
"image/color"
"image/png"
"log"
"math/rand"
"os"
"time"
"golang.org/x/image/font"
"golang.org/x/image/font/basicfont"
"golang.org/x/image/math/fixed"
"github.com/lusingander/rgbto256colors-go"
)
const output = "./output.png"
const (
cellW = 80
cellWBuf = 30
cel... | 19.968504 | 79 | 0.611199 |
fbb2228517dec93541ef68f75491ffbdcc29897c | 1,166 | java | Java | restaraunt/restaraunt-common/src/main/java/com/wisencrazy/common/ApplicationConstants.java | ShekharWNC/wisencrazy-services | 059877c41e3770a30fe6fcc4480eb382614ee677 | [
"MIT"
] | null | null | null | restaraunt/restaraunt-common/src/main/java/com/wisencrazy/common/ApplicationConstants.java | ShekharWNC/wisencrazy-services | 059877c41e3770a30fe6fcc4480eb382614ee677 | [
"MIT"
] | null | null | null | restaraunt/restaraunt-common/src/main/java/com/wisencrazy/common/ApplicationConstants.java | ShekharWNC/wisencrazy-services | 059877c41e3770a30fe6fcc4480eb382614ee677 | [
"MIT"
] | null | null | null | package com.wisencrazy.common;
public class ApplicationConstants {
public static final String GENERAL_EXCEPTION = "GENERAL_EXCEPTION";
public static final String CONSTRAINT_VIOLATION = "CONSTRAINT_EXCEPTION";
public static final String DUPLICATE_ENTRY = "DUPLICATE_ENTRY";
public static final String NO_RESULT = "NO... | 50.695652 | 74 | 0.805317 |
486f366c208000df0e2c605029fbfc096480fcbf | 3,344 | lua | Lua | ESX/utils/Instructional_Buttons.lua | 0resmon/0R-admin | 25c6e0a1c0b9befdee372c50c7cb33cb28363ed1 | [
"MIT"
] | 8 | 2021-09-27T19:24:56.000Z | 2022-03-19T00:10:46.000Z | ESX/utils/Instructional_Buttons.lua | 0resmon/0R-admin | 25c6e0a1c0b9befdee372c50c7cb33cb28363ed1 | [
"MIT"
] | 1 | 2021-10-03T18:41:12.000Z | 2021-10-03T18:41:12.000Z | QBCore/utils/Instructional_Buttons.lua | 0resmon/0R-admin | 25c6e0a1c0b9befdee372c50c7cb33cb28363ed1 | [
"MIT"
] | 9 | 2021-09-27T19:38:32.000Z | 2022-03-13T19:38:54.000Z | function ButtonMessage(text)
BeginTextCommandScaleformString("STRING")
AddTextComponentScaleform(text)
EndTextCommandScaleformString()
end
function Button(ControlButton)
N_0xe83a3e3557a56640(ControlButton)
end
function setupScaleform(scaleform)
local scaleform = RequestScaleformMovie(scaleform)
... | 36.347826 | 79 | 0.786782 |
a4d9df1cc92df8c6d18cab755ecc57d67bc4516b | 306 | asm | Assembly | programs/oeis/044/A044242.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/044/A044242.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/044/A044242.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A044242: Numbers n such that string 6,7 occurs in the base 8 representation of n but not of n-1.
; 55,119,183,247,311,375,439,503,567,631,695,759,823,887,951,1015,1079,1143,1207,1271,1335,1399,1463,1527,1591,1655,1719,1783,1847,1911,1975,2039,2103,2167,2231,2295,2359,2423,2487,2551
mul $0,64
add $0,55
| 51 | 185 | 0.751634 |
50b627501a665d7eb7928e7afeb42e7eff7a1187 | 11,890 | dart | Dart | lib/src/sub_views/likes_page.dart | Betoso99/Goutu | 3f53a81af7f58a12037ed6432d8f300218d71aa2 | [
"MIT"
] | null | null | null | lib/src/sub_views/likes_page.dart | Betoso99/Goutu | 3f53a81af7f58a12037ed6432d8f300218d71aa2 | [
"MIT"
] | null | null | null | lib/src/sub_views/likes_page.dart | Betoso99/Goutu | 3f53a81af7f58a12037ed6432d8f300218d71aa2 | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_polyline_points/flutter_polyline_points.dart';
import 'package:geolocator/geolocator.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:goutu/models/places.dart';
import 'package:goutu/models/user.... | 39.501661 | 156 | 0.430362 |
50c23591361e09194715043d65388395c40863cb | 2,431 | lua | Lua | Scripts/clouds.lua | scotty007/trAInsported | e0ed49e73ffd447ba1024c8f08bcc0fb24bf3cdb | [
"WTFPL"
] | 101 | 2015-01-06T17:26:45.000Z | 2022-02-10T15:17:34.000Z | Scripts/clouds.lua | trcjr/trAInsported | 283cc51d40feb04c7767d875666f8b6e8e519e25 | [
"WTFPL"
] | 32 | 2015-01-03T10:54:49.000Z | 2021-08-31T12:48:37.000Z | Scripts/clouds.lua | trcjr/trAInsported | 283cc51d40feb04c7767d875666f8b6e8e519e25 | [
"WTFPL"
] | 35 | 2015-02-21T10:19:56.000Z | 2022-02-09T21:36:23.000Z | local clouds = {}
local IMAGE_CLOUD01 = love.graphics.newImage("Images/Cloud01.png")
local IMAGE_CLOUD01_SHADOW = love.graphics.newImage("Images/Cloud01_Shadow.png")
local MAX_NUM_CLOUDS = 10
local cloudList = {}
local nextCloudIn = 0
local numClouds = 0
function clouds.restart()
cloudList = {}
numClouds = 0
loc... | 29.646341 | 255 | 0.703826 |
1665798397c9fb459eceb36d4b9413a774d762e4 | 70 | ts | TypeScript | src/services/utils/factories/index.ts | AlexandreMPDias/test-npm-cli-pkg | a2bcea04e8968319de07a5b229197027d15aef38 | [
"MIT"
] | null | null | null | src/services/utils/factories/index.ts | AlexandreMPDias/test-npm-cli-pkg | a2bcea04e8968319de07a5b229197027d15aef38 | [
"MIT"
] | null | null | null | src/services/utils/factories/index.ts | AlexandreMPDias/test-npm-cli-pkg | a2bcea04e8968319de07a5b229197027d15aef38 | [
"MIT"
] | null | null | null | import selection from './selection';
export default {
selection,
};
| 11.666667 | 36 | 0.714286 |
fd2ff4ac54c51f17038ce4fcbcb43f8588285918 | 1,074 | lua | Lua | EmmyLua/API/System/SplashScreenDocumentation.lua | Wutname1/vscode-wow-api | 2371af5405d7d7f97b93c17638d191fb3988d56e | [
"MIT"
] | 42 | 2020-05-26T01:26:09.000Z | 2022-03-30T18:42:47.000Z | EmmyLua/API/System/SplashScreenDocumentation.lua | Wutname1/vscode-wow-api | 2371af5405d7d7f97b93c17638d191fb3988d56e | [
"MIT"
] | 20 | 2021-03-03T21:50:14.000Z | 2022-03-30T21:59:23.000Z | EmmyLua/API/System/SplashScreenDocumentation.lua | Wutname1/vscode-wow-api | 2371af5405d7d7f97b93c17638d191fb3988d56e | [
"MIT"
] | 12 | 2021-03-06T20:06:03.000Z | 2022-03-31T03:19:51.000Z | C_SplashScreen = {}
---[Documentation](https://wowpedia.fandom.com/wiki/API_C_SplashScreen.AcknowledgeSplash)
function C_SplashScreen.AcknowledgeSplash() end
---[Documentation](https://wowpedia.fandom.com/wiki/API_C_SplashScreen.CanViewSplashScreen)
---@return boolean canView
function C_SplashScreen.CanViewSplashScre... | 35.8 | 97 | 0.810987 |
d11203f11a5d1eac9c642ec79541008eaa19d316 | 365 | sql | SQL | sql/V9.8.1__fixed_permissions.sql | sr-2020/sr-2020-db | 1a7dcb5153fcf7fca471655c3a853e2faefe4ad8 | [
"Apache-2.0"
] | null | null | null | sql/V9.8.1__fixed_permissions.sql | sr-2020/sr-2020-db | 1a7dcb5153fcf7fca471655c3a853e2faefe4ad8 | [
"Apache-2.0"
] | 3 | 2020-11-15T10:53:20.000Z | 2021-06-19T02:38:54.000Z | sql/V9.8.1__fixed_permissions.sql | sr-2020/sr-2020-db | 1a7dcb5153fcf7fca471655c3a853e2faefe4ad8 | [
"Apache-2.0"
] | null | null | null | alter table metatype_feature owner to backend;
alter table general_feature owner to backend;
alter table build_gf owner to backend;
alter table build_mf owner to backend;
alter table feature owner to backend;
alter table implant owner to backend;
alter table pill owner to backend;
alter table drone owner to bac... | 36.5 | 47 | 0.80274 |
5ffe74558c6527e82b24a0984ebc99f958a202be | 70 | css | CSS | frontend/src/main/web/src/app/components/task/task.component.css | vdvorak83/taskManager | cde490082fcc0bdebb0ff991bd78fff891f68372 | [
"Apache-2.0"
] | 1 | 2020-10-10T18:07:17.000Z | 2020-10-10T18:07:17.000Z | frontend/src/main/web/src/app/modules/tasks/components/task/task.component.css | VardanMatevosyan/taskManager | bd920ecfbb065f78f5fcdb63c1c24f022913dcf1 | [
"Apache-2.0"
] | 11 | 2020-04-30T07:40:53.000Z | 2022-03-02T04:39:15.000Z | frontend/src/main/web/src/app/components/task/task.component.css | vdvorak/taskManager | cde490082fcc0bdebb0ff991bd78fff891f68372 | [
"Apache-2.0"
] | 1 | 2020-07-30T13:40:20.000Z | 2020-07-30T13:40:20.000Z | .line_through_when_completed {
text-decoration-line: line-through;
}
| 17.5 | 36 | 0.8 |
b53addb87ed8ad358427ab924695787f93f955c7 | 460 | swift | Swift | SummerMediaFileInfo/Base/SummerExtractor.swift | superbderrick/SummerFileInfo | 10e21770ba8f3d35fc129c36b024723dae51e2e3 | [
"MIT"
] | 2 | 2017-10-05T08:51:29.000Z | 2017-10-06T09:16:24.000Z | SummerMediaFileInfo/Base/SummerExtractor.swift | superbderrick/SummerFileInfo | 10e21770ba8f3d35fc129c36b024723dae51e2e3 | [
"MIT"
] | null | null | null | SummerMediaFileInfo/Base/SummerExtractor.swift | superbderrick/SummerFileInfo | 10e21770ba8f3d35fc129c36b024723dae51e2e3 | [
"MIT"
] | 1 | 2017-10-06T08:31:56.000Z | 2017-10-06T08:31:56.000Z | //
// SummerExtractor.swift
// SummerMediaFileInfo
//
// Created by Kang Jinyeoung on 05/10/2017.
// Copyright © 2017 SuperbDerrick. All rights reserved.
//
import Foundation
class SummerExtractor : Extractable {
var processor:SummerProcessor!
init() {
}
func setup(fileType: FileTypes , isBrin... | 13.142857 | 62 | 0.621739 |
11921a2aaf846e64eea1158ffd5fb52e67b0b0e7 | 3,042 | dart | Dart | lib/monero/get_height_by_date.dart | narecoin/nare_smart_wallet | b3f6ea800b6152c9808ff5d67cc0f89325aa88be | [
"MIT"
] | 188 | 2020-01-05T15:09:05.000Z | 2022-03-30T15:12:14.000Z | lib/monero/get_height_by_date.dart | narecoin/nare_smart_wallet | b3f6ea800b6152c9808ff5d67cc0f89325aa88be | [
"MIT"
] | 115 | 2020-01-10T08:56:24.000Z | 2022-03-25T02:02:02.000Z | lib/monero/get_height_by_date.dart | narecoin/nare_smart_wallet | b3f6ea800b6152c9808ff5d67cc0f89325aa88be | [
"MIT"
] | 62 | 2020-01-07T19:20:13.000Z | 2022-03-28T07:10:27.000Z | import 'package:intl/intl.dart';
// FIXME: Hardcoded values; Works only for monero
final dateFormat = DateFormat('yyyy-MM');
final dates = {
"2014-5": 18844,
"2014-6": 65406,
"2014-7": 108882,
"2014-8": 153594,
"2014-9": 198072,
"2014-10": 241088,
"2014-11": 285305,
"2014-12": 328069,
"2015-1": 3723... | 25.140496 | 74 | 0.60355 |
d2651e2aa5af200c2cc400aab045a1134f1919e4 | 2,383 | php | PHP | tests/ImmutableCollectionTest.php | phpsuit/collections | 1d083de27af151435575cbdc289b111091231261 | [
"MIT"
] | null | null | null | tests/ImmutableCollectionTest.php | phpsuit/collections | 1d083de27af151435575cbdc289b111091231261 | [
"MIT"
] | null | null | null | tests/ImmutableCollectionTest.php | phpsuit/collections | 1d083de27af151435575cbdc289b111091231261 | [
"MIT"
] | null | null | null | <?php
/**
* PHPSuit
*
* @author Oleg Bronzov <oleg.bronzov@gmail.com>
* @copyright 2017 PHPSuit
* @license https://opensource.org/licenses/MIT
*/
declare(strict_types=1);
namespace PS\Collections;
use PHPUnit\Framework\TestCase;
/**
* Test for ImmutableCollection.
*
* @author Oleg Bronzov <oleg.bro... | 25.084211 | 62 | 0.587495 |
6e416857ca2b5ae7f0be1601977fdd579c74f810 | 14,762 | html | HTML | documentation/genindex.html | AdamPesci/diveR | ae7fe415bbdbb008fadd2b96a0a3a5092b04fdc7 | [
"MIT"
] | null | null | null | documentation/genindex.html | AdamPesci/diveR | ae7fe415bbdbb008fadd2b96a0a3a5092b04fdc7 | [
"MIT"
] | null | null | null | documentation/genindex.html | AdamPesci/diveR | ae7fe415bbdbb008fadd2b96a0a3a5092b04fdc7 | [
"MIT"
] | null | null | null |
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index — DiveR documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="sty... | 29.059055 | 144 | 0.609538 |
048f7290f2ef214948687f44627c07a42c95cf6e | 295 | java | Java | HSN-gui/src/main/java/com/crawl/jpa/dao/impl/ConfigCategoriaDaoImpl.java | anvilmon/GIT_Repositorio | 09269c24d1c4333d2420848d62d7020e491ebcf5 | [
"Apache-2.0"
] | null | null | null | HSN-gui/src/main/java/com/crawl/jpa/dao/impl/ConfigCategoriaDaoImpl.java | anvilmon/GIT_Repositorio | 09269c24d1c4333d2420848d62d7020e491ebcf5 | [
"Apache-2.0"
] | null | null | null | HSN-gui/src/main/java/com/crawl/jpa/dao/impl/ConfigCategoriaDaoImpl.java | anvilmon/GIT_Repositorio | 09269c24d1c4333d2420848d62d7020e491ebcf5 | [
"Apache-2.0"
] | null | null | null | package com.crawl.jpa.dao.impl;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.crawl.jpa.dao.ConfigCategoriaDaoCustom;
public class ConfigCategoriaDaoImpl implements ConfigCategoriaDaoCustom{
@PersistenceContext
private EntityManager em;
}
| 22.692308 | 72 | 0.850847 |
7fd82224781f748a5b8ca29488928f9c1ba78719 | 473 | go | Go | doc.go | ajamshed/go-pfcp | 2435c5c3996a0243ef9e6600e9198fb12da82c54 | [
"MIT"
] | 1 | 2021-01-15T06:48:02.000Z | 2021-01-15T06:48:02.000Z | doc.go | ajamshed/go-pfcp | 2435c5c3996a0243ef9e6600e9198fb12da82c54 | [
"MIT"
] | null | null | null | doc.go | ajamshed/go-pfcp | 2435c5c3996a0243ef9e6600e9198fb12da82c54 | [
"MIT"
] | null | null | null | // Copyright 2019-2020 go-pfcp authors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// Package pfcp provides simple and painless handling of PFCP(Packet Forwarding Control Protocol),
// implemented in the Go Programming Language.
//
// TH... | 39.416667 | 98 | 0.769556 |
dfb17869503820184f1dcb7ec6eb345b63512240 | 718 | ts | TypeScript | coordinator-service/src/authenticate.ts | mrsmkl/snark-setup-coordinator | e24a9fe1cf3bbaee1071a68fe0894ceaa445637d | [
"Apache-2.0"
] | null | null | null | coordinator-service/src/authenticate.ts | mrsmkl/snark-setup-coordinator | e24a9fe1cf3bbaee1071a68fe0894ceaa445637d | [
"Apache-2.0"
] | null | null | null | coordinator-service/src/authenticate.ts | mrsmkl/snark-setup-coordinator | e24a9fe1cf3bbaee1071a68fe0894ceaa445637d | [
"Apache-2.0"
] | null | null | null | import express = require('express')
export interface AuthenticateStrategy {
/**
* Verify a request. Return the Participant ID or throw an Error.
*/
verify(req: express.Request): string
verifyMessage(data: object, signature: string, address: string): boolean
}
export function authenticate(
s... | 24.758621 | 76 | 0.56546 |
20d6754964997e33f201c1643a0329058331474c | 5,456 | dart | Dart | lib/MyHomePage.dart | Haffshah/Wrap-Stack-Example | 63bbcbf8df605e6369bd0976a3f7ce13bbf359c4 | [
"Apache-2.0"
] | null | null | null | lib/MyHomePage.dart | Haffshah/Wrap-Stack-Example | 63bbcbf8df605e6369bd0976a3f7ce13bbf359c4 | [
"Apache-2.0"
] | null | null | null | lib/MyHomePage.dart | Haffshah/Wrap-Stack-Example | 63bbcbf8df605e6369bd0976a3f7ce13bbf359c4 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'StackScreen.dart';
class HomePage extends StatelessWidget {
const HomePage({Key? key}) : super(key: key);
BoxDecoration borderDeco() {
return BoxDecoration(
borderRadius: BorderRadius.circular(30.0),
colo... | 26.230769 | 66 | 0.380499 |
df5ce169a8dae41b38a6eaf8867a4d3b12c2a7a3 | 177 | jbuilder | Ruby | app/views/productos/_producto.json.jbuilder | Jorge575/inventario_computadoras | 7bff1d398fb08fb11e0dc06a3a50cedb1ae63964 | [
"MIT"
] | null | null | null | app/views/productos/_producto.json.jbuilder | Jorge575/inventario_computadoras | 7bff1d398fb08fb11e0dc06a3a50cedb1ae63964 | [
"MIT"
] | null | null | null | app/views/productos/_producto.json.jbuilder | Jorge575/inventario_computadoras | 7bff1d398fb08fb11e0dc06a3a50cedb1ae63964 | [
"MIT"
] | null | null | null | json.extract! producto, :id, :nombre, :precio, :detalle, :cantidad, :fecha, :empresa_id, :componente_id, :created_at, :updated_at
json.url producto_url(producto, format: :json)
| 59 | 129 | 0.751412 |
8644b7e8f6414aa762f8c865495cf8dabb59afc4 | 1,473 | lua | Lua | .config/nvim/lua/plugins/telescope.lua | hkupty/dotfiles | 467df355284dc6013b4d01607fc5478a4778d7bd | [
"MIT"
] | 23 | 2016-03-14T18:03:31.000Z | 2021-09-01T05:29:50.000Z | .config/nvim/lua/plugins/telescope.lua | hkupty/dotfiles | 467df355284dc6013b4d01607fc5478a4778d7bd | [
"MIT"
] | 1 | 2016-06-15T22:20:48.000Z | 2016-06-15T22:20:48.000Z | .config/nvim/lua/plugins/telescope.lua | hkupty/dotfiles | 467df355284dc6013b4d01607fc5478a4778d7bd | [
"MIT"
] | 3 | 2016-06-15T21:46:24.000Z | 2021-06-28T22:35:46.000Z | local actions = require("telescope.actions")
local action_state = require("telescope.actions.state")
local pickers = require("telescope.pickers")
local finders = require("telescope.finders")
local conf = require("telescope.config").values
local project_folders = function(opts)
opts = opts or {}
local find_command ... | 28.326923 | 76 | 0.672098 |
7a32f450c48d834a0434047f33e4afedca465e10 | 53 | sql | SQL | pkg/parser/testdata/input/query/select_union_chain.sql | git-hulk/memefish | db9e008141b6a8280eaa1762c87f9181556e5b98 | [
"MIT"
] | 33 | 2019-09-14T07:11:35.000Z | 2021-08-05T03:53:25.000Z | pkg/parser/testdata/input/query/select_union_chain.sql | git-hulk/memefish | db9e008141b6a8280eaa1762c87f9181556e5b98 | [
"MIT"
] | 26 | 2019-09-14T14:53:53.000Z | 2021-09-03T01:03:17.000Z | pkg/parser/testdata/input/query/select_union_chain.sql | git-hulk/memefish | db9e008141b6a8280eaa1762c87f9181556e5b98 | [
"MIT"
] | 11 | 2019-09-27T12:44:00.000Z | 2021-06-21T12:32:09.000Z | (select 1) union all (select 2) union all (select 3)
| 26.5 | 52 | 0.698113 |
81400fa213c149656ceb3cd134d425ea8cbbb4bf | 664 | go | Go | vendor/github.com/itchio/wharf/wrand/wrand.go | sjml/butler | da6f84f801fd9cbd525f23a641e2370a27780a59 | [
"MIT"
] | null | null | null | vendor/github.com/itchio/wharf/wrand/wrand.go | sjml/butler | da6f84f801fd9cbd525f23a641e2370a27780a59 | [
"MIT"
] | null | null | null | vendor/github.com/itchio/wharf/wrand/wrand.go | sjml/butler | da6f84f801fd9cbd525f23a641e2370a27780a59 | [
"MIT"
] | 1 | 2018-08-06T21:55:18.000Z | 2018-08-06T21:55:18.000Z | package wrand
import "math/rand"
// RandReader reads from rand.Source optimizedly
type RandReader struct {
rand.Source
}
func (rr RandReader) Read(sink []byte) (int, error) {
var tail, head int
buf := make([]byte, 8)
var r uint64
for {
head = min(tail+8, len(sink))
if tail == head {
return head, nil
}
... | 16.6 | 53 | 0.554217 |
af2b1dfc42b75c22d49744f47f93a81ee320c5a8 | 918 | rb | Ruby | lib/biz/week.rb | apexdp/biz | f12e02a441a4ace3b164947113fec692d13ff9d3 | [
"Apache-2.0"
] | 487 | 2015-02-17T19:50:28.000Z | 2022-03-14T07:45:55.000Z | lib/biz/week.rb | apexdp/biz | f12e02a441a4ace3b164947113fec692d13ff9d3 | [
"Apache-2.0"
] | 106 | 2015-02-17T22:31:09.000Z | 2021-09-14T08:06:35.000Z | lib/biz/week.rb | apexdp/biz | f12e02a441a4ace3b164947113fec692d13ff9d3 | [
"Apache-2.0"
] | 31 | 2015-02-18T02:23:29.000Z | 2022-03-25T08:58:04.000Z | # frozen_string_literal: true
module Biz
class Week
include Comparable
def self.from_date(date)
new((date - Date.epoch).to_i / Time.week_days)
end
def self.from_time(time)
from_date(time.to_date)
end
class << self
alias since_epoch from_time
end
def initialize... | 15.3 | 62 | 0.618736 |
c214c4cd98b1498310c0bc79a2520cb5163c95ab | 575 | go | Go | http/middleware/bench_test.go | hamba/pkg | 96070580e14fa5c6017468ecb19281b66a39afc3 | [
"MIT"
] | 4 | 2019-02-09T10:15:12.000Z | 2022-02-10T06:06:02.000Z | http/middleware/bench_test.go | hamba/pkg | 96070580e14fa5c6017468ecb19281b66a39afc3 | [
"MIT"
] | 5 | 2019-08-24T07:00:36.000Z | 2022-03-17T00:10:03.000Z | http/middleware/bench_test.go | hamba/pkg | 96070580e14fa5c6017468ecb19281b66a39afc3 | [
"MIT"
] | 1 | 2020-11-21T15:05:01.000Z | 2020-11-21T15:05:01.000Z | package middleware_test
import (
"net/http"
"net/http/httptest"
"testing"
"time"
"github.com/hamba/pkg/v2/http/middleware"
"github.com/hamba/statter/v2"
)
func BenchmarkWithStats(b *testing.B) {
s := statter.New(statter.DiscardReporter, time.Second)
h := middleware.WithStats("test", s, http.HandlerFunc(
fu... | 19.166667 | 55 | 0.678261 |
096b554ff4501fd996918c0be3d4d901ff011bb7 | 3,658 | ps1 | PowerShell | Create-Certificate.ps1 | ravensorb/LetsEncryptUtils | 2cbfa44410dd5cbc5d7e4a39b6ef9332e57eab87 | [
"MIT"
] | 1 | 2019-09-16T14:11:00.000Z | 2019-09-16T14:11:00.000Z | Create-Certificate.ps1 | ravensorb/LetsEncryptUtils | 2cbfa44410dd5cbc5d7e4a39b6ef9332e57eab87 | [
"MIT"
] | null | null | null | Create-Certificate.ps1 | ravensorb/LetsEncryptUtils | 2cbfa44410dd5cbc5d7e4a39b6ef9332e57eab87 | [
"MIT"
] | null | null | null | [
CmdletBinding(SupportsShouldProcess=$true)
]
param(
[Parameter(Mandatory=$true)][string[]]$domainNames,
[string]$contactEmail = $null,
[string]$friendlyName = $null,
[Parameter(Mandatory=$true)][string]$PluginName,
[System.Management.Automation.PSObject]$PluginArgs,
[string]$pfxPassword = $null,
[SecureString... | 36.58 | 202 | 0.73018 |
131f8dd06ebe638b0cf46f3f9a78520936234eab | 4,858 | sql | SQL | ORACLE_SQL/SHARED_TABLES/21_SCM/21T023_scm_sales_invc_det.sql | rhomicom-systems-tech-gh/Rhomicom-DB-Scripts | ac36d96a5883097a1f0c86909cb516e456f154f9 | [
"MIT"
] | 1 | 2022-01-12T06:39:23.000Z | 2022-01-12T06:39:23.000Z | ORACLE_SQL/SHARED_TABLES/21_SCM/21T023_scm_sales_invc_det.sql | rhomicom-systems-tech-gh/Rhomicom-DB-Scripts | ac36d96a5883097a1f0c86909cb516e456f154f9 | [
"MIT"
] | null | null | null | ORACLE_SQL/SHARED_TABLES/21_SCM/21T023_scm_sales_invc_det.sql | rhomicom-systems-tech-gh/Rhomicom-DB-Scripts | ac36d96a5883097a1f0c86909cb516e456f154f9 | [
"MIT"
] | 1 | 2020-12-19T15:27:29.000Z | 2020-12-19T15:27:29.000Z | /* Formatted on 10/6/2014 9:00:00 PM (QP5 v5.126.903.23003) */
-- TABLE: SCM.SCM_SALES_INVC_DET
-- DROP TABLE SCM.SCM_SALES_INVC_DET;
CREATE TABLE SCM.SCM_SALES_INVC_DET (
INVC_DET_LN_ID NUMBER NOT NULL,
INVC_HDR_ID NUMBER,
ITM_ID NUMBER,
STORE_ID ... | 23.468599 | 75 | 0.722725 |
ae354227f7e894c2ee11cce630036c9b2ab6a34a | 2,372 | kt | Kotlin | app/src/main/java/com/razeware/emitron/notifications/NotificationChannels.kt | hashimshafiq/emitron-Android | 4269e17c4f523a1c554f1d81fd6f41ee624b3360 | [
"Apache-2.0"
] | 54 | 2020-06-24T20:19:55.000Z | 2022-03-07T18:51:56.000Z | app/src/main/java/com/razeware/emitron/notifications/NotificationChannels.kt | hashimshafiq/emitron-Android | 4269e17c4f523a1c554f1d81fd6f41ee624b3360 | [
"Apache-2.0"
] | 44 | 2020-08-02T21:06:17.000Z | 2021-09-03T19:52:53.000Z | app/src/main/java/com/razeware/emitron/notifications/NotificationChannels.kt | hashimshafiq/emitron-Android | 4269e17c4f523a1c554f1d81fd6f41ee624b3360 | [
"Apache-2.0"
] | 30 | 2020-07-20T17:30:19.000Z | 2022-01-29T16:55:59.000Z | package com.razeware.emitron.notifications
import android.annotation.TargetApi
import android.app.Application
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.ContextWrapper
import android.os.Build
import... | 27.264368 | 93 | 0.728078 |
3be8b0f5e21d42e121dcfb6c31d013d26320df45 | 274 | swift | Swift | test/Interpreter/SDK/Foundation_NSLog.swift | YogeshBharate/Swift | a14a836caa42b1652f8f30b725370eff2ad6d799 | [
"Apache-2.0"
] | 825 | 2015-12-09T05:44:26.000Z | 2021-11-13T15:01:11.000Z | test/Interpreter/SDK/Foundation_NSLog.swift | YogeshBharate/Swift | a14a836caa42b1652f8f30b725370eff2ad6d799 | [
"Apache-2.0"
] | 19 | 2015-12-10T00:57:59.000Z | 2021-05-25T15:57:05.000Z | test/Interpreter/SDK/Foundation_NSLog.swift | YogeshBharate/Swift | a14a836caa42b1652f8f30b725370eff2ad6d799 | [
"Apache-2.0"
] | 45 | 2015-12-10T14:21:43.000Z | 2017-05-26T02:43:30.000Z | // RUN: %target-run-simple-swift 2>&1 | FileCheck %s
// REQUIRES: executable_test
// REQUIRES: objc_interop
import Foundation
// CHECK: 1 is the loneliest number that you'll ever do
NSLog(
"%@ is the loneliest number that you'll ever %@",
NSNumber(value: 1), "do"
)
| 21.076923 | 55 | 0.689781 |
3d7a04c748ffb9a89cec1ccd709e3d20e822916d | 2,952 | rs | Rust | src/features.rs | regexident/trybuild | a6b3b2cba3f7b3fc426721b4aabfd8093254cc78 | [
"Apache-2.0",
"MIT"
] | 433 | 2019-05-06T16:58:27.000Z | 2022-03-31T15:06:16.000Z | src/features.rs | regexident/trybuild | a6b3b2cba3f7b3fc426721b4aabfd8093254cc78 | [
"Apache-2.0",
"MIT"
] | 108 | 2019-05-07T11:13:51.000Z | 2022-03-25T06:51:07.000Z | src/features.rs | regexident/trybuild | a6b3b2cba3f7b3fc426721b4aabfd8093254cc78 | [
"Apache-2.0",
"MIT"
] | 63 | 2019-06-15T12:07:14.000Z | 2022-03-30T08:21:43.000Z | use serde::de::DeserializeOwned;
use serde::{de, Deserialize, Deserializer};
use std::env;
use std::error::Error;
use std::ffi::OsStr;
use std::fs;
use std::path::PathBuf;
pub fn find() -> Option<Vec<String>> {
try_find().ok()
}
struct Ignored;
impl<E: Error> From<E> for Ignored {
fn from(_error: E) -> Self ... | 28.114286 | 80 | 0.610434 |
414debccbeb68a80ce3479ffc2429b233ada6f2c | 2,805 | c | C | framework/private/integration-test/test_launcher/src/launcher.c | rwalraven343/celix | 353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74 | [
"Apache-2.0"
] | 1 | 2019-03-17T06:06:19.000Z | 2019-03-17T06:06:19.000Z | framework/private/integration-test/test_launcher/src/launcher.c | rwalraven343/celix | 353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74 | [
"Apache-2.0"
] | 13 | 2019-02-21T21:27:44.000Z | 2019-02-28T22:47:13.000Z | framework/private/integration-test/test_launcher/src/launcher.c | rwalraven343/celix | 353ac0d2e0f819f8f59d4cdf8ea1dfd701201d74 | [
"Apache-2.0"
] | null | null | null | /**
*Licensed to the Apache Software Foundation (ASF) under one
*or more contributor license agreements. See the NOTICE file
*distributed with this work for additional information
*regarding copyright ownership. The ASF licenses this file
*to you under the Apache License, Version 2.0 (the
*"License"); you may n... | 29.526316 | 124 | 0.678431 |
f02486bcf13432de9a097041e6bbb09657874641 | 604 | js | JavaScript | public/assets/js/customjs.js | Otavioensa/pagarme-checkout | fe6142a0fb568f7cd76813ddeb4ef12cf790c2c9 | [
"MIT"
] | null | null | null | public/assets/js/customjs.js | Otavioensa/pagarme-checkout | fe6142a0fb568f7cd76813ddeb4ef12cf790c2c9 | [
"MIT"
] | null | null | null | public/assets/js/customjs.js | Otavioensa/pagarme-checkout | fe6142a0fb568f7cd76813ddeb4ef12cf790c2c9 | [
"MIT"
] | null | null | null | /* eslint-disable */
$(function() {
var pop = $('.popbtn');
var row = $('.row:not(:first):not(:last)');
pop.popover({
trigger: 'manual',
html: true,
container: 'body',
placement: 'bottom',
animation: false,
content: function() {
return $('#popover').html();
}
});
pop.on('click', function(e) {
... | 17.257143 | 48 | 0.571192 |
906cb24430368bbd0d42d9772bc9288f1d819d12 | 3,400 | py | Python | simeng/ioutil.py | wstlabs/similarity-engine | fde4dd31b0f1738573513159f950823cb2d4a7ce | [
"Apache-2.0"
] | null | null | null | simeng/ioutil.py | wstlabs/similarity-engine | fde4dd31b0f1738573513159f950823cb2d4a7ce | [
"Apache-2.0"
] | null | null | null | simeng/ioutil.py | wstlabs/similarity-engine | fde4dd31b0f1738573513159f950823cb2d4a7ce | [
"Apache-2.0"
] | null | null | null | import csv
from copy import deepcopy
import simplejson as json
"""
A few simple idioms for slurping + saving to/from CSV/JSON, to cut down on boilerplate
in our test + demo suites (and avoid dependencies on much heavier external packages
that provide similar conveniences).
"""
class TinyFrame(object):
"""
An ... | 34.693878 | 96 | 0.658529 |
9f70ab94f63f81ea1b2d09cccd7b56743a2a1c85 | 2,741 | sql | SQL | sql/stored_procedures.sql | glichfalls/covid-19-charts | 52e9b78632388d3459bdc04f91513c00eaee000c | [
"MIT"
] | null | null | null | sql/stored_procedures.sql | glichfalls/covid-19-charts | 52e9b78632388d3459bdc04f91513c00eaee000c | [
"MIT"
] | null | null | null | sql/stored_procedures.sql | glichfalls/covid-19-charts | 52e9b78632388d3459bdc04f91513c00eaee000c | [
"MIT"
] | null | null | null |
use Covid19;
if(OBJECT_ID(N'create_continent') IS NOT NULL)
begin
drop procedure create_continent;
end
go
create procedure create_continent
@name varchar(50),
@new_identity int = null output
as begin
set nocount on;
insert into Continent (con_name) values (@name);
set @new_identit... | 20.154412 | 128 | 0.634075 |
a0f4860071e7a2fe301e8b7d2e0f8b0777150847 | 3,169 | swift | Swift | Sources/HeaderMapCore/HeaderMapError.swift | milend/hmap | ccc2484de27cfca1f80ae6d865f65bd14faa5bb0 | [
"MIT"
] | 233 | 2017-08-21T09:53:35.000Z | 2022-03-31T11:47:55.000Z | Sources/HeaderMapCore/HeaderMapError.swift | milend/hmap | ccc2484de27cfca1f80ae6d865f65bd14faa5bb0 | [
"MIT"
] | 1 | 2018-07-23T22:08:17.000Z | 2018-07-24T20:31:35.000Z | Sources/HeaderMapCore/HeaderMapError.swift | milend/hmap | ccc2484de27cfca1f80ae6d865f65bd14faa5bb0 | [
"MIT"
] | 29 | 2017-11-12T19:39:05.000Z | 2022-03-22T07:39:46.000Z | // MIT License
//
// Copyright (c) 2017 Milen Dzhumerov
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | 34.075269 | 81 | 0.746608 |
b09c7f631469fca602093145b4265224a0135034 | 1,145 | swift | Swift | solutions/Problems/Easy/125_Valid_Palindrome.swift | atereshkov/leetcode-swift | 002ff15e6fb1a01d62c4fa54adbc2fbd0271bda2 | [
"MIT"
] | 2 | 2022-01-30T19:22:36.000Z | 2022-03-12T09:19:22.000Z | solutions/Problems/Easy/125_Valid_Palindrome.swift | atereshkov/leetcode-swift | 002ff15e6fb1a01d62c4fa54adbc2fbd0271bda2 | [
"MIT"
] | null | null | null | solutions/Problems/Easy/125_Valid_Palindrome.swift | atereshkov/leetcode-swift | 002ff15e6fb1a01d62c4fa54adbc2fbd0271bda2 | [
"MIT"
] | null | null | null | /*
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the same forward and backward. Alphanumeric characters include letters and numbers.
Given a string s, return true if it is a palindrome, or false otherwise.
Example 1... | 26.022727 | 230 | 0.704803 |
2631a35a1edadefc8f2e772b112883461220d442 | 1,775 | java | Java | rspl-service-persistence-redis/src/test/java/org/flowninja/persistence/rspl/redis/components/CIDR4AddressRedisSerializerTest.java | rbieniek/flow-ninja | dcc0e23514e455dfdce666093e2cac3772c7e7e5 | [
"Apache-2.0"
] | null | null | null | rspl-service-persistence-redis/src/test/java/org/flowninja/persistence/rspl/redis/components/CIDR4AddressRedisSerializerTest.java | rbieniek/flow-ninja | dcc0e23514e455dfdce666093e2cac3772c7e7e5 | [
"Apache-2.0"
] | null | null | null | rspl-service-persistence-redis/src/test/java/org/flowninja/persistence/rspl/redis/components/CIDR4AddressRedisSerializerTest.java | rbieniek/flow-ninja | dcc0e23514e455dfdce666093e2cac3772c7e7e5 | [
"Apache-2.0"
] | null | null | null | /**
*
*/
package org.flowninja.persistence.rspl.redis.components;
import static org.fest.assertions.api.Assertions.*;
import java.nio.charset.Charset;
import org.flowninja.types.net.CIDR4Address;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;... | 28.629032 | 117 | 0.778028 |
5f4845be12bb87857a282a0baf9c452097557ba1 | 1,146 | ts | TypeScript | src/app/pages/tags/tags.component.ts | igorosabel/Logger | e2ef8407dfc2ded3d0783e498f2daf4e7f6dfe06 | [
"MIT"
] | null | null | null | src/app/pages/tags/tags.component.ts | igorosabel/Logger | e2ef8407dfc2ded3d0783e498f2daf4e7f6dfe06 | [
"MIT"
] | 1 | 2022-03-29T21:15:37.000Z | 2022-03-29T21:15:37.000Z | src/app/pages/tags/tags.component.ts | igorosabel/Logger | e2ef8407dfc2ded3d0783e498f2daf4e7f6dfe06 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { Router, ActivatedRoute, Params} from '@angular/router';
import { ApiService } from '../../services/api.service';
import { ClassMapperService } from '../../services/class-mapper.service';
import { DataShareService } from '../../services/data-share.se... | 30.157895 | 166 | 0.668412 |
7fa049d4ed7a16599070c2f6723aa71fdcdc432b | 2,078 | swift | Swift | Example/SOXSegmentControl/Example View Controllers/RainbowSegmentControlViewController.swift | twilightDD/SOXSegmentControl | 0117ccac0ac2b0a749a617ada449f7195059652d | [
"MIT"
] | 1 | 2020-04-29T18:40:53.000Z | 2020-04-29T18:40:53.000Z | Example/SOXSegmentControl/Example View Controllers/RainbowSegmentControlViewController.swift | twilightDD/SOXSegmentControl | 0117ccac0ac2b0a749a617ada449f7195059652d | [
"MIT"
] | null | null | null | Example/SOXSegmentControl/Example View Controllers/RainbowSegmentControlViewController.swift | twilightDD/SOXSegmentControl | 0117ccac0ac2b0a749a617ada449f7195059652d | [
"MIT"
] | null | null | null | //
// RainbowSegmentControlViewController.swift
// SOXSegmentControl
//
// Created by Peter Hauke on 25.04.20.
// Copyright © 2020 CocoaPods. All rights reserved.
//
import UIKit
import SOXSegmentControl
class RainbowSegmentControlViewController: UIViewController {
//MARK: - Properties
//MARK: - IBOut... | 30.558824 | 76 | 0.517806 |
98e0050de01e5766ab0ffae5cb760bec1d8d5e68 | 2,229 | html | HTML | web/src/template.html | brunesto/icesat2webview | c310986ceb8efb1f3a9937ca6b9eb29b020cb0ec | [
"MIT"
] | null | null | null | web/src/template.html | brunesto/icesat2webview | c310986ceb8efb1f3a9937ca6b9eb29b020cb0ec | [
"MIT"
] | 1 | 2020-12-11T23:37:26.000Z | 2020-12-11T23:37:26.000Z | web/src/template.html | brunesto/icesat2webview | c310986ceb8efb1f3a9937ca6b9eb29b020cb0ec | [
"MIT"
] | 2 | 2020-11-13T10:35:27.000Z | 2021-03-07T10:24:47.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- hack to load egm96 fr... | 31.394366 | 115 | 0.62629 |
94b79e9d40d47dc8200ff7fa249f664e3587002a | 2,245 | sql | SQL | views & indexes & grants/Example_8_sol.sql | gbouzon/sql_test | 9ea7cccf8a81ef238712bb370d68945e3f617e17 | [
"MIT"
] | null | null | null | views & indexes & grants/Example_8_sol.sql | gbouzon/sql_test | 9ea7cccf8a81ef238712bb370d68945e3f617e17 | [
"MIT"
] | null | null | null | views & indexes & grants/Example_8_sol.sql | gbouzon/sql_test | 9ea7cccf8a81ef238712bb370d68945e3f617e17 | [
"MIT"
] | null | null | null | -- 1.Create a sequence named rent_num_seq to start with 1100, increment by 10,
-- and do not cache any values.
CREATE SEQUENCE RENT_NUM_SEQ
START WITH 1100
INCREMENT BY 10
NOCACHE;
--2. Insert a new row in the rental table using the sequence created in #1
-- above to generate the value for RENT_NUM, the current sys... | 31.180556 | 123 | 0.766592 |
fb49859af3b58240ab93cd123480631c791f4d02 | 919 | java | Java | MarvelTest/src/main/java/com/marveltest/RestClient.java | AlexOblizin/Repo.Homework | b5bc745084ae68d2d466b9f576747c507bc30d84 | [
"Unlicense"
] | null | null | null | MarvelTest/src/main/java/com/marveltest/RestClient.java | AlexOblizin/Repo.Homework | b5bc745084ae68d2d466b9f576747c507bc30d84 | [
"Unlicense"
] | null | null | null | MarvelTest/src/main/java/com/marveltest/RestClient.java | AlexOblizin/Repo.Homework | b5bc745084ae68d2d466b9f576747c507bc30d84 | [
"Unlicense"
] | null | null | null | package com.marveltest;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import org.apache.commons.codec.digest.DigestUtils;
import us.monoid.web.Resty;
public class ConnectionManager {
public static void main(String[] args) throws IOException {
String publicKey = "d0a20... | 36.76 | 157 | 0.677911 |
28538600466c761a011bfd17fd66522cbf03562b | 3,720 | swift | Swift | DKHelper/DKHelperTests/CGSizeTests.swift | tschob/DKHelper | 8c452a974500a63f13554391e9d3f4197d971abd | [
"MIT"
] | null | null | null | DKHelper/DKHelperTests/CGSizeTests.swift | tschob/DKHelper | 8c452a974500a63f13554391e9d3f4197d971abd | [
"MIT"
] | null | null | null | DKHelper/DKHelperTests/CGSizeTests.swift | tschob/DKHelper | 8c452a974500a63f13554391e9d3f4197d971abd | [
"MIT"
] | null | null | null | //
// CGSizeTests.swift
// DKHelper
//
// Created by kevin delord on 05/11/15.
// Copyright © 2015 Kevin Delord. All rights reserved.
//
import XCTest
@testable import DKHelper
class CGSizeTests: XCTestCase {
private func checkSizeValues(size: CGSize, width: CGFloat, height: CGFloat) {
XCTAssertEqual(size.hei... | 29.291339 | 83 | 0.737634 |
d61adb8325892fdd3db9838444977ba5cdc2f258 | 808 | sql | SQL | jcf-data/jcf-query/src/test/resources/db-script/hsql-sql-db-script.sql | wall72/JavaCoreFramework | 91d9fa9966d058ed8bc7dc5a8bc5d8ec0f621d8b | [
"MIT"
] | null | null | null | jcf-data/jcf-query/src/test/resources/db-script/hsql-sql-db-script.sql | wall72/JavaCoreFramework | 91d9fa9966d058ed8bc7dc5a8bc5d8ec0f621d8b | [
"MIT"
] | null | null | null | jcf-data/jcf-query/src/test/resources/db-script/hsql-sql-db-script.sql | wall72/JavaCoreFramework | 91d9fa9966d058ed8bc7dc5a8bc5d8ec0f621d8b | [
"MIT"
] | null | null | null | DROP TABLE JCF_SQL IF EXISTS;
CREATE TABLE JCF_SQL(
QUERY_ID VARCHAR(20),
QUERY VARCHAR(512),
PRIMARY KEY(QUERY_ID)
)
INSERT INTO JCF_SQL VALUES ('SELECT', 'SELECT QUERY FROM JCF_SQL WHERE QUERY_ID = :queryid');
--INSERT INTO PRODUCT_TYPE VALUES('SHT', '���� Ÿ��', '���� ��');
--INSERT INTO PRODUCT VALUES(1001, '... | 44.888889 | 183 | 0.508663 |
a4549decf96047bc7e5997b3d1b0d2843987beef | 177 | asm | Assembly | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_cls_attr_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_cls_attr_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_cls_attr_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; void tshr_cls_attr(uchar ink)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_cls_attr_fastcall
EXTERN asm_tshr_cls_attr
defc _tshr_cls_attr_fastcall = asm_tshr_cls_attr
| 16.090909 | 48 | 0.864407 |
a616da929d3076a68efca7b32972d760fa8bbfa7 | 4,428 | sql | SQL | lab06/lab06-seed.sql | WhatTheFar/2190422-database-system | 5cbcb5dd10c15996666d4fe9093b01bd1c106589 | [
"MIT"
] | null | null | null | lab06/lab06-seed.sql | WhatTheFar/2190422-database-system | 5cbcb5dd10c15996666d4fe9093b01bd1c106589 | [
"MIT"
] | null | null | null | lab06/lab06-seed.sql | WhatTheFar/2190422-database-system | 5cbcb5dd10c15996666d4fe9093b01bd1c106589 | [
"MIT"
] | null | null | null | CREATE DATABASE REGISTRATION_DB;
DROP TABLE IF EXISTS `Course`;
CREATE TABLE Course (
cid varchar(8) NOT NULL,
title varchar(256) NOT NULL,
dept_name varchar(256) NOT NULL,
credits int(11) NOT NULL,
PRIMARY KEY (`cid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
LOCK TABLES Course WRITE;
INSERT INTO Course VALU... | 48.659341 | 425 | 0.676603 |
745a4713126499771d636dabcf59b84a2e53085c | 3,414 | h | C | UIKit/Classes/UIImageAppKitIntegration.h | pondok-programmer/Chameleon | 84605ede274bd82b330d72dd6ac41e64eb925fd7 | [
"BSD-3-Clause"
] | 1,656 | 2015-01-01T01:16:58.000Z | 2022-03-24T08:33:59.000Z | UIKit/Classes/UIImageAppKitIntegration.h | wangmingfu/Chameleon | 84605ede274bd82b330d72dd6ac41e64eb925fd7 | [
"BSD-3-Clause"
] | 7 | 2015-01-15T01:32:24.000Z | 2018-05-06T20:41:50.000Z | UIKit/Classes/UIImageAppKitIntegration.h | wangmingfu/Chameleon | 84605ede274bd82b330d72dd6ac41e64eb925fd7 | [
"BSD-3-Clause"
] | 404 | 2015-01-01T01:17:01.000Z | 2022-03-24T08:33:47.000Z | /*
* Copyright (c) 2011, The Iconfactory. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condi... | 42.148148 | 86 | 0.765378 |
438d99e58bee92a5265234b89aa09e248b3010ba | 3,385 | go | Go | internal/cmd/gocdk/internal/static/_assets/demo/demo_runtimevar.go | clausti/go-cloud | fa8c32ca7b0e89f2e3df5cf71ed6d0c24e8ad877 | [
"Apache-2.0"
] | 1 | 2019-05-31T20:59:26.000Z | 2019-05-31T20:59:26.000Z | internal/cmd/gocdk/internal/static/_assets/demo/demo_runtimevar.go | polinasok/go-cloud | cbeb51129fa5d385cca86807128d12335b3273c8 | [
"Apache-2.0"
] | null | null | null | internal/cmd/gocdk/internal/static/_assets/demo/demo_runtimevar.go | polinasok/go-cloud | cbeb51129fa5d385cca86807128d12335b3273c8 | [
"Apache-2.0"
] | null | null | null | // This file demonstrates basic usage of the runtimevvar.Variable portable type.
//
// It initializes a runtimevar.Variable URL based on the environment variable
// RUNTIMEVAR_VARIABLE_URL, and then registers handlers for "/demo/runtimevar"
// on http.DefaultServeMux.
package main
import (
"context"
"html/template"... | 28.445378 | 117 | 0.709897 |
7583cc9d8efdbe6a28f75f29f2dafeb3a2d25d61 | 1,040 | c | C | tools-src/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags.c | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | tools-src/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | tools-src/gnu/binutils/gas/testsuite/gas/mips/elf_e_flags.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /* This file isn't directly used by the test suite; it uses
elf_e_flags.s. However, I figured it would be nice to provide the
source code from which the .s file was generated.
It was compiled as follows:
mips64-elf-gcc -m4650 -S -O elf_e_flags.c
We use the -m4650 flag to get the 4650-specific 'mul' i... | 29.714286 | 72 | 0.709615 |
fb3f41ec2fb63ffcc1139bf11d91b0d012246175 | 2,025 | java | Java | src/gui/Sprite.java | adam-wolfson/Gold-Digger | b71b2aa6b765a4521072f3716fa947103404a4e3 | [
"MIT"
] | null | null | null | src/gui/Sprite.java | adam-wolfson/Gold-Digger | b71b2aa6b765a4521072f3716fa947103404a4e3 | [
"MIT"
] | null | null | null | src/gui/Sprite.java | adam-wolfson/Gold-Digger | b71b2aa6b765a4521072f3716fa947103404a4e3 | [
"MIT"
] | null | null | null | package gui;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
/** Maintains\ information about a sprite for the GUI. A sprite is defined by a spritesheet,
* the information to interpret it (size of each image, etc), and information necessary to
* ... | 39.705882 | 104 | 0.72 |
85d71aa26dfbcf3e018c0dd9750a78d2f986674f | 1,992 | js | JavaScript | node_modules/@react-icons/all-files/gi/GiChainMail.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/gi/GiChainMail.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | node_modules/@react-icons/all-files/gi/GiChainMail.js | syazwanirahimin/dotcom | 162acf4500655ec965d27bd1e45ef0415963d346 | [
"MIT"
] | null | null | null | // THIS FILE IS AUTO GENERATED
var GenIcon = require('../lib').GenIcon
module.exports.GiChainMail = function GiChainMail (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M174.688 61.094L144.125 78.75 43.53 136.813l-10.124 5.843-10.718 6.188-5.47 3.156 65.407 1... | 332 | 1,857 | 0.710341 |
6e38a04d7cfe88bae4ef9210f6a4f3e697ba1e15 | 473 | html | HTML | src/main/resources/index.html | alzahm/wordmemorizer | f5389cc3a8bee3b77bd07a30c174a05ec97eda8f | [
"Apache-2.0"
] | null | null | null | src/main/resources/index.html | alzahm/wordmemorizer | f5389cc3a8bee3b77bd07a30c174a05ec97eda8f | [
"Apache-2.0"
] | null | null | null | src/main/resources/index.html | alzahm/wordmemorizer | f5389cc3a8bee3b77bd07a30c174a05ec97eda8f | [
"Apache-2.0"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello, Kotlin/JS!</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.0/css/all.css">-->
<script defer src="https://use.fontawesome.com/releases/v... | 31.533333 | 112 | 0.627907 |
c7ba00792c1312603437c8b0917fd74235632e02 | 3,226 | py | Python | day13/python/run.py | SlivTime/aoc2021 | 4ce4fc6326f8d2c1269233c6b4b94a07a7c9c167 | [
"MIT"
] | null | null | null | day13/python/run.py | SlivTime/aoc2021 | 4ce4fc6326f8d2c1269233c6b4b94a07a7c9c167 | [
"MIT"
] | null | null | null | day13/python/run.py | SlivTime/aoc2021 | 4ce4fc6326f8d2c1269233c6b4b94a07a7c9c167 | [
"MIT"
] | null | null | null | from collections import Counter, defaultdict
from typing import List, Tuple, Dict, Set, Callable
from pprint import pprint
PART1_TEST_ANSWER = 17
PART2_TEST_ANSWER = '#####\n# #\n# #\n# #\n#####\n \n \n'
def _parse_dot(s):
x, y = s.strip().split(",")
return int(x), int(y)
def _parse_fold(s):... | 22.879433 | 71 | 0.564476 |
762e471d42340b9041eae7f22247830be9c4845e | 4,701 | ps1 | PowerShell | src/Cloners/WorkerCloner.ps1 | OctopusDeployLabs/SpaceCloner | a6963868f09903c37009945f907d9faeff85d297 | [
"Apache-2.0"
] | 18 | 2020-06-23T00:18:06.000Z | 2021-10-07T06:23:05.000Z | src/Cloners/WorkerCloner.ps1 | OctopusDeployLabs/SpaceCloner | a6963868f09903c37009945f907d9faeff85d297 | [
"Apache-2.0"
] | 27 | 2020-06-22T20:40:54.000Z | 2022-03-25T16:57:36.000Z | src/Cloners/WorkerCloner.ps1 | OctopusDeployLabs/SpaceCloner | a6963868f09903c37009945f907d9faeff85d297 | [
"Apache-2.0"
] | 20 | 2020-07-01T12:19:07.000Z | 2022-03-25T17:12:36.000Z | function Copy-OctopusWorkers
{
param(
$sourceData,
$destinationData,
$cloneScriptOptions
)
if ($sourceData.HasWorkers -eq $false -or $destinationData.HasWorkers -eq $false)
{
Write-OctopusWarning "The source or destination Octopus instance doesn't have workers,... | 46.088235 | 215 | 0.651989 |
5bd7ba377cbad759b0cd105f798bb07135f51851 | 661 | asm | Assembly | oeis/246/A246467.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/246/A246467.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/246/A246467.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A246467: G.f.: 1 / AGM(1-5*x, sqrt((1-x)*(1-25*x))).
; Submitted by Christian Krause
; 1,9,121,2025,38025,762129,15912121,341621289,7484845225,166549691025,3751508008161,85341068948529,1957289174870121,45199191579030225,1049893021288265625,24510327614556266025,574726636455361317225,13528549573868347823025,3195419155... | 94.428571 | 496 | 0.853253 |
b465bdfed84bdaf18c59b3763a8f57c27e9a5db3 | 3,929 | lua | Lua | modulefiles/Core/SitePackage.lua | lcnja/modulefiles-1 | 2bbaf48089ef55f0a8247e6c365103f2b852feec | [
"Apache-2.0"
] | 6 | 2016-03-17T13:59:43.000Z | 2021-07-08T06:15:33.000Z | modulefiles/Core/SitePackage.lua | lcnja/modulefiles-1 | 2bbaf48089ef55f0a8247e6c365103f2b852feec | [
"Apache-2.0"
] | null | null | null | modulefiles/Core/SitePackage.lua | lcnja/modulefiles-1 | 2bbaf48089ef55f0a8247e6c365103f2b852feec | [
"Apache-2.0"
] | 2 | 2016-08-10T16:04:15.000Z | 2016-10-13T17:38:24.000Z | require("strict")
local hook = require("Hook")
local http = require("socket.http")
http.TIMEOUT = 30
function url_quote(str)
if (str) then
str = string.gsub (str, "\n", "\r\n")
str = string.gsub (str, "([^%w %-%_%.%~])",
function (c) return string.format ("%%%02X", string.byte(c)) end)
str = stri... | 30.937008 | 90 | 0.616442 |
772201e3817485b60c455f8b94e90a8a3ab7af44 | 1,118 | rs | Rust | tests/spec/libsass_closed_issues/issue_2156/mod.rs | alvra/rsass | 96cf819b733b2c27aaad5e0b79cceb767a7dcfa8 | [
"Apache-2.0"
] | null | null | null | tests/spec/libsass_closed_issues/issue_2156/mod.rs | alvra/rsass | 96cf819b733b2c27aaad5e0b79cceb767a7dcfa8 | [
"Apache-2.0"
] | null | null | null | tests/spec/libsass_closed_issues/issue_2156/mod.rs | alvra/rsass | 96cf819b733b2c27aaad5e0b79cceb767a7dcfa8 | [
"Apache-2.0"
] | null | null | null | //! Tests auto-converted from "sass-spec/spec/libsass-closed-issues/issue_2156"
#[allow(unused)]
use super::rsass;
// From "sass-spec/spec/libsass-closed-issues/issue_2156/debug.hrx"
#[test]
fn debug() {
assert_eq!(
rsass(
"@debug \"\\\"foo\\\"\" + \"\";\r\
\n@debug \"\" + \"\\\"foo... | 26.619048 | 79 | 0.423971 |
d327c6e7cee1aeb59fb78f2ae6cf916ebbc8d519 | 33 | lua | Lua | websocket/client.lua | Tangkysin/skynet-lua-websocket | 4b9b8613ff8f33d2e189f93f84c34b3ea21793d7 | [
"MIT"
] | 26 | 2019-06-21T11:32:03.000Z | 2021-05-21T08:51:17.000Z | websocket/client.lua | Tangkysin/skynet-lua-websocket | 4b9b8613ff8f33d2e189f93f84c34b3ea21793d7 | [
"MIT"
] | 2 | 2019-07-02T01:10:36.000Z | 2019-10-30T02:55:44.000Z | websocket/client.lua | Tangkysin/skynet-lua-websocket | 4b9b8613ff8f33d2e189f93f84c34b3ea21793d7 | [
"MIT"
] | 5 | 2019-07-18T06:09:47.000Z | 2021-08-19T01:32:38.000Z | -- TODO Add Lua Websocket client
| 16.5 | 32 | 0.757576 |
573d92d1980bcd74a124be15ad406a2c587bdf67 | 1,732 | c | C | entity_auth.c | hyu-iot/SST- | 6134effae790d5c53b99d9729428c931e80536a0 | [
"MIT"
] | null | null | null | entity_auth.c | hyu-iot/SST- | 6134effae790d5c53b99d9729428c931e80536a0 | [
"MIT"
] | null | null | null | entity_auth.c | hyu-iot/SST- | 6134effae790d5c53b99d9729428c931e80536a0 | [
"MIT"
] | null | null | null | #include "entity_auth.h"
distribution_key dist_key;
sessionkey sess_key[10];
nonce entity_nonce;
int Entity_Auth(unsigned char * msg, size_t size)
{
if(msg[0] == AUTH_HELLO)
{
print_buf(msg, 14);
unsigned char sender[] = "net1.client";
unsigned char purpose[] = "{\"group\":\"Servers... | 30.928571 | 106 | 0.628753 |
8a3fe390290fe4f4c8313404135ad69773883cc0 | 10,834 | rs | Rust | src/main.rs | ryan0n/quad-image | f43ab924d317d2c49c0274e70f82683ef79ce5dc | [
"Apache-2.0"
] | null | null | null | src/main.rs | ryan0n/quad-image | f43ab924d317d2c49c0274e70f82683ef79ce5dc | [
"Apache-2.0"
] | null | null | null | src/main.rs | ryan0n/quad-image | f43ab924d317d2c49c0274e70f82683ef79ce5dc | [
"Apache-2.0"
] | null | null | null | mod gallery;
pub mod ingest;
#[cfg(test)]
mod tests;
mod thumbs;
use std::fs;
use std::io;
use std::io::Read;
use std::io::Write;
use std::path;
use std::sync::Arc;
use std::sync::Mutex;
use anyhow::anyhow;
use anyhow::Context;
use anyhow::Error;
use lazy_static::lazy_static;
use rand::RngCore;
use rouille::input::js... | 31.586006 | 95 | 0.55492 |
2f0e3694580b2bdd76f60fdbb24d4c950dc1f97d | 1,718 | swift | Swift | AppSyncRealTimeClientTests/Interceptor/AppSyncJSONHelperTests.swift | DanOxlade/aws-appsync-realtime-client-ios | c26f5cf97cbabafebffb0f34f5d7283150123369 | [
"Apache-2.0"
] | null | null | null | AppSyncRealTimeClientTests/Interceptor/AppSyncJSONHelperTests.swift | DanOxlade/aws-appsync-realtime-client-ios | c26f5cf97cbabafebffb0f34f5d7283150123369 | [
"Apache-2.0"
] | null | null | null | AppSyncRealTimeClientTests/Interceptor/AppSyncJSONHelperTests.swift | DanOxlade/aws-appsync-realtime-client-ios | c26f5cf97cbabafebffb0f34f5d7283150123369 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018-2021 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
import XCTest
@testable import AppSyncRealTimeClient
class AppSyncJSONHelperTests: XCTestCase {
/// Test if we get the right base 64 value
///
/// - Given: A valid auth heade... | 31.814815 | 110 | 0.662398 |
d5521f7a39bc6d47207fafd28596e1a9b62f05a3 | 743 | sql | SQL | source/org.ohdsi.cdm.framework.etl/org.ohdsi.cdm.framework.etl.optumpanther/ETL/OPTUMPANTHER/Lookups/CMSPlaceOfService.sql | angujo/ETL-CDMBuilder | 6f26708622633095b439079e8f859ee8217aa41b | [
"Apache-2.0"
] | 41 | 2015-01-11T04:54:13.000Z | 2022-01-10T18:26:32.000Z | source/org.ohdsi.cdm.framework.etl/org.ohdsi.cdm.framework.etl.optumpanther/ETL/OPTUMPANTHER/Lookups/CMSPlaceOfService.sql | angujo/ETL-CDMBuilder | 6f26708622633095b439079e8f859ee8217aa41b | [
"Apache-2.0"
] | 34 | 2015-01-22T14:02:06.000Z | 2021-12-13T10:19:10.000Z | source/org.ohdsi.cdm.framework.etl/org.ohdsi.cdm.framework.etl.optumpanther/ETL/OPTUMPANTHER/Lookups/CMSPlaceOfService.sql | angujo/ETL-CDMBuilder | 6f26708622633095b439079e8f859ee8217aa41b | [
"Apache-2.0"
] | 41 | 2015-01-08T20:48:15.000Z | 2022-01-10T14:22:35.000Z | WITH top_level
AS
(SELECT concept_id, concept_name
FROM {sc}.concept
LEFT JOIN {sc}.concept_ancestor
ON concept_id=descendant_concept_id
AND ancestor_concept_id!=descendant_concept_id
WHERE domain_id='Visit'
AND standard_concept='S'
AND ancestor_concept_id IS NULL
)
/*Find all descendants of tho... | 37.15 | 199 | 0.794078 |
045b80d0e91fa520ca51b4428349070d32d04fd9 | 1,457 | java | Java | mongodb-orm-master/src/main/java/com/mongodb/orm/MqlMapConfiguration.java | williamjie/sprintboot_test | 8f18c70304a694496e09a684a1116f14a0cceb4a | [
"Apache-2.0"
] | 2 | 2018-04-26T03:04:46.000Z | 2018-11-14T11:48:27.000Z | mongodb-orm-master/src/main/java/com/mongodb/orm/MqlMapConfiguration.java | williamjie/sprintboot_test | 8f18c70304a694496e09a684a1116f14a0cceb4a | [
"Apache-2.0"
] | 1 | 2018-11-14T02:59:37.000Z | 2018-11-14T02:59:37.000Z | mongodb-orm-master/src/main/java/com/mongodb/orm/MqlMapConfiguration.java | williamjie/sprintboot_test | 8f18c70304a694496e09a684a1116f14a0cceb4a | [
"Apache-2.0"
] | null | null | null | package com.mongodb.orm;
import java.util.HashMap;
import java.util.Map;
import com.mongodb.exception.StatementException;
import com.mongodb.orm.engine.Config;
/**
* Mongo QL configuration. Transfer xml config.
*
* @author: xiangping_yu
* @data : 2013-6-4
* @since : 1.5
*/
public class MqlMapConfiguration {
... | 22.075758 | 111 | 0.673988 |
0e46b2cb532a6536e4baf30d253e2b059dd7b128 | 1,423 | sql | SQL | Plants/compara_sanity_check.sql | EnsemblGenomes/personal-dbolser | 8abca40e2078bd2b1dad74e4b3fbe2c84e984a23 | [
"Apache-2.0"
] | 1 | 2019-02-27T09:08:39.000Z | 2019-02-27T09:08:39.000Z | Plants/compara_sanity_check.sql | EnsemblGenomes/personal-dbolser | 8abca40e2078bd2b1dad74e4b3fbe2c84e984a23 | [
"Apache-2.0"
] | null | null | null | Plants/compara_sanity_check.sql | EnsemblGenomes/personal-dbolser | 8abca40e2078bd2b1dad74e4b3fbe2c84e984a23 | [
"Apache-2.0"
] | null | null | null |
SELECT
COUNT(*),
COUNT(DISTINCT species_set_id)
FROM
method_link_species_set mlss
INNER JOIN
species_set_header ssh USING (species_set_id)
WHERE
COALESCE(mlss.first_release, 0) =
COALESCE( ssh.first_release, 0)
AND
COALESCE(mlss.last_release, 0) =
COALESCE( ssh.last_release, 0)
;
SELECT
COUNT(*),
... | 18.24359 | 78 | 0.767393 |
bb534a70f5a6b4f284dd6ccb20fa55fa58877f9c | 264 | asm | Assembly | audio/sfx/intro_lunge.asm | etdv-thevoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | 1 | 2022-01-09T05:28:52.000Z | 2022-01-09T05:28:52.000Z | audio/sfx/intro_lunge.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | audio/sfx/intro_lunge.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | SFX_Intro_Lunge_Ch7:
unknownnoise0x20 6, 32, 16
unknownnoise0x20 6, 47, 64
unknownnoise0x20 6, 79, 65
unknownnoise0x20 6, 143, 65
unknownnoise0x20 6, 207, 66
unknownnoise0x20 8, 215, 66
unknownnoise0x20 15, 231, 67
unknownnoise0x20 15, 242, 67
endchannel
| 24 | 29 | 0.772727 |
51a01e31a324934e5ead9543830b8456c3906874 | 632 | lua | Lua | states/intro.lua | MIfeanyi/LoveJoust | b2cc82e7ad2d92ad8af081ae616fc16be8474def | [
"MIT"
] | null | null | null | states/intro.lua | MIfeanyi/LoveJoust | b2cc82e7ad2d92ad8af081ae616fc16be8474def | [
"MIT"
] | 6 | 2017-02-17T10:26:05.000Z | 2017-09-26T04:03:41.000Z | states/intro.lua | MIfeanyi/LoveJoust | b2cc82e7ad2d92ad8af081ae616fc16be8474def | [
"MIT"
] | null | null | null | local state = {}
function state:new()
return lovelyMoon.new(self)
end
function state:load()
end
function state:close()
end
function state:enable()
end
function state:disable()
end
function state:update(dt)
end
function state:draw()
love.graphics.print("Love Joust", 400, 300)
love.graphics.print("Press ... | 12.392157 | 56 | 0.724684 |
0496299e004b6209e8f74f24b36da0692d6be4ba | 9,313 | java | Java | folding-android/app/src/main/java/com/sonymobile/androidapp/gridcomputing/assets/CopyAssets.java | FoldingAtHome/FAHAndroid | dfee3a9aa4540babf7a920ff8b10f93363903ebc | [
"MIT"
] | 14 | 2019-05-30T04:47:25.000Z | 2021-07-06T02:59:31.000Z | folding-android/app/src/main/java/com/sonymobile/androidapp/gridcomputing/assets/CopyAssets.java | FoldingAtHome/FAHAndroid | dfee3a9aa4540babf7a920ff8b10f93363903ebc | [
"MIT"
] | null | null | null | folding-android/app/src/main/java/com/sonymobile/androidapp/gridcomputing/assets/CopyAssets.java | FoldingAtHome/FAHAndroid | dfee3a9aa4540babf7a920ff8b10f93363903ebc | [
"MIT"
] | 9 | 2019-06-21T07:33:56.000Z | 2021-09-15T00:17:49.000Z | /*
* Licensed under the LICENSE.
* Copyright 2017, Sony Mobile Communications Inc.
*/
package com.sonymobile.androidapp.gridcomputing.assets;
import android.content.Context;
import com.sonymobile.androidapp.gridcomputing.log.Log;
import com.sonymobile.androidapp.gridcomputing.utils.ApplicationData;
import java.i... | 34.113553 | 99 | 0.590358 |
3ab2dd976b8b648e084c11db6a4da08ea555c051 | 385 | lua | Lua | fsm/fsm.lua | shuimu98/behaviourtree | b2122f5b13e92d4d9311deef6c93c140b4df8d0a | [
"MIT"
] | 2 | 2022-01-10T02:22:56.000Z | 2022-03-31T14:19:02.000Z | fsm/fsm.lua | shuimu98/behaviourtree | b2122f5b13e92d4d9311deef6c93c140b4df8d0a | [
"MIT"
] | null | null | null | fsm/fsm.lua | shuimu98/behaviourtree | b2122f5b13e92d4d9311deef6c93c140b4df8d0a | [
"MIT"
] | 2 | 2021-08-25T12:00:53.000Z | 2022-01-10T02:22:50.000Z | oo.class('FSM')
function FSM:__init()
self._actions = {}
self._firstState = nil
end
function FSM:addState(action, state)
state = state or action:getActionState()
if self._actions[state] then return -1 end
self._actions[state] = action
if not self._firstState then self._firstState = state end
en... | 21.388889 | 61 | 0.716883 |
fb04b0558013287571b381177181cdf39a2a3b6d | 69 | sql | SQL | src/db/postgres/sql/verification-done.sql | thylacine/websub-hub | 3bc885c4b6ef8e5ced2ee9708194523a41ebfe7a | [
"0BSD"
] | 1 | 2021-11-04T06:37:43.000Z | 2021-11-04T06:37:43.000Z | src/db/postgres/sql/verification-done.sql | thylacine/websub-hub | 3bc885c4b6ef8e5ced2ee9708194523a41ebfe7a | [
"0BSD"
] | null | null | null | src/db/postgres/sql/verification-done.sql | thylacine/websub-hub | 3bc885c4b6ef8e5ced2ee9708194523a41ebfe7a | [
"0BSD"
] | null | null | null | --
DELETE FROM verification_in_progress
WHERE id = $(verificationId)
| 17.25 | 36 | 0.797101 |
2f3eb8a6d5f8a423c0f7ce3258e3f0434256163f | 189 | php | PHP | vendor/RaulFraile/Ladybug/examples/dump_and_die.php | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | vendor/RaulFraile/Ladybug/examples/dump_and_die.php | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | vendor/RaulFraile/Ladybug/examples/dump_and_die.php | rpcabrera/networld | 0c6e9d4f623344b4f5ed108c2ca35a7f63947dcd | [
"MIT"
] | null | null | null | <?php
require_once __DIR__.'/../vendor/autoload.php';
Ladybug\Loader::loadHelpers();
$var1 = 'hello world!';
ladybug_dump_die($var1); // or ldd($var1)
echo 'This code is unreachable!';
| 17.181818 | 47 | 0.693122 |
25831b37b531fade718f12b8be7600df80d050f8 | 213 | dart | Dart | lib/gateway/common/api_routes.dart | AndX2/iron-bank | dd2ca245b6984503c1af603ce8f40ad1fffbbce4 | [
"CC0-1.0"
] | null | null | null | lib/gateway/common/api_routes.dart | AndX2/iron-bank | dd2ca245b6984503c1af603ce8f40ad1fffbbce4 | [
"CC0-1.0"
] | null | null | null | lib/gateway/common/api_routes.dart | AndX2/iron-bank | dd2ca245b6984503c1af603ce8f40ad1fffbbce4 | [
"CC0-1.0"
] | null | null | null | /// Path API
class ApiRoutes {
static const settingsUrl = '/settings';
static const _apiPrefix = '/api';
static const statement = '$_apiPrefix/statement';
static const scoring = '$_apiPrefix/scoring';
}
| 21.3 | 51 | 0.699531 |
e06b328e94b5e0b01a0e7d98af80283544204331 | 58,751 | sql | SQL | docs/sourcecodes/OpenBridge-passos-ui/ob-paasos-web/install/sql/openbridge-db-schema.sql | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | 3 | 2016-07-25T03:47:06.000Z | 2019-11-18T08:42:00.000Z | docs/sourcecodes/OpenBridge-passos-ui/ob-paasos-web/install/sql/openbridge-db-schema.sql | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | null | null | null | docs/sourcecodes/OpenBridge-passos-ui/ob-paasos-web/install/sql/openbridge-db-schema.sql | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | 2 | 2019-11-18T08:41:53.000Z | 2020-09-11T08:53:18.000Z | -- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64)
--
-- Host: 192.168.10.82 Database: openbridge
-- ------------------------------------------------------
-- Server version 5.5.47-MariaDB
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_... | 40.185363 | 613 | 0.72232 |
7ba9472579435aa6884a6f1678e90797b8a1d0ab | 120 | ps1 | PowerShell | ♥ Hearts/10 - Powershell.ps1 | LoyaltyGamer72/Programmers-Playing-Cards | 391b03462c690871540ff865606b1df0a31df18b | [
"MIT"
] | 80 | 2016-06-26T01:12:45.000Z | 2022-02-16T23:31:11.000Z | ♥ Hearts/10 - Powershell.ps1 | LoyaltyGamer72/Programmers-Playing-Cards | 391b03462c690871540ff865606b1df0a31df18b | [
"MIT"
] | 33 | 2016-06-26T01:19:11.000Z | 2019-02-07T20:01:23.000Z | ♥ Hearts/10 - Powershell.ps1 | LoyaltyGamer72/Programmers-Playing-Cards | 391b03462c690871540ff865606b1df0a31df18b | [
"MIT"
] | 22 | 2016-06-26T01:09:09.000Z | 2021-09-13T22:54:57.000Z | function card(
[int] $rank,
[string] $suit) {
Wscript.Echo rank
Wscript.Echo suit
}
card(10, "hearts")
| 15 | 23 | 0.591667 |
12a43c98c30ee0752c6f9ba9cf91189684bb0c48 | 1,021 | h | C | include/prototyping/trigger/Event.h | xzrunner/prototyping | 66d6b66e7b62dccd48b4960325975837fe27e94c | [
"MIT"
] | null | null | null | include/prototyping/trigger/Event.h | xzrunner/prototyping | 66d6b66e7b62dccd48b4960325975837fe27e94c | [
"MIT"
] | null | null | null | include/prototyping/trigger/Event.h | xzrunner/prototyping | 66d6b66e7b62dccd48b4960325975837fe27e94c | [
"MIT"
] | null | null | null | #pragma once
#include "prototyping/trigger/typedef.h"
#include <cpputil/ClassInfo.h>
#include <vector>
#include <memory>
namespace pt
{
namespace trigger
{
class Event
{
public:
virtual ~Event() {}
virtual const char* LuaFuncName() const = 0;
std::string GenLuaFunc() const;
void Do();
protected:
virtual c... | 17.305085 | 58 | 0.581783 |
76a722102f8efcc81055818c87c858e495fef0d1 | 849 | lua | Lua | experimental/ETWSession.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 70 | 2015-02-02T02:32:42.000Z | 2022-01-18T15:17:58.000Z | experimental/ETWSession.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 1 | 2019-06-04T13:46:20.000Z | 2019-06-06T04:34:27.000Z | experimental/ETWSession.lua | CoderAldrich/TINN | f4e2555fe49261285ff0db79fdd932bb708f530a | [
"MS-PL"
] | 12 | 2015-05-22T05:23:17.000Z | 2021-02-17T11:50:21.000Z | -- ETWSession.lua
local ffi = require("ffi")
local eventing_provider = require("eventing_provider_l1_1_0")
ffi.cdef[[
typedef struct {
PTRACEHANDLE Handle;
} ETWSession_t;
]]
local ETWSession_t = ffi.typeof("ETWSession_t")
local ETWSession = {}
setmetatable(ETWSession, {
__call = function(self, ...)
return self:... | 19.295455 | 81 | 0.742049 |
e99f1d1c99f037b0fb5773a63f0594d115d20636 | 1,735 | rb | Ruby | spikes/cucumber-api-flare/features/support/myenv.rb | OpenGov/bubble-wrap | 1b43dd5db298f9285bfaa41ec339c2a3c32dfa62 | [
"MIT"
] | null | null | null | spikes/cucumber-api-flare/features/support/myenv.rb | OpenGov/bubble-wrap | 1b43dd5db298f9285bfaa41ec339c2a3c32dfa62 | [
"MIT"
] | null | null | null | spikes/cucumber-api-flare/features/support/myenv.rb | OpenGov/bubble-wrap | 1b43dd5db298f9285bfaa41ec339c2a3c32dfa62 | [
"MIT"
] | null | null | null | # create a json file in the flare.json format
# this can be used for multiple d3 visualizations
require 'ostruct'
require 'json'
require 'pry'
publisher = File.open('flare.json', "w+")
# create a d3 json!
d3_hash = {}
flare = OpenStruct.new(d3_hash)
flare.name = 'flare'
flare.children = []
AfterConfiguration do |co... | 32.12963 | 108 | 0.608069 |
04a35855d9a3dbf8dc739d7408f9eba51edfcd24 | 2,356 | java | Java | projects/OG-MasterDB/src/com/opengamma/masterdb/security/hibernate/fx/FXForwardSecurityBean.java | gsteri1/OG-Platform | e682c31e69cadde06dd3776544913dde17fe41ba | [
"Apache-2.0"
] | 1 | 2021-02-27T21:05:05.000Z | 2021-02-27T21:05:05.000Z | projects/OG-MasterDB/src/com/opengamma/masterdb/security/hibernate/fx/FXForwardSecurityBean.java | gsteri1/OG-Platform | e682c31e69cadde06dd3776544913dde17fe41ba | [
"Apache-2.0"
] | null | null | null | projects/OG-MasterDB/src/com/opengamma/masterdb/security/hibernate/fx/FXForwardSecurityBean.java | gsteri1/OG-Platform | e682c31e69cadde06dd3776544913dde17fe41ba | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.masterdb.security.hibernate.fx;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import com.ope... | 24.28866 | 86 | 0.702462 |
864b82e914dbdca690f530466e5dd7db54020685 | 27,161 | rs | Rust | src/macros.rs | storance/krpc-bindings-rs | 5f29a04c9feb6190c5e983d3c69a35c7e00631d9 | [
"Apache-2.0"
] | 1 | 2019-06-04T14:35:38.000Z | 2019-06-04T14:35:38.000Z | src/macros.rs | storance/krpc-bindings-rs | 5f29a04c9feb6190c5e983d3c69a35c7e00631d9 | [
"Apache-2.0"
] | null | null | null | src/macros.rs | storance/krpc-bindings-rs | 5f29a04c9feb6190c5e983d3c69a35c7e00631d9 | [
"Apache-2.0"
] | 1 | 2019-06-04T14:35:49.000Z | 2019-06-04T14:35:49.000Z | #[macro_export]
macro_rules! remote_type {
//
// Service
//
(
$(#[$meta:meta])*
service $service: ident {
properties: {
$( { $( $property: tt)+ } )*
}
methods: {
$( { $( $method: tt)+ } )*
}
}
) =... | 29.749179 | 145 | 0.438386 |
d9c51b3491ec7dfed7132769759421a70ab9d717 | 11,852 | rs | Rust | src/api/api.rs | mjarkk/wotnlclans | 11f21221d6625d5608c68df36e7f36dc3e8d7d46 | [
"Apache-2.0"
] | 2 | 2019-01-31T09:46:30.000Z | 2019-08-21T05:21:59.000Z | src/api/api.rs | mjarkk/wotnlclans | 11f21221d6625d5608c68df36e7f36dc3e8d7d46 | [
"Apache-2.0"
] | 6 | 2019-01-21T06:49:57.000Z | 2021-02-04T09:15:34.000Z | src/api/api.rs | mjarkk/wotnlclans | 11f21221d6625d5608c68df36e7f36dc3e8d7d46 | [
"Apache-2.0"
] | 1 | 2020-03-05T21:21:58.000Z | 2020-03-05T21:21:58.000Z | use super::routes::{call_route, Routes};
use super::types::{
ClanData, ClanDataData, ClanDiscription, ClanRating, ClanRatingData, Response, TopClans,
};
use crate::db;
use crate::other::{remove_all_quotes, ConfAndFlags};
use futures::Future;
use std::collections::HashMap;
use std::pin::Pin;
pub async fn search_for... | 31.271768 | 99 | 0.51755 |
c4578fe09682d39873f4f04e11be621768301f33 | 298 | dart | Dart | lib/data/helpers/dialog_helper.dart | iamnijat/code-quizzy | cda7690c3f53f597de6af5320596d4aa7508ec44 | [
"MIT"
] | 9 | 2022-02-01T10:01:00.000Z | 2022-02-18T10:12:27.000Z | lib/data/helpers/dialog_helper.dart | iamnijat/code-quizzy | cda7690c3f53f597de6af5320596d4aa7508ec44 | [
"MIT"
] | null | null | null | lib/data/helpers/dialog_helper.dart | iamnijat/code-quizzy | cda7690c3f53f597de6af5320596d4aa7508ec44 | [
"MIT"
] | 1 | 2022-02-02T17:32:02.000Z | 2022-02-02T17:32:02.000Z | import 'package:flutter/material.dart';
import '../../presentation/dialogs/index.dart';
Future<void> showGestureSuggestionDialog(
context,
) {
return showDialog(
context: context,
barrierDismissible: true,
builder: (BuildContext context) => const GestureSuggestionDialog(),
);
}
| 22.923077 | 71 | 0.724832 |
5da9cbeb3acc3b21b98ec9a23e3fb80c05181488 | 1,632 | kt | Kotlin | src/main/kotlin/io/georocket/ServerAPIException.kt | tobias93/georocket | 5e498d97e0c05df68392befa43d3e7e00b32fc94 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/georocket/ServerAPIException.kt | tobias93/georocket | 5e498d97e0c05df68392befa43d3e7e00b32fc94 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/georocket/ServerAPIException.kt | tobias93/georocket | 5e498d97e0c05df68392befa43d3e7e00b32fc94 | [
"Apache-2.0"
] | null | null | null | package io.georocket
import io.vertx.core.impl.NoStackTraceThrowable
import io.vertx.core.json.JsonObject
import io.vertx.kotlin.core.json.jsonObjectOf
/**
* An exception that will be created if an API exception has happened
* on the server side
* @author Tim Hellhake
* @since 1.1.0
*/
class ServerAPIException(
... | 23.314286 | 77 | 0.647672 |
85790bb351b6327cdca696fd1357451be3131246 | 4,167 | js | JavaScript | pcOPPO/routes/commodity.js | sijingru/copyOppomobile | 89173f2ab111998024f055fcad3f9a9a3c8fd4cd | [
"MIT"
] | 1 | 2017-01-16T06:12:19.000Z | 2017-01-16T06:12:19.000Z | pcOPPO/routes/commodity.js | sijingru/copyOppomobile | 89173f2ab111998024f055fcad3f9a9a3c8fd4cd | [
"MIT"
] | null | null | null | pcOPPO/routes/commodity.js | sijingru/copyOppomobile | 89173f2ab111998024f055fcad3f9a9a3c8fd4cd | [
"MIT"
] | null | null | null | var express = require('express');
var router = express.Router();
var CommService = require('../service/CommService.js');
//添加商品
router.post('/addComm', function(req, res, next) {
// console.log("ion")
var commodity = JSON.parse(req.body.commodity)
CommService.addComm(commodity, function(data) {
res.... | 29.553191 | 88 | 0.655628 |
0482f0e107fb5736dc60c46846cd9864bf9d59a9 | 116 | java | Java | src/package-info.java | danielbalaz/bTB_indiv | 6396e874c1000f5851b4832140e98f44b3b1fc04 | [
"Apache-2.0"
] | null | null | null | src/package-info.java | danielbalaz/bTB_indiv | 6396e874c1000f5851b4832140e98f44b3b1fc04 | [
"Apache-2.0"
] | null | null | null | src/package-info.java | danielbalaz/bTB_indiv | 6396e874c1000f5851b4832140e98f44b3b1fc04 | [
"Apache-2.0"
] | null | null | null | /**
* Btb transmission dynamics in clusters of farms using aggregated movements.
*/
package btbcluster.dynamics;
| 19.333333 | 77 | 0.767241 |
dd913e165a127dd7b5e82768682c4cb8f94728d4 | 3,504 | go | Go | integration-test/app/helm/helm_client.go | yesitsme007/potter-controller | bb50cf6aabdb1ab8dbd0f0452415393482a3c477 | [
"Apache-2.0",
"MIT"
] | 2 | 2021-05-19T01:01:18.000Z | 2021-07-02T02:29:10.000Z | integration-test/app/helm/helm_client.go | yesitsme007/potter-controller | bb50cf6aabdb1ab8dbd0f0452415393482a3c477 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-03-09T13:35:06.000Z | 2021-03-09T13:35:06.000Z | integration-test/app/helm/helm_client.go | yesitsme007/potter-controller | bb50cf6aabdb1ab8dbd0f0452415393482a3c477 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-02-16T08:09:44.000Z | 2021-02-16T08:09:44.000Z | package helm
import (
"context"
"fmt"
"os"
"github.com/gardener/potter-controller/integration-test/app/util"
"github.com/pkg/errors"
grpcStatus "google.golang.org/grpc/status"
"helm.sh/helm/v3/pkg/action"
"helm.sh/helm/v3/pkg/kube"
"helm.sh/helm/v3/pkg/release"
"helm.sh/helm/v3/pkg/storage"
"helm.sh/helm/... | 27.590551 | 117 | 0.715753 |
9c25d01f2657423d7461d8d672dfd957c1b17833 | 1,015 | js | JavaScript | node_modules/@twilio/video-processors/es5/types.js | osama294/doctorportal | fbbf71db1d679f699daabdef83e828555ce8a6fc | [
"MIT"
] | null | null | null | node_modules/@twilio/video-processors/es5/types.js | osama294/doctorportal | fbbf71db1d679f699daabdef83e828555ce8a6fc | [
"MIT"
] | null | null | null | node_modules/@twilio/video-processors/es5/types.js | osama294/doctorportal | fbbf71db1d679f699daabdef83e828555ce8a6fc | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImageFit = void 0;
/**
* ImageFit specifies the positioning of an image inside a viewport.
*/
var ImageFit;
(function (ImageFit) {
/**
* Scale the image up or down to fill the viewport while preserving the aspect ratio.
... | 35 | 89 | 0.653202 |
0416b4357fc5ffcbee1882c13cf728758d2a2c34 | 3,697 | js | JavaScript | src/Program.js | Donorhan/Lemon-JS | 6300c5a1d7c6a80ba6b128f48bdd8221aad05a50 | [
"MIT"
] | 52 | 2017-11-29T08:31:22.000Z | 2021-09-07T16:34:59.000Z | src/Program.js | DonoSybrix/Lemon-JS | 6300c5a1d7c6a80ba6b128f48bdd8221aad05a50 | [
"MIT"
] | 4 | 2016-02-07T17:10:32.000Z | 2016-02-13T10:29:38.000Z | src/Program.js | Donorhan/Lemon-JS | 6300c5a1d7c6a80ba6b128f48bdd8221aad05a50 | [
"MIT"
] | 3 | 2019-02-17T03:42:39.000Z | 2020-03-06T14:44:17.000Z | import ContextResource from './ContextResource';
import FileLoader from './Loaders/FileLoader';
/**
* A program
*
* @category Shaders
* @extends {ContextResource}
*/
export class Program extends ContextResource {
/**
* Constructor
*
* @constructor
*/
constructor() {
super();
... | 21.87574 | 99 | 0.522045 |
15b0dfcd9d28035add5a20c5c9f0653ce5a63dbc | 2,846 | lua | Lua | generation/interpolate.lua | shuizhilinxin/IcGAN | c4dfebc8c5a912ceacb9088d9ab0fa08b1ec6143 | [
"BSD-3-Clause"
] | 1 | 2018-03-16T04:50:42.000Z | 2018-03-16T04:50:42.000Z | generation/interpolate.lua | pranjalAI/IcGAN | 0c73cf846850ab8c4bdad9da56bce985e31fd21e | [
"BSD-3-Clause"
] | null | null | null | generation/interpolate.lua | pranjalAI/IcGAN | 0c73cf846850ab8c4bdad9da56bce985e31fd21e | [
"BSD-3-Clause"
] | null | null | null | require 'image'
require 'nn'
optnet = require 'optnet'
disp = require 'display'
torch.setdefaulttensortype('torch.FloatTensor')
assert(loadfile("cfg/generateConfig.lua"))(3)
-- one-line argument parser. Parses environment variables to override the defaults
for k,v in pairs(opt) do opt[k] = tonumber(os.getenv(k)) or os... | 30.602151 | 104 | 0.652495 |
d6f058df61709709366377ce94f1991147d5189f | 1,307 | asm | Assembly | examples/microblaze/crt0.asm | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 161 | 2020-05-31T03:29:42.000Z | 2022-03-07T08:36:19.000Z | examples/microblaze/crt0.asm | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 74 | 2020-05-26T18:05:48.000Z | 2021-02-13T21:55:39.000Z | examples/microblaze/crt0.asm | rakati/ppci-mirror | 8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2 | [
"BSD-2-Clause"
] | 19 | 2020-05-27T19:22:11.000Z | 2022-02-17T18:53:52.000Z |
section reset
; Reset vector:
; 0x0 = reset
bri _start
; 0x08 - break
; 0x10 - IRQ
; 0x18 - IRQ
; 0x20 - HW exceptions
_start:
; Setup stack
addik r1, r0, __data_start
; mts rslr, r1
; addik r1, r0, _sdata + 0x8000
; mts rshr, r1
;; Output 'A':
;imm 0x8400
;addik r6, r0, 4
;addik r5, r0, 0x41
;sw r5, r6, ... | 15.746988 | 119 | 0.683244 |