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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6a7edf90b21356785e8e6c866ff95bd25891cc98 | 203 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/intangible/beast/bm_baz_nitch.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/intangible/beast/bm_baz_nitch.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/intangible/beast/bm_baz_nitch.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_intangible_beast_bm_baz_nitch = object_intangible_beast_shared_bm_baz_nitch:new {
}
ObjectTemplates:addTemplate(object_intangible_beast_bm_baz_nitch, "object/intangible/beast/bm_baz_nitch.iff")
| 33.833333 | 109 | 0.8867 |
c22fdc05406f2f44fa7cee86f52afe44cb33e6b7 | 746 | swift | Swift | source/cardsmobile/Models/Certificate.swift | SergeyKolokolnikov/cardsmobile | fe55f6f1d19afdade7a293f940f50bc3fa4f43ee | [
"MIT"
] | null | null | null | source/cardsmobile/Models/Certificate.swift | SergeyKolokolnikov/cardsmobile | fe55f6f1d19afdade7a293f940f50bc3fa4f43ee | [
"MIT"
] | null | null | null | source/cardsmobile/Models/Certificate.swift | SergeyKolokolnikov/cardsmobile | fe55f6f1d19afdade7a293f940f50bc3fa4f43ee | [
"MIT"
] | null | null | null |
import Foundation
struct Certificate: Codable, Hashable {
let value: Double
let expireDate: String
private enum CodingKeys: String, CodingKey {
case value
case expireDate
}
func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: Certificat... | 28.692308 | 83 | 0.679625 |
0c97d3a32db9b335bffe637b1d619f3774455b40 | 2,930 | py | Python | createExeWindows.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | createExeWindows.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | createExeWindows.py | intel/RAAD | 9cca9e72ff61658191e30756bb260173d5600102 | [
"Intel",
"Apache-2.0"
] | null | null | null | # !/usr/bin/python3
# -*- coding: utf-8 -*-
# *****************************************************************************/
# * Authors: Daniel Garces, Joseph Tarango
# *****************************************************************************/
import os, datetime, traceback, optparse, shutil
import PyInstall... | 39.594595 | 121 | 0.509556 |
c44cca53509015e783e56c79b8cc086bd931f5cd | 682 | h | C | src/core/SkThreadPriv.h | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 111 | 2015-01-13T22:01:50.000Z | 2021-06-10T15:32:48.000Z | src/core/SkThreadPriv.h | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 129 | 2015-01-14T16:07:02.000Z | 2020-03-11T19:44:42.000Z | src/core/SkThreadPriv.h | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 64 | 2015-01-14T16:45:39.000Z | 2021-09-08T11:16:05.000Z | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkThreadPriv_DEFINED
#define SkThreadPriv_DEFINED
#include "SkTypes.h"
// SK_ATOMICS_PLATFORM_H must provide inline implementations for the following declarations.
... | 28.416667 | 100 | 0.755132 |
ab0c0827a14a2814fe83255c1609703518d3e13e | 3,225 | kt | Kotlin | common/src/main/java/com/kai/common/utils/RxNetworkObserver.kt | pressureKai/FreeRead | 73edc5e8b838f9ba89e5ac717051c15871120673 | [
"Apache-2.0"
] | null | null | null | common/src/main/java/com/kai/common/utils/RxNetworkObserver.kt | pressureKai/FreeRead | 73edc5e8b838f9ba89e5ac717051c15871120673 | [
"Apache-2.0"
] | null | null | null | common/src/main/java/com/kai/common/utils/RxNetworkObserver.kt | pressureKai/FreeRead | 73edc5e8b838f9ba89e5ac717051c15871120673 | [
"Apache-2.0"
] | 1 | 2021-05-31T08:40:06.000Z | 2021-05-31T08:40:06.000Z | package com.kai.common.utils
import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.net.ConnectivityManager
import android.os.Handler
import io.reactivex.rxjava3.disposables.Disposab... | 27.801724 | 106 | 0.618295 |
6e95b522dac3e1bca9cce8b1c8715637ed5a459c | 212 | swift | Swift | VIPER/Common/TitlableView.swift | ChrisAU/WireframeNavigation | 1d6c9745aaf74ec32e975539dc3ce440b336085e | [
"MIT"
] | 4 | 2018-03-01T14:33:46.000Z | 2019-05-16T18:21:13.000Z | VIPER/Common/TitlableView.swift | ChrisAU/WireframeNavigation | 1d6c9745aaf74ec32e975539dc3ce440b336085e | [
"MIT"
] | null | null | null | VIPER/Common/TitlableView.swift | ChrisAU/WireframeNavigation | 1d6c9745aaf74ec32e975539dc3ce440b336085e | [
"MIT"
] | null | null | null | import UIKit
protocol TitlableView {
func setTitle(_ title: String)
}
extension TitlableView where Self: UIViewController {
func setTitle(_ title: String) {
navigationItem.title = title
}
}
| 17.666667 | 53 | 0.70283 |
cbf4bc03993a899cec261ca8b69e224c02761c97 | 1,793 | go | Go | service/acfunLiveService.go | muzihuaner/liveproxy | 4349d6d93db8d2e4e9f51d89d7100ae0580b79e5 | [
"Apache-2.0"
] | 16 | 2020-07-28T04:42:54.000Z | 2021-10-06T15:55:45.000Z | service/acfunLiveService.go | ixinshang/liveproxy | 4349d6d93db8d2e4e9f51d89d7100ae0580b79e5 | [
"Apache-2.0"
] | 1 | 2021-05-06T01:14:59.000Z | 2021-05-07T07:06:29.000Z | service/acfunLiveService.go | ixinshang/liveproxy | 4349d6d93db8d2e4e9f51d89d7100ae0580b79e5 | [
"Apache-2.0"
] | 1 | 2022-01-24T13:07:38.000Z | 2022-01-24T13:07:38.000Z | package service
import (
"errors"
"github.com/asmcos/requests"
jsoniter "github.com/json-iterator/go"
)
type AcFunLiveService struct {
}
func (s *AcFunLiveService) GetPlayUrl(key string) (string, error) {
roomUrl := "https://id.app.acfun.cn/rest/app/visitor/login"
headers := requests.Header{
"content-type": "... | 29.393443 | 159 | 0.639152 |
62fe9bd6e2b161d4ec3e95d8b19daf6db91165a0 | 8,612 | rs | Rust | src/diagnostics/sampler/tests/test_topology.rs | Prajwal-Koirala/fuchsia | ca7ae6c143cd4c10bad9aa1869ffcc24c3e4b795 | [
"BSD-2-Clause"
] | 2 | 2021-12-29T10:11:08.000Z | 2022-01-04T15:37:09.000Z | src/diagnostics/sampler/tests/test_topology.rs | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | 2 | 2021-09-19T21:55:09.000Z | 2021-12-19T03:34:53.000Z | src/diagnostics/sampler/tests/test_topology.rs | PlugFox/fuchsia | 39afe5230d41628b3c736a6e384393df954968c8 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use crate::mocks;
use anyhow::Error;
use cm_rust;
use fidl_fuchsia_io2 as fio2;
use fuchsia_component::server::ServiceFs;
use fuchsia_component_test::{
... | 43.06 | 99 | 0.617743 |
e0f9b48d7d2c0ddfe755a2a490c43f6d7acb8dd8 | 4,558 | asm | Assembly | 45/beef/drv/kbd/inc/kbd_ibm.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | 45/beef/drv/kbd/inc/kbd_ibm.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | 45/beef/drv/kbd/inc/kbd_ibm.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | ;*
;* CW : Character Windows
;*
;* kbd_ibm.asm : standard IBM procedures (and helpers)
ifndef MkGetShiftStates_NonDefault
;*****************************************************************************
;********** MkGetShiftStatesKbd **********
;* * KBD entry point (see documentation for interface)
;* * return MK val... | 19.991228 | 83 | 0.634708 |
1661c8ce2aee04964a72118d5e4f853629801d5b | 1,728 | c | C | badger/tests/crc_selfcheck.c | FelixVi/Bedrock | 82072341902048e5b37022512909d209efb243d6 | [
"RSA-MD"
] | 17 | 2019-09-29T14:52:18.000Z | 2022-03-28T21:16:25.000Z | badger/tests/crc_selfcheck.c | FelixVi/Bedrock | 82072341902048e5b37022512909d209efb243d6 | [
"RSA-MD"
] | null | null | null | badger/tests/crc_selfcheck.c | FelixVi/Bedrock | 82072341902048e5b37022512909d209efb243d6 | [
"RSA-MD"
] | 4 | 2019-12-04T17:30:38.000Z | 2021-11-01T01:52:13.000Z | /* crc-selfcheck.c */
/* Larry Doolittle, LBNL */
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "crc32.h"
#define ETH_MAXLEN 1500 /* maximum line length */
struct pbuf {
char buf[ETH_MAXLEN+12];
int cur, len;
};
static int ethernet_check(char *packet, unsigned len)
{
char *p=packet;
uns... | 19.636364 | 63 | 0.605903 |
9c250a7ee687b62ec9f735be8767db81d1ad00dd | 6,582 | js | JavaScript | Practica 3/entrega2/Prototipo/papelDigital_JustinMind/review/screens/07431c30-0c3f-44bd-b7aa-28e0ec175514.js | carlostorralba/practicasDES_2021-22 | 60a6da025d558c43f68ad216b45b084d3906e136 | [
"MIT"
] | null | null | null | Practica 3/entrega2/Prototipo/papelDigital_JustinMind/review/screens/07431c30-0c3f-44bd-b7aa-28e0ec175514.js | carlostorralba/practicasDES_2021-22 | 60a6da025d558c43f68ad216b45b084d3906e136 | [
"MIT"
] | null | null | null | Practica 3/entrega2/Prototipo/papelDigital_JustinMind/review/screens/07431c30-0c3f-44bd-b7aa-28e0ec175514.js | carlostorralba/practicasDES_2021-22 | 60a6da025d558c43f68ad216b45b084d3906e136 | [
"MIT"
] | null | null | null | var content='<div class="ui-page" deviceName="iphonex" deviceType="mobile" deviceWidth="375" deviceHeight="565">\
<div id="t-f39803f7-df02-4169-93eb-7547fb8c961a" class="template growth-both devMobile devIOS canvas firer commentable non-processed" alignment="left" name="Template 1" width="375" height="812">\
<d... | 63.902913 | 235 | 0.631875 |
b308f238547e9775a37e65882b89d0df73b0abae | 378 | rb | Ruby | app/decorators/user_decorator.rb | subvisual/blog.subvisual.co | 271c481bbf9b2a40639c0e899b160df052f5985b | [
"MIT"
] | 3 | 2015-07-02T08:13:27.000Z | 2018-01-29T18:31:48.000Z | app/decorators/user_decorator.rb | subvisual/blog.subvisual.co | 271c481bbf9b2a40639c0e899b160df052f5985b | [
"MIT"
] | 45 | 2015-07-21T19:42:26.000Z | 2017-01-30T11:22:47.000Z | app/decorators/user_decorator.rb | subvisual/blog.subvisual.co | 271c481bbf9b2a40639c0e899b160df052f5985b | [
"MIT"
] | null | null | null | class UserDecorator < Draper::Decorator
delegate :first_name, :last_name, :email, :bio, :has_twitter?, :twitter_handle, :name
def photo_url(suffix = "")
h.image_url(photo_name(suffix))
end
def twitter_url
"https://twitter.com/#{twitter_handle}"
end
private
def photo_name(suffix = "")
"auth... | 21 | 87 | 0.693122 |
d93904b82123461b44fd917cf7fdcf26e9c5d2d7 | 9,711 | sql | SQL | assets/content-files/create_tables.sql | Sevitec/oneconnexx-docs | 1763255c5c4996105a3cb5b8659327ba9f6ca1e5 | [
"MIT"
] | 4 | 2016-10-26T19:50:10.000Z | 2017-09-22T10:56:12.000Z | assets/content-files/create_tables.sql | Sevitec/oneconnexx-docs | 1763255c5c4996105a3cb5b8659327ba9f6ca1e5 | [
"MIT"
] | 1 | 2016-12-23T21:00:46.000Z | 2017-06-01T14:02:34.000Z | assets/content-files/create_tables.sql | Sevitec/oneconnexx-docs | 1763255c5c4996105a3cb5b8659327ba9f6ca1e5 | [
"MIT"
] | 1 | 2016-12-16T12:24:23.000Z | 2016-12-16T12:24:23.000Z | /*
OneConnexx Datenbank Tabellen
Stand Mai 2019, OneConnexx Version 1.4.4
*/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Alert](
[Id] [int] IDENTITY(1,1) NOT NULL,
[InterfaceId] [int] NULL,
[Endpoint] [nvarchar](255) NULL,
[OnlyAtRuleViolation] [bit] NOT NULL,
[Recipient] ... | 34.931655 | 169 | 0.721038 |
0ca263d5ceb8c0df9da68a027a9e2c49d50656ac | 268 | py | Python | data/landice-5g/tiff_to_shp.py | scottsfarley93/IceSheetsViz | f4af84f16af875c5753dca6b8c173c253d9218d4 | [
"MIT"
] | null | null | null | data/landice-5g/tiff_to_shp.py | scottsfarley93/IceSheetsViz | f4af84f16af875c5753dca6b8c173c253d9218d4 | [
"MIT"
] | 1 | 2017-02-28T18:49:04.000Z | 2017-02-28T18:49:55.000Z | data/landice-5g/tiff_to_shp.py | scottsfarley93/IceSheetsViz | f4af84f16af875c5753dca6b8c173c253d9218d4 | [
"MIT"
] | null | null | null | import os
for filename in os.listdir("rasters"):
print filename
f = filename.replace(".tiff", "")
tiff = "rasters/" + filename
out = "shapefiles/" + f + ".shp"
cmd = "gdal_polygonize.py " + tiff + " -f 'ESRI Shapefile' " + out
os.system(cmd)
| 24.363636 | 70 | 0.589552 |
2300f9213ee25751ff612e179f5b6d0f5e386017 | 7,708 | swift | Swift | mindfull WatchKit Extension/BLManager.swift | muswolf432/mindfull | ffee1d59d39c6df19810dfa78f38af72e3a4506e | [
"MIT"
] | null | null | null | mindfull WatchKit Extension/BLManager.swift | muswolf432/mindfull | ffee1d59d39c6df19810dfa78f38af72e3a4506e | [
"MIT"
] | null | null | null | mindfull WatchKit Extension/BLManager.swift | muswolf432/mindfull | ffee1d59d39c6df19810dfa78f38af72e3a4506e | [
"MIT"
] | null | null | null | //
// BLManager.swift
// mindfull WatchKit Extension
//
// Created by Mustafa Iqbal on 01/07/2021.
// Copyright © 2021 Apple. All rights reserved.
//
import Foundation
import CoreBluetooth
import WatchKit
let heartRateServiceCBUUID = CBUUID(string: "0x180D")
let heartRateMeasurementCharacteristicCBUUID = CBUUID(s... | 40.145833 | 308 | 0.594577 |
bd566ddbb44a57719cb5cdea82dc1b763c388789 | 5,070 | rs | Rust | rust/loqui_connection/src/framed_io.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 147 | 2017-10-02T18:16:52.000Z | 2020-03-16T03:26:40.000Z | rust/loqui_connection/src/framed_io.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 14 | 2017-09-19T16:13:32.000Z | 2019-06-25T21:18:47.000Z | rust/loqui_connection/src/framed_io.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 25 | 2017-10-01T20:10:31.000Z | 2020-03-19T14:00:20.000Z | use crate::error::{LoquiError, LoquiErrorCode};
use bytesize::ByteSize;
use failure::Error;
use futures::sink::SinkExt;
use futures::stream::StreamExt;
use futures::stream::{SplitSink, SplitStream};
use loqui_protocol::{
codec::Codec,
error::ProtocolError,
frames::{GoAway, LoquiFrame},
};
use std::net::Shut... | 34.256757 | 98 | 0.57929 |
57a7711fd21db6344f3ff5016def527cca094279 | 4,832 | lua | Lua | scene/ragdogLib.lua | sedrew/Medals-and-Ordens-USSR | 73e2e97a9bd5e47f612b6789bd5e5cc521dc7c11 | [
"MIT"
] | 1 | 2020-09-22T11:30:50.000Z | 2020-09-22T11:30:50.000Z | scene/ragdogLib.lua | Aidar3456/Medals-and-Ordens-USSR | 2293a8a8ebdef666503294f488705f3a87ab2c05 | [
"MIT"
] | null | null | null | scene/ragdogLib.lua | Aidar3456/Medals-and-Ordens-USSR | 2293a8a8ebdef666503294f488705f3a87ab2c05 | [
"MIT"
] | 1 | 2020-09-22T11:30:55.000Z | 2020-09-22T11:30:55.000Z | ------------------------------------------------------------------------
---This library contains a few functions that we're gonna use in several
---parts of this template.
---We use various functions throughout our games and apps to speed up
---the most common practices.
---Each template only contains a handful of the... | 37.169231 | 242 | 0.683568 |
a663d20be8843c136d667e0b727e173f3a8c8cb5 | 78 | sql | SQL | src/test/resources/sql/insert/027849d1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/insert/027849d1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/insert/027849d1.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:date.sql ln:22 expect:true
INSERT INTO DATE_TBL VALUES ('2040-04-10')
| 26 | 42 | 0.730769 |
85b8bd3d8a271723958a0ed86292d3e0c487ca4d | 4,600 | js | JavaScript | pages/register.js | UNIZAR-30226-2022-04/Web | 9d6b01903cdf8e15c4f5563c94e171b1d393fb21 | [
"MIT"
] | 2 | 2022-02-24T11:42:24.000Z | 2022-02-28T11:04:50.000Z | pages/register.js | UNIZAR-30226-2022-04/Web | 9d6b01903cdf8e15c4f5563c94e171b1d393fb21 | [
"MIT"
] | null | null | null | pages/register.js | UNIZAR-30226-2022-04/Web | 9d6b01903cdf8e15c4f5563c94e171b1d393fb21 | [
"MIT"
] | 2 | 2022-02-24T11:41:46.000Z | 2022-02-24T12:45:00.000Z | import { useState, useEffect } from "react";
import { useRouter } from "next/router";
import Link from "next/link";
import Image from "next/image";
import Layout from "components/Layout";
import Meta from "components/Meta";
//import Lottie from 'react-lottie'
//import registerLottie from '/public/lottie/register.json'... | 25.988701 | 92 | 0.566957 |
ed922f89614121e902cd59b0dce0a453932ca2f7 | 375 | swift | Swift | Pitch Perfect/RecordedAudio.swift | mcberros/Pitch-Perfect | f7c27eb7ed5f40fa1777c849f9b5ae1d1c68bf05 | [
"MIT"
] | null | null | null | Pitch Perfect/RecordedAudio.swift | mcberros/Pitch-Perfect | f7c27eb7ed5f40fa1777c849f9b5ae1d1c68bf05 | [
"MIT"
] | null | null | null | Pitch Perfect/RecordedAudio.swift | mcberros/Pitch-Perfect | f7c27eb7ed5f40fa1777c849f9b5ae1d1c68bf05 | [
"MIT"
] | null | null | null | //
// RecordedAudio.swift
// Pitch Perfect
//
// Created by Carmen Berros on 25/10/15.
// Copyright © 2015 mcberros. All rights reserved.
//
import Foundation
final class RecordedAudio: NSObject{
var filePathURL: NSURL!
var title: String!
init(filePathURL: NSURL, title: String){
self.fileP... | 18.75 | 51 | 0.661333 |
8309b6c332955a84f75a704d2d5a6aa67519ad57 | 548 | rs | Rust | http/src/json.rs | arcanebot/twilight | 92edb1b734cbae8c0bf6a6ed8bb3efa36f9c2480 | [
"0BSD"
] | 1 | 2021-10-31T10:53:46.000Z | 2021-10-31T10:53:46.000Z | http/src/json.rs | arcanebot/twilight | 92edb1b734cbae8c0bf6a6ed8bb3efa36f9c2480 | [
"0BSD"
] | null | null | null | http/src/json.rs | arcanebot/twilight | 92edb1b734cbae8c0bf6a6ed8bb3efa36f9c2480 | [
"0BSD"
] | null | null | null | #[cfg(not(feature = "simd-json"))]
pub use serde_json::to_vec;
#[cfg(feature = "simd-json")]
pub use simd_json::to_vec;
use serde::Deserialize;
#[cfg(not(feature = "simd-json"))]
use serde_json::{from_slice as inner_from_slice, Result as JsonResult};
#[cfg(feature = "simd-json")]
use simd_json::{from_slice as inner_f... | 30.444444 | 77 | 0.713504 |
45a9e49c3ab842209f0a225c20500e5d0fa2c0be | 4,385 | rs | Rust | crates/toql_derive/src/to_tokens/query_fields.rs | roy-ganz/toql | 09104e16e921173d03f4a10410d311c939df1581 | [
"MIT"
] | 47 | 2019-05-15T18:17:40.000Z | 2022-03-09T09:49:33.000Z | crates/toql_derive/src/to_tokens/query_fields.rs | roy-ganz/toql | 09104e16e921173d03f4a10410d311c939df1581 | [
"MIT"
] | 8 | 2021-09-20T16:08:29.000Z | 2022-03-21T15:46:30.000Z | crates/toql_derive/src/to_tokens/query_fields.rs | roy-ganz/toql | 09104e16e921173d03f4a10410d311c939df1581 | [
"MIT"
] | 1 | 2020-11-01T03:21:18.000Z | 2020-11-01T03:21:18.000Z | use heck::SnakeCase;
use proc_macro2::{Span, TokenStream};
use quote::quote;
use syn::Ident;
use crate::parsed::{field::field_kind::FieldKind, parsed_struct::ParsedStruct};
pub(crate) fn to_tokens(parsed_struct: &ParsedStruct, tokens: &mut TokenStream) {
let mut builder_fields = Vec::new();
let mut key_compos... | 39.151786 | 124 | 0.519498 |
9c72f2fd16ae89337dae62697a243a9f11f56cf2 | 1,265 | js | JavaScript | src/matches.actions.js | garretjames/react-flux-dating-interface | 85e1555a77ba7f6de99bf156bd0684c3586fa5a0 | [
"MIT"
] | null | null | null | src/matches.actions.js | garretjames/react-flux-dating-interface | 85e1555a77ba7f6de99bf156bd0684c3586fa5a0 | [
"MIT"
] | null | null | null | src/matches.actions.js | garretjames/react-flux-dating-interface | 85e1555a77ba7f6de99bf156bd0684c3586fa5a0 | [
"MIT"
] | null | null | null | import { altUtils as alt } from "./alt.utils";
const BASE_URL = "https://randomuser.me/api/?";
const INIT_PARAMS =
"inc=id,gender,name,picture,phone,cell,email,dob&nat=US&results=50&seed=initMatches";
class MatchesActions {
getInitMatches() {
return dispatch => {
const requestOptions = {
method:... | 24.803922 | 87 | 0.56917 |
0808e9c3dabc7ecae5f0d72924cd146b60d54b3d | 9,656 | asm | Assembly | tools-src/gnu/gcc/gcc/config/rs6000/eabi.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 80 | 2015-01-02T10:14:04.000Z | 2021-06-07T06:29:49.000Z | tools-src/gnu/gcc/gcc/config/rs6000/eabi.asm | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 9 | 2015-05-14T11:03:12.000Z | 2018-01-04T07:12:58.000Z | tools-src/gnu/gcc/gcc/config/rs6000/eabi.asm | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /*
* Special support for eabi and SVR4
*
* Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
* Written By Michael Meissner
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software... | 32.186667 | 85 | 0.669739 |
5837ecbc3eb342f94ffa7fcc36085a9a489bc01c | 1,291 | kt | Kotlin | HiltSimple/app/src/main/java/com/hi/dhl/hilt/ui/HiltViewModel2.kt | zicen/AndroidX-Jetpack-Practice | fce9bba00f5b405fbbd1c020ca3c987aea516ba8 | [
"Apache-2.0"
] | null | null | null | HiltSimple/app/src/main/java/com/hi/dhl/hilt/ui/HiltViewModel2.kt | zicen/AndroidX-Jetpack-Practice | fce9bba00f5b405fbbd1c020ca3c987aea516ba8 | [
"Apache-2.0"
] | null | null | null | HiltSimple/app/src/main/java/com/hi/dhl/hilt/ui/HiltViewModel2.kt | zicen/AndroidX-Jetpack-Practice | fce9bba00f5b405fbbd1c020ca3c987aea516ba8 | [
"Apache-2.0"
] | null | null | null | package com.hi.dhl.hilt.ui
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import com.hi.dhl.paging3.data.local.PersonDao
import com.hi.dhl.paging3.data.local.PersonEntity
... | 26.895833 | 97 | 0.697909 |
82a95512db5721e2e69f5cad6927e5643bdec58d | 820 | kt | Kotlin | weatherapp/app/src/main/kotlin/fr/ekito/myweatherapp/view/detail/DetailPresenter.kt | Ekito/2018-android-architecture-components-workshop | 28b3dbddf6bb8002d1658b31bd08acf01f873f6e | [
"CC-BY-4.0"
] | 37 | 2018-03-15T20:17:44.000Z | 2018-10-18T15:22:31.000Z | app/src/main/kotlin/fr/ekito/myweatherapp/view/detail/DetailPresenter.kt | KotlinAndroidWorkshops/2019-android-architecture-components-workshop | efdba4e28bee049888aa1110d22a76a6590b6138 | [
"CC-BY-4.0"
] | 1 | 2018-11-12T14:31:58.000Z | 2018-11-12T14:31:58.000Z | app/src/main/kotlin/fr/ekito/myweatherapp/view/detail/DetailPresenter.kt | KotlinAndroidWorkshops/2019-android-architecture-components-workshop | efdba4e28bee049888aa1110d22a76a6590b6138 | [
"CC-BY-4.0"
] | 7 | 2018-04-24T12:36:49.000Z | 2018-10-18T14:16:47.000Z | package fr.ekito.myweatherapp.view.detail
import fr.ekito.myweatherapp.domain.repository.DailyForecastRepository
import fr.ekito.myweatherapp.util.mvp.RxPresenter
import fr.ekito.myweatherapp.util.rx.SchedulerProvider
import fr.ekito.myweatherapp.util.rx.with
class DetailPresenter(
private val dailyForecastReposi... | 35.652174 | 91 | 0.718293 |
077b1d19f24097c6ec8117d62d1c4c78f0b43fd7 | 842 | swift | Swift | Swift-Paper/Swift-Paper/Helper/Bubble/CustomShapeView.swift | shafiullakhan/Swift-Paper | 8e6e9abcad0f6724a412f5f45e40b7f9d737dfd1 | [
"MIT"
] | 1 | 2017-06-08T08:10:58.000Z | 2017-06-08T08:10:58.000Z | Swift-Paper/Swift-Paper/Helper/Bubble/CustomShapeView.swift | shafiullakhan/Swift-Paper | 8e6e9abcad0f6724a412f5f45e40b7f9d737dfd1 | [
"MIT"
] | null | null | null | Swift-Paper/Swift-Paper/Helper/Bubble/CustomShapeView.swift | shafiullakhan/Swift-Paper | 8e6e9abcad0f6724a412f5f45e40b7f9d737dfd1 | [
"MIT"
] | null | null | null | //
// CustomShapeView.swift
// Swift-Paper
//
// Created by Shaf on 8/5/15.
// Copyright (c) 2015 Shaffiulla. All rights reserved.
//
import UIKit
class CustomShapeView: UIView {
var shapeLayer:CAShapeLayer {
get {
return self.layer as! CAShapeLayer;
}
}
override var backgr... | 21.589744 | 101 | 0.598575 |
d5ab147f9b5f0c1f2181de6060b501518d916560 | 212 | sql | SQL | 9 - SQL/2738.sql | andrematte/uri-submissions | 796e7fee56650d9e882880318d6e7734038be2dc | [
"MIT"
] | 1 | 2020-09-09T12:48:09.000Z | 2020-09-09T12:48:09.000Z | 9 - SQL/2738.sql | andrematte/uri-submissions | 796e7fee56650d9e882880318d6e7734038be2dc | [
"MIT"
] | null | null | null | 9 - SQL/2738.sql | andrematte/uri-submissions | 796e7fee56650d9e882880318d6e7734038be2dc | [
"MIT"
] | null | null | null | -- URI Online Judge 2738
SELECT
candidate.name,
ROUND(((2.0*math) + (3.0*specific) + (5.0*project_plan))/10 ,2) AS avg
FROM candidate
JOIN score ON candidate.id = score.candidate_id
ORDER BY avg DESC | 26.5 | 72 | 0.688679 |
85e88bc80ea37c58b539d69761e2d337465a88a4 | 2,639 | h | C | src/test/benchmark/hyproBenchmark/supportFunction/benchmark_sf.h | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 22 | 2016-10-05T12:19:01.000Z | 2022-01-23T09:14:41.000Z | src/test/benchmark/hyproBenchmark/supportFunction/benchmark_sf.h | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 23 | 2017-05-08T15:02:39.000Z | 2021-11-03T16:43:39.000Z | src/test/benchmark/hyproBenchmark/supportFunction/benchmark_sf.h | hypro/hypro | 52ae4ffe0a8427977fce8d7979fffb82a1bc28f6 | [
"MIT"
] | 12 | 2017-06-07T23:51:09.000Z | 2022-01-04T13:06:21.000Z | #pragma once
#include "../Clock.h"
#include "../Results.h"
#include "../Settings.h"
#include "../types.h"
#include <hypro/flags.h>
#include <future>
#include <iostream>
#include <queue>
#include <random>
#include <hypro/representations/GeometricObjectBase.h>
namespace benchmark {
namespace sf {
Results<std::size_t> ... | 39.984848 | 115 | 0.687382 |
8753e9a62f297f27c4bfcf9e3f75862bf0fc1ed6 | 11,626 | rs | Rust | src/bezier/offset_scaling.rs | Logicalshift/flo_curves | fb0741dcb5c27a74e793df317d97971788a3079c | [
"Apache-2.0"
] | 53 | 2019-01-31T03:05:00.000Z | 2022-03-15T05:50:37.000Z | src/bezier/offset_scaling.rs | Logicalshift/flo_curves | fb0741dcb5c27a74e793df317d97971788a3079c | [
"Apache-2.0"
] | 17 | 2020-09-12T20:45:12.000Z | 2022-02-14T23:57:22.000Z | src/bezier/offset_scaling.rs | Logicalshift/flo_curves | fb0741dcb5c27a74e793df317d97971788a3079c | [
"Apache-2.0"
] | 5 | 2018-12-02T20:41:45.000Z | 2022-02-07T12:49:07.000Z | use super::curve::*;
use super::normal::*;
use super::characteristics::*;
use crate::geo::*;
use crate::line::*;
use crate::bezier::{CurveSection};
use smallvec::*;
use itertools::*;
// This is loosely based on the algorithm described at: https://pomax.github.io/bezierinfo/#offsetting,
// with numerous changes to all... | 47.453061 | 209 | 0.627387 |
55984ec8371a6c9bc0cbd82f3a590ff4d95b1f80 | 784 | html | HTML | manuscript/page-188/body.html | marvindanig/chronicles-of-avonlea | 2e00d6ff1154f974bb38c6ec24ce42a87d2f6776 | [
"CECILL-B"
] | null | null | null | manuscript/page-188/body.html | marvindanig/chronicles-of-avonlea | 2e00d6ff1154f974bb38c6ec24ce42a87d2f6776 | [
"CECILL-B"
] | null | null | null | manuscript/page-188/body.html | marvindanig/chronicles-of-avonlea | 2e00d6ff1154f974bb38c6ec24ce42a87d2f6776 | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p> and Naomi lay on it, with a lamp burning at her head and another at her side, although it was not yet dark. A great dread of darkness had always been one of Naomi’s peculiarities.</p><p>She was tossing restlessly on her poor couch, while Maggie crouched on a b... | 784 | 784 | 0.767857 |
e8f09f4acc1e578e6bbb291e4f8a3a87b3a0b297 | 908 | py | Python | chat/views.py | xiaoqiao99/chat | ca65ed25fbc277828390b890a50ecadf4675cfb4 | [
"MIT"
] | 2 | 2019-06-21T10:30:18.000Z | 2019-07-12T07:46:25.000Z | chat/views.py | xiaoqiao99/chat | ca65ed25fbc277828390b890a50ecadf4675cfb4 | [
"MIT"
] | 8 | 2020-06-05T19:56:53.000Z | 2022-03-11T23:41:44.000Z | chat/views.py | xiaoqiao99/chat | ca65ed25fbc277828390b890a50ecadf4675cfb4 | [
"MIT"
] | 3 | 2020-03-13T03:22:40.000Z | 2020-07-03T03:03:02.000Z | from django.shortcuts import render
# Create your views here.
# chat/views.py
from django.shortcuts import render
from django.utils.safestring import mark_safe
import json
from chat.models import Room
def index(request):
# from channels.layers import get_channel_layer
# from asgiref.sync import async_to_sync
... | 27.515152 | 93 | 0.654185 |
0e5262bc6aaa8c59da3cb6300746a937be5a4edb | 127 | html | HTML | docs/anchor.html | petrbouchal/urednici | f5f21bf5dbbcb8a6b46df25eec0b7085b6c1a83c | [
"MIT"
] | 1 | 2020-04-04T11:27:48.000Z | 2020-04-04T11:27:48.000Z | docs/anchor.html | petrbouchal/urednici | f5f21bf5dbbcb8a6b46df25eec0b7085b6c1a83c | [
"MIT"
] | null | null | null | docs/anchor.html | petrbouchal/urednici | f5f21bf5dbbcb8a6b46df25eec0b7085b6c1a83c | [
"MIT"
] | null | null | null | <script src='https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.0/anchor.js'></script>
<script>
anchors.add();
</script>
| 25.4 | 88 | 0.685039 |
e73f3782a3ae8b0ce126a092c6ebcb2645912fc1 | 2,140 | js | JavaScript | cypress/integration/behavioural/rulesDisabled.spec.js | terencejeong/schematik-forms | 93588672a847784cf1b1ed38a7fd8de56ee625b3 | [
"BSD-3-Clause"
] | 5 | 2019-04-24T01:01:15.000Z | 2020-08-12T06:07:26.000Z | cypress/integration/behavioural/rulesDisabled.spec.js | terencejeong/schematik-forms | 93588672a847784cf1b1ed38a7fd8de56ee625b3 | [
"BSD-3-Clause"
] | 10 | 2019-04-28T00:31:44.000Z | 2022-02-17T21:58:29.000Z | cypress/integration/behavioural/rulesDisabled.spec.js | terencejeong/schematik-forms | 93588672a847784cf1b1ed38a7fd8de56ee625b3 | [
"BSD-3-Clause"
] | 3 | 2020-02-12T21:23:39.000Z | 2021-01-14T10:16:03.000Z | context('Sanity check - Disabled property rule', () => {
beforeEach(() => {
cy.visit('http://localhost:8080/rules/disabled');
});
it('should enable the text input intially', () => {
cy.get('[name="group.second"]').should('to.have.prop', 'disabled', false);
});
it('disable the text input when `yes` is selecte... | 36.271186 | 77 | 0.607009 |
6526bd14e91e02ab2897caf04024aa618b204008 | 956 | py | Python | automon/integrations/slack/config.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 2 | 2021-09-15T18:35:44.000Z | 2022-01-18T05:36:54.000Z | automon/integrations/slack/config.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | 16 | 2021-08-29T22:51:53.000Z | 2022-03-09T16:08:19.000Z | automon/integrations/slack/config.py | TheShellLand/automonisaur | b5f304a44449b8664c93d8a8a3c3cf2d73aa0ce9 | [
"MIT"
] | null | null | null | import os
from automon.log import Logging
log = Logging(name=__name__, level=Logging.ERROR)
class ConfigSlack:
slack_name = os.getenv('SLACK_USER') or ''
slack_webhook = os.getenv('SLACK_WEBHOOK') or ''
slack_proxy = os.getenv('SLACK_PROXY') or ''
slack_token = os.getenv('SLACK_TOKEN') or ''
SL... | 35.407407 | 70 | 0.707113 |
ca8e49938c670e49eeda7ded2bf25dbda3f67818 | 1,540 | sql | SQL | evo-X-Scriptdev2/sql/Updates/0.0.2/r634_scriptdev2.sql | Gigelf-evo-X/evo-X | d0e68294d8cacfc7fb3aed5572f51d09a47136b9 | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | src/bindings/Scriptdev2/sql/Updates/0.0.2/r634_scriptdev2.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | src/bindings/Scriptdev2/sql/Updates/0.0.2/r634_scriptdev2.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | DROP TABLE IF EXISTS `script_texts`;
CREATE TABLE `script_texts` (
`ScriptName` varchar(255) NOT NULL default '',
`Id` int(11) unsigned NOT NULL default '0',
`Sound` int(11) unsigned NOT NULL default '0',
`Type` int(11) unsigned NOT NULL default '0',
`Language` int(11) unsigned NOT NULL default '0',
`Text` varchar(255)... | 42.777778 | 100 | 0.748701 |
b81c02d0ec4733d2f1797b5117dad4f50fa2e730 | 5,692 | kt | Kotlin | plugins/grazie/src/main/kotlin/com/intellij/grazie/ide/ui/grammar/tabs/rules/component/GrazieTreeComponent.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | plugins/grazie/src/main/kotlin/com/intellij/grazie/ide/ui/grammar/tabs/rules/component/GrazieTreeComponent.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | plugins/grazie/src/main/kotlin/com/intellij/grazie/ide/ui/grammar/tabs/rules/component/GrazieTreeComponent.kt | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.grazie.ide.ui.grammar.tabs.rules.component
import com.intellij.grazie.GrazieConfig
import com.intellij.grazie.ide.ui.components.GrazieUIComponent
import com.... | 38.459459 | 145 | 0.713457 |
087d43e504eed5975fd5efcd08bd7e051d15465b | 646 | go | Go | cmd/gen_static_prelude/prep.go | gijit/gi-minimal | 1aa4cc82ef6d45ce43cbf1744d50740fe8aff803 | [
"MIT"
] | 313 | 2018-01-13T22:09:53.000Z | 2022-01-01T21:50:51.000Z | cmd/gen_static_prelude/prep.go | gijit/gi-minimal | 1aa4cc82ef6d45ce43cbf1744d50740fe8aff803 | [
"MIT"
] | 57 | 2018-01-13T19:50:21.000Z | 2021-04-09T19:00:05.000Z | cmd/gen_static_prelude/prep.go | gijit/gi-minimal | 1aa4cc82ef6d45ce43cbf1744d50740fe8aff803 | [
"MIT"
] | 19 | 2018-02-09T15:34:45.000Z | 2020-10-03T19:57:49.000Z | // prep the prelude for static inclusion with the
// `gi` binary.
package main
import (
"fmt"
"net/http"
"os"
"github.com/shurcooL/vfsgen"
)
func main() {
gopath := os.Getenv("GOPATH")
compiler := gopath + "/src/github.com/gijit/gi/pkg/compiler"
prelude := compiler + "/prelude"
gentarget := compiler + "/pre... | 19.575758 | 72 | 0.659443 |
f44636b7708bb11326b4a2351cc870d521565341 | 331 | swift | Swift | weather/weather/Extensions/FileManager.swift | LinKeymy/weather | e941291e2618a483c27f9abcec70a67eab5c3cbc | [
"MIT"
] | null | null | null | weather/weather/Extensions/FileManager.swift | LinKeymy/weather | e941291e2618a483c27f9abcec70a67eab5c3cbc | [
"MIT"
] | null | null | null | weather/weather/Extensions/FileManager.swift | LinKeymy/weather | e941291e2618a483c27f9abcec70a67eab5c3cbc | [
"MIT"
] | null | null | null | //
// FileManager.swift
// Weather
//
// Created by SteveLin on 2018/2/12.
// Copyright © 2018年 alin. All rights reserved.
//
import Foundation
extension FileManager {
static var documentsDir: URL {
return FileManager.default.urls(
for: .documentDirectory,
in: .userDomainMask)[... | 18.388889 | 48 | 0.63142 |
701bdd8ff43ab646b0ed9416eb9287d60fac2ed7 | 4,254 | go | Go | src/ws/api/ws_market_client.go | xiaomingping/huobi_contract_golang | fc48de28904f598d8aca8d5a818907f8f6d6ec7b | [
"Apache-2.0"
] | 1 | 2022-03-18T16:19:42.000Z | 2022-03-18T16:19:42.000Z | src/ws/api/ws_market_client.go | xiaomingping/huobi_contract_golang | fc48de28904f598d8aca8d5a818907f8f6d6ec7b | [
"Apache-2.0"
] | 1 | 2022-03-19T10:01:58.000Z | 2022-03-20T12:21:01.000Z | src/ws/api/ws_market_client.go | xiaomingping/huobi_contract_golang | fc48de28904f598d8aca8d5a818907f8f6d6ec7b | [
"Apache-2.0"
] | 1 | 2022-03-18T16:19:49.000Z | 2022-03-18T16:19:49.000Z | package api
import (
"encoding/json"
"fmt"
"github.com/xiaomingping/huobi_contract_golang/src/config"
"github.com/xiaomingping/huobi_contract_golang/src/ws/request"
"github.com/xiaomingping/huobi_contract_golang/src/ws/response"
"reflect"
)
type WSMarketClient struct {
WebSocketOp
}
func (wsMk *WSMarketClient... | 30.604317 | 139 | 0.734603 |
9ae6b773df04f53dade34cba83c4fb2ad5a4d419 | 281 | css | CSS | addons/ewei_shopv2/plugin/open_farm/static/mobile/css/points.css | TransferStation/eweishop | c077ca187ebc2845becc08375352a85165ff6364 | [
"BSD-3-Clause"
] | null | null | null | addons/ewei_shopv2/plugin/open_farm/static/mobile/css/points.css | TransferStation/eweishop | c077ca187ebc2845becc08375352a85165ff6364 | [
"BSD-3-Clause"
] | null | null | null | addons/ewei_shopv2/plugin/open_farm/static/mobile/css/points.css | TransferStation/eweishop | c077ca187ebc2845becc08375352a85165ff6364 | [
"BSD-3-Clause"
] | null | null | null | .points{
width: 100vw;
height: 100vh;
}
.prompt_box{
width: 70%;
margin: 0 auto;
height: 2rem;
background-color: #E6F7FF;
color: rgba(0, 0, 0, 0.65);
text-align: center;
border: 1px solid #91D5FF ;
font-size: 0.8rem;
line-height: 2rem;
} | 18.733333 | 31 | 0.580071 |
0bbef143aadcae5c58d413377ab1531838539dab | 2,744 | tab | SQL | tests/naif_pds4_bundler/data/regression/ladee_spice/miscellaneous/checksum/checksum_v001.tab | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/data/regression/ladee_spice/miscellaneous/checksum/checksum_v001.tab | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | tests/naif_pds4_bundler/data/regression/ladee_spice/miscellaneous/checksum/checksum_v001.tab | NASA-PDS/naif-pds4-bundler | bd7207d157ec9cae60f42cb9ea387ac194b1671c | [
"Apache-2.0"
] | null | null | null | 38c10339833e7a6d898182203b426915 bundle_ladee_spice_v001.xml
223794728ab1b085b3b9fb168a9d81ac document/collection_document_inventory_v001.csv
3fbe10479a061fdb5747c852f23c16dc document/collection_document_v001.xml
3befd718bcd83e3ca2d43b75f3bb7359 document/spiceds_v001.html
188aa9a0e5046a0e09b86df16d2896da document/... | 70.358974 | 91 | 0.921283 |
ac38b34ca1cf1c50e3ba6de45f68d8caf9ee0cb7 | 11,520 | sql | SQL | powa--3.1.2--3.2.0.sql | ppetrov91/powa-archivist | 3f582813c9bad2e98b7c1d2b7d2ca232fde68f5f | [
"PostgreSQL"
] | null | null | null | powa--3.1.2--3.2.0.sql | ppetrov91/powa-archivist | 3f582813c9bad2e98b7c1d2b7d2ca232fde68f5f | [
"PostgreSQL"
] | null | null | null | powa--3.1.2--3.2.0.sql | ppetrov91/powa-archivist | 3f582813c9bad2e98b7c1d2b7d2ca232fde68f5f | [
"PostgreSQL"
] | null | null | null | -- complain if script is sourced in psql, rather than via CREATE EXTENSION
--\echo Use "ALTER EXTENSION powa" to load this file. \quit
/* pg_wait_sampling integration - part 1 */
CREATE TYPE public.wait_sampling_type AS (
ts timestamptz,
count bigint
);
/* pg_wait_sampling operator support */
CREATE TYPE wait... | 33.882353 | 130 | 0.715799 |
a2c07b164dd0e066437570048e470d72e1e0aea5 | 557 | asm | Assembly | oeis/010/A010059.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/010/A010059.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/010/A010059.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A010059: Another version of the Thue-Morse sequence: let A_k denote the first 2^k terms; then A_0 = 1 and for k >= 0, A_{k+1} = A_k B_k, where B_k is obtained from A_k by interchanging 0's and 1's.
; Submitted by Christian Krause
; 1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,... | 69.625 | 201 | 0.635548 |
e8e693322ca4748ac11e7ad6f26ec9749c3ce95e | 904 | py | Python | Python Notebook/Python files/data_utility.py | wilfy9249/Capstone-Fall-18 | 832632eb00a10240e0ad16c364449d5020814c83 | [
"MIT"
] | 2 | 2018-10-24T21:32:17.000Z | 2019-02-19T21:15:29.000Z | Python Notebook/Python files/data_utility.py | wilfy9249/Capstone-Fall-18 | 832632eb00a10240e0ad16c364449d5020814c83 | [
"MIT"
] | null | null | null | Python Notebook/Python files/data_utility.py | wilfy9249/Capstone-Fall-18 | 832632eb00a10240e0ad16c364449d5020814c83 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[1]:
import numpy as np
import pandas as pd
import os
# In[2]:
#function to get current directory
def getCurrentDirectory():
listDirectory = os.listdir('../')
return listDirectory
# In[3]:
#function to read csv file
def readCsvFile(path):
crimes_original =... | 14.580645 | 85 | 0.692478 |
cc277ae542c547efeab5e0fc5f9feb11acba947b | 19,673 | swift | Swift | TridentCockpitiOS/PastDivesViewController/PastDivesViewController.swift | DimaRU/TridentCockpit | 0c8f45fa0a6f0bad772e5ea36c800b9b0b279497 | [
"MIT"
] | 13 | 2019-11-15T11:07:20.000Z | 2022-03-24T11:12:18.000Z | TridentCockpitiOS/PastDivesViewController/PastDivesViewController.swift | DimaRU/TridentCockpit | 0c8f45fa0a6f0bad772e5ea36c800b9b0b279497 | [
"MIT"
] | 1 | 2019-12-30T22:10:07.000Z | 2019-12-30T22:10:07.000Z | TridentCockpitiOS/PastDivesViewController/PastDivesViewController.swift | DimaRU/TridentCockpit | 0c8f45fa0a6f0bad772e5ea36c800b9b0b279497 | [
"MIT"
] | 5 | 2019-12-25T21:12:49.000Z | 2020-11-17T07:26:21.000Z | /////
//// PastDivesViewController.swift
/// Copyright © 2020 Dmitriy Borovikov. All rights reserved.
//
import UIKit
import Kingfisher
import AVKit
import Shout
class PastDivesViewController: UIViewController {
@IBOutlet weak var collectionView: UICollectionView!
@IBOutlet weak var availableSpaceBar: Li... | 41.070981 | 184 | 0.64525 |
b2dc6929b15ae89ed88d8e3ef2cd52728dbd110e | 5,794 | py | Python | gui/Ui_sales_transaction.py | kim-song/kimsong-apriori | 0f2a4a2b749989ad1305da3836e7404c09482534 | [
"MIT"
] | 2 | 2020-07-17T09:36:56.000Z | 2020-12-11T11:36:11.000Z | gui/Ui_sales_transaction.py | kimsongsao/kimsong-apriori | 0f2a4a2b749989ad1305da3836e7404c09482534 | [
"MIT"
] | null | null | null | gui/Ui_sales_transaction.py | kimsongsao/kimsong-apriori | 0f2a4a2b749989ad1305da3836e7404c09482534 | [
"MIT"
] | 1 | 2020-07-17T09:23:15.000Z | 2020-07-17T09:23:15.000Z | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'd:\MITE12\ksapriori\gui\sales_transaction.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_FormSalesTransaction(ob... | 48.283333 | 101 | 0.681049 |
9e138e73572656b68df427c9253f390d0a40d0e7 | 47 | rs | Rust | src/lib.rs | 715209/mfa | 29118ba8b00c16a6f36fb547a1f8f6c5701b2868 | [
"MIT"
] | null | null | null | src/lib.rs | 715209/mfa | 29118ba8b00c16a6f36fb547a1f8f6c5701b2868 | [
"MIT"
] | null | null | null | src/lib.rs | 715209/mfa | 29118ba8b00c16a6f36fb547a1f8f6c5701b2868 | [
"MIT"
] | null | null | null | pub mod hmac_sha1;
pub mod hotp;
pub mod totp;
| 11.75 | 18 | 0.744681 |
504065756633765bd95e3853532cd460651575be | 3,054 | go | Go | gameboy/audio/audio.go | scottyw/tetromino | 6b424ea1dc255b32d3ad5ef8268964164b802ab1 | [
"Apache-2.0"
] | 4 | 2018-07-30T06:58:37.000Z | 2020-01-21T08:37:56.000Z | gameboy/audio/audio.go | scottyw/goomba | 128e701a2d8a5152a1a7d6710392faab8ab2d8d1 | [
"Apache-2.0"
] | null | null | null | gameboy/audio/audio.go | scottyw/goomba | 128e701a2d8a5152a1a7d6710392faab8ab2d8d1 | [
"Apache-2.0"
] | 1 | 2019-10-08T19:37:43.000Z | 2019-10-08T19:37:43.000Z | package audio
const (
frameSeqPeriod = 4194304 / 512 // 512Hz
samplerPeriod = 4194304 / 44100 // 44100 Hz
)
// Audio stream
type Audio struct {
l chan float32
r chan float32
ch1 *square
ch2 *square
ch3 *wave
ch4 *noise
control *control
... | 20.092105 | 118 | 0.57924 |
047cf253f511e51e82cb97c1c2c14016af1f2fc4 | 483 | swift | Swift | Driver/MVC/Core/View/BaseView/BaseXibView.swift | dathtcheapgo/Jira-Demo | 1df5317e59f349eb02c90fc1a0c2b2cb58ab8826 | [
"MIT"
] | null | null | null | Driver/MVC/Core/View/BaseView/BaseXibView.swift | dathtcheapgo/Jira-Demo | 1df5317e59f349eb02c90fc1a0c2b2cb58ab8826 | [
"MIT"
] | null | null | null | Driver/MVC/Core/View/BaseView/BaseXibView.swift | dathtcheapgo/Jira-Demo | 1df5317e59f349eb02c90fc1a0c2b2cb58ab8826 | [
"MIT"
] | null | null | null | //
// BaseXibView.swift
// rider
//
// Created by Đinh Anh Huy on 10/12/16.
// Copyright © 2016 Đinh Anh Huy. All rights reserved.
//
import UIKit
class BaseXibView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
initControl()
}
required init?(coder aDecoder: NS... | 17.888889 | 55 | 0.596273 |
b3ecbc8fb4a0c2304153f1a9f5523897a702a11b | 176 | sql | SQL | HabitsBackend/Habits-Service/src/main/resources/db/mysql/V1__Create_Habit_Table.sql | varunbhanot/Habits | ab7a2d3e91fe2a4fd8cec42da1e9c981659c6a45 | [
"MIT"
] | 6 | 2018-04-05T13:42:57.000Z | 2020-09-18T10:49:39.000Z | HabitsBackend/Habits-Service/src/main/resources/db/mysql/V1__Create_Habit_Table.sql | varunbhanot/Habits | ab7a2d3e91fe2a4fd8cec42da1e9c981659c6a45 | [
"MIT"
] | null | null | null | HabitsBackend/Habits-Service/src/main/resources/db/mysql/V1__Create_Habit_Table.sql | varunbhanot/Habits | ab7a2d3e91fe2a4fd8cec42da1e9c981659c6a45 | [
"MIT"
] | 3 | 2018-12-25T22:52:38.000Z | 2022-02-21T19:44:44.000Z | CREATE TABLE habit (
habit_id int not null auto_increment,
device_id VARCHAR(128),
name VARCHAR(128),
question VARCHAR(4000),
primary key(habit_id)
); | 25.142857 | 41 | 0.670455 |
7965618501f7b90bc9d4c5d4dbed4d3b6c558d9c | 370 | kt | Kotlin | networking/src/main/java/com/erevacation/networking/ApiService.kt | highmobdevelopment/userlist_anko | bbd48c924f601865988a4a82d3d1f328e866ff80 | [
"Apache-2.0"
] | null | null | null | networking/src/main/java/com/erevacation/networking/ApiService.kt | highmobdevelopment/userlist_anko | bbd48c924f601865988a4a82d3d1f328e866ff80 | [
"Apache-2.0"
] | null | null | null | networking/src/main/java/com/erevacation/networking/ApiService.kt | highmobdevelopment/userlist_anko | bbd48c924f601865988a4a82d3d1f328e866ff80 | [
"Apache-2.0"
] | null | null | null | package com.erevacation.networking
import com.erevacation.networking.networkmodel.ListNM
import com.erevacation.networking.networkmodel.ProductNM
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Query
interface ApiService {
@GET("highmobdevelopment/userlist/master/contacts.json")
... | 28.461538 | 60 | 0.827027 |
9bb16f893f1cd0be255902b01081ed96015dd1e0 | 3,084 | js | JavaScript | src/components/app/mock.js | fernandocamargo/recipositori.es | f3cf45c166a13536fcfe1184e3ae99a0abc9f795 | [
"Apache-2.0"
] | null | null | null | src/components/app/mock.js | fernandocamargo/recipositori.es | f3cf45c166a13536fcfe1184e3ae99a0abc9f795 | [
"Apache-2.0"
] | null | null | null | src/components/app/mock.js | fernandocamargo/recipositori.es | f3cf45c166a13536fcfe1184e3ae99a0abc9f795 | [
"Apache-2.0"
] | null | null | null | export const coordinates = [
{
id: 'azeite',
label: 'Azeite de oliva',
src: '/assets/image/trash/ingredient/01.png',
},
{
id: 'manteiga',
label: 'Manteiga',
src: '/assets/image/trash/ingredient/02.png',
},
{
id: 'cebola',
label: 'Cebola',
src: '/assets/image/trash/ingredien... | 20.423841 | 50 | 0.562905 |
bcd1c88221aff375bdc09950e02f3f770f4c2daf | 26,918 | js | JavaScript | dev/sheetdb.js | classroomtechtools/managebac_openapply_gsuite | e5d0d4ba839ab2d5b7e3f4f265ef170d73279e1b | [
"MIT"
] | 2 | 2019-05-14T03:56:58.000Z | 2022-02-16T20:08:01.000Z | dev/sheetdb.js | classroomtechtools/managebac_openapply_gsuite | e5d0d4ba839ab2d5b7e3f4f265ef170d73279e1b | [
"MIT"
] | null | null | null | dev/sheetdb.js | classroomtechtools/managebac_openapply_gsuite | e5d0d4ba839ab2d5b7e3f4f265ef170d73279e1b | [
"MIT"
] | null | null | null | /*
Wrapper for advanced sheets api that provides us common database operations
*/
'use strict';
/*
Build upon the globalContext (passed as this below) to define all our variables in the "app" variable
We'll have all the virtualized stuff there in the local stack (thus, name conflicts are still possible)
*/
(fun... | 30.833906 | 139 | 0.506984 |
7fc1931ea10d12569d9def39e0baa88b96ad9546 | 1,749 | rs | Rust | src/l2r/market/mean.rs | isabella232/Evokit | 54c21ff318b623a9c1ac168a2323ab2fdb4598cf | [
"Apache-2.0"
] | 60 | 2020-03-10T22:59:02.000Z | 2021-07-16T16:44:23.000Z | src/l2r/market/mean.rs | etsy/Evokit | 54c21ff318b623a9c1ac168a2323ab2fdb4598cf | [
"Apache-2.0"
] | 1 | 2021-04-05T09:47:44.000Z | 2021-04-05T09:47:44.000Z | src/l2r/market/mean.rs | isabella232/Evokit | 54c21ff318b623a9c1ac168a2323ab2fdb4598cf | [
"Apache-2.0"
] | 6 | 2020-03-13T00:27:54.000Z | 2021-04-05T09:47:26.000Z | use crate::l2r::market::utils::*;
/// Indicator for computing the mean
pub struct MeanIndicator {
/// name of the indicator. Also the query-level scorer to use
name: String,
/// Value to scale the score by
scale: Option<f32>,
}
impl MeanIndicator {
/// Returns a new MeanIndicator
pub fn new(na... | 27.328125 | 82 | 0.554603 |
3ea25d0b3b507fb8f5885d1cbcd0716b22cc82dc | 44,756 | h | C | Include/10.0.19041.0/shared/hidusage.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-29T06:22:17.000Z | 2021-11-28T08:21:38.000Z | Include/10.0.19041.0/shared/hidusage.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | null | null | null | Include/10.0.19041.0/shared/hidusage.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-30T04:15:11.000Z | 2021-11-28T08:48:56.000Z | /*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
HIDUSAGE.H
Abstract:
Public Definitions of HID USAGES.
Environment:
Kernel & user mode
--*/
#ifndef __HIDUSAGE_H__
#define __HIDUSAGE_H__
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PAR... | 56.724968 | 87 | 0.647824 |
6502f4ca30fdd305a49eeefeb8dc2c19d45c0e83 | 2,598 | py | Python | dit/divergences/tests/test_jensen_shannon_divergence.py | chebee7i/dit | 59626e34c7938fddeec140522dd2a592ba4f42ef | [
"BSD-2-Clause"
] | null | null | null | dit/divergences/tests/test_jensen_shannon_divergence.py | chebee7i/dit | 59626e34c7938fddeec140522dd2a592ba4f42ef | [
"BSD-2-Clause"
] | null | null | null | dit/divergences/tests/test_jensen_shannon_divergence.py | chebee7i/dit | 59626e34c7938fddeec140522dd2a592ba4f42ef | [
"BSD-2-Clause"
] | null | null | null | """
Tests for dit.divergences.jensen_shannon_divergence.
"""
from nose.tools import assert_almost_equal, assert_raises
from dit import Distribution
from dit.exceptions import ditException
from dit.divergences.jensen_shannon_divergence import (
jensen_shannon_divergence as JSD,
jensen_shannon_divergence_pmf as... | 30.928571 | 73 | 0.624326 |
1809b40cad024369a48918aa65302e8ab3737a6d | 2,454 | rb | Ruby | cookbooks/delivery-cluster/.delivery/build/cookbooks/delivery-matrix/libraries/delivery_change_db.rb | chef-boneyard/tf_delivery_cluster | 0c1bbe9dcea204e97afe0c0d221cc09b2a8b061d | [
"Apache-2.0"
] | 15 | 2015-05-02T20:52:19.000Z | 2015-09-04T03:19:38.000Z | cookbooks/delivery-cluster/.delivery/build/cookbooks/delivery-matrix/libraries/delivery_change_db.rb | chef-boneyard/tf_delivery_cluster | 0c1bbe9dcea204e97afe0c0d221cc09b2a8b061d | [
"Apache-2.0"
] | 70 | 2015-05-01T21:58:52.000Z | 2015-09-09T16:27:54.000Z | cookbooks/delivery-cluster/.delivery/build/cookbooks/delivery-matrix/libraries/delivery_change_db.rb | chef-boneyard/tf_delivery_cluster | 0c1bbe9dcea204e97afe0c0d221cc09b2a8b061d | [
"Apache-2.0"
] | 30 | 2015-10-07T01:00:47.000Z | 2017-03-27T11:20:21.000Z | class Chef
class Provider
class DeliveryChangeDb < Chef::Provider::LWRPBase
provides :delivery_change_db
use_inline_resources
action :create do
converge_by("Create Change Databag Item: #{change_id}") do
new_resource.updated_by_last_action(create_databag)
end
end... | 25.831579 | 119 | 0.602282 |
77d7e73d6b42870f00d41735b3c7c051aa4e32de | 1,775 | kt | Kotlin | lib/src/main/java/alexi/rxpreferences/Preference.kt | alexander-ischuk/reactive-preferences | 47c3b99fc1e63aa0a814b02d35d0135e6e84fc0e | [
"Apache-2.0"
] | 1 | 2019-03-06T20:11:57.000Z | 2019-03-06T20:11:57.000Z | lib/src/main/java/alexi/rxpreferences/Preference.kt | alexander-ischuk/reactive-preferences | 47c3b99fc1e63aa0a814b02d35d0135e6e84fc0e | [
"Apache-2.0"
] | null | null | null | lib/src/main/java/alexi/rxpreferences/Preference.kt | alexander-ischuk/reactive-preferences | 47c3b99fc1e63aa0a814b02d35d0135e6e84fc0e | [
"Apache-2.0"
] | null | null | null | package alexi.rxpreferences
import android.content.SharedPreferences
import android.content.SharedPreferences.OnSharedPreferenceChangeListener
import androidx.annotation.VisibleForTesting
import io.reactivex.Emitter
import io.reactivex.Observable
import io.reactivex.ObservableEmitter
abstract class Preference<T>(
... | 26.893939 | 91 | 0.647887 |
c8557c0781bf0605275a8b9ec989f77742a04e00 | 392 | rs | Rust | src/conf.rs | sdleffler/sludge | 3f3420c03dede328f59b4f8e0a604643ccca8ea1 | [
"MIT"
] | 5 | 2020-10-11T05:56:21.000Z | 2021-01-30T21:40:58.000Z | src/conf.rs | maximveligan/sludge | a01d883ab432ef318f059ecad9ec476cc7af2fd6 | [
"MIT"
] | 2 | 2020-11-03T03:31:54.000Z | 2020-11-03T03:33:06.000Z | src/conf.rs | maximveligan/sludge | a01d883ab432ef318f059ecad9ec476cc7af2fd6 | [
"MIT"
] | 1 | 2020-11-02T07:31:44.000Z | 2020-11-02T07:31:44.000Z | use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Conf {
pub window_title: String,
pub window_width: u32,
pub window_height: u32,
}
impl Default for Conf {
fn default() -> Self {
Self {
window_title: "SLUDGE \\m/".to_string(),
... | 20.631579 | 52 | 0.584184 |
fc4ea184306b1b47b4e37574fd9c552868421f70 | 1,224 | swift | Swift | Carthage/Checkouts/rxtfl/RxTfL/Classes/Swaggers/Models/Ticket.swift | simonrice/TVTubeStatus | 247ade5bd584764000ba11b1cc0f9c5f84d47770 | [
"MIT"
] | 1 | 2017-07-16T16:48:11.000Z | 2017-07-16T16:48:11.000Z | Carthage/Checkouts/rxtfl/RxTfL/Classes/Swaggers/Models/Ticket.swift | simonrice/TVTubeStatus | 247ade5bd584764000ba11b1cc0f9c5f84d47770 | [
"MIT"
] | null | null | null | Carthage/Checkouts/rxtfl/RxTfL/Classes/Swaggers/Models/Ticket.swift | simonrice/TVTubeStatus | 247ade5bd584764000ba11b1cc0f9c5f84d47770 | [
"MIT"
] | null | null | null | //
// Ticket.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
open class Ticket: JSONEncodable {
public var passengerType: String?
public var ticketType: TicketType?
public var ticketTime: TicketTime?
public var cost: String?
public ... | 30.6 | 85 | 0.686275 |
71840b439145aa69fb257afa0a478ce1f121aafc | 2,308 | kt | Kotlin | app/src/main/java/com/gamerguide/android/starterapp/MainActivity.kt | jeevakalaiselvam/android-kotlin-guide-configchange | 98f775a350e5ff72045dae8037c8fbd70f3804da | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/gamerguide/android/starterapp/MainActivity.kt | jeevakalaiselvam/android-kotlin-guide-configchange | 98f775a350e5ff72045dae8037c8fbd70f3804da | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/gamerguide/android/starterapp/MainActivity.kt | jeevakalaiselvam/android-kotlin-guide-configchange | 98f775a350e5ff72045dae8037c8fbd70f3804da | [
"Apache-2.0"
] | null | null | null | package com.gamerguide.android.starterapp
import android.content.Context
import android.content.res.Configuration
import androidx.appcompat.app.AppCompatActivity
import com.gamerguide.android.starterapp.helpers.BlurHelper
import io.github.inflationx.viewpump.ViewPumpContextWrapper
import android.os.Bundle
import andro... | 35.507692 | 82 | 0.684142 |
38d834ef6bb66111cdb5de6c43becce3b3a3d85c | 4,437 | h | C | qemu-4.2.0/target/hppa/helper.h | MisaZhu/qemu_raspi | 50d71ce87bb39470e6725f7428e4b6b9e1ed0359 | [
"Apache-2.0"
] | 8 | 2020-09-06T12:49:00.000Z | 2022-03-09T04:02:06.000Z | src/qemu/src-pmp/target/hppa/helper.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | null | null | null | src/qemu/src-pmp/target/hppa/helper.h | newthis/PMP | ef5e05fb4612bb622a9e1039f772c6234b87df7d | [
"MIT"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | #if TARGET_REGISTER_BITS == 64
# define dh_alias_tr i64
# define dh_is_64bit_tr 1
#else
# define dh_alias_tr i32
# define dh_is_64bit_tr 0
#endif
#define dh_ctype_tr target_ureg
#define dh_is_signed_tr 0
DEF_HELPER_2(excp, noreturn, env, int)
DEF_HELPER_FLAGS_2(tsv, TCG_CALL_NO_WG, void, env, tr)
DEF_H... | 45.742268 | 74 | 0.806851 |
b18bdaaf2161c9d3e5b304ec68d5693505cd1a43 | 1,975 | asm | Assembly | tests/assembly/LDY.asm | danecreekphotography/6502ts | 85716cf12f879d7c16c297de3251888c32abba6a | [
"MIT"
] | null | null | null | tests/assembly/LDY.asm | danecreekphotography/6502ts | 85716cf12f879d7c16c297de3251888c32abba6a | [
"MIT"
] | null | null | null | tests/assembly/LDY.asm | danecreekphotography/6502ts | 85716cf12f879d7c16c297de3251888c32abba6a | [
"MIT"
] | null | null | null | ; Verifies LDY with all applicable addressing modes
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.segment "ZEROPAGE"
; Used for zero page address mode testing
zp:
.byte $00 ; Padding so remaining bytes can be accessed in zeropage plus tests
.byte $42 ; Positive
.byte $00... | 28.623188 | 87 | 0.611139 |
540d5e2ffe2f034cfa01b578802d329153d785b3 | 990 | go | Go | pkg/apis/ignite/scheme/scheme.go | sftim/ignite | e612ef77b9fa92495917f23d43b282488fbf42e7 | [
"Apache-2.0"
] | null | null | null | pkg/apis/ignite/scheme/scheme.go | sftim/ignite | e612ef77b9fa92495917f23d43b282488fbf42e7 | [
"Apache-2.0"
] | null | null | null | pkg/apis/ignite/scheme/scheme.go | sftim/ignite | e612ef77b9fa92495917f23d43b282488fbf42e7 | [
"Apache-2.0"
] | 1 | 2021-04-05T13:10:51.000Z | 2021-04-05T13:10:51.000Z | package scheme
import (
"k8s.io/apimachinery/pkg/runtime"
k8sserializer "k8s.io/apimachinery/pkg/runtime/serializer"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
api "github.com/weaveworks/ignite/pkg/apis/ignite/v1alpha1"
"github.com/weaveworks/ignite/pkg/storage/serializer"
)
var (
// Scheme is the runt... | 30 | 88 | 0.785859 |
d49c2040de63ccc8d394b63922661e01b298c4f9 | 7,091 | asm | Assembly | bootloader/boot.asm | KeeProMise/KePOS | 0d26a46bfb5ef6514fe59261e4864c935a6fd614 | [
"Apache-2.0"
] | 72 | 2021-04-20T11:36:21.000Z | 2022-01-26T15:00:29.000Z | bootloader/boot.asm | buger-beep/KePOS | 9573946fce57da54f1ee89af1551fba0fb821d31 | [
"Apache-2.0"
] | null | null | null | bootloader/boot.asm | buger-beep/KePOS | 9573946fce57da54f1ee89af1551fba0fb821d31 | [
"Apache-2.0"
] | 2 | 2021-04-21T16:07:41.000Z | 2021-07-12T08:35:13.000Z | ;KePOS boot程序
org 0x7c00
BaseOfStack equ 0x7c00
BaseOfLoader equ 0x1000 ;设置loader.bin代码的起始物理地址
OffsetOfLoader equ 0x00
;=========================软盘文件系统(FAT12)相关数据====================================================
RootDirSectors equ 14 ;软盘根目录占14个扇区
SectorNumOfRootDirStart equ 19 ;根目录的开始... | 23.795302 | 116 | 0.584826 |
59a01a286eccdf4282daef3f30984988db0571aa | 190 | swift | Swift | SimpleRollCall/Starter/CalHacksDemo/Roll Call/ResultVC.swift | marcowmonfiglio/MDB | 4b8315dd1b7f89cae9d18e6c5c28b174c9dbc132 | [
"MIT"
] | null | null | null | SimpleRollCall/Starter/CalHacksDemo/Roll Call/ResultVC.swift | marcowmonfiglio/MDB | 4b8315dd1b7f89cae9d18e6c5c28b174c9dbc132 | [
"MIT"
] | null | null | null | SimpleRollCall/Starter/CalHacksDemo/Roll Call/ResultVC.swift | marcowmonfiglio/MDB | 4b8315dd1b7f89cae9d18e6c5c28b174c9dbc132 | [
"MIT"
] | null | null | null | //
// ResultVC.swift
// CalHacksDemo
//
// Created by Michael Lin on 8/26/20.
// Copyright © 2020 Michael Lin. All rights reserved.
//
import UIKit
class ResultVC: UIViewController {}
| 15.833333 | 54 | 0.689474 |
6bb8b2866f1333888e6dfe2b4841f734147091be | 799 | h | C | EUCBaseUI.framework/Headers/OKAAlbumController.h | TyhGB/EUCBaseUI | 55ab8b2a0d0789182cd9eb75b9ef04c1f2449349 | [
"MIT"
] | null | null | null | EUCBaseUI.framework/Headers/OKAAlbumController.h | TyhGB/EUCBaseUI | 55ab8b2a0d0789182cd9eb75b9ef04c1f2449349 | [
"MIT"
] | null | null | null | EUCBaseUI.framework/Headers/OKAAlbumController.h | TyhGB/EUCBaseUI | 55ab8b2a0d0789182cd9eb75b9ef04c1f2449349 | [
"MIT"
] | null | null | null | //
// OKAAlbumController.h
// OKAPhotosDemo
//
// Created by XXL on 2017/9/5.
// Copyright © 2017年 EasyMoveMobile. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, OKAFetchMediaType) {
OKAFetchMediaTypeAll = 0,
OKAFetchMediaTypeImage = 1,
OKAFetchMediaTypeVideo = 2,
... | 21.026316 | 68 | 0.767209 |
661d6011a672929214c498b81420162f5c35da33 | 304 | swift | Swift | VirtualTrainR/ViewController.swift | anthonyApptist/VirtualTrainR | d1b8cbb21473dd7f28321e43ace82c8e091adddc | [
"Apache-2.0"
] | null | null | null | VirtualTrainR/ViewController.swift | anthonyApptist/VirtualTrainR | d1b8cbb21473dd7f28321e43ace82c8e091adddc | [
"Apache-2.0"
] | null | null | null | VirtualTrainR/ViewController.swift | anthonyApptist/VirtualTrainR | d1b8cbb21473dd7f28321e43ace82c8e091adddc | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// VirtualTrainr
//
// Created by Mark Meritt on 2017-06-14.
// Copyright © 2017 Apptist. All rights reserved.
//
import Foundation
import UIKit
class ViewController : UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
}
| 16 | 50 | 0.654605 |
06c5848c38531f385240077e7c7ffaa430195943 | 207 | swift | Swift | SwiftSpriter/Classes/SpriteAnimationNode.swift | lumenlunae/SwiftSpriter | ee727480e9da3ab3880637d656f8ae8b41fb109a | [
"MIT"
] | null | null | null | SwiftSpriter/Classes/SpriteAnimationNode.swift | lumenlunae/SwiftSpriter | ee727480e9da3ab3880637d656f8ae8b41fb109a | [
"MIT"
] | null | null | null | SwiftSpriter/Classes/SpriteAnimationNode.swift | lumenlunae/SwiftSpriter | ee727480e9da3ab3880637d656f8ae8b41fb109a | [
"MIT"
] | null | null | null | //
// SpriteAnimationNode.swift
// Pods
//
// Created by Matt on 9/24/16.
//
//
import Foundation
import SpriteKit
public class SpriteAnimationNode: SKSpriteNode {
public var textureName: String?
}
| 13.8 | 48 | 0.710145 |
3dda62974b7b52e672bf658ed50752c91157cbb9 | 4,524 | rs | Rust | src/lib.rs | DrChat/rust-cab | e58c22316d10ca6aa37d17406e660fb708d0bc88 | [
"MIT"
] | 6 | 2019-12-06T05:16:58.000Z | 2021-09-21T11:47:25.000Z | src/lib.rs | DrChat/rust-cab | e58c22316d10ca6aa37d17406e660fb708d0bc88 | [
"MIT"
] | 7 | 2018-09-01T21:54:49.000Z | 2022-03-22T21:24:28.000Z | src/lib.rs | DrChat/rust-cab | e58c22316d10ca6aa37d17406e660fb708d0bc88 | [
"MIT"
] | 7 | 2018-09-21T06:28:35.000Z | 2022-03-15T09:32:27.000Z | //! A library for reading/writing [Windows
//! cabinet](https://en.wikipedia.org/wiki/Cabinet_(file_format)) (CAB) files.
//!
//! # Overview
//!
//! CAB is an archive file format used by Windows. A cabinet file can contain
//! multiple compressed files, which are divided into "folders" (no relation to
//! filesystem f... | 41.127273 | 79 | 0.627763 |
7d5a719975470b2d28acac5e84025ed6795692b9 | 9,940 | html | HTML | lei_11671.html | JefersonSOliveira/ProjetoConcursos | a87526eac19b7352fa27cb8664cd36737dcd2203 | [
"MIT"
] | null | null | null | lei_11671.html | JefersonSOliveira/ProjetoConcursos | a87526eac19b7352fa27cb8664cd36737dcd2203 | [
"MIT"
] | null | null | null | lei_11671.html | JefersonSOliveira/ProjetoConcursos | a87526eac19b7352fa27cb8664cd36737dcd2203 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta name="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="favicon.icon" href="logo.ico">
<link rel="stylesheet" type="text/css" href="02_stylo/stylo.css">
<title>11.671/2018</title>
</head>
<body>
<div id="i... | 82.833333 | 413 | 0.761771 |
0f74e70e254193248cb69daec29f7533e2bae34b | 3,881 | swift | Swift | SwiftDemo/View/YXCActivityView.swift | guoguangtao/SwiftDemo | 6b26fc9908485cb5a4a8518b91af29a593c56a02 | [
"MIT"
] | null | null | null | SwiftDemo/View/YXCActivityView.swift | guoguangtao/SwiftDemo | 6b26fc9908485cb5a4a8518b91af29a593c56a02 | [
"MIT"
] | null | null | null | SwiftDemo/View/YXCActivityView.swift | guoguangtao/SwiftDemo | 6b26fc9908485cb5a4a8518b91af29a593c56a02 | [
"MIT"
] | null | null | null | //
// YXCActivityView.swift
// SwiftDemo
//
// Created by lbkj on 2021/10/27.
// Copyright © 2021 GGT. All rights reserved.
//
import UIKit
class YXCActivityView: UIView {
/// 定时器
lazy private var displayLink: CADisplayLink = {
var link = CADisplayLink(target: self, selector: #selector(displayLink... | 30.320313 | 152 | 0.589796 |
7f30252a8f361a35617999cdf2d6d7c96ecd2a57 | 38,013 | rs | Rust | grep-regex/src/matcher.rs | tpai/ripgrep | 09108b7fda7af6db7c1c4f0366301f9a21cc485d | [
"MIT",
"Unlicense"
] | null | null | null | grep-regex/src/matcher.rs | tpai/ripgrep | 09108b7fda7af6db7c1c4f0366301f9a21cc485d | [
"MIT",
"Unlicense"
] | null | null | null | grep-regex/src/matcher.rs | tpai/ripgrep | 09108b7fda7af6db7c1c4f0366301f9a21cc485d | [
"MIT",
"Unlicense"
] | 1 | 2020-05-16T03:18:45.000Z | 2020-05-16T03:18:45.000Z | use std::collections::HashMap;
use grep_matcher::{
Captures, LineMatchKind, LineTerminator, Match, Matcher, NoError, ByteSet,
};
use regex::bytes::{CaptureLocations, Regex};
use config::{Config, ConfiguredHIR};
use crlf::CRLFMatcher;
use error::Error;
use multi::MultiLiteralMatcher;
use word::WordMatcher;
/// A ... | 35.895184 | 83 | 0.583721 |
fd6934592a67e5625bc0b0a22fadfa4f79b0a225 | 2,223 | swift | Swift | Sources/ShapeUp/CornerShape/EnumeratedCornerShape/CornerTriangle.swift | ryanlintott/ShapeUp | 1e6677c8e7cf80525b85519c2e0b880b339dd100 | [
"MIT"
] | 30 | 2022-03-24T13:39:10.000Z | 2022-03-31T14:37:32.000Z | Sources/ShapeUp/CornerShape/EnumeratedCornerShape/CornerTriangle.swift | ryanlintott/ShapeUp | 1e6677c8e7cf80525b85519c2e0b880b339dd100 | [
"MIT"
] | null | null | null | Sources/ShapeUp/CornerShape/EnumeratedCornerShape/CornerTriangle.swift | ryanlintott/ShapeUp | 1e6677c8e7cf80525b85519c2e0b880b339dd100 | [
"MIT"
] | null | null | null | //
// CornerTriangle.swift
// ShapeUp
//
// Created by Ryan Lintott on 2022-03-08.
//
import SwiftUI
/**
A triangular shape with an adjustable top point and individually stylable corners, aligned inside the frame of the view containing it.
The top point is positioned relative to the top left corner and the value ... | 34.734375 | 170 | 0.660819 |
e5a2dba05897a1888a4ba15f32336d975b549bbb | 796 | kt | Kotlin | app/src/main/java/abdullah/elamien/bloodbank/utils/PreferenceUtils.kt | AbduallahAtta/BloodBank | e165fe3ade9c04b4dba3f2b90e9b3ff457fb4b67 | [
"MIT"
] | 14 | 2019-06-27T20:07:52.000Z | 2020-03-17T06:02:07.000Z | app/src/main/java/abdullah/elamien/bloodbank/utils/PreferenceUtils.kt | AbduallahAtta/BloodBank | e165fe3ade9c04b4dba3f2b90e9b3ff457fb4b67 | [
"MIT"
] | null | null | null | app/src/main/java/abdullah/elamien/bloodbank/utils/PreferenceUtils.kt | AbduallahAtta/BloodBank | e165fe3ade9c04b4dba3f2b90e9b3ff457fb4b67 | [
"MIT"
] | 4 | 2019-06-29T20:21:58.000Z | 2020-02-13T17:33:08.000Z | package abdullah.elamien.bloodbank.utils
import abdullah.elamien.bloodbank.R
import android.content.Context
import androidx.preference.PreferenceManager
@Suppress("NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS")
class PreferenceUtils {
fun isNotificationsEnabled(context: Context): Boolean {
val prefere... | 33.166667 | 133 | 0.770101 |
5828532454ec951c4cc3f2597aa04e66e384f148 | 3,739 | rs | Rust | healer_core/src/ty/ptr.rs | SunHao-0/healer | ea7e71361b17f85e9c32faedbc9ef404c9384b8a | [
"Apache-2.0"
] | 180 | 2020-01-21T15:38:03.000Z | 2022-03-22T01:28:41.000Z | healer_core/src/ty/ptr.rs | Samhaosss/healer | 2efbb44c7dfaaa6749cd1541949b26fd1d2143fa | [
"Apache-2.0"
] | 22 | 2020-04-01T12:06:46.000Z | 2022-02-23T02:11:03.000Z | healer_core/src/ty/ptr.rs | Samhaosss/healer | 2efbb44c7dfaaa6749cd1541949b26fd1d2143fa | [
"Apache-2.0"
] | 26 | 2020-03-19T12:43:26.000Z | 2022-02-21T17:29:20.000Z | use crate::{
ty::{common::CommonInfo, Dir},
value::{PtrValue, Value, VmaValue},
};
use std::{fmt::Display, ops::RangeInclusive};
use super::TypeId;
#[derive(Debug, Clone)]
pub struct VmaType {
comm: CommonInfo,
range: Option<RangeInclusive<u64>>,
}
impl VmaType {
common_attr_getter! {}
defau... | 21.244318 | 72 | 0.538379 |
a1b3a896cb50d8d8881e214e879fcc2d4ad725c8 | 6,721 | go | Go | vendor/github.com/golang/leveldb/db/options.go | Yangjxxxxx/ZNBase | dcf993b73250dd5cb63041f4d9cf098941f67b2b | [
"MIT",
"BSD-3-Clause"
] | 1,252 | 2015-07-21T14:17:57.000Z | 2022-03-30T09:19:48.000Z | db/options.go | huangchulong/leveldb | 259d9253d71996b7778a3efb4144fe4892342b18 | [
"BSD-3-Clause"
] | 13 | 2015-07-28T07:06:24.000Z | 2021-07-08T19:57:54.000Z | db/options.go | huangchulong/leveldb | 259d9253d71996b7778a3efb4144fe4892342b18 | [
"BSD-3-Clause"
] | 176 | 2015-07-21T00:54:58.000Z | 2022-03-20T05:56:38.000Z | // Copyright 2011 The LevelDB-Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package db
// Compression is the per-block compression algorithm to use.
type Compression int
const (
DefaultCompression Compression = iota
NoCompre... | 28.478814 | 86 | 0.724743 |
cbc3da4918c8ef3f860d50ebd010c2ee1b3e4e9f | 474 | swift | Swift | test/Profiler/coverage_arg_ternary.swift | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 72,551 | 2015-12-03T16:45:13.000Z | 2022-03-31T18:57:59.000Z | test/Profiler/coverage_arg_ternary.swift | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 39,352 | 2015-12-03T16:55:06.000Z | 2022-03-31T23:43:41.000Z | test/Profiler/coverage_arg_ternary.swift | gandhi56/swift | 2d851ff61991bb8964079661339671c2fd21d88a | [
"Apache-2.0"
] | 13,845 | 2015-12-03T16:45:13.000Z | 2022-03-31T11:32:29.000Z | // RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sorted-sil -emit-sil -module-name coverage_arg_ternary %s | %FileCheck %s
// RUN: %target-swift-frontend -profile-generate -profile-coverage-mapping -emit-ir %s
var s: String?
// CHECK: sil_coverage_map {{.*}} "... | 47.4 | 180 | 0.691983 |
a8558aafe3753299be2ade85f78b3c782fd0c02e | 2,912 | rs | Rust | tests/am_cputests/src/cputests/add_u64.rs | RISCVERS/rust-xs-evaluation | 3ad19cf98ede9e8bc7546bf351e582c57b96888d | [
"MIT"
] | 3 | 2021-01-02T15:58:29.000Z | 2021-01-04T10:32:23.000Z | tests/am_cputests/src/cputests/add_u64.rs | SKTT1Ryze/rust-xs-evaluation | 3ad19cf98ede9e8bc7546bf351e582c57b96888d | [
"MIT"
] | null | null | null | tests/am_cputests/src/cputests/add_u64.rs | SKTT1Ryze/rust-xs-evaluation | 3ad19cf98ede9e8bc7546bf351e582c57b96888d | [
"MIT"
] | 1 | 2021-01-04T01:28:25.000Z | 2021-01-04T01:28:25.000Z | /// AddU64Test Implementation
use crate::benchmark::{BenchMark, CpuTestErr, xs_assert_eq};
use crate::alloc::{
vec::Vec,
vec,
string::String,
};
#[no_mangle]
pub struct AddU64Test {
test_data: Vec<u64>,
answer: Vec<u64>,
}
impl BenchMark<CpuTestErr> for AddU64Test {
fn new() -> Self {
... | 47.737705 | 1,167 | 0.691621 |
7983c20492b8ecc3e03fa850049bd4ec80d3b75e | 914 | asm | Assembly | test/test.Array.splitb.asm | richRemer/atlatl | 169c0c9c29d277dc1295e6c37b0963af6e02741a | [
"MIT"
] | null | null | null | test/test.Array.splitb.asm | richRemer/atlatl | 169c0c9c29d277dc1295e6c37b0963af6e02741a | [
"MIT"
] | null | null | null | test/test.Array.splitb.asm | richRemer/atlatl | 169c0c9c29d277dc1295e6c37b0963af6e02741a | [
"MIT"
] | null | null | null | global test_case
extern Array.splitb
extern Array.eachb
extern std.outb
extern std.outln
extern sys.error
%include "Array.inc"
section .text
test_case:
mov rax, test_array ; Array to split
mov rbx, 4 ; delimit with value 4
call Array.splitb ; split into two ... | 25.388889 | 76 | 0.588621 |
c3507fb6b9db04992f968eb475574ec5fc3ef95f | 2,240 | go | Go | identity/identity.go | ONSdigital/dp-commit-verifier | c821f56b03094da6de3ef02abfa0e50c74bd7852 | [
"MIT"
] | null | null | null | identity/identity.go | ONSdigital/dp-commit-verifier | c821f56b03094da6de3ef02abfa0e50c74bd7852 | [
"MIT"
] | null | null | null | identity/identity.go | ONSdigital/dp-commit-verifier | c821f56b03094da6de3ef02abfa0e50c74bd7852 | [
"MIT"
] | 1 | 2021-04-11T08:12:06.000Z | 2021-04-11T08:12:06.000Z | // Package identity provides functionality for validating the identity of a
// commit author.
package identity
import (
"io/ioutil"
"os"
"os/exec"
"regexp"
"github.com/google/go-github/github"
"golang.org/x/oauth2"
)
var client = func() *github.Client {
ts := oauth2.StaticTokenSource(&oauth2.Token{AccessToken... | 19.649123 | 95 | 0.64375 |
b126ba9bf9e2a2a78e899284ddeae336e6d07689 | 379 | css | CSS | django_admin_inline_paginator/static/django_admin_inline_paginator/paginator.css | aitorres/django-admin-inline-paginator | 759f598c9366de1902a21c802ba3fffac0e86274 | [
"MIT"
] | 54 | 2020-11-13T10:04:40.000Z | 2022-03-30T07:22:19.000Z | django_admin_inline_paginator/static/django_admin_inline_paginator/paginator.css | aitorres/django-admin-inline-paginator | 759f598c9366de1902a21c802ba3fffac0e86274 | [
"MIT"
] | 19 | 2020-12-21T09:49:04.000Z | 2022-03-08T10:03:47.000Z | django_admin_inline_paginator/static/django_admin_inline_paginator/paginator.css | aitorres/django-admin-inline-paginator | 759f598c9366de1902a21c802ba3fffac0e86274 | [
"MIT"
] | 12 | 2021-02-14T14:07:34.000Z | 2022-02-24T18:32:44.000Z | .btn-page {
border: none;
padding: 5px 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
margin: 4px 2px;
cursor: pointer;
}
.page-selected {
background-color: #ffffff;
color: #666;
}
.page-available {
background-color: #008cba;
color: white !important;
}... | 14.576923 | 28 | 0.656992 |
581a3eefcf42cafa994e0166fa4d04727746ba72 | 2,363 | h | C | src/Segues/PageTurn.h | ArthurCose/Swoosh | 249785d9a0365e52cb81eb63790a7b8b15105bec | [
"Zlib"
] | null | null | null | src/Segues/PageTurn.h | ArthurCose/Swoosh | 249785d9a0365e52cb81eb63790a7b8b15105bec | [
"Zlib"
] | null | null | null | src/Segues/PageTurn.h | ArthurCose/Swoosh | 249785d9a0365e52cb81eb63790a7b8b15105bec | [
"Zlib"
] | null | null | null | #pragma once
#include <Swoosh/Segue.h>
#include <Swoosh/Ease.h>
#include <Swoosh/Game.h>
#include <Swoosh/EmbedGLSL.h>
#include <Swoosh/Shaders.h>
using namespace swoosh;
/**
@class PageTurn
@brief Divides the screen into vertices that acts like a turning page, revealing the next sceen
@warning Even when mobile... | 25.684783 | 118 | 0.666102 |
8b2cf62d71174a85bb32194181ca3b7139647142 | 499 | kt | Kotlin | app/src/main/java/za/org/grassroot2/dagger/fragment/FragmentComponent.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | null | null | null | app/src/main/java/za/org/grassroot2/dagger/fragment/FragmentComponent.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | null | null | null | app/src/main/java/za/org/grassroot2/dagger/fragment/FragmentComponent.kt | grassrootza/grassroot-android-v2 | a5851bfe2790ea965ebb7330b8cbb48abf9c4d4c | [
"BSD-3-Clause"
] | 4 | 2018-02-11T11:58:59.000Z | 2018-03-06T13:52:48.000Z | package za.org.grassroot2.dagger.fragment
import dagger.Subcomponent
import za.org.grassroot2.view.fragment.AroundMeFragment
import za.org.grassroot2.view.fragment.HomeFragment
import za.org.grassroot2.view.fragment.MeFragment
/**
* Created by luke on 2017/08/08.
*/
@PerFragment
@Subcomponent(modules = arrayOf(Frag... | 27.722222 | 55 | 0.799599 |
081b513b73c5a70cc1ea29374def6122dc0a909a | 337 | swift | Swift | Tests/URLBuilderTests/TypeCorrectly.swift | Puasonych/URLBuilder | 232cf644fb92bbce60d045089238a098c8c389e9 | [
"MIT"
] | 3 | 2020-05-01T21:46:24.000Z | 2022-01-17T14:00:28.000Z | Tests/URLBuilderTests/TypeCorrectly.swift | Puasonych/URLBuilder | 232cf644fb92bbce60d045089238a098c8c389e9 | [
"MIT"
] | 2 | 2019-08-05T19:28:24.000Z | 2019-08-05T19:50:00.000Z | Tests/URLBuilderTests/TypeCorrectly.swift | ephedra-software/URLBuilder | 232cf644fb92bbce60d045089238a098c8c389e9 | [
"MIT"
] | null | null | null | //
// TypeCorrectly.swift
// URLBuilderTests
//
// Created by Eric Basargin on 22.07.2019.
//
import Foundation
struct TypeCorrectly<ExplicitType> {
private init() {}
static func compare(with _: ExplicitType) -> Bool {
return true
}
static func compare<T>(with _: T) -> Bool {
retu... | 16.047619 | 55 | 0.620178 |
c3e5ebbcecfd128681cc131de3c8742a330bc53e | 7,020 | rs | Rust | rust/loqui_server/src/connection_handler.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 147 | 2017-10-02T18:16:52.000Z | 2020-03-16T03:26:40.000Z | rust/loqui_server/src/connection_handler.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 14 | 2017-09-19T16:13:32.000Z | 2019-06-25T21:18:47.000Z | rust/loqui_server/src/connection_handler.rs | NorthIsUp/loqui | 8d394a7951fd3a82d109becc1aebbd9e7ccc894a | [
"MIT"
] | 25 | 2017-10-01T20:10:31.000Z | 2020-03-19T14:00:20.000Z | use crate::{Config, RequestHandler};
use bytesize::ByteSize;
use failure::Error;
use futures::sink::SinkExt;
use futures::stream::StreamExt;
use loqui_connection::handler::{DelegatedFrame, Handler, Ready};
use loqui_connection::{find_encoding, ReaderWriter};
use loqui_connection::{IdSequence, LoquiError};
use loqui_pro... | 31.909091 | 99 | 0.553561 |
9016cba5434a85d4f9d86b089ce0a52dbd1ead5d | 5,654 | swift | Swift | Example/Pods/Stem/Sources/Application/UIApplication.swift | Marmot-App/Marmot-iOS | d26b06b802c6870c88653d6249077140963c9232 | [
"MIT"
] | 1 | 2019-02-21T08:58:00.000Z | 2019-02-21T08:58:00.000Z | Example/Pods/Stem/Sources/Application/UIApplication.swift | Marmot-App/Marmot-iOS | d26b06b802c6870c88653d6249077140963c9232 | [
"MIT"
] | null | null | null | Example/Pods/Stem/Sources/Application/UIApplication.swift | Marmot-App/Marmot-iOS | d26b06b802c6870c88653d6249077140963c9232 | [
"MIT"
] | null | null | null | //
// Stem
//
// Copyright (c) 2017 linhay - https://github.com/linhay
//
// 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
... | 40.676259 | 133 | 0.649275 |
a8fbb141ee0eab635533520b0e59ee60d1210fae | 552 | sql | SQL | littlebreadloaf/Data/Database Schemas/blog.sql | ZombieFleshEaters/LittleBreadLoaf | 757337456ea28db3951b3eb3fc92bfd6f93651ed | [
"MIT"
] | 4 | 2019-01-20T23:08:14.000Z | 2021-01-14T14:27:33.000Z | littlebreadloaf/Data/Database Schemas/blog.sql | ZombieFleshEaters/littlebreadloaf | d508a75f48726065778e05b311a456d6dd485ea8 | [
"MIT"
] | 3 | 2019-10-24T19:28:53.000Z | 2019-11-05T10:14:26.000Z | littlebreadloaf/Data/Database Schemas/blog.sql | ZombieFleshEaters/LittleBreadLoaf | 757337456ea28db3951b3eb3fc92bfd6f93651ed | [
"MIT"
] | null | null | null | CREATE TABLE `blog` (
`BlogID` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`UserID` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`Title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`Description` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin N... | 50.181818 | 81 | 0.778986 |
af4949ef3ea444c85940c43b5028d095963d9014 | 450 | kt | Kotlin | _/Section05/app/src/main/java/com/packt/video05/SecondActivity.kt | paullewallencom/android-978-1-7898-0871-1 | 1741541212377473f8c8da055ba9568e40831480 | [
"Apache-2.0"
] | 8 | 2018-12-19T05:47:40.000Z | 2021-11-08T13:10:39.000Z | _/Section05/app/src/main/java/com/packt/video05/SecondActivity.kt | paullewallencom/android-978-1-7898-0871-1 | 1741541212377473f8c8da055ba9568e40831480 | [
"Apache-2.0"
] | null | null | null | _/Section05/app/src/main/java/com/packt/video05/SecondActivity.kt | paullewallencom/android-978-1-7898-0871-1 | 1741541212377473f8c8da055ba9568e40831480 | [
"Apache-2.0"
] | 2 | 2019-11-26T19:45:25.000Z | 2021-06-20T03:03:21.000Z | package com.packt.video05
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate
class SecondActivity : AppCompatActivity() {
init {
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO)
}
override fun onCreate(s... | 26.470588 | 80 | 0.771111 |
9955bb56b20c4d2816f103af537be00e6f672cbb | 1,081 | h | C | fs/ext4/e2fsprogs/contrib/android/perms.h | fIappy/janus | e0923b12f53b32019c1823e58edb401052eb547f | [
"MIT"
] | 1 | 2019-12-01T08:07:48.000Z | 2019-12-01T08:07:48.000Z | fs/ext4/e2fsprogs/contrib/android/perms.h | fIappy/janus | e0923b12f53b32019c1823e58edb401052eb547f | [
"MIT"
] | null | null | null | fs/ext4/e2fsprogs/contrib/android/perms.h | fIappy/janus | e0923b12f53b32019c1823e58edb401052eb547f | [
"MIT"
] | null | null | null | #ifndef ANDROID_PERMS_H
# define ANDROID_PERMS_H
# include "config.h"
# include <ext2fs/ext2fs.h>
typedef void (*fs_config_f)(const char *path, int dir,
const char *target_out_path,
unsigned *uid, unsigned *gid,
unsigned *mode, uint64_t *capabilities);
# ifdef _WIN32
struct selabel_handle;
stati... | 25.139535 | 61 | 0.66605 |
d56b89667265003b623e5bb7d09e0ef99e221d8b | 2,382 | asm | Assembly | externals/mpir-3.0.0/mpn/x86/rshift.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | 1 | 2018-08-14T03:52:21.000Z | 2018-08-14T03:52:21.000Z | externals/mpir-3.0.0/mpn/x86/rshift.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | null | null | null | externals/mpir-3.0.0/mpn/x86/rshift.asm | JaminChan/eos_win | c03e57151cfe152d0d3120abb13226f4df74f37e | [
"MIT"
] | null | null | null | dnl x86 mpn_rshift -- mpn right shift.
dnl Copyright 1992, 1994, 1996, 1999, 2000, 2001, 2002 Free Software
dnl Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Pub... | 23.584158 | 74 | 0.696893 |
1c6ebab3d957544d317c2c04371cb053ae116757 | 1,007 | swift | Swift | Sources/Injector/Resolvable.swift | Ericdowney/Swift-Injector | 47e0f1d365468c7a5b0713d2ab7f43ad94210952 | [
"MIT"
] | 1 | 2020-05-28T00:40:37.000Z | 2020-05-28T00:40:37.000Z | Sources/Injector/Resolvable.swift | Ericdowney/Swift-Injector | 47e0f1d365468c7a5b0713d2ab7f43ad94210952 | [
"MIT"
] | null | null | null | Sources/Injector/Resolvable.swift | Ericdowney/Swift-Injector | 47e0f1d365468c7a5b0713d2ab7f43ad94210952 | [
"MIT"
] | null | null | null |
import Foundation
/// Represents a class object that can be resolved through the Injector singleton. Any object conforming to Resolvable can be instantiated as Non-Optional or Optional through the use of .resolve().
public protocol Resolvable: class {
static func resolve<T: Resolvable>() throws -> T
static fu... | 33.566667 | 197 | 0.668322 |
5432f88e7fb81f3e80d45f744dd142bd29558645 | 2,706 | swift | Swift | library/swift/src/RetryPolicy.swift | kastiglione/envoy-mobile | 04253620eba277ac98842b62fbf043b99f56d589 | [
"Apache-2.0"
] | null | null | null | library/swift/src/RetryPolicy.swift | kastiglione/envoy-mobile | 04253620eba277ac98842b62fbf043b99f56d589 | [
"Apache-2.0"
] | null | null | null | library/swift/src/RetryPolicy.swift | kastiglione/envoy-mobile | 04253620eba277ac98842b62fbf043b99f56d589 | [
"Apache-2.0"
] | null | null | null | import Foundation
/// Rules that may be used with `RetryPolicy`.
/// See the `x-envoy-retry-on` Envoy header for documentation.
@objc
public enum RetryRule: Int, CaseIterable {
case status5xx
case gatewayError
case connectFailure
case retriable4xx
case refusedUpstream
/// String representation of this rul... | 34.253165 | 97 | 0.658167 |
fc9c2772dc0087d7dff2c239ae244d5e1467c7aa | 3,158 | css | CSS | build/lesson_13.css | olchikguselnikova/Lamps | b454f8ca97b59f2cf9c62f512abee940108b1d28 | [
"MIT"
] | null | null | null | build/lesson_13.css | olchikguselnikova/Lamps | b454f8ca97b59f2cf9c62f512abee940108b1d28 | [
"MIT"
] | null | null | null | build/lesson_13.css | olchikguselnikova/Lamps | b454f8ca97b59f2cf9c62f512abee940108b1d28 | [
"MIT"
] | null | null | null | .place-for-lamps {
display: -ms-flexbox;
display: flex;
-ms-flex-pack: justify;
justify-content: space-between;
margin-right: 15px;
height: 80px; }
.place-for-lamps :nth-child(2n+1) .lamp__circle_toggled {
background-color: #69a2f8; }
.lamp {
height: 100%;
-ms-flex-direction: column;
fl... | 27.224138 | 319 | 0.648195 |
e71b90e5a5df22cc2a39e90be3a05eadd6987744 | 6,247 | js | JavaScript | myGame/myGame2.js | JennaWu-Cardona/Alien-Game | 402e2667623c4d7970e5ce5e7e3c1cbf26ec18c3 | [
"MIT"
] | null | null | null | myGame/myGame2.js | JennaWu-Cardona/Alien-Game | 402e2667623c4d7970e5ce5e7e3c1cbf26ec18c3 | [
"MIT"
] | null | null | null | myGame/myGame2.js | JennaWu-Cardona/Alien-Game | 402e2667623c4d7970e5ce5e7e3c1cbf26ec18c3 | [
"MIT"
] | null | null | null | /*global Phaser game game_state eventFunctions*/
/*global Phaser*/
game_state.mainTwo = function() {};
game_state.mainTwo.prototype = {
preload: function() {
game.load.image('sky', 'assets/sky2.png');
game.load.image('debris', 'assets/planet.png');
game.load.spritesheet('alien', 'assets/... | 33.406417 | 97 | 0.581719 |
e412a9229c557309d9b8a687eb17042abf12ccdc | 89,942 | sql | SQL | koperasi_share.sql | Tahier/adminkop | 08b048386e8a543202c46e868e360e825d598188 | [
"MIT"
] | null | null | null | koperasi_share.sql | Tahier/adminkop | 08b048386e8a543202c46e868e360e825d598188 | [
"MIT"
] | null | null | null | koperasi_share.sql | Tahier/adminkop | 08b048386e8a543202c46e868e360e825d598188 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.4.10
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: Mar 04, 2016 at 01:47 PM
-- Server version: 5.5.42
-- PHP Version: 5.6.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `koperasi_share`
--
-- ---------------------... | 88.787759 | 630 | 0.679783 |
950bc47ef969de02b02b8e6fad905354f756a07c | 77 | lua | Lua | src/string/init.lua | kxmn/lunar | 765775d106af6b9c623b7142e6d2421f68159ced | [
"MIT"
] | null | null | null | src/string/init.lua | kxmn/lunar | 765775d106af6b9c623b7142e6d2421f68159ced | [
"MIT"
] | null | null | null | src/string/init.lua | kxmn/lunar | 765775d106af6b9c623b7142e6d2421f68159ced | [
"MIT"
] | null | null | null | --[[md:
## aurora.string - String utils
]]
return ondemand('aurora.string')
| 12.833333 | 32 | 0.662338 |
3dba7b9b0ce2d4e05b2e481ca3d79c14bb939efb | 860 | sql | SQL | week06/src/main/resources/03-customer_order.sql | himalia6/GeekJava000 | 89a934e2bf834ceb0c7594b3c5e19c7dc69190d6 | [
"Apache-2.0"
] | null | null | null | week06/src/main/resources/03-customer_order.sql | himalia6/GeekJava000 | 89a934e2bf834ceb0c7594b3c5e19c7dc69190d6 | [
"Apache-2.0"
] | null | null | null | week06/src/main/resources/03-customer_order.sql | himalia6/GeekJava000 | 89a934e2bf834ceb0c7594b3c5e19c7dc69190d6 | [
"Apache-2.0"
] | 3 | 2020-11-18T15:58:46.000Z | 2022-02-13T11:43:11.000Z | create table customer_order
(
id int auto_increment comment '实例ID'
primary key,
uuid varchar(64) not null comment '订单uuid',
customer_uuid varchar(64) not null comment '用户uuid',
item_name varchar(255) not null comment '订单ID',
items_total decimal default 0 not null comment '商品总额',
tax_fee decimal default 0 not nu... | 31.851852 | 66 | 0.767442 |
d1d83b03bbe598e44289a1eab49cb17a85015b23 | 371 | asm | Assembly | oeis/180/A180435.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/180/A180435.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/180/A180435.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A180435: a(n) = a(n-1)*2^n+n, a(0)=1.
; Submitted by Jon Maiga
; 1,3,14,115,1844,59013,3776838,483435271,123759429384,63364827844617,64885583712887818,132885675443994251275,544299726618600453222412,4458903360459574912797999117,73054672657769675371282417532942
mov $2,1
lpb $0
sub $0,1
add $1,$2
add $1,1
mul $... | 23.1875 | 196 | 0.725067 |