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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4172c4c88fc46e6eefb1b5f49f4660832e73ab80 | 3,810 | h | C | backend/drogon/trantor/trantor/utils/MsgBuffer.h | attikas/dr_website | c2d519ed06bc211f854ca2b7ad44e756eda567f2 | [
"MIT"
] | null | null | null | backend/drogon/trantor/trantor/utils/MsgBuffer.h | attikas/dr_website | c2d519ed06bc211f854ca2b7ad44e756eda567f2 | [
"MIT"
] | null | null | null | backend/drogon/trantor/trantor/utils/MsgBuffer.h | attikas/dr_website | c2d519ed06bc211f854ca2b7ad44e756eda567f2 | [
"MIT"
] | null | null | null | /**
*
* MsgBuffer.h
* An Tao
*
* Public header file in trantor lib.
*
* Copyright 2018, An Tao. All rights reserved.
* Use of this source code is governed by a BSD-style license
* that can be found in the License file.
*
*
*/
#pragma once
#include <trantor/utils/NonCopyable.h>
#include <vector>
#inc... | 22.411765 | 77 | 0.598425 |
270d9f4adf15d619134996e965e7570932375e64 | 1,451 | h | C | MTHawkeyeDemo/MTHawkeyeDemo/GraphicsDemo/GLESTool.h | JonyFang/MTHawkeye | b90d15aaa72bf6b74d80c0b62ce7a105cbcb5db1 | [
"MIT"
] | 1,357 | 2019-04-17T10:43:30.000Z | 2022-03-24T08:00:07.000Z | MTHawkeyeDemo/MTHawkeyeDemo/GraphicsDemo/GLESTool.h | JonyFang/MTHawkeye | b90d15aaa72bf6b74d80c0b62ce7a105cbcb5db1 | [
"MIT"
] | 52 | 2019-04-19T01:59:20.000Z | 2021-09-13T15:11:21.000Z | MTHawkeyeDemo/MTHawkeyeDemo/GraphicsDemo/GLESTool.h | JonyFang/MTHawkeye | b90d15aaa72bf6b74d80c0b62ce7a105cbcb5db1 | [
"MIT"
] | 173 | 2019-04-17T10:52:08.000Z | 2022-03-30T06:11:44.000Z | //
// GLESTool.h
// MTHawkeyeDemo
//
// Created by David.Dai on 2019/3/20.
// Copyright © 2019 Meitu. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GLKit/GLKit.h>
NS_ASSUME_NONNULL_BEGIN
#define GLES_LONG_STRING(x) #x
#define GLES_SHADER_STRING(name) @GLES_LONG_STRING(name)
extern NSString ... | 27.903846 | 112 | 0.787733 |
1cadc2dcfa0dda815f089a06baad67dbaf53c6ed | 1,228 | css | CSS | web/rainmaker/dev-packages/egov-bpa-dev/src/ui-config/screens/specs/utils/index.css | venkatesan-egov/frontend | 53b0d9b904a96f45cd8db8233cbbcce57599e295 | [
"MIT"
] | null | null | null | web/rainmaker/dev-packages/egov-bpa-dev/src/ui-config/screens/specs/utils/index.css | venkatesan-egov/frontend | 53b0d9b904a96f45cd8db8233cbbcce57599e295 | [
"MIT"
] | null | null | null | web/rainmaker/dev-packages/egov-bpa-dev/src/ui-config/screens/specs/utils/index.css | venkatesan-egov/frontend | 53b0d9b904a96f45cd8db8233cbbcce57599e295 | [
"MIT"
] | null | null | null | .radio-button-group {
padding: 0;
}
.checkbox-root {
width: 16px;
margin-right: 11px;
}
.fontSize12 {
font-size: 12px;
}
.city-picker-dialog-style {
min-height: 180px;
min-width: 365px;
}
@media only screen and (max-width: 768px) {
.city-picker-dialog-style {
min-width: 250px;
}
}
.tl-trade-typ... | 18.058824 | 67 | 0.685668 |
9c3529d0263cf22d3b746f71a7165b33c52e65bd | 1,782 | js | JavaScript | 40/canvas/scripts/script.js | kredep/IT2 | bdf9150f570a8b7e9c47beaac386615794559a86 | [
"MIT"
] | null | null | null | 40/canvas/scripts/script.js | kredep/IT2 | bdf9150f570a8b7e9c47beaac386615794559a86 | [
"MIT"
] | null | null | null | 40/canvas/scripts/script.js | kredep/IT2 | bdf9150f570a8b7e9c47beaac386615794559a86 | [
"MIT"
] | null | null | null | window.onload = startUp;
function startUp() {
draw1();
draw2();
draw3();
}
function draw1() {
var canvas = document.getElementById("oppg1");
var ctx = canvas.getContext('2d');
ctx.beginPath();
ctx.rect(20,200,660,230);
ctx.fillStyle = 'rgb(200,0,0)';
ctx.fillRect(20,200,660,230);
... | 24.75 | 51 | 0.541526 |
fe2dff4f1b46ac0720634d12233c24b6f0ddeade | 3,072 | c | C | src/psv-strip.c | psvsdk/psvsdk | 389e7d33dd1133e36fdf2fce8eb0b2608646f117 | [
"MIT"
] | 11 | 2019-03-08T15:59:01.000Z | 2021-10-05T04:23:43.000Z | src/psv-strip.c | psvsdk/psvsdk | 389e7d33dd1133e36fdf2fce8eb0b2608646f117 | [
"MIT"
] | 3 | 2019-03-03T20:16:19.000Z | 2020-02-09T12:00:05.000Z | src/psv-strip.c | psvsdk/psvsdk | 389e7d33dd1133e36fdf2fce8eb0b2608646f117 | [
"MIT"
] | 53 | 2020-01-06T11:25:26.000Z | 2022-03-20T15:40:41.000Z | /**
# NAME
psv-strip - strip a Vita ELF
# SYNOPSIS
psv-strip in.velf out.velf
# NOTES
does not seems to work on every case
# CREDIT
- github.com/Princess-of-Sleeping
# SEE ALSO
- velf(5)
*/
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elf.h"... | 23.097744 | 94 | 0.655924 |
1fca81150897cbfe4ea4ff6677d795b2328bf5a6 | 628 | html | HTML | ES6/promise/ajax_json/one.html | ZhengGuoDeveloper/javascript-master | 0cf071ad5a9e84720c31c7a2bc263d4613761e58 | [
"MIT"
] | null | null | null | ES6/promise/ajax_json/one.html | ZhengGuoDeveloper/javascript-master | 0cf071ad5a9e84720c31c7a2bc263d4613761e58 | [
"MIT"
] | null | null | null | ES6/promise/ajax_json/one.html | ZhengGuoDeveloper/javascript-master | 0cf071ad5a9e84720c31c7a2bc263d4613761e58 | [
"MIT"
] | null | null | null | <script>
new Promise(function (resolve, reject) {
// setTimeout(function () {
var a=100;
resolve(a);
// }, 1000);
}).then(function (res) {
console.log(res);
return new Promise(function (resolve, reject) {
// setTimeout(function () {
var b=200;
resolve(b)... | 23.259259 | 51 | 0.496815 |
0ff36619b455c8047fc6c927952fb87ee2f17577 | 8,868 | swift | Swift | Sources/MessagePack/ConvenienceProperties.swift | Aranatha/MessagePackSwift | a507b8e69a3b6ca1418f36818454959fce058cda | [
"MIT"
] | null | null | null | Sources/MessagePack/ConvenienceProperties.swift | Aranatha/MessagePackSwift | a507b8e69a3b6ca1418f36818454959fce058cda | [
"MIT"
] | null | null | null | Sources/MessagePack/ConvenienceProperties.swift | Aranatha/MessagePackSwift | a507b8e69a3b6ca1418f36818454959fce058cda | [
"MIT"
] | null | null | null | import Foundation
extension MessagePackValue {
/// The number of elements in the `.Array` or `.Map`, `nil` otherwise.
public func count() throws -> Int {
switch self {
case .array(let array):
return array.count
case .map(let dict):
return dict.count
defau... | 30.474227 | 102 | 0.568899 |
33270a402f92d2ec94e2db647e7c5d239b6f78fe | 3,733 | py | Python | temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | # -*- coding: utf-8 -*-
###############################################################################
#
# GetOneRelationship
# Retrieves information about any known relationship between two entities in LittleSis according their IDs.
#
# Python versions 2.6, 2.7, 3.x
#
# Copyright 2014, Temboo Inc.
#
# Licensed under... | 40.139785 | 205 | 0.699437 |
41365f271a2363e69f094ef8d5a9c3365ab4616e | 1,095 | kt | Kotlin | src/main/kotlin/solace/sponge/service/user/UserStorageService.kt | TheFrontier/Solace | 874c63d715195c51336742741cf27a4b0a7a1c37 | [
"MIT"
] | 2 | 2019-01-10T10:18:45.000Z | 2019-01-10T12:35:53.000Z | src/main/kotlin/solace/sponge/service/user/UserStorageService.kt | xDotDash/Solace | 3f842f87e34cd58df4ac24401cc7150ff7e27a5f | [
"MIT"
] | null | null | null | src/main/kotlin/solace/sponge/service/user/UserStorageService.kt | xDotDash/Solace | 3f842f87e34cd58df4ac24401cc7150ff7e27a5f | [
"MIT"
] | null | null | null | @file:Suppress("NOTHING_TO_INLINE")
package solace.sponge.service.user
import org.spongepowered.api.entity.living.player.User
import org.spongepowered.api.profile.GameProfile
import org.spongepowered.api.service.user.UserStorageService
import solace.java.util.unwrapped
import solace.sponge.service.uncheckedService
im... | 32.205882 | 94 | 0.786301 |
33145b0e261a1ea5fd7c8dd0a24951e1dbcfbc1a | 279 | kt | Kotlin | app/src/main/java/lt/getpet/getpet/constants/ActivityConstants.kt | Hack4Vilnius/getpet-android | f1603cc232dd76a406c76231b229e2150f9ae70a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/lt/getpet/getpet/constants/ActivityConstants.kt | Hack4Vilnius/getpet-android | f1603cc232dd76a406c76231b229e2150f9ae70a | [
"Apache-2.0"
] | null | null | null | app/src/main/java/lt/getpet/getpet/constants/ActivityConstants.kt | Hack4Vilnius/getpet-android | f1603cc232dd76a406c76231b229e2150f9ae70a | [
"Apache-2.0"
] | null | null | null | package lt.getpet.getpet.constants
class ActivityConstants {
companion object {
const val PET_FAVORITE = 1001
const val RC_SIGN_IN = 10007
const val EXTRA_PET = "pet"
const val EXTRA_SHOW_GET_PET_BUTTON = "EXTRA_SHOW_GET_PET_BUTTON"
}
} | 23.25 | 73 | 0.688172 |
5f85b844a0c276c5b6fb242334554619432dec26 | 8,352 | sql | SQL | tabmes.sql | rezaiqbal10/projekmagang | 04b1f3f4a25ab0595bc6d9180aa654286f2b3845 | [
"MIT"
] | null | null | null | tabmes.sql | rezaiqbal10/projekmagang | 04b1f3f4a25ab0595bc6d9180aa654286f2b3845 | [
"MIT"
] | null | null | null | tabmes.sql | rezaiqbal10/projekmagang | 04b1f3f4a25ab0595bc6d9180aa654286f2b3845 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 09, 2020 at 07:10 AM
-- Server version: 10.4.11-MariaDB
-- PHP Version: 7.4.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 45.639344 | 194 | 0.71875 |
1804c2477718baa3ceecb9eff1329d670d33379d | 10,940 | rs | Rust | src/main.rs | s3mon/s3mon | e0ba08efa118555a0f71185fd0c8301efcff1420 | [
"BSD-3-Clause"
] | 3 | 2019-10-18T02:59:42.000Z | 2019-10-20T09:59:16.000Z | src/main.rs | s3mon/s3mon | e0ba08efa118555a0f71185fd0c8301efcff1420 | [
"BSD-3-Clause"
] | 8 | 2019-10-03T21:02:03.000Z | 2019-10-17T21:01:44.000Z | src/main.rs | s3mon/s3mon | e0ba08efa118555a0f71185fd0c8301efcff1420 | [
"BSD-3-Clause"
] | 3 | 2019-10-10T17:14:11.000Z | 2021-01-11T05:36:24.000Z | use clap::{App, Arg};
use env_logger;
use serde_yaml;
use std::sync::Arc;
use std::{process, thread};
mod auth;
mod config;
mod s3;
fn main() {
// RUST_LOG=debug
let _ = env_logger::try_init();
// cli options
let matches = App::new("s3mon")
.version(env!("CARGO_PKG_VERSION"))
.arg(
... | 31.618497 | 88 | 0.503382 |
74c5190bfcb80e6dd566f8fe9af27947df9880fa | 586 | js | JavaScript | lodash/chain.js | kitakitabauer/node-samples | fe587bdc3946d0515e2dfc111b7d59ba2282b44f | [
"MIT"
] | null | null | null | lodash/chain.js | kitakitabauer/node-samples | fe587bdc3946d0515e2dfc111b7d59ba2282b44f | [
"MIT"
] | null | null | null | lodash/chain.js | kitakitabauer/node-samples | fe587bdc3946d0515e2dfc111b7d59ba2282b44f | [
"MIT"
] | null | null | null | 'use strict';
console.log('--- chain ---');
const _ = require('lodash');
let users = [
{name: 'fred', age: 20, gender: 'male'},
{name: 'barney', age: 30, gender: 'female'},
{name: 'john', age: 40, gender: 'male'}
];
let ret1 = _.chain(users)
.filter(user => user.gender === 'male')
.map(user => user.nam... | 17.235294 | 46 | 0.513652 |
85a0428ed36a9c08b697287c604b9fb77acfdaaa | 2,498 | js | JavaScript | src/sedan.js | CIS580/frogger-lbreck93 | 11c547360973dd6de78ae1faef06cfd9d9f86786 | [
"CC-BY-2.0"
] | null | null | null | src/sedan.js | CIS580/frogger-lbreck93 | 11c547360973dd6de78ae1faef06cfd9d9f86786 | [
"CC-BY-2.0"
] | null | null | null | src/sedan.js | CIS580/frogger-lbreck93 | 11c547360973dd6de78ae1faef06cfd9d9f86786 | [
"CC-BY-2.0"
] | null | null | null | "use strict";
const MS_PER_FRAME = 1000 / 8;
/**
* @module exports the Player class
*/
module.exports = exports = Sedan;
/**
* @constructor Player
* Creates a new player object
* @param {Postition} position object specifying an x and y
*/
function Sedan(position) {
this.state = "drive";
this.type = 'ho... | 26.574468 | 96 | 0.573259 |
6603baf5b8b978adc0a8e2e869a837269faaf70e | 1,143 | css | CSS | style/input-text.css | raihan71/adabuku-onlineBookStore | 04a451c39bc5805974e8dbdada05edd03bad7b5f | [
"MIT"
] | 2 | 2017-09-29T09:21:12.000Z | 2018-01-23T14:37:57.000Z | style/input-text.css | raihan71/adabuku-onlineBookStore | 04a451c39bc5805974e8dbdada05edd03bad7b5f | [
"MIT"
] | null | null | null | style/input-text.css | raihan71/adabuku-onlineBookStore | 04a451c39bc5805974e8dbdada05edd03bad7b5f | [
"MIT"
] | null | null | null | .style-1 input[type="text"] {
width: 500px;
margin-bottom: 10px;
padding: 5px;
border: solid 1px gainsboro;
-webkit-transition: box-shadow 0.3s, border 0.3s;
-moz-transition: box-shadow 0.3s, border 0.3s;
-o-transition: box-shadow 0.3s, border 0.3s;
transition: box-shadow 0.3s, border 0.3s;
}
.style-1 ... | 20.781818 | 70 | 0.671916 |
827cad1caf9cfb53c91fb3b2f5a262a02193a039 | 230 | sql | SQL | kenny2automate/sql/v3.sql | T-taku/kenny2automate | 4f0e8895cbcd91a8179e1d7bd1c6908e0df52051 | [
"MIT"
] | 12 | 2018-03-06T15:31:50.000Z | 2020-08-25T05:27:26.000Z | kenny2automate/sql/v3.sql | T-taku/kenny2automate | 4f0e8895cbcd91a8179e1d7bd1c6908e0df52051 | [
"MIT"
] | 9 | 2018-03-07T08:20:43.000Z | 2019-05-06T06:37:57.000Z | kenny2automate/sql/v3.sql | T-taku/kenny2automate | 4f0e8895cbcd91a8179e1d7bd1c6908e0df52051 | [
"MIT"
] | 7 | 2018-04-03T04:33:38.000Z | 2020-08-11T15:31:36.000Z | CREATE TABLE IF NOT EXISTS guilds (
-- guild ID
guild_id integer PRIMARY KEY NOT NULL,
-- bad words
words_censor text,
-- disabled commands
guild_disabled_commands text,
-- disabled cogs
guild_disabled_cogs text
)
| 20.909091 | 40 | 0.734783 |
e7338a058afd54aa901e833ef5d39a01c56f3378 | 287 | js | JavaScript | tests/auto-observe-no-cache/script.js | army8735/pixiu | 22422044d8d9172018a8e2f5048e4201d68f17a0 | [
"MIT"
] | 1 | 2019-04-08T06:16:31.000Z | 2019-04-08T06:16:31.000Z | tests/auto-observe-no-cache/script.js | army8735/pixiu | 22422044d8d9172018a8e2f5048e4201d68f17a0 | [
"MIT"
] | 3 | 2019-03-22T01:26:14.000Z | 2019-04-22T08:35:44.000Z | tests/auto-observe-no-cache/script.js | army8735/pixiu | 22422044d8d9172018a8e2f5048e4201d68f17a0 | [
"MIT"
] | null | null | null | 'use strict';
let sels = ['#a', '#b'];
let index = 0;
pixiu.auto.observe(0, function(list, str) {
document.querySelector(sels[index++]).value = str;
});
document.querySelector('div').innerText = 0.2;
setTimeout(function() {
document.querySelector('div').innerText = 0.3;
}, 100);
| 20.5 | 52 | 0.655052 |
11e58204ddeed60779026f15576ebe1f384c0c78 | 1,052 | html | HTML | manuscript/page-249/body.html | marvindanig/the-kama-sutra-of-vatsyayana | 5356880ede1323494cf2ae5f87b24a9eb1f7dc8b | [
"CECILL-B"
] | 1 | 2019-03-27T16:54:31.000Z | 2019-03-27T16:54:31.000Z | manuscript/page-249/body.html | marvindanig/the-kama-sutra-of-vatsyayana | 5356880ede1323494cf2ae5f87b24a9eb1f7dc8b | [
"CECILL-B"
] | null | null | null | manuscript/page-249/body.html | marvindanig/the-kama-sutra-of-vatsyayana | 5356880ede1323494cf2ae5f87b24a9eb1f7dc8b | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">certain things with the values of which she may be unacquainted, and if she begins to dispute with him about the things or their value, he should not contradict her, but point out that he agrees with her in every way.</p><p>Thus ends the ways of ma... | 1,052 | 1,052 | 0.779468 |
5f0b894da7f3a622d1743402f0b4794586fdab50 | 2,076 | ts | TypeScript | web/src/app/entry/job/job-info.component.ts | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | 16 | 2019-11-28T18:05:21.000Z | 2021-12-08T18:09:18.000Z | web/src/app/entry/job/job-info.component.ts | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | 1,127 | 2019-11-29T08:57:25.000Z | 2022-03-31T20:21:32.000Z | web/src/app/entry/job/job-info.component.ts | AKhodus/adcm | 98dbf22af3f1c6afa94505e9acaff0ac4088a602 | [
"Apache-2.0"
] | 10 | 2019-11-28T18:05:06.000Z | 2022-01-13T06:16:40.000Z | // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT W... | 28.438356 | 83 | 0.589114 |
47864b2742619f12f0bbc587a53cf742345d3951 | 2,810 | html | HTML | templates/instrucciones.html | Francisco-Galindo/psychic-octo-lamp | 0a9cd476e2167285201990d7227dec6ba4057264 | [
"MIT"
] | null | null | null | templates/instrucciones.html | Francisco-Galindo/psychic-octo-lamp | 0a9cd476e2167285201990d7227dec6ba4057264 | [
"MIT"
] | null | null | null | templates/instrucciones.html | Francisco-Galindo/psychic-octo-lamp | 0a9cd476e2167285201990d7227dec6ba4057264 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<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">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity... | 45.322581 | 214 | 0.567972 |
7e45cf5251f8ea19f7f24f16a2e592bb772bd797 | 1,552 | swift | Swift | LeetCode.swift/Solution/098_ValidateBinarySearchTree.swift | yeziahehe/LeetCode.swift | f8db7799fbbba0b7930881d1cdaa3c78a0f9cd92 | [
"MIT"
] | 11 | 2017-10-09T10:00:50.000Z | 2021-12-01T01:55:33.000Z | LeetCode.swift/Solution/098_ValidateBinarySearchTree.swift | JustJooney/LeetCode.swift | f8db7799fbbba0b7930881d1cdaa3c78a0f9cd92 | [
"MIT"
] | null | null | null | LeetCode.swift/Solution/098_ValidateBinarySearchTree.swift | JustJooney/LeetCode.swift | f8db7799fbbba0b7930881d1cdaa3c78a0f9cd92 | [
"MIT"
] | 4 | 2019-03-04T11:17:01.000Z | 2022-01-04T19:55:10.000Z | //
// 098_ValidateBinarySearchTree.swift
// LeetCode.swift
//
// Created by 叶帆 on 2020/8/25.
// Copyright © 2020 Suzhou Coryphaei Information&Technology Co., Ltd. All rights reserved.
//
/**
给定一个二叉树,判断其是否是一个有效的二叉搜索树。
假设一个二叉搜索树具有如下特征:
节点的左子树只包含小于当前节点的数。
节点的右子树只包含大于当前节点的数。
所有左子树和右子树自身必须也是二叉搜索树。
示例 1:
输入:
... | 20.693333 | 91 | 0.583119 |
350435931ee29ee2b61c4923720a4d7356eef2f1 | 238 | kt | Kotlin | app/src/main/java/com/zachtib/barcodewallet/ui/model/Resource.kt | zachtib/BarcodeWallet | 5fd5af7275df6c17fef4a38ab328dd1a4ffa4ddf | [
"MIT"
] | null | null | null | app/src/main/java/com/zachtib/barcodewallet/ui/model/Resource.kt | zachtib/BarcodeWallet | 5fd5af7275df6c17fef4a38ab328dd1a4ffa4ddf | [
"MIT"
] | null | null | null | app/src/main/java/com/zachtib/barcodewallet/ui/model/Resource.kt | zachtib/BarcodeWallet | 5fd5af7275df6c17fef4a38ab328dd1a4ffa4ddf | [
"MIT"
] | null | null | null | package com.zachtib.barcodewallet.ui.model
sealed class Resource<out T> {
object Loading : Resource<Nothing>()
data class Content<T>(val data: T) : Resource<T>()
data class Error<T>(val throwable: Throwable) : Resource<T>()
} | 34 | 65 | 0.701681 |
f19221b610b7b13308e193c60285036a8578fc02 | 298 | rb | Ruby | test/controllers/dataset_items_controller_test.rb | unipept/unipept | f8f7fc62fcf2f17dcbeabfe992de989eacaaec35 | [
"MIT"
] | 15 | 2015-10-27T19:45:01.000Z | 2021-05-03T08:52:21.000Z | test/controllers/dataset_items_controller_test.rb | unipept/unipept | f8f7fc62fcf2f17dcbeabfe992de989eacaaec35 | [
"MIT"
] | 1,106 | 2017-02-22T16:53:39.000Z | 2022-03-30T21:56:46.000Z | test/controllers/dataset_items_controller_test.rb | unipept/unipept | f8f7fc62fcf2f17dcbeabfe992de989eacaaec35 | [
"MIT"
] | 3 | 2018-11-29T01:11:26.000Z | 2020-08-14T01:24:15.000Z | require 'test_helper'
class DatasetItemsControllerTest < ActionController::TestCase
test 'should show datasetitem' do
datasetitem1 = dataset_items(:datasetitem1)
get :show, params: { 'id' => '1' }
assert_response :success
assert_equal datasetitem1.data, @response.body
end
end
| 27.090909 | 61 | 0.741611 |
e72f5fb36f232ad7f10dd2a694c78236b9fa7770 | 3,211 | js | JavaScript | src/stories/components/data-display/avatar/example.stories.js | qasir-id/qiui | d2abfe69c904e7218f26311b066affd73bb6539c | [
"MIT"
] | null | null | null | src/stories/components/data-display/avatar/example.stories.js | qasir-id/qiui | d2abfe69c904e7218f26311b066affd73bb6539c | [
"MIT"
] | null | null | null | src/stories/components/data-display/avatar/example.stories.js | qasir-id/qiui | d2abfe69c904e7218f26311b066affd73bb6539c | [
"MIT"
] | null | null | null | // Vendors
import React from 'react';
// Material UI
import { makeStyles } from '@material-ui/core/styles';
// Components
import AvatarImage from './avatar-image';
import AvatarImageDocs from './avatar-image/docs.mdx';
import AvatarLetter from './avatar-letter';
import AvatarLetterDocs from './avatar-letter/docs.mdx... | 19.579268 | 63 | 0.62317 |
b11d38aa50fe6994622b91f5a98c5944d0af9204 | 3,904 | css | CSS | Public/Home/css/cstfont/iconfont.css | qq372915965/sjshop | 139245362c969af29201b028e762f1f6cad6073a | [
"BSD-2-Clause"
] | null | null | null | Public/Home/css/cstfont/iconfont.css | qq372915965/sjshop | 139245362c969af29201b028e762f1f6cad6073a | [
"BSD-2-Clause"
] | null | null | null | Public/Home/css/cstfont/iconfont.css | qq372915965/sjshop | 139245362c969af29201b028e762f1f6cad6073a | [
"BSD-2-Clause"
] | null | null | null |
@font-face {font-family: "iconfont";
src: url('iconfont.eot?t=1526267822022'); /* IE9*/
src: url('iconfont.eot?t=1526267822022#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAhwAAsAAAAADOAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABC... | 108.444444 | 2,955 | 0.892674 |
df84944a377bbc3f605c43ea7cd0a26ba93682d7 | 510 | ts | TypeScript | packages/hm-utils/lib/requestFactory.d.ts | Foreinyel/hemyn-common | 688201aaa667c25ac81a7a8dbdcff7ba9756173b | [
"MIT"
] | null | null | null | packages/hm-utils/lib/requestFactory.d.ts | Foreinyel/hemyn-common | 688201aaa667c25ac81a7a8dbdcff7ba9756173b | [
"MIT"
] | null | null | null | packages/hm-utils/lib/requestFactory.d.ts | Foreinyel/hemyn-common | 688201aaa667c25ac81a7a8dbdcff7ba9756173b | [
"MIT"
] | null | null | null | export interface RequestOptions {
requestInterceptors?: (config: any) => void;
timeout?: number;
isOk?: (res: any) => boolean;
getErr?: (res: any) => string;
getData?: (res: any) => any;
on401?: () => void;
statusCodeKey?: string;
}
declare const _default: (options: RequestOptions) => {
... | 31.875 | 62 | 0.605882 |
8567633d8fb4308a9d3d449ca176462c40a15304 | 304 | js | JavaScript | react-complete-guide/practice-one/src/UserOutput/UserOutput.js | tawillia/React_projects | 7ced1556708c0aa9cc53225ed9abe954b0db5748 | [
"MIT"
] | null | null | null | react-complete-guide/practice-one/src/UserOutput/UserOutput.js | tawillia/React_projects | 7ced1556708c0aa9cc53225ed9abe954b0db5748 | [
"MIT"
] | null | null | null | react-complete-guide/practice-one/src/UserOutput/UserOutput.js | tawillia/React_projects | 7ced1556708c0aa9cc53225ed9abe954b0db5748 | [
"MIT"
] | null | null | null | import React from 'react';
import './UserOutput.css';
const userOutput = props => {
return (
<div className='UserOutput'>
<p className='UserName'>Username: {props.userName}</p>
<p>Input a new usename in the input box to change current username!</p>
</div>
);
};
export default userOutput;
| 20.266667 | 74 | 0.680921 |
124d988c723f03660a4b5c632487851c14bf20e6 | 24,011 | h | C | include/oHpi.h | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 5 | 2018-12-18T01:32:53.000Z | 2021-11-15T10:41:48.000Z | include/oHpi.h | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 34 | 2018-05-11T21:31:33.000Z | 2021-01-12T07:13:46.000Z | include/oHpi.h | openhpi2/openhpi_apr25 | 720d4043124ac44d17715db4ffb735c623c08e38 | [
"BSD-3-Clause"
] | 8 | 2018-08-27T22:48:44.000Z | 2022-03-15T03:49:55.000Z | /* -*- linux-c -*-
*
* (C) Copright IBM Corp 2004-2006
* (C) Copyright Pigeon Point Systems. 2010-2011
* (C) Copyright Nokia Siemens Networks 2010
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNES... | 37.693878 | 88 | 0.645121 |
39d89a6965253c30a2e6d52d7996699588313d64 | 388 | js | JavaScript | api/dbcon.js | sarahwalter/myplanner | 85c30238cba31cb3c0aef783e2646503561b1150 | [
"MIT"
] | null | null | null | api/dbcon.js | sarahwalter/myplanner | 85c30238cba31cb3c0aef783e2646503561b1150 | [
"MIT"
] | 6 | 2018-07-19T03:06:11.000Z | 2018-08-17T03:32:11.000Z | api/dbcon.js | sarahwalter/myplanner | 85c30238cba31cb3c0aef783e2646503561b1150 | [
"MIT"
] | 3 | 2018-07-14T15:17:20.000Z | 2018-07-14T22:42:50.000Z | const mysql = require('mysql');
var pool = mysql.createPool({
connectionLimit: 10,
host: 'us-cdbr-iron-east-04.cleardb.net',
user: process.env.DATABASE_USER,
password: process.env.DATABASE_PASSWORD,
database: 'heroku_17a4cf0a865e81c'
// host: 'localhost',
// user: 'root',
// password: ''... | 27.714286 | 45 | 0.654639 |
1640eb875d4ee8ad37e5d999856d99d2db2ad219 | 1,336 | h | C | linux-2.6.0/include/linux/efs_fs.h | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | 1 | 2020-11-10T12:47:02.000Z | 2020-11-10T12:47:02.000Z | linux-2.6.0/include/linux/efs_fs.h | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | linux-2.6.0/include/linux/efs_fs.h | dnhua/Linux_study | 96863b599cbba9c925b3209bed07b1d7b60cb463 | [
"MIT"
] | null | null | null | /*
* efs_fs.h
*
* Copyright (c) 1999 Al Smith
*
* Portions derived from work (c) 1995,1996 Christian Vogelgsang.
*/
#ifndef __EFS_FS_H__
#define __EFS_FS_H__
#define EFS_VERSION "1.0a"
static const char cprt[] = "EFS: "EFS_VERSION" - (c) 1999 Al Smith <Al.Smith@aeschi.ch.eu.org>";
#include <asm/uaccess.h>
/*... | 25.207547 | 96 | 0.761976 |
b72caf03d02d42e125203a689c7fc9dc4afd73b9 | 1,826 | asm | Assembly | programs/oeis/052/A052515.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/052/A052515.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/052/A052515.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A052515: Number of ordered pairs of complementary subsets of an n-set with both subsets of cardinality at least 2.
; 0,0,0,0,6,20,50,112,238,492,1002,2024,4070,8164,16354,32736,65502,131036,262106,524248,1048534,2097108,4194258,8388560,16777166,33554380,67108810,134217672,268435398,536870852,1073741762,2147483584,429... | 166 | 1,640 | 0.912924 |
9962ee4feb34497663c925ce2d3315b1612774c4 | 7,592 | c | C | lib/trusty/syscall.c | Rashed97/trusty_lk_trusty | 6316ab7d8285a9738ac0b63552b7a60c074cb3de | [
"MIT"
] | 7 | 2020-03-26T01:52:25.000Z | 2021-11-29T07:00:24.000Z | lib/trusty/syscall.c | Rashed97/trusty_lk_trusty | 6316ab7d8285a9738ac0b63552b7a60c074cb3de | [
"MIT"
] | 2 | 2020-03-28T22:53:56.000Z | 2021-12-03T15:33:32.000Z | lib/trusty/syscall.c | Rashed97/trusty_lk_trusty | 6316ab7d8285a9738ac0b63552b7a60c074cb3de | [
"MIT"
] | 2 | 2020-03-26T02:20:24.000Z | 2021-01-31T22:46:57.000Z | /*
* Copyright (c) 2013, Google, Inc. All rights reserved
* Copyright (c) 2013-2018, NVIDIA CORPORATION. All rights reserved
*
* 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 re... | 26.089347 | 80 | 0.723393 |
8787915fc1b1c73d855c3281eeb3af3f02ba091c | 1,969 | kt | Kotlin | app/src/main/java/com/anurag/newsfeedapp/data/network/NetworkDataSource.kt | droid-it/News-Feed-App | 5b285f252a3f53179a3b27a99618489722588242 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/anurag/newsfeedapp/data/network/NetworkDataSource.kt | droid-it/News-Feed-App | 5b285f252a3f53179a3b27a99618489722588242 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/anurag/newsfeedapp/data/network/NetworkDataSource.kt | droid-it/News-Feed-App | 5b285f252a3f53179a3b27a99618489722588242 | [
"Apache-2.0"
] | null | null | null | package com.anurag.newsfeedapp.data.network
import com.android.volley.Request
import com.android.volley.toolbox.JsonObjectRequest
import com.anurag.newsfeedapp.data.News
import com.anurag.newsfeedapp.data.finalTime
import org.json.JSONObject
import javax.inject.Inject
import javax.inject.Singleton
import kotlin.corout... | 30.765625 | 98 | 0.624175 |
e2675d948123541dabe4ab70a85fa2239804e839 | 206 | sql | SQL | sql/_13_issues/_10_1h/cases/CUBRIDSUS-2941.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | sql/_13_issues/_10_1h/cases/CUBRIDSUS-2941.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | sql/_13_issues/_10_1h/cases/CUBRIDSUS-2941.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | SELECT STR_TO_DATE('abc','abc');
SELECT STR_TO_DATE('','vvvvvv');
SELECT STR_TO_DATE('000%%','000%%');
SELECT STR_TO_DATE('abc 4','cde %s');
SELECT STR_TO_DATE('abc 11:33:44 am 19 23:59:59','cde %r %d %T'); | 41.2 | 65 | 0.660194 |
e700a2a12b453bc1cfb73ec2fd13af1fdcd9f820 | 4,065 | swift | Swift | Sources/LSFoundation/String+LSFoundation.swift | hisaac/LSFoundation | 483447cc6ebf189e963c738671913e5a649e0856 | [
"MIT"
] | null | null | null | Sources/LSFoundation/String+LSFoundation.swift | hisaac/LSFoundation | 483447cc6ebf189e963c738671913e5a649e0856 | [
"MIT"
] | null | null | null | Sources/LSFoundation/String+LSFoundation.swift | hisaac/LSFoundation | 483447cc6ebf189e963c738671913e5a649e0856 | [
"MIT"
] | null | null | null | //
// String+LSFoundation.swift
// LSFoundation
//
import Foundation
public extension String {
/// Convenience accessor for `NSString`'s `lastPathComponent` property
var lastPathComponent: String {
return NSString(string: self).lastPathComponent
}
/// Checks if a string does not contain another string
/// ... | 34.74359 | 89 | 0.709471 |
3dcda4624610ac0ea0868998394b531847969493 | 635 | rs | Rust | src/test/kani/Enum/discriminant.rs | celinval/rmc-dev | d7a574d0d2364010c86851cf57000b2da439d873 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 61 | 2021-05-04T06:33:26.000Z | 2022-01-20T22:47:12.000Z | src/test/kani/Enum/discriminant.rs | celinval/rmc-dev | d7a574d0d2364010c86851cf57000b2da439d873 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 494 | 2021-04-26T15:13:24.000Z | 2022-01-22T01:24:55.000Z | src/test/kani/Enum/discriminant.rs | celinval/rmc-dev | d7a574d0d2364010c86851cf57000b2da439d873 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 17 | 2021-04-30T11:01:35.000Z | 2022-01-11T23:05:39.000Z | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT
// Testcase for https://github.com/model-checking/rmc/issues/558.
// See https://rust-lang.github.io/unsafe-code-guidelines/layout/enums.html for information on the
// layout.
pub enum MyEnum {
Val1,
... | 30.238095 | 98 | 0.633071 |
59927239bd241ce0d56271947d3da33ac27c193b | 5,017 | kt | Kotlin | src/test/kotlin/no/nav/tjenestepensjon/simulering/v1/OpptjeningsperiodeCallableTest.kt | navikt/tjenestepensjon-simulering | b0d117c47a8a045e96ffb86570c8271bf35d67b1 | [
"MIT"
] | null | null | null | src/test/kotlin/no/nav/tjenestepensjon/simulering/v1/OpptjeningsperiodeCallableTest.kt | navikt/tjenestepensjon-simulering | b0d117c47a8a045e96ffb86570c8271bf35d67b1 | [
"MIT"
] | 1 | 2019-05-28T16:40:24.000Z | 2019-05-29T05:38:31.000Z | src/test/kotlin/no/nav/tjenestepensjon/simulering/v1/OpptjeningsperiodeCallableTest.kt | navikt/tjenestepensjon-simulering | b0d117c47a8a045e96ffb86570c8271bf35d67b1 | [
"MIT"
] | null | null | null | package no.nav.tjenestepensjon.simulering.v1
import no.nav.tjenestepensjon.simulering.model.domain.FNR
import no.nav.tjenestepensjon.simulering.model.domain.TPOrdning
import no.nav.tjenestepensjon.simulering.model.domain.TpLeverandor
import no.nav.tjenestepensjon.simulering.model.domain.TpLeverandor.EndpointImpl.REST
... | 51.193878 | 163 | 0.70281 |
856157398be0d5b103a29e11dade52d50b23b806 | 692 | js | JavaScript | src/rocks/timeline-pusher/index.js | animachine/animachine | ee4cf607901a2cde5ffd20783f7ac4fc6765a5d2 | [
"MIT"
] | 447 | 2015-02-24T10:44:00.000Z | 2022-02-11T22:01:34.000Z | src/rocks/timeline-pusher/index.js | Ni-c0de-mus/animachine | 5be456f187f4f65769039e42e3496d494b2f3957 | [
"MIT"
] | 8 | 2015-02-25T19:31:06.000Z | 2018-10-05T15:53:31.000Z | src/rocks/timeline-pusher/index.js | Ni-c0de-mus/animachine | 5be456f187f4f65769039e42e3496d494b2f3957 | [
"MIT"
] | 45 | 2015-01-15T14:43:16.000Z | 2022-01-04T11:55:03.000Z | import {createComputedValue} from 'afflatus'
BETON.define({
id: 'timeline-pusher',
dependencies: ['project-manager'],
init
})
function init({projectManager}) {
const {state, actions, getters} = projectManager
let lastTime = performance.now()
function push() {
const time = performance.now()
const ... | 23.066667 | 59 | 0.676301 |
2fbdae89e50b93552ec0023514e0eeb7ac7d9c7f | 35 | sql | SQL | packages/auth/sql/20000/auth.schema.sql | davidsparkles/fullstack-one | 21507851cdadc3e544db204f24d110a0f5e15034 | [
"MIT"
] | 32 | 2017-11-28T00:35:53.000Z | 2020-04-07T03:14:02.000Z | packages/auth/sql/20000/auth.schema.sql | davidsparkles/fullstack-one | 21507851cdadc3e544db204f24d110a0f5e15034 | [
"MIT"
] | 67 | 2018-01-13T10:31:47.000Z | 2019-12-02T15:49:47.000Z | _v1/packages/auth/sql/20000/auth.schema.sql | fullstack-build/soniq | c18a280ba2601e4c020d9461bf500adaeb6058d0 | [
"MIT"
] | 5 | 2018-08-16T22:55:26.000Z | 2019-11-27T20:52:49.000Z | CREATE SCHEMA IF NOT EXISTS _auth;
| 17.5 | 34 | 0.8 |
f170f4fbfb831b2d9760325149e68b1815e94a45 | 718 | rb | Ruby | sinatra-secure-password-lab-v-000/spec/spec_helper.rb | josephhyatt/learn_co | a627a15eb71a0e0aa5ef3e518b8fa52050d772f3 | [
"MIT"
] | null | null | null | sinatra-secure-password-lab-v-000/spec/spec_helper.rb | josephhyatt/learn_co | a627a15eb71a0e0aa5ef3e518b8fa52050d772f3 | [
"MIT"
] | 15 | 2020-02-25T22:30:45.000Z | 2022-02-26T08:32:24.000Z | spec/spec_helper.rb | mcdonaldcarolyn/tank-census | 0364a3e4881a3fa474bbf76bc7b62bacd05c33d9 | [
"MIT"
] | 1 | 2020-08-14T21:30:15.000Z | 2020-08-14T21:30:15.000Z | require_relative '../config/environment.rb'
require 'rack/test'
ENV["SINATRA_ENV"] = "test"
require_relative '../config/environment'
require 'capybara/rspec'
require 'capybara/dsl'
require 'rack_session_access/capybara'
if ActiveRecord::Migrator.needs_migration?
raise 'Migrations are pending. Run `rake db:migrate ... | 19.944444 | 94 | 0.763231 |
a5ff047e3accf9953346f2db94e3153698888030 | 232 | swift | Swift | eTrips/MVC/Models/StaticData/Grant/Grant.swift | unicef/etools-etrips-ios | b03cf1e1fefa1f6e8dc88ccc74e18e25eaeaa5fc | [
"Apache-2.0"
] | 2 | 2017-04-27T05:08:20.000Z | 2017-10-02T17:54:16.000Z | eTrips/MVC/Models/StaticData/Grant/Grant.swift | unicef/etools-etrips-ios | b03cf1e1fefa1f6e8dc88ccc74e18e25eaeaa5fc | [
"Apache-2.0"
] | null | null | null | eTrips/MVC/Models/StaticData/Grant/Grant.swift | unicef/etools-etrips-ios | b03cf1e1fefa1f6e8dc88ccc74e18e25eaeaa5fc | [
"Apache-2.0"
] | null | null | null | import Foundation
import ObjectMapper
public class Grant: Mappable {
var grantID: Int?
var name: String?
public required init?(map: Map) {
}
public func mapping(map: Map) {
grantID <- map["id"]
name <- map["name"]
}
}
| 13.647059 | 34 | 0.663793 |
7a2079e71eeac4bd3ff4009d46b408a684a97198 | 6,254 | rs | Rust | Rust/rust_gtk/src/bin/button_counter/mod.rs | sreeise/Programming-Reference | c77f6a46abab28b8f0f4a56ebd9843310b19d489 | [
"MIT"
] | 2 | 2019-04-28T00:56:22.000Z | 2019-08-03T17:41:19.000Z | Rust/rust_gtk/src/bin/button_counter/mod.rs | sreeise/ProgrammingSnippets | c77f6a46abab28b8f0f4a56ebd9843310b19d489 | [
"MIT"
] | 1 | 2018-07-10T22:33:12.000Z | 2018-07-16T22:30:35.000Z | Rust/rust_gtk/src/bin/button_counter/mod.rs | sreeise/ProgrammingSnippets | c77f6a46abab28b8f0f4a56ebd9843310b19d489 | [
"MIT"
] | null | null | null | use gtk::*;
use std::process;
use std::sync::atomic::Ordering;
use std::sync::Arc;
use std::sync::atomic::AtomicUsize;
/// Predefined messages that will be used by the UI upon certain conditions.
const MESSAGES: [&str; 3] = ["Ouch! You hit me!", "...", "Thanks!"];
#[repr(u8)]
// An enum, represented as a u8, that is ... | 32.915789 | 93 | 0.620563 |
dfa7d97cb5d24befbef3fc635d0792030cdb15cc | 102 | ts | TypeScript | composition-api/src/plugins/myapp-scss/index.ts | michaldolensky/large-scale-apps-my-vue3-project | 854db3e9eb05bc41624aee43861c00aa48cbef8c | [
"MIT"
] | 119 | 2020-08-18T03:37:06.000Z | 2022-03-27T21:49:22.000Z | composition-api/src/plugins/myapp-scss/index.ts | bravohex/large-scale-apps-my-vue3-project | 84b4be34619ff5776c0353c1b3fed879d07fffbb | [
"MIT"
] | 8 | 2020-09-07T03:29:44.000Z | 2022-01-24T15:24:07.000Z | composition-api/src/plugins/myapp-scss/index.ts | bravohex/large-scale-apps-my-vue3-project | 84b4be34619ff5776c0353c1b3fed879d07fffbb | [
"MIT"
] | 30 | 2020-09-14T21:47:56.000Z | 2022-03-28T14:49:28.000Z | export const MyAppScss = {
install() {
require('../../assets/scss/myapp-scss/index.scss')
}
}
| 17 | 54 | 0.607843 |
0bb56b74527c4ab3380dff7d3851c648cd78de0c | 347 | py | Python | src/workflows/__init__.py | stufisher/python-workflows | f1f67bb56a0f8a6820762f68e2e59ade2da60a95 | [
"BSD-3-Clause"
] | null | null | null | src/workflows/__init__.py | stufisher/python-workflows | f1f67bb56a0f8a6820762f68e2e59ade2da60a95 | [
"BSD-3-Clause"
] | null | null | null | src/workflows/__init__.py | stufisher/python-workflows | f1f67bb56a0f8a6820762f68e2e59ade2da60a95 | [
"BSD-3-Clause"
] | null | null | null | __version__ = "2.18"
def version():
"""Returns the version number of the installed workflows package."""
return __version__
class Error(Exception):
"""Common class for exceptions deliberately raised by workflows package."""
class Disconnected(Error):
"""Indicates the connection could not be establ... | 23.133333 | 79 | 0.723343 |
975625d3cc1cce999aa425f569ce2a6d691f6ee7 | 4,014 | swift | Swift | Sources/v1/Common/APIs/TFA/TFAModels.swift | iSevenDays/ios-sdk | ae56611c15a510f958d9b80b2e52f605ed3bea56 | [
"Apache-2.0"
] | null | null | null | Sources/v1/Common/APIs/TFA/TFAModels.swift | iSevenDays/ios-sdk | ae56611c15a510f958d9b80b2e52f605ed3bea56 | [
"Apache-2.0"
] | null | null | null | Sources/v1/Common/APIs/TFA/TFAModels.swift | iSevenDays/ios-sdk | ae56611c15a510f958d9b80b2e52f605ed3bea56 | [
"Apache-2.0"
] | null | null | null | import Foundation
public enum TFAFactorType: String {
case password
case totp
case email
}
public struct TFAMetaResponse: Codable, CustomDebugStringConvertible {
public let factorId: Int
public let factorType: String
public let keychainData: String?
public let salt: String?
public... | 27.306122 | 91 | 0.571749 |
6b920da1399613346df31fed0dab46df866b7721 | 14,651 | h | C | engine/src/base/objsystem/primitives.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 5 | 2016-01-29T14:39:46.000Z | 2019-04-24T14:45:55.000Z | engine/src/base/objsystem/primitives.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | engine/src/base/objsystem/primitives.h | Oghma/speect | f618e8d651cb9ec4c90cc244af3e7aa993599f6d | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 7 | 2015-09-17T14:45:05.000Z | 2020-03-30T13:19:29.000Z | /************************************************************************************/
/* Copyright (c) 2008-2011 The Department of Arts and Culture, */
/* The Government of the Republic of South Africa. */
/* ... | 37.566667 | 86 | 0.4513 |
0f935d32404e8afe9671fc34953fadefbe695543 | 415 | asm | Assembly | oeis/145/A145543.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/145/A145543.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/145/A145543.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A145543: Denominators in continued fraction expansion of sqrt(3/5).
; Submitted by Christian Krause
; 1,4,9,31,71,244,559,1921,4401,15124,34649,119071,272791,937444,2147679,7380481,16908641,58106404,133121449,457470751,1048062951,3601659604,8251382159,28355806081,64962994321,223244789044,511452572409,1757602506271,40... | 59.285714 | 229 | 0.824096 |
1f92ef2000145cbb183aa016ee627031b2ae556c | 15,216 | html | HTML | v16.10.0/html/classwx_ex_statistics.html | antonvw/wxExtension-help | af3e72b4d33f6a61cd67e67054effb78e5daf318 | [
"MIT"
] | null | null | null | v16.10.0/html/classwx_ex_statistics.html | antonvw/wxExtension-help | af3e72b4d33f6a61cd67e67054effb78e5daf318 | [
"MIT"
] | null | null | null | v16.10.0/html/classwx_ex_statistics.html | antonvw/wxExtension-help | af3e72b4d33f6a61cd67e67054effb78e5daf318 | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | 55.532847 | 410 | 0.675605 |
7f7c79c522ffe2d476329ad8f0727a6896d62344 | 70 | rs | Rust | src/transfer/mod.rs | vyomkeshj/hyperqueue | 24d367c9f6b9d690a25ec01e59a4db053e3d533a | [
"MIT"
] | null | null | null | src/transfer/mod.rs | vyomkeshj/hyperqueue | 24d367c9f6b9d690a25ec01e59a4db053e3d533a | [
"MIT"
] | null | null | null | src/transfer/mod.rs | vyomkeshj/hyperqueue | 24d367c9f6b9d690a25ec01e59a4db053e3d533a | [
"MIT"
] | null | null | null | pub mod auth;
pub mod connection;
pub mod messages;
pub mod protocol;
| 14 | 19 | 0.771429 |
5fdfc30f203612eb8e922c2fe8f4f676dd612461 | 1,912 | h | C | 1.28.0/gnustep-base-1.28.0/Headers/Foundation/NSErrorRecoveryAttempting.h | mlcldh/GNUstepBase | 21ec741298079662afead20514069daf3b5a6c41 | [
"MIT"
] | 5 | 2022-01-08T08:05:58.000Z | 2022-01-11T03:29:09.000Z | notification/libs-base-master/Headers/Foundation/NSErrorRecoveryAttempting.h | barry-source/tips | 29374cfdf8e713bd03aecffc5f48fd8d1652433d | [
"MIT"
] | null | null | null | notification/libs-base-master/Headers/Foundation/NSErrorRecoveryAttempting.h | barry-source/tips | 29374cfdf8e713bd03aecffc5f48fd8d1652433d | [
"MIT"
] | 1 | 2022-03-20T01:15:17.000Z | 2022-03-20T01:15:17.000Z | /** Interface for NSErrorRecoveryAttempting for GNUStep
Copyright (C) 2007 Free Software Foundation, Inc.
Written by: Fred Kiefer <fredkiefer@gmx.de>
Date: July 2007
This file is part of the GNUstep Base Library.
This library is free software; you can redistribute it and/or
modify it under t... | 31.866667 | 69 | 0.733787 |
5885a8ba4e3275ce40998514b7f907534e6ae8e4 | 881 | swift | Swift | SinaProject/SinaProject/Classes/Other/Category/UIButton-Button.swift | fcgIsPioneer/SinaProject_swift3 | 5d43628776f73797073eb8b1b57ab86f837c1fc5 | [
"Apache-2.0"
] | null | null | null | SinaProject/SinaProject/Classes/Other/Category/UIButton-Button.swift | fcgIsPioneer/SinaProject_swift3 | 5d43628776f73797073eb8b1b57ab86f837c1fc5 | [
"Apache-2.0"
] | null | null | null | SinaProject/SinaProject/Classes/Other/Category/UIButton-Button.swift | fcgIsPioneer/SinaProject_swift3 | 5d43628776f73797073eb8b1b57ab86f837c1fc5 | [
"Apache-2.0"
] | null | null | null | //
// UIButton-Button.swift
// SinaProject
//
// Created by FCG on 2017/1/18.
// Copyright © 2017年 FCG. All rights reserved.
//
import UIKit
extension UIButton {
convenience init(imageName : String, bgImageName : String) {
self.init()
setImage(UIImage(named: imageName), for: .nor... | 25.911765 | 91 | 0.61748 |
cb4e4e724f8318bcb542a341b3d7786fa6366b53 | 431 | h | C | include/icarus_rover_rc/Mapping_Node.h | dgitz/icarus_rover_rc | 2ec789d7757715d71fc6ec4ce90e15fdc8053f3e | [
"MIT"
] | null | null | null | include/icarus_rover_rc/Mapping_Node.h | dgitz/icarus_rover_rc | 2ec789d7757715d71fc6ec4ce90e15fdc8053f3e | [
"MIT"
] | null | null | null | include/icarus_rover_rc/Mapping_Node.h | dgitz/icarus_rover_rc | 2ec789d7757715d71fc6ec4ce90e15fdc8053f3e | [
"MIT"
] | null | null | null | #ifndef __MAPPINGNODE_INCLUDED__
#define __MAPPINGNODE_INCLUDED__
struct grid_cell{
int index;
int x; //Grid coordinates
int y; //Grid coordinates
double X; //Real-world coordinates, Meters
double Y; //Real-world coordinates, Meters
int status; //1 if it is updated, 0 if not.
};
int get_index_from_cell(i... | 30.785714 | 90 | 0.75406 |
716b0ad9da32f810bf72706bf05c0651a080642c | 727 | tsx | TypeScript | packages/web/src/Components/IconButton/IconButton.tsx | tomkiel/natds-js | d376db863477cdda34cb93391c17fc36ae7ec449 | [
"ISC"
] | 34 | 2020-01-09T16:48:59.000Z | 2022-02-08T13:49:06.000Z | packages/web/src/Components/IconButton/IconButton.tsx | tomkiel/natds-js | d376db863477cdda34cb93391c17fc36ae7ec449 | [
"ISC"
] | 1,116 | 2019-12-06T19:47:54.000Z | 2022-03-25T20:23:49.000Z | packages/web/src/Components/IconButton/IconButton.tsx | tomkiel/natds-js | d376db863477cdda34cb93391c17fc36ae7ec449 | [
"ISC"
] | 11 | 2020-05-13T20:13:28.000Z | 2022-01-31T17:58:17.000Z | import * as React from 'react'
import MaterialIconButton from '@material-ui/core/IconButton'
import { IIconButtonProps } from './IconButton.props'
export { IIconButtonProps } from './IconButton.props'
/**
* For advanced usages, check [Material UI IconButton docs](https://material-ui.com/components/buttons/#icon-but... | 27.961538 | 117 | 0.727648 |
915d7622ca8e6d3bf03950c92178823ee3b6a1aa | 206 | lua | Lua | xdg/neovim/lua/plugins/movement/init.lua | chaoticmurder/dotfiles | a3ff0d918885c525301ff296246018643be004f8 | [
"MIT"
] | null | null | null | xdg/neovim/lua/plugins/movement/init.lua | chaoticmurder/dotfiles | a3ff0d918885c525301ff296246018643be004f8 | [
"MIT"
] | null | null | null | xdg/neovim/lua/plugins/movement/init.lua | chaoticmurder/dotfiles | a3ff0d918885c525301ff296246018643be004f8 | [
"MIT"
] | null | null | null | return {'ggandor/lightspeed.nvim', opt = true,
keys = {
's',
'S',
'f',
'F',
't',
'T',
},
config = function ()
require('plugins.movement.config')
end
}
| 13.733333 | 46 | 0.432039 |
6be97d669e119ebbfe79ef75996bf0c88f26bf9e | 582 | asm | Assembly | oeis/002/A002279.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/002/A002279.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/002/A002279.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A002279: a(n) = 5*(10^n - 1)/9.
; 0,5,55,555,5555,55555,555555,5555555,55555555,555555555,5555555555,55555555555,555555555555,5555555555555,55555555555555,555555555555555,5555555555555555,55555555555555555,555555555555555555,5555555555555555555,55555555555555555555,555555555555555555555,5555555555555555555555,5555555... | 64.666667 | 498 | 0.871134 |
a119c054223f5094fe046e90686c8c9efede0abe | 2,581 | go | Go | webInterface.go | igiant/control | 6d0e04fe6f34b1603482fd5c100f38659cc1b113 | [
"MIT"
] | null | null | null | webInterface.go | igiant/control | 6d0e04fe6f34b1603482fd5c100f38659cc1b113 | [
"MIT"
] | null | null | null | webInterface.go | igiant/control | 6d0e04fe6f34b1603482fd5c100f38659cc1b113 | [
"MIT"
] | null | null | null | package control
import "encoding/json"
// Certificates (Secured Web Interface and SSL-VPN) will be handled by CertificateManager
// SslVpnConfig - not applicable on Linux
type SslVpnConfig struct {
Enabled bool `json:"enabled"`
Port int `json:"port"`
Certificate IdReference `json:"certifi... | 34.878378 | 116 | 0.698566 |
e9c500766a485901c6b3ea40101c027387344626 | 5,305 | lua | Lua | lua/weapons/gmod_tool/stools/commandbox.lua | Lexicality/Lexical-Tools | fbc0677f48f82b8423a8300202261496640ea91c | [
"Apache-2.0"
] | 5 | 2015-10-31T12:06:31.000Z | 2022-01-10T17:55:34.000Z | lua/weapons/gmod_tool/stools/commandbox.lua | Lexicality/Lexical-Tools | fbc0677f48f82b8423a8300202261496640ea91c | [
"Apache-2.0"
] | 21 | 2015-09-19T20:37:20.000Z | 2022-03-11T15:51:12.000Z | lua/weapons/gmod_tool/stools/commandbox.lua | Lexicality/Lexical-Tools | fbc0677f48f82b8423a8300202261496640ea91c | [
"Apache-2.0"
] | 8 | 2015-11-01T17:31:41.000Z | 2020-12-24T16:03:43.000Z | --[[
Lexical Tools - lua\weapons\gmod_tool\stools\commandbox.lua
Copyright 2010-2013 Lex Robinson
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
... | 25.628019 | 80 | 0.707257 |
a40ae1c4103f01ac16e72de5e0b7e1da76d974a3 | 3,280 | kt | Kotlin | app/src/test/java/com/cliffracertech/bootycrate/BottomNavigationDrawerTests.kt | NicholasHochstetler/StuffCrate | 5b429d0528c902b852f47bc8759d3cd75c2d29f7 | [
"Apache-2.0"
] | 15 | 2021-09-12T14:48:25.000Z | 2022-01-29T17:37:13.000Z | app/src/test/java/com/cliffracertech/bootycrate/BottomNavigationDrawerTests.kt | NicholasHochstetler/BootyCrate | 5b429d0528c902b852f47bc8759d3cd75c2d29f7 | [
"Apache-2.0"
] | null | null | null | app/src/test/java/com/cliffracertech/bootycrate/BottomNavigationDrawerTests.kt | NicholasHochstetler/BootyCrate | 5b429d0528c902b852f47bc8759d3cd75c2d29f7 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021 Nicholas Hochstetler
* You may not use this file except in compliance with the Apache License
* Version 2.0, obtainable at http://www.apache.org/licenses/LICENSE-2.0
* or in the file LICENSE in the project's root directory. */
package com.cliffracertech.bootycrate
import android.content.Context
im... | 37.701149 | 116 | 0.7125 |
e7287ff349655a82ba3d12ca8219a3e017c28a95 | 17,031 | js | JavaScript | scripts/jquery.seven20.grid.js | unhosted/seven20 | 7d9ebb100f805b3bcbcc43276048dd4092df6a84 | [
"Unlicense"
] | null | null | null | scripts/jquery.seven20.grid.js | unhosted/seven20 | 7d9ebb100f805b3bcbcc43276048dd4092df6a84 | [
"Unlicense"
] | 1 | 2017-07-04T14:55:31.000Z | 2017-07-04T14:55:31.000Z | scripts/jquery.seven20.grid.js | unhosted/seven20 | 7d9ebb100f805b3bcbcc43276048dd4092df6a84 | [
"Unlicense"
] | null | null | null | (function ($) {
$.fn.seven20Grid = function (options) {
var defaultOptions =
{
"contentType": '',
'dataPath': '',
'dataName': '',
'gridSelector': '#gridUI',
'outerContainerSelector': '#grid-inner-container',
'innerConta... | 45.295213 | 693 | 0.471141 |
ec3b054dfae4fd0f6daaba1babc52c3ef596197a | 3,376 | swift | Swift | CleanArchitecture/Scene/Login/LoginViewModel.swift | anhnc55/CleanArchitecture | 74b4cc2927009f79492c835e6c3b030d66563c09 | [
"MIT"
] | 94 | 2020-09-04T02:49:05.000Z | 2022-03-30T20:23:49.000Z | CleanArchitecture/Scene/Login/LoginViewModel.swift | anhnc55/CleanArchitecture | 74b4cc2927009f79492c835e6c3b030d66563c09 | [
"MIT"
] | 1 | 2021-01-13T02:48:39.000Z | 2021-01-15T03:48:22.000Z | CleanArchitecture/Scene/Login/LoginViewModel.swift | anhnc55/CleanArchitecture | 74b4cc2927009f79492c835e6c3b030d66563c09 | [
"MIT"
] | 24 | 2020-08-11T04:26:49.000Z | 2022-02-20T01:57:57.000Z | //
// LoginViewModel.swift
// CleanArchitecture
//
// Created by Tuan Truong on 7/14/20.
// Copyright © 2020 Tuan Truong. All rights reserved.
//
import Combine
import SwiftUI
import ValidatedPropertyKit
import CombineExt
struct LoginViewModel {
let navigator: LoginNavigatorType
let useCase: LoginUseCaseT... | 32.461538 | 101 | 0.554206 |
9934d3c41d4e453c4b3b19a0395ef21f85549f01 | 917 | h | C | dawg/iconv.h | selavy/studies | e17b91ffab193e46fec00cf2b8070dbf1f2c39e3 | [
"MIT"
] | null | null | null | dawg/iconv.h | selavy/studies | e17b91ffab193e46fec00cf2b8070dbf1f2c39e3 | [
"MIT"
] | null | null | null | dawg/iconv.h | selavy/studies | e17b91ffab193e46fec00cf2b8070dbf1f2c39e3 | [
"MIT"
] | null | null | null | #pragma once
#include <cassert>
// Generated by mkiconv.py. Do not edit by hand.
constexpr int iconv_table[128] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -... | 33.962963 | 67 | 0.432933 |
e7371534dd59d4cb0d342823a81a5497c35bfa6d | 13,093 | js | JavaScript | modules/searchbar/model.js | starkarabil/masterportaldeployment | b3c8786bab023abb29530a3a9300a15871bcf27c | [
"MIT"
] | null | null | null | modules/searchbar/model.js | starkarabil/masterportaldeployment | b3c8786bab023abb29530a3a9300a15871bcf27c | [
"MIT"
] | null | null | null | modules/searchbar/model.js | starkarabil/masterportaldeployment | b3c8786bab023abb29530a3a9300a15871bcf27c | [
"MIT"
] | null | null | null | const SearchbarModel = Backbone.Model.extend(/** @lends SearchbarModel.prototype */{
defaults: {
placeholder: "Suche",
recommendedList: "",
recommendedListLength: 5,
quickHelp: false,
searchString: "",
hitList: [],
minChars: "",
isInitialSearch: true,
... | 36.77809 | 159 | 0.594974 |
c5ffa9200be0bbc998b19cf728747984b0f5f92b | 2,128 | asm | Assembly | programs/oeis/017/A017812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/017/A017812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/017/A017812.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A017812: Binomial coefficients C(96,n).
; 1,96,4560,142880,3321960,61124064,927048304,11919192480,132601016340,1296543270880,11279926456656,88188515933856,624668654531480,4036320536972640,23929614612052080,130815226545884704,662252084388541314,3116480397122547360,13677886187371180080,56151322242892212960,216182590635... | 304 | 2,054 | 0.941259 |
b2f00fc324ac567aafda05e99a1cb8336f8b4e7a | 7,116 | py | Python | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | test_cases/apache_avro_adapter.py | QratorLabs/ritfest2016 | cddaaa9e827f5315d2e426c083029124649d6f50 | [
"MIT"
] | null | null | null | import io
import avro.io
try:
from avro.schema import parse
except ImportError:
from avro.schema import Parse as parse
class ApacheAvroAdapter(object):
NAME = 'avro'
def __init__(self):
with open('specs/str.avsc', 'r') as f:
schema = parse(f.read())
self.str_reader = a... | 32.054054 | 76 | 0.604272 |
f0238d97d920682e53df77bf6d0427a081fe7819 | 7,980 | py | Python | untiler/__init__.py | waissbluth/untiler | 866b3096196ac340597f77fbf5f2ce899e58238e | [
"MIT"
] | 37 | 2015-10-06T16:41:18.000Z | 2022-03-22T14:52:13.000Z | untiler/__init__.py | waissbluth/untiler | 866b3096196ac340597f77fbf5f2ce899e58238e | [
"MIT"
] | 18 | 2015-09-02T21:13:44.000Z | 2021-01-04T15:46:04.000Z | untiler/__init__.py | waissbluth/untiler | 866b3096196ac340597f77fbf5f2ce899e58238e | [
"MIT"
] | 8 | 2017-04-12T01:22:36.000Z | 2021-08-17T04:10:46.000Z | #!/usr/bin/env python
from __future__ import with_statement
from __future__ import print_function
from __future__ import division
import os
from multiprocessing import Pool
import click
import mercantile as merc
import numpy as np
import rasterio
from rasterio import Affine
from rasterio.warp import reproject
try:
... | 30.113208 | 153 | 0.590977 |
143ae46beccdba6d953d2e530994caf756e45f19 | 885 | css | CSS | version0/styles/main.css | Adalab/promo-p-modulo-1-pair-18-spotify2 | 0804c1caf4447e8e85285de49aa9c12b38d2593e | [
"MIT"
] | null | null | null | version0/styles/main.css | Adalab/promo-p-modulo-1-pair-18-spotify2 | 0804c1caf4447e8e85285de49aa9c12b38d2593e | [
"MIT"
] | null | null | null | version0/styles/main.css | Adalab/promo-p-modulo-1-pair-18-spotify2 | 0804c1caf4447e8e85285de49aa9c12b38d2593e | [
"MIT"
] | null | null | null | /* :root {
--brand-color: white;
} */
body {
font-family: 'Roboto', 'Open Sans';
/* color: ; */
}
.container {
padding: 20px 20px;
}
.nav {
background-color: black;
/* color: var(--brand-color); */
display: flex;
justify-content: space-between;
align-items: center;
/* box-sizing:... | 13.615385 | 38 | 0.553672 |
763b18700e9cfad92b2a3f0d7b9330062dbe85cc | 861 | asm | Assembly | oeis/198/A198638.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/198/A198638.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/198/A198638.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A198638: Number of 2n X 2 0..2 arrays with values 0..2 introduced in row major order and each element equal to an even number of horizontal and vertical neighbors.
; Submitted by Christian Krause
; 4,36,376,3936,41216,431616,4519936,47333376,495681536,5190844416,54359228416,569257230336,5961339109376,62427953627136,6... | 61.5 | 470 | 0.81417 |
d5d06690b17a2898cafbac353ac1cb5b5023d848 | 220 | h | C | strvect.h | PatrizioC/strvect | 5d12047caa919a1ef0cff60148afb7e55f5f3ede | [
"MIT"
] | null | null | null | strvect.h | PatrizioC/strvect | 5d12047caa919a1ef0cff60148afb7e55f5f3ede | [
"MIT"
] | null | null | null | strvect.h | PatrizioC/strvect | 5d12047caa919a1ef0cff60148afb7e55f5f3ede | [
"MIT"
] | null | null | null | #ifndef __STRVECT_H__
#define __STRVECT_H__
void print_strvect(char **vector, int n);
char** file_row_list(FILE *f, char **vettore, int *n);
void free_strvect(char** vector, int n);
char** strvect(int n, ...);
#endif
| 20 | 54 | 0.709091 |
0cae04c95140cd33bca1362795247caf69458f47 | 9,770 | py | Python | fugue/column/functions.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 547 | 2020-09-22T08:30:14.000Z | 2022-03-30T23:11:05.000Z | fugue/column/functions.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 196 | 2020-09-22T23:08:26.000Z | 2022-03-26T21:22:48.000Z | fugue/column/functions.py | kvnkho/fugue | 5f3fe8f1fb72632e5b5987d720c1d1ef546e4682 | [
"Apache-2.0"
] | 37 | 2020-09-23T17:05:00.000Z | 2022-03-29T18:26:52.000Z | from typing import Any, Optional
import pyarrow as pa
from fugue.column.expressions import (
ColumnExpr,
_FuncExpr,
_to_col,
function,
)
from triad import Schema
def coalesce(*args: Any) -> ColumnExpr:
"""SQL ``COALESCE`` function
:param args: If a value is not :class:`~fugue.column.expressi... | 26.334232 | 80 | 0.572467 |
4a47e7b87b89412cfeed3d282f21751964597afd | 4,177 | js | JavaScript | build/static/js/52.dcfa5e02.chunk.js | atulbhatt-system32/atlastNew | fda36fc944b5398e79e441c687a7f25bd17bed81 | [
"MTLL"
] | null | null | null | build/static/js/52.dcfa5e02.chunk.js | atulbhatt-system32/atlastNew | fda36fc944b5398e79e441c687a7f25bd17bed81 | [
"MTLL"
] | null | null | null | build/static/js/52.dcfa5e02.chunk.js | atulbhatt-system32/atlastNew | fda36fc944b5398e79e441c687a7f25bd17bed81 | [
"MTLL"
] | null | null | null | (this["webpackJsonp@coreui/coreui-pro-react-admin-template"]=this["webpackJsonp@coreui/coreui-pro-react-admin-template"]||[]).push([[52],{1444:function(e,r,o){"use strict";o.r(r);o(1);var t=o(632),a=o(784),n=o(634),c=o(17);r.default=function(){return Object(c.jsxs)(t.m,{columns:!0,className:"cols-2",children:[Object(c.... | 2,088.5 | 4,131 | 0.697151 |
650ec3bb5d3381c505f9bd3240d3f221d5e35e00 | 660 | py | Python | open_data/dataset/migrations/0005_keyword_squashed_0006_remove_keyword_relevancy.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | open_data/dataset/migrations/0005_keyword_squashed_0006_remove_keyword_relevancy.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | open_data/dataset/migrations/0005_keyword_squashed_0006_remove_keyword_relevancy.py | balfroim/OpenData | f0334dae16c2806e81f7d2d53adeabc72403ecce | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-21 13:01
from django.db import migrations, models
class Migration(migrations.Migration):
replaces = [('dataset', '0005_keyword'), ('dataset', '0006_remove_keyword_relevancy')]
dependencies = [
('dataset', '0004_alter_theme_id'),
]
operation... | 28.695652 | 118 | 0.587879 |
c6b78b90e031795606d57f8f612f7c4f912f3dc9 | 151 | rb | Ruby | lib/insane_hook/errors.rb | Trevoke/insane-hook | be3e1229cc6ddeb71999c44cc7adfce36fc53f41 | [
"MIT"
] | 2 | 2018-05-23T05:13:59.000Z | 2018-05-30T17:41:25.000Z | lib/insane_hook/errors.rb | Trevoke/insane-hook | be3e1229cc6ddeb71999c44cc7adfce36fc53f41 | [
"MIT"
] | null | null | null | lib/insane_hook/errors.rb | Trevoke/insane-hook | be3e1229cc6ddeb71999c44cc7adfce36fc53f41 | [
"MIT"
] | null | null | null | class InsaneHook
module Errors
class CommandNotRunError < StandardError
end
class MissingArgumentError < StandardError
end
end
end
| 16.777778 | 46 | 0.748344 |
dced414b0f92324f6cd2097fe126da4fedd33695 | 850 | lua | Lua | Resources/Scripts/Steam_Handler_onPostInit.lua | broozar/SteamShiva | bbcae01abed8656bcb4712ca46094e5fcabe317e | [
"MIT"
] | null | null | null | Resources/Scripts/Steam_Handler_onPostInit.lua | broozar/SteamShiva | bbcae01abed8656bcb4712ca46094e5fcabe317e | [
"MIT"
] | null | null | null | Resources/Scripts/Steam_Handler_onPostInit.lua | broozar/SteamShiva | bbcae01abed8656bcb4712ca46094e5fcabe317e | [
"MIT"
] | 2 | 2017-07-09T09:28:46.000Z | 2019-06-05T13:18:32.000Z | --------------------------------------------------------------------------------
-- Handler.......... : onPostInit
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
------------------------------------------------------------------------... | 32.692308 | 80 | 0.217647 |
085914e79be9fb9cff388c4de0e64916d11bf756 | 1,619 | swift | Swift | WhoIsTheVillain/AppLabel.swift | choi88andys/WhoIsTheVillain | 2e5212edaa5af02d4c804ddbc4941c71c085e1a1 | [
"MIT"
] | null | null | null | WhoIsTheVillain/AppLabel.swift | choi88andys/WhoIsTheVillain | 2e5212edaa5af02d4c804ddbc4941c71c085e1a1 | [
"MIT"
] | null | null | null | WhoIsTheVillain/AppLabel.swift | choi88andys/WhoIsTheVillain | 2e5212edaa5af02d4c804ddbc4941c71c085e1a1 | [
"MIT"
] | null | null | null |
import SwiftUI
struct AppLabel: View {
private var labelWidth: CGFloat {
if SettingConstants.isPhone {
return UIScreen.main.bounds.width * 0.9
} else {
return UIScreen.main.bounds.width * 0.8
}
}
private var labelHeight: CGFloat {
if Sett... | 29.436364 | 125 | 0.566399 |
419ed3ca352891cf8b6e70980cc20a4c7838a529 | 26,815 | h | C | Box2D/Common/OpenCL/b2CLCompactionFuncitons.h | wolfviking0/webcl-box2d | a4a7954f279f5d9dda18c042e60cf228b252d266 | [
"Zlib"
] | 8 | 2015-07-28T09:12:23.000Z | 2022-01-03T00:35:21.000Z | Box2D/Common/OpenCL/b2CLCompactionFuncitons.h | deidaraho/webcl-box2d | a4a7954f279f5d9dda18c042e60cf228b252d266 | [
"Zlib"
] | null | null | null | Box2D/Common/OpenCL/b2CLCompactionFuncitons.h | deidaraho/webcl-box2d | a4a7954f279f5d9dda18c042e60cf228b252d266 | [
"Zlib"
] | 3 | 2016-04-07T12:32:21.000Z | 2019-08-22T00:10:50.000Z | /*
*
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must rep... | 41.638199 | 755 | 0.568152 |
58c064908fd0bb312bc0ff2cae6d378a645c87d8 | 132 | rs | Rust | company-management/src/management/employee.rs | Den4200/simple-rust-projects | f5863de03b86014447001154df70aac3aae07dfd | [
"MIT"
] | null | null | null | company-management/src/management/employee.rs | Den4200/simple-rust-projects | f5863de03b86014447001154df70aac3aae07dfd | [
"MIT"
] | null | null | null | company-management/src/management/employee.rs | Den4200/simple-rust-projects | f5863de03b86014447001154df70aac3aae07dfd | [
"MIT"
] | null | null | null | #[derive(Debug, Eq, Ord, PartialEq, PartialOrd)]
pub struct Employee {
pub full_name: String,
pub department_name: String
}
| 22 | 48 | 0.712121 |
cd7c4ca57a0a6ee4859ef07b837938afef89f75d | 609 | swift | Swift | Flicks/Define.swift | tiennth/coderschool-flicks | a5bd8ec1f668dd788d6b033a28cee20a8733910e | [
"Apache-2.0"
] | null | null | null | Flicks/Define.swift | tiennth/coderschool-flicks | a5bd8ec1f668dd788d6b033a28cee20a8733910e | [
"Apache-2.0"
] | 1 | 2016-03-13T03:56:40.000Z | 2016-03-17T16:43:12.000Z | Flicks/Define.swift | tiennth/coderschool-flicks | a5bd8ec1f668dd788d6b033a28cee20a8733910e | [
"Apache-2.0"
] | null | null | null | //
// Define.swift
// Flicks
//
// Created by Tien on 3/9/16.
// Copyright © 2016 Tien. All rights reserved.
//
import Foundation
import UIKit
let kFlicksErrorDomain = "FlickError"
let kSomethingWentWrongErrorCode = 100
// Appearance
let oddRowColor = 0xF6F6F5
let evenRowColor = 0xFBFBFB
extension UIColor {
... | 21 | 73 | 0.648604 |
abb17848a555fba18a51ef580238749d4287a090 | 976 | rb | Ruby | test/unit/lock_file_test.rb | jsgarvin/admit_one | 42eee744ee8744d5f41fd6059bac69d4202077f9 | [
"MIT"
] | 1 | 2016-11-04T23:28:07.000Z | 2016-11-04T23:28:07.000Z | test/unit/lock_file_test.rb | jsgarvin/admit_one | 42eee744ee8744d5f41fd6059bac69d4202077f9 | [
"MIT"
] | null | null | null | test/unit/lock_file_test.rb | jsgarvin/admit_one | 42eee744ee8744d5f41fd6059bac69d4202077f9 | [
"MIT"
] | null | null | null | require File.expand_path('../../../lib/admit_one', __FILE__)
require 'test/unit'
class LockFileTest < Test::Unit::TestCase
def setup
File.delete(lock_file_path) if File.exist?(lock_file_path)
end
def test_should_create_and_remove_lockfile
block_executed = false
AdmitOne::LockFile.new(:admit_on... | 25.684211 | 63 | 0.702869 |
1f87bba57b8990bf26a5d70fe766a8197065dc5d | 5,312 | html | HTML | graphic_design.html | TehBunni/brianthai.github.io | fc80397cfd2f04b79580f746fd3b49638efcdf77 | [
"CC-BY-3.0"
] | null | null | null | graphic_design.html | TehBunni/brianthai.github.io | fc80397cfd2f04b79580f746fd3b49638efcdf77 | [
"CC-BY-3.0"
] | null | null | null | graphic_design.html | TehBunni/brianthai.github.io | fc80397cfd2f04b79580f746fd3b49638efcdf77 | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Massively by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Graphic Design - Brian Thai</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=... | 39.93985 | 141 | 0.57323 |
41d3cfc2c345e8e63504dab95ec701432d39e01b | 4,721 | h | C | GCYProjectDemo/CommonViewController/GCYAlertController/GSAlertView.h | Tony0822/GCYProjectDemo | 23f37959595cdd64a385136513b01240858420b2 | [
"Apache-2.0"
] | null | null | null | GCYProjectDemo/CommonViewController/GCYAlertController/GSAlertView.h | Tony0822/GCYProjectDemo | 23f37959595cdd64a385136513b01240858420b2 | [
"Apache-2.0"
] | null | null | null | GCYProjectDemo/CommonViewController/GCYAlertController/GSAlertView.h | Tony0822/GCYProjectDemo | 23f37959595cdd64a385136513b01240858420b2 | [
"Apache-2.0"
] | null | null | null | ////
//// GSAlertView.h
//// GCYProjectDemo
////
//// Created by TonyYang on 2017/10/29.
//// Copyright © 2017年 TonyYang. All rights reserved.
////
//
//#import <UIKit/UIKit.h>
//
//#define gs_dispatch_main_async_safe(block)\
// if ([NSThread isMainThread]) {\
// block();\
// } else {\
// dispat... | 31.473333 | 183 | 0.670197 |
1f87f57bffb8fea5395cb018f141fb531976ece3 | 270 | html | HTML | src/components/wb-barebone/wb-barebone.html | duboisp/wet-boew-experimental | 677ff45fa7bc8b62c46e84e0bb9be573444d2bff | [
"MIT"
] | 7 | 2016-02-29T11:50:31.000Z | 2021-04-01T04:19:28.000Z | src/components/wb-barebone/wb-barebone.html | duboisp/wet-boew-experimental | 677ff45fa7bc8b62c46e84e0bb9be573444d2bff | [
"MIT"
] | 5 | 2017-01-21T13:41:24.000Z | 2021-12-02T05:18:03.000Z | src/components/wb-barebone/wb-barebone.html | duboisp/wet-boew-experimental | 677ff45fa7bc8b62c46e84e0bb9be573444d2bff | [
"MIT"
] | 21 | 2016-02-07T04:06:08.000Z | 2022-03-30T00:58:02.000Z | ---
title: wb-barebone
layout: default-other
---
<h1><code><wb-barebone></code> - Web Experience Toolkit - version 5 (Wet5)</h1>
<p>To test if the barebone plugin work, in the console you should see an entry</p>
<wb-barebone v="5">
</wb-barebone>
| 27 | 89 | 0.648148 |
2c06a69b32fa5e8f271d5ed33c6c6102a3481901 | 1,935 | swift | Swift | Sources/MusicXML/Complex Types/SystemLayout.swift | himanshusingh/MusicXML | 91412126ad1b5ef7cb79ad88ec39667b28e75f9f | [
"MIT"
] | null | null | null | Sources/MusicXML/Complex Types/SystemLayout.swift | himanshusingh/MusicXML | 91412126ad1b5ef7cb79ad88ec39667b28e75f9f | [
"MIT"
] | null | null | null | Sources/MusicXML/Complex Types/SystemLayout.swift | himanshusingh/MusicXML | 91412126ad1b5ef7cb79ad88ec39667b28e75f9f | [
"MIT"
] | null | null | null | //
// SystemLayout.swift
// MusicXML
//
// Created by James Bean on 5/15/19.
//
/// A system is a group of staves that are read and played simultaneously. System layout includes
/// left and right margins and the vertical distance from the previous system. The system distance
/// is measured from the bottom line of... | 35.833333 | 100 | 0.702842 |
9c5d927ce5d64acf76cacb44a0e336b2fce45d3d | 27,681 | js | JavaScript | apps/wordpress/htdocs/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/link-format-block.js | adib26/wordpress | b84f48b1f41567dbfdaab656501d8bebef8f07af | [
"Apache-2.0"
] | null | null | null | apps/wordpress/htdocs/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/link-format-block.js | adib26/wordpress | b84f48b1f41567dbfdaab656501d8bebef8f07af | [
"Apache-2.0"
] | 252 | 2020-03-26T00:09:13.000Z | 2022-03-16T14:42:33.000Z | apps/wordpress/htdocs/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/link-format-block.js | adib26/wordpress | b84f48b1f41567dbfdaab656501d8bebef8f07af | [
"Apache-2.0"
] | 1 | 2021-05-18T15:20:55.000Z | 2021-05-18T15:20:55.000Z | !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d... | 4,613.5 | 26,205 | 0.705538 |
bda286b30d43786f0ae304783e7a7c424c0cb6a0 | 488 | swift | Swift | PulsarKit/PulsarKitTests/Models/User.swift | maxoly/PulsarKit | ce5e013cd37460ce0124203f5ebe925a5a26be58 | [
"MIT"
] | 14 | 2015-11-25T11:38:51.000Z | 2021-12-15T11:16:43.000Z | PulsarKit/PulsarKitTests/Models/User.swift | maxoly/PulsarKit | ce5e013cd37460ce0124203f5ebe925a5a26be58 | [
"MIT"
] | 3 | 2020-04-28T13:32:27.000Z | 2021-08-18T07:24:53.000Z | PulsarKit/PulsarKitTests/Models/User.swift | maxoly/PulsarKit | ce5e013cd37460ce0124203f5ebe925a5a26be58 | [
"MIT"
] | 3 | 2015-12-17T14:33:13.000Z | 2020-05-27T19:35:54.000Z | //
// User.swift
// PulsarKitTests
//
// Created by Massimo Oliviero on 14/08/2018.
// Copyright © 2019 Nacoon. All rights reserved.
//
import Foundation
struct User: Hashable {
let id: Int
let name: String
init(id: Int, name: String = "") {
self.id = id
self.name = name
}
... | 17.428571 | 51 | 0.55123 |
0c960c32123fe98899d1aea36a071118d99135d2 | 5,654 | py | Python | nemo/collections/nlp/utils/evaluation_utils.py | ParikhKadam/NeMo | ee11f7c4666d410d91f9da33c61f4819ea625013 | [
"Apache-2.0"
] | 1 | 2020-08-04T08:29:41.000Z | 2020-08-04T08:29:41.000Z | nemo/collections/nlp/utils/evaluation_utils.py | ParikhKadam/NeMo | ee11f7c4666d410d91f9da33c61f4819ea625013 | [
"Apache-2.0"
] | 1 | 2020-06-11T00:54:42.000Z | 2020-06-11T00:54:42.000Z | nemo/collections/nlp/utils/evaluation_utils.py | ParikhKadam/NeMo | ee11f7c4666d410d91f9da33c61f4819ea625013 | [
"Apache-2.0"
] | 3 | 2020-03-10T05:10:07.000Z | 2020-12-08T01:33:35.000Z | # =============================================================================
# Copyright 2020 NVIDIA. 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://ww... | 37.197368 | 115 | 0.598161 |
9bb00f82b0f4c522c32d4e9bb8e89bbfc95bec72 | 490 | js | JavaScript | src/store/cache.js | poketo/poketo-reader | a9864da660b7ea41f55aef9166bc7bb2bbf62817 | [
"MIT"
] | 30 | 2018-09-21T06:33:58.000Z | 2022-02-06T14:06:34.000Z | src/store/cache.js | poketo/poketo-reader | a9864da660b7ea41f55aef9166bc7bb2bbf62817 | [
"MIT"
] | 49 | 2018-09-01T17:36:34.000Z | 2022-03-03T10:06:20.000Z | src/store/cache.js | poketo/site | a9864da660b7ea41f55aef9166bc7bb2bbf62817 | [
"MIT"
] | 6 | 2019-06-02T16:36:00.000Z | 2022-02-17T13:32:58.000Z | // @flow
import { getConfiguredCache } from 'money-clip';
// NOTE: this cache version should be bumped any time the schema of the store
// changes shape, or the API responses change. It'll invalidate cached data and
// force a re-fetch.
const apiVersion = 'pqrtebuhhk';
const storeVersion = '1536114047316';
const vers... | 30.625 | 79 | 0.740816 |
5f6a3bf9455b6e90791c2298234889f4babe6606 | 53 | ts | TypeScript | examples/webpack/dll/dll-entry-only/index.ts | turing-fe/weekly | b42bb6cf40acc242741c703f24c068f25dee162f | [
"MIT"
] | 1 | 2022-02-08T09:52:54.000Z | 2022-02-08T09:52:54.000Z | examples/webpack/dll/dll-entry-only/index.ts | turing-fe/weekly | b42bb6cf40acc242741c703f24c068f25dee162f | [
"MIT"
] | null | null | null | examples/webpack/dll/dll-entry-only/index.ts | turing-fe/weekly | b42bb6cf40acc242741c703f24c068f25dee162f | [
"MIT"
] | null | null | null | export { a, b } from './a'
export { c } from './cjs'
| 17.666667 | 26 | 0.509434 |
70a64c5392a59fdd3d1a5328f1ed206ed96a2dda | 217 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/mobile/vf_Done/disappearances_psycho_boss.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/mobile/vf_Done/disappearances_psycho_boss.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/mobile/vf_Done/disappearances_psycho_boss.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_mobile_disappearances_psycho_boss = object_mobile_shared_disappearances_psycho_boss:new {
}
ObjectTemplates:addTemplate(object_mobile_disappearances_psycho_boss, "object/mobile/disappearances_psycho_boss.iff")
| 54.25 | 117 | 0.907834 |
b1842b038fb42c087f5d1465c58b74a0d9fd1762 | 984 | h | C | include/Customer.h | Poler2000/MarketSimulation | 0ffbda1c68315da98e6def963a9ad9ac93cdaaa6 | [
"MIT"
] | null | null | null | include/Customer.h | Poler2000/MarketSimulation | 0ffbda1c68315da98e6def963a9ad9ac93cdaaa6 | [
"MIT"
] | null | null | null | include/Customer.h | Poler2000/MarketSimulation | 0ffbda1c68315da98e6def963a9ad9ac93cdaaa6 | [
"MIT"
] | null | null | null | #ifndef MARKETSIMULATION_CUSTOMER_H
#define MARKETSIMULATION_CUSTOMER_H
#include <string>
#include <vector>
#include <map>
#include <memory>
#include "Need.h"
#include "Market.h"
namespace poler::market {
class Customer {
public:
Customer(std::string name, std::uint32_t income,
std:... | 24 | 98 | 0.636179 |
bb2fe580ff5d73a9a3009fb13b626bce40eba2d1 | 911 | html | HTML | manuscript/page-26/body.html | marvindanig/me-smith | 0f070f8e04b37665b301317339d92f19205fdb9e | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | manuscript/page-26/body.html | marvindanig/me-smith | 0f070f8e04b37665b301317339d92f19205fdb9e | [
"BlueOak-1.0.0",
"MIT"
] | 2 | 2020-09-06T09:59:06.000Z | 2021-05-08T00:02:51.000Z | manuscript/page-26/body.html | marvindanig/me-smith | 0f070f8e04b37665b301317339d92f19205fdb9e | [
"BlueOak-1.0.0",
"MIT"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">devil. Wait till you see him lay down on the rope. That yap up there at the top of the hill could have done this for you long ago. Here, Windy”—addressing Tubbs—“tie this rope to the X, and make a knot that will hold.”</p><p>“SHE’S A GAME KID, ALL ... | 911 | 911 | 0.726674 |
c4905a85beee8f0278a6c58b2cbba250a7bbfb51 | 8,629 | c | C | embedded/common/hostinterface/BlockMemory.c | vermar/open-sensor-platform | 18d41770c3fd2ccd57fc37e52922960a5865a843 | [
"Apache-2.0"
] | 50 | 2015-02-20T22:46:14.000Z | 2022-03-12T01:09:48.000Z | embedded/common/hostinterface/BlockMemory.c | vermar/open-sensor-platform | 18d41770c3fd2ccd57fc37e52922960a5865a843 | [
"Apache-2.0"
] | 7 | 2015-06-22T09:03:08.000Z | 2015-12-18T23:49:06.000Z | embedded/common/hostinterface/BlockMemory.c | sensorplatforms/open-sensor-platform | e120c4f236ee30c49ae9d83021f663d290f3d4a7 | [
"Apache-2.0"
] | 24 | 2015-01-10T14:18:21.000Z | 2021-11-29T09:42:09.000Z | /* Open Sensor Platform Project
* https://github.com/sensorplatforms/open-sensor-platform
*
* Copyright (C) 2015 Audience Inc.
*
* 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
*
* ... | 41.287081 | 101 | 0.412446 |
9a4263c9580444834aa8df0ce2d10a2f7cd94f6d | 100 | css | CSS | modules/scholorships/client/css/scholorships.css | cNille/stipendify | 7fdd986b54097df983ba819129c22cd6b57a143c | [
"Apache-2.0",
"MIT"
] | 1 | 2016-09-14T13:02:02.000Z | 2016-09-14T13:02:02.000Z | modules/scholorships/client/css/scholorships.css | cNille/stipendify | 7fdd986b54097df983ba819129c22cd6b57a143c | [
"Apache-2.0",
"MIT"
] | 13 | 2016-06-23T17:25:47.000Z | 2017-05-11T23:29:33.000Z | modules/scholorships/client/css/scholorships.css | cNille/stipendify | 7fdd986b54097df983ba819129c22cd6b57a143c | [
"Apache-2.0",
"MIT"
] | null | null | null |
input.ng-invalid {
background-color:#ffdee4;
}
input.ng-valid {
background-color: white;
}
| 12.5 | 29 | 0.67 |
0a6ba4f18a26f53372dfc8e94a0c8335caaa8abd | 1,292 | sql | SQL | recipes/tables/rainfall.sql | svetasmirnova/mysqlcookbook | 8cb370b9b91ef35f4654b774bac019e2b636ac67 | [
"CC0-1.0"
] | 1 | 2022-03-01T16:45:38.000Z | 2022-03-01T16:45:38.000Z | recipes/tables/rainfall.sql | svetasmirnova/mysqlcookbook | 8cb370b9b91ef35f4654b774bac019e2b636ac67 | [
"CC0-1.0"
] | null | null | null | recipes/tables/rainfall.sql | svetasmirnova/mysqlcookbook | 8cb370b9b91ef35f4654b774bac019e2b636ac67 | [
"CC0-1.0"
] | null | null | null | # rainfall.sql
# rainfall table: each record indicates date of measurement and amount
# of precipitation on that day.
# This file sets up the table and runs a self join to calculate
# running totals and averages for amount of precipitation each
# day, assuming no missing days. rainfall2.sql shows the calculations
# ... | 25.84 | 70 | 0.715944 |
a8dd2e6e5ef2e20118ff3dc41463f0cc6e002bdf | 189 | rs | Rust | src/lib.rs | ssssota/svg2png-wasm | 6091103ec6a7c09a948e489bf7af66606f682ec7 | [
"MIT"
] | 50 | 2021-10-13T05:18:25.000Z | 2022-03-02T17:39:18.000Z | src/lib.rs | OpenGG/svg2png-wasm | 38bab828d54a4341a583d35e6ee9d92b0295de31 | [
"MIT"
] | 16 | 2021-09-14T09:19:15.000Z | 2022-01-05T02:01:15.000Z | src/lib.rs | OpenGG/svg2png-wasm | 38bab828d54a4341a583d35e6ee9d92b0295de31 | [
"MIT"
] | 4 | 2021-09-26T15:09:13.000Z | 2022-03-20T16:23:46.000Z | pub mod converter;
use wasm_bindgen::prelude::*;
#[wasm_bindgen(start)]
pub fn initialize() {
#[cfg(feature = "console_error_panic_hook")]
console_error_panic_hook::set_once();
}
| 18.9 | 48 | 0.714286 |
4a5bf3811a5e09878f36f82589fdad1748412ebe | 846 | js | JavaScript | Array/BestTimeToButAndSellStock.js | DorAm/algorithms | 4126e3cdd87d8f6b13c7ebd63da5bdafdc192f74 | [
"MIT"
] | 1 | 2021-04-03T15:50:11.000Z | 2021-04-03T15:50:11.000Z | Array/BestTimeToButAndSellStock.js | DorAm/algorithms | 4126e3cdd87d8f6b13c7ebd63da5bdafdc192f74 | [
"MIT"
] | null | null | null | Array/BestTimeToButAndSellStock.js | DorAm/algorithms | 4126e3cdd87d8f6b13c7ebd63da5bdafdc192f74 | [
"MIT"
] | null | null | null | /**
* Best Time to Buy and Sell Stock:
*
* You are given an array prices where prices[i] is the price of a given stock on the ith day.
* You want to maximize your profit by choosing a single day to buy one stock and choosing a different day in the
* future to sell that stock. Return the maximum profit you can achi... | 30.214286 | 116 | 0.641844 |
b9250b479c28c2e043aa743f58bde029d93ae043 | 2,439 | h | C | gcc/libjava/include/jrate/sys/Timer.h | giraffe/jrate | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | [
"Xnet",
"Linux-OpenIB",
"X11"
] | 1 | 2021-06-15T05:43:22.000Z | 2021-06-15T05:43:22.000Z | src/native/src/jrate/sys/Timer.h | giraffe/jrate | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | [
"Xnet",
"Linux-OpenIB",
"X11"
] | null | null | null | src/native/src/jrate/sys/Timer.h | giraffe/jrate | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | [
"Xnet",
"Linux-OpenIB",
"X11"
] | null | null | null | // ************************************************************************
// $Id: Timer.h 429 2004-09-15 20:32:02Z corsaro $
// ************************************************************************
//
// jRate
//
// Copyright (C) 2001-2004 by Angelo Corsaro.
// ... | 26.51087 | 76 | 0.562526 |
fa0f26fb017dbb035a5815ddf48eb74464b5649e | 371 | kt | Kotlin | app/src/main/java/com/kangaroo/wtcoin/data/model/responses/AlitimeResponse.kt | easemob/Creative-Challenge-WTCoin | 372f1ca6d26ba2e9e24295e63280dd888ae51b64 | [
"MIT"
] | null | null | null | app/src/main/java/com/kangaroo/wtcoin/data/model/responses/AlitimeResponse.kt | easemob/Creative-Challenge-WTCoin | 372f1ca6d26ba2e9e24295e63280dd888ae51b64 | [
"MIT"
] | null | null | null | app/src/main/java/com/kangaroo/wtcoin/data/model/responses/AlitimeResponse.kt | easemob/Creative-Challenge-WTCoin | 372f1ca6d26ba2e9e24295e63280dd888ae51b64 | [
"MIT"
] | 1 | 2021-09-16T07:58:37.000Z | 2021-09-16T07:58:37.000Z | package com.kangaroo.miaosha.data.model.responses
import com.squareup.moshi.JsonClass
/**
* 自动生成:by WaTaNaBe on 2021-06-10 15:14.
* alitime
*/
@JsonClass(generateAdapter = true)
data class AlitimeResponse(
val api: String,
val `data`: Data,
val ret: List<String>,
val v: String
)
@JsonClass(generat... | 18.55 | 49 | 0.698113 |
009ebf12e3ed16b2ccba539b8c1cf1e2c4737e47 | 262 | sql | SQL | src/Database/Migrations/Create.sql | JKorf/MediaPi | 4b21bb9cfa692534d0098ad947dd99beb7b0c1ed | [
"MIT"
] | 2 | 2018-02-26T15:57:04.000Z | 2019-03-11T15:21:38.000Z | src/Database/Migrations/Create.sql | JKorf/MediaPi | 4b21bb9cfa692534d0098ad947dd99beb7b0c1ed | [
"MIT"
] | 1 | 2018-07-25T16:36:11.000Z | 2018-07-25T16:36:11.000Z | src/Database/Migrations/Create.sql | JKorf/MediaPi | 4b21bb9cfa692534d0098ad947dd99beb7b0c1ed | [
"MIT"
] | null | null | null | CREATE TABLE Instances (Id INTEGER PRIMARY KEY, Name TEXT);
CREATE TABLE Favorites (Id INTEGER);
CREATE TABLE WatchedEpisodes (ShowId INTEGER, EpisodeSeason INTEGER, EpisodeNumber INTEGER, WatchedAt INTEGER);
CREATE TABLE WatchedFiles (URL TEXT, WatchedAt TEXT); | 65.5 | 111 | 0.816794 |
8aaf99c650dcd7cffe3eb25b6f51156c9846d8ff | 391 | rs | Rust | crate/character_selection_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 41 | 2020-03-13T04:45:03.000Z | 2022-01-17T18:13:09.000Z | crate/character_selection_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 61 | 2016-06-19T01:28:12.000Z | 2021-07-17T08:21:44.000Z | crate/character_selection_model/src/lib.rs | Lighty0410/autexousious | 99d142d8fdbf2076f3fd929f61b8140d47cf6b86 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-03-21T21:53:36.000Z | 2021-01-30T01:10:55.000Z | #![deny(missing_debug_implementations, missing_docs)] // kcov-ignore
//! Types used during character selection.
pub use crate::{
character_selection_entity::CharacterSelectionEntity,
character_selections::CharacterSelections,
character_selections_status::CharacterSelectionsStatus,
};
mod character_select... | 27.928571 | 68 | 0.823529 |
b8df63cfdd132b12ca93a04ea06ab5b3a4c71713 | 2,298 | swift | Swift | TestKitchen/TestKitchen/classes/Ingredient/recommend/main/view/INgreHeaderView.swift | TJ-93/TestKitchen | f91f3f2f98163d9229fbb48fdf2d3c544e344b87 | [
"MIT"
] | null | null | null | TestKitchen/TestKitchen/classes/Ingredient/recommend/main/view/INgreHeaderView.swift | TJ-93/TestKitchen | f91f3f2f98163d9229fbb48fdf2d3c544e344b87 | [
"MIT"
] | null | null | null | TestKitchen/TestKitchen/classes/Ingredient/recommend/main/view/INgreHeaderView.swift | TJ-93/TestKitchen | f91f3f2f98163d9229fbb48fdf2d3c544e344b87 | [
"MIT"
] | null | null | null | //
// INgreHeaderView.swift
// TestKitchen
//
// Created by qianfeng on 2016/10/27.
// Copyright © 2016年 陶杰. All rights reserved.
//
import UIKit
class INgreHeaderView: UIView {
//点击事件
var jumpClosure:IngreJumpClosure?
var listModel:IngreRecommendWidgetList?{
didSet{
configText((listMo... | 29.844156 | 148 | 0.629243 |