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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
de2a15c07dc866d194a10773fc99533810ec6a95 | 7,498 | kt | Kotlin | src/test/kotlin/com/github/gantsign/maven/doxia/sink/kotlin/content/FigureTest.kt | gantsign/doxia-sink-api-ktx | 4dd29fdf1d3128f960a848b3baa7465c5c5bfa89 | [
"Apache-2.0"
] | null | null | null | src/test/kotlin/com/github/gantsign/maven/doxia/sink/kotlin/content/FigureTest.kt | gantsign/doxia-sink-api-ktx | 4dd29fdf1d3128f960a848b3baa7465c5c5bfa89 | [
"Apache-2.0"
] | 214 | 2018-05-22T21:21:56.000Z | 2022-03-20T16:39:56.000Z | src/test/kotlin/com/github/gantsign/maven/doxia/sink/kotlin/content/FigureTest.kt | gantsign/doxia-sink-api-ktx | 4dd29fdf1d3128f960a848b3baa7465c5c5bfa89 | [
"Apache-2.0"
] | null | null | null | /*-
* #%L
* doxia-sink-api-ktx
* %%
* Copyright (C) 2018 GantSign Ltd.
* %%
* 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
*
* U... | 37.49 | 84 | 0.636703 |
7f49c4d3f75173cd24787ba3418f6037f4f3cccf | 129 | go | Go | programs/3-semantics+codegen/valid/structEquality.go | npereira97/golang-subset-compiler | 362284dc40e4a46216ac6a0f7437ff7db05e52d3 | [
"MIT"
] | null | null | null | programs/3-semantics+codegen/valid/structEquality.go | npereira97/golang-subset-compiler | 362284dc40e4a46216ac6a0f7437ff7db05e52d3 | [
"MIT"
] | null | null | null | programs/3-semantics+codegen/valid/structEquality.go | npereira97/golang-subset-compiler | 362284dc40e4a46216ac6a0f7437ff7db05e52d3 | [
"MIT"
] | null | null | null | //~truefalse
package kumquat;
func main() {
var a, b struct {
_ float64
f int
}
print(a == b)
a.f = 5;
print(a == b);
} | 10.75 | 18 | 0.550388 |
cb40538f50798dde08720acc56c3c1e2d59a2755 | 8,047 | go | Go | vendor/github.com/json-iterator/go/feature_reflect_map.go | Lin-Buo-Ren/go-fastdfs | ce1df04ef23a4360095421a02767476451e519f4 | [
"Unlicense"
] | 182 | 2017-08-24T18:35:47.000Z | 2022-02-27T05:38:59.000Z | vendor/github.com/json-iterator/go/feature_reflect_map.go | gaoluhua99/go-fastdfs | 89a42c5a09c1771c8b47a91c89a6a43727a90489 | [
"Unlicense"
] | 82 | 2017-10-16T05:05:58.000Z | 2019-12-12T14:48:55.000Z | vendor/github.com/json-iterator/go/feature_reflect_map.go | gaoluhua99/go-fastdfs | 89a42c5a09c1771c8b47a91c89a6a43727a90489 | [
"Unlicense"
] | 24 | 2017-11-22T13:06:56.000Z | 2022-01-14T21:33:53.000Z | package jsoniter
import (
"encoding"
"encoding/json"
"reflect"
"sort"
"strconv"
"unsafe"
)
func decoderOfMap(cfg *frozenConfig, prefix string, typ reflect.Type) ValDecoder {
decoder := decoderOfType(cfg, prefix+"[map]->", typ.Elem())
mapInterface := reflect.New(typ).Interface()
return &mapDecoder{typ, typ.Ke... | 30.831418 | 105 | 0.707469 |
61d8a8e6926899725e6f85981baa61eec3b39570 | 136 | css | CSS | frontend/src/app/components/expense/add/expense.add.component.css | LickIt/expense-tracker | 96e661ac8cdb8e960b253afe7572931ea66df1a5 | [
"MIT"
] | null | null | null | frontend/src/app/components/expense/add/expense.add.component.css | LickIt/expense-tracker | 96e661ac8cdb8e960b253afe7572931ea66df1a5 | [
"MIT"
] | 12 | 2018-08-09T07:19:06.000Z | 2021-04-01T18:58:41.000Z | frontend/src/app/components/expense/add/expense.add.component.css | LickIt/expense-tracker | 96e661ac8cdb8e960b253afe7572931ea66df1a5 | [
"MIT"
] | null | null | null | :host > form {
display: flex;
flex-flow: column;
max-width: var(--form-max-width);
}
.manage-categories {
padding: 0;
} | 15.111111 | 37 | 0.588235 |
74c0ae37c3be36fc52698541ce8e14cda32f2706 | 113,096 | js | JavaScript | 8-674202704808286dce63.js | sundicide/sundicide.github.io | dd9e67f1e59cb5e6dd6e625271b2458371a75873 | [
"Apache-2.0",
"MIT"
] | null | null | null | 8-674202704808286dce63.js | sundicide/sundicide.github.io | dd9e67f1e59cb5e6dd6e625271b2458371a75873 | [
"Apache-2.0",
"MIT"
] | null | null | null | 8-674202704808286dce63.js | sundicide/sundicide.github.io | dd9e67f1e59cb5e6dd6e625271b2458371a75873 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*! For license information please see 8-674202704808286dce63.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"+lvF":function(e,t,n){e.exports=n("VTer")("native-function-to-string",Function.toString)},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typ... | 37,698.666667 | 112,965 | 0.633197 |
1d2712f7127e072b65f6cd91f3378622d9d7b32e | 582 | kt | Kotlin | app/src/main/java/com/erezstudio/motionmonitor/util/BindingAdapter.kt | theazat/MotionMonitor | d28e12c498047491fb87de901dcb6d3e5dde6c8c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/erezstudio/motionmonitor/util/BindingAdapter.kt | theazat/MotionMonitor | d28e12c498047491fb87de901dcb6d3e5dde6c8c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/erezstudio/motionmonitor/util/BindingAdapter.kt | theazat/MotionMonitor | d28e12c498047491fb87de901dcb6d3e5dde6c8c | [
"Apache-2.0"
] | null | null | null | package com.erezstudio.motionmonitor.util
import android.view.View
import androidx.databinding.BindingAdapter
@BindingAdapter("app:visible")
fun View?.visible(value: Any?) = this?.run {
visibility = when {
value is List<*> && value.isNotEmpty() -> View.VISIBLE
value is String && value.isNotBlank(... | 34.235294 | 105 | 0.649485 |
12ce9bce03c06c93be649872d299877bed9f58cc | 660 | kt | Kotlin | src/main/kotlin/com/autonomousapps/internal/advice/filter/CompositeFilter.kt | vlsi/dependency-analysis-android-gradle-plugin | 6bec23b271067f38befff9dccc1be5c3ff3baf3b | [
"Apache-2.0"
] | 720 | 2019-10-29T16:04:50.000Z | 2022-03-31T14:45:45.000Z | src/main/kotlin/com/autonomousapps/internal/advice/filter/CompositeFilter.kt | vlsi/dependency-analysis-android-gradle-plugin | 6bec23b271067f38befff9dccc1be5c3ff3baf3b | [
"Apache-2.0"
] | 406 | 2019-12-16T08:14:50.000Z | 2022-03-31T20:58:25.000Z | src/main/kotlin/com/autonomousapps/internal/advice/filter/CompositeFilter.kt | vlsi/dependency-analysis-android-gradle-plugin | 6bec23b271067f38befff9dccc1be5c3ff3baf3b | [
"Apache-2.0"
] | 56 | 2019-12-23T11:47:11.000Z | 2022-03-31T06:10:30.000Z | package com.autonomousapps.internal.advice.filter
import com.autonomousapps.advice.HasDependency
import java.util.*
internal class CompositeFilter(
private val filters: Collection<DependencyFilter> = emptyList()
) : DependencyFilter {
fun copy(filter: DependencyFilter): CompositeFilter {
val filterSet = Link... | 30 | 80 | 0.75 |
ddd4dcdce9e7607e0c1c2caf3d8e1a3de2276e6b | 18,211 | go | Go | client/folder/folder_client.go | Foxtel-DnA/looker-go-sdk | 09f9b81558af370c80d0ecb0e2ded465b13009b8 | [
"MIT"
] | null | null | null | client/folder/folder_client.go | Foxtel-DnA/looker-go-sdk | 09f9b81558af370c80d0ecb0e2ded465b13009b8 | [
"MIT"
] | null | null | null | client/folder/folder_client.go | Foxtel-DnA/looker-go-sdk | 09f9b81558af370c80d0ecb0e2ded465b13009b8 | [
"MIT"
] | null | null | null | // Code generated by go-swagger; DO NOT EDIT.
package folder
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"github.com/go-openapi/runtime"
"github.com/go-openapi/strfmt"
)
// New creates a new folder API client... | 32.636201 | 168 | 0.679205 |
124d1c78047be5724b44f3029fd4a3ffd90dec7f | 874 | h | C | SDK/g100IO/MyHandler.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 6 | 2019-05-22T03:18:38.000Z | 2022-02-07T20:54:38.000Z | SDK/g100IO/MyHandler.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 1 | 2019-11-10T05:57:09.000Z | 2020-07-01T05:50:49.000Z | SDK/g100IO/MyHandler.h | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 9 | 2019-05-20T06:03:55.000Z | 2022-02-01T10:16:41.000Z | #pragma once
class MyHandler : public G100Handler {
public:
virtual int onHalt(
unsigned qid,
void * qdata,
G100Part * gp,
unsigned halt_bit,
unsigned halt_value
);
virtual void onAck(
unsigned qid,
void * qdata,
G100Part * gp
);
virtual void onComplete(
unsigned qid,
void * qd... | 11.810811 | 38 | 0.627002 |
d2ab1bf10bdc4a2cd755324b09d05997aa23ab02 | 10,848 | sql | SQL | RecipesDB.sql | jinwoo7/Recipes | 941f2ae8d2ab134c9ae80a4787ff6dc4bb53ef0c | [
"Xnet",
"X11"
] | null | null | null | RecipesDB.sql | jinwoo7/Recipes | 941f2ae8d2ab134c9ae80a4787ff6dc4bb53ef0c | [
"Xnet",
"X11"
] | null | null | null | RecipesDB.sql | jinwoo7/Recipes | 941f2ae8d2ab134c9ae80a4787ff6dc4bb53ef0c | [
"Xnet",
"X11"
] | null | null | null | # ---------------------------------------------------------------------------------------------------------------------
# SQL Script to Create and Populate the Recipe Table in the Recipes Database (RecipesDB)
# Created by Osman Balci
# ------------------------------------------------------------------------------------... | 142.736842 | 268 | 0.758942 |
4a3b2c3d7396f76d4f6f620598b19b7f97c8f4f0 | 414 | js | JavaScript | _/Chapter05/graphs/friend-recommendor/index.js | paullewallencom/javascript-978-1-7883-9855-8 | 2171436f77982e29e06bc2da7ecb65627443ae3c | [
"Apache-2.0"
] | 40 | 2018-01-29T10:17:28.000Z | 2021-11-08T13:13:11.000Z | _/Chapter05/graphs/friend-recommendor/index.js | paullewallencom/javascript-978-1-7883-9855-8 | 2171436f77982e29e06bc2da7ecb65627443ae3c | [
"Apache-2.0"
] | 5 | 2018-06-03T10:44:56.000Z | 2022-03-02T03:35:12.000Z | _/Chapter05/graphs/friend-recommendor/index.js | paullewallencom/javascript-978-1-7883-9855-8 | 2171436f77982e29e06bc2da7ecb65627443ae3c | [
"Apache-2.0"
] | 23 | 2018-01-31T08:44:38.000Z | 2021-08-19T06:34:52.000Z | var express = require('express');
var app = express();
var bodyParser = require('body-parser');
// suggestion endpoints
var suggestions = require('./routes/suggestions');
// middleware to parse the body of input requests
app.use(bodyParser.json());
// route middleware
app.use('/suggestions', suggestions);
// start ... | 24.352941 | 52 | 0.719807 |
b1abd9f0c59ef25b8c985a4499fd876a68488e5a | 2,114 | h | C | KCCKit/KCCKit/KCTextRubyAnnotation.h | wkrelease/KCCKit | 937844ca5c4988be39e642f696688cba2ea4e539 | [
"MIT"
] | null | null | null | KCCKit/KCCKit/KCTextRubyAnnotation.h | wkrelease/KCCKit | 937844ca5c4988be39e642f696688cba2ea4e539 | [
"MIT"
] | null | null | null | KCCKit/KCCKit/KCTextRubyAnnotation.h | wkrelease/KCCKit | 937844ca5c4988be39e642f696688cba2ea4e539 | [
"MIT"
] | null | null | null | //
// KCTextRubyAnnotation.h
// Jade
//
// Created by king on 16/6/7.
// Copyright © 2016年 KC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreText/CoreText.h>
/**
Wrapper for CTRubyAnnotationRef.
Example:
KCTextRubyAnnotation *ruby = [KCTextRubyAnnotation new];
ruby.textBefore = @... | 29.774648 | 99 | 0.751656 |
16ba187856a47b09a8c19387a9d33898c6233202 | 822 | h | C | lite/mnn/cv/mnn_fast_style_transfer.h | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | lite/mnn/cv/mnn_fast_style_transfer.h | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | lite/mnn/cv/mnn_fast_style_transfer.h | IgiArdiyanto/litehub | 54a43690d80e57f16bea1efc698e7d30f06b9d4f | [
"MIT"
] | null | null | null | //
// Created by DefTruth on 2021/11/29.
//
#ifndef LITE_AI_TOOLKIT_MNN_CV_MNN_FAST_STYLE_TRANSFER_H
#define LITE_AI_TOOLKIT_MNN_CV_MNN_FAST_STYLE_TRANSFER_H
#include "lite/mnn/core/mnn_core.h"
namespace mnncv
{
class LITE_EXPORTS MNNFastStyleTransfer : public BasicMNNHandler
{
public:
explicit MNNFastStyl... | 24.176471 | 98 | 0.729927 |
705d2b76e161df34364a18a8129a8786601cf7f1 | 796 | go | Go | sql/expression/common.go | sqle/sqle | ff31d6d3d0f9aacc9336c2f6aba2e64299d97e52 | [
"MIT"
] | 17 | 2017-02-26T18:55:31.000Z | 2020-09-02T19:37:43.000Z | sql/expression/common.go | sqle/sqle | ff31d6d3d0f9aacc9336c2f6aba2e64299d97e52 | [
"MIT"
] | 20 | 2017-02-24T11:48:48.000Z | 2018-02-06T15:08:26.000Z | sql/expression/common.go | sqle/sqle | ff31d6d3d0f9aacc9336c2f6aba2e64299d97e52 | [
"MIT"
] | 7 | 2017-02-24T10:54:08.000Z | 2018-09-08T04:09:41.000Z | package expression
import "gopkg.in/sqle/sqle.v0/sql"
type UnaryExpression struct {
Child sql.Expression
}
func (p UnaryExpression) Resolved() bool {
return p.Child.Resolved()
}
func (p UnaryExpression) IsNullable() bool {
return p.Child.IsNullable()
}
type BinaryExpression struct {
Left sql.Expression
Right... | 18.090909 | 51 | 0.711055 |
1fa9dcc124a73c2f1deeda2bce542873f280402f | 3,519 | html | HTML | CommonHtml/echarts/sichuang.html | doublEeVil/CommonCoding | 9ce87b614630e4adf36944f159f64f5f65fa46f2 | [
"MIT"
] | null | null | null | CommonHtml/echarts/sichuang.html | doublEeVil/CommonCoding | 9ce87b614630e4adf36944f159f64f5f65fa46f2 | [
"MIT"
] | 12 | 2020-03-04T22:44:19.000Z | 2021-12-14T21:24:15.000Z | CommonHtml/echarts/sichuang.html | doublEeVil/CommonCoding | 9ce87b614630e4adf36944f159f64f5f65fa46f2 | [
"MIT"
] | null | null | null | <html>
<head>
<title>中国地图数据</title>
<meta charset="utf-8">
<!-- <script src="js/jquery.min.js"></script> -->
<script src="js/echarts.min.js"></script>
<script src="js/province/sichuan.js"></script>
<style>#main {width:1000px; height: 1000px;margin: auto;}</style>
... | 39.1 | 92 | 0.29838 |
c47ed753796f19d9e4662ed8af0dcf7e43f40b88 | 12,773 | c | C | Benchmarks_with_Safety_Bugs/C/snort-2.9.13/src/src/dynamic-preprocessors/appid/appIdConfig.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | null | null | null | Benchmarks_with_Safety_Bugs/C/snort-2.9.13/src/src/dynamic-preprocessors/appid/appIdConfig.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | null | null | null | Benchmarks_with_Safety_Bugs/C/snort-2.9.13/src/src/dynamic-preprocessors/appid/appIdConfig.c | kupl/starlab-benchmarks | 1efc9efffad1b797f6a795da7e032041e230d900 | [
"MIT"
] | 2 | 2020-11-26T13:27:14.000Z | 2022-03-20T02:12:55.000Z | /*
** Copyright (C) 2014-2019 Cisco and/or its affiliates. All rights reserved.
** Copyright (C) 2005-2013 Sourcefire, Inc.
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License Version 2 as
** published by the Free Software Foundation. You m... | 34.803815 | 141 | 0.566194 |
0ba27d8da21a6613856435994bf7bf899fa3ad7e | 7,999 | js | JavaScript | src/editor/utils.js | eea/volto-slate-footnote | aa1bc5354a656b7122f7033de74a21671e7a3a82 | [
"MIT"
] | 2 | 2020-09-05T05:19:29.000Z | 2020-09-17T09:58:38.000Z | src/editor/utils.js | eea/volto-slate-footnote | aa1bc5354a656b7122f7033de74a21671e7a3a82 | [
"MIT"
] | 2 | 2021-08-09T13:33:32.000Z | 2021-09-07T18:18:02.000Z | src/editor/utils.js | eea/volto-slate-footnote | aa1bc5354a656b7122f7033de74a21671e7a3a82 | [
"MIT"
] | null | null | null | import config from '@plone/volto/registry';
import { Node } from 'slate';
import { getAllBlocks } from 'volto-slate/utils';
/**
* remove <?xml version="1.0"?> from the string
* @param {*} footnote - xml format
* @returns string
*/
export const makeFootnote = (footnote) => {
const free = footnote ? footnote.repla... | 35.709821 | 124 | 0.635329 |
5cc8d3032ea999d1f5d73605b1e3928a1a7a1dd5 | 301 | css | CSS | dist/devon-main-content/sections/video-app/component.css | lugutier/devonfw-web-fork | 1fdef4bf96ccd878ac50797d78547d4639d73f65 | [
"Apache-2.0"
] | null | null | null | dist/devon-main-content/sections/video-app/component.css | lugutier/devonfw-web-fork | 1fdef4bf96ccd878ac50797d78547d4639d73f65 | [
"Apache-2.0"
] | null | null | null | dist/devon-main-content/sections/video-app/component.css | lugutier/devonfw-web-fork | 1fdef4bf96ccd878ac50797d78547d4639d73f65 | [
"Apache-2.0"
] | null | null | null | .cut-bl {
position: relative;
}
.cut-bl::before{
content: '';
position: absolute;
left: 0%;
bottom: 0%;
width: 0;
height: 0;
border-right: 8em solid transparent !important;
border-bottom: 8em solid var(--main-theme-color);
clear: both;
clip: rect(auto);
}
| 17.705882 | 53 | 0.58804 |
85794795aa6f4e52a09ba39ae7b968f25b163308 | 4,233 | js | JavaScript | client/public/scripts/map_controller.js | nickperez1285/foodtruck | ff01a2c983e3d2a496fb2b2317683146eaea2932 | [
"MIT"
] | null | null | null | client/public/scripts/map_controller.js | nickperez1285/foodtruck | ff01a2c983e3d2a496fb2b2317683146eaea2932 | [
"MIT"
] | null | null | null | client/public/scripts/map_controller.js | nickperez1285/foodtruck | ff01a2c983e3d2a496fb2b2317683146eaea2932 | [
"MIT"
] | null | null | null | 'use strict';
app.controller('MapCtrl', ['MarkerFactory', 'TruckFactory', '$scope', function(MarkerFactory, TruckFactory, $scope) {
$scope.$parent.$watch("trucks", function(newValue, oldValue) {
// alert($scope.$parent.trucks.length);
// $scope.map.markers.length = 0;
// alert($scope.$pare... | 34.983471 | 117 | 0.481691 |
194a8c0ecda173b68a6647f1b419923b4a57835a | 5,396 | swift | Swift | CoinTicker/Source/Exchanges/BitstampExchange.swift | CoinTicker/CoinTicker | c68e64ed93297e72d29fd05170937ab6db69f380 | [
"MIT"
] | 2 | 2018-06-12T09:17:48.000Z | 2020-02-13T17:14:00.000Z | CoinTicker/Source/Exchanges/BitstampExchange.swift | CoinTicker/CoinTicker | c68e64ed93297e72d29fd05170937ab6db69f380 | [
"MIT"
] | null | null | null | CoinTicker/Source/Exchanges/BitstampExchange.swift | CoinTicker/CoinTicker | c68e64ed93297e72d29fd05170937ab6db69f380 | [
"MIT"
] | 1 | 2020-12-10T00:05:32.000Z | 2020-12-10T00:05:32.000Z | //
// BitstampExchange.swift
// CoinTicker
//
// Created by Alec Ananian on 5/30/17.
// Copyright © 2017 Alec Ananian.
//
// 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 res... | 43.168 | 158 | 0.56338 |
de48dd21f4714f08feaab97eed742b56a30fe022 | 1,016 | kt | Kotlin | alphonse-validator-lib/src/main/java/com/atthapon/alphonsevalidator/rules/GreaterThanRule.kt | atthapon-k/validrator | 84bd5c99e21dfb002b2994fec4b7278ed5f231f0 | [
"Apache-2.0"
] | null | null | null | alphonse-validator-lib/src/main/java/com/atthapon/alphonsevalidator/rules/GreaterThanRule.kt | atthapon-k/validrator | 84bd5c99e21dfb002b2994fec4b7278ed5f231f0 | [
"Apache-2.0"
] | null | null | null | alphonse-validator-lib/src/main/java/com/atthapon/alphonsevalidator/rules/GreaterThanRule.kt | atthapon-k/validrator | 84bd5c99e21dfb002b2994fec4b7278ed5f231f0 | [
"Apache-2.0"
] | null | null | null | package com.atthapon.alphonsevalidator.rules
import com.atthapon.alphonsevalidator.validNumber
import java.text.NumberFormat
class GreaterThanRule(val target: Number = 0, var errorMsg: String? = null): BaseRule {
override fun validate(text: String): Boolean {
if(text.isEmpty()) return false
if(tex... | 32.774194 | 87 | 0.584646 |
0b3963c63ed1877c12683ef9458a7f962df91e0e | 3,243 | py | Python | finder.py | giuseppebrb/Pynder | a47defc08ff497096a1fe507ab5d7b01997b69ef | [
"MIT"
] | 3 | 2017-11-11T01:19:57.000Z | 2021-07-07T15:44:32.000Z | finder.py | giuseppebrb/Pynder | a47defc08ff497096a1fe507ab5d7b01997b69ef | [
"MIT"
] | null | null | null | finder.py | giuseppebrb/Pynder | a47defc08ff497096a1fe507ab5d7b01997b69ef | [
"MIT"
] | null | null | null | import os
import fnmatch
import smtplib
import email.mime.application
import sys
import subprocess
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from pathlib import Path
home = str(Path.home()) # Return a string representing the user’s home directory
fileFound = 0 # Number of f... | 35.25 | 120 | 0.716929 |
184adf88f632554407d21d5a2883dc05fa12e3c5 | 76 | css | CSS | src/css/general.css | Carofif/dashboardaideenligneaffixe | 983d98b34348d93b46b2114d4c2eb2a1bf8760a0 | [
"OLDAP-2.6",
"OLDAP-2.3"
] | null | null | null | src/css/general.css | Carofif/dashboardaideenligneaffixe | 983d98b34348d93b46b2114d4c2eb2a1bf8760a0 | [
"OLDAP-2.6",
"OLDAP-2.3"
] | 2 | 2021-03-09T20:05:07.000Z | 2021-10-06T05:42:25.000Z | src/css/general.css | Carofif/dashboardaideenligneaffixe | 983d98b34348d93b46b2114d4c2eb2a1bf8760a0 | [
"OLDAP-2.6",
"OLDAP-2.3"
] | null | null | null | .m-10{
margin: 10px !important;
}
.ml {
margin-left: 30px !important;
}
| 10.857143 | 31 | 0.618421 |
b89261ad21e63b306d07281ec959ca71146f98bd | 2,322 | html | HTML | client/404.html | Debug-Studios/Laparwah | 29702cfcc3bcdc82a45faa0ba678ae30cce3d959 | [
"Apache-2.0"
] | 5 | 2018-04-18T17:10:23.000Z | 2020-02-14T09:24:55.000Z | client/404.html | Debug-Studios/Laparwah | 29702cfcc3bcdc82a45faa0ba678ae30cce3d959 | [
"Apache-2.0"
] | 30 | 2018-04-19T05:53:23.000Z | 2018-05-06T20:02:32.000Z | client/404.html | Debug-Studios/Laparwah | 29702cfcc3bcdc82a45faa0ba678ae30cce3d959 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Vue</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Megrim" rel="stylesheet">
<link href="https://... | 27.642857 | 152 | 0.517657 |
0b9e17c3c6711c5899263cca3e86df88aba125ad | 13,497 | py | Python | src/warp/yul/AstTools.py | sambarnes/warp | f841afa22e665d5554587eaa866c4790698bfc22 | [
"Apache-2.0"
] | 414 | 2021-07-17T13:06:55.000Z | 2022-03-31T14:57:10.000Z | src/warp/yul/AstTools.py | sambarnes/warp | f841afa22e665d5554587eaa866c4790698bfc22 | [
"Apache-2.0"
] | 78 | 2021-07-19T12:33:56.000Z | 2022-03-29T17:16:27.000Z | src/warp/yul/AstTools.py | sambarnes/warp | f841afa22e665d5554587eaa866c4790698bfc22 | [
"Apache-2.0"
] | 19 | 2021-08-18T03:55:54.000Z | 2022-03-29T15:29:48.000Z | from __future__ import annotations
import re
from typing import Union
import warp.yul.ast as ast
from warp.yul.AstVisitor import AstVisitor
from warp.yul.WarpException import WarpException
class AstParser:
def __init__(self, text: str):
self.lines = text.splitlines()
if len(self.lines) == 0:
... | 32.601449 | 88 | 0.572127 |
11d14d5ef56fbe195d22156a7b3934d5f1864855 | 949 | html | HTML | manuscript/page-696/body.html | marvindanig/the-mysteries-of-udolpho | 5a143f37e9daf1f112c0c9df7190998a5683b4b6 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-696/body.html | marvindanig/the-mysteries-of-udolpho | 5a143f37e9daf1f112c0c9df7190998a5683b4b6 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-696/body.html | marvindanig/the-mysteries-of-udolpho | 5a143f37e9daf1f112c0c9df7190998a5683b4b6 | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">way out.”</p><p>“Certainly: but I wish first to examine the picture; take the light, Annette, while I lift the veil.” Annette took the light, and immediately walked away with it, disregarding Emily’s call to stay, who, not choosing to be left alon... | 949 | 949 | 0.75764 |
c426383281f4b909271117a98dbd789ba2db8087 | 2,030 | h | C | src/base/allocator/partition_allocator/partition_cookie.h | Chilledheart/naiveproxy | 9d28da89b325a90d33add830f4202c8b17c7c3e3 | [
"BSD-3-Clause"
] | null | null | null | src/base/allocator/partition_allocator/partition_cookie.h | Chilledheart/naiveproxy | 9d28da89b325a90d33add830f4202c8b17c7c3e3 | [
"BSD-3-Clause"
] | null | null | null | src/base/allocator/partition_allocator/partition_cookie.h | Chilledheart/naiveproxy | 9d28da89b325a90d33add830f4202c8b17c7c3e3 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_COOKIE_H_
#define BASE_ALLOCATOR_PARTITION_ALLOCATOR_PARTITION_COOKIE_H_
#include "base/allocato... | 32.741935 | 74 | 0.783251 |
de3d3a3942ce01d08cee2786421f122698795730 | 2,723 | rs | Rust | crypto-ws-client/src/clients/kucoin/kucoin_spot.rs | CPT-Jack-A-Castle/crypto-crawler-rs | e7b8a2d51989e69779c69e3e7755351fe5fcb3bb | [
"Apache-2.0"
] | null | null | null | crypto-ws-client/src/clients/kucoin/kucoin_spot.rs | CPT-Jack-A-Castle/crypto-crawler-rs | e7b8a2d51989e69779c69e3e7755351fe5fcb3bb | [
"Apache-2.0"
] | null | null | null | crypto-ws-client/src/clients/kucoin/kucoin_spot.rs | CPT-Jack-A-Castle/crypto-crawler-rs | e7b8a2d51989e69779c69e3e7755351fe5fcb3bb | [
"Apache-2.0"
] | null | null | null | use crate::{Level3OrderBook, WSClient};
use std::sync::{Arc, Mutex};
use super::super::ws_client_internal::WSClientInternal;
use super::super::{Candlestick, OrderBook, OrderBookSnapshot, Ticker, Trade, BBO};
use super::utils::{
channels_to_commands, fetch_ws_token, on_misc_msg, to_raw_channel, WebsocketToken,
... | 32.807229 | 131 | 0.668748 |
75e83db7383835ce0d29e29a88b9fa6de4722789 | 1,331 | rs | Rust | src/create.rs | PLSysSec/rlbox_wasmtime_sandbox | 32592d77d4918a275d3ce32faf3e3ee41e3759be | [
"MIT"
] | null | null | null | src/create.rs | PLSysSec/rlbox_wasmtime_sandbox | 32592d77d4918a275d3ce32faf3e3ee41e3759be | [
"MIT"
] | null | null | null | src/create.rs | PLSysSec/rlbox_wasmtime_sandbox | 32592d77d4918a275d3ce32faf3e3ee41e3759be | [
"MIT"
] | 1 | 2021-03-22T20:26:55.000Z | 2021-03-22T20:26:55.000Z | use crate::types::WasmtimeSandboxInstance;
use wasmtime::*;
use wasmtime_wasi::Wasi;
use wasi_cap_std_sync::WasiCtxBuilder;
use std::ffi::{c_void, CStr};
use std::os::raw::c_char;
#[no_mangle]
pub extern "C" fn wasmtime_load_module(wasmtime_module_path: *const c_char, _allow_stdio: bool) -> *mut c_void {
let mod... | 26.098039 | 112 | 0.621337 |
4c6a2817f94b0266f78b52062862399fd1044a41 | 4,631 | sql | SQL | Utility Scripts/Collation Different From Default.sql | SQLAdrian/MadeiraToolbox | 78cecd48cd655619da3e90b2d2f9fc998a065e11 | [
"MIT"
] | null | null | null | Utility Scripts/Collation Different From Default.sql | SQLAdrian/MadeiraToolbox | 78cecd48cd655619da3e90b2d2f9fc998a065e11 | [
"MIT"
] | null | null | null | Utility Scripts/Collation Different From Default.sql | SQLAdrian/MadeiraToolbox | 78cecd48cd655619da3e90b2d2f9fc998a065e11 | [
"MIT"
] | null | null | null | /*
Find databases and columns with collation different from the default
====================================================================
Author: Eitan Blumin
Date: 2022-01-19
Description:
This script outputs 2 resultsets:
1. List of all accessible databases, the database collation of each, and whether it's equal to... | 36.753968 | 149 | 0.73807 |
b7fdf0ff95ad9beed9e33d7a31a413328a744740 | 140 | kt | Kotlin | idea/testData/quickfix/lateinit/withGetterSetter.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/quickfix/lateinit/withGetterSetter.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/quickfix/lateinit/withGetterSetter.kt | AndrewReitz/kotlin | ec6904afd15ba6f9aefafdfa8d5618aab25e334e | [
"ECL-2.0",
"Apache-2.0"
] | 54 | 2016-02-29T16:27:38.000Z | 2020-12-26T15:02:23.000Z | // "Remove getter and setter from property" "true"
class A {
<caret>lateinit var str: String
get() = ""
set(value) {}
} | 20 | 50 | 0.564286 |
32dc8228ceaf3486e9dfca2344e02f7a3d8af9df | 646 | sql | SQL | server_restapi/source/database/function/sp_accountToken_patch.sql | MohamedGamil/mortis | 9bf146fcd0423b4250efd179ee444d1e1b3d3266 | [
"MIT"
] | 19 | 2017-03-02T00:40:24.000Z | 2019-12-05T12:14:01.000Z | server_restapi/source/database/function/sp_accountToken_patch.sql | MohamedGamil/mortis | 9bf146fcd0423b4250efd179ee444d1e1b3d3266 | [
"MIT"
] | 1 | 2017-08-28T23:49:42.000Z | 2017-09-04T17:16:46.000Z | server_restapi/source/database/function/sp_accountToken_patch.sql | MohamedGamil/mortis | 9bf146fcd0423b4250efd179ee444d1e1b3d3266 | [
"MIT"
] | 11 | 2017-03-14T16:55:26.000Z | 2021-12-16T08:58:53.000Z |
-- clean up
DROP PROCEDURE IF EXISTS sp_accountToken_patch;
-- go
CREATE PROCEDURE sp_accountToken_patch
(
p_accountTokenId BIGINT
, p_accountId BIGINT
, p_token VARCHAR(1024)
)
this_proc:BEGIN
UPDATE accountToken
SET
accountId = p_accountId
, token ... | 17.459459 | 47 | 0.595975 |
85c0a4e2b7b0770a54c1938dd16d94abe4c56075 | 5,744 | rs | Rust | rsx/parser/src/util/token_iterator.rs | JosephLenton/RenderX | 88d50c5f43925bed67e44ca99a8d5241e419a4bd | [
"MIT"
] | null | null | null | rsx/parser/src/util/token_iterator.rs | JosephLenton/RenderX | 88d50c5f43925bed67e44ca99a8d5241e419a4bd | [
"MIT"
] | null | null | null | rsx/parser/src/util/token_iterator.rs | JosephLenton/RenderX | 88d50c5f43925bed67e44ca99a8d5241e419a4bd | [
"MIT"
] | null | null | null | use ::lookahead::lookahead;
use ::lookahead::Lookahead;
use ::proc_macro2::Delimiter;
use ::proc_macro2::Group;
use ::proc_macro2::Ident;
use ::proc_macro2::TokenStream;
use ::proc_macro2::TokenTree;
use ::std::fmt::Debug;
use ::std::iter::FromIterator;
use ::std::iter::Iterator;
pub enum TokenIteratorError {
Chom... | 25.873874 | 98 | 0.543872 |
99690134aa108bf2dbfe7471a7ec0161b3aac27f | 1,612 | h | C | System/Library/PrivateFrameworks/SafariShared.framework/WBSContentBlockerStatisticsSQLiteStore.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | 1 | 2020-11-04T15:43:01.000Z | 2020-11-04T15:43:01.000Z | System/Library/PrivateFrameworks/SafariShared.framework/WBSContentBlockerStatisticsSQLiteStore.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/SafariShared.framework/WBSContentBlockerStatisticsSQLiteStore.h | zhangkn/iOS14Header | 4323e9459ed6f6f5504ecbea2710bfd6c3d7c946 | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:57 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/SafariShared.framework/SafariShared
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ... | 37.488372 | 117 | 0.794665 |
722588b3fd5730a7d7c7092532b0d63a4f596079 | 41,688 | rs | Rust | vm/src/pyobject.rs | liranringel/RustPython | 9888d27e6125824b10821e920be5bf3666230e1a | [
"MIT"
] | null | null | null | vm/src/pyobject.rs | liranringel/RustPython | 9888d27e6125824b10821e920be5bf3666230e1a | [
"MIT"
] | null | null | null | vm/src/pyobject.rs | liranringel/RustPython | 9888d27e6125824b10821e920be5bf3666230e1a | [
"MIT"
] | null | null | null | use std::any::Any;
use std::cell::Cell;
use std::cell::RefCell;
use std::collections::HashMap;
use std::fmt;
use std::marker::PhantomData;
use std::mem;
use std::ops::Deref;
use std::ptr;
use std::rc::Rc;
use num_bigint::BigInt;
use num_complex::Complex64;
use num_traits::{One, Zero};
use crate::bytecode;
use crate::... | 30.25254 | 99 | 0.602859 |
8588f984b1b727b0ea6fda6fc1ce7517944f16bc | 1,548 | js | JavaScript | jam/giftF.js | lmeysel/fa-compatible-icons | 0b4558bf35e3a3b7aad2772fdb4ae216c1f4eecd | [
"MIT"
] | null | null | null | jam/giftF.js | lmeysel/fa-compatible-icons | 0b4558bf35e3a3b7aad2772fdb4ae216c1f4eecd | [
"MIT"
] | null | null | null | jam/giftF.js | lmeysel/fa-compatible-icons | 0b4558bf35e3a3b7aad2772fdb4ae216c1f4eecd | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'jam';
var iconName = 'gift-f';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = null;
var svgPathData = 'M 106.44727 -0.078125 A 85.32 85.32 0 0 0 32.742188 127.98047 L 21.330078 127.98047 A 21.33 21.33 0 0 0 ... | 53.37931 | 968 | 0.717054 |
e766f83c86148c475ecb3c7b41486b7875f67fb6 | 58 | sql | SQL | Basic Select/Select-By-ID.sql | davyzhang3/HackerRank-SQL-Challenges-Solutions | 5500ac1c5aedf79959d93f2f73f2a8919f5b2b9a | [
"MIT"
] | null | null | null | Basic Select/Select-By-ID.sql | davyzhang3/HackerRank-SQL-Challenges-Solutions | 5500ac1c5aedf79959d93f2f73f2a8919f5b2b9a | [
"MIT"
] | null | null | null | Basic Select/Select-By-ID.sql | davyzhang3/HackerRank-SQL-Challenges-Solutions | 5500ac1c5aedf79959d93f2f73f2a8919f5b2b9a | [
"MIT"
] | null | null | null | # Author: Dawei Zhang
select *
from city
where ID=1661;
| 11.6 | 21 | 0.706897 |
fc416d5d7307bcea9be74b60173705145f84af1d | 1,340 | css | CSS | Bubbles Background/style.css | bilalsaad87/HTML-Projects | 165258c5a1d857b997f3e72f2d55822fea07d4c8 | [
"Apache-2.0"
] | null | null | null | Bubbles Background/style.css | bilalsaad87/HTML-Projects | 165258c5a1d857b997f3e72f2d55822fea07d4c8 | [
"Apache-2.0"
] | null | null | null | Bubbles Background/style.css | bilalsaad87/HTML-Projects | 165258c5a1d857b997f3e72f2d55822fea07d4c8 | [
"Apache-2.0"
] | null | null | null | @import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
* {
box-sizing: border-box;
}
body {
background: linear-gradient(#e66465, #9198e5);
font-family: 'Muli', sans-serif;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
... | 16.75 | 73 | 0.589552 |
9be22d98ace4356e919d72b1f3a27850307e90d0 | 3,044 | js | JavaScript | src/pages/project/components/List.js | xxdfly/kirin-devops-front | 690af7f7db5c3eafccbd9ae8ce06de42528951aa | [
"MIT"
] | null | null | null | src/pages/project/components/List.js | xxdfly/kirin-devops-front | 690af7f7db5c3eafccbd9ae8ce06de42528951aa | [
"MIT"
] | null | null | null | src/pages/project/components/List.js | xxdfly/kirin-devops-front | 690af7f7db5c3eafccbd9ae8ce06de42528951aa | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { Table, Modal, Divider } from 'antd'
import { Trans, withI18n } from '@lingui/react'
import Link from 'umi/link'
import styles from './List.less'
const { confirm } = Modal
@withI18n()
class List extends PureComponent {
handleMen... | 23.968504 | 87 | 0.528252 |
06179a6fc209bbc8d6e9c695675e65ecdae0c927 | 9,239 | sql | SQL | biblio_status_hist.sql | openbiblio/sample_data_1.0 | a372a6fb3ce649c62617de8c0a00db2f805c8f94 | [
"CC0-1.0"
] | null | null | null | biblio_status_hist.sql | openbiblio/sample_data_1.0 | a372a6fb3ce649c62617de8c0a00db2f805c8f94 | [
"CC0-1.0"
] | 1 | 2018-03-06T20:31:00.000Z | 2018-03-06T20:31:00.000Z | biblio_status_hist.sql | openbiblio/sample_data_1.0 | a372a6fb3ce649c62617de8c0a00db2f805c8f94 | [
"CC0-1.0"
] | null | null | null | INSERT INTO `biblio_status_hist` (`histid`, `bibid`, `copyid`, `status_cd`, `status_begin_dt`) VALUES (178,1471,73,'in','2016-03-26 15:34:58'),(578,1479,294,'in','2015-03-02 13:49:33'),(577,1473,341,'in','2014-12-11 14:23:59'),(576,1429,253,'in','2016-03-15 08:04:06'),(575,1469,286,'in','2015-06-22 09:01:18'),(574,1473... | 4,619.5 | 9,238 | 0.626366 |
0c03c5af5655c8c1bd5fd21a16df3017ebc2783f | 26,117 | asm | Assembly | Appl/Games/Uki/uki.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/Games/Uki/uki.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/Games/Uki/uki.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PROJECT: Practice Project
MODULE: Uki program
FILE: uki.asm
Author Jimmy Lefkowitz, January 14, 1991
$Id: uki.asm,v 1.1 97/04/04 15:47:09 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
UkiCod... | 21.113177 | 78 | 0.565455 |
3e3c6cf98bb1372dd9dba4e36e098c7b492951ef | 209 | h | C | KeHai/Views/SpeakHomeWorkFireCell.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | KeHai/Views/SpeakHomeWorkFireCell.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | KeHai/Views/SpeakHomeWorkFireCell.h | chengaojian/KH2016 | 1cc61d2d0726c0acae6896969338fb36bf5ebd9c | [
"Apache-2.0"
] | null | null | null | //
// SpeakHomeWorkFireCell.h
// KeHai
//
// Created by 三海 on 16/10/25.
// Copyright © 2016年 陈高健. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SpeakHomeWorkFireCell : UITableViewCell
@end
| 14.928571 | 50 | 0.69378 |
b64decab5c2a8b7c52a3136848a3d803dddb4ea7 | 767 | rb | Ruby | lib/rubymq/condition.rb | senotrusov/rubymq | 473921ff9c7a6c995b708d28ddea3496e63bdf7e | [
"Apache-2.0"
] | 1 | 2016-05-09T13:36:45.000Z | 2016-05-09T13:36:45.000Z | lib/rubymq/condition.rb | senotrusov/rubymq | 473921ff9c7a6c995b708d28ddea3496e63bdf7e | [
"Apache-2.0"
] | null | null | null | lib/rubymq/condition.rb | senotrusov/rubymq | 473921ff9c7a6c995b708d28ddea3496e63bdf7e | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2006-2008 Stanislav Senotrusov <senotrusov@gmail.com>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless req... | 30.68 | 75 | 0.736636 |
0584348daa8d21515daade9f1d28ba26f5567f12 | 309 | rb | Ruby | db/migrate/20190813015746_create_join_table_org_members.rb | ServiceInnovationLab/feijoa | d95092d33b68cf4936b2958db3c662093091675d | [
"MIT"
] | 3 | 2019-06-10T21:02:40.000Z | 2020-01-10T02:45:13.000Z | db/migrate/20190813015746_create_join_table_org_members.rb | ServiceInnovationLab/feijoa | d95092d33b68cf4936b2958db3c662093091675d | [
"MIT"
] | 157 | 2019-06-04T03:56:43.000Z | 2020-06-11T15:04:25.000Z | db/migrate/20190813015746_create_join_table_org_members.rb | ServiceInnovationLab/feijoa | d95092d33b68cf4936b2958db3c662093091675d | [
"MIT"
] | 1 | 2021-04-30T04:18:10.000Z | 2021-04-30T04:18:10.000Z | class CreateJoinTableOrgMembers < ActiveRecord::Migration[5.2]
def change
create_table :organisation_members do |t|
t.references :user, index: true, foreign_key: true, null: false
t.references :organisation, index: true, foreign_key: true, null: false
t.string :role
end
end
end
| 30.9 | 77 | 0.71521 |
8e05d5d48dea580fee0f329061f450d842fb4740 | 2,107 | lua | Lua | HW3/src/checkModel.lua | SeeTheC/Computer-Vision-CS763 | d333c90e5aa939135b66a588424b2ba494543ac5 | [
"MIT"
] | null | null | null | HW3/src/checkModel.lua | SeeTheC/Computer-Vision-CS763 | d333c90e5aa939135b66a588424b2ba494543ac5 | [
"MIT"
] | null | null | null | HW3/src/checkModel.lua | SeeTheC/Computer-Vision-CS763 | d333c90e5aa939135b66a588424b2ba494543ac5 | [
"MIT"
] | null | null | null | require "xlua"
require "Logger"
require "Linear"
require "ReLU"
require "BatchNormalization"
-- require "SpatialConvolution"
require "Model"
require "Criterion"
require "GradientDescent"
local cmd = torch.CmdLine();
if not opt then
cmd:text()
cmd:text('Options:')
cmd:option("-config" ,"modelConfig_1.txt" ,... | 24.788235 | 73 | 0.639298 |
649578207b70992bf79859981f231330866c443c | 7,492 | rs | Rust | src/lib.rs | politinsa/ndarray-unit | 6b47e5117176550d4ace0fc1854d8ee9badcd307 | [
"Apache-2.0",
"MIT"
] | 4 | 2019-12-02T19:12:16.000Z | 2020-01-16T21:31:36.000Z | src/lib.rs | politinsa/ndarray-unit | 6b47e5117176550d4ace0fc1854d8ee9badcd307 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | politinsa/ndarray-unit | 6b47e5117176550d4ace0fc1854d8ee9badcd307 | [
"Apache-2.0",
"MIT"
] | 1 | 2019-12-04T00:57:30.000Z | 2019-12-04T00:57:30.000Z | //! This crate provides a struct representing a [multidimensionnal array](https://docs.rs/ndarray/) together with a `Unit`.
//! It allows to do computations taking into account the unit of your n-dimensional array.
//!
//! # Examples
//!
//! ```
//! use ndarray_unit::*;
//!
//! extern crate ndarray;
//! use ndarray::... | 29.496063 | 125 | 0.509744 |
0aced2f994c95e404f292dc9af5ccdb40cb09cbb | 454 | asm | Assembly | oeis/182/A182212.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/182/A182212.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/182/A182212.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A182212: Floor(n! / Fibonacci(n)).
; Submitted by Jon Maiga
; 1,2,3,8,24,90,387,1920,10672,65978,448503,3326400,26725411,231242151,2143728472,21198368680,222722246772,2477698802526,29094738198716,359630747697951,4667544506825273,63463425429259086,902118740233973431,13380961044971520000
add $0,1
mov $1,1
mov $2,$0
se... | 30.266667 | 226 | 0.722467 |
c014969070a67cfef04601eaec99cfbe8610a328 | 1,191 | sql | SQL | gpff-sql/procedures/splfile/procCreateSplfile.sql | jestevez/portfolio-trusts-funds | 0ec2e8431587209f7b59b55b3692ec24a84a8b78 | [
"Apache-2.0"
] | 1 | 2019-07-02T10:01:31.000Z | 2019-07-02T10:01:31.000Z | gpff-sql/procedures/splfile/procCreateSplfile.sql | jestevez/portfolio-trusts-funds | 0ec2e8431587209f7b59b55b3692ec24a84a8b78 | [
"Apache-2.0"
] | null | null | null | gpff-sql/procedures/splfile/procCreateSplfile.sql | jestevez/portfolio-trusts-funds | 0ec2e8431587209f7b59b55b3692ec24a84a8b78 | [
"Apache-2.0"
] | 1 | 2021-04-21T18:52:59.000Z | 2021-04-21T18:52:59.000Z |
--DROP PROCEDURE GPSQLWEB.procCreateSplfile
CREATE PROCEDURE GPSQLWEB.procCreateSplfile
(
IN P_SPLDATA BLOB,
IN P_SPLNAME VARCHAR(255),
IN P_SPLMIME VARCHAR(100),
IN P_SPLDATE TIMESTAMP,
IN P_SPLTYPE VARCHAR(2),
IN P_SPLUSER VARCHAR(10),
IN P_SPLSTATUS VARCHAR(2),
IN P_USERNAME VARCHAR(50),
IN P... | 37.21875 | 336 | 0.702771 |
ead39135c1a75a50702b69d5435c79b226364a21 | 459 | sql | SQL | qiita_db/support_files/patches/67.sql | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | 96 | 2015-01-10T23:40:03.000Z | 2021-01-04T09:07:16.000Z | qiita_db/support_files/patches/67.sql | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | 2,304 | 2015-01-01T17:46:14.000Z | 2021-01-07T02:38:52.000Z | qiita_db/support_files/patches/67.sql | smruthi98/qiita | 8514d316670919e074a927226f985b56dba815f6 | [
"BSD-3-Clause"
] | 68 | 2015-02-18T21:42:31.000Z | 2020-12-01T19:08:57.000Z | -- October 6, 2018
-- add post_processing_cmd column to record additional information required to merge some BIOMS.
ALTER TABLE qiita.software_command ADD post_processing_cmd varchar;
COMMENT ON COLUMN qiita.software_command.post_processing_cmd IS 'Store information on additional post-processing steps for merged BIOMs... | 38.25 | 146 | 0.819172 |
e718b44c7f6cd7284379998ff2f585f9596eddc7 | 1,153 | js | JavaScript | js/file-uploader.js | massimo-cassandro/file-uploader2 | b500dab230a8a571efff0f216f8561fd4303c9ab | [
"MIT"
] | 1 | 2020-01-22T11:24:28.000Z | 2020-01-22T11:24:28.000Z | js/file-uploader.js | massimo-cassandro/file-uploader2 | b500dab230a8a571efff0f216f8561fd4303c9ab | [
"MIT"
] | 22 | 2020-09-12T14:48:52.000Z | 2022-02-26T02:03:54.000Z | js/file-uploader.js | massimo-cassandro/file-uploader2 | b500dab230a8a571efff0f216f8561fd4303c9ab | [
"MIT"
] | 2 | 2020-01-22T11:24:35.000Z | 2020-08-14T14:34:40.000Z | /*!@preserve
*
* FileUploader 2
* HTML5 / JS Async Uploader
* Massimo Cassandro 2017-2021
*
*/
import fupl_strings_it from './i18n/it.js';
import {default_options} from './src/default-options.js';
import {fupl_init} from './src/init.js';
export default function FileUploader( params ) {
/*
params obj => {
... | 25.622222 | 86 | 0.608846 |
5b5a332271df83910e86a93ae8c7ff3f065d63d8 | 524 | h | C | ch13/ex13_04.h | RisaStenr/Cpp-Primer | ca95db39f45bb2c6ebd62662548dd6a1d78a7fdf | [
"CC0-1.0"
] | null | null | null | ch13/ex13_04.h | RisaStenr/Cpp-Primer | ca95db39f45bb2c6ebd62662548dd6a1d78a7fdf | [
"CC0-1.0"
] | null | null | null | ch13/ex13_04.h | RisaStenr/Cpp-Primer | ca95db39f45bb2c6ebd62662548dd6a1d78a7fdf | [
"CC0-1.0"
] | null | null | null | /*
13.4: Assuming Point is a class type with a public copy constructor,
identify each use of the copy constructor in this program fragment:
Point global;
Point foo_bar(Point arg)
{
Point local = arg, *heap = new Point(global);
*heap = local;
Point pa [ 4 ] = { local, *heap };
return *heap;
}
13.4: There are 5 us... | 22.782609 | 69 | 0.660305 |
5cf509d565961b738a6a8e9fcc94622485bc7676 | 1,099 | css | CSS | modules/core/client/css/core.css | goodsonwebdesign/goodsonconsulting | 400d575dd49862e16b3a16cd5dccf63132cd977f | [
"MIT"
] | null | null | null | modules/core/client/css/core.css | goodsonwebdesign/goodsonconsulting | 400d575dd49862e16b3a16cd5dccf63132cd977f | [
"MIT"
] | null | null | null | modules/core/client/css/core.css | goodsonwebdesign/goodsonconsulting | 400d575dd49862e16b3a16cd5dccf63132cd977f | [
"MIT"
] | null | null | null | .content {
margin-top: 50px;
}
.undecorated-link:hover {
text-decoration: none;
}
[ng\:cloak],
[ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
display: none !important;
}
.header-profile-image {
opacity: 0.8;
height: 28px;
width: 28px;
border-radius: 50%;
margin-right: 5px;
}
... | 14.851351 | 36 | 0.632393 |
58ca5496dba6d6a2f0f5c8c9e6f733a9a38b03a0 | 33,326 | rs | Rust | src/bot/api.rs | selevit/teloxide | 26fa7ffd06a14e8b43947524e155a7698a2a5a94 | [
"MIT"
] | null | null | null | src/bot/api.rs | selevit/teloxide | 26fa7ffd06a14e8b43947524e155a7698a2a5a94 | [
"MIT"
] | null | null | null | src/bot/api.rs | selevit/teloxide | 26fa7ffd06a14e8b43947524e155a7698a2a5a94 | [
"MIT"
] | null | null | null | use crate::{
requests::{
json, multipart,
payloads::{
AddStickerToSet, AnswerCallbackQuery, AnswerInlineQuery,
AnswerPreCheckoutQuery, AnswerShippingQuery, CreateNewStickerSet,
DeleteChatPhoto, DeleteChatStickerSet, DeleteMessage,
DeleteStickerFromSet,... | 28.266327 | 80 | 0.579427 |
f0768556a1b71d15812033a9cc69a7cc2128c930 | 1,122 | js | JavaScript | 2-avgWordLength.js | NJBOOT/ten_simple_coding_tests | 60c7e03b66c3592c0b0c94ae1d5690d0b7bac501 | [
"MIT"
] | null | null | null | 2-avgWordLength.js | NJBOOT/ten_simple_coding_tests | 60c7e03b66c3592c0b0c94ae1d5690d0b7bac501 | [
"MIT"
] | null | null | null | 2-avgWordLength.js | NJBOOT/ten_simple_coding_tests | 60c7e03b66c3592c0b0c94ae1d5690d0b7bac501 | [
"MIT"
] | null | null | null | // 2 - Average Sentence Length
// For a given sentence, return the average word length.
// Note: Remember to remove punctuation first.
const avgWordLength = s => {
// first, weird edge case where the punctuation represents a space
// then strip the rest of the punctuation using regex
const stripped = s
.repl... | 32.057143 | 88 | 0.628342 |
c43aecb39b70251cd9bc328f13808b6d95d51f40 | 1,445 | c | C | examples/c/sources/CpuInfoEx.c | wdv4758h/Yeppp- | deeca59a88bc2b014be802fd575757f7c26c180e | [
"BSD-3-Clause"
] | 30 | 2015-09-18T00:52:22.000Z | 2021-11-03T17:44:30.000Z | examples/c/sources/CpuInfoEx.c | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | 1 | 2017-02-09T04:53:29.000Z | 2017-02-09T04:53:29.000Z | examples/c/sources/CpuInfoEx.c | rguthrie3/Yeppp-Mirror | 23cc725a7489d376558bef3e92e31fda014b6c47 | [
"BSD-3-Clause"
] | 6 | 2017-02-09T03:05:32.000Z | 2022-03-17T06:50:19.000Z | #include <stdio.h>
#include <assert.h>
#include <yepLibrary.h>
/* The size of buffer for strings from the Yeppp! library */
#define BUFFER_SIZE 1024
int main(int argc, char **argv) {
enum YepStatus status;
Yep32u coresCount, L1I, L1D, L2, L3;
YepSize bufferLength;
char buffer[BUFFER_SIZE];
status =... | 30.744681 | 111 | 0.693426 |
afeccb8c7c12523780681085c2369f4051f58258 | 478 | rb | Ruby | spec/factories/posts.rb | calismamasam/calismamasam.com | 5c65f7a3b3db11ca8918429dd02d2aef4e5d4f13 | [
"MIT"
] | 100 | 2018-01-04T20:43:17.000Z | 2020-06-18T13:55:11.000Z | spec/factories/posts.rb | haticeedis/calismamasam.com | e0ea92eca79e38eb0fdddf2fc6c18f0cf6d8a3bd | [
"MIT"
] | 22 | 2018-01-05T07:37:16.000Z | 2020-06-25T02:18:37.000Z | spec/factories/posts.rb | haticeedis/calismamasam.com | e0ea92eca79e38eb0fdddf2fc6c18f0cf6d8a3bd | [
"MIT"
] | 13 | 2018-01-05T07:32:22.000Z | 2020-03-14T12:25:59.000Z | FactoryBot.define do
factory :post do
sequence(:title) { |n| "#{Faker::Name.unique.name}#{n}" }
is_active false
job_title 'Software Developer'
company Faker::Company.name
twitter_url 'https://twitter.com/calismamasamcom'
body Faker::Lorem.paragraphs(20)
description Faker::Lorem.paragraph
... | 34.142857 | 118 | 0.694561 |
9be4cee987e2616e9718ea987875a1aa060cc12d | 1,926 | kt | Kotlin | android/src/main/kotlin/com/airfore/cell_info/core/factory/NetMonsterFactory.kt | dudizimber/FlutterCellInfo | 0692d496c01c5e0f334aabef152be89f4cca338b | [
"BSD-2-Clause"
] | 178 | 2019-08-11T20:30:40.000Z | 2022-03-29T11:43:24.000Z | android/src/main/kotlin/com/airfore/cell_info/core/factory/NetMonsterFactory.kt | dudizimber/FlutterCellInfo | 0692d496c01c5e0f334aabef152be89f4cca338b | [
"BSD-2-Clause"
] | 36 | 2020-04-05T15:18:00.000Z | 2022-03-31T20:38:32.000Z | android/src/main/kotlin/com/airfore/cell_info/core/factory/NetMonsterFactory.kt | dudizimber/FlutterCellInfo | 0692d496c01c5e0f334aabef152be89f4cca338b | [
"BSD-2-Clause"
] | 47 | 2019-08-26T11:23:47.000Z | 2022-03-01T19:46:21.000Z | package cz.mroczis.netmonster.core.factory
import android.content.Context
import android.os.Build
import cz.mroczis.netmonster.core.INetMonster
import cz.mroczis.netmonster.core.NetMonster
import cz.mroczis.netmonster.core.subscription.ISubscriptionManagerCompat
import cz.mroczis.netmonster.core.subscription.Subscript... | 42.8 | 115 | 0.760644 |
1c96562d3e017dd2e6b490493032168e5f88aa39 | 1,386 | swift | Swift | Sources/UIPreview/UICatalog/CatalogItemView.swift | 0111b/UIPreview | 036c76904e772bdfaa57c6509f299009022391f3 | [
"MIT"
] | null | null | null | Sources/UIPreview/UICatalog/CatalogItemView.swift | 0111b/UIPreview | 036c76904e772bdfaa57c6509f299009022391f3 | [
"MIT"
] | null | null | null | Sources/UIPreview/UICatalog/CatalogItemView.swift | 0111b/UIPreview | 036c76904e772bdfaa57c6509f299009022391f3 | [
"MIT"
] | null | null | null | #if canImport(SwiftUI)
import SwiftUI
#endif
import UIKit
@available(iOS 14, *)
struct CatalogItemView<Content: UICatalogPresentable>: View {
let configuration: UICatalog.PreviewConfiguration
var body: some View {
ForEach(values: Content.previewModels) { model in
ForEach(values: configuration.colorSchem... | 25.666667 | 76 | 0.621212 |
319aed33b44a3f35a8f9d657660ff05be8b3dfb5 | 1,292 | pks | SQL | APEXTREE.pks | emjayhr/apex-tree | 10df55a77574c35e64e9c4132348ae6eb62fc939 | [
"MIT"
] | 3 | 2017-03-03T16:49:40.000Z | 2017-03-07T08:51:47.000Z | APEXTREE.pks | emjayhr/apex-tree | 10df55a77574c35e64e9c4132348ae6eb62fc939 | [
"MIT"
] | 3 | 2017-03-28T13:46:06.000Z | 2018-07-17T16:02:19.000Z | APEXTREE.pks | emjayhr/apex-tree | 10df55a77574c35e64e9c4132348ae6eb62fc939 | [
"MIT"
] | 1 | 2021-09-04T20:47:53.000Z | 2021-09-04T20:47:53.000Z | create or replace package apextree is
-- Author : MARIO
-- Created : 19.02.2017 10:11:28 PM
-- Purpose :
type t_hij_record is record (
id number
, master_id number
, name varchar2(300)
, description varchar2(4000)
, description_2 varchar2(4000)
, node_type varch... | 25.84 | 52 | 0.640867 |
9941a7f7f81b7139abb436bb5b8826550e62a3f2 | 7,378 | lua | Lua | IRE AND FIST REBORN/lua/bipod.lua | the-almighty-carl/IreNFist | e40346eff3f414b483f2e55ec2ec93d41cc54c14 | [
"MIT"
] | 5 | 2020-07-25T22:25:29.000Z | 2021-05-08T10:42:17.000Z | IRE AND FIST REBORN/lua/bipod.lua | the-almighty-carl/IreNFist | e40346eff3f414b483f2e55ec2ec93d41cc54c14 | [
"MIT"
] | 121 | 2020-07-23T17:36:42.000Z | 2022-03-30T03:07:39.000Z | IRE AND FIST REBORN/lua/bipod.lua | the-almighty-carl/IreNFist | e40346eff3f414b483f2e55ec2ec93d41cc54c14 | [
"MIT"
] | 6 | 2020-07-25T22:25:33.000Z | 2021-07-09T19:59:32.000Z | function WeaponLionGadget1:_is_deployable()
--[[
if tweak_data.weapon[managers.blackmarket:equipped_primary().weapon_id].use_bipod_anywhere == true then
return true
end
return self:_shoot_bipod_rays2()
--]]
if tweak_data.weapon[managers.blackmarket:equipped_primary().weapon_id].use_bipod_anywhere == true then
... | 28.933333 | 142 | 0.742071 |
ad653b4b72752ed482410b4dbf402f2919d680e8 | 5,181 | rs | Rust | edgelet/iotedged/src/windows.rs | kkdawkins/iotedge | 529ea97f685f0eb1986e6cbce4ddd310b61d00ae | [
"MIT"
] | 1 | 2019-10-03T13:36:14.000Z | 2019-10-03T13:36:14.000Z | edgelet/iotedged/src/windows.rs | kkdawkins/iotedge | 529ea97f685f0eb1986e6cbce4ddd310b61d00ae | [
"MIT"
] | 1 | 2020-09-22T18:33:55.000Z | 2020-09-22T18:33:55.000Z | edgelet/iotedged/src/windows.rs | kkdawkins/iotedge | 529ea97f685f0eb1986e6cbce4ddd310b61d00ae | [
"MIT"
] | 3 | 2019-04-10T22:05:30.000Z | 2019-04-11T16:10:41.000Z | // Copyright (c) Microsoft. All rights reserved.
use std::env;
use std::ffi::OsString;
use std::time::Duration;
use clap::crate_name;
use failure::ResultExt;
use futures::future::Future;
use log::{error, info};
use windows_service::service::{
ServiceControl, ServiceControlAccept, ServiceExitCode, ServiceState, Se... | 33.642857 | 120 | 0.644084 |
9aa1dd824464e73752ce3926525f3e0856c0c944 | 93 | css | CSS | source/ui.apps/src/main/content/jcr_root/apps/adobeuxp/components/content/gcList/clientlibs/editor/css/list.css | carm-scaffidi/aemwettemplates | 953d97c47921ed275f166d5dcedbe1da2db9ff8e | [
"Apache-2.0"
] | 4 | 2021-05-12T02:13:31.000Z | 2022-02-15T19:48:33.000Z | source/ui.apps/src/main/content/jcr_root/apps/adobeuxp/components/content/gcList/clientlibs/editor/css/list.css | carm-scaffidi/aemwettemplates | 953d97c47921ed275f166d5dcedbe1da2db9ff8e | [
"Apache-2.0"
] | 2 | 2022-01-17T21:08:51.000Z | 2022-02-18T19:03:10.000Z | source/ui.apps/src/main/content/jcr_root/apps/adobeuxp/components/content/gcList/clientlibs/editor/css/list.css | carm-scaffidi/aemwettemplates | 953d97c47921ed275f166d5dcedbe1da2db9ff8e | [
"Apache-2.0"
] | 3 | 2021-04-14T23:38:09.000Z | 2022-01-26T18:29:14.000Z | .gc-separator{
padding: 10px;
border: .1rem solid #ffffff;
background: #e9e9e9;
} | 18.6 | 32 | 0.634409 |
af1ae783683c1ddfda64a866d3faf1b7a5a369d3 | 658 | rb | Ruby | lib/rango/ext/string.rb | deepj/rango | 93996d0cbc82eee9a1fb3c76376b8e23520fe1fa | [
"MIT"
] | 1 | 2016-05-09T10:45:25.000Z | 2016-05-09T10:45:25.000Z | lib/rango/ext/string.rb | deepj/rango | 93996d0cbc82eee9a1fb3c76376b8e23520fe1fa | [
"MIT"
] | null | null | null | lib/rango/ext/string.rb | deepj/rango | 93996d0cbc82eee9a1fb3c76376b8e23520fe1fa | [
"MIT"
] | null | null | null | # encoding: utf-8
class String
# Transform self into titlecased string.
#
# @author Botanicus
# @since 0.0.3
# @return [String] Titlecased string
# @example
# "hello world!".titlecase # => "Hello World!"
def titlecase
self.gsub(/\b./) { $&.upcase }
end
# Transform self to +ColoredString+
#... | 21.225806 | 54 | 0.653495 |
2d1ba2c5a73715b806f8c3d09ff0168a67479b34 | 1,231 | kt | Kotlin | src/main/java/com/hip/kafka/reactor/processors/EventProcessor.kt | hip-property/reactor-kafka-spring | 0ed7b9315ea3c739e11e2802675a2ce5a60e9052 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hip/kafka/reactor/processors/EventProcessor.kt | hip-property/reactor-kafka-spring | 0ed7b9315ea3c739e11e2802675a2ce5a60e9052 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hip/kafka/reactor/processors/EventProcessor.kt | hip-property/reactor-kafka-spring | 0ed7b9315ea3c739e11e2802675a2ce5a60e9052 | [
"Apache-2.0"
] | null | null | null | /*-
* =========================================================BeginLicense
* Reactive Kafka
* .
* Copyright (C) 2018 HiP Property
* .
* 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
*... | 42.448276 | 110 | 0.680747 |
d01b194cc1ceb879e568efa7cb866100bb2a58e6 | 729 | rb | Ruby | lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb | osorubeki-fujita/odpt_tokyo_metro | 3407a6dbaf0687ddca6478100f43047cad27ebd9 | [
"MIT"
] | 1 | 2015-06-21T03:53:51.000Z | 2015-06-21T03:53:51.000Z | lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb | osorubeki-fujita/odpt_tokyo_metro | 3407a6dbaf0687ddca6478100f43047cad27ebd9 | [
"MIT"
] | null | null | null | lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/train_operation_infos.rb | osorubeki-fujita/odpt_tokyo_metro | 3407a6dbaf0687ddca6478100f43047cad27ebd9 | [
"MIT"
] | null | null | null | class TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::TrainOperationInfos < TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::MetaClass
def render
h.render inline: <<-HAML , type: :haml , locals: { this: self }
%li{ class: :train_operation_info }
%ul{ class: :titles }
= this.render_title
%ul{ cla... | 33.136364 | 156 | 0.720165 |
ce09b73c8ec5f8c9e4bc1b3c53f23882c711e342 | 152 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/asinh_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/asinh_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/asinh_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _asinh_fastcall
EXTERN cm48_sdccix_asinh_fastcall
defc _asinh_fastcall = cm48_sdccix_asinh_fastcall
| 15.2 | 49 | 0.888158 |
c4882c81816c0c9030860f78317ea50f7b8d988f | 1,032 | h | C | Hazel/src/Hazel/EngineTimer.h | Istenia/Hazel | eddfc3fb5ab0db81b8383066ef5f91fa06796003 | [
"Apache-2.0"
] | null | null | null | Hazel/src/Hazel/EngineTimer.h | Istenia/Hazel | eddfc3fb5ab0db81b8383066ef5f91fa06796003 | [
"Apache-2.0"
] | null | null | null | Hazel/src/Hazel/EngineTimer.h | Istenia/Hazel | eddfc3fb5ab0db81b8383066ef5f91fa06796003 | [
"Apache-2.0"
] | null | null | null | #pragma once
namespace Hazel
{
class EngineTimer
{
public:
static void Init(void);
static long long GetCurrent(void);
static inline double ToSeconds(long long ticks)
{
return ticks * s_Delta;
}
static inline double ToMilliseconds(long long ticks)
{
return ticks * s_Delta * 1000.0;
}
priva... | 13.063291 | 54 | 0.624031 |
0cdd0af2f9cdd4f1682dfeb1a35ec8ea6569dc39 | 516 | py | Python | offer/10-qing-wa-tiao-tai-jie-wen-ti-lcof.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 2 | 2021-03-14T11:38:26.000Z | 2021-03-14T11:38:30.000Z | offer/10-qing-wa-tiao-tai-jie-wen-ti-lcof.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | null | null | null | offer/10-qing-wa-tiao-tai-jie-wen-ti-lcof.py | wanglongjiang/leetcode | c61d2e719e81575cfb5bde9d64e15cee7cf01ef3 | [
"MIT"
] | 1 | 2022-01-17T19:33:23.000Z | 2022-01-17T19:33:23.000Z | '''
剑指 Offer 10- II. 青蛙跳台阶问题
一只青蛙一次可以跳上1级台阶,也可以跳上2级台阶。求该青蛙跳上一个 n 级的台阶总共有多少种跳法。
答案需要取模 1e9+7(1000000007),如计算初始结果为:1000000008,请返回 1。
提示:
0 <= n <= 100
'''
'''
思路:递归
'''
class Solution:
def numWays(self, n: int) -> int:
if n == 0:
return 1
if n == 1:
return 1
if n ... | 15.636364 | 71 | 0.560078 |
ea7588b5fe927cce815b0ed98a00a14a6201b503 | 410 | kt | Kotlin | app/src/main/java/com/example/android/navigationadvancedsample/homescreen/HomeViewModel.kt | Maksim002/NavigationAdvancedSample | 211ff10fca7b8579fb71002a8d322758a4277aaf | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/navigationadvancedsample/homescreen/HomeViewModel.kt | Maksim002/NavigationAdvancedSample | 211ff10fca7b8579fb71002a8d322758a4277aaf | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/example/android/navigationadvancedsample/homescreen/HomeViewModel.kt | Maksim002/NavigationAdvancedSample | 211ff10fca7b8579fb71002a8d322758a4277aaf | [
"Apache-2.0"
] | null | null | null | package com.example.android.navigationadvancedsample.homescreen
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class HomeViewModel : ViewModel() {
val description = MutableLiveData<String>()
init {
if (description.value == null) {
description.postValue("aa... | 20.5 | 63 | 0.67561 |
0b9897a43237e684b6c66f4d6a3b18dc5aaad9da | 1,217 | py | Python | onetouch.py | kakoni/insulaudit | 18fe0802bafe5764882ac4e65e472fdc840baa45 | [
"MIT"
] | 1 | 2020-11-28T13:23:58.000Z | 2020-11-28T13:23:58.000Z | onetouch.py | kakoni/insulaudit | 18fe0802bafe5764882ac4e65e472fdc840baa45 | [
"MIT"
] | null | null | null | onetouch.py | kakoni/insulaudit | 18fe0802bafe5764882ac4e65e472fdc840baa45 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import user
import serial
from pprint import pprint, pformat
import insulaudit
from insulaudit.data import glucose
from insulaudit.log import io
from insulaudit.devices import onetouch2
import sys
PORT = '/dev/ttyUSB0'
def get_serial( port, timeout=2 ):
return serial.Serial( port, timeout=timeou... | 22.537037 | 89 | 0.67461 |
341314ff327ad76d3d84f2c9f57d7e1903497ff9 | 707 | rs | Rust | 04 - Doc and Variables/comments/src/main.rs | RichardJd/aprendendo-rust | d16eacd4b8c65840231a717f71b92a4a504e4acc | [
"MIT"
] | 6 | 2020-07-09T10:17:25.000Z | 2022-03-29T21:50:35.000Z | 04 - Doc and Variables/comments/src/main.rs | RichardJd/aprendendo-rust | d16eacd4b8c65840231a717f71b92a4a504e4acc | [
"MIT"
] | null | null | null | 04 - Doc and Variables/comments/src/main.rs | RichardJd/aprendendo-rust | d16eacd4b8c65840231a717f71b92a4a504e4acc | [
"MIT"
] | null | null | null | //! Comentario para explicar o modulo, explicar a funcionalidade do projeto
//! Utiliza Markdown
//! # Titulo
//! ## Subtitulo
//! - Isso
//! - eh
//! - incrivel
/// Comentario com 3 caracteres faz parte da documentacao,
/// o terceiro caractere pode mudar dependendo do tipo de texto da documentacao
/// Isso é um co... | 25.25 | 79 | 0.691655 |
9c5e4f07fe18046d1f8547173321c01a41ff98c7 | 703 | js | JavaScript | Documentation/html/search/files_a.js | viccsneto/aztec | a49e269c53f19d2de22f0d297908c917f36c658d | [
"MIT"
] | null | null | null | Documentation/html/search/files_a.js | viccsneto/aztec | a49e269c53f19d2de22f0d297908c917f36c658d | [
"MIT"
] | null | null | null | Documentation/html/search/files_a.js | viccsneto/aztec | a49e269c53f19d2de22f0d297908c917f36c658d | [
"MIT"
] | null | null | null | var searchData=
[
['plane_2ecpp',['Plane.cpp',['../_plane_8cpp.html',1,'']]],
['plane_2eh',['Plane.h',['../_plane_8h.html',1,'']]],
['pointlist2d_2ecpp',['PointList2D.cpp',['../_point_list2_d_8cpp.html',1,'']]],
['pointlist2d_2eh',['PointList2D.h',['../_point_list2_d_8h.html',1,'']]],
['property_2eh',['Proper... | 54.076923 | 92 | 0.644381 |
e27b55ed7f05af6795c7eed24bf6ea57701b0d04 | 930 | swift | Swift | CoronaContact/Scenes/Shared/Guidelines/Quarantine/QuarantineGuidelinesViewController.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 179 | 2020-04-24T12:28:22.000Z | 2022-02-09T19:24:30.000Z | CoronaContact/Scenes/Shared/Guidelines/Quarantine/QuarantineGuidelinesViewController.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 16 | 2020-04-24T17:41:44.000Z | 2022-02-21T10:39:51.000Z | CoronaContact/Scenes/Shared/Guidelines/Quarantine/QuarantineGuidelinesViewController.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 40 | 2020-04-24T12:57:19.000Z | 2022-02-09T19:24:35.000Z | //
// QuarantineGuidelinesViewController.swift
// CoronaContact
//
import Reusable
import UIKit
final class QuarantineGuidelinesViewController: UIViewController, StoryboardBased, ViewModelBased, FlashableScrollIndicators {
var viewModel: QuarantineGuidelinesViewModel?
@IBOutlet var scrollView: UIScrollView... | 24.473684 | 126 | 0.697849 |
5c45c9e35bf0156172b7d4efbdf0e7d737088022 | 1,069 | sql | SQL | baseline lab results.sql | deliberato/Obesity-project | 8f481c567866883a797cf7889546613fe3b838ab | [
"MIT"
] | 12 | 2017-10-12T10:51:07.000Z | 2021-05-31T01:32:34.000Z | baseline lab results.sql | deliberato/Obesity-project | 8f481c567866883a797cf7889546613fe3b838ab | [
"MIT"
] | null | null | null | baseline lab results.sql | deliberato/Obesity-project | 8f481c567866883a797cf7889546613fe3b838ab | [
"MIT"
] | 4 | 2017-10-14T19:33:39.000Z | 2020-08-04T10:44:03.000Z | -- code for the baseline laboratory result
select
co.icustay_id
, avg(case when itemid in (51300,51301) then valuenum else null end) as avgwbc_baseline
, avg(case when itemid = 51265 then valuenum else null end ) as avgplatelets_baseline
, avg (case when itemid in (50983,50824) then valuenum else null end) as avgsodi... | 53.45 | 97 | 0.785781 |
b801ba4eee92ee2dc539f5c22a61256f22bc281a | 1,214 | asm | Assembly | programs/oeis/000/A000542.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/000/A000542.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/000/A000542.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A000542: Sum of 8th powers: 1^8 + 2^8 + ... + n^8.
; 0,1,257,6818,72354,462979,2142595,7907396,24684612,67731333,167731333,382090214,812071910,1627802631,3103591687,5666482312,9961449608,16937207049,27957167625,44940730666,70540730666,108363590027,163239463563,241550448844,351625763020,504213653645,713040718221,99547... | 71.411765 | 1,033 | 0.861614 |
164b6044bb56c76f27502476a97a7f69d3fee8ed | 78,475 | c | C | ncgen3/ncgenyy.c | nopoe/netcdf-4.1.3-with-cmake | 43cb3e27ce78611a5f9b464ed7588408294289e4 | [
"NetCDF"
] | 1 | 2021-12-01T07:24:43.000Z | 2021-12-01T07:24:43.000Z | ncgen3/ncgenyy.c | nopoe/netcdf-4.1.3-with-cmake | 43cb3e27ce78611a5f9b464ed7588408294289e4 | [
"NetCDF"
] | null | null | null | ncgen3/ncgenyy.c | nopoe/netcdf-4.1.3-with-cmake | 43cb3e27ce78611a5f9b464ed7588408294289e4 | [
"NetCDF"
] | 3 | 2019-04-29T14:57:37.000Z | 2021-12-01T07:24:44.000Z |
#line 3 "lex.ncg.c"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer ncg_create_buffer
#define yy_delete_buffer ncg_delete_buffer
#define yy_flex_debug ncg_flex_debug
#define yy_init_buffer ncg_init_buffer
#define yy_flush_buffer ncg_flush_buffer
#define yy_load_b... | 30.993286 | 117 | 0.564447 |
041bfa3bb423468420e1c6607240c165050d59c6 | 1,242 | js | JavaScript | public/src/scripts/login.js | LCordial/puzzle-game | de8fea9add185bf63a6e2070c77da643fa614e78 | [
"MIT"
] | 1 | 2021-04-22T06:36:36.000Z | 2021-04-22T06:36:36.000Z | public/src/scripts/login.js | LCordial/puzzle-game | de8fea9add185bf63a6e2070c77da643fa614e78 | [
"MIT"
] | null | null | null | public/src/scripts/login.js | LCordial/puzzle-game | de8fea9add185bf63a6e2070c77da643fa614e78 | [
"MIT"
] | null | null | null | //VARIABLES
var password="TPMXQQA";
var login=document.getElementById("login");
var text=document.getElementById("textIn");
var IP="127.004.831";
var ComName="RaMoOsNe";
var loginInput=document.getElementById("loginCompany1");
var loginInput2=document.getElementById("loginCompany2");
var loginSubmit=document.getElemen... | 33.567568 | 108 | 0.671498 |
33432ba2ddbdf0d752f4c853a33ef51d602972b0 | 1,574 | swift | Swift | ShopAppTests/App/Modules/Base/ViewModels/Mocks/BaseAddressListViewModelMock.swift | Rahul-Abhishek-AU6/ShopApp | e3686d9dbe1af86595ec689edd865a679cd5850a | [
"Apache-2.0"
] | 111 | 2018-03-02T18:11:55.000Z | 2022-03-22T02:04:50.000Z | ShopAppTests/App/Modules/Base/ViewModels/Mocks/BaseAddressListViewModelMock.swift | Rahul-Abhishek-AU6/ShopApp | e3686d9dbe1af86595ec689edd865a679cd5850a | [
"Apache-2.0"
] | 79 | 2018-02-27T08:40:27.000Z | 2021-08-08T15:04:02.000Z | ShopAppTests/App/Modules/Base/ViewModels/Mocks/BaseAddressListViewModelMock.swift | Rahul-Abhishek-AU6/ShopApp | e3686d9dbe1af86595ec689edd865a679cd5850a | [
"Apache-2.0"
] | 62 | 2018-03-27T21:49:03.000Z | 2021-10-30T11:38:00.000Z | //
// BaseAddressListViewModelMock.swift
// ShopAppTests
//
// Created by Evgeniy Antonov on 3/2/18.
// Copyright © 2018 RubyGarage. All rights reserved.
//
import RxSwift
import ShopApp_Gateway
@testable import ShopApp
class BaseAddressListViewModelMock: BaseAddressListViewModel {
var isNeedsToReturnAddress... | 30.862745 | 104 | 0.665184 |
899eb308936063e65f789bdec1df704f986b8824 | 1,779 | lua | Lua | Overworld/model/entities/playerStates/StillUpState.lua | tomyahu/Tomimi-Game-Editor | 8d14dc0d3ead8d90a9affd783e11048d7260c471 | [
"MIT"
] | 1 | 2019-01-18T21:50:11.000Z | 2019-01-18T21:50:11.000Z | Overworld/model/entities/playerStates/StillUpState.lua | tomyahu/LotRM | 8d14dc0d3ead8d90a9affd783e11048d7260c471 | [
"MIT"
] | 1 | 2019-12-04T15:39:45.000Z | 2019-12-04T15:39:45.000Z | Overworld/model/entities/playerStates/StillUpState.lua | tomyahu/Tomimi-Game-Editor | 8d14dc0d3ead8d90a9affd783e11048d7260c471 | [
"MIT"
] | null | null | null | require "lib.classes.class"
local NormalPlayerState = require "Overworld.model.entities.playerStates.NormalPlayerState"
--------------------------------------------------------------------------------------------------------
-- class: StillRightState
-- param: player:Player -> the player object of the overworld
-- The... | 32.944444 | 104 | 0.733558 |
3e76ef50178b446630580ee7c8c87c17e3350649 | 246 | h | C | Demo/CMSliderDemo/SliderDemos/LineSliderDemoViewController.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | 2 | 2017-03-02T09:46:10.000Z | 2018-05-02T03:15:19.000Z | Demo/CMSliderDemo/SliderDemos/LineSliderDemoViewController.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | null | null | null | Demo/CMSliderDemo/SliderDemos/LineSliderDemoViewController.h | chucklab/CMSlider | 930e6f69246098dfc95e23df600f613523f5737c | [
"MIT"
] | null | null | null | //
// LineSliderDemoViewController.h
// CMSliderDemo
//
// Created by Chuck MA on 02/28/2017.
// Copyright © 2017 Chuck's Lab. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LineSliderDemoViewController : UIViewController
@end
| 17.571429 | 58 | 0.727642 |
4d31830da7fc714dbc08d07687c0ce931e8d8de9 | 895 | asm | Assembly | programs/oeis/314/A314205.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/314/A314205.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/314/A314205.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A314205: Coordination sequence Gal.5.133.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,11,17,22,26,31,37,43,48,53,59,65,70,74,79,85,91,96,101,107,113,118,122,127,133,139,144,149,155,161,166,170,175,181,187,192,197,203,209,2... | 24.861111 | 186 | 0.620112 |
209e06d5c5ccf403daa458a42708e85306001d38 | 1,260 | css | CSS | src/styles/styles.css | rayjencode/gatsby-wordpress-graphql | 316621ac58d01688d80065e236ca9dd6ab80df56 | [
"MIT"
] | null | null | null | src/styles/styles.css | rayjencode/gatsby-wordpress-graphql | 316621ac58d01688d80065e236ca9dd6ab80df56 | [
"MIT"
] | null | null | null | src/styles/styles.css | rayjencode/gatsby-wordpress-graphql | 316621ac58d01688d80065e236ca9dd6ab80df56 | [
"MIT"
] | null | null | null | a {
font-family: Arial, Helvetica, sans-serif;
}
/* Header */
.mainMenu__link .mainMenu__item {
padding: 5px 10px;
border: 1px solid white;
}
.mainMenu__item:hover,
.mainMenu__item[aria-current="page"] {
background: white;
color: rebeccapurple;
}
.mainMenu__list__child {
position: absolute;
margin: 6px 0... | 13.548387 | 46 | 0.646032 |
e773452762a6f90a9bbce54dd056d1dc9751863c | 15,484 | js | JavaScript | src/PTV.Application.Web/wwwroot/js/app/util/redux-form/HOC/withEntityHeader/messages.js | MikkoVirenius/ptv-1.7 | c2fd52c6c9774722b0a3e958d8537fa7de322207 | [
"MIT"
] | null | null | null | src/PTV.Application.Web/wwwroot/js/app/util/redux-form/HOC/withEntityHeader/messages.js | MikkoVirenius/ptv-1.7 | c2fd52c6c9774722b0a3e958d8537fa7de322207 | [
"MIT"
] | null | null | null | src/PTV.Application.Web/wwwroot/js/app/util/redux-form/HOC/withEntityHeader/messages.js | MikkoVirenius/ptv-1.7 | c2fd52c6c9774722b0a3e958d8537fa7de322207 | [
"MIT"
] | null | null | null | /**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... | 43.988636 | 199 | 0.722488 |
05b53598e7a861c91f8832bbb4ac226d402b2d7c | 2,136 | rb | Ruby | lib/user_engage/client.rb | CompanyMood/user_engage-ruby | 6e804d463c0d5d451febc2f0ab97e5d80b1c7ee6 | [
"MIT"
] | 3 | 2018-02-03T21:53:36.000Z | 2020-10-16T02:56:09.000Z | lib/user_engage/client.rb | CompanyMood/user_engage-ruby | 6e804d463c0d5d451febc2f0ab97e5d80b1c7ee6 | [
"MIT"
] | 6 | 2018-08-10T09:00:24.000Z | 2018-10-26T10:31:17.000Z | lib/user_engage/client.rb | CompanyMood/user_engage-ruby | 6e804d463c0d5d451febc2f0ab97e5d80b1c7ee6 | [
"MIT"
] | 1 | 2018-07-25T19:33:35.000Z | 2018-07-25T19:33:35.000Z | # frozen_string_literal: true
require 'faraday'
module UserEngage
class Client
######################
## Instance methods ##
######################
def initialize(configuration)
@configuration = configuration
end
# Public: Calls the base_url with the given path and parameters
#
... | 27.037975 | 80 | 0.6147 |
6226ebe4eb3e97ea82df528e03c6e361d0b237a2 | 3,869 | rs | Rust | tests/integration_tests.rs | victorjoh/console-runner | 1b9ad65a60abc6c38172d07a66738263cbc04891 | [
"MIT"
] | null | null | null | tests/integration_tests.rs | victorjoh/console-runner | 1b9ad65a60abc6c38172d07a66738263cbc04891 | [
"MIT"
] | null | null | null | tests/integration_tests.rs | victorjoh/console-runner | 1b9ad65a60abc6c38172d07a66738263cbc04891 | [
"MIT"
] | null | null | null | use console_runner::{common::*, tasks::*};
use spectral::prelude::*;
const TASK_RUNNER: TaskRunner = TaskRunner {
thread_count: 1,
view_update_period: 0,
};
#[test]
fn the_result_of_a_task_is_passed_to_the_view() {
let mut view = StoreToMemory::new();
let task = SimpleTask {
name: "my name",
... | 25.123377 | 87 | 0.601447 |
f27de4c4b72822949f9e7cc9b870f9fb15d1217d | 2,451 | swift | Swift | restaurant-app/Foodify/Foodify/Components/CustomTextField/CustomTextField.swift | samedbcr/foodify-app | 85b84b626ba352c6bcdf94bde2dab32ee85cfeba | [
"PostgreSQL",
"Unlicense"
] | 1 | 2021-09-15T14:40:59.000Z | 2021-09-15T14:40:59.000Z | restaurant-app/Foodify/Foodify/Components/CustomTextField/CustomTextField.swift | samedbcr/foodify-app | 85b84b626ba352c6bcdf94bde2dab32ee85cfeba | [
"PostgreSQL",
"Unlicense"
] | null | null | null | restaurant-app/Foodify/Foodify/Components/CustomTextField/CustomTextField.swift | samedbcr/foodify-app | 85b84b626ba352c6bcdf94bde2dab32ee85cfeba | [
"PostgreSQL",
"Unlicense"
] | 2 | 2021-08-22T22:52:31.000Z | 2021-09-15T08:15:10.000Z | //
// CustomTextField.swift
// Foodify
//
// Created by Samed Biçer on 11.08.2021.
//
import UIKit
final class CustomTextField: UITextField {
private enum Constants {
static let leftPadding: CGFloat = 12
static let rightPadding: CGFloat = 40
}
let padding = UIEdgeInsets(top: 0, left: C... | 31.025316 | 125 | 0.629539 |
b18e2c3edddc96fd6bdb995219f65a89b05ecc8e | 9,518 | c | C | plat/marvell/a8k-p/a8xxy/board/dram_port.c | x-speed-catdrive/atf-v1.5 | 711ecd32afe465b38052b5ba374c825b158eea18 | [
"BSD-3-Clause"
] | 1 | 2022-01-08T21:03:32.000Z | 2022-01-08T21:03:32.000Z | plat/marvell/a8k-p/a8xxy/board/dram_port.c | x-speed-catdrive/atf-v1.5 | 711ecd32afe465b38052b5ba374c825b158eea18 | [
"BSD-3-Clause"
] | null | null | null | plat/marvell/a8k-p/a8xxy/board/dram_port.c | x-speed-catdrive/atf-v1.5 | 711ecd32afe465b38052b5ba374c825b158eea18 | [
"BSD-3-Clause"
] | 1 | 2022-01-08T20:59:01.000Z | 2022-01-08T20:59:01.000Z | /*
* Copyright (C) 2017 Marvell International Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
* https://spdx.org/licenses
*/
#include <mv_ddr_if.h>
#include <mvebu_def.h>
#include <plat_marvell.h>
/* DB-88F8160-MODULAR has 4 DIMMs on board that are connected to
* AP2 I2C bus-0 at the following addresses:
* AP0 ... | 31.104575 | 73 | 0.598865 |
b8d3a9cfe2b58e2eade14a5cc90103b9c14d2ed2 | 1,946 | asm | Assembly | data/mapObjects/SaffronCity.asm | AmateurPanda92/pokemon-rby-dx | f7ba1cc50b22d93ed176571e074a52d73360da93 | [
"MIT"
] | 9 | 2020-07-12T19:44:21.000Z | 2022-03-03T23:32:40.000Z | data/mapObjects/SaffronCity.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | data/mapObjects/SaffronCity.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | SaffronCity_Object:
db $f ; border block
db 8 ; warps
warp 7, 5, 0, COPYCATS_HOUSE_1F
warp 26, 3, 0, FIGHTING_DOJO
warp 34, 3, 0, SAFFRON_GYM
warp 13, 11, 0, SAFFRON_PIDGEY_HOUSE
warp 25, 11, 0, SAFFRON_MART
warp 18, 21, 0, SILPH_CO_1F
warp 9, 29, 0, SAFFRON_POKECENTER
warp 29, 29, 0, MR_PSYCHICS_HOUSE
db ... | 37.423077 | 59 | 0.72816 |
95f908e678b2b80ed24bcac1323d9eeb339cc4a7 | 626 | kt | Kotlin | app/src/main/java/com/laurenyew/githubbrowser/repository/networking/api/GithubApi.kt | laurenyew/GithubBrowser | 2694154be1bc21b745b2e8bc02393145a3b13108 | [
"MIT"
] | null | null | null | app/src/main/java/com/laurenyew/githubbrowser/repository/networking/api/GithubApi.kt | laurenyew/GithubBrowser | 2694154be1bc21b745b2e8bc02393145a3b13108 | [
"MIT"
] | null | null | null | app/src/main/java/com/laurenyew/githubbrowser/repository/networking/api/GithubApi.kt | laurenyew/GithubBrowser | 2694154be1bc21b745b2e8bc02393145a3b13108 | [
"MIT"
] | null | null | null | package com.laurenyew.githubbrowser.repository.networking.api
import com.laurenyew.githubbrowser.repository.networking.api.responses.SearchGithubReposResponse
import io.reactivex.Single
import retrofit2.http.GET
import retrofit2.http.Query
/**
* Retrofit interface for Github API (https://developer.github.com/v3/)
*... | 32.947368 | 96 | 0.722045 |
a189683eaaf18d97a5191e372015b63126f62e03 | 117 | go | Go | pkg/model/logstore/doc.go | iggy/tilt | 0824dd0856f98c8c55aeb3c2a29a069e215697fb | [
"Apache-2.0"
] | 3,283 | 2018-09-04T17:19:56.000Z | 2020-05-15T13:19:43.000Z | pkg/model/logstore/doc.go | iggy/tilt | 0824dd0856f98c8c55aeb3c2a29a069e215697fb | [
"Apache-2.0"
] | 1,437 | 2020-05-15T14:03:08.000Z | 2022-03-31T20:19:11.000Z | pkg/model/logstore/doc.go | iggy/tilt | 0824dd0856f98c8c55aeb3c2a29a069e215697fb | [
"Apache-2.0"
] | 110 | 2018-12-13T17:05:41.000Z | 2020-05-07T20:29:04.000Z | // A central logstore.
//
// Motivation and spec:
// https://github.com/tilt-dev/tilt.specs/pull/19
package logstore
| 19.5 | 49 | 0.717949 |
af17761e5d8a6a69f531846362596634bcbf72d7 | 2,563 | swift | Swift | framework/FidzupCMP/UI/CMPConsentToolVendorsViewController.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | framework/FidzupCMP/UI/CMPConsentToolVendorsViewController.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | framework/FidzupCMP/UI/CMPConsentToolVendorsViewController.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | //
// CMPConsentToolVendorsViewController.swift
// FidzupCMP
//
// Created by Thomas Geley on 25/04/2018.
// Copyright © 2018 Smart AdServer.
//
// This software is distributed under the Creative Commons Legal Code, Attribution 3.0 Unported license.
// Check the LICENSE file for more information.
//
import UIKit... | 35.597222 | 165 | 0.710496 |
4a3f95870ac1ae52a8e931091819e574683f5790 | 22,451 | js | JavaScript | plugins/JSSV8/src/copypaste_advanced/index.js | Guillaume-Bo/jexcel-plugins-and-editors | 5c2ff9e1de823e4e6839eea27dcd7c0d36704f29 | [
"MIT"
] | 8 | 2020-08-27T18:33:37.000Z | 2021-02-14T09:45:34.000Z | plugins/JSSV8/src/copypaste_advanced/index.js | Guillaume-Bo/jspreadsheet-plugins-and-editors | 336b1ec1717769a114a9b55f76a7f0e55988ed58 | [
"MIT"
] | 4 | 2021-05-04T19:31:58.000Z | 2022-01-04T10:30:13.000Z | plugins/JSSV8/src/copypaste_advanced/index.js | Guillaume-Bo/jexcel-plugins-and-editors | 5c2ff9e1de823e4e6839eea27dcd7c0d36704f29 | [
"MIT"
] | null | null | null | /**
* Plugin copy paste advance for jSpreadsheet
*
* @version 3.0.0
* @author Guillaume Bonnaire <contact@gbonnaire.fr>
* @website https://repo.gbonnaire.fr
* @description upgrade copy paste function for work with clipboard permission denied or error
* and add button on toolbar copy/cut/paste
*
* @l... | 43.258189 | 258 | 0.435036 |
7fcc7275d7ee81af408fcf772a8acef727e2ef4c | 1,700 | rs | Rust | src/ppu/mask_register/spec_tests.rs | planet-s/rs-nes | d6e15726b30b17736df990762165d541b43394b7 | [
"MIT"
] | 4 | 2017-10-11T14:52:14.000Z | 2021-11-08T12:30:42.000Z | src/ppu/mask_register/spec_tests.rs | planet-s/rs-nes | d6e15726b30b17736df990762165d541b43394b7 | [
"MIT"
] | null | null | null | src/ppu/mask_register/spec_tests.rs | planet-s/rs-nes | d6e15726b30b17736df990762165d541b43394b7 | [
"MIT"
] | 1 | 2022-03-16T18:22:22.000Z | 2022-03-16T18:22:22.000Z | use ppu::mask_register::MaskRegister;
#[test]
fn background_render_leftmost_8_px() {
let reg = new_mask_register(0b00000000);
assert_eq!(false, reg.background_render_leftmost_8_px());
let reg = new_mask_register(0b00000010);
assert_eq!(true, reg.background_render_leftmost_8_px());
}
#[test]
fn sprite... | 24.637681 | 61 | 0.708235 |
dfe9d4a003e46d50b50cc01b194e674b4a5e9262 | 2,318 | lua | Lua | extensions/sound/init.lua | Luke100000/3DreamEngine | 77dd382b6bb890e174f9175870db636415b835fa | [
"MIT"
] | null | null | null | extensions/sound/init.lua | Luke100000/3DreamEngine | 77dd382b6bb890e174f9175870db636415b835fa | [
"MIT"
] | null | null | null | extensions/sound/init.lua | Luke100000/3DreamEngine | 77dd382b6bb890e174f9175870db636415b835fa | [
"MIT"
] | null | null | null | local soundManager = {
paths = { },
sounds = { },
maxSounds = 16,
}
--reverb effects
for i = 1, 10 do
love.audio.setEffect("reverb_" .. i, {
type = "reverb",
decaytime = i / 2,
density = 0.5,
})
end
--add a directory to the sound library
local supportedFileTypes = table.toSet({"wav", "mp3", "ogg", "oga", "... | 24.924731 | 96 | 0.655306 |
9f96435fc99680a4c8ac9ee418b6d927e4927167 | 48 | rs | Rust | crates/nu-plugin/src/serializers/mod.rs | arthur-targaryen/engine-q | f7f8b0dbff5bfe0e8c59c340e4cfe78f8f672027 | [
"MIT"
] | null | null | null | crates/nu-plugin/src/serializers/mod.rs | arthur-targaryen/engine-q | f7f8b0dbff5bfe0e8c59c340e4cfe78f8f672027 | [
"MIT"
] | null | null | null | crates/nu-plugin/src/serializers/mod.rs | arthur-targaryen/engine-q | f7f8b0dbff5bfe0e8c59c340e4cfe78f8f672027 | [
"MIT"
] | null | null | null | pub mod call;
pub mod signature;
pub mod value;
| 12 | 18 | 0.75 |
afbc4f2f1303b99968079e053d5dccc61dd34267 | 2,638 | rb | Ruby | lib/fisk/instructions/vcmpsd.rb | jeremyevans/fisk | f72dda7f3114484248b878f4bba50b1cf6c6dc95 | [
"Apache-2.0"
] | 264 | 2021-02-24T20:14:51.000Z | 2022-03-30T06:53:40.000Z | lib/fisk/instructions/vcmpsd.rb | jeremyevans/fisk | f72dda7f3114484248b878f4bba50b1cf6c6dc95 | [
"Apache-2.0"
] | 11 | 2021-06-02T19:28:59.000Z | 2021-11-14T00:43:11.000Z | lib/fisk/instructions/vcmpsd.rb | jeremyevans/fisk | f72dda7f3114484248b878f4bba50b1cf6c6dc95 | [
"Apache-2.0"
] | 7 | 2021-03-01T09:55:01.000Z | 2022-03-27T15:52:51.000Z | # frozen_string_literal: true
class Fisk
module Instructions
# Instruction VCMPSD: Compare Scalar Double-Precision Floating-Point Values
VCMPSD = Instruction.new("VCMPSD", [
# vcmpsd: k{k}, xmm, m64, imm8
Form.new([
OPERAND_TYPES[71],
OPERAND_TYPES[24],
OPERAND_TYPES[18],
... | 28.989011 | 79 | 0.5163 |
01f51ad3e5c727a89a649024f028612fe75d04dd | 3,225 | rs | Rust | src/fd.rs | codeprentice-org/fanotify | f3c64ed7f05a5b56f579ba1e6d286ede03e9c16a | [
"MIT"
] | 7 | 2020-10-31T04:56:50.000Z | 2021-11-06T19:35:36.000Z | src/fd.rs | codeprentice-org/fanotify | f3c64ed7f05a5b56f579ba1e6d286ede03e9c16a | [
"MIT"
] | 2 | 2020-11-21T23:16:37.000Z | 2021-02-19T20:41:45.000Z | src/fd.rs | codeprentice-org/fanotify | f3c64ed7f05a5b56f579ba1e6d286ede03e9c16a | [
"MIT"
] | null | null | null | use std::cmp;
use std::fmt;
use std::fmt::Display;
use std::fmt::Formatter;
use std::io;
use std::mem;
use std::os::raw::c_void;
use std::os::unix::io::AsRawFd;
use std::os::unix::io::FromRawFd;
use std::os::unix::io::IntoRawFd;
use std::os::unix::io::RawFd;
use std::path::Path;
use std::path::PathBuf;
use nix::errno:... | 29.861111 | 85 | 0.590078 |
9af1d8a28045670d5658f7c0e229fe4314f1ebde | 647 | swift | Swift | SwiftUI-AirConditionerController/SwiftUIAirConditionerController/View/SmartScheduleView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 14 | 2020-12-09T08:53:39.000Z | 2021-12-07T09:15:44.000Z | SwiftUI-AirConditionerController/SwiftUIAirConditionerController/View/SmartScheduleView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | null | null | null | SwiftUI-AirConditionerController/SwiftUIAirConditionerController/View/SmartScheduleView.swift | luannguyen252/my-swift-journey | 788d66f256358dc5aefa2f3093ef74fd572e83b3 | [
"MIT"
] | 8 | 2020-12-10T05:59:26.000Z | 2022-01-03T07:49:21.000Z | //
// SmartScheduleView.swift
// SwiftUIAirConditionerController
//
// Created by Luan Nguyen on 26/12/2020.
//
import SwiftUI
struct SmartScheduleView: View {
var body: some View {
HStack {
Button(action: {
print("Button Pressed!")
}, label: {
Im... | 23.962963 | 77 | 0.483771 |
d052f8c74807ba8086463113673ccb5e8b57c7cc | 4,851 | lua | Lua | src/app/demo/JrueZhu/HomeScene.lua | littleBearJrue/cocosDemo | 76d51c9ef6033d30cab321099079eb2b72bbda26 | [
"Apache-2.0"
] | null | null | null | src/app/demo/JrueZhu/HomeScene.lua | littleBearJrue/cocosDemo | 76d51c9ef6033d30cab321099079eb2b72bbda26 | [
"Apache-2.0"
] | null | null | null | src/app/demo/JrueZhu/HomeScene.lua | littleBearJrue/cocosDemo | 76d51c9ef6033d30cab321099079eb2b72bbda26 | [
"Apache-2.0"
] | null | null | null | --[[--ldoc desc
@Module HomeScene.lua
@Author JrueZhu
Date: 2018-10-18 18:17:51
Last Modified by JrueZhu
Last Modified time 2018-11-01 20:46:02
]]
local appPath = "app.demo.JrueZhu"
local HomeScene = class("HomeScene", cc.load("mvc").ViewBase)
local ClockCountDown = require(appPath .. ".widget.ClockCountDown")
loc... | 37.030534 | 117 | 0.690785 |
46df2e70f4263254dc9c292ff44a4cf88ddcab7a | 1,563 | kt | Kotlin | app/src/main/java/com/example/multitypeviewadapter/MultiTypeViewAdapter.kt | marcus-martins/MultiTypeViewAdapter | 4b8adcad6994a7cc0bba0e75021aed9c9162c2a7 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/multitypeviewadapter/MultiTypeViewAdapter.kt | marcus-martins/MultiTypeViewAdapter | 4b8adcad6994a7cc0bba0e75021aed9c9162c2a7 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/multitypeviewadapter/MultiTypeViewAdapter.kt | marcus-martins/MultiTypeViewAdapter | 4b8adcad6994a7cc0bba0e75021aed9c9162c2a7 | [
"MIT"
] | null | null | null | package com.example.multitypeviewadapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
class MultiTypeViewAdapter(
private val itemViewList : List<ItemView>
) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
private val HEADER = 1
priv... | 38.121951 | 98 | 0.680742 |