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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8e9741d547bda0fffb6be3d88b188f40d6dd150b | 729 | js | JavaScript | src/components/Table/utils.js | Hugo-seth/react-components | be566d2089a21a7fbf24fb9ed5b70159b8611c5e | [
"MIT"
] | 54 | 2018-09-27T06:18:09.000Z | 2022-01-10T07:52:31.000Z | src/components/Table/utils.js | Hugo-seth/react-components | be566d2089a21a7fbf24fb9ed5b70159b8611c5e | [
"MIT"
] | 311 | 2018-09-25T07:36:31.000Z | 2022-03-30T01:07:28.000Z | src/components/Table/utils.js | Hugo-seth/react-components | be566d2089a21a7fbf24fb9ed5b70159b8611c5e | [
"MIT"
] | 24 | 2018-09-26T07:05:54.000Z | 2022-03-08T08:52:30.000Z | import _ from 'lodash';
export const getColumnConfigFromLocalStorage = (columnConfigKey, defaultConfig) => {
if (typeof localStorage === 'undefined') {
return defaultConfig;
}
const localConfig = JSON.parse(localStorage.getItem(columnConfigKey));
if (localConfig) {
return _.merge({}, de... | 26.035714 | 84 | 0.602195 |
df3771dc3856f56492746825d024a01d577031ad | 439 | cs | C# | ModUpdater/Settings/CommonSetting.cs | salala04/MinecraftModUpdater | c07012e666b350f7a93f455ae285b713160fc883 | [
"MIT"
] | null | null | null | ModUpdater/Settings/CommonSetting.cs | salala04/MinecraftModUpdater | c07012e666b350f7a93f455ae285b713160fc883 | [
"MIT"
] | 4 | 2016-07-04T15:56:19.000Z | 2016-07-05T15:01:04.000Z | ModUpdater/Settings/CommonSetting.cs | salala04/MinecraftModUpdater | c07012e666b350f7a93f455ae285b713160fc883 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModUpdater
{
public class CommonSetting
{
public String selectedSection { get; set; }
public String enableUpdateCheck { get; set; }
public String updateCheckTim... | 24.388889 | 53 | 0.67426 |
7df185af0d83e6cb1660347b4fd773ea61318743 | 1,952 | css | CSS | generate_dungeon/lib/css/ui.css | luozan/luozan.github.io | 380a05da32bb61eac8ee8987b389710a4e8aa531 | [
"Apache-2.0"
] | null | null | null | generate_dungeon/lib/css/ui.css | luozan/luozan.github.io | 380a05da32bb61eac8ee8987b389710a4e8aa531 | [
"Apache-2.0"
] | null | null | null | generate_dungeon/lib/css/ui.css | luozan/luozan.github.io | 380a05da32bb61eac8ee8987b389710a4e8aa531 | [
"Apache-2.0"
] | null | null | null | *{
margin: 0;
padding: 0;
}
body{
}
canvas{
position: relative;
margin: 50px auto;
display: block;
}
/*
#UI{
z-index: 9999;
}
#roomScene{
position: absolute;
width: 720px;
height: 405px;
margin-left: -360px;
margin-top: -202.5px;
left:50%;
top:50%;
background-color: #DDD
}
.room-list{
width: 100%;
heigh... | 14.144928 | 31 | 0.664959 |
04d179f87f5a3034efdd5c3336da37616118a436 | 670 | swift | Swift | testFiles/lucidDreamsTests/model/test32-typealias.swift | theplanlab/swift | 00dc16e7e4a0b28408308629e993b5d6e4fc3192 | [
"Apache-2.0"
] | 1 | 2018-01-11T07:08:30.000Z | 2018-01-11T07:08:30.000Z | testFiles/lucidDreamsTests/model/test32-typealias.swift | theplanlab/swift | 00dc16e7e4a0b28408308629e993b5d6e4fc3192 | [
"Apache-2.0"
] | 153 | 2018-01-21T15:24:47.000Z | 2018-09-13T12:46:16.000Z | testFiles/lucidDreamsTests/model/test32-typealias.swift | theplanlab/swift | 00dc16e7e4a0b28408308629e993b5d6e4fc3192 | [
"Apache-2.0"
] | 2 | 2018-01-11T09:33:05.000Z | 2018-01-23T21:01:31.000Z | /* typealias keyword
* Here we use typealias in two distinct ways.
* 1- Type alising a struct
* 2- Type aliasing a closure type to make it easier to read.
*/
struct Person{
var name: String
var age: Int
init(name:String, age:Int) {
self.name = name
self.age = age
}
}
var p1:Person = Person(name: ... | 19.705882 | 61 | 0.650746 |
5ba1ccce078ef62ebad469873f0184680d3b71ee | 2,272 | css | CSS | SeekAndTestroy/main/static/main/styles/base.css | Ride-the-Lightning-Metallica/SeekAndTestroy | 3ee45914a5425a15b14d01689875b6c0c94f6ed2 | [
"Unlicense"
] | null | null | null | SeekAndTestroy/main/static/main/styles/base.css | Ride-the-Lightning-Metallica/SeekAndTestroy | 3ee45914a5425a15b14d01689875b6c0c94f6ed2 | [
"Unlicense"
] | null | null | null | SeekAndTestroy/main/static/main/styles/base.css | Ride-the-Lightning-Metallica/SeekAndTestroy | 3ee45914a5425a15b14d01689875b6c0c94f6ed2 | [
"Unlicense"
] | null | null | null | /* The styles are the same for all pages */
body {
margin: 0;
font-family: 'Raleway', sans-serif;
font-size: 14px;
color: #fff;
-webkit-font-smoothing: antialiased;
background-color: #7f7a79;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
}
p {
margin: 0;... | 12.982857 | 43 | 0.617958 |
09b0b1562b28e1316d92fa16c3cf10f6da804a1b | 1,104 | java | Java | com/bafomdad/realfilingcabinet/init/RFCEntities.java | bafomdad/realfilingcabinet | 4832e43a560fabab356f1fdf80acafbac46d8729 | [
"MIT"
] | 17 | 2016-10-08T04:42:45.000Z | 2022-03-17T23:16:43.000Z | com/bafomdad/realfilingcabinet/init/RFCEntities.java | bafomdad/realfilingcabinet | 4832e43a560fabab356f1fdf80acafbac46d8729 | [
"MIT"
] | 99 | 2016-08-04T11:01:20.000Z | 2021-05-27T23:16:46.000Z | com/bafomdad/realfilingcabinet/init/RFCEntities.java | bafomdad/realfilingcabinet | 4832e43a560fabab356f1fdf80acafbac46d8729 | [
"MIT"
] | 9 | 2018-08-03T11:51:53.000Z | 2021-11-30T13:31:12.000Z | package com.bafomdad.realfilingcabinet.init;
import com.bafomdad.realfilingcabinet.RealFilingCabinet;
import com.bafomdad.realfilingcabinet.entity.EntityCabinet;
import com.bafomdad.realfilingcabinet.entity.ModelEntityCabinet;
import com.bafomdad.realfilingcabinet.entity.RenderEntityCabinet;
import com.bafomdad.realfi... | 38.068966 | 196 | 0.837862 |
eb8d3345a382b1a7f6e723e8b3f4dfa18d1f5f82 | 2,061 | css | CSS | dist/calendar.min.css | egalink/Calendar.js | cff5c0b363ea3254079e31c64606beb97745b79a | [
"MIT"
] | null | null | null | dist/calendar.min.css | egalink/Calendar.js | cff5c0b363ea3254079e31c64606beb97745b79a | [
"MIT"
] | null | null | null | dist/calendar.min.css | egalink/Calendar.js | cff5c0b363ea3254079e31c64606beb97745b79a | [
"MIT"
] | null | null | null | /*! calendar.js - v1.0.0 - 2018-02-28
* https://egalink.github.io/calendar.js/
* Copyright (c) 2018 Jakim Hernández; Licensed MIT */.calendar{font-size:100%;cursor:default;width:100%;height:auto;box-sizing:border-box}.calendar *{position:relative;transition:all .25s}.calendar .c-body{margin:0 auto}.calendar .c-header{b... | 687 | 1,982 | 0.768559 |
5d4188d09af9f58cae7e18233643a4f5cb549bc8 | 2,659 | hpp | C++ | cpp/bign.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 3 | 2021-11-12T09:20:21.000Z | 2022-02-18T11:34:33.000Z | cpp/bign.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | 1 | 2019-05-15T10:55:59.000Z | 2019-05-15T10:56:31.000Z | cpp/bign.hpp | jieyaren/hello-world | 9fbc7d117b9aee98d748669646dd200c25a4122f | [
"WTFPL"
] | null | null | null | #ifndef __PURPLE_BOOK__BIGN__
#define __PURPLE_BOOK__BIGN__
#include <string>
#include <cstdio>
#include <cstring>
#include <algorithm>
using std::max;
const int maxn = 1000;
struct bign
{
int len,s[maxn];
bign(){memset(s,0,sizeof(s)); len=1;}
bign operator = (const char* num)
{
len = strlen(num);
for(int i=0;... | 15.549708 | 69 | 0.527642 |
06fa58e54f3638daf3676039648a41e0ad6a6d27 | 1,485 | py | Python | camper/barcamps/tests/test_add.py | mrtopf/camper | 7016539f92202bbea608c6d53ce19097d4ad931d | [
"MIT"
] | 13 | 2016-03-13T02:33:39.000Z | 2021-04-01T13:09:12.000Z | camper/barcamps/tests/test_add.py | comlounge/camper | 7016539f92202bbea608c6d53ce19097d4ad931d | [
"MIT"
] | 122 | 2016-03-10T09:28:09.000Z | 2021-09-07T23:49:05.000Z | camper/barcamps/tests/test_add.py | mrtopf/camper | 7016539f92202bbea608c6d53ce19097d4ad931d | [
"MIT"
] | 5 | 2017-01-11T22:00:57.000Z | 2020-04-26T14:03:32.000Z |
def test_barcamp_add_without_login(client):
"""test adding a barcamp"""
resp = client.post('/b/add', data=dict(
name = "Barcamp 1",
description = "this is barcamp 1",
slug = "barcamp1",
size = "10",
start_date = "17.8.2012",
end_date = "17.9.2012",
loca... | 29.7 | 72 | 0.586532 |
e2d619a84a462d6fdd783d378745924b2315b0ef | 159 | py | Python | src/flask_batteries/template/src/routes/__init__.py | graydenshand/flask_boot | 2aeb0d47543fc85a15e752a00bfa0d0ba9e23988 | [
"MIT"
] | 1 | 2021-09-17T13:41:10.000Z | 2021-09-17T13:41:10.000Z | src/flask_batteries/template/src/routes/__init__.py | graydenshand/flask_boot | 2aeb0d47543fc85a15e752a00bfa0d0ba9e23988 | [
"MIT"
] | null | null | null | src/flask_batteries/template/src/routes/__init__.py | graydenshand/flask_boot | 2aeb0d47543fc85a15e752a00bfa0d0ba9e23988 | [
"MIT"
] | null | null | null | from .index import index_view
def register_routes(app):
app.add_url_rule("/", view_func=index_view)
app.add_url_rule("/index", view_func=index_view)
| 22.714286 | 52 | 0.748428 |
20e69f31ee951f747bd6f0539dcf4df92565076f | 4,991 | py | Python | cli.py | luoqingfu/reudom | 3c52ff4aa2cd772260bbf3575f2844d76bc2f16a | [
"Apache-2.0"
] | 1 | 2020-01-09T05:38:14.000Z | 2020-01-09T05:38:14.000Z | cli.py | luoqingfu/reudom | 3c52ff4aa2cd772260bbf3575f2844d76bc2f16a | [
"Apache-2.0"
] | null | null | null | cli.py | luoqingfu/reudom | 3c52ff4aa2cd772260bbf3575f2844d76bc2f16a | [
"Apache-2.0"
] | null | null | null | import os
import re
import sys
import ssl
import shutil
import zipfile
import tarfile
import logging
import argparse
import platform
from os import makedirs
from os.path import join, isfile, basename
from os.path import isdir, dirname, abspath
from urllib.request import urlopen
from __init__ import __description__, __... | 26.268421 | 96 | 0.616309 |
12e9bb8555bcbdd045079fbd74f0d3459fff861d | 1,970 | cs | C# | 2_Unity/CCMS/Assets/Scripts/GameCheckObject.cs | JJIKKYU/Text-Game-Project | 383bfef36498cf499225b4a2efd6b20a96fea20d | [
"Apache-2.0"
] | null | null | null | 2_Unity/CCMS/Assets/Scripts/GameCheckObject.cs | JJIKKYU/Text-Game-Project | 383bfef36498cf499225b4a2efd6b20a96fea20d | [
"Apache-2.0"
] | 2 | 2019-04-25T17:09:42.000Z | 2019-04-25T17:22:44.000Z | 2_Unity/CCMS/Assets/Scripts/GameCheckObject.cs | JJIKKYU/Text-Game-Project | 383bfef36498cf499225b4a2efd6b20a96fea20d | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameCheckObject : MonoBehaviour
{
// Keyword 획득 유무
// Tutorial
public static bool EmotionGet = true;
// 1-2B
public static bool DLMlink = true;
public static bool WHYforHuman = true;
// 2-2B
... | 29.848485 | 145 | 0.650254 |
072ddfe74e49303966ff838655b8d8b713d34d91 | 5,560 | h | C | vega-vc9/include/gdk/gdkgc.h | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vega-vc9/include/gdk/gdkgc.h | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | vega-vc9/include/gdk/gdkgc.h | Ezeer/VegaStrike_win32FR | 75891b9ccbdb95e48e15d3b4a9cd977955b97d1f | [
"MIT"
] | null | null | null | #ifndef __GDK_GC_H__
#define __GDK_GC_H__
#include <gdk/gdkcolor.h>
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct _GdkGCValues GdkGCValues;
typedef struct _GdkGCClass GdkGCClass;
/* GC cap styles
* CapNotLast:
* CapButt:
* CapRound:
* CapProjec... | 23.965517 | 64 | 0.616187 |
e75407fd3f2cc8b9c5055a42e5d07496943f8e62 | 2,860 | php | PHP | app/views/f04.blade.php | trongloikt192/kfm2 | 0d6671fd7d15fed6503ad81934397bb0541dca54 | [
"MIT"
] | null | null | null | app/views/f04.blade.php | trongloikt192/kfm2 | 0d6671fd7d15fed6503ad81934397bb0541dca54 | [
"MIT"
] | null | null | null | app/views/f04.blade.php | trongloikt192/kfm2 | 0d6671fd7d15fed6503ad81934397bb0541dca54 | [
"MIT"
] | null | null | null | @extends('...layouts.master')
@section('header-title')
Trang Đăng ký
@stop
@section('content-header')
@include('layouts/content-header')
@stop
@section('content')
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<h2>Đăng ký</h2>
<hr>
... | 30.752688 | 90 | 0.56049 |
e028bc4448897fdfd791448b7fb56c947268399b | 501 | go | Go | internal/app/driver/db/options.go | harunnryd/tempokerja | 8aae0589d9764dd6c5eb28912e62b3e109f10d46 | [
"MIT"
] | null | null | null | internal/app/driver/db/options.go | harunnryd/tempokerja | 8aae0589d9764dd6c5eb28912e62b3e109f10d46 | [
"MIT"
] | null | null | null | internal/app/driver/db/options.go | harunnryd/tempokerja | 8aae0589d9764dd6c5eb28912e62b3e109f10d46 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package db
import "github.com/harunnryd/tempokerja/config"
const (
// MysqlDialectParam ...
MysqlDialectParam = "mysql"
// PgsqlDialectParam ...
Pgsql... | 20.04 | 58 | 0.704591 |
91ff5ccdf087b12f56ed4024b3ac4f46abd9ccb1 | 4,111 | py | Python | higgins/database/elastic.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | higgins/database/elastic.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | higgins/database/elastic.py | bfortuner/higgins | c8ab098c1496ee9b45efc3fc667d894d86031f67 | [
"MIT"
] | null | null | null | """Elasticsearch database utils.
References
-----------
https://www.elastic.co/guide/en/elasticsearch/reference/7.14/index.html
https://opendistro.github.io/for-elasticsearch-docs/docs/elasticsearch/aggregations/
https://github.com/oliver006/elasticsearch-gmail
Query DSL:
https://github.com/elastic/elasticsearch-dsl-... | 27.406667 | 103 | 0.589394 |
b94b2bdff4c707719cc30c450751501242d71416 | 43,413 | css | CSS | socialhub.activitypub.rocks/stylesheets/discourse-calendar_caa977791d50efc800b8ef1bcbafb8a15f082761.css@__ws=socialhub.activitypub.rocks.css | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | 2 | 2021-06-09T20:03:11.000Z | 2021-09-18T21:34:18.000Z | socialhub.activitypub.rocks/stylesheets/discourse-calendar_caa977791d50efc800b8ef1bcbafb8a15f082761.css@__ws=socialhub.activitypub.rocks.css | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | 497 | 2020-11-23T12:22:45.000Z | 2022-01-17T02:03:22.000Z | socialhub.activitypub.rocks/stylesheets/discourse-calendar_caa977791d50efc800b8ef1bcbafb8a15f082761.css@__ws=socialhub.activitypub.rocks.css | extratone/extratone | a18e3ac94527626f27dd5447257c9785b7f5d167 | [
"MIT"
] | null | null | null | /*!
* FullCalendar v4.0.0-alpha.3
* Docs & License: https://fullcalendar.io/
* (c) 2018 Adam Shaw
*/.fc button,.fc table,body .fc{font-size:1em}.fc-bg,.fc-row .fc-bgevent-skeleton,.fc-row .fc-highlight-skeleton{bottom:0}.fc-icon,.fc-unselectable{-webkit-touch-callout:none;-khtml-user-select:none}.fc{direction:ltr;t... | 5,426.625 | 43,218 | 0.789303 |
a9e184e50fbb6b34553adadc9418734dced4f4eb | 424 | php | PHP | application/libraries/Layout.php | vickyh007/admindemo | 26c69d58e0ea8635950d19827e11140dcb5d7355 | [
"MIT"
] | null | null | null | application/libraries/Layout.php | vickyh007/admindemo | 26c69d58e0ea8635950d19827e11140dcb5d7355 | [
"MIT"
] | null | null | null | application/libraries/Layout.php | vickyh007/admindemo | 26c69d58e0ea8635950d19827e11140dcb5d7355 | [
"MIT"
] | null | null | null | <?php
class Layout
{
protected $_ci;
function __construct()
{
$this->_ci = &get_instance();
}
function display($template, $data = null)
{
$data['_menu'] = $this->_ci->load->view("template/menu", $data, true);
$data['_footer'] = $this->_ci-... | 22.315789 | 83 | 0.504717 |
e80ff03f0fc297ed4c39e34a384f7e63682c389d | 2,433 | swift | Swift | 169. Majority Element.swift | zhugejunwei/LeetCode | d3eeaaf2655740c924bcd39fcbcd088cd7b320ce | [
"MIT"
] | 2 | 2016-08-30T00:15:15.000Z | 2016-08-30T00:15:35.000Z | 169. Majority Element.swift | zhugejunwei/LeetCode | d3eeaaf2655740c924bcd39fcbcd088cd7b320ce | [
"MIT"
] | null | null | null | 169. Majority Element.swift | zhugejunwei/LeetCode | d3eeaaf2655740c924bcd39fcbcd088cd7b320ce | [
"MIT"
] | null | null | null | import Darwin
// Using sort(), 452 ms
func majorityElement(nums: [Int]) -> Int {
var n = nums.sort()
return n[n.count/2]
}
// Very nice solution, 40 ms
// Is this Moore voting algorithm?
class Solution {
func majorityElement(nums: [Int]) -> Int {
var major = nums[0]
var count = 1
... | 22.95283 | 71 | 0.495273 |
a49213242e97ea6018c49d0ce09a6e7b3c9d112c | 92 | php | PHP | web/app/mu-plugins/typerocket-pro-v5/typerocket/vendor/typerocket/core/src/Exceptions/ModelNotFoundException.php | ttungbmt/wp_yensaoannest | ef569b9f4c368155e34eef1f977ea4e16ffedfc0 | [
"MIT"
] | null | null | null | web/app/mu-plugins/typerocket-pro-v5/typerocket/vendor/typerocket/core/src/Exceptions/ModelNotFoundException.php | ttungbmt/wp_yensaoannest | ef569b9f4c368155e34eef1f977ea4e16ffedfc0 | [
"MIT"
] | null | null | null | web/app/mu-plugins/typerocket-pro-v5/typerocket/vendor/typerocket/core/src/Exceptions/ModelNotFoundException.php | ttungbmt/wp_yensaoannest | ef569b9f4c368155e34eef1f977ea4e16ffedfc0 | [
"MIT"
] | null | null | null | <?php
namespace TypeRocket\Exceptions;
class ModelNotFoundException extends \Exception
{
} | 13.142857 | 47 | 0.815217 |
e754c4111d167ebbdb729c303d2eadc77cb1b9dd | 1,131 | php | PHP | footerinclude.php | chunjie-sam-liu/miRNASNP2 | 9502c7358d5bd1a3fef19512375f3fd2d248657f | [
"MIT"
] | null | null | null | footerinclude.php | chunjie-sam-liu/miRNASNP2 | 9502c7358d5bd1a3fef19512375f3fd2d248657f | [
"MIT"
] | 1 | 2020-04-14T11:33:27.000Z | 2020-04-14T11:33:27.000Z | footerinclude.php | chunjie-sam-liu/miRNASNP2 | 9502c7358d5bd1a3fef19512375f3fd2d248657f | [
"MIT"
] | null | null | null | <?
?>
<div style="clear:both"></div>
<div id="footer" >
<table style="font-size:15px;" align="center">
<tr >
<td style="text-align: center">Copyright © <a href="http://bioinfo.life.hust.edu.cn" target=_blank>Guo Lab</a>,
<!--<a href="http://bioinfo.hust.edu.cn/" target=_blank>Huibei... | 35.34375 | 255 | 0.595049 |
42b0fff36cbc9bb59aa0e4838909038bd6de02cf | 659 | lua | Lua | MMOCoreORB/bin/scripts/loot/custom_loot/items/crystals/force_crystal_windus_guile.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/loot/custom_loot/items/crystals/force_crystal_windus_guile.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/loot/custom_loot/items/crystals/force_crystal_windus_guile.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | force_crystal_windus_guile = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "Windu's Guile",
directObjectTemplate = "object/tangible/component/weapon/lightsaber/lightsaber_module_force_crystal.iff",
craftingValues = {
{"mindamage",54,55,0},
{"maxdamage",84,85,0},
{"attackspeed",1,-1,5},
{"woundc... | 27.458333 | 106 | 0.698027 |
4c6ea7aa41738272651780d0557b85de269fe220 | 107 | sql | SQL | src/test/resources/META-INF/sql/NewsGroupCrudServiceImplTest_setUp.sql | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 1 | 2020-03-31T17:22:22.000Z | 2020-03-31T17:22:22.000Z | src/test/resources/META-INF/sql/NewsGroupDaoJpaTest_setUp.sql | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 55 | 2020-01-31T13:17:47.000Z | 2020-07-14T16:48:57.000Z | src/test/resources/META-INF/sql/NewsGroupDaoJpaTest_setUp.sql | vskurikhin/daybook | c6119805f29cc9396317161d1856b721bdb8503e | [
"Unlicense"
] | 1 | 2021-07-09T18:11:12.000Z | 2021-07-09T18:11:12.000Z | INSERT INTO db.db_news_group (id, "group") VALUES ('00000000-0000-0000-0000-000000000010', 'groupTest10');
| 53.5 | 106 | 0.757009 |
1bf069208860e0e5b9a82fc85e2567883c8c2912 | 442 | rb | Ruby | config/routes.rb | VicPlushko/Rails-Herb-Garden | dc89ae1125ce21699a04b6621c1db4b0bd61a09a | [
"MIT"
] | null | null | null | config/routes.rb | VicPlushko/Rails-Herb-Garden | dc89ae1125ce21699a04b6621c1db4b0bd61a09a | [
"MIT"
] | null | null | null | config/routes.rb | VicPlushko/Rails-Herb-Garden | dc89ae1125ce21699a04b6621c1db4b0bd61a09a | [
"MIT"
] | null | null | null | Rails.application.routes.draw do
root 'application#welcome'
get '/signup', to: 'users#new'
post '/signup', to: 'users#create'
get '/home', to: 'users#home'
get 'auth/:provider/callback', to: 'sessions#create'
get '/login', to: 'sessions#new'
post '/login', to: 'sessions#create'
get '/logout', to: 'ses... | 18.416667 | 54 | 0.658371 |
233d285df69178242e8c91635824c677d509c3b6 | 149 | css | CSS | css/modulas.css | Sewar-web/lab-01 | 638716098972558ceaa232bc308cc27758e5ff2c | [
"MIT"
] | null | null | null | css/modulas.css | Sewar-web/lab-01 | 638716098972558ceaa232bc308cc27758e5ff2c | [
"MIT"
] | null | null | null | css/modulas.css | Sewar-web/lab-01 | 638716098972558ceaa232bc308cc27758e5ff2c | [
"MIT"
] | null | null | null |
div{
border: 1px solid;
text-align: center;
justify-content: center;
vertical-align: center;
}
body{
text-align: center;
} | 12.416667 | 28 | 0.604027 |
dd063d14c8c43db6a9a1a8af302be4ce0f04d29d | 2,179 | lua | Lua | scripts/zones/South_Gustaberg/npcs/qm2.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 1 | 2021-10-30T11:30:33.000Z | 2021-10-30T11:30:33.000Z | scripts/zones/South_Gustaberg/npcs/qm2.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 2 | 2020-07-01T04:11:03.000Z | 2020-07-02T03:54:24.000Z | scripts/zones/South_Gustaberg/npcs/qm2.lua | zircon-tpl/topaz | dc2f7e68e5ed84274976e8a787c29fe03eecc382 | [
"FTL"
] | 1 | 2020-07-01T05:31:49.000Z | 2020-07-01T05:31:49.000Z | -----------------------------------
-- Area: South Gustaberg
-- NPC: ???
-- Involved in Quest: Smoke on the Mountain
-- !pos 461 -21 -580 107
-----------------------------------
local ID = require("scripts/zones/South_Gustaberg/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
---------------... | 35.721311 | 117 | 0.6324 |
b641949f0c4ede90c2da915c3cf570e75e446d27 | 1,395 | rb | Ruby | controls/windows_smb.rb | juju4/windows-baseline | d11208e78fc9c78770015aba8c7d93fa7987ea77 | [
"Apache-2.0"
] | 4 | 2017-07-30T06:22:52.000Z | 2020-12-04T19:07:02.000Z | controls/windows_smb.rb | juju4/windows-baseline | d11208e78fc9c78770015aba8c7d93fa7987ea77 | [
"Apache-2.0"
] | 1 | 2018-04-15T00:54:31.000Z | 2018-04-15T01:48:34.000Z | controls/windows_smb.rb | juju4/windows-baseline | d11208e78fc9c78770015aba8c7d93fa7987ea77 | [
"Apache-2.0"
] | 1 | 2018-03-31T22:15:18.000Z | 2018-03-31T22:15:18.000Z | # frozen_string_literal: true
windows_smbv1 = input('windows_smbv1', value: true, description: 'Should we check that SMBv1 is disabled')
windows_smbv1feature = input('windows_smbv1feature', value: true, description: 'Should we check that SMBv1 feature is removed')
if windows_smbv1
title 'Windows SMB configuration'
... | 45 | 222 | 0.718996 |
fb333ca20c4d0fcd467078f7d6b005dd8c00b981 | 6,173 | lua | Lua | client.lua | YT-BatOP/bShop | f45683617b0ac9d91cc237a67323063dfaa932ec | [
"MIT"
] | 2 | 2021-06-25T13:56:58.000Z | 2021-06-25T13:57:33.000Z | client.lua | YT-BatOP/bShop | f45683617b0ac9d91cc237a67323063dfaa932ec | [
"MIT"
] | null | null | null | client.lua | YT-BatOP/bShop | f45683617b0ac9d91cc237a67323063dfaa932ec | [
"MIT"
] | null | null | null | ESX = nil
Citizen.CreateThread(function()
while ESX == nil do
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
Citizen.Wait(100)
end
end)
------------ Création du Menu -----------
RMenu.Add('batop', 'main', RageUI.CreateMenu("Vendeur Illegal", "Fait toi plaisir !"))
RMenu.Add('bato... | 40.346405 | 179 | 0.513527 |
20e487ee8d2ab3218028386730fe09ba2154fe26 | 5,562 | py | Python | Main.py | Ujjawal-K-Panchal/Movie-Recommendation-using-Restricted-Boltzmann-Machines | 09fb56dec5312867bd8437db511056086de33a41 | [
"BSD-3-Clause"
] | null | null | null | Main.py | Ujjawal-K-Panchal/Movie-Recommendation-using-Restricted-Boltzmann-Machines | 09fb56dec5312867bd8437db511056086de33a41 | [
"BSD-3-Clause"
] | null | null | null | Main.py | Ujjawal-K-Panchal/Movie-Recommendation-using-Restricted-Boltzmann-Machines | 09fb56dec5312867bd8437db511056086de33a41 | [
"BSD-3-Clause"
] | 1 | 2021-01-15T10:56:16.000Z | 2021-01-15T10:56:16.000Z | # -*- coding: utf-8 -*-
"""
Created on Fri Sep 27 15:54:52 2019
@author: Uchiha Madara.
"""
#importing the libraries.
import numpy as np
import pandas as pd
import torch
import torch.nn as nn
import torch.nn.parallel
import torch.optim as optim
import torch.autograd as variable
from sklearn.model_selection import trai... | 36.352941 | 127 | 0.609313 |
0b18df6b15811ce31a617edc159b13e235045667 | 1,596 | lua | Lua | uid/core/machine_id.lua | NaraLuwan/openresty-api-gateway | 56fb3f965f1be7a5e008e54fa23ad3fd3e99d1f3 | [
"Apache-2.0"
] | 3 | 2021-02-25T06:33:56.000Z | 2021-06-02T06:06:10.000Z | uid/core/machine_id.lua | NaraLuwan/openresty-api-gateway | 56fb3f965f1be7a5e008e54fa23ad3fd3e99d1f3 | [
"Apache-2.0"
] | 1 | 2021-05-29T17:02:50.000Z | 2021-08-16T11:39:39.000Z | uid/core/machine_id.lua | NaraLuwan/openresty-api-gateway | 56fb3f965f1be7a5e008e54fa23ad3fd3e99d1f3 | [
"Apache-2.0"
] | 1 | 2021-06-02T06:06:25.000Z | 2021-06-02T06:06:25.000Z | -- Author: L
-- Date: 2021-02-18
-- 获取机器ID值,为16-bit数值
local require = require
local ngx = ngx
local tonumber = tonumber
local bit = require("bit")
local bor = bit.bor
local lshift = bit.lshift
local ip_util = require("utils.ip_hostname_util")
local base_util = require("utils.base_util")
local _M = { version = 0.1 }
... | 23.470588 | 91 | 0.642231 |
33aefcdbdd5524e5196c30bb7b9ec3700fd3e859 | 1,087 | h | C | positionedit.h | aethertap/lobocnc | 35954afc9c7355a3e84e0b47ac39d0f1d6c2ed38 | [
"MIT"
] | null | null | null | positionedit.h | aethertap/lobocnc | 35954afc9c7355a3e84e0b47ac39d0f1d6c2ed38 | [
"MIT"
] | null | null | null | positionedit.h | aethertap/lobocnc | 35954afc9c7355a3e84e0b47ac39d0f1d6c2ed38 | [
"MIT"
] | null | null | null | //---------------------------------------------------------------------------
#ifndef positioneditH
#define positioneditH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//----------------... | 37.482759 | 78 | 0.446182 |
0aefc54ca5f41f02f295228ac44a6e5918f85716 | 24,611 | cs | C# | h73.Elastic.Core/ElasticIndexer.cs | henskjold73/h73.Elastic.Core | 01179c4f2a61680e73583a9584e6f4a8e92f8d4b | [
"MIT"
] | 1 | 2020-11-09T07:49:01.000Z | 2020-11-09T07:49:01.000Z | h73.Elastic.Core/ElasticIndexer.cs | henskjold73/h73.Elastic.Core | 01179c4f2a61680e73583a9584e6f4a8e92f8d4b | [
"MIT"
] | null | null | null | h73.Elastic.Core/ElasticIndexer.cs | henskjold73/h73.Elastic.Core | 01179c4f2a61680e73583a9584e6f4a8e92f8d4b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Elasticsearch.Net;
using h73.Elastic.Core.Actions;
using h73.Elastic.Core.Helpers;
using h73.Elastic.Core.Json;
using h73.Elastic.Core.Response;
using h73.Elasti... | 40.679339 | 140 | 0.558693 |
b04b847bc3542d28c976974320c0c019767bfc4b | 4,637 | py | Python | tempest/tests/lib/services/network/test_qos_client.py | rishabh20111990/tempest | df15531cd4231000b0da016f5cd8641523ce984e | [
"Apache-2.0"
] | 254 | 2015-01-05T19:22:52.000Z | 2022-03-29T08:14:54.000Z | tempest/tests/lib/services/network/test_qos_client.py | rishabh20111990/tempest | df15531cd4231000b0da016f5cd8641523ce984e | [
"Apache-2.0"
] | 13 | 2015-03-02T15:53:04.000Z | 2022-02-16T02:28:14.000Z | tempest/tests/lib/services/network/test_qos_client.py | rishabh20111990/tempest | df15531cd4231000b0da016f5cd8641523ce984e | [
"Apache-2.0"
] | 367 | 2015-01-07T15:05:39.000Z | 2022-03-04T09:50:35.000Z | # Copyright (c) 2019 Ericsson
#
# 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 agree... | 33.121429 | 78 | 0.648048 |
43a9ea2a52e1976799d718972140a077752667d8 | 5,524 | ts | TypeScript | vahub/src/main/webapp/src/app/filters/dataTypes/cerebrovascular/CerebrovascularFiltersModel.spec.ts | digital-ECMT/acuity-vahub | 244eb7ec0f56cdac81ac6a8245ba2959b012b246 | [
"Apache-2.0"
] | 7 | 2022-01-25T18:12:19.000Z | 2022-03-22T18:31:08.000Z | vahub/src/main/webapp/src/app/filters/dataTypes/cerebrovascular/CerebrovascularFiltersModel.spec.ts | digital-ECMT/acuity-vahub | 244eb7ec0f56cdac81ac6a8245ba2959b012b246 | [
"Apache-2.0"
] | null | null | null | vahub/src/main/webapp/src/app/filters/dataTypes/cerebrovascular/CerebrovascularFiltersModel.spec.ts | digital-ECMT/acuity-vahub | 244eb7ec0f56cdac81ac6a8245ba2959b012b246 | [
"Apache-2.0"
] | 1 | 2022-03-28T15:20:09.000Z | 2022-03-28T15:20:09.000Z | /*
* Copyright 2021 The University of Manchester
*
* 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 ... | 41.533835 | 153 | 0.644461 |
582b9448c4e145891ba6805c4a2864eaac85e45d | 1,248 | css | CSS | dist/css/common.css | DaniilDem/DaniilDem.github.io | a0c74ba19327a8df60b7a21d5e1c85765355f852 | [
"MIT"
] | null | null | null | dist/css/common.css | DaniilDem/DaniilDem.github.io | a0c74ba19327a8df60b7a21d5e1c85765355f852 | [
"MIT"
] | null | null | null | dist/css/common.css | DaniilDem/DaniilDem.github.io | a0c74ba19327a8df60b7a21d5e1c85765355f852 | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css?family=Open+Sans");body{font-family:Open Sans,sans-serif;color:#000;background-color:#222;font-size:14pt;overflow-x:hidden;margin:0}a{color:#333}a:hover{color:#000}#container{position:relative;width:100%;height:100vh;max-width:1530px;margin:0 auto}#info-block{position:absol... | 416 | 1,208 | 0.782853 |
fcd479678141dce3925ac316e70e6dcd2573efff | 2,228 | sql | SQL | proyect_0/database.sql | umiphos/flask_env | 2e1635a245d676b6634425b17c004a39c06686d3 | [
"Unlicense"
] | null | null | null | proyect_0/database.sql | umiphos/flask_env | 2e1635a245d676b6634425b17c004a39c06686d3 | [
"Unlicense"
] | null | null | null | proyect_0/database.sql | umiphos/flask_env | 2e1635a245d676b6634425b17c004a39c06686d3 | [
"Unlicense"
] | null | null | null | DROP DATABASE IF EXISTS FM4Demo;
CREATE DATABASE IF NOT EXISTS FM4Demo;
USE FM4Demo;
CREATE TABLE admin_info(
id_admin INT NOT NULL AUTO_INCREMENT,
user_name VARCHAR(50),
pass VARCHAR(50),
secret VARCHAR(50),
name VARCHAR(50),
last_name VARCHAR(50),
mail VARCHAR(50),
PRIMARY KEY (id_admin)
... | 24.217391 | 154 | 0.714093 |
917818d7e121bc40b4e7b217018cca031999e332 | 1,153 | ts | TypeScript | src/app/views/vehicle/vehicle.module.ts | ganeshfromindia/DesktopLocate2020 | 7015ee4a857b4065116afd63cc22017f6f47d7d8 | [
"MIT"
] | null | null | null | src/app/views/vehicle/vehicle.module.ts | ganeshfromindia/DesktopLocate2020 | 7015ee4a857b4065116afd63cc22017f6f47d7d8 | [
"MIT"
] | null | null | null | src/app/views/vehicle/vehicle.module.ts | ganeshfromindia/DesktopLocate2020 | 7015ee4a857b4065116afd63cc22017f6f47d7d8 | [
"MIT"
] | null | null | null | // Angular
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { AlertModule } from 'ngx-bootstrap/alert';
import { VehicleRoutingModule } from './vehicle-routing.module';
import { vehicleComponent } from './vehicle.component';
... | 30.342105 | 78 | 0.737207 |
7fb12a285a7af12211002d7dc9b8c781a6fc93f7 | 75 | php | PHP | app/views/blocks/ta-q-status.blade.php | voveson/ta_queue | f9cef023aba84a7e704adf98ed81b76bcfc012bb | [
"MIT"
] | null | null | null | app/views/blocks/ta-q-status.blade.php | voveson/ta_queue | f9cef023aba84a7e704adf98ed81b76bcfc012bb | [
"MIT"
] | null | null | null | app/views/blocks/ta-q-status.blade.php | voveson/ta_queue | f9cef023aba84a7e704adf98ed81b76bcfc012bb | [
"MIT"
] | null | null | null | {{ (isset($queue->status) && $queue->status != "") ? $queue->status : '' }} | 75 | 75 | 0.506667 |
f158c9383b6d164063809a7bd8a00c9da84dd288 | 520 | rb | Ruby | app/controllers/spree/follows_controller.rb | enbake/spree_auctions_enbake | 74a96174306e5e31a9067d5dc5628ab9a9a438c2 | [
"BSD-3-Clause"
] | 5 | 2015-11-04T05:26:51.000Z | 2020-03-06T09:10:09.000Z | app/controllers/spree/follows_controller.rb | enbake/spree_auctions_enbake | 74a96174306e5e31a9067d5dc5628ab9a9a438c2 | [
"BSD-3-Clause"
] | null | null | null | app/controllers/spree/follows_controller.rb | enbake/spree_auctions_enbake | 74a96174306e5e31a9067d5dc5628ab9a9a438c2 | [
"BSD-3-Clause"
] | 6 | 2015-05-18T14:52:13.000Z | 2021-06-06T13:52:16.000Z | class Spree::FollowsController < ApplicationController
def follow_product
@product = Spree::Product.find(params[:id])
@follower = @product.followers.where(:user_id => spree_current_user.id)
if @follower.present?
@product.followers.where(:user_id => spree_current_user.id).first.delete
flash[... | 32.5 | 78 | 0.709615 |
2da26aeb78b9c6c1f29c700f7a0d00c789cb01b6 | 253 | go | Go | provider/aws/ingress.go | mattdennewitz/convox | 961ae04b3d15623660afc9b6bea61e137414a94f | [
"Apache-2.0"
] | 91 | 2019-08-17T02:21:05.000Z | 2022-03-18T22:46:45.000Z | provider/aws/ingress.go | mattdennewitz/convox | 961ae04b3d15623660afc9b6bea61e137414a94f | [
"Apache-2.0"
] | 68 | 2019-12-04T17:37:04.000Z | 2022-03-31T16:27:10.000Z | provider/aws/ingress.go | mattdennewitz/convox | 961ae04b3d15623660afc9b6bea61e137414a94f | [
"Apache-2.0"
] | 51 | 2019-11-06T12:21:16.000Z | 2022-03-29T08:56:16.000Z | package aws
func (p *Provider) IngressAnnotations(app string) (map[string]string, error) {
as := map[string]string{
"cert-manager.io/cluster-issuer": "letsencrypt",
}
return as, nil
}
func (p *Provider) IngressClass() string {
return "nginx"
}
| 18.071429 | 78 | 0.699605 |
7e4e66020842522b37ba60e12c339975f475276f | 954 | ps1 | PowerShell | Modules/datastructures/src/Public/Save-TableToFile.ps1 | RobertoTheRobot/ps_repo | 4d6138cc16a68fc5f60022b876cec03877302f8f | [
"MIT"
] | 1 | 2019-03-05T13:12:38.000Z | 2019-03-05T13:12:38.000Z | Modules/datastructures/src/Public/Save-TableToFile.ps1 | RobertoTheRobot/PSRepository | 4d6138cc16a68fc5f60022b876cec03877302f8f | [
"MIT"
] | null | null | null | Modules/datastructures/src/Public/Save-TableToFile.ps1 | RobertoTheRobot/PSRepository | 4d6138cc16a68fc5f60022b876cec03877302f8f | [
"MIT"
] | null | null | null | Function Save-TableToFile {
<#
.SYNOPSIS
Saves DataTable content to a file
.DESCRIPTION
Saves DataTable content to a file.
.INPUTS
datatable
System.Data.DataTable
filePath
string
.OUTPUTS
Void
.EXAMPLE
$dt | Save-TableToFile -fil... | 24.461538 | 111 | 0.57652 |
e71c9fedc55f790e9e42db5f6fc822368eb4b04c | 2,518 | php | PHP | drds-20190123/src/Models/DescribeDrdsDBResponseBody/data.php | CircleCurve/alibabacloud-php-sdk | d8429bb4c8fd17f64dcfb55dba6737ca166a8ab0 | [
"Apache-2.0"
] | null | null | null | drds-20190123/src/Models/DescribeDrdsDBResponseBody/data.php | CircleCurve/alibabacloud-php-sdk | d8429bb4c8fd17f64dcfb55dba6737ca166a8ab0 | [
"Apache-2.0"
] | null | null | null | drds-20190123/src/Models/DescribeDrdsDBResponseBody/data.php | CircleCurve/alibabacloud-php-sdk | d8429bb4c8fd17f64dcfb55dba6737ca166a8ab0 | [
"Apache-2.0"
] | null | null | null | <?php
// This file is auto-generated, don't edit it. Thanks.
namespace AlibabaCloud\SDK\Drds\V20190123\Models\DescribeDrdsDBResponseBody;
use AlibabaCloud\Tea\Model;
class data extends Model
{
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $dbName;
/**
... | 20.983333 | 76 | 0.43606 |
bbdba6fd3edff5e44b53135daf510a41304ec24c | 783 | dart | Dart | LibTest/core/Function/Function_class_A01_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 29 | 2015-10-18T19:06:27.000Z | 2022-03-05T11:55:37.000Z | LibTest/core/Function/Function_class_A01_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 1,278 | 2015-07-01T05:52:22.000Z | 2022-03-30T08:20:00.000Z | LibTest/core/Function/Function_class_A01_t01.dart | rmacnak-google/co19 | 007439e51981c536e65171444b536b03ef23fc25 | [
"BSD-3-Clause"
] | 33 | 2015-06-24T08:21:27.000Z | 2022-03-04T11:38:20.000Z | // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// @assertion A function value, or an instance of a class with a "call" method,
/// is a subtype... | 31.32 | 82 | 0.666667 |
b2b5d0b5619db1bec6afb3c51815caddf758fe03 | 435 | css | CSS | public/css/introPage.css | 2021-myuniform/laravel_myuniform | 5497a1a2be98e78e000ed698093882922f1db4a4 | [
"MIT"
] | null | null | null | public/css/introPage.css | 2021-myuniform/laravel_myuniform | 5497a1a2be98e78e000ed698093882922f1db4a4 | [
"MIT"
] | null | null | null | public/css/introPage.css | 2021-myuniform/laravel_myuniform | 5497a1a2be98e78e000ed698093882922f1db4a4 | [
"MIT"
] | null | null | null | .introBox{
width: 80%;
margin: 100px auto;
}
.introContainer{
text-align: center;
padding: 50px;
background-color: gray;
color: white;
border-radius: 30px;
font-size: 2em;
line-height: 1.5;
}
.toMainBtn{
text-align: center;
font-size: 1.8em;
background-color: lightgray;... | 15.535714 | 32 | 0.602299 |
6cfdd73746ae65ded755fcc07e4f75b5f0776e95 | 2,703 | rb | Ruby | test/facebook/test_handler.rb | khoan/rest-more | 0e7d4db588ecc287fd8b2840c880dfb3fe3c3096 | [
"Apache-2.0"
] | null | null | null | test/facebook/test_handler.rb | khoan/rest-more | 0e7d4db588ecc287fd8b2840c880dfb3fe3c3096 | [
"Apache-2.0"
] | null | null | null | test/facebook/test_handler.rb | khoan/rest-more | 0e7d4db588ecc287fd8b2840c880dfb3fe3c3096 | [
"Apache-2.0"
] | null | null | null |
require 'rest-more/test'
describe RC::Facebook do
after do
WebMock.reset!
RR.verify
end
describe 'log method' do
should 'log whenever doing network request' do
stub_request(:get, 'https://graph.facebook.com/me').
to_return(:body => '{}')
logger = []
rg = RC::Facebook.new(... | 31.430233 | 77 | 0.580466 |
9d2b281c463d58e3c92c82e5d9b604d5bc1e9684 | 879 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5524580_sys_gh5257_I_DataEntry_Record_table_2.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5524580_sys_gh5257_I_DataEntry_Record_table_2.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5524580_sys_gh5257_I_DataEntry_Record_table_2.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 2019-06-13T18:33:19.811
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=568249
;
-- 2019-06-13T18:33:19.822
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Column WHERE AD_Column_ID=568249
;
-- 2019-06-13T18:33:31.010
... | 28.354839 | 65 | 0.798635 |
45c053e5c3a15a5e3584a828e3f31884a60c577e | 1,859 | py | Python | dffml/optimizer/optimizer.py | yopknopixx/dffml | 7f295bb01b235a915c9f8015564b97a708cd5325 | [
"MIT"
] | null | null | null | dffml/optimizer/optimizer.py | yopknopixx/dffml | 7f295bb01b235a915c9f8015564b97a708cd5325 | [
"MIT"
] | null | null | null | dffml/optimizer/optimizer.py | yopknopixx/dffml | 7f295bb01b235a915c9f8015564b97a708cd5325 | [
"MIT"
] | null | null | null | import abc
from ..model import ModelContext
from ..source.source import SourcesContext
from ..accuracy.accuracy import AccuracyContext
from ..feature.feature import Feature
from ..util.entrypoint import base_entry_point
from ..base import (
config,
BaseDataFlowFacilitatorObjectContext,
BaseDataFlowFacilita... | 25.465753 | 81 | 0.665412 |
e35c67d23f33eb47c21e917ac60908d4d775fbaf | 267 | rb | Ruby | examples/sender.rb | seblindberg/ruby-mqtt-pipe | 6e77c759e9c64ea69748060679e2d6d011b83904 | [
"MIT"
] | null | null | null | examples/sender.rb | seblindberg/ruby-mqtt-pipe | 6e77c759e9c64ea69748060679e2d6d011b83904 | [
"MIT"
] | null | null | null | examples/sender.rb | seblindberg/ruby-mqtt-pipe | 6e77c759e9c64ea69748060679e2d6d011b83904 | [
"MIT"
] | null | null | null | require 'mqtt_pipe'
pipe = MQTTPipe.create
pipe.on 'hello/world/5' do
puts 'received 5'
end
pipe.open 'localhost', port: 1883 do
counter = 0
loop do
send 'hello/world/' + counter.to_s, Time.now
puts 'sending...'
counter += 1
sleep 1
end
end | 15.705882 | 48 | 0.64794 |
b2bcb58e4fe08185366f79b19b5933c7408882bc | 1,108 | css | CSS | widgets/vis-inventwo/css/style.css | dev-xaur/ioBroker.vis-inventwo | a537b62ba74cd1a1ba0d5cddb2c9ba28a13fbcb8 | [
"MIT"
] | null | null | null | widgets/vis-inventwo/css/style.css | dev-xaur/ioBroker.vis-inventwo | a537b62ba74cd1a1ba0d5cddb2c9ba28a13fbcb8 | [
"MIT"
] | null | null | null | widgets/vis-inventwo/css/style.css | dev-xaur/ioBroker.vis-inventwo | a537b62ba74cd1a1ba0d5cddb2c9ba28a13fbcb8 | [
"MIT"
] | null | null | null | /* Style your widget here */
/* BUTTONS ANFANG */
.vis-inventwo-button {
box-shadow: 2px 2px 2px 1px #111111;
position: absolute;
width: 100%;
height: 100%;
}
.vis-inventwo-button-active {
background-color: #455618;
}
.vis-inventwo-button-imageContainer {
text-align: center;
position:relative;... | 17.587302 | 57 | 0.629964 |
b58c77840a3e9564122b8eff987ff0db2b054db5 | 907 | sql | SQL | src/main/resources/db/migration/general/V4__offender_case_note_amendment.sql | uk-gov-mirror/ministryofjustice.offender-case-notes | 9872633a01f4031fd64e837372befef2b80f4c44 | [
"MIT"
] | null | null | null | src/main/resources/db/migration/general/V4__offender_case_note_amendment.sql | uk-gov-mirror/ministryofjustice.offender-case-notes | 9872633a01f4031fd64e837372befef2b80f4c44 | [
"MIT"
] | 3 | 2019-08-19T07:46:00.000Z | 2022-03-09T16:03:11.000Z | src/main/resources/db/migration/general/V4__offender_case_note_amendment.sql | uk-gov-mirror/ministryofjustice.offender-case-notes | 9872633a01f4031fd64e837372befef2b80f4c44 | [
"MIT"
] | 1 | 2021-04-11T06:16:15.000Z | 2021-04-11T06:16:15.000Z | DROP TABLE IF EXISTS OFFENDER_CASE_NOTE_AMENDMENT;
CREATE TABLE OFFENDER_CASE_NOTE_AMENDMENT
(
OFFENDER_CASE_NOTE_AMENDMENT_ID SERIAL PRIMARY KEY,
OFFENDER_CASE_NOTE_ID UUID NOT NULL,
AMEND_SEQUENCE NUMERIC(5) NOT NULL,
AUTHOR_USERNAME VARCHAR(32) NOT ... | 37.791667 | 98 | 0.643881 |
ff5cf6c4819ae3bdd2220e5d6d5746c4f0013496 | 389 | py | Python | core/migrations/0007_alter_discussion_user_id.py | GDSC-BUK/sc-22.forum-service | 2202e61003f7b23f2871465e4a110f9083595f5b | [
"MIT"
] | null | null | null | core/migrations/0007_alter_discussion_user_id.py | GDSC-BUK/sc-22.forum-service | 2202e61003f7b23f2871465e4a110f9083595f5b | [
"MIT"
] | null | null | null | core/migrations/0007_alter_discussion_user_id.py | GDSC-BUK/sc-22.forum-service | 2202e61003f7b23f2871465e4a110f9083595f5b | [
"MIT"
] | null | null | null | # Generated by Django 4.0.3 on 2022-04-03 10:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0006_alter_reply_user_id'),
]
operations = [
migrations.AlterField(
model_name='discussion',
name='user_id',... | 20.473684 | 50 | 0.601542 |
6b565b0743c98b9ad4cae5c393523a49921f0bd5 | 465 | js | JavaScript | src/app/Service.js | OSDrive/drive | 552cef2808bdead3e3ddc883fed593a4cbcdde9c | [
"Apache-2.0"
] | 44 | 2019-02-16T19:24:18.000Z | 2021-11-19T03:02:20.000Z | src/app/Service.js | OSDrive/drive | 552cef2808bdead3e3ddc883fed593a4cbcdde9c | [
"Apache-2.0"
] | 16 | 2019-02-16T09:08:22.000Z | 2020-07-16T16:55:38.000Z | src/app/Service.js | OSDrive/drive | 552cef2808bdead3e3ddc883fed593a4cbcdde9c | [
"Apache-2.0"
] | 15 | 2019-04-08T08:44:12.000Z | 2021-11-12T14:32:20.000Z | import store from '@/store/store'
import DropboxApi from './apps/Dropbox'
import GoogleApi from './apps/Google'
import {
config
} from './Config'
/**
* services
*/
class Services {
/**
* Store constructor
*/
constructor() {
const dropboxAccessToken = store.state.settings.dropbox.accessToken;
thi... | 17.884615 | 75 | 0.688172 |
72d682f392dc22ccaa6f317f14fdf2249b1c0342 | 1,947 | cs | C# | source/Viveport.TestProgram/TestLogger.cs | ViveportSoftware/viveport_sdk_csharp | a9bc1d041fecfafef94449caf010ea7ff81fb395 | [
"MIT"
] | 5 | 2019-07-19T07:03:47.000Z | 2022-02-24T12:02:11.000Z | source/Viveport.TestProgram/TestLogger.cs | ViveportSoftware/viveport_sdk_csharp | a9bc1d041fecfafef94449caf010ea7ff81fb395 | [
"MIT"
] | 1 | 2020-01-29T16:57:30.000Z | 2020-02-11T16:08:25.000Z | source/Viveport.TestProgram/TestLogger.cs | ViveportSoftware/viveport_sdk_csharp | a9bc1d041fecfafef94449caf010ea7ff81fb395 | [
"MIT"
] | 2 | 2020-01-31T03:03:55.000Z | 2021-11-04T02:49:15.000Z | using System;
using System.Collections.Generic;
using System.Linq;
namespace Viveport.TestProgram
{
public static class TestLogger
{
enum LogType
{
Debug, Success, Warnning, Error
}
private static void ShowMessageWithFormat(LogType type, string methodName, string me... | 32.45 | 98 | 0.55624 |
a3a95be97868b3de7d79deef47c6e618f6109342 | 2,141 | tsx | TypeScript | wolven531-website/ClientApp/src/views/Counter.tsx | Wolven531/wolven531-website | 9d18436255c358b0b539eef9eff50149d2f628de | [
"MIT"
] | 1 | 2019-09-10T04:29:09.000Z | 2019-09-10T04:29:09.000Z | wolven531-website/ClientApp/src/views/Counter.tsx | Wolven531/wolven531-website | 9d18436255c358b0b539eef9eff50149d2f628de | [
"MIT"
] | 6 | 2021-03-09T15:08:00.000Z | 2022-02-26T16:35:48.000Z | wolven531-website/ClientApp/src/views/Counter.tsx | Wolven531/wolven531-website | 9d18436255c358b0b539eef9eff50149d2f628de | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import { SpinningSVG } from '../components/SpinningSVG/SpinningSVG'
import './Counter.css'
interface ICounterState {
buttonEnabled: boolean
currentCount: number
}
class Counter extends Component<{}, ICounterState> {
private static MAX_COUNT = 10
private static STORAGE_KE... | 23.271739 | 83 | 0.691733 |
dda9fc1adf44f82b073fae5c15ad305b2c44bc8f | 280 | java | Java | src/model/sudokuGenerator/generatorFunction/GridNotSolvedException.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | src/model/sudokuGenerator/generatorFunction/GridNotSolvedException.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | src/model/sudokuGenerator/generatorFunction/GridNotSolvedException.java | alkolhar/OST_Sudoku | 8419c889b0c3f73543b2f80d0e71c4ff55d415b3 | [
"MIT"
] | null | null | null | package model.sudokuGenerator.generatorFunction;
public class GridNotSolvedException extends Exception {
private static final long serialVersionUID = 1L;
/**
* @param Message why the Exception gets thrown
*/
public GridNotSolvedException(String msg) {
super(msg);
}
}
| 21.538462 | 55 | 0.767857 |
ff42e79f06a3b4faa5ffeba7793b69d829eadbe9 | 3,289 | py | Python | hubstore/view/main.py | pyrustic/hubstore | 640bb07286a3d63e3772def0a0f682198abffec8 | [
"MIT"
] | 4 | 2021-04-08T11:34:47.000Z | 2021-09-04T00:02:51.000Z | hubstore/view/main.py | pyrustic/hubstore | 640bb07286a3d63e3772def0a0f682198abffec8 | [
"MIT"
] | null | null | null | hubstore/view/main.py | pyrustic/hubstore | 640bb07286a3d63e3772def0a0f682198abffec8 | [
"MIT"
] | null | null | null | import tkinter as tk
from viewable import Viewable
from threadom import Threadom
from megawidget.toast import Toast
from hubstore.host import Host
from hubstore.view.views import Views
from hubstore.view.toolbar import Toolbar
from hubstore.view.pane import Pane
from hubstore.view.about import About
from hubstore.view.... | 28.353448 | 80 | 0.645181 |
127fe85c1c237e5e034259393511c539cb2fb03d | 1,934 | cs | C# | src/FluentAssertions.Analyzers/Tips/MsTest/CollectionAssertAreEquivalent.cs | chvollm/fluentassertions.analyzers | 83e0ed49010823e0a2f70018d4f23c701f2e0913 | [
"MIT"
] | 1 | 2022-02-15T18:57:52.000Z | 2022-02-15T18:57:52.000Z | src/FluentAssertions.Analyzers/Tips/MsTest/CollectionAssertAreEquivalent.cs | maxkoshevoi/fluentassertions.analyzers | 83e0ed49010823e0a2f70018d4f23c701f2e0913 | [
"MIT"
] | null | null | null | src/FluentAssertions.Analyzers/Tips/MsTest/CollectionAssertAreEquivalent.cs | maxkoshevoi/fluentassertions.analyzers | 83e0ed49010823e0a2f70018d4f23c701f2e0913 | [
"MIT"
] | null | null | null | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
namespace FluentAssertions.Analyzers
{
[DiagnosticAnalyzer(Lang... | 42.043478 | 152 | 0.771975 |
a40f33430a4155550803f394fcae41e69d7d24d8 | 917 | php | PHP | src/Everest/Validation/Types/TypeBoolean.php | inceddy/everest-validation | d590ff07933a092e2d8c93ecce0a1d2b42040971 | [
"MIT"
] | null | null | null | src/Everest/Validation/Types/TypeBoolean.php | inceddy/everest-validation | d590ff07933a092e2d8c93ecce0a1d2b42040971 | [
"MIT"
] | null | null | null | src/Everest/Validation/Types/TypeBoolean.php | inceddy/everest-validation | d590ff07933a092e2d8c93ecce0a1d2b42040971 | [
"MIT"
] | null | null | null | <?php
/*
* This file is part of Everest.
*
* (c) 2018 Philipp Steingrebe <development@steingrebe.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Everest\Validation\Types;
use Everest\Validation\InvalidValidationExce... | 26.970588 | 82 | 0.691385 |
b0ea9e9e2ceee6752141a7e54b1b19f17e9f2833 | 1,747 | py | Python | examples/nlp/duplex_text_normalization/nn_wfst/en/electronic/normalize.py | choclatier/NeMo | f01ef35367ecd9ab4953354c0a78b64f90b79f2a | [
"Apache-2.0"
] | null | null | null | examples/nlp/duplex_text_normalization/nn_wfst/en/electronic/normalize.py | choclatier/NeMo | f01ef35367ecd9ab4953354c0a78b64f90b79f2a | [
"Apache-2.0"
] | null | null | null | examples/nlp/duplex_text_normalization/nn_wfst/en/electronic/normalize.py | choclatier/NeMo | f01ef35367ecd9ab4953354c0a78b64f90b79f2a | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. 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 requ... | 34.254902 | 116 | 0.705781 |
bd5be3ba0f435b6c18e52a8c1d4063fce1458ce8 | 336 | sql | SQL | src/test/resources/incrvacuum.test_21.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 131 | 2015-03-31T18:59:14.000Z | 2022-03-09T09:51:06.000Z | src/test/resources/incrvacuum.test_21.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 20 | 2015-03-31T21:35:38.000Z | 2018-07-02T16:15:51.000Z | src/test/resources/incrvacuum.test_21.sql | jdkoren/sqlite-parser | 9adf75ff5eca36f6e541594d2e062349f9ced654 | [
"MIT"
] | 43 | 2015-04-28T02:01:55.000Z | 2021-06-06T09:33:38.000Z | -- incrvacuum.test
--
-- execsql {
-- BEGIN;
-- CREATE TABLE tbl1(a);
-- INSERT INTO tbl1 VALUES(str);
-- PRAGMA incremental_vacuum; -- this is a no-op.
-- COMMIT;
-- }
BEGIN;
CREATE TABLE tbl1(a);
INSERT INTO tbl1 VALUES(str);
PRAGMA incremental_vacuum; -- this is a... | 22.4 | 69 | 0.568452 |
d3f6c8643c67ab4c312aafd627e24deb52c717a3 | 156 | dart | Dart | lib/src/attributes/icon/icon_short.utils.dart | Solido/mix | ab0f5319ffdefe3789d58b494843db605b197c2f | [
"BSD-3-Clause"
] | 147 | 2021-07-05T16:50:09.000Z | 2022-03-30T21:24:42.000Z | lib/src/attributes/icon/icon_short.utils.dart | Solido/mix | ab0f5319ffdefe3789d58b494843db605b197c2f | [
"BSD-3-Clause"
] | 53 | 2021-07-06T11:41:54.000Z | 2022-03-24T16:59:23.000Z | lib/src/attributes/icon/icon_short.utils.dart | Solido/mix | ab0f5319ffdefe3789d58b494843db605b197c2f | [
"BSD-3-Clause"
] | 9 | 2021-07-06T07:46:04.000Z | 2022-03-07T17:54:20.000Z | import 'package:mix/src/attributes/exports.dart';
const icon = IconUtils.icon;
const iconSize = IconUtils.iconSize;
const iconColor = IconUtils.iconColor;
| 26 | 49 | 0.794872 |
be2980f2cf3e6f9b07c5f6d2d6ed469caf0af25d | 7,031 | ts | TypeScript | electron-app/tests/e2e/specs/settings_user.spec.ts | sponnet/rotki | ff706784fbc80cc66035a5355418c5ecf93f13ba | [
"BSD-3-Clause"
] | null | null | null | electron-app/tests/e2e/specs/settings_user.spec.ts | sponnet/rotki | ff706784fbc80cc66035a5355418c5ecf93f13ba | [
"BSD-3-Clause"
] | 1 | 2020-01-14T04:37:15.000Z | 2020-01-14T04:37:15.000Z | electron-app/tests/e2e/specs/settings_user.spec.ts | sponnet/rotki | ff706784fbc80cc66035a5355418c5ecf93f13ba | [
"BSD-3-Clause"
] | null | null | null | import { Application, SpectronClient } from 'spectron';
import {
captureOnFailure,
createAccount,
GLOBAL_TIMEOUT,
initSpectron,
METHOD_TIMEOUT,
navigateTo,
setupTest
} from './utils/common';
import { Guid } from './utils/guid';
import {
AccountType,
UserSettingsController
} from './support/user_settin... | 32.550926 | 84 | 0.662495 |
dd7be3074a4aa935084dd61265e101930ae3233a | 843 | java | Java | androidlibrary/commonlibrary/src/main/java/com/android/commonlibrary/cacher/normal_cache/MemoryLruCache.java | ShaoqiangPei/AndroidLibrary | 87f3bce81bcf206eecf6237f57a911a28407bf44 | [
"Apache-2.0"
] | 7 | 2019-12-27T02:53:30.000Z | 2021-10-12T03:05:04.000Z | androidlibrary/commonlibrary/src/main/java/com/android/commonlibrary/cacher/normal_cache/MemoryLruCache.java | ShaoqiangPei/AndroidLibrary | 87f3bce81bcf206eecf6237f57a911a28407bf44 | [
"Apache-2.0"
] | 1 | 2021-03-25T09:39:33.000Z | 2021-03-25T09:39:33.000Z | androidlibrary/commonlibrary/src/main/java/com/android/commonlibrary/cacher/normal_cache/MemoryLruCache.java | ShaoqiangPei/AndroidLibrary | 87f3bce81bcf206eecf6237f57a911a28407bf44 | [
"Apache-2.0"
] | 2 | 2019-12-27T02:53:34.000Z | 2020-11-09T08:06:50.000Z | package com.android.commonlibrary.cacher.normal_cache;
import androidx.collection.LruCache;
/**
* Title:内存缓存
* Description:近期最少使用算法
* <p>
* Created by pei
* Date: 2017/10/23
*/
public class MemoryLruCache<K,V> extends LruCache<K,V> {
// 构造方法传入当前应用可用最大内存的八分之一
public MemoryLruCache() {
super(Cac... | 22.184211 | 81 | 0.685647 |
9fd007285baef8d498b9afb3bdfe168c2defa298 | 6,780 | py | Python | bangumi/spiders/bangumi_anime_api_spider.py | project-nichijou/nichijou.server.spider.bangumi | e84b13b0e8624a34185ced052ad0f4d41bf5bead | [
"MIT"
] | 3 | 2021-06-24T14:39:43.000Z | 2021-07-30T06:25:01.000Z | bangumi/spiders/bangumi_anime_api_spider.py | project-nichijou/bangumi-spider | e84b13b0e8624a34185ced052ad0f4d41bf5bead | [
"MIT"
] | 12 | 2021-06-20T16:08:20.000Z | 2021-06-29T02:43:54.000Z | bangumi/spiders/bangumi_anime_api_spider.py | project-nichijou/nichijou.server.spider.bangumi | e84b13b0e8624a34185ced052ad0f4d41bf5bead | [
"MIT"
] | 1 | 2021-06-25T14:28:54.000Z | 2021-06-25T14:28:54.000Z | from common.cache.cache_maker import make_cache_item
from common.items.log_item import CommonLogItem
from common.cache.cache_response import CacheResponse
import pickle
from common.utils.datetime import get_date_str_now, get_time_str_from_timestamp, get_time_str_now
from common.items.cache_item import CommonCacheItem
i... | 28.851064 | 145 | 0.668437 |
a320330c99c9f789de7f60767bc7b948d47eb1c1 | 159 | java | Java | domain-event-springboot-starter/src/main/java/com/github/domainevent/starter/EnableMicroserviceStream.java | match-middleware/domain-event-plugins | c6b3c526a985eaf266c9ee92151df20c968c7845 | [
"Apache-2.0"
] | null | null | null | domain-event-springboot-starter/src/main/java/com/github/domainevent/starter/EnableMicroserviceStream.java | match-middleware/domain-event-plugins | c6b3c526a985eaf266c9ee92151df20c968c7845 | [
"Apache-2.0"
] | null | null | null | domain-event-springboot-starter/src/main/java/com/github/domainevent/starter/EnableMicroserviceStream.java | match-middleware/domain-event-plugins | c6b3c526a985eaf266c9ee92151df20c968c7845 | [
"Apache-2.0"
] | null | null | null | package com.github.domainevent.starter;
/**
* @Author zhangchao
* @Date 2019/8/5 16:41
* @Version v1.0
*/
public @interface EnableMicroserviceStream {
}
| 14.454545 | 44 | 0.704403 |
a00eb98aadee519d194b9d21f5f0ba946bcfcde4 | 2,172 | rs | Rust | stm32f4/src/stm32f469/ltdc/layer.rs | dgoodlad/crabdac | 9341949c83e4437dee55af80b4eb6ab0cac648b1 | [
"MIT"
] | null | null | null | stm32f4/src/stm32f469/ltdc/layer.rs | dgoodlad/crabdac | 9341949c83e4437dee55af80b4eb6ab0cac648b1 | [
"MIT"
] | null | null | null | stm32f4/src/stm32f469/ltdc/layer.rs | dgoodlad/crabdac | 9341949c83e4437dee55af80b4eb6ab0cac648b1 | [
"MIT"
] | null | null | null | #[doc = "CR register accessor: an alias for `Reg<CR_SPEC>`"]
pub type CR = crate::Reg<cr::CR_SPEC>;
#[doc = "Layerx Control Register"]
pub mod cr;
#[doc = "WHPCR register accessor: an alias for `Reg<WHPCR_SPEC>`"]
pub type WHPCR = crate::Reg<whpcr::WHPCR_SPEC>;
#[doc = "Layerx Window Horizontal Position Configuration R... | 44.326531 | 68 | 0.722836 |
354d7bd592c9a9ada35a3be0ce2f02995dd04881 | 11,632 | sql | SQL | servers/slapd/back-sql/rdbms_depend/oracle/testdb_metadata.sql | LibreZimbra/zm-openldap | b70538de84b8a18357ebc312c3d395fedad37faf | [
"OLDAP-2.8"
] | 372 | 2016-10-28T10:50:35.000Z | 2022-03-18T19:54:37.000Z | servers/slapd/back-sql/rdbms_depend/oracle/testdb_metadata.sql | LibreZimbra/zm-openldap | b70538de84b8a18357ebc312c3d395fedad37faf | [
"OLDAP-2.8"
] | 317 | 2016-11-02T17:41:48.000Z | 2021-11-08T20:28:19.000Z | servers/slapd/back-sql/rdbms_depend/oracle/testdb_metadata.sql | LibreZimbra/zm-openldap | b70538de84b8a18357ebc312c3d395fedad37faf | [
"OLDAP-2.8"
] | 148 | 2015-09-30T17:29:06.000Z | 2022-03-23T01:07:59.000Z | -- mappings
-- objectClass mappings: these may be viewed as structuralObjectClass, the ones that are used to decide how to build an entry
-- id a unique number identifying the objectClass
-- name the name of the objectClass; it MUST match the name of an objectClass that is loaded in slapd's schema
-- keytbl the na... | 45.976285 | 162 | 0.78542 |
eb651f9cc0403450d6292ef8137edad3af887cf9 | 2,359 | css | CSS | Style.css | MortarJack/MortarJack.github.io | 079ce63674e25003f578750a296799e2e4d6715c | [
"OLDAP-2.4",
"OLDAP-2.3",
"OLDAP-2.8"
] | null | null | null | Style.css | MortarJack/MortarJack.github.io | 079ce63674e25003f578750a296799e2e4d6715c | [
"OLDAP-2.4",
"OLDAP-2.3",
"OLDAP-2.8"
] | null | null | null | Style.css | MortarJack/MortarJack.github.io | 079ce63674e25003f578750a296799e2e4d6715c | [
"OLDAP-2.4",
"OLDAP-2.3",
"OLDAP-2.8"
] | null | null | null | body {
margin: auto;
padding: 10px;
width: 1000px;
font-family: 'Helvetica Neue';
font-size: 18px;
background-color: #777;
}
.nav {
margin: 10px;
height: 100px;
background-color: #ebebeb
}
.aboutme {
padding: 10px;
margin: 10px;
float: left;
width: 550px;
heig... | 15.318182 | 35 | 0.599407 |
8e7274019f6441655d77fc14d94ee199a9a56a4d | 1,487 | js | JavaScript | share-wxmal/pages/details/details.js | zhouyihangcn/my-blog | 0d5c25923bebbef7c71c67bf763d8d696ce354cb | [
"Apache-2.0"
] | 54 | 2019-08-31T06:52:10.000Z | 2022-03-30T13:21:07.000Z | share-wxmal/pages/details/details.js | zhouyihangcn/my-blog | 0d5c25923bebbef7c71c67bf763d8d696ce354cb | [
"Apache-2.0"
] | 1 | 2020-04-02T13:18:24.000Z | 2020-04-02T13:18:24.000Z | share-wxmal/pages/details/details.js | zhouyihangcn/my-blog | 0d5c25923bebbef7c71c67bf763d8d696ce354cb | [
"Apache-2.0"
] | 30 | 2019-09-05T06:14:28.000Z | 2022-03-10T07:10:47.000Z | const util = require('../../utils/util.js');
const { $Toast } = require('../../dist/base/index');
var id=1;
Page({
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
var that = this;
id=options.id;
console.log('id='+id);
console.log('options.id=' + options.id)
console.lo... | 22.19403 | 78 | 0.532616 |
33d77ab6d921c07d0f68d3645ed09c1bbda53648 | 5,109 | c | C | src/pyjit-label.c | nkoep/python-libjit | 6ca42dc44432cd54c61e6066d382b7f5a9d58f38 | [
"Apache-2.0"
] | 4 | 2021-06-07T12:16:23.000Z | 2021-06-07T15:05:09.000Z | src/pyjit-label.c | nkoep/python-libjit | 6ca42dc44432cd54c61e6066d382b7f5a9d58f38 | [
"Apache-2.0"
] | null | null | null | src/pyjit-label.c | nkoep/python-libjit | 6ca42dc44432cd54c61e6066d382b7f5a9d58f38 | [
"Apache-2.0"
] | null | null | null | /* python-libjit, Copyright 2014 Niklas Koep
*
* 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 o... | 31.537037 | 75 | 0.497749 |
c35c98dd2360ac591e44311d0037cd612881bccd | 181 | cs | C# | src/TemplateFileType.cs | win7user10/Microsoft.SharePoint.Client.NetStandard | 16f1e6752a37a53cf453a274dbff39995327c248 | [
"Apache-2.0"
] | null | null | null | src/TemplateFileType.cs | win7user10/Microsoft.SharePoint.Client.NetStandard | 16f1e6752a37a53cf453a274dbff39995327c248 | [
"Apache-2.0"
] | null | null | null | src/TemplateFileType.cs | win7user10/Microsoft.SharePoint.Client.NetStandard | 16f1e6752a37a53cf453a274dbff39995327c248 | [
"Apache-2.0"
] | 1 | 2021-09-03T08:42:58.000Z | 2021-09-03T08:42:58.000Z | namespace Microsoft.SharePoint.Client.NetStandard
{
public enum TemplateFileType
{
StandardPage,
WikiPage,
FormPage,
ClientSidePage
}
}
| 16.454545 | 50 | 0.624309 |
c396c1b1aa3b603e4347a8098e7fdbd16409abdb | 327 | ps1 | PowerShell | src/~commands/Angular/ng.createInterface.ps1 | astepanian1/ns-ng-course | c3a6d0dba46848bb65320d988d8608a532d66ee7 | [
"Apache-2.0"
] | null | null | null | src/~commands/Angular/ng.createInterface.ps1 | astepanian1/ns-ng-course | c3a6d0dba46848bb65320d988d8608a532d66ee7 | [
"Apache-2.0"
] | 3 | 2021-03-09T17:56:07.000Z | 2022-02-10T19:34:57.000Z | src/~commands/Angular/ng.createInterface.ps1 | astepanian1/ns-ng-course | c3a6d0dba46848bb65320d988d8608a532d66ee7 | [
"Apache-2.0"
] | null | null | null |
[void][Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
$title = 'Create New Interface'
$msg = 'Enter Interface Name:'
$interfaceName = [Microsoft.VisualBasic.Interaction]::InputBox($msg, $title)
If([string]::IsNullOrEmpty($interfaceName)){
return
}
Else {
ng generate interface $interface... | 21.8 | 76 | 0.737003 |
cd87feabfd1a222a82dde5d3e21fc9885ca8e039 | 2,978 | cs | C# | WebService/Api/TestRest/TestRestController.cs | alexandervantrijffel/WebApiOwinBoilerplate | a9a14f9e3cf1fe54e088969fd9b9c4aa3f119157 | [
"MIT"
] | null | null | null | WebService/Api/TestRest/TestRestController.cs | alexandervantrijffel/WebApiOwinBoilerplate | a9a14f9e3cf1fe54e088969fd9b9c4aa3f119157 | [
"MIT"
] | null | null | null | WebService/Api/TestRest/TestRestController.cs | alexandervantrijffel/WebApiOwinBoilerplate | a9a14f9e3cf1fe54e088969fd9b9c4aa3f119157 | [
"MIT"
] | 1 | 2017-05-11T22:54:10.000Z | 2017-05-11T22:54:10.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Structura.WebApiOwinBoilerPlate.WebService.JsonConfiguration;
namespace Structura.WebApiOwinBoilerPlate.WebService.Api.TestRest
{
/// <summary>
/// Example RESTful ApiContro... | 35.879518 | 126 | 0.616521 |
c741d911307ac05c6a3726b9fc2719062759e914 | 11,408 | lua | Lua | AzurLaneData/zh-CN/sharecfg/enemy_data_statistics_sublist/enemy_data_statistics_298.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/sharecfg/enemy_data_statistics_sublist/enemy_data_statistics_298.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/sharecfg/enemy_data_statistics_sublist/enemy_data_statistics_298.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | pg = pg or {}
pg.enemy_data_statistics_298 = {
[14102007] = {
cannon = 60,
reload = 150,
speed_growth = 0,
cannon_growth = 0,
pilot_ai_template_id = 80000,
air = 0,
battle_unit_type = 15,
dodge = 0,
base = 80,
durability_growth = 2550,
antiaircraft = 0,
reload_growth = 0,
dodge_growth = 0,
... | 15.955245 | 42 | 0.584414 |
38836bd60d75aafae7aa445db930d4dcfea3ef42 | 1,174 | dart | Dart | lib/parts/system_ui_overlay_style.dart | massa-org/theme_json_converter | 7a7fbaf1b57ccd4af535706deed43835c6fbe091 | [
"MIT"
] | null | null | null | lib/parts/system_ui_overlay_style.dart | massa-org/theme_json_converter | 7a7fbaf1b57ccd4af535706deed43835c6fbe091 | [
"MIT"
] | null | null | null | lib/parts/system_ui_overlay_style.dart | massa-org/theme_json_converter | 7a7fbaf1b57ccd4af535706deed43835c6fbe091 | [
"MIT"
] | null | null | null | part of theme_json_converter;
class NullableSystemUiOverlayStyleConverter
extends JsonConverter<SystemUiOverlayStyle?, String?> {
const NullableSystemUiOverlayStyleConverter();
@override
SystemUiOverlayStyle? fromJson(String? json) {
if (json == null) return null;
switch (json) {
case 'dark':... | 23.48 | 73 | 0.715503 |
d16bf6dac06733bd51398adeab2d26f53a3c66fe | 28 | lua | Lua | exercises/practice/accumulate/accumulate.lua | GriffinMaxwell/lua | 637803384da1c0a7b7162ac6db436acf37baa27b | [
"MIT"
] | 23 | 2017-10-26T19:33:20.000Z | 2021-11-06T14:23:02.000Z | exercises/practice/accumulate/accumulate.lua | GriffinMaxwell/lua | 637803384da1c0a7b7162ac6db436acf37baa27b | [
"MIT"
] | 59 | 2017-06-18T17:12:43.000Z | 2022-03-19T10:50:13.000Z | exercises/practice/accumulate/accumulate.lua | GriffinMaxwell/lua | 637803384da1c0a7b7162ac6db436acf37baa27b | [
"MIT"
] | 37 | 2017-06-21T13:40:10.000Z | 2022-03-19T10:37:34.000Z | return function(xs, f)
end
| 7 | 22 | 0.714286 |
db6b02e94e2265904b189b6b2ee72a65a1d307a4 | 1,448 | php | PHP | app/Http/Controllers/Auth/LoginController.php | forderation/arsip-berkas-kupang | 91fcd69d418252d43462d9ea31ee073d9af496ab | [
"MIT"
] | null | null | null | app/Http/Controllers/Auth/LoginController.php | forderation/arsip-berkas-kupang | 91fcd69d418252d43462d9ea31ee073d9af496ab | [
"MIT"
] | null | null | null | app/Http/Controllers/Auth/LoginController.php | forderation/arsip-berkas-kupang | 91fcd69d418252d43462d9ea31ee073d9af496ab | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use App\Pegawai;
use Auth;
class LoginController extends Controller
{
public function __construct()
{
$this->middleware('guest:pegawai')->except('logout')->except('index')... | 29.55102 | 130 | 0.608425 |
42162abe16d0649b9cf8d9bdfa1541c66a0e1537 | 282 | cs | C# | Scripts/AStarManhattanHeuristic.cs | woshihuo12/AStarForCSharp | 98e33462652af1d1f0f4c47643fc4dd2450666f7 | [
"MIT"
] | 7 | 2016-12-21T16:43:45.000Z | 2021-12-24T02:57:47.000Z | Scripts/AStarManhattanHeuristic.cs | woshihuo12/AStarForCSharp | 98e33462652af1d1f0f4c47643fc4dd2450666f7 | [
"MIT"
] | null | null | null | Scripts/AStarManhattanHeuristic.cs | woshihuo12/AStarForCSharp | 98e33462652af1d1f0f4c47643fc4dd2450666f7 | [
"MIT"
] | 3 | 2018-10-12T01:53:43.000Z | 2020-02-19T13:12:09.000Z | using UnityEngine;
using System.Collections;
public class AStarManhattanHeuristic : IAStarHeuristic
{
public int Heuristic(int x1, int y1, int x2, int y2)
{
return (
(x1 > x2 ? x1 - x2 : x2 - x1)
+
(y1 > y2 ? y1 - y2 : y2 - y1)
) * AStarUtils.STRAIGHT_COST;
}
}
| 18.8 | 55 | 0.631206 |
dbcc2e8d320b4603b2b20a7264e9f523021e9cd8 | 9,515 | php | PHP | resources/views/reports/schedule_4a.blade.php | suchetatamli/expenditure | b6cef2d0a755a8d745b39e7a4c757a7351e64358 | [
"MIT"
] | null | null | null | resources/views/reports/schedule_4a.blade.php | suchetatamli/expenditure | b6cef2d0a755a8d745b39e7a4c757a7351e64358 | [
"MIT"
] | null | null | null | resources/views/reports/schedule_4a.blade.php | suchetatamli/expenditure | b6cef2d0a755a8d745b39e7a4c757a7351e64358 | [
"MIT"
] | null | null | null | @extends("crudbooster::admin_template")
@section("content")
<div class='panel panel-default'>
<div class='panel-heading'>Day to Day Accounts of Election Expenditure</div>
<div class='panel-body' style="padding:20px 0px 0px 0px">
<div class="print_area" id="print_area">
<table width="100%"... | 88.101852 | 628 | 0.653705 |
e429d61f20b647ac6a6c1d44b2cb14f78b159cff | 428 | swift | Swift | LstsKit/Sources/LstsServerKit/DB/Migrations/LstsItemMigration.swift | brightdigit/Lsts | a34aa45b0c5982ed8ec3fee54b0b96738735252f | [
"MIT"
] | null | null | null | LstsKit/Sources/LstsServerKit/DB/Migrations/LstsItemMigration.swift | brightdigit/Lsts | a34aa45b0c5982ed8ec3fee54b0b96738735252f | [
"MIT"
] | null | null | null | LstsKit/Sources/LstsServerKit/DB/Migrations/LstsItemMigration.swift | brightdigit/Lsts | a34aa45b0c5982ed8ec3fee54b0b96738735252f | [
"MIT"
] | null | null | null | import Fluent
import Vapor
import Foundation
struct LstsItemMigration: Migration {
func prepare(on database: Database) -> EventLoopFuture<Void> {
database.schema(LstsItemModel.schema)
.id()
.field("title", .string, .required)
.field("completedAt", .datetime)
.create()
}
func revert... | 23.777778 | 64 | 0.686916 |
af5d992a86bf67c9c6793ae77168210a537d0838 | 27,245 | py | Python | src/moles_esgf_tag_generation.py | cedadev/cci-vocabularies | 5474f3acc6bd59f94dac54c3894b648d4ae80cb7 | [
"BSD-3-Clause"
] | null | null | null | src/moles_esgf_tag_generation.py | cedadev/cci-vocabularies | 5474f3acc6bd59f94dac54c3894b648d4ae80cb7 | [
"BSD-3-Clause"
] | 6 | 2015-09-07T08:11:55.000Z | 2015-09-07T08:38:19.000Z | src/moles_esgf_tag_generation.py | cedadev/cci-vocabularies | 5474f3acc6bd59f94dac54c3894b648d4ae80cb7 | [
"BSD-3-Clause"
] | 3 | 2015-08-20T09:59:40.000Z | 2017-06-07T12:01:23.000Z | import json
import os
import time
from rdflib import ConjunctiveGraph
from rdflib.plugins.stores.sparqlstore import SPARQLStore
import netCDF4
DEPTH = 1000
VERBOSE = True
VERBOSE = False
USE_MAPPING = False
USE_MAPPING = True
SCHEMES = {}
NOT_FOUND = set()
NOT_FOUND_FULL = set()
FILE_DRS = None
FILE_CSV = None
... | 35.337224 | 102 | 0.597871 |
0dd835d14605201f20114e9a8ec1c2bbf8a443fd | 2,890 | cs | C# | SellIt_ASP/Models/Entities/Category.cs | Naoual35/SellIt | e77d055e5d346501a68a6851faa1beda0213bca2 | [
"MIT"
] | null | null | null | SellIt_ASP/Models/Entities/Category.cs | Naoual35/SellIt | e77d055e5d346501a68a6851faa1beda0213bca2 | [
"MIT"
] | null | null | null | SellIt_ASP/Models/Entities/Category.cs | Naoual35/SellIt | e77d055e5d346501a68a6851faa1beda0213bca2 | [
"MIT"
] | null | null | null | using NUnit.Framework;
using SellIt.Entities.ValidationEntities;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S... | 25.350877 | 139 | 0.533564 |
c8e1cbba0144147c6295b655a8a1b3a65a6a13f2 | 1,267 | swift | Swift | HackerRankMobile/FlightDetailsViewController.swift | Ares42/SlackerDank | d2481b93c2539b515436e78291f8960e16a083ef | [
"MIT"
] | 1 | 2017-04-06T02:48:09.000Z | 2017-04-06T02:48:09.000Z | HackerRankMobile/FlightDetailsViewController.swift | Ares42/SlackerDank | d2481b93c2539b515436e78291f8960e16a083ef | [
"MIT"
] | 2 | 2017-05-04T21:14:00.000Z | 2017-05-04T22:24:40.000Z | HackerRankMobile/FlightDetailsViewController.swift | Ares42/SlackerDank | d2481b93c2539b515436e78291f8960e16a083ef | [
"MIT"
] | null | null | null | //
// FlightDetailsViewController.swift
// HackerRankMobile
//
// Created by Luke Solomon on 9/13/17.
// Copyright © 2017 Solomon Stuff. All rights reserved.
//
import UIKit
class FlightDetailsViewController: UIViewController {
@IBOutlet weak var viewTitle: UILabel!
@IBOutlet weak var departureC... | 26.395833 | 106 | 0.691397 |
1ab2e67cd1ade54a57bea9dd0f3a14aa449e8ca5 | 2,150 | py | Python | khnovel-book-scraper.py | solomonxie/txtbook-scraper | 4670bfcbdb22de270ca35e55ff296a3b77197403 | [
"Apache-2.0"
] | null | null | null | khnovel-book-scraper.py | solomonxie/txtbook-scraper | 4670bfcbdb22de270ca35e55ff296a3b77197403 | [
"Apache-2.0"
] | null | null | null | khnovel-book-scraper.py | solomonxie/txtbook-scraper | 4670bfcbdb22de270ca35e55ff296a3b77197403 | [
"Apache-2.0"
] | null | null | null | #Python2
# coding:utf-8
import os
import time
import requests
from urlparse import urlparse
from bs4 import BeautifulSoup
def main():
book = Book('http://khnovel.com/243262-the-complete-robot.html')
#print book.book_url
book.fetch()
class Book:
def __init__(self, url):
self.book_url = url
... | 27.922078 | 102 | 0.56186 |
414ad4a05ef90f09f6cd14442d26d7f9e6788bb3 | 1,361 | css | CSS | css/tooltip.css | wholesome-sj/wholesome-sj.github.io | a270bd39c94031a08cd7f9443bcdf791718a6dfb | [
"MIT"
] | null | null | null | css/tooltip.css | wholesome-sj/wholesome-sj.github.io | a270bd39c94031a08cd7f9443bcdf791718a6dfb | [
"MIT"
] | 1 | 2019-04-03T09:41:45.000Z | 2019-04-03T12:45:07.000Z | css/tooltip.css | wholesome-sj/wholesome-sj.github.io | a270bd39c94031a08cd7f9443bcdf791718a6dfb | [
"MIT"
] | 3 | 2021-05-16T16:40:09.000Z | 2021-12-29T04:05:41.000Z | /* on Mobile, Invisible */
@media (max-width:768px) {
.tooltip {
display: none;
}
/* on Monitor, Visible */
}
@media(min-width:769px) {
.tooltip {
position: relative;
display: block;
}
.tooltip .tooltiptext {
width: 120px;
top: 150%;
left: 50%... | 20.313433 | 73 | 0.514328 |
8505a50c38ba49955befc77974087dd0c87107e0 | 1,347 | cs | C# | MonoKle/Input/Touch/IPinchAction.cs | Vectovox/MonoKle | 67e6ee25dffa9931049738914968a2d9a45dd216 | [
"MS-PL"
] | 2 | 2015-06-05T17:20:47.000Z | 2020-05-26T10:41:53.000Z | MonoKle/Input/Touch/IPinchAction.cs | Vectovox/MonoKle | 67e6ee25dffa9931049738914968a2d9a45dd216 | [
"MS-PL"
] | 8 | 2015-11-05T16:03:47.000Z | 2021-06-11T19:13:55.000Z | MonoKle/Input/Touch/IPinchAction.cs | Vectovox/MonoKle | 67e6ee25dffa9931049738914968a2d9a45dd216 | [
"MS-PL"
] | null | null | null | using System;
namespace MonoKle.Input.Touch
{
/// <summary>
/// Interface for a pinch action.
/// </summary>
public interface IPinchAction : ITouchAction
{
/// <summary>
/// Gets the screen coordinate of the action origin. Throws if <see cref="ITouchAction.IsTriggered"/> ... | 38.485714 | 143 | 0.584261 |
833c24fc402e9bd1307c04b4384525dd99fd9d33 | 1,458 | sh | Shell | 0.1/haproxy-monitor.sh | dmwpilot/docker-haproxy-letsencrypt | 6dbf5aa740586d6e6a7985d07f246af660c0583a | [
"MIT"
] | null | null | null | 0.1/haproxy-monitor.sh | dmwpilot/docker-haproxy-letsencrypt | 6dbf5aa740586d6e6a7985d07f246af660c0583a | [
"MIT"
] | null | null | null | 0.1/haproxy-monitor.sh | dmwpilot/docker-haproxy-letsencrypt | 6dbf5aa740586d6e6a7985d07f246af660c0583a | [
"MIT"
] | null | null | null | #!/bin/bash
# start haproxy and allow it to be restarted while making it appear to be in the foreground
# arguments are "haproxy" followed by the arguments to haproxy
# allows us to start something and restart it while keeping the monitor in the foreground
# SIGUSR1 is used as the signal to this process to restart hapr... | 20.828571 | 91 | 0.637174 |
690aad705000376a6d9cbad603aa32e7d9bbc4d8 | 1,005 | rb | Ruby | recipes/users.rb | kyriba/cookbook-gitlab | b58a965ffc0b9c50d6ca52315680dfb51d33bd71 | [
"MIT"
] | null | null | null | recipes/users.rb | kyriba/cookbook-gitlab | b58a965ffc0b9c50d6ca52315680dfb51d33bd71 | [
"MIT"
] | null | null | null | recipes/users.rb | kyriba/cookbook-gitlab | b58a965ffc0b9c50d6ca52315680dfb51d33bd71 | [
"MIT"
] | 1 | 2020-11-04T05:45:34.000Z | 2020-11-04T05:45:34.000Z | #
# Cookbook Name:: gitlab
# Recipe:: users
#
gitlab = node['gitlab']
# 3. System Users
## Create group for GitLab user
group gitlab['group'] do
gid gitlab['user_gid']
end
## Create user for Gitlab.
user gitlab['user'] do
comment "GitLab user"
home gitlab['home']
shell "/bin/bash"
uid gitlab['user_uid']
... | 24.512195 | 89 | 0.708458 |
ae9411a7bf3d55d5502793bf76ff20edc86645af | 321 | cs | C# | Code and Assets/21_FinishingGame/Engine/IGameLoopObject.cs | egges/csharpgames | b82344be12f3ce703ff2a16206ec4059e973397d | [
"MIT"
] | 35 | 2019-11-24T19:34:23.000Z | 2022-02-15T13:16:56.000Z | Code and Assets/21_FinishingGame/Engine/IGameLoopObject.cs | egges/csharpgames | b82344be12f3ce703ff2a16206ec4059e973397d | [
"MIT"
] | null | null | null | Code and Assets/21_FinishingGame/Engine/IGameLoopObject.cs | egges/csharpgames | b82344be12f3ce703ff2a16206ec4059e973397d | [
"MIT"
] | 13 | 2020-01-06T02:33:08.000Z | 2022-02-14T12:37:57.000Z | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Engine
{
public interface IGameLoopObject
{
void HandleInput(InputHelper inputHelper);
void Update(GameTime gameTime);
void Draw(GameTime gameTime, SpriteBatch spriteBatch);
void Reset();
}
... | 20.0625 | 62 | 0.694704 |
2d20e9f16941ccd7ef03aa4db7d7c6282f0dd4de | 700 | asm | Assembly | oeis/001/A001076.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/001/A001076.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/001/A001076.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A001076: Denominators of continued fraction convergents to sqrt(5).
; Submitted by Jamie Morken(s1)
; 0,1,4,17,72,305,1292,5473,23184,98209,416020,1762289,7465176,31622993,133957148,567451585,2403763488,10182505537,43133785636,182717648081,774004377960,3278735159921,13888945017644,58834515230497,249227005939632,10557... | 46.666667 | 501 | 0.84 |
3366a758240b2825452b29d25dac336f020ca31b | 5,596 | swift | Swift | Pods/Commander/Commander/ArgumentParser.swift | alexito4/Error-Handling-Script-Rust-Swift | 6570b279413cf58a86d63c64a2090503aa2c6cd0 | [
"MIT"
] | null | null | null | Pods/Commander/Commander/ArgumentParser.swift | alexito4/Error-Handling-Script-Rust-Swift | 6570b279413cf58a86d63c64a2090503aa2c6cd0 | [
"MIT"
] | null | null | null | Pods/Commander/Commander/ArgumentParser.swift | alexito4/Error-Handling-Script-Rust-Swift | 6570b279413cf58a86d63c64a2090503aa2c6cd0 | [
"MIT"
] | null | null | null | private enum Arg : CustomStringConvertible {
/// A positional argument
case Argument(String)
/// A boolean like option, `--version`, `--help`, `--no-clean`.
case Option(String)
/// A flag
case Flag(Set<Character>)
var description:String {
switch self {
case .Argument(let value):
return va... | 23.123967 | 109 | 0.59614 |
4382b90fb0086bf1ef2a30513aa6666ef35071a2 | 511 | ts | TypeScript | src/app/vinkort/vinkort-interface.ts | samuume/boefhuset | 02a4b889bac6c3171b66631fbde4beaac0c8a429 | [
"MIT"
] | null | null | null | src/app/vinkort/vinkort-interface.ts | samuume/boefhuset | 02a4b889bac6c3171b66631fbde4beaac0c8a429 | [
"MIT"
] | null | null | null | src/app/vinkort/vinkort-interface.ts | samuume/boefhuset | 02a4b889bac6c3171b66631fbde4beaac0c8a429 | [
"MIT"
] | null | null | null | /**
* Created by zongy on 05-03-2017.
*/
export interface IMousserende {
name: string,
country: string,
description: string,
price: number
}
export interface IHvidvin {
name: string,
country: string,
description: string,
glas: string,
price: number
}
export interface IRosevin {
name: string,
cou... | 16.483871 | 34 | 0.692759 |
dbf66845e2427e46155c30605ab03b241e2374a0 | 1,946 | swift | Swift | Sources/MetalExtensions/MTLVector.swift | Yalir/MetalExtensions | e3f07b02b380d0020b978eb494933d1b629fb32b | [
"MIT"
] | 2 | 2019-10-26T11:13:00.000Z | 2020-01-24T21:06:51.000Z | Sources/MetalExtensions/MTLVector.swift | Yalir/MetalExtensions | e3f07b02b380d0020b978eb494933d1b629fb32b | [
"MIT"
] | null | null | null | Sources/MetalExtensions/MTLVector.swift | Yalir/MetalExtensions | e3f07b02b380d0020b978eb494933d1b629fb32b | [
"MIT"
] | null | null | null | //
// MTLVector.swift
// MetalExtensions
//
// Created by Ceylo on 22/06/2019.
// Copyright © 2019-2021 Yalir. This code is licensed under MIT license (see LICENSE for details).
//
import CoreGraphics
import Metal
public struct MTLVector: Equatable {
public var dx: Int = 0
public var dy: Int = 0
publi... | 29.044776 | 99 | 0.569887 |
8f64bfc09fe0b4aa60d81a29fa33fdbdf0e05926 | 3,029 | asm | Assembly | Src/Container/32/main.asm | The-Cracker-Technology/hyperion | 4f005b6cdb197dc1ebed7e625139edaa5d975ae2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | Src/Container/32/main.asm | The-Cracker-Technology/hyperion | 4f005b6cdb197dc1ebed7e625139edaa5d975ae2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | Src/Container/32/main.asm | The-Cracker-Technology/hyperion | 4f005b6cdb197dc1ebed7e625139edaa5d975ae2 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ; Hyperion 32-Bit container.exe
include 'image_base.inc'
include 'main_prolog.inc' ;format PE ...
entry start
include '..\..\..\Fasm\INCLUDE\win32a.inc'
include 'hyperion.inc'
include 'createstrings.inc'
include 'pe.inc'
;automatically generated by hyperion cpp stub
include 'key_size.inc'
include 'infile_size.inc'
in... | 22.604478 | 59 | 0.742819 |
fa880fafc7cf99141dacb7894697df7d7d21d0a1 | 2,546 | cpp | C++ | src/cpp/sample/Aggregate.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 49 | 2017-04-01T00:41:14.000Z | 2022-03-23T09:03:28.000Z | src/cpp/sample/Aggregate.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 18 | 2017-04-29T22:46:35.000Z | 2022-02-26T18:33:47.000Z | src/cpp/sample/Aggregate.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 14 | 2017-05-01T12:33:20.000Z | 2021-10-01T07:16:26.000Z | #include <xt/XtAudio.hpp>
#include <chrono>
#include <thread>
#include <cstdint>
#include <cstring>
#include <iostream>
// Normally don't do I/O in the callback.
static void
OnXRun(Xt::Stream const& stream, int32_t index, void* user)
{ std::cout << "XRun on device " << index << ".\n"; }
static void
OnRunning(Xt::S... | 39.78125 | 94 | 0.706599 |
2fca08d434cb1f5ce98267d20aa70c75599047c6 | 2,471 | py | Python | deform_jinja2/__init__.py | DustyHarry/deform_jinja2 | 6a1fb1539e8b0accbd4a49ccfb78fb0b87a2f798 | [
"MIT"
] | null | null | null | deform_jinja2/__init__.py | DustyHarry/deform_jinja2 | 6a1fb1539e8b0accbd4a49ccfb78fb0b87a2f798 | [
"MIT"
] | null | null | null | deform_jinja2/__init__.py | DustyHarry/deform_jinja2 | 6a1fb1539e8b0accbd4a49ccfb78fb0b87a2f798 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Jinja2 templates for deform.
To use in Pyramid:
In your settings.ini::
# default:
# deform_jinja2.i18n.domain=deform
# One of:
deform_jinja2.template_search_path=deform_jinja2:templates
deform_jinja2.template_search_path=deform_jinja2:uni_templates
deform_jinja2.t... | 27.455556 | 84 | 0.696884 |
def1cb8974f75c385378d0ff26983df697aa8bbd | 3,295 | swift | Swift | Project/Controller/BaseTableController.swift | kevinsumios/KSiShuHui | 6a779a965aabc13f05d9e88073909331b88bd621 | [
"MIT"
] | null | null | null | Project/Controller/BaseTableController.swift | kevinsumios/KSiShuHui | 6a779a965aabc13f05d9e88073909331b88bd621 | [
"MIT"
] | null | null | null | Project/Controller/BaseTableController.swift | kevinsumios/KSiShuHui | 6a779a965aabc13f05d9e88073909331b88bd621 | [
"MIT"
] | null | null | null | //
// BaseTableController.swift
// Project
//
// Created by Kevin Sum on 11/7/2017.
// Copyright © 2017 Kevin iShuHui. All rights reserved.
//
import UIKit
import Alamofire
import MJRefresh
import SDWebImage
import SwiftyJSON
class BaseTableController: BaseViewController {
var data: [JSON] = []
var i... | 32.303922 | 105 | 0.514112 |
ddba9ffdfd2bd74e57a328d151dd6f8d34f3cb57 | 13,586 | java | Java | geode-core/src/distributedTest/java/org/apache/geode/cache30/DistributedNoAckRegionCCEDUnitTest.java | xiaoyuMo/geode | d4a94f38a80b1e587384dfabf6c52e07e9c1e17a | [
"Apache-2.0"
] | null | null | null | geode-core/src/distributedTest/java/org/apache/geode/cache30/DistributedNoAckRegionCCEDUnitTest.java | xiaoyuMo/geode | d4a94f38a80b1e587384dfabf6c52e07e9c1e17a | [
"Apache-2.0"
] | 4 | 2020-05-22T16:10:25.000Z | 2022-03-30T23:49:10.000Z | geode-core/src/distributedTest/java/org/apache/geode/cache30/DistributedNoAckRegionCCEDUnitTest.java | xiaoyuMo/geode | d4a94f38a80b1e587384dfabf6c52e07e9c1e17a | [
"Apache-2.0"
] | 1 | 2022-01-19T00:34:07.000Z | 2022-01-19T00:34:07.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | 35.288312 | 100 | 0.685632 |
66c115d773f57e02866bb21a4cf78541abd0a26d | 122,486 | css | CSS | public/assets/css/style.css | net2mulu/gc2013form | 7739d9f5579056963868794f97dda8d8eb0fd5b1 | [
"MIT"
] | null | null | null | public/assets/css/style.css | net2mulu/gc2013form | 7739d9f5579056963868794f97dda8d8eb0fd5b1 | [
"MIT"
] | null | null | null | public/assets/css/style.css | net2mulu/gc2013form | 7739d9f5579056963868794f97dda8d8eb0fd5b1 | [
"MIT"
] | null | null | null | /*
* Author: Subier mohamed
* URL: https://holathemes.com */
/* -------------------------------------------------------------- */
/* Default Colors
----------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* Typography
--------------------... | 20.417736 | 748 | 0.62021 |
06c04a638321ef98a7cf1045e4d758fd796979a4 | 1,328 | py | Python | insta/migrations/0003_auto_20201019_1326.py | Abzed/insta-clone | 6e655ad73bc52072e91f47224039b1317e4f5049 | [
"MIT"
] | null | null | null | insta/migrations/0003_auto_20201019_1326.py | Abzed/insta-clone | 6e655ad73bc52072e91f47224039b1317e4f5049 | [
"MIT"
] | null | null | null | insta/migrations/0003_auto_20201019_1326.py | Abzed/insta-clone | 6e655ad73bc52072e91f47224039b1317e4f5049 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.2 on 2020-10-19 10:26
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import insta.models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('inst... | 30.883721 | 137 | 0.612199 |