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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75231b6bd1a47ea274c433041bf05a5784de2502 | 1,265 | h | C | glthread/glthread.h | ancor1369/NetworkingImplementations | a8faca58bf472ea2ab660585afb470df140c56a1 | [
"MIT"
] | null | null | null | glthread/glthread.h | ancor1369/NetworkingImplementations | a8faca58bf472ea2ab660585afb470df140c56a1 | [
"MIT"
] | null | null | null | glthread/glthread.h | ancor1369/NetworkingImplementations | a8faca58bf472ea2ab660585afb470df140c56a1 | [
"MIT"
] | 1 | 2020-08-10T19:15:27.000Z | 2020-08-10T19:15:27.000Z | /*
* glthread.h
*
* Created on: May 10, 2020
* Author: andres
*/
#ifndef __GLTHREADS__
#define __GLTHREADS__
//Glued Doubled Linked list as a glued library
//Definition of a node, it does not have information about application info
//as a regular double linked list has.
typedef struct glthread_node_{
... | 20.737705 | 75 | 0.67747 |
1d7656bf064d8ec48baec1c74de82c6dfb19d17c | 4,520 | swift | Swift | src/interactions/TransitionSpring.swift | huangboju/material-motion-swift | 61c382aad4b70196aa16648a77d38039008aa594 | [
"Apache-2.0"
] | 1,500 | 2017-03-17T20:13:38.000Z | 2022-03-16T09:29:32.000Z | src/interactions/TransitionSpring.swift | huangboju/material-motion-swift | 61c382aad4b70196aa16648a77d38039008aa594 | [
"Apache-2.0"
] | 76 | 2017-03-16T19:33:41.000Z | 2020-02-04T07:05:03.000Z | src/interactions/TransitionSpring.swift | material-motion/reactive-motion-swift | fae8c59f53066e1d3fe6c5d39192e0c51303a656 | [
"Apache-2.0"
] | 103 | 2017-03-28T21:12:37.000Z | 2021-02-04T18:43:36.000Z | /*
Copyright 2016-present The Material Motion Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | 38.965517 | 193 | 0.763053 |
bc133e5572f000f9f8cebf53a358f5cf1aa3f3c8 | 2,596 | swift | Swift | JetBeepExample/JetBeepExample/NotificationController.swift | jetbeep/ios-sdk | ba917b256741755f1946b7b83f57336fb40e2cd7 | [
"MIT"
] | 1 | 2020-06-17T08:35:59.000Z | 2020-06-17T08:35:59.000Z | JetBeepExample/JetBeepExample/NotificationController.swift | jetbeep/ios-sdk | ba917b256741755f1946b7b83f57336fb40e2cd7 | [
"MIT"
] | null | null | null | JetBeepExample/JetBeepExample/NotificationController.swift | jetbeep/ios-sdk | ba917b256741755f1946b7b83f57336fb40e2cd7 | [
"MIT"
] | null | null | null | //
// NotificationController.swift
// JetBeepExample
//
// Created by Max Tymchii on 3/5/19.
// Copyright © 2019 Max Tymchii. All rights reserved.
//
import Foundation
import UserNotifications
import JetBeepFramework
import Promises
final class NotificationController {
static let shared = NotificationControll... | 37.085714 | 155 | 0.571263 |
20dc1a534e929fbb7d9aa116776be3b5178368fa | 267 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/storyteller/prop/pr_item_burning_man.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/tangible/storyteller/prop/pr_item_burning_man.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/tangible/storyteller/prop/pr_item_burning_man.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_storyteller_prop_pr_item_burning_man = object_tangible_storyteller_prop_shared_pr_item_burning_man:new {
}
ObjectTemplates:addTemplate(object_tangible_storyteller_prop_pr_item_burning_man, "object/tangible/storyteller/prop/pr_item_burning_man.iff")
| 44.5 | 141 | 0.910112 |
03a1912e3be22267fc20513bfb316cd630de7b5b | 348 | sql | SQL | openGaussBase/testcase/KEYWORDS/like/Opengauss_Function_Keyword_Like_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/like/Opengauss_Function_Keyword_Like_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | openGaussBase/testcase/KEYWORDS/like/Opengauss_Function_Keyword_Like_Case0019.sql | opengauss-mirror/Yat | aef107a8304b94e5d99b4f1f36eb46755eb8919e | [
"MulanPSL-1.0"
] | null | null | null | -- @testpoint: opengauss关键字like(保留),作为外部数据源名 合理报错
--关键字不带引号-合理报错
create data source like;
--关键字带双引号-成功
drop data source if exists "like";
create data source "like";
drop data source "like";
--关键字带单引号-合理报错
drop data source if exists 'like';
create data source 'like';
--关键字带反引号-合理报错
drop data source if exists `like`;... | 19.333333 | 49 | 0.738506 |
29225c29c0ef2d078b1a85a1638923973d360a26 | 3,772 | py | Python | pandas_ta/volatility/rvi.py | codesutras/pandas-ta | 78598df9cfd2f165553262e85ae4c0392598d48c | [
"MIT"
] | 1 | 2021-11-07T19:09:01.000Z | 2021-11-07T19:09:01.000Z | pandas_ta/volatility/rvi.py | codesutras/pandas-ta | 78598df9cfd2f165553262e85ae4c0392598d48c | [
"MIT"
] | null | null | null | pandas_ta/volatility/rvi.py | codesutras/pandas-ta | 78598df9cfd2f165553262e85ae4c0392598d48c | [
"MIT"
] | 1 | 2022-02-16T12:46:32.000Z | 2022-02-16T12:46:32.000Z | # -*- coding: utf-8 -*-
from pandas_ta.overlap import ma
from pandas_ta.statistics import stdev
from pandas_ta.utils import get_drift, get_offset
from pandas_ta.utils import unsigned_differences, verify_series
def rvi(close, high=None, low=None, length=None, scalar=None, refined=None, thirds=None, mamode=None, drift=... | 32.239316 | 137 | 0.655355 |
5a07c54ec76d12852364b712e4eff5e83d6ea957 | 2,855 | rs | Rust | src/interfaces/websocket.rs | felipeZ/flusso | c41520b7c9fdede4c34eb8a510a89d57e318e824 | [
"Apache-2.0"
] | null | null | null | src/interfaces/websocket.rs | felipeZ/flusso | c41520b7c9fdede4c34eb8a510a89d57e318e824 | [
"Apache-2.0"
] | null | null | null | src/interfaces/websocket.rs | felipeZ/flusso | c41520b7c9fdede4c34eb8a510a89d57e318e824 | [
"Apache-2.0"
] | null | null | null | /*!
## Websocket consumer
*/
use async_channel;
use async_tungstenite::async_std::{connect_async, ConnectStream};
use async_tungstenite::tungstenite::protocol::Message;
use async_tungstenite::WebSocketStream;
use crate::pipe::Pipe;
use crate::utils;
use async_std::task;
use futures::stream::{SplitSink, SplitStream... | 27.990196 | 89 | 0.603503 |
c7b81308c39af95731bac254109d7297e0ab46e4 | 10,569 | py | Python | geotrek/altimetry/helpers.py | Cynthia-Borot-PNE/Geotrek-admin | abd9ca8569a7e35ef7473f5b52731b1c78668754 | [
"BSD-2-Clause"
] | null | null | null | geotrek/altimetry/helpers.py | Cynthia-Borot-PNE/Geotrek-admin | abd9ca8569a7e35ef7473f5b52731b1c78668754 | [
"BSD-2-Clause"
] | null | null | null | geotrek/altimetry/helpers.py | Cynthia-Borot-PNE/Geotrek-admin | abd9ca8569a7e35ef7473f5b52731b1c78668754 | [
"BSD-2-Clause"
] | null | null | null | import logging
from django.contrib.gis.geos import GEOSGeometry
from django.utils.translation import ugettext as _
from django.contrib.gis.geos import LineString
from django.conf import settings
from django.db import connection
import pygal
from pygal.style import LightSolarizedStyle
logger = logging.getLogger(__na... | 42.789474 | 98 | 0.536002 |
0ba40eb83c69821a416e50be4bddb8886aa2cb30 | 578 | py | Python | tests/test_codecs.py | reece/et | 41977444a95ac8b8af7a73706f1e18634914d37f | [
"MIT"
] | null | null | null | tests/test_codecs.py | reece/et | 41977444a95ac8b8af7a73706f1e18634914d37f | [
"MIT"
] | null | null | null | tests/test_codecs.py | reece/et | 41977444a95ac8b8af7a73706f1e18634914d37f | [
"MIT"
] | null | null | null | import et.codecs
tests = [
{
"data": 0,
"e_data": {
1: b'\x00\x010',
2: b'\x00\x02x\x9c3\x00\x00\x001\x001'
}
},
{
"data": {},
"e_data": {
1: b'\x00\x01{}',
2: b'\x00\x02x\x9c\xab\xae\x05\x00\x01u\x00\xf9'
}
... | 19.931034 | 79 | 0.448097 |
d25a244fb38f5825ac31d4981382c7c64b375fa0 | 261 | php | PHP | src/Models/AttributeType.php | pwrdk/laravel-custom-attributes | 832a63836f847cc4dc000ce598935222488d6de1 | [
"MIT"
] | 3 | 2020-07-08T22:07:38.000Z | 2020-12-21T19:37:11.000Z | src/Models/AttributeType.php | pwrdk/laravel-custom-attributes | 832a63836f847cc4dc000ce598935222488d6de1 | [
"MIT"
] | 1 | 2021-03-10T20:02:11.000Z | 2021-03-10T20:02:11.000Z | src/Models/AttributeType.php | pwrdk/laravel-custom-attributes | 832a63836f847cc4dc000ce598935222488d6de1 | [
"MIT"
] | null | null | null | <?php
namespace PWRDK\CustomAttributes\Models;
use Illuminate\Database\Eloquent\Model;
class AttributeType extends Model
{
protected $guarded = [];
public function keys()
{
return $this->hasMany(AttributeKey::class, 'type_id');
}
}
| 15.352941 | 62 | 0.681992 |
98a3b74d69c5985eae702511153d8c0b361be119 | 1,404 | html | HTML | Solutions/MyLife/day.html | NorrskenFoundation/Unsolved19 | bfd1a2b9ec64bbf3d8adf3c50713c8b0bb46ff77 | [
"ADSL"
] | 2 | 2019-09-13T14:21:49.000Z | 2019-09-19T20:05:09.000Z | Solutions/MyLife/day.html | NorrskenFoundation/Unsolved19 | bfd1a2b9ec64bbf3d8adf3c50713c8b0bb46ff77 | [
"ADSL"
] | 36 | 2020-02-29T04:55:50.000Z | 2022-03-30T23:48:19.000Z | Solutions/MyLife/day.html | NorrskenFoundation/Unsolved19 | bfd1a2b9ec64bbf3d8adf3c50713c8b0bb46ff77 | [
"ADSL"
] | 2 | 2019-09-16T15:37:38.000Z | 2019-09-17T16:45:47.000Z | <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css?family=DM+Sans&display=swap" rel="stylesheet">
<title>Today<... | 24.206897 | 96 | 0.494302 |
6524ddc76b9d96636b484cb312a74bd2db7d7c66 | 12,593 | rs | Rust | jni-android-sys/src/generated/api-level-29/android/view/WindowInsets_Builder.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/view/WindowInsets_Builder.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | jni-android-sys/src/generated/api-level-29/android/view/WindowInsets_Builder.rs | sjeohp/jni-bindgen | 848121402484f114fa978e8d4b4c19379f9e22a8 | [
"Apache-2.0",
"MIT"
] | null | null | null | // WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-view-WindowInsets_Builder"))]
__jni_bindgen! {
/// public final class [WindowInsets.Builder](https://developer.android.com/reference/android/view/WindowInsets.Builder.htm... | 94.684211 | 392 | 0.684507 |
4219ad92f49df2067e755aaad2763de7ca3ba2c7 | 2,241 | sql | SQL | chapter_007/src/main/java/ru/job4j/uml/uml.sql | AlekseySidorenko/aleksey_sidorenko | 31a737273421a1b40fc97dde4e15ad76e56be149 | [
"Apache-2.0"
] | null | null | null | chapter_007/src/main/java/ru/job4j/uml/uml.sql | AlekseySidorenko/aleksey_sidorenko | 31a737273421a1b40fc97dde4e15ad76e56be149 | [
"Apache-2.0"
] | 2 | 2021-12-10T01:12:25.000Z | 2021-12-14T21:18:10.000Z | chapter_007/src/main/java/ru/job4j/uml/uml.sql | AlekseySidorenko/aleksey_sidorenko | 31a737273421a1b40fc97dde4e15ad76e56be149 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE rules (
id SERIAL PRIMARY KEY,
name VARCHAR(50),
description VARCHAR(200)
);
CREATE TABLE roles (
id SERIAL PRIMARY KEY,
name VARCHAR(50),
description VARCHAR(200),
rule_id INT REFERENCES rules(id)
);
CREATE TABLE users (
id SERIAL PRIMARY KEY,... | 26.364706 | 66 | 0.660419 |
966d1131f0480d7389a76aca994643e6a2f35fb5 | 988 | php | PHP | app/Book.php | macghriogair/book-library | dc04509f926ccf1e723beb573eaaf8970e61e726 | [
"MIT"
] | null | null | null | app/Book.php | macghriogair/book-library | dc04509f926ccf1e723beb573eaaf8970e61e726 | [
"MIT"
] | null | null | null | app/Book.php | macghriogair/book-library | dc04509f926ccf1e723beb573eaaf8970e61e726 | [
"MIT"
] | null | null | null | <?php
namespace App;
use App\Borrow;
use Illuminate\Database\Eloquent\Model;
use DB;
class Book extends Model
{
public function users()
{
return $this->belongsTo(User::class);
}
public function isAvailable()
{
return $this->available;
}
public function scopeAvailable($qu... | 19 | 73 | 0.54251 |
48f1b4d644d20e65f7ffe9f5d173f79af952029d | 301 | kt | Kotlin | app/src/main/java/com/tipchou/sunshineboxiii/entity/local/DownloadLocal.kt | chenyuey/SunshineBoxIII | 39dd2dcace5f6f3bf48f2cf96ad0e5e998e8596b | [
"MIT"
] | null | null | null | app/src/main/java/com/tipchou/sunshineboxiii/entity/local/DownloadLocal.kt | chenyuey/SunshineBoxIII | 39dd2dcace5f6f3bf48f2cf96ad0e5e998e8596b | [
"MIT"
] | null | null | null | app/src/main/java/com/tipchou/sunshineboxiii/entity/local/DownloadLocal.kt | chenyuey/SunshineBoxIII | 39dd2dcace5f6f3bf48f2cf96ad0e5e998e8596b | [
"MIT"
] | 2 | 2018-06-19T07:42:33.000Z | 2018-07-18T10:00:50.000Z | package com.tipchou.sunshineboxiii.entity.local
import io.objectbox.annotation.Entity
import io.objectbox.annotation.Id
/**
* Created by 邵励治 on 2018/5/2.
* Perfect Code
*/
@Entity
class DownloadLocal(@Id var id: Long = 0, val objectId: String, var publishedUrl: String?, var stagingUrl: String?)
| 25.083333 | 115 | 0.757475 |
d758a13df089ffe868a9ff323211dfecc837fbef | 674 | asm | Assembly | programs/oeis/020/A020873.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/020/A020873.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/020/A020873.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A020873: a(n) = number of cycles in Moebius ladder M_n.
; 2,3,7,15,29,53,95,171,313,585,1115,2159,4229,8349,16567,32979,65777,131345,262451,524631,1048957,2097573,4194767,8389115,16777769,33555033,67109515,134218431,268436213,536871725,1073742695,2147484579,4294968289,8589935649,17179870307,34359739559,68719477997,13... | 48.142857 | 515 | 0.81454 |
27fec5ad6511dfedd3979f4fc79aa6e9893f4142 | 2,154 | kt | Kotlin | provider/src/main/kotlin/de/qhun/declaration_provider/provider/github/GithubFileDownloader.kt | wartoshika/wow-declaration-provider | bc26206f36ae06bdc9cb3e206b4baa22e8bcaf82 | [
"MIT"
] | null | null | null | provider/src/main/kotlin/de/qhun/declaration_provider/provider/github/GithubFileDownloader.kt | wartoshika/wow-declaration-provider | bc26206f36ae06bdc9cb3e206b4baa22e8bcaf82 | [
"MIT"
] | null | null | null | provider/src/main/kotlin/de/qhun/declaration_provider/provider/github/GithubFileDownloader.kt | wartoshika/wow-declaration-provider | bc26206f36ae06bdc9cb3e206b4baa22e8bcaf82 | [
"MIT"
] | null | null | null | package de.qhun.declaration_provider.provider.github
import de.qhun.declaration_provider.domain.WowVersion
import de.qhun.declaration_provider.domain.helper.mapChunked
import kotlinx.coroutines.coroutineScope
import okhttp3.OkHttpClient
import okhttp3.Request
import org.json.JSONArray
import org.json.JSONObject
@Supp... | 34.190476 | 98 | 0.58403 |
3da675e2562cf076290bda885834cfb25ec424f1 | 580 | rs | Rust | src/utils/value_util.rs | insanebaba/rbatis | bc615e6f5aab7e3773c8f554f8125e0f808aa169 | [
"Apache-2.0"
] | null | null | null | src/utils/value_util.rs | insanebaba/rbatis | bc615e6f5aab7e3773c8f554f8125e0f808aa169 | [
"Apache-2.0"
] | 1 | 2020-08-29T01:15:14.000Z | 2020-08-29T01:15:14.000Z | src/utils/value_util.rs | insanebaba/rbatis | bc615e6f5aab7e3773c8f554f8125e0f808aa169 | [
"Apache-2.0"
] | null | null | null | use serde_json::json;
use serde_json::Value;
//深度取值。例如a.b.c 最终得到c.如果不存在返回Value::Null
pub fn get_deep_value(arg: &str, value: &Value) -> Value {
let splits: Vec<&str> = arg.split(".").collect();
let mut v = value;
for item in splits {
if item.is_empty() {
continue;
}
v =... | 20.714286 | 58 | 0.525862 |
e3a52ce1355b4fb63db14eee2ae345daa2a32f74 | 9,656 | kt | Kotlin | src/main/kotlin/tel/schich/kognigy/protocol/SocketIoPacket.kt | pschichtel/Kognigy | 46b6d888a33fabf2e8b0bd23b678dd12cec74099 | [
"MIT"
] | null | null | null | src/main/kotlin/tel/schich/kognigy/protocol/SocketIoPacket.kt | pschichtel/Kognigy | 46b6d888a33fabf2e8b0bd23b678dd12cec74099 | [
"MIT"
] | 9 | 2021-07-17T12:26:21.000Z | 2021-07-29T18:01:23.000Z | src/main/kotlin/tel/schich/kognigy/protocol/SocketIoPacket.kt | pschichtel/Kognigy | 46b6d888a33fabf2e8b0bd23b678dd12cec74099 | [
"MIT"
] | null | null | null | package tel.schich.kognigy.protocol
import kotlinx.serialization.SerializationException
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonArray
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonNull
import kotlinx.... | 34.120141 | 106 | 0.593103 |
70dfb228b649e0925a92da5c79ce1fa0aa23d1b3 | 8,852 | h | C | motioncorr_v2.1/src/SP++3/include/linequs1-impl.h | cianfrocco-lab/Motion-correction | c77ee034bba2ef184837e070dde43f75d8a4e1e7 | [
"MIT"
] | 11 | 2016-09-05T21:14:25.000Z | 2022-02-18T21:31:34.000Z | src/SP++3/include/linequs1-impl.h | wjiang/motioncorr | 14ed37d1cc72e55d1592e78e3dda758cd46a3698 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 5 | 2017-04-24T12:26:42.000Z | 2020-06-29T11:43:34.000Z | src/SP++3/include/linequs1-impl.h | wjiang/motioncorr | 14ed37d1cc72e55d1592e78e3dda758cd46a3698 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 9 | 2016-04-26T10:14:20.000Z | 2020-10-14T07:34:59.000Z | /*
* Copyright (c) 2008-2011 Zhang Ming (M. Zhang), zmjerry@163.com
*
* This program 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 Foundation, either version 2 or any later version.
*
* Redistribution and ... | 27.749216 | 84 | 0.492318 |
2651b89ebd8b89c5529be10be55b659c99d49d60 | 488 | java | Java | delivery/app-release_source_from_JADX/com/paypal/android/sdk/payments/bs.java | ANDROFAST/delivery_articulos | ddcc8b06d7ea2895ccda2e13c179c658703fec96 | [
"Apache-2.0"
] | null | null | null | delivery/app-release_source_from_JADX/com/paypal/android/sdk/payments/bs.java | ANDROFAST/delivery_articulos | ddcc8b06d7ea2895ccda2e13c179c658703fec96 | [
"Apache-2.0"
] | null | null | null | delivery/app-release_source_from_JADX/com/paypal/android/sdk/payments/bs.java | ANDROFAST/delivery_articulos | ddcc8b06d7ea2895ccda2e13c179c658703fec96 | [
"Apache-2.0"
] | null | null | null | package com.paypal.android.sdk.payments;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
final class bs implements OnClickListener {
private /* synthetic */ PaymentMethodActivity f977a;
bs(PaymentMethodActivity paymentMethodActivity) {
this.f977a = paym... | 27.111111 | 71 | 0.739754 |
7204efbd1422f45f259e7f777b50b267baa79f8f | 3,418 | swift | Swift | OperationKit/Networking/NetworkOperation.swift | floschliep/OperationKit | 3da52561c75f2d80b3a469af5460d0202b8337a2 | [
"MIT"
] | 1 | 2019-03-30T11:04:18.000Z | 2019-03-30T11:04:18.000Z | OperationKit/Networking/NetworkOperation.swift | floschliep/OperationKit | 3da52561c75f2d80b3a469af5460d0202b8337a2 | [
"MIT"
] | 1 | 2018-07-16T20:43:32.000Z | 2018-07-16T20:44:38.000Z | OperationKit/Networking/NetworkOperation.swift | floschliep/OperationKit | 3da52561c75f2d80b3a469af5460d0202b8337a2 | [
"MIT"
] | null | null | null | //
// NetworkOperation.swift
// OperationKit
//
// Created by Florian Schliep on 22.01.18.
// Copyright © 2018 Florian Schliep. All rights reserved.
//
import Foundation
open class NetworkOperation<ResultType, TaskResultType>: AsyncOperation<ResultType, NSError> {
public typealias NetworkResponseEvaluati... | 29.213675 | 140 | 0.619661 |
5c96acacbffdf15fd0d543110e682e3d75e70ed0 | 1,182 | h | C | src/crypto/sha256/sha256.h | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | src/crypto/sha256/sha256.h | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | src/crypto/sha256/sha256.h | sga001/vex | fb4e8890ebb307ce35f6d38ef0dc15f0bb046b54 | [
"CC0-1.0"
] | null | null | null | #ifndef _VEX_SHA256_H
#define _VEX_SHA256_H
#include <stdint.h>
#include <stddef.h>
#include <endian.h>
#define SHA256_DIGEST_SIZE 32
#define SHA256_WORDS 8
#define SHA_TYPE 1 // 1 = AVX, 2 = SSE4, 3 = RORX, 4 = RORX8
typedef struct {
uint64_t totalLength;
uint64_t blocks;
uint32_t hash[SHA256_WORDS];
... | 25.695652 | 86 | 0.757191 |
74e0927cbb782e19975fb2133a14996f693ce24c | 546 | kt | Kotlin | idea/testData/completion/smart/EmptyPrefix.kt | chashnikov/kotlin | 88a261234860ff0014e3c2dd8e64072c685d442d | [
"Apache-2.0"
] | 1 | 2017-09-10T07:15:28.000Z | 2017-09-10T07:15:28.000Z | idea/testData/completion/smart/EmptyPrefix.kt | hhariri/kotlin | d150bfbce0e2e47d687f39e2fd233ea55b2ccd26 | [
"Apache-2.0"
] | null | null | null | idea/testData/completion/smart/EmptyPrefix.kt | hhariri/kotlin | d150bfbce0e2e47d687f39e2fd233ea55b2ccd26 | [
"Apache-2.0"
] | null | null | null | open class Foo
class Bar : Foo()
val foo = Foo()
val bar = Bar()
val o : Any = ""
fun f(p1 : Foo, p2 : Bar, p3 : String, p4 : Foo?) {
var a : Foo
a = <caret>
}
fun f1() : Foo{}
fun f2() : Bar{}
fun f3() : String{}
// EXIST: foo
// EXIST: bar
// ABSENT: o
// EXIST: p1
// EXIST: p2
// ABSENT: p3
// ABSENT: { ... | 18.2 | 51 | 0.551282 |
fb0716d2ee5fa752f230f8a4ad66d911647c6199 | 428 | php | PHP | app/PressReleasesModel.php | ourworkspace/omniyat | 19985aa74553216e6fd8b81be4212e383b14c82f | [
"MIT"
] | null | null | null | app/PressReleasesModel.php | ourworkspace/omniyat | 19985aa74553216e6fd8b81be4212e383b14c82f | [
"MIT"
] | null | null | null | app/PressReleasesModel.php | ourworkspace/omniyat | 19985aa74553216e6fd8b81be4212e383b14c82f | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PressReleasesModel extends Model
{
protected $table = 'press_releases';
protected $fillable = ['category_id','title','short_description','long_description','thumb_image','large_image','pdf_file','date','status'];
public function category... | 25.176471 | 144 | 0.712617 |
42091ed0deaa085287d705fbcef3b5b1091ed8de | 101 | lua | Lua | cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsDebugDraw.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | 34 | 2017-08-16T13:58:24.000Z | 2022-03-31T11:50:25.000Z | cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsDebugDraw.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | null | null | null | cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsDebugDraw.lua | weiDDD/particleSystem | 32652b09da35e025956999227f08be83b5d79cb1 | [
"Apache-2.0"
] | 17 | 2017-08-18T07:42:44.000Z | 2022-01-02T02:43:06.000Z |
--------------------------------
-- @module PhysicsDebugDraw
-- @parent_module cc
return nil
| 14.428571 | 33 | 0.455446 |
c7f4d4871ed25632563eb91b4441d716c68c2909 | 4,174 | java | Java | src/test/java/com/basistech/tclre/osgitest/OsgiBundleIT.java | basis-technology-corp/tcl-regex-java | dc5651a570f4b84779b13f5e1901cc589c5fc1df | [
"Apache-2.0"
] | 24 | 2015-01-20T22:55:55.000Z | 2021-05-29T00:09:42.000Z | src/test/java/com/basistech/tclre/osgitest/OsgiBundleIT.java | basis-technology-corp/tcl-regex-java | dc5651a570f4b84779b13f5e1901cc589c5fc1df | [
"Apache-2.0"
] | 8 | 2015-01-02T17:39:28.000Z | 2022-03-03T13:08:54.000Z | src/test/java/com/basistech/tclre/osgitest/OsgiBundleIT.java | basis-technology-corp/tcl-regex-java | dc5651a570f4b84779b13f5e1901cc589c5fc1df | [
"Apache-2.0"
] | 9 | 2015-01-02T17:40:35.000Z | 2022-01-12T14:27:21.000Z | /*
* Copyright 2014 Basis Technology Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 37.267857 | 113 | 0.678246 |
81b1953c347469567c8314fdf740f839c715f457 | 235 | rs | Rust | src/common/mod.rs | sesam/wallet713 | 92d5aa22292eba385fe0440512d10ee682e739d6 | [
"Apache-2.0"
] | 1 | 2019-07-08T04:07:06.000Z | 2019-07-08T04:07:06.000Z | src/common/mod.rs | sesam/wallet713 | 92d5aa22292eba385fe0440512d10ee682e739d6 | [
"Apache-2.0"
] | null | null | null | src/common/mod.rs | sesam/wallet713 | 92d5aa22292eba385fe0440512d10ee682e739d6 | [
"Apache-2.0"
] | null | null | null | #[macro_use] pub mod macros;
pub mod error;
pub mod config;
pub mod base58;
pub mod crypto;
pub use self::error::Error;
pub use self::error::Wallet713Error;
pub use self::macros::*;
pub type Result<T> = std::result::Result<T, Error>;
| 21.363636 | 51 | 0.714894 |
6b5deebab0d36b77d24e02b2242bf973ef27cfc5 | 2,353 | h | C | Pods/Headers/Public/AliyunOSSiOS/OSSNetworkingRequestDelegate.h | lbrjms/SCXCheYouHui | d2dcf8cd0874db290e851dbc0e404e31b98ec052 | [
"MIT"
] | 3 | 2019-12-24T01:10:39.000Z | 2020-04-19T09:37:46.000Z | Pods/Headers/Public/AliyunOSSiOS/OSSNetworkingRequestDelegate.h | lbrjms/SCXCheYouHui | d2dcf8cd0874db290e851dbc0e404e31b98ec052 | [
"MIT"
] | null | null | null | Pods/Headers/Public/AliyunOSSiOS/OSSNetworkingRequestDelegate.h | lbrjms/SCXCheYouHui | d2dcf8cd0874db290e851dbc0e404e31b98ec052 | [
"MIT"
] | 2 | 2018-10-26T02:29:06.000Z | 2018-11-29T02:00:54.000Z | //
// OSSNetworkingRequestDelegate.h
// AliyunOSSSDK
//
// Created by huaixu on 2018/1/22.
// Copyright © 2018年 aliyun. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "OSSConstants.h"
#import "OSSTask.h"
@class OSSAllRequestNeededMessage;
@class OSSURLRequestRetryHandler;
@class OSSHttpResponse... | 30.558442 | 82 | 0.79728 |
611a1cca7afefeb8f40312ac27cbde4e9ceebe21 | 3,142 | css | CSS | clients/src/main/resources/static/css/test.css | asvarma1993/CordaProject | 155d5032fff3842be43fd51e2e11c153545b6031 | [
"Apache-2.0"
] | null | null | null | clients/src/main/resources/static/css/test.css | asvarma1993/CordaProject | 155d5032fff3842be43fd51e2e11c153545b6031 | [
"Apache-2.0"
] | null | null | null | clients/src/main/resources/static/css/test.css | asvarma1993/CordaProject | 155d5032fff3842be43fd51e2e11c153545b6031 | [
"Apache-2.0"
] | null | null | null |
body{
margin: 0;
}
.header{
padding-top: 10PX;
padding-bottom: 10PX;
width: 100%;
height:100%;
background-size: cover;
background-color: rgb(146, 183, 252);;
text-align: center;
}
.topnav {
overflow: hidden;
height: 60px;
padding-top: 20PX;
background-color: white;
}
.topnav a {
float: non... | 17.852273 | 52 | 0.5993 |
7ff7cbb143439303f713eddf76e6a71800bc3b52 | 8,706 | swift | Swift | HotChat/Dating/Controller/DatingViewController.swift | ilumanxi/HotChat | ab8cfdf83a3cc40bbb57232f19fbe261c972f367 | [
"MIT"
] | 1 | 2021-01-11T03:44:02.000Z | 2021-01-11T03:44:02.000Z | HotChat/Dating/Controller/DatingViewController.swift | ilumanxi/HotChat | ab8cfdf83a3cc40bbb57232f19fbe261c972f367 | [
"MIT"
] | null | null | null | HotChat/Dating/Controller/DatingViewController.swift | ilumanxi/HotChat | ab8cfdf83a3cc40bbb57232f19fbe261c972f367 | [
"MIT"
] | null | null | null | //
// EngagementViewController.swift
// HotChat
//
// Created by 风起兮 on 2021/4/15.
// Copyright © 2021 风起兮. All rights reserved.
//
import UIKit
import Kingfisher
import RxCocoa
import RxSwift
import MJRefresh
import MagazineLayout
class DatingViewController: UIViewController, LoadingStateType, IndicatorDisplay,... | 27.121495 | 139 | 0.657018 |
0bc0b1a713ee07a7da22300f41d7eef91e9cf3f3 | 1,621 | py | Python | games/migrations/0004_auto_20150726_1430.py | rnelson/library | 5f327c188f2847151dcfc92de0dc4f43f24096bf | [
"MIT"
] | null | null | null | games/migrations/0004_auto_20150726_1430.py | rnelson/library | 5f327c188f2847151dcfc92de0dc4f43f24096bf | [
"MIT"
] | null | null | null | games/migrations/0004_auto_20150726_1430.py | rnelson/library | 5f327c188f2847151dcfc92de0dc4f43f24096bf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('games', '0003_auto_20150725_1737'),
]
operations = [
migrations.AlterField(
model_name='game',
name=... | 27.016667 | 60 | 0.52992 |
b173f83e78cb014061d838f61889111715bd993d | 385 | sql | SQL | content-resources/src/main/resources/sql/upgrade/1.25/05-create-maplayer-metadata-table.sql | okauppinen/oskari-server | ddad60aef9f75bf549d2857149a45e68e0ce6e39 | [
"MIT"
] | null | null | null | content-resources/src/main/resources/sql/upgrade/1.25/05-create-maplayer-metadata-table.sql | okauppinen/oskari-server | ddad60aef9f75bf549d2857149a45e68e0ce6e39 | [
"MIT"
] | null | null | null | content-resources/src/main/resources/sql/upgrade/1.25/05-create-maplayer-metadata-table.sql | okauppinen/oskari-server | ddad60aef9f75bf549d2857149a45e68e0ce6e39 | [
"MIT"
] | null | null | null | -- CSW metadata is now saved to a new table, old one can be dropped;
CREATE TABLE oskari_maplayer_metadata
(
id serial NOT NULL,
metadataid character varying(256),
wkt character varying(512) default '',
json text default '',
ts timestamp DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT oskari_maplayer_metadata_pkey PR... | 32.083333 | 68 | 0.779221 |
83d7248ede625009368ab1fdbd8d4c2557ca2e60 | 220 | sql | SQL | forms6i/sql/tablas/tablas_sri.sql | allku/eSRI | 8ba19794d96e76f0e7513ea7adccb5a60c6c3488 | [
"BSD-2-Clause"
] | null | null | null | forms6i/sql/tablas/tablas_sri.sql | allku/eSRI | 8ba19794d96e76f0e7513ea7adccb5a60c6c3488 | [
"BSD-2-Clause"
] | null | null | null | forms6i/sql/tablas/tablas_sri.sql | allku/eSRI | 8ba19794d96e76f0e7513ea7adccb5a60c6c3488 | [
"BSD-2-Clause"
] | null | null | null | @SRI_INFORMANTE;
@SRI_VENTA_ESTABLECIMIENTO;
@SRI_DETALLE_RETENCION;
@SRI_RETENCION;
@SRI_FORMA_PAGO_VENTA;
@SRI_FORMA_PAGO_COMPRA;
@SRI_PAGO_EXTERIOR;
@SRI_DETALLE_VENTA;
@SRI_DETALLE_COMPRA;
@ELE_DOCUMENTO_ELECTRONICO; | 22 | 27 | 0.868182 |
c0b1051d7a6ad9631973085e889484296e26cd5e | 2,883 | swift | Swift | VoiceAnalyzer/src/UI/Views/AppView.swift | voice-analyzer/voice-analyzer-ios | 4f45bca98991ee55d81d1353a0d2e30d26be18bb | [
"MIT"
] | 2 | 2021-10-21T23:07:18.000Z | 2022-02-24T00:43:17.000Z | VoiceAnalyzer/src/UI/Views/AppView.swift | voice-analyzer/voice-analyzer-ios | 4f45bca98991ee55d81d1353a0d2e30d26be18bb | [
"MIT"
] | 10 | 2021-10-15T06:33:24.000Z | 2022-02-10T20:59:51.000Z | VoiceAnalyzer/src/UI/Views/AppView.swift | voice-analyzer/voice-analyzer-ios | 4f45bca98991ee55d81d1353a0d2e30d26be18bb | [
"MIT"
] | null | null | null | import Foundation
import SwiftUI
struct AppView: View {
@Environment(\.colorScheme) private var colorScheme: ColorScheme
@Environment(\.env) var env: AppEnvironment
@State private var livePitchChartIsPresented = true
@State private var recordingsVisible = false
@State private var recordingsEditMod... | 33.137931 | 136 | 0.547 |
442e3ea369a9ae93114313c74014920627c7afa3 | 8,393 | swift | Swift | ios/Runner/AppSyncAPI.swift | andrewlwest/tracer | 8831ceec67bf849bd01c9ffd92ab6da52dbe4be2 | [
"Apache-2.0"
] | null | null | null | ios/Runner/AppSyncAPI.swift | andrewlwest/tracer | 8831ceec67bf849bd01c9ffd92ab6da52dbe4be2 | [
"Apache-2.0"
] | null | null | null | ios/Runner/AppSyncAPI.swift | andrewlwest/tracer | 8831ceec67bf849bd01c9ffd92ab6da52dbe4be2 | [
"Apache-2.0"
] | null | null | null | // This file was automatically generated and should not be edited.
import AWSAppSync
public final class GetMessagesQuery: GraphQLQuery {
public static let operationString =
"query GetMessages {\n getMessages {\n __typename\n id\n content\n sender\n }\n}"
public init() {
}
public struct Da... | 29.142361 | 173 | 0.604313 |
a010559d98f2f6159ae306123f79a3b831345d3c | 16,471 | swift | Swift | SHRichTextEditorTools/Source/Core/ToolBarItem/ToolBarButtonExtensions.swift | hsusmita/SHRichTextEditorTools | e836969ad532fe74e71bd2f2b1c14f6d43fe8a0b | [
"MIT"
] | 3 | 2019-04-03T11:21:22.000Z | 2020-01-27T20:58:42.000Z | SHRichTextEditorTools/Source/Core/ToolBarItem/ToolBarButtonExtensions.swift | mohsinalimat/SHRichTextEditorTools | e836969ad532fe74e71bd2f2b1c14f6d43fe8a0b | [
"MIT"
] | 1 | 2021-01-25T06:31:40.000Z | 2021-01-25T06:31:40.000Z | SHRichTextEditorTools/Source/Core/ToolBarItem/ToolBarButtonExtensions.swift | mohsinalimat/SHRichTextEditorTools | e836969ad532fe74e71bd2f2b1c14f6d43fe8a0b | [
"MIT"
] | 3 | 2019-04-03T11:21:22.000Z | 2020-06-28T11:28:03.000Z | //
// TToolBarButtonExtensions.swift
// SHRichTextEditorTools
//
// Created by Susmita Horrow on 27/09/18.
// Copyright © 2018 hsusmita. All rights reserved.
//
import UIKit
public extension ToolBarButton {
static func configureBoldToolBarButton(
type: ToolBarButton.ButtonType,
actionOnSelecti... | 48.160819 | 208 | 0.611803 |
04f9eef34bdebbdd4803ef0c6b184440734800a5 | 91 | kt | Kotlin | compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantCallOfConversionMethod/long.kt | jiqimaogou/kotlin | ab6607f5304373223dc519b8beff4e8c7aaf6260 | [
"ECL-2.0",
"Apache-2.0"
] | 45,293 | 2015-01-01T06:23:46.000Z | 2022-03-31T21:55:51.000Z | compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantCallOfConversionMethod/long.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 3,386 | 2015-01-12T13:28:50.000Z | 2022-03-31T17:48:15.000Z | compiler/fir/analysis-tests/testData/resolve/extendedCheckers/RedundantCallOfConversionMethod/long.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 6,351 | 2015-01-03T12:30:09.000Z | 2022-03-31T20:46:54.000Z | // WITH_RUNTIME
val foo = Long.MAX_VALUE.<!REDUNDANT_CALL_OF_CONVERSION_METHOD!>toLong()<!> | 45.5 | 75 | 0.791209 |
72ed26b9165747497a64d5015e81acba0721b47e | 10,617 | html | HTML | demo-docs/flockerwrapper.html | edgaryau/Sifteo-SDK.NET | 6abf260a510b0dcc55dcd7e3a08374667f6a34f1 | [
"Info-ZIP",
"OpenSSL"
] | null | null | null | demo-docs/flockerwrapper.html | edgaryau/Sifteo-SDK.NET | 6abf260a510b0dcc55dcd7e3a08374667f6a34f1 | [
"Info-ZIP",
"OpenSSL"
] | null | null | null | demo-docs/flockerwrapper.html | edgaryau/Sifteo-SDK.NET | 6abf260a510b0dcc55dcd7e3a08374667f6a34f1 | [
"Info-ZIP",
"OpenSSL"
] | 1 | 2021-05-29T07:28:01.000Z | 2021-05-29T07:28:01.000Z | <!DOCTYPE html />
<html>
<head>
<title>FlockerWrapper.cs</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="nocco.css" rel="stylesheet" media="all" type="text/css" />
<script src="prettify.js" type="text/javascript"></script>
</head>
<body onload="prettyPrint()">
<div id="co... | 28.772358 | 128 | 0.570218 |
b387caf9ca05d6dc445c9348ce9334541e3fcb8e | 1,625 | swift | Swift | UnstoppableWallet/UnstoppableWallet/Modules/Settings/BaseCurrency/BaseCurrencySettingsService.swift | shieldwallets/unstoppable-wallet-ios | 56dbf872f132c3ab76aa3c73869e4a75e3c804f4 | [
"MIT"
] | 272 | 2019-05-13T10:35:34.000Z | 2022-03-27T12:00:50.000Z | UnstoppableWallet/UnstoppableWallet/Modules/Settings/BaseCurrency/BaseCurrencySettingsService.swift | shieldwallets/unstoppable-wallet-ios | 56dbf872f132c3ab76aa3c73869e4a75e3c804f4 | [
"MIT"
] | 1,286 | 2019-05-13T05:57:32.000Z | 2022-03-31T14:42:27.000Z | UnstoppableWallet/UnstoppableWallet/Modules/Settings/BaseCurrency/BaseCurrencySettingsService.swift | shieldwallets/unstoppable-wallet-ios | 56dbf872f132c3ab76aa3c73869e4a75e3c804f4 | [
"MIT"
] | 115 | 2019-05-14T09:59:31.000Z | 2022-03-11T10:40:12.000Z | import RxSwift
import RxRelay
import CurrencyKit
class BaseCurrencySettingsService {
private static let popularCurrencyCodes = ["USD", "EUR", "GBP", "JPY"]
private static let cryptoCurrencyCodes = ["BTC", "ETH", "BNB"]
private let currencyKit: CurrencyKit.Kit
let popularCurrencies: [Currency]
let... | 28.508772 | 92 | 0.644923 |
2761048b2496ad39c396ec36a5de46879dd305e2 | 431 | css | CSS | src/main/webapp/resources/mobile/shop/css/consultation.css | yangge0301/jfinalshop-b2b2c | 869483d9fd549e090a7f2d976e0b4de45f52be2a | [
"Apache-2.0"
] | 3 | 2019-09-07T12:22:58.000Z | 2020-02-25T10:17:03.000Z | src/main/webapp/resources/mobile/shop/css/consultation.css | yangge0301/jfinalshop-b2b2c | 869483d9fd549e090a7f2d976e0b4de45f52be2a | [
"Apache-2.0"
] | null | null | null | src/main/webapp/resources/mobile/shop/css/consultation.css | yangge0301/jfinalshop-b2b2c | 869483d9fd549e090a7f2d976e0b4de45f52be2a | [
"Apache-2.0"
] | 5 | 2019-03-21T07:08:11.000Z | 2020-10-08T02:36:39.000Z | @charset "utf-8";
/* ---------- AddConsultation ---------- */
.add-consultation main {
padding: 50px 10px 0px 10px;
}
.add-consultation main .media {
line-height: 30px;
margin-bottom: 20px;
}
.add-consultation main .media .media-left a img {
width: 80px;
height: 80px;
padding: 2px;
border: solid 1px #e8e8e8;
... | 17.958333 | 49 | 0.663573 |
c3f4a20564a64523bd56ec87e1d9a0f34e0add84 | 3,387 | rs | Rust | src/lib.rs | AudioSceneDescriptionFormat/asdfspline-rust | 0cc46f9fc2979c8bd924f2de15dc4a24fe080a1a | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2020-04-01T16:16:18.000Z | 2020-12-17T00:00:59.000Z | src/lib.rs | AudioSceneDescriptionFormat/asdfspline-rust | 0cc46f9fc2979c8bd924f2de15dc4a24fe080a1a | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2020-03-28T10:38:41.000Z | 2020-04-01T16:16:20.000Z | src/lib.rs | AudioSceneDescriptionFormat/asdfspline-rust | 0cc46f9fc2979c8bd924f2de15dc4a24fe080a1a | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2019-10-07T19:32:17.000Z | 2020-12-17T00:01:00.000Z | /*!
Rust implementation of the spline type that's used in the Audio Scene
Description Format (ASDF), see
<https://AudioSceneDescriptionFormat.readthedocs.io/>.
# Requirements
* Rust compiler, Cargo (<https://rustup.rs/>)
The required Rust packages (a.k.a. "crates") are listed in the file
`Cargo.toml`.
# Tests
```t... | 26.880952 | 98 | 0.659581 |
dd8d55c81a8cb0137df945ffe8a4011bd72cb3db | 3,362 | php | PHP | src/ObservationBundle/Entity/Message.php | flosteve/Ornithologie | c5102f754c0965844ca1bbf886705b9b6fdfca74 | [
"MIT"
] | null | null | null | src/ObservationBundle/Entity/Message.php | flosteve/Ornithologie | c5102f754c0965844ca1bbf886705b9b6fdfca74 | [
"MIT"
] | null | null | null | src/ObservationBundle/Entity/Message.php | flosteve/Ornithologie | c5102f754c0965844ca1bbf886705b9b6fdfca74 | [
"MIT"
] | null | null | null | <?php
namespace ObservationBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Class Message
* @package ObservationBundle\Entity
*
* @ORM\Entity(repositoryClass="ObservationBundle\Repository\MessageRepository")
*/
class Message
{
/**
* @ORM\Column(type="integer")
* @ORM\Id
* @ORM\Generated... | 15.564815 | 80 | 0.494349 |
41db3ab617cb3767d4ac741a4d64647d2a6304b3 | 171 | h | C | cegui/src/ScriptModules/Lua/support/tolua++bin/toluabind.h | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 257 | 2020-01-03T10:13:29.000Z | 2022-03-26T14:55:12.000Z | cegui/src/ScriptModules/Lua/support/tolua++bin/toluabind.h | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 116 | 2020-01-09T18:13:13.000Z | 2022-03-15T18:32:02.000Z | cegui/src/ScriptModules/Lua/support/tolua++bin/toluabind.h | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 58 | 2020-01-09T03:07:02.000Z | 2022-03-22T17:21:36.000Z | /*
** Lua binding: tolua
** Generated automatically by tolua++-1.0.93 on Sun Jun 15 09:20:27 2014.
*/
/* Exported function */
int tolua_tolua_open (lua_State* tolua_S);
| 19 | 73 | 0.695906 |
61614d5ac1d7c171afddc4be54a260e60f458587 | 12,271 | sql | SQL | database/typeform.sql | sandip-zerobuck/typeform | fbec2637149b896d5ee6a47ac2736321d230a75b | [
"MIT"
] | null | null | null | database/typeform.sql | sandip-zerobuck/typeform | fbec2637149b896d5ee6a47ac2736321d230a75b | [
"MIT"
] | null | null | null | database/typeform.sql | sandip-zerobuck/typeform | fbec2637149b896d5ee6a47ac2736321d230a75b | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 08, 2021 at 01:27 PM
-- Server version: 10.4.18-MariaDB
-- PHP Version: 7.3.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 28.405093 | 159 | 0.656915 |
26480faefb04742100392b5ff2a4ef94a98a8267 | 2,021 | java | Java | examples/full-api-edge-cases/src/main/java/com/webcohesion/enunciate/examples/jaxwsrijersey/genealogy/cite/Repository.java | ripdajacker/enunciate | 4cffb49ad8e37be394f2f01f388eba44ec8f5711 | [
"Apache-2.0"
] | 431 | 2015-01-05T06:27:54.000Z | 2022-03-29T22:01:03.000Z | examples/full-api-edge-cases/src/main/java/com/webcohesion/enunciate/examples/jaxwsrijersey/genealogy/cite/Repository.java | ripdajacker/enunciate | 4cffb49ad8e37be394f2f01f388eba44ec8f5711 | [
"Apache-2.0"
] | 1,020 | 2015-01-17T17:44:54.000Z | 2022-03-30T14:11:06.000Z | examples/full-api-edge-cases/src/main/java/com/webcohesion/enunciate/examples/jaxwsrijersey/genealogy/cite/Repository.java | ripdajacker/enunciate | 4cffb49ad8e37be394f2f01f388eba44ec8f5711 | [
"Apache-2.0"
] | 180 | 2015-02-02T17:12:44.000Z | 2022-03-05T10:51:47.000Z | /**
* Copyright © 2006-2016 Web Cohesion (info@webcohesion.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 22.455556 | 75 | 0.676398 |
0bcf3894899c549fa09e5594967fe84caaa91290 | 1,686 | js | JavaScript | src/env.js | RagnarHal/FreemanBot | a8542a86e656f5b0b234e85ff27f344e2166845b | [
"MIT"
] | null | null | null | src/env.js | RagnarHal/FreemanBot | a8542a86e656f5b0b234e85ff27f344e2166845b | [
"MIT"
] | 6 | 2018-02-01T21:22:41.000Z | 2022-01-22T03:45:52.000Z | src/env.js | RagnarHal/FreemanBot | a8542a86e656f5b0b234e85ff27f344e2166845b | [
"MIT"
] | 1 | 2018-01-24T22:36:10.000Z | 2018-01-24T22:36:10.000Z | import "dotenv/config";
import { stripIndent } from "common-tags";
import logger from "./logger";
function setupEnv() {
const environment = process.env.NODE_ENV || "development";
const isProduction = environment === "production";
const isDevelopment = environment === "development";
validateEnvironment();
r... | 23.746479 | 70 | 0.659549 |
0bf570be556f0ef11d28f4837dba7678569a3013 | 1,295 | js | JavaScript | src/renderer/components/AdminPanelsComponents/UsersList.js | qve1t/websocket-tv-logger | 53f3bb1d161b5e1b234d85cc7c73bf90b4d25e6d | [
"MIT"
] | null | null | null | src/renderer/components/AdminPanelsComponents/UsersList.js | qve1t/websocket-tv-logger | 53f3bb1d161b5e1b234d85cc7c73bf90b4d25e6d | [
"MIT"
] | null | null | null | src/renderer/components/AdminPanelsComponents/UsersList.js | qve1t/websocket-tv-logger | 53f3bb1d161b5e1b234d85cc7c73bf90b4d25e6d | [
"MIT"
] | null | null | null | import React from "react";
import { TagButton } from "@components/Reusable/ButtonsTag";
import { TableHeader } from "@components/Reusable/Headers";
import style from "@styles/components/AdminPanels/index.scss";
const UsersList = ({
rolesList = [],
usersList = [],
selectedUser,
setSelectedUser,
}) => {
cons... | 26.979167 | 75 | 0.532046 |
90d7fe10aeb70963477192585a9a24b4c7be7f5c | 6,413 | py | Python | app/endpoints/auth.py | a283910020/yummy-rest | 066f48e0219ac2c64daea0b393f62d921be4394d | [
"MIT"
] | 4 | 2018-11-16T21:43:25.000Z | 2020-11-23T08:26:05.000Z | app/endpoints/auth.py | a283910020/yummy-rest | 066f48e0219ac2c64daea0b393f62d921be4394d | [
"MIT"
] | 12 | 2017-12-22T09:10:51.000Z | 2018-06-17T17:16:16.000Z | app/endpoints/auth.py | a283910020/yummy-rest | 066f48e0219ac2c64daea0b393f62d921be4394d | [
"MIT"
] | 5 | 2018-03-02T08:03:28.000Z | 2020-05-25T14:59:59.000Z | """The API routes"""
from datetime import datetime, timedelta
from werkzeug.security import check_password_hash, generate_password_hash
from flask import jsonify, request, make_response
from flask_restplus import Resource
from flask_jwt import jwt
from app import APP
from app.helpers import decode_access_token
from ap... | 34.111702 | 99 | 0.545143 |
2d983df9d8393db516d9d4082ce095662e424de7 | 106 | html | HTML | ConnectorWebService/Web/index.html | FindMeRoomOSS/Connector | de13525bb84c9664634284d53e307e8d99831fca | [
"MIT"
] | null | null | null | ConnectorWebService/Web/index.html | FindMeRoomOSS/Connector | de13525bb84c9664634284d53e307e8d99831fca | [
"MIT"
] | null | null | null | ConnectorWebService/Web/index.html | FindMeRoomOSS/Connector | de13525bb84c9664634284d53e307e8d99831fca | [
"MIT"
] | null | null | null | <html>
<head>
<title>Webapp stub</title>
</head>
<body>
<h1>It works!</h1>
</body>
</html> | 13.25 | 31 | 0.518868 |
2a2d2a0de7c0dc0849044c847a02511034239abd | 2,806 | java | Java | src/java/org/xiph/libvorbis/codec_setup_info.java | dubenju/javay | 29284c847c2ab62048538c3973a9fb10090155aa | [
"Apache-2.0"
] | 7 | 2015-12-05T09:18:48.000Z | 2021-03-03T09:00:46.000Z | src/java/org/xiph/libvorbis/codec_setup_info.java | dubenju/javay | 29284c847c2ab62048538c3973a9fb10090155aa | [
"Apache-2.0"
] | null | null | null | src/java/org/xiph/libvorbis/codec_setup_info.java | dubenju/javay | 29284c847c2ab62048538c3973a9fb10090155aa | [
"Apache-2.0"
] | null | null | null | /*
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.
*
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-200... | 35.075 | 123 | 0.645403 |
b16e0996328d16035c973bfe036d26d0afdb91a3 | 237 | asm | Assembly | cemu/examples/x86_64_sys_exec_bin_sh_null_free.asm | MatejKastak/cemu | c6f93239a5901ce00d2f739a3913d0ba7d0ed4e4 | [
"MIT"
] | 823 | 2016-05-15T08:55:57.000Z | 2022-03-23T01:06:44.000Z | cemu/examples/x86_64_sys_exec_bin_sh_null_free.asm | MatejKastak/cemu | c6f93239a5901ce00d2f739a3913d0ba7d0ed4e4 | [
"MIT"
] | 57 | 2016-05-16T20:09:17.000Z | 2022-03-13T14:11:51.000Z | cemu/examples/x86_64_sys_exec_bin_sh_null_free.asm | MatejKastak/cemu | c6f93239a5901ce00d2f739a3913d0ba7d0ed4e4 | [
"MIT"
] | 118 | 2016-05-16T18:10:25.000Z | 2022-03-02T15:02:18.000Z | # rax = sys_execve
xor rax, rax
mov al, 59
# write /bin/sh @rsp
mov rsi, 0x0168732f6e69622f
shl rsi, 8
shr rsi, 8
mov [rsp], rsi
# rdi = @/bin/sh
mov rdi, rsp
# nullify the other args
xor rsi, rsi
xor rdx, rdx
# trigger interrupt
syscall | 15.8 | 27 | 0.700422 |
76ffa23983f7e782ead224a40a093d40e4d3a1ff | 1,160 | sql | SQL | text/Instagrarn.sql | yoonwooseong/Airdnd_scraper | 93260753820924aadba43d03d2f969150c1cdffc | [
"MIT"
] | 1 | 2021-02-06T00:20:52.000Z | 2021-02-06T00:20:52.000Z | text/Instagrarn.sql | yoonwooseong/Airdnd_scraper | 93260753820924aadba43d03d2f969150c1cdffc | [
"MIT"
] | 3 | 2020-10-16T10:11:23.000Z | 2021-08-29T13:18:03.000Z | text/Instagrarn.sql | yoonwooseong/Airdnd_scraper | 93260753820924aadba43d03d2f969150c1cdffc | [
"MIT"
] | 1 | 2021-08-30T23:47:07.000Z | 2021-08-30T23:47:07.000Z | use InstagrarnDB;
create table Insta_user(
idx int(9) NOT NULL auto_increment,
email VARCHAR(300),
phone VARCHAR(300),
full_name VARCHAR(300),
id VARCHAR(300),
pwd VARCHAR(300),
PRIMARY KEY(idx)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
create table Insta_likes(
idx int(9) NOT NULL auto_increment,
us... | 29 | 89 | 0.733621 |
98d6cc8bce6517c0ac32fb08fc459d22a45d2b0a | 1,540 | swift | Swift | Bement/ATCClassicWalkthroughViewController.swift | 1105420698/Bement | 7fba5c596669184680d6d4238d9527617a9c80e5 | [
"MIT"
] | 1 | 2020-01-25T14:17:47.000Z | 2020-01-25T14:17:47.000Z | Bement/ATCClassicWalkthroughViewController.swift | 1105420698/Bement | 7fba5c596669184680d6d4238d9527617a9c80e5 | [
"MIT"
] | null | null | null | Bement/ATCClassicWalkthroughViewController.swift | 1105420698/Bement | 7fba5c596669184680d6d4238d9527617a9c80e5 | [
"MIT"
] | null | null | null | //
// ATCClassicWalkthroughViewController.swift
// DashboardApp
//
// Created by Florian Marcu on 8/13/18.
// Copyright © 2018 Instamobile. All rights reserved.
//
import UIKit
class ATCClassicWalkthroughViewController: UIViewController {
@IBOutlet var containerView: UIView!
@IBOutlet var imageContainerVi... | 30.8 | 81 | 0.694805 |
a8eded59c192c5218579b3b07094b8da8c566063 | 16,956 | rs | Rust | src/access_point.rs | resin-io-modules/libnm-rs | 0183a43fc26506895868aaa3921bb38fb7a5b2bf | [
"Apache-2.0"
] | 1 | 2018-04-17T15:27:43.000Z | 2018-04-17T15:27:43.000Z | src/access_point.rs | resin-io-playground/libnm-rs | 0183a43fc26506895868aaa3921bb38fb7a5b2bf | [
"Apache-2.0"
] | null | null | null | src/access_point.rs | resin-io-playground/libnm-rs | 0183a43fc26506895868aaa3921bb38fb7a5b2bf | [
"Apache-2.0"
] | null | null | null | // This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files
// DO NOT EDIT
use crate::Connection;
use crate::Object;
use crate::_80211ApFlags;
use crate::_80211ApSecurityFlags;
use crate::_80211Mode;
use glib::object::IsA;
use glib::object::ObjectType as ObjectType_;
use glib::signal::connect_r... | 35.84778 | 153 | 0.538865 |
858ad35a9bf862d59691716fa83aba569e385366 | 2,003 | js | JavaScript | home/httpd/public/js/menu.js | Anime4000/DFP-34G-2C2 | 9a49498fca78389170e2d5992c5b99f0fa25a550 | [
"Unlicense"
] | 16 | 2020-10-26T05:33:06.000Z | 2022-02-15T12:02:33.000Z | home/httpd/public/js/menu.js | Anime4000/DFP-34G-2C2 | 9a49498fca78389170e2d5992c5b99f0fa25a550 | [
"Unlicense"
] | null | null | null | home/httpd/public/js/menu.js | Anime4000/DFP-34G-2C2 | 9a49498fca78389170e2d5992c5b99f0fa25a550 | [
"Unlicense"
] | 4 | 2021-01-06T18:52:41.000Z | 2021-12-26T13:40:07.000Z |
function getURL()
{
var ret = "getpage.gch?pid=1002&nextpage=";
var len = arguments.length;
if ( 0 != (len-1)%2 )
{
ShowErrorForCom(null, null, "arguments len err of getURL!");
return;
}
for (var i=0; i<len; i++)
{
if ( i%2 == 1 )
{
ret += "&" + arguments[i] + "=";
}
else
{
ret += arguments[i];
}
}
return ret;
}
funct... | 16.024 | 95 | 0.658512 |
402a8e59bde5f2ebb1083f7dbdab57fb5d9c5514 | 1,125 | py | Python | Ch04/test/maximum_subarray_test.py | Ryuichi-Sasaki/CLRS | 3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9 | [
"MIT"
] | null | null | null | Ch04/test/maximum_subarray_test.py | Ryuichi-Sasaki/CLRS | 3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9 | [
"MIT"
] | null | null | null | Ch04/test/maximum_subarray_test.py | Ryuichi-Sasaki/CLRS | 3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9 | [
"MIT"
] | null | null | null | import unittest
import sys
sys.path.append("../src/")
from maximum_subarray import maximum_diff_brute_force
from maximum_subarray import maximum_diff_divide_and_conquer
from maximum_subarray import maximum_diff_dynamic_programming
from random import randint
class TestMaximumSubarray(unittest.TestCase):
def test_m... | 34.090909 | 62 | 0.712889 |
0bb85be9403c1308f076ef0d9f8f803e7a8eca9b | 3,018 | js | JavaScript | public/sys/js/controller/config-controller.js | quanbka/evn | e50da087b0997c194347f8693b1236d58d564ed2 | [
"MIT"
] | null | null | null | public/sys/js/controller/config-controller.js | quanbka/evn | e50da087b0997c194347f8693b1236d58d564ed2 | [
"MIT"
] | null | null | null | public/sys/js/controller/config-controller.js | quanbka/evn | e50da087b0997c194347f8693b1236d58d564ed2 | [
"MIT"
] | null | null | null | system.controller("ConfigController", ConfigController);
/**
*
* @param {type} $scope
* @param {type} $http
* @param {type} $rootScope
* @returns {undefined}
*/
function ConfigController($scope, $http, $rootScope, $timeout, Upload) {
$scope.controllerName = "ConfigController";
$scope.options = {
... | 26.707965 | 78 | 0.45063 |
2707f628b000dcaf34a1783120654373a54d3a5b | 2,826 | css | CSS | doc/UserManual/html/include/TSTool-UserManual.css | OpenCDSS/cdss-app-tstool-doc | bf7552cf5c5c1330e5f3dd28836018e4fc07f8d9 | [
"CC-BY-4.0"
] | null | null | null | doc/UserManual/html/include/TSTool-UserManual.css | OpenCDSS/cdss-app-tstool-doc | bf7552cf5c5c1330e5f3dd28836018e4fc07f8d9 | [
"CC-BY-4.0"
] | 1 | 2019-02-04T08:31:54.000Z | 2019-02-08T08:36:45.000Z | doc/UserManual/html/include/TSTool-UserManual.css | OpenCDSS/cdss-app-tstool-doc | bf7552cf5c5c1330e5f3dd28836018e4fc07f8d9 | [
"CC-BY-4.0"
] | null | null | null | /*
Styles for TSTool User Manual
- Put html defaults at top
- Override with additional styles below
*/
/*
font-family: "Arial", Helvetica, sans-serif;
font-family: Palatino, 'Palatino Linotype', serif;
font-family: "Tahoma", Geneva, sans-serif;
*/
html *
{
font-family: 'Times New Roman', Times, serif;
}
code {
... | 19.901408 | 72 | 0.700991 |
594ab2a01e183595e393c834be00df18aa3fd51b | 4,529 | h | C | src/base/gui/widget.h | namica/vizzu-lib | 4d9473147ff0082e811234ad4c17c95e2eb0bdd7 | [
"Apache-2.0"
] | 1 | 2021-12-25T02:03:41.000Z | 2021-12-25T02:03:41.000Z | src/base/gui/widget.h | davgit/vizzu-lib | ceae26520f85f745cc41c3bc1bcd44cff0deb6b1 | [
"Apache-2.0"
] | null | null | null | src/base/gui/widget.h | davgit/vizzu-lib | ceae26520f85f745cc41c3bc1bcd44cff0deb6b1 | [
"Apache-2.0"
] | null | null | null | #ifndef GUI_WIDGET
#define GUI_WIDGET
#include <memory>
#include <functional>
#include <iterator>
#include <list>
#include <string>
#include "accessories.h"
#include "base/geom/affinetransform.h"
#include "base/geom/rect.h"
#include "base/gfx/canvas.h"
#include "keys.h"
#include "mouse.h"
namespace GUI
{
class Drag... | 27.785276 | 89 | 0.735482 |
3b97a3643a024f5c708cae45d5ea0f49f4d55b72 | 592 | swift | Swift | GitTest/Scenes/Home/HomeModels.swift | marcosbarbosa1987/GitConsultApi | a71c29583d81c09ee01cd7c4e5d96efffa34860d | [
"MIT"
] | 2 | 2018-10-26T21:52:20.000Z | 2019-02-14T18:29:54.000Z | GitTest/Scenes/Home/HomeModels.swift | marcosbarbosa1987/GitConsultApi | a71c29583d81c09ee01cd7c4e5d96efffa34860d | [
"MIT"
] | null | null | null | GitTest/Scenes/Home/HomeModels.swift | marcosbarbosa1987/GitConsultApi | a71c29583d81c09ee01cd7c4e5d96efffa34860d | [
"MIT"
] | null | null | null | //
// HomeModels.swift
// GitTest
//
// Created by Marcos Barbosa on 26/07/2018.
// Copyright © 2018 n/a. All rights reserved.
//
import Foundation
struct HomeModels{
struct Fetch{
struct Request{
var url: String
}
struct Response{
var isE... | 17.411765 | 46 | 0.494932 |
166ed3a483b346714b038d03d74eb016920c4eb8 | 85 | ts | TypeScript | build/governance/dictionary/blockchain-nodes-types-dictionary.d.ts | UOSnetwork/ucom.libs.common | f24fecae61a23ba436152ca3b51bcd4752e67ee3 | [
"MIT"
] | null | null | null | build/governance/dictionary/blockchain-nodes-types-dictionary.d.ts | UOSnetwork/ucom.libs.common | f24fecae61a23ba436152ca3b51bcd4752e67ee3 | [
"MIT"
] | 2 | 2020-06-15T11:28:58.000Z | 2021-05-08T21:16:01.000Z | build/governance/dictionary/blockchain-nodes-types-dictionary.d.ts | UOSnetwork/ucom.libs.common | f24fecae61a23ba436152ca3b51bcd4752e67ee3 | [
"MIT"
] | 1 | 2020-01-06T18:25:45.000Z | 2020-01-06T18:25:45.000Z | export declare const BLOCK_PRODUCERS = 1;
export declare const CALCULATOR_NODES = 2;
| 28.333333 | 42 | 0.811765 |
e8dd9680732e2d43b71a4834c51c94a4f70393dd | 4,521 | py | Python | displacy_service_tests/test_server.py | mjfox3/spacy-api-docker | 8622ae1cc3e18835d4675432f9d286794dd380f5 | [
"MIT"
] | null | null | null | displacy_service_tests/test_server.py | mjfox3/spacy-api-docker | 8622ae1cc3e18835d4675432f9d286794dd380f5 | [
"MIT"
] | 1 | 2019-11-08T14:39:55.000Z | 2019-11-08T14:39:55.000Z | displacy_service_tests/test_server.py | mjfox3/spacy-api-docker | 8622ae1cc3e18835d4675432f9d286794dd380f5 | [
"MIT"
] | 1 | 2019-11-07T14:15:37.000Z | 2019-11-07T14:15:37.000Z | import falcon.testing
import pytest
import json
from displacy_service.server import APP, MODELS
model = MODELS[0]
@pytest.fixture()
def api():
return falcon.testing.TestClient(APP)
def test_deps(api):
result = api.simulate_post(
path='/dep',
body='{{"text": "This is a test.", "model": "{m... | 47.09375 | 211 | 0.523114 |
11d460cb27bfeeb87a1d0753fb781e36b7b95aa8 | 612 | html | HTML | foiamachine/templates/doccloud/detail.html | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 9 | 2017-08-02T16:28:10.000Z | 2021-07-19T09:51:46.000Z | foiamachine/templates/doccloud/detail.html | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | null | null | null | foiamachine/templates/doccloud/detail.html | dwillis/foiamachine | 26d3b02870227696cdaab639c39d47b2a7a42ae5 | [
"Unlicense",
"MIT"
] | 5 | 2017-10-10T23:15:02.000Z | 2021-07-19T09:51:48.000Z | {% extends "base.html" %}
{% load url from future %}
{% block content %}
<div class="body-content">
<!-- TODO: embed private document??? -->
<script type="text/javascript" src="http://s3.documentcloud.org/viewer/loader.js"></script>
<script type="text/javascript">
DV.load('http://www.documentcloud.... | 36 | 95 | 0.612745 |
c7fae57f341c7f36c0448cee09f8ad16c799b76d | 1,112 | java | Java | src/main/java/redis/clients/jedis/resps/KeyedZSetElement.java | phambryan/jedis | 71cd5f1d13a24b4592ce356ce9ca92ea54a5ea0f | [
"MIT"
] | 1,180 | 2020-10-21T07:30:00.000Z | 2022-03-31T08:09:50.000Z | src/main/java/redis/clients/jedis/resps/KeyedZSetElement.java | adedayoominiyi/jedis | 52a8ad1379952daa60b59a1cc1992f2ba937d0e0 | [
"MIT"
] | 587 | 2020-10-26T07:18:20.000Z | 2022-03-31T07:13:49.000Z | src/main/java/redis/clients/jedis/resps/KeyedZSetElement.java | adedayoominiyi/jedis | 52a8ad1379952daa60b59a1cc1992f2ba937d0e0 | [
"MIT"
] | 549 | 2020-10-22T06:03:11.000Z | 2022-03-30T07:16:09.000Z | package redis.clients.jedis.resps;
import redis.clients.jedis.Tuple;
import redis.clients.jedis.util.SafeEncoder;
/**
* This class is used to represent a SortedSet element when it is returned with respective key name.
*/
public class KeyedZSetElement extends Tuple {
private final String key;
public KeyedZSetE... | 23.659574 | 100 | 0.659173 |
409bbe5f2fa7500ff5d95888494977970ae92bc5 | 1,212 | py | Python | key_bot/win32_connectors/screenshotter.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | key_bot/win32_connectors/screenshotter.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | key_bot/win32_connectors/screenshotter.py | Jinaz/Py_datascraping | e3f1f8819fe98b257cba356b7378cb6cf90b5d62 | [
"Apache-2.0"
] | null | null | null | import numpy as np
import pyautogui
import time
import cv2 as cv
from time import sleep
from win32api import GetCursorPos
from win32_connectors.VirtualKeycodeLookups import description2keycode as d2k
from win32_connectors.KeyBoardLogger import keyIsUp, keyIsDown
def demo2():
"""Demonstration 2: If the user presses... | 30.3 | 183 | 0.637789 |
3e743ac508be7312fcef80de9de88784fc1a217a | 13,531 | h | C | Headers/java/lang/reflect/Array.h | tcak76/j2objc | bb9415df98c3fdd1e5e3f4b9e27049d0b2e42633 | [
"MIT"
] | 11 | 2015-12-10T13:23:54.000Z | 2019-04-23T02:41:13.000Z | Headers/java/lang/reflect/Array.h | tcak76/j2objc | bb9415df98c3fdd1e5e3f4b9e27049d0b2e42633 | [
"MIT"
] | 7 | 2015-11-05T22:45:53.000Z | 2017-11-05T14:36:36.000Z | Headers/java/lang/reflect/Array.h | tcak76/j2objc | bb9415df98c3fdd1e5e3f4b9e27049d0b2e42633 | [
"MIT"
] | 40 | 2015-12-10T07:30:58.000Z | 2022-03-15T02:50:10.000Z | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/java/lang/reflect/Array.java
//
#include "../../../J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_JavaLangReflectArray")
#ifdef RESTRICT_JavaLangReflectArray
#define INCLUDE_ALL_JavaLangReflectArray 0
#else
#defi... | 37.481994 | 130 | 0.751755 |
40c424b55d9a8898cfadc429ac6a40260e9fc0f8 | 2,163 | py | Python | tsdf/utils.py | changgyhub/semantic-tsdf | 4767d92a768af577f75ab05229c9fc87dda9681e | [
"BSD-2-Clause"
] | 9 | 2020-05-07T14:50:20.000Z | 2021-12-03T16:20:34.000Z | tsdf/utils.py | irsisyphus/semantic-tsdf | 4767d92a768af577f75ab05229c9fc87dda9681e | [
"BSD-2-Clause"
] | 1 | 2020-11-16T02:10:30.000Z | 2020-11-17T06:40:03.000Z | tsdf/utils.py | irsisyphus/semantic-tsdf | 4767d92a768af577f75ab05229c9fc87dda9681e | [
"BSD-2-Clause"
] | 1 | 2020-11-15T18:30:02.000Z | 2020-11-15T18:30:02.000Z | '''
TSDF utility functions.
'''
import numpy as np
# Get corners of 3D camera view frustum of depth image.
def get_view_frustum(depth_im, cam_intr, cam_pose):
im_h = depth_im.shape[0]
im_w = depth_im.shape[1]
max_depth = np.max(depth_im)
view_frust_pts = np.array([(np.array([0, 0, 0, im_w, im_w]) - c... | 41.596154 | 168 | 0.617661 |
3821ca861ad15d6653c82d3351789b8e27df54b6 | 3,908 | swift | Swift | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/AddItemViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/AddItemViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | firebase_restaurant_assignment/firebase_restaurant_assignment/viewcontrollers/AddItemViewController.swift | suwinphyu/iOS_Firebase | d8bab1da85eb4ba7bef39de216a88d86333a4369 | [
"MIT"
] | null | null | null | //
// AddItemViewController.swift
// firebase_restaurant_assignment
//
// Created by Su Win Phyu on 10/24/19.
// Copyright © 2019 swp. All rights reserved.
//
import UIKit
import Firebase
import SDWebImage
import FirebaseFirestore
class AddItemViewController: UIViewController {
static let identifier = "A... | 32.032787 | 119 | 0.557574 |
87667152b5ddbe52b0e4367981677e54f486e77b | 6,686 | html | HTML | app/content/texts/english_niv/GL1.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | 5 | 2019-12-18T05:17:19.000Z | 2020-04-04T07:07:21.000Z | app/content/texts/english_niv/GL1.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | 1 | 2020-04-30T01:25:38.000Z | 2020-04-30T01:25:38.000Z | app/content/texts/english_niv/GL1.html | binu-alexander/thevachanonlineproject | 33c318bfc8b37de035d9c8e6b2a9bf8dea153b98 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html><head><meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1.0, user-scalable=no' />
<title>New International Version Galatians 1</title>
<link href='latin.css' rel='stylesheet' />
<link href='fallback.css' rel='stylesheet' />
</head><body dir='ltr' class='sec... | 106.126984 | 456 | 0.697577 |
04fbf28e66f4777dc9f098dded8a85c758784ceb | 1,383 | kt | Kotlin | unlockable/core/src/main/kotlin/com/rarible/protocol/unlockable/configuration/CoreConfiguration.kt | NFTDroppr/ethereum-indexer | b1efdaceab8be95429befe80ce1092fab3004d18 | [
"MIT"
] | 1 | 2021-10-20T19:57:06.000Z | 2021-10-20T19:57:06.000Z | unlockable/core/src/main/kotlin/com/rarible/protocol/unlockable/configuration/CoreConfiguration.kt | NFTDroppr/ethereum-indexer | b1efdaceab8be95429befe80ce1092fab3004d18 | [
"MIT"
] | null | null | null | unlockable/core/src/main/kotlin/com/rarible/protocol/unlockable/configuration/CoreConfiguration.kt | NFTDroppr/ethereum-indexer | b1efdaceab8be95429befe80ce1092fab3004d18 | [
"MIT"
] | null | null | null | package com.rarible.protocol.unlockable.configuration
import com.rarible.core.mongo.configuration.EnableRaribleMongo
import com.rarible.ethereum.converters.EnableScaletherMongoConversions
import com.rarible.ethereum.domain.Blockchain
import com.rarible.protocol.unlockable.converter.LockDtoConverter
import com.rarible.... | 36.394737 | 89 | 0.831526 |
fba2bb25fce2e675e4a601393227abed2c0da852 | 566 | h | C | RenderUI/common/Encoding.h | gubaojian/LayoutCore | 061d38059c461f1cff604920b3d9357a08884b13 | [
"MIT"
] | null | null | null | RenderUI/common/Encoding.h | gubaojian/LayoutCore | 061d38059c461f1cff604920b3d9357a08884b13 | [
"MIT"
] | null | null | null | RenderUI/common/Encoding.h | gubaojian/LayoutCore | 061d38059c461f1cff604920b3d9357a08884b13 | [
"MIT"
] | null | null | null | //
// Created by furture on 2018/6/1.
//
#ifndef RENDERUI_ENCODING_H
#define RENDERUI_ENCODING_H
#include <unitypes.h>
#include <set>
namespace RenderUI {
namespace Encoding{
/**
* */
static std::set<uint32_t> breakCodePoints = {':', ' ', '=', ','};
bool isBreak(uint32_t cod... | 18.258065 | 100 | 0.609541 |
e50f2558ec72efc9c61292b07195f14d342938d4 | 42,512 | html | HTML | ida/218375.html | depctg/mhgu_attack | d3d063d2507a3157d97028d818355b97c44b5037 | [
"MIT"
] | null | null | null | ida/218375.html | depctg/mhgu_attack | d3d063d2507a3157d97028d818355b97c44b5037 | [
"MIT"
] | null | null | null | ida/218375.html | depctg/mhgu_attack | d3d063d2507a3157d97028d818355b97c44b5037 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0,shrink-to-fit=no">
<meta name="description" content="石子的入手方法、使い道を掲載。入手は任务报酬、怪物剥ぎ取り、フィールド采集之ど。用途は武器、防具、装饰品之ど。">
<meta name=... | 16.401235 | 198 | 0.562735 |
8ff1583d0016a073659906cec7f41187669aa2af | 3,641 | swift | Swift | Time to Budget/Time to Budget Tests/Time_Tests.swift | roblkenn/Time2Budget-iOS | f238a9b6785597748e24da0777b9263b68291560 | [
"MIT"
] | null | null | null | Time to Budget/Time to Budget Tests/Time_Tests.swift | roblkenn/Time2Budget-iOS | f238a9b6785597748e24da0777b9263b68291560 | [
"MIT"
] | 4 | 2017-07-25T15:09:11.000Z | 2017-07-25T15:10:59.000Z | Time to Budget/Time to Budget Tests/Time_Tests.swift | MartinVanBuren/Time2Budget-iOS | f238a9b6785597748e24da0777b9263b68291560 | [
"MIT"
] | null | null | null | //
// Time_Tests.swift
// Time to Budget
//
// Created by Robert Kennedy on 1/24/15.
// Copyright (c) 2015 Arrken Games, LLC. All rights reserved.
//
import XCTest
@testable import Time_to_Budget
class Time_Tests: XCTestCase {
override func setUp() {
super.setUp()
}
override func tearDow... | 23.797386 | 102 | 0.488327 |
565d3fd4f8bf4d2bbb0f0ddac73eed3e399ee2be | 1,100 | asm | Assembly | If else programming exercises and solutions in C/3- C program to check whether a number is positive, negative or zero/project.asm | MahmoudFawzy01/C-solutions-Code4win- | 491d86770895ec4c31a69c7e3d47a88dedc4427a | [
"Apache-2.0"
] | null | null | null | If else programming exercises and solutions in C/3- C program to check whether a number is positive, negative or zero/project.asm | MahmoudFawzy01/C-solutions-Code4win- | 491d86770895ec4c31a69c7e3d47a88dedc4427a | [
"Apache-2.0"
] | null | null | null | If else programming exercises and solutions in C/3- C program to check whether a number is positive, negative or zero/project.asm | MahmoudFawzy01/C-solutions-Code4win- | 491d86770895ec4c31a69c7e3d47a88dedc4427a | [
"Apache-2.0"
] | null | null | null | .file "project.c"
.def __main; .scl 2; .type 32; .endef
.section .rdata,"dr"
.LC0:
.ascii "\12Input num1: \0"
.LC1:
.ascii "%d\0"
.LC2:
.ascii "Number is positive.\0"
.LC3:
.ascii "Number is negative.\0"
.LC4:
.ascii "Number is zero.\0"
.text
.globl main
.def main; .scl 2; .type 32; .endef
.seh_proc main
ma... | 18.032787 | 72 | 0.626364 |
1be95da92fbfbcabd1764739cee2be91afc2a46c | 18,811 | py | Python | seleniumwire/storage.py | SeriyVol4ishe/selenium-wire | 4e9af6a5d98f1ca7033a14bdf9d9f560fa461882 | [
"MIT"
] | null | null | null | seleniumwire/storage.py | SeriyVol4ishe/selenium-wire | 4e9af6a5d98f1ca7033a14bdf9d9f560fa461882 | [
"MIT"
] | null | null | null | seleniumwire/storage.py | SeriyVol4ishe/selenium-wire | 4e9af6a5d98f1ca7033a14bdf9d9f560fa461882 | [
"MIT"
] | null | null | null | import logging
import os
import pickle
import re
import shutil
import sys
import tempfile
import threading
import uuid
from collections import OrderedDict, defaultdict
from datetime import datetime, timedelta
from typing import DefaultDict, Iterator, List, Optional, Union
from seleniumwire.request import Request, Resp... | 35.626894 | 101 | 0.614002 |
3969816d6a1a36f50ed7c5186e848b69be5fb961 | 200 | html | HTML | test_js.html | mukunda-/steamidparser | a60307721ad852749cca51ec64fa5b03f92ae7ea | [
"MIT"
] | 18 | 2015-02-25T02:08:54.000Z | 2021-05-18T13:13:48.000Z | test_js.html | mukunda-/steamidparser | a60307721ad852749cca51ec64fa5b03f92ae7ea | [
"MIT"
] | 2 | 2015-05-26T08:33:05.000Z | 2015-09-21T16:22:46.000Z | test_js.html | mukunda-/steamidparser | a60307721ad852749cca51ec64fa5b03f92ae7ea | [
"MIT"
] | 13 | 2015-06-20T11:47:09.000Z | 2022-02-26T18:54:09.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="lib/steamid.js"></script>
<script src="test.js"></script>
</head>
<body>
<p>See console for output.</p>
</body>
</html> | 16.666667 | 40 | 0.595 |
d9bc3fd84ecf6f3f255dec3ae8e205e03a267300 | 1,146 | rs | Rust | examples/pidof.rs | GuillaumeGomez/heim | 7327b6d7097c5595d5121d48bd801bc016707e18 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/pidof.rs | GuillaumeGomez/heim | 7327b6d7097c5595d5121d48bd801bc016707e18 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/pidof.rs | GuillaumeGomez/heim | 7327b6d7097c5595d5121d48bd801bc016707e18 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! Naive clone of the `pidof` utility
use std::env;
use std::ffi::OsStr;
use std::io;
use tokio::stream::StreamExt as _;
use heim::{
process::{self, Process, ProcessResult},
Result,
};
async fn compare(process: ProcessResult<Process>, needle: &str) -> Option<process::Pid> {
let process = process.ok()?;... | 22.470588 | 93 | 0.550611 |
3114ea5e7d0fe130e8485da5283212eca6dc7905 | 1,437 | kt | Kotlin | ldb/kodein-leveldb-inmemory/src/commonMain/kotlin/org/kodein/db/leveldb/inmemory/inMemoryLevelDBFactory.kt | jakobkmar/Kodein-DB | 3f9913d7a864ba18b16a4f5e0dc760d9fa846888 | [
"MIT"
] | 291 | 2018-09-04T10:45:39.000Z | 2022-03-27T02:48:19.000Z | ldb/kodein-leveldb-inmemory/src/commonMain/kotlin/org/kodein/db/leveldb/inmemory/inMemoryLevelDBFactory.kt | jakobkmar/Kodein-DB | 3f9913d7a864ba18b16a4f5e0dc760d9fa846888 | [
"MIT"
] | 41 | 2019-06-08T12:11:56.000Z | 2022-02-07T18:23:59.000Z | ldb/kodein-leveldb-inmemory/src/commonMain/kotlin/org/kodein/db/leveldb/inmemory/inMemoryLevelDBFactory.kt | jakobkmar/Kodein-DB | 3f9913d7a864ba18b16a4f5e0dc760d9fa846888 | [
"MIT"
] | 25 | 2019-06-16T17:51:05.000Z | 2022-03-19T15:36:21.000Z | package org.kodein.db.leveldb.inmemory
import org.kodein.db.leveldb.LevelDB
import org.kodein.db.leveldb.LevelDBException
import org.kodein.db.leveldb.LevelDBFactory
import org.kodein.memory.io.ReadMemory
import kotlin.native.concurrent.ThreadLocal
@ThreadLocal
public object LevelDBInMemory : LevelDBFactory {
pr... | 32.659091 | 97 | 0.648573 |
e31705ced856f92452547c1561b168e4e87d1626 | 337 | kt | Kotlin | src/moria/objetos/Carcaj.kt | joseluisgs/MoriaKotlin2020 | e07c3e152842c58f2241aaa87d2b1fd7f5f61b78 | [
"MIT"
] | 7 | 2020-10-08T11:01:02.000Z | 2022-03-12T19:00:16.000Z | src/moria/objetos/Carcaj.kt | joseluisgs/MoriaKotlin2020 | e07c3e152842c58f2241aaa87d2b1fd7f5f61b78 | [
"MIT"
] | null | null | null | src/moria/objetos/Carcaj.kt | joseluisgs/MoriaKotlin2020 | e07c3e152842c58f2241aaa87d2b1fd7f5f61b78 | [
"MIT"
] | 3 | 2020-10-10T10:10:36.000Z | 2022-03-12T18:59:04.000Z | package moria.objetos
/**
* Carcaj para almacenar flechas
* @property cantidad Int Cantidad de flechas que tiene
* @constructor
*/
class Carcaj(tipo: String = "Carcaj", var cantidad: Int = 1) : Objeto(tipo) {
// override fun test() {
// println("Soy el objeto $tipo y mis caracteristica es cantidad: $can... | 25.923077 | 84 | 0.667656 |
cb9ede24fee9e66bb282851d54743a9f3bdda0b5 | 1,769 | go | Go | graphview_test.go | jimsmart/store4 | 790fe3b3c59148bd844236c65000aa24a636190d | [
"MIT"
] | 6 | 2017-01-16T21:26:50.000Z | 2021-05-19T22:57:38.000Z | graphview_test.go | jimsmart/store4 | 790fe3b3c59148bd844236c65000aa24a636190d | [
"MIT"
] | null | null | null | graphview_test.go | jimsmart/store4 | 790fe3b3c59148bd844236c65000aa24a636190d | [
"MIT"
] | 1 | 2017-12-22T21:15:27.000Z | 2017-12-22T21:15:27.000Z | package store4_test
import (
. "github.com/jimsmart/store4"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
type Triple struct {
S string
P string
O interface{}
}
func (t Triple) Subject() string { return t.S }
func (t Triple) Predicate() string { return t.P }
func (t Triple) Object() interface{... | 21.573171 | 56 | 0.544375 |
90e6f8636ffb87afc7509f41092ba9330cfc347b | 1,339 | py | Python | snippets/simple_json_parse.py | boisde/Greed_Island | 9c4f0195fb7bfaeb6c29e8e9638c7b0ffd9ad90b | [
"MIT"
] | null | null | null | snippets/simple_json_parse.py | boisde/Greed_Island | 9c4f0195fb7bfaeb6c29e8e9638c7b0ffd9ad90b | [
"MIT"
] | null | null | null | snippets/simple_json_parse.py | boisde/Greed_Island | 9c4f0195fb7bfaeb6c29e8e9638c7b0ffd9ad90b | [
"MIT"
] | 2 | 2016-09-10T08:13:06.000Z | 2021-05-12T18:57:05.000Z | #!/usr/bin/env python
# coding:utf-8
from __future__ import unicode_literals
import sys
# '{A:B,C:{D:E},F:G}'
# {
# 'a': 'b',
# 'c':{
# 'd': 'e'
# },
# 'f': 'g'
# }
def dumps(a):
t = '\t'
n = '\n'
t_cnt = 0
for c in a:
if c == '{':
t_cnt += 1
... | 22.316667 | 51 | 0.439134 |
1fb3910613e6875f81875deb876065e74b257fad | 681 | css | CSS | priv/static/css/app.css | CMcDonald82/phoenix-starter | 757e91326f7c82813dfb22a6eaa24147689b6dc8 | [
"MIT"
] | 1 | 2018-05-29T11:50:17.000Z | 2018-05-29T11:50:17.000Z | priv/static/css/app.css | CMcDonald82/phoenix-starter | 757e91326f7c82813dfb22a6eaa24147689b6dc8 | [
"MIT"
] | null | null | null | priv/static/css/app.css | CMcDonald82/phoenix-starter | 757e91326f7c82813dfb22a6eaa24147689b6dc8 | [
"MIT"
] | null | null | null | body,form,table,ul{margin-top:20px;margin-bottom:20px}.alert:empty{display:none}.header{border-bottom:1px solid #e5e5e5}.logo{width:519px;height:71px;display:inline-block;margin-bottom:1em;background-image:url("/images/phoenix.png");background-size:519px 71px}.header,.marketing{padding-right:15px;padding-left:15px}@med... | 340.5 | 646 | 0.797357 |
90cbac22a2f512510b8aee3ff21a3918bfc1d657 | 3,234 | py | Python | app/models/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | 1 | 2022-01-18T19:06:20.000Z | 2022-01-18T19:06:20.000Z | app/models/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | null | null | null | app/models/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | null | null | null | import os
from peewee import *
from app.common import uuid_gen
home_dir = os.getenv("HOME")
db = SqliteDatabase(home_dir + "/crypto_rider_candles.db")
class CandleStick(Model):
id = UUIDField(primary_key=True)
exchange = CharField()
timestamp = BigIntegerField()
market = CharField()
open = Floa... | 23.779412 | 77 | 0.589363 |
f04086aec7d639cfabfbb17f42cceb44dff1f5e8 | 2,797 | js | JavaScript | js/filters/kuwahara.js | daelsepara/PixelFilterJS | 5711bc6818adfd4823d24db316a48a4ed9e126b3 | [
"MIT"
] | 3 | 2019-06-27T14:17:39.000Z | 2022-02-16T15:19:11.000Z | js/filters/kuwahara.js | daelsepara/PixelFilterJS | 5711bc6818adfd4823d24db316a48a4ed9e126b3 | [
"MIT"
] | null | null | null | js/filters/kuwahara.js | daelsepara/PixelFilterJS | 5711bc6818adfd4823d24db316a48a4ed9e126b3 | [
"MIT"
] | null | null | null | // Kuwahara Filter (nxn window)
var Filter = class {
varmin(varr, srcx, srcy, min, dstx, dsty) {
if (varr < min) {
min = varr;
dstx = srcx;
dsty = srcy;
}
return { min: min, dstx: dstx, dsty: dsty };
}
Kuwahara(Input, srcx, srcy, win) {
var Channels = 4;
var pad = (win + 1) / 2;
var ofs =... | 22.198413 | 97 | 0.55059 |
5869ed5a51975b2e8907024755446cb271e629b5 | 7,017 | rs | Rust | influxdb/src/client/client_v2.rs | hank121314/influxdb-rust | 29be69e6ee720b3b0dfe6bbc3e2ceb33ba28fd11 | [
"MIT"
] | null | null | null | influxdb/src/client/client_v2.rs | hank121314/influxdb-rust | 29be69e6ee720b3b0dfe6bbc3e2ceb33ba28fd11 | [
"MIT"
] | null | null | null | influxdb/src/client/client_v2.rs | hank121314/influxdb-rust | 29be69e6ee720b3b0dfe6bbc3e2ceb33ba28fd11 | [
"MIT"
] | null | null | null | //! Client which can read and write data from InfluxDBv2.
//!
//! # Arguments
//!
//! * `url`: The URL where InfluxDB is running (ex. `http://localhost:8086`).
//! * `bucket`: The Bucket against which queries and writes will be run.
//!
//! # Examples
//!
//! ```rust
//! use influxdb::ClientV2;
//!
//! let client = C... | 31.048673 | 139 | 0.573037 |
5be57eb372e88ab0c59e57df9a725cb542d4f4bf | 913 | h | C | OfflineComfirmOrderCell.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"MIT"
] | null | null | null | OfflineComfirmOrderCell.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"MIT"
] | null | null | null | OfflineComfirmOrderCell.h | yihongmingfeng/Fruitday | 981f6ecdb03a42d95210b249590505db18195dfd | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "UITableViewCell.h"
@class UILabel;
@interface OfflineComfirmOrderCell : UITableViewCell
{
UILabel *_contentLabel;
UILabel *_titleLabel;
CDUnknownBlockType _se... | 31.482759 | 123 | 0.764513 |
229256e8fa5b1fb402ef77daaa3d58a5afb426d7 | 340 | html | HTML | pyconcz_2016/templates/admin/proposals/change_form.html | pyvec/cz.pycon.org-2016 | b4affabcf2b1cdd629a2dc67dba671b3414b3682 | [
"MIT"
] | 10 | 2016-01-27T08:37:41.000Z | 2018-04-26T08:33:44.000Z | pyconcz_2016/templates/admin/proposals/change_form.html | pyvec/cz.pycon.org-2016 | b4affabcf2b1cdd629a2dc67dba671b3414b3682 | [
"MIT"
] | 101 | 2015-11-15T11:20:33.000Z | 2019-04-03T15:17:47.000Z | pyconcz_2016/templates/admin/proposals/change_form.html | pyvec/cz.pycon.org-2016 | b4affabcf2b1cdd629a2dc67dba671b3414b3682 | [
"MIT"
] | 10 | 2015-11-15T21:35:53.000Z | 2017-01-25T14:30:27.000Z | {% extends "admin/change_form.html" %}
{% load i18n admin_urls admin_static admin_modify %}
{% block object-tools-items %}
{{ block.super }}
<li>
{% url opts|admin_urlname:'add_score' original.pk|admin_urlquote as score_url %}
<a href="{% add_preserved_filters score_url %}">{% trans "Add Score" %}</a>
<... | 28.333333 | 84 | 0.661765 |
b0f5c7aafa916411ee79cf4517596fd6034b7788 | 3,113 | sql | SQL | Code/SCRD_BRE/src/sql/calculation_version.sql | nasa/SCRD | 569d063b7df4b2a9e9054bea37edaa6455f1293e | [
"Apache-2.0"
] | 1 | 2015-03-10T08:58:40.000Z | 2015-03-10T08:58:40.000Z | Code/SCRD_BRE/src/sql/calculation_version.sql | nasa/SCRD | 569d063b7df4b2a9e9054bea37edaa6455f1293e | [
"Apache-2.0"
] | null | null | null | Code/SCRD_BRE/src/sql/calculation_version.sql | nasa/SCRD | 569d063b7df4b2a9e9054bea37edaa6455f1293e | [
"Apache-2.0"
] | null | null | null | INSERT INTO opm.calculation_version(id, deleted, name, calculation_date, calculation_result_id, account_id) VALUES(1, false, 'scenario1', '2013-07-30', 1, 1);
INSERT INTO opm.calculation_version(id, deleted, name, calculation_date, calculation_result_id, account_id) VALUES(2, false, 'scenario2', '2009-12-09', 2, 1);
IN... | 155.65 | 161 | 0.778028 |
cb74581a31bbc5d6fce9017cff1183e9e18b4d74 | 7,274 | html | HTML | sdk/boost_1_30_0/libs/date_time/doc/class_ptime.html | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | 2 | 2020-01-30T12:51:49.000Z | 2020-08-31T08:36:49.000Z | sdk/boost_1_30_0/libs/date_time/doc/class_ptime.html | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | sdk/boost_1_30_0/libs/date_time/doc/class_ptime.html | acidicMercury8/xray-1.0 | 65e85c0e31e82d612c793d980dc4b73fa186c76c | [
"Linux-OpenIB"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>posix_time::ptime Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<a href="../../../index.htm">
<img align="l... | 37.494845 | 134 | 0.622903 |
98a072604c4380c111158d5ce457335bb23c2cfd | 2,236 | html | HTML | home/templates/home/visitor_in.html | Shrinidhi1904/AtlasCopco | 3116d8f7bdff9635952c3db741adc8abe93bfb72 | [
"MIT"
] | null | null | null | home/templates/home/visitor_in.html | Shrinidhi1904/AtlasCopco | 3116d8f7bdff9635952c3db741adc8abe93bfb72 | [
"MIT"
] | null | null | null | home/templates/home/visitor_in.html | Shrinidhi1904/AtlasCopco | 3116d8f7bdff9635952c3db741adc8abe93bfb72 | [
"MIT"
] | null | null | null | {% extends 'home/base.html' %} {% block content %}
<main style="margin-top: 30px;">
<div class="container-fluid">
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-body">
<div class="table-responsive">
... | 49.688889 | 118 | 0.289803 |
965d0b8295d8afc8214b83c93ff3367e46cf588b | 1,051 | swift | Swift | Tests/ViewInspectorTests/SwiftUI/AnyViewTests.swift | nrivard/ViewInspector | 660ec4d18388e9d45fb25b3ac33df92319914a02 | [
"MIT"
] | 1 | 2020-04-27T08:30:10.000Z | 2020-04-27T08:30:10.000Z | Tests/ViewInspectorTests/SwiftUI/AnyViewTests.swift | nrivard/ViewInspector | 660ec4d18388e9d45fb25b3ac33df92319914a02 | [
"MIT"
] | null | null | null | Tests/ViewInspectorTests/SwiftUI/AnyViewTests.swift | nrivard/ViewInspector | 660ec4d18388e9d45fb25b3ac33df92319914a02 | [
"MIT"
] | 1 | 2020-03-16T15:41:11.000Z | 2020-03-16T15:41:11.000Z | import XCTest
import SwiftUI
@testable import ViewInspector
final class AnyViewTests: XCTestCase {
func testEnclosedView() throws {
let sampleView = Text("Test")
let view = AnyView(sampleView)
let sut = try view.inspect().anyView().text().content.view as? Text
XCTAssertEqual(su... | 30.911765 | 75 | 0.61941 |
7560d3131007ac2470abfc046dba93d35b043ee8 | 561 | h | C | source/pkgsrc/devel/libfirm/patches/patch-ir_adt_bitfiddle.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | 1 | 2021-11-20T22:46:39.000Z | 2021-11-20T22:46:39.000Z | source/pkgsrc/devel/libfirm/patches/patch-ir_adt_bitfiddle.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | source/pkgsrc/devel/libfirm/patches/patch-ir_adt_bitfiddle.h | Scottx86-64/dotfiles-1 | 51004b1e2b032664cce6b553d2052757c286087d | [
"Unlicense"
] | null | null | null | $NetBSD: patch-ir_adt_bitfiddle.h,v 1.1 2014/11/06 20:46:01 asau Exp $
--- ir/adt/bitfiddle.h.orig 2012-11-16 15:49:24.000000000 +0000
+++ ir/adt/bitfiddle.h
@@ -72,6 +72,7 @@ static inline int add_saturated(int x, i
* @param x A 32-bit word.
* @return The number of bits set in x.
*/
+#if !defined(__NetBSD__)
s... | 26.714286 | 70 | 0.672014 |
878b523093f9156c79054bdd28c6bc7caa080d79 | 18,199 | html | HTML | doc/html/azx__utils_8h.html | telit/IoT-AppZone-AZX | 33df6f3c65545fe94d65d52f5450a5d678739f2c | [
"MIT"
] | 1 | 2021-08-18T03:43:19.000Z | 2021-08-18T03:43:19.000Z | doc/html/azx__utils_8h.html | telit/IoT-AppZone-AZX | 33df6f3c65545fe94d65d52f5450a5d678739f2c | [
"MIT"
] | null | null | null | doc/html/azx__utils_8h.html | telit/IoT-AppZone-AZX | 33df6f3c65545fe94d65d52f5450a5d678739f2c | [
"MIT"
] | null | null | null | <!-- HTML header for doxygen 1.8.15-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" con... | 52.295977 | 467 | 0.674762 |
2678decda4acfa4c63da54b7b5789f39f4654be4 | 709 | java | Java | src/main/java/net/earthcomputer/multiconnect/transformer/StringCustomPayload.java | barraIhsan/multiconnect | fd91bc8d5c6cdf52308550a4e534f698c7893332 | [
"MIT"
] | 394 | 2019-08-15T17:13:48.000Z | 2022-03-28T23:10:01.000Z | src/main/java/net/earthcomputer/multiconnect/transformer/StringCustomPayload.java | barraIhsan/multiconnect | fd91bc8d5c6cdf52308550a4e534f698c7893332 | [
"MIT"
] | 306 | 2019-08-22T03:35:37.000Z | 2022-03-27T23:18:33.000Z | src/main/java/net/earthcomputer/multiconnect/transformer/StringCustomPayload.java | barraIhsan/multiconnect | fd91bc8d5c6cdf52308550a4e534f698c7893332 | [
"MIT"
] | 84 | 2019-12-21T19:33:37.000Z | 2022-03-27T17:18:55.000Z | package net.earthcomputer.multiconnect.transformer;
public final class StringCustomPayload {
private final String value;
public StringCustomPayload(String value) {
this.value = value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public bool... | 24.448276 | 70 | 0.634697 |
90caba5121367a1340c3775edf920c9488258bc1 | 3,195 | py | Python | redash/settings.py | slachiewicz/redash | 84d95272f31885be00fbeef0cdbf6ddae6037f5d | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-06-27T07:40:51.000Z | 2019-06-27T07:40:51.000Z | redash/settings.py | slachiewicz/redash | 84d95272f31885be00fbeef0cdbf6ddae6037f5d | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-03-20T05:38:23.000Z | 2021-03-20T05:38:23.000Z | redash/settings.py | slachiewicz/redash | 84d95272f31885be00fbeef0cdbf6ddae6037f5d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | import json
import os
import urlparse
def parse_db_url(url):
url_parts = urlparse.urlparse(url)
connection = {'threadlocals': True}
if url_parts.hostname and not url_parts.path:
connection['name'] = url_parts.hostname
else:
connection['name'] = url_parts.path[1:]
connection['h... | 35.898876 | 121 | 0.749609 |
3d0ce0e21d28382fe28481fe0d484508877225e6 | 1,764 | rs | Rust | src/lib.rs | crumblingstatue/x11-screenshot-rs | 67ce80740232166443cb3d9eb3b2e4d9d935d7ae | [
"MIT"
] | 1 | 2019-12-03T19:30:00.000Z | 2019-12-03T19:30:00.000Z | src/lib.rs | crumblingstatue/x11-screenshot-rs | 67ce80740232166443cb3d9eb3b2e4d9d935d7ae | [
"MIT"
] | 1 | 2021-02-04T09:04:26.000Z | 2021-02-04T09:09:49.000Z | src/lib.rs | crumblingstatue/x11-screenshot-rs | 67ce80740232166443cb3d9eb3b2e4d9d935d7ae | [
"MIT"
] | 1 | 2021-02-04T07:59:02.000Z | 2021-02-04T07:59:02.000Z | #![allow(dead_code)]
extern crate x11;
extern crate libc;
extern crate image;
use self::libc::{c_int, c_ulong};
use std::ffi::CString;
use x11::xlib;
use std::{slice, ptr};
use self::image::{RgbImage, Rgb, Pixel};
pub struct Screen {
display: *mut xlib::Display,
window: xlib::Window
}
#[derive(Debug)]
pub stru... | 27.138462 | 107 | 0.477891 |
2a69e61017679ec29a209949735344de33ca3f42 | 4,841 | java | Java | src/io/github/gronnmann/coinflipper/history/HistoryManager.java | gronnmann/CoinFlipper | 848df65adf5668cc8f5c92f6bdc77b4b8a716669 | [
"MIT"
] | 5 | 2017-03-20T14:29:57.000Z | 2020-06-14T17:00:24.000Z | src/io/github/gronnmann/coinflipper/history/HistoryManager.java | gronnmann/CoinFlipper | 848df65adf5668cc8f5c92f6bdc77b4b8a716669 | [
"MIT"
] | 21 | 2017-07-28T15:28:27.000Z | 2022-02-27T09:17:01.000Z | src/io/github/gronnmann/coinflipper/history/HistoryManager.java | gronnmann/CoinFlipper | 848df65adf5668cc8f5c92f6bdc77b4b8a716669 | [
"MIT"
] | 13 | 2017-03-30T04:04:34.000Z | 2022-02-11T20:28:52.000Z | package io.github.gronnmann.coinflipper.history;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukki... | 34.091549 | 148 | 0.69056 |
3d742b01fe3a2c69eb4ff321ff459b3f97ad9013 | 445 | rs | Rust | FRENCH/listings/ch10-generic-types-traits-and-lifetimes/listing-10-24/src/main.rs | frytos/rust-book-fr | 1e06c1fbc82923a7896ba3834b95c1195b7df6e1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 104 | 2019-08-03T12:08:47.000Z | 2022-03-26T00:47:27.000Z | FRENCH/listings/ch10-generic-types-traits-and-lifetimes/listing-10-24/src/main.rs | frytos/rust-book-fr | 1e06c1fbc82923a7896ba3834b95c1195b7df6e1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 172 | 2019-07-29T16:04:21.000Z | 2022-03-29T08:43:06.000Z | FRENCH/listings/ch10-generic-types-traits-and-lifetimes/listing-10-24/src/main.rs | frytos/rust-book-fr | 1e06c1fbc82923a7896ba3834b95c1195b7df6e1 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 39 | 2019-07-29T15:49:55.000Z | 2022-03-28T12:28:42.000Z | // ANCHOR: here
fn main() {
let string1 = String::from("une longue chaîne est longue");
let resultat;
{
let string2 = String::from("xyz");
resultat = la_plus_longue(string1.as_str(), string2.as_str());
}
println!("La chaîne la plus longue est {}", resultat);
}
// ANCHOR_END: here
fn... | 22.25 | 70 | 0.541573 |
7c6f2530ec35017efc9bd01e09ef89d093c6c458 | 8,060 | swift | Swift | Caculator/CalculatorBrain.swift | mohakshah/graphing-calculator | c1c8218f52d7f7397a550970bb55f1e2ce2a046f | [
"MIT"
] | null | null | null | Caculator/CalculatorBrain.swift | mohakshah/graphing-calculator | c1c8218f52d7f7397a550970bb55f1e2ce2a046f | [
"MIT"
] | null | null | null | Caculator/CalculatorBrain.swift | mohakshah/graphing-calculator | c1c8218f52d7f7397a550970bb55f1e2ce2a046f | [
"MIT"
] | null | null | null | //
// CalculatorBrain.swift
// Caculator
//
// Created by Mohak Shah on 05/07/16.
// Copyright © 2016 Mohak Shah. All rights reserved.
//
import Foundation
class CalculatorBrain
{
private var accumulator = 0.0
private var internalProgram = [AnyObject]()
func setOperand(operand: Double) {
... | 33.443983 | 121 | 0.459305 |