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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9c3004ce70284d1b413359ec46b505eb946ea06f | 2,982 | js | JavaScript | src/storage.js | BugDiver/taiko-storage | bbf78fd1a01aa58668d0b64150058da3d348f2bc | [
"MIT"
] | 8 | 2019-09-14T22:42:42.000Z | 2021-08-11T16:26:38.000Z | src/storage.js | BugDiver/taiko-storage | bbf78fd1a01aa58668d0b64150058da3d348f2bc | [
"MIT"
] | 13 | 2020-05-05T14:26:58.000Z | 2022-02-27T17:30:06.000Z | src/storage.js | BugDiver/taiko-storage | bbf78fd1a01aa58668d0b64150058da3d348f2bc | [
"MIT"
] | 3 | 2020-05-05T08:34:46.000Z | 2021-08-10T02:36:14.000Z | let _taiko = null;
let _descEmitter = null;
class Storage {
constructor(type) {
this.type = type;
}
async setItem(key, value, options = {}) {
await _taiko.evaluate((_, args) => {
let storage = args.type === 'local' ? localStorage : sessionStorage;
return storage.setI... | 41.416667 | 125 | 0.556003 |
2a420c66ad77974f2a7f015a01e0128c3319dd6b | 32,384 | java | Java | device/iot-device-client/src/test/java/com/microsoft/azure/sdk/iot/device/transport/https/HttpsTransportManagerTest.java | niklas-sparfeld-gcx/azure-iot-sdk-java | 711c236d07a8aecf4d762669899a7d62e4a1d130 | [
"MIT"
] | 187 | 2016-11-29T18:05:28.000Z | 2022-02-23T06:38:57.000Z | device/iot-device-client/src/test/java/com/microsoft/azure/sdk/iot/device/transport/https/HttpsTransportManagerTest.java | niklas-sparfeld-gcx/azure-iot-sdk-java | 711c236d07a8aecf4d762669899a7d62e4a1d130 | [
"MIT"
] | 1,281 | 2016-12-09T16:51:06.000Z | 2022-03-31T23:56:55.000Z | device/iot-device-client/src/test/java/com/microsoft/azure/sdk/iot/device/transport/https/HttpsTransportManagerTest.java | niklas-sparfeld-gcx/azure-iot-sdk-java | 711c236d07a8aecf4d762669899a7d62e4a1d130 | [
"MIT"
] | 272 | 2016-11-16T16:22:40.000Z | 2022-03-31T11:08:17.000Z | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package com.microsoft.azure.sdk.iot.device.transport.https;
import com.microsoft.azure.sdk.iot.device.*;
import com.microsoft.azure.sdk.iot.device.edge.MethodRequest;
... | 44.059864 | 193 | 0.673388 |
ca438813d220606603af1c112855d8d3875c37fb | 14,934 | pkb | SQL | sql/utSQL/source/core/ut_suite_manager.pkb | AnandEmbold/biscuit_5 | 237b43746c16ff0f9e09d5c58310caa006aafbc2 | [
"Apache-2.0"
] | null | null | null | sql/utSQL/source/core/ut_suite_manager.pkb | AnandEmbold/biscuit_5 | 237b43746c16ff0f9e09d5c58310caa006aafbc2 | [
"Apache-2.0"
] | 23 | 2021-06-22T12:47:27.000Z | 2022-03-15T08:03:41.000Z | sql/utSQL/source/core/ut_suite_manager.pkb | AnandEmbold/biscuit_5 | 237b43746c16ff0f9e09d5c58310caa006aafbc2 | [
"Apache-2.0"
] | 4 | 2021-02-16T08:31:21.000Z | 2022-01-07T13:22:09.000Z | create or replace package body ut_suite_manager is
/*
utPLSQL - Version 3
Copyright 2016 - 2018 utPLSQL Project
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.o... | 39.3 | 187 | 0.687157 |
65351167928ce81c735f063228eadca0eb91e2b5 | 828 | py | Python | geoipgen/generate.py | christivn/INDES-devices-scan-engine | 5229ac68f0b075ffaba7641e5c8fb634d42d4915 | [
"MIT"
] | 2 | 2020-09-11T11:30:49.000Z | 2021-07-01T22:06:25.000Z | geoipgen/generate.py | christivn/INDES-devices-scan-engine | 5229ac68f0b075ffaba7641e5c8fb634d42d4915 | [
"MIT"
] | null | null | null | geoipgen/generate.py | christivn/INDES-devices-scan-engine | 5229ac68f0b075ffaba7641e5c8fb634d42d4915 | [
"MIT"
] | null | null | null | from . import subnetCal
from . import functions
from random import randint
def IP(cidr):
arr=subnetCal.simpleCalculate(cidr)
min_host=arr[3]
smin_host=min_host.split(".")
max_host=arr[4]
smax_host=max_host.split(".")
ip=""
for i in range(4):
if(smin_host[i]==smax_host[i]):
... | 23.657143 | 66 | 0.629227 |
f7331339176c275f85c87b95fd1a1791f19f3abe | 2,059 | h | C | firmware/export/wm8985.h | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 24 | 2015-03-10T08:43:56.000Z | 2022-01-05T14:09:46.000Z | firmware/export/wm8985.h | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 4 | 2015-07-04T18:15:33.000Z | 2018-05-18T05:33:33.000Z | firmware/export/wm8985.h | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T13:58:13.000Z | 2020-11-04T04:30:22.000Z | /***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... | 41.18 | 85 | 0.53424 |
3462f68ce82ce780e50b2e8dd0e500e2ae079542 | 8,354 | swift | Swift | AdventOfCode/Year2019/Day15.swift | pjcook/Advent-of-Code | 8518828e1fddf77676bee381e52ca83ddecd9ee6 | [
"MIT"
] | 2 | 2021-12-28T16:27:08.000Z | 2021-12-28T16:27:13.000Z | AdventOfCode/Year2019/Day15.swift | pjcook/Advent-of-Code | 8518828e1fddf77676bee381e52ca83ddecd9ee6 | [
"MIT"
] | null | null | null | AdventOfCode/Year2019/Day15.swift | pjcook/Advent-of-Code | 8518828e1fddf77676bee381e52ca83ddecd9ee6 | [
"MIT"
] | 1 | 2019-12-10T15:00:50.000Z | 2019-12-10T15:00:50.000Z | //
// Day15.swift
// Year2019
//
// Created by PJ COOK on 15/12/2019.
// Copyright © 2019 Software101. All rights reserved.
//
import Foundation
public extension Direction {
var moveValue: Int {
switch self {
case .N: return 1
case .S: return 2
case .W: return 3
... | 30.268116 | 147 | 0.559612 |
e70d0a494568deb20d26a91618e6e40e734ccd8a | 165 | kt | Kotlin | idea/testData/intentions/simplifyBooleanWithConstants/withAnnotation.kt | punzki/kotlin | dd005d3c02c6d3820617e85153f5b70fa365e56d | [
"ECL-2.0",
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/intentions/simplifyBooleanWithConstants/withAnnotation.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/intentions/simplifyBooleanWithConstants/withAnnotation.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 44 | 2020-05-17T10:11:11.000Z | 2022-03-11T02:37:20.000Z | var b = true
@Target(AnnotationTarget.EXPRESSION)
@Retention(AnnotationRetention.SOURCE)
annotation class Ann
fun foo() {
if (@Ann <caret>b == true) {
}
} | 15 | 38 | 0.684848 |
c3c596b9fb098bbe6e829c74c7ef3c485e31ffd4 | 2,603 | kt | Kotlin | app/src/test/java/io/github/wellingtoncosta/feed/app/ui/viewmodel/ListPostsViewModelTest.kt | WellingtonCosta/feed | 3644d65e7b3e3338b72b25ce7a578a1eae8512e7 | [
"MIT"
] | 4 | 2019-07-12T05:01:29.000Z | 2019-07-23T00:30:52.000Z | app/src/test/java/io/github/wellingtoncosta/feed/app/ui/viewmodel/ListPostsViewModelTest.kt | WellingtonCosta/feed | 3644d65e7b3e3338b72b25ce7a578a1eae8512e7 | [
"MIT"
] | null | null | null | app/src/test/java/io/github/wellingtoncosta/feed/app/ui/viewmodel/ListPostsViewModelTest.kt | WellingtonCosta/feed | 3644d65e7b3e3338b72b25ce7a578a1eae8512e7 | [
"MIT"
] | null | null | null | package io.github.wellingtoncosta.feed.app.ui.viewmodel
import androidx.lifecycle.Observer
import io.github.wellingtoncosta.feed.app.ui.listposts.ListPostsViewModel
import io.github.wellingtoncosta.feed.domain.entity.Post
import io.github.wellingtoncosta.feed.domain.interactor.PostInteractor
import io.github.wellingto... | 29.91954 | 73 | 0.71917 |
402ba489a55a1b859da54696bbac1d1b9600e4de | 804 | py | Python | U-GAT-IT/lib/loss/losses.py | gcinbis/deep-generative-models-spring20 | d377bd63d5e79539477cca47c71462e5cc12adfa | [
"MIT"
] | 18 | 2020-07-06T10:47:26.000Z | 2021-05-30T11:43:17.000Z | U-GAT-IT/lib/loss/losses.py | gcinbis/deep-generative-models-course-projects | d377bd63d5e79539477cca47c71462e5cc12adfa | [
"MIT"
] | 1 | 2022-03-12T00:39:12.000Z | 2022-03-12T00:39:12.000Z | U-GAT-IT/lib/loss/losses.py | gcinbis/deep-generative-models-spring20 | d377bd63d5e79539477cca47c71462e5cc12adfa | [
"MIT"
] | 2 | 2020-07-13T20:46:44.000Z | 2020-10-01T13:15:25.000Z | import torch
import torch.nn as nn
class LossWithValue(nn.Module):
def __init__(self, loss_fn):
super().__init__()
self.loss_fn = loss_fn
def forward(self, x, value):
target = torch.empty_like(x).fill_(value).type_as(x)
return self.loss_fn(x, target)
class MSEWithValue(nn.Mo... | 25.125 | 60 | 0.635572 |
7a29e78ccf41264b1f47a37da4441392f676093e | 4,228 | kt | Kotlin | app/src/androidTest/java/infixsoft/imrankst1221/android/starter/data/UserDetailsDaoTest.kt | imrankst1221/Android_starter | 947ffd7eb7136e3005e745d515a69b0da04b7741 | [
"MIT"
] | null | null | null | app/src/androidTest/java/infixsoft/imrankst1221/android/starter/data/UserDetailsDaoTest.kt | imrankst1221/Android_starter | 947ffd7eb7136e3005e745d515a69b0da04b7741 | [
"MIT"
] | null | null | null | app/src/androidTest/java/infixsoft/imrankst1221/android/starter/data/UserDetailsDaoTest.kt | imrankst1221/Android_starter | 947ffd7eb7136e3005e745d515a69b0da04b7741 | [
"MIT"
] | null | null | null | package infixsoft.imrankst1221.android.starter.data
import androidx.room.Room
import androidx.test.espresso.matcher.ViewMatchers.assertThat
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import infixsoft.imrankst1221.android.starter.data.model.UserDetails... | 44.041667 | 123 | 0.769868 |
fb9b271fb34003556acee1d5bb8f0bde6288ea06 | 517 | kt | Kotlin | client-lib/src/main/kotlin/com/icapps/niddler/lib/model/bodyparser/PlainTextBodyParser.kt | Chimerapps/niddler-ui | fc2e13fdc636ea3a025f75a8ed166fcf3157c06d | [
"Apache-2.0"
] | 24 | 2020-03-25T07:50:44.000Z | 2022-01-08T15:28:14.000Z | client-lib/src/main/kotlin/com/icapps/niddler/lib/model/bodyparser/PlainTextBodyParser.kt | Chimerapps/niddler-ui | fc2e13fdc636ea3a025f75a8ed166fcf3157c06d | [
"Apache-2.0"
] | 21 | 2019-11-19T10:29:19.000Z | 2022-01-05T14:05:57.000Z | client-lib/src/main/kotlin/com/icapps/niddler/lib/model/bodyparser/PlainTextBodyParser.kt | Chimerapps/niddler-ui | fc2e13fdc636ea3a025f75a8ed166fcf3157c06d | [
"Apache-2.0"
] | 1 | 2020-09-03T18:48:39.000Z | 2020-09-03T18:48:39.000Z | package com.icapps.niddler.lib.model.bodyparser
import com.icapps.niddler.lib.model.BodyFormat
import com.icapps.niddler.lib.model.BodyParser
/**
* @author Nicola Verbeeck
*
* Parses the body as text. If no charset was specified by the format, assumes UTF-8
*/
class PlainTextBodyParser : BodyParser<String> {
... | 27.210526 | 84 | 0.713733 |
18ea418d8ea08fb6e0eac2d820dcf1b46ab21821 | 920 | rb | Ruby | spec/integration/installation_spec.rb | jcoyne/mods_display | 36e5bf7247fd7aa7892247af48033afaee2fd76b | [
"MIT"
] | 3 | 2017-11-29T17:37:02.000Z | 2022-01-30T00:58:03.000Z | spec/integration/installation_spec.rb | jcoyne/mods_display | 36e5bf7247fd7aa7892247af48033afaee2fd76b | [
"MIT"
] | 46 | 2015-02-04T00:16:32.000Z | 2022-03-08T21:43:25.000Z | spec/integration/installation_spec.rb | jcoyne/mods_display | 36e5bf7247fd7aa7892247af48033afaee2fd76b | [
"MIT"
] | 2 | 2017-07-14T13:12:31.000Z | 2020-03-13T15:01:59.000Z | require 'spec_helper'
describe 'Installation' do
before(:all) do
@pieces_of_data = 1
title_xml = '<mods><titleInfo><title>The Title of this Item</title></titleInfo></mods>'
model = TestModel.new
model.modsxml = title_xml
controller = TestController.new
@html = controller.render_mods_display(m... | 34.074074 | 91 | 0.668478 |
713360180a6c3bd506f03c6617e4e110eae1b51c | 5,242 | ts | TypeScript | Code/Websites/DanpheEMR/wwwroot/DanpheApp/src/app/accounting/settings/reverse-transaction/reverse-transaction.component.ts | MenkaChaugule/hospital-management-emr | 6c9afb0cda5ca4f8ea726e083f57b7a16a35a58d | [
"MIT"
] | 1 | 2022-03-03T09:53:27.000Z | 2022-03-03T09:53:27.000Z | Code/Websites/DanpheEMR/wwwroot/DanpheApp/src/app/accounting/settings/reverse-transaction/reverse-transaction.component.ts | MenkaChaugule/hospital-management-emr | 6c9afb0cda5ca4f8ea726e083f57b7a16a35a58d | [
"MIT"
] | null | null | null | Code/Websites/DanpheEMR/wwwroot/DanpheApp/src/app/accounting/settings/reverse-transaction/reverse-transaction.component.ts | MenkaChaugule/hospital-management-emr | 6c9afb0cda5ca4f8ea726e083f57b7a16a35a58d | [
"MIT"
] | 3 | 2022-02-01T03:55:18.000Z | 2022-02-02T07:31:08.000Z | import { Component } from "@angular/core";
import { FiscalYearModel } from '../shared/fiscalyear.model';
import * as moment from 'moment/moment';
import { MessageboxService } from '../../../shared/messagebox/messagebox.service';
import { CommonFunctions } from '../../../shared/common.functions';
import { ReverseTransac... | 40.953125 | 200 | 0.655284 |
1f92d5dd394ae7fea1310c2c8784a4b2d346d92d | 33 | html | HTML | frontend/src/app/modules/login/login.component.html | tamasf97/Platform | b5d69d051b6e8dc7d56f723146392c49db5e99c3 | [
"MIT"
] | 1 | 2019-09-22T10:21:17.000Z | 2019-09-22T10:21:17.000Z | frontend/src/app/modules/login/login.component.html | tamasf97/Platform | b5d69d051b6e8dc7d56f723146392c49db5e99c3 | [
"MIT"
] | 20 | 2019-09-26T13:54:12.000Z | 2022-02-26T18:07:34.000Z | frontend/src/app/modules/login/login.component.html | tamasf97/Platform | b5d69d051b6e8dc7d56f723146392c49db5e99c3 | [
"MIT"
] | 1 | 2019-09-20T09:50:01.000Z | 2019-09-20T09:50:01.000Z | <div id="login">
LOGIN
</div> | 11 | 16 | 0.545455 |
c486eac0b33f5ca84ebca0abd2dc97e8a8c15010 | 4,862 | h | C | animer/AnimAsset.h | Benjins/GBADev | 0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90 | [
"MIT"
] | null | null | null | animer/AnimAsset.h | Benjins/GBADev | 0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90 | [
"MIT"
] | null | null | null | animer/AnimAsset.h | Benjins/GBADev | 0a968a1aa1ee38b57644a1bb8d27f2c5332e3c90 | [
"MIT"
] | null | null | null | typedef struct{
char* fileName;
BitmapData spriteData;
int duration;
} AnimKeyFrame;
typedef struct{
char* name;
AnimKeyFrame* keyFrames;
int keyFrameCount;
} AnimClip;
typedef struct{
AnimClip* animClips;
int animClipCount;
} AnimAsset;
void AddAnimClip(AnimAsset* asset, AnimClip clip){
AnimClip* newAnimCl... | 28.769231 | 99 | 0.684081 |
22f896df77d15b8efde57fd97be66ed72048e726 | 173 | h | C | GamePlatformService/ViewController.h | panshengneng/GamePlatformService | 60a06148f4756544345888ffe919cbdd9b8b09c3 | [
"MIT"
] | null | null | null | GamePlatformService/ViewController.h | panshengneng/GamePlatformService | 60a06148f4756544345888ffe919cbdd9b8b09c3 | [
"MIT"
] | null | null | null | GamePlatformService/ViewController.h | panshengneng/GamePlatformService | 60a06148f4756544345888ffe919cbdd9b8b09c3 | [
"MIT"
] | null | null | null | //
// ViewController.h
// GamePlatformService
//
// Created by Anonymous on 2020/10/14.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 11.533333 | 44 | 0.699422 |
169a9f38929648a637c807d62b930370a56d0147 | 897 | ts | TypeScript | src/app/assignment-5/app.component.ts | marianfx/ng-udemy-files | 0ee52e4e3aa9852128a10dbde82e4a08b62595fc | [
"MIT"
] | null | null | null | src/app/assignment-5/app.component.ts | marianfx/ng-udemy-files | 0ee52e4e3aa9852128a10dbde82e4a08b62595fc | [
"MIT"
] | 86 | 2020-07-16T23:38:29.000Z | 2021-02-07T12:44:07.000Z | src/app/assignment-5/app.component.ts | marianfx/ng-udemy-files | 0ee52e4e3aa9852128a10dbde82e4a08b62595fc | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { UsersService } from './services/users.service';
import { CounterService } from './services/counter.service';
@Component({
selector: 'app-assignment-5',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent ... | 34.5 | 101 | 0.733556 |
2f23d5d8b704409db5e1dcce1c2079fcb23b8e17 | 992 | php | PHP | database/seeds/AuthorsTableSeeder.php | DiankaDS/Library | a2973aa5ae7bf624d7d646d97537d5a7eb7efd91 | [
"MIT"
] | null | null | null | database/seeds/AuthorsTableSeeder.php | DiankaDS/Library | a2973aa5ae7bf624d7d646d97537d5a7eb7efd91 | [
"MIT"
] | null | null | null | database/seeds/AuthorsTableSeeder.php | DiankaDS/Library | a2973aa5ae7bf624d7d646d97537d5a7eb7efd91 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
use App\Author;
class AuthorsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
Author::create([
'name' => 'Agatha Christie',
]);
Author::create([
... | 17.714286 | 44 | 0.417339 |
90a1d074d62574d9b16e548c2dd833cf49d7b326 | 2,650 | py | Python | d3p1.py | Maselkov/advent-of-code | c7af55c51df23aa4f010fefbabdae67c8b8061d5 | [
"MIT"
] | null | null | null | d3p1.py | Maselkov/advent-of-code | c7af55c51df23aa4f010fefbabdae67c8b8061d5 | [
"MIT"
] | null | null | null | d3p1.py | Maselkov/advent-of-code | c7af55c51df23aa4f010fefbabdae67c8b8061d5 | [
"MIT"
] | null | null | null | import math
def det(a, b, c, d):
return a * d - b * c
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
def lies_on(self, segment):
return Segment(segment.a, self).length + Segment(
segment.b, self).length == segment.length
class Segment:
def __init_... | 31.927711 | 72 | 0.543396 |
f05627e41afebb60a0b22bc0ca7664fa52167d7c | 264 | js | JavaScript | util/value.js | lddias/homebridge-platform-zwave | 4ba12116b47e8bd355605354dedeaec7cd7dcd71 | [
"MIT"
] | 11 | 2019-07-25T18:50:29.000Z | 2022-01-20T17:34:19.000Z | util/value.js | lddias/homebridge-platform-zwave | 4ba12116b47e8bd355605354dedeaec7cd7dcd71 | [
"MIT"
] | 17 | 2019-11-17T06:27:21.000Z | 2022-03-11T21:29:49.000Z | util/value.js | lddias/homebridge-platform-zwave | 4ba12116b47e8bd355605354dedeaec7cd7dcd71 | [
"MIT"
] | 7 | 2019-12-28T16:08:20.000Z | 2021-09-05T19:24:28.000Z | function map(inMin, inMax, outMin, outMax, isInt) {
if (isInt) {
return x => Math.round((x - inMin) * (outMax - outMin) / (inMax - inMin) + outMin);
}
return x => (x - inMin) * (outMax - outMin) / (inMax - inMin) + outMin;
}
module.exports = {
map
}
| 22 | 87 | 0.575758 |
27b453e1c93a5f2be54e9cf4242950a0f6b0a1b8 | 159 | css | CSS | css/stylish.css | Helenovs/Portfolio | e53407b31dd11958b923f9092f82d693579214f1 | [
"MIT"
] | null | null | null | css/stylish.css | Helenovs/Portfolio | e53407b31dd11958b923f9092f82d693579214f1 | [
"MIT"
] | null | null | null | css/stylish.css | Helenovs/Portfolio | e53407b31dd11958b923f9092f82d693579214f1 | [
"MIT"
] | null | null | null | .color-1 {
color: #6bffff;
}
.color-2 {
color: #6bffff;
font-size: 60px;
}
.image-size {
height: 50px;
width: 50px;
}
.icon-size {
size: 10%;
}
| 9.9375 | 18 | 0.553459 |
716f3057ffbf82379104bd89ef6078f3d9e690f5 | 30,054 | swift | Swift | PrefControlsController.swift | Flames-LLC/FlamesEMU | f92287f63ad2f974f52c6ce57c4b9af22a5a31aa | [
"MIT"
] | null | null | null | PrefControlsController.swift | Flames-LLC/FlamesEMU | f92287f63ad2f974f52c6ce57c4b9af22a5a31aa | [
"MIT"
] | null | null | null | PrefControlsController.swift | Flames-LLC/FlamesEMU | f92287f63ad2f974f52c6ce57c4b9af22a5a31aa | [
"MIT"
] | null | null | null | // Copyright (c) 2021, OpenEmu Team
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following d... | 38.383142 | 272 | 0.636288 |
40cc1ed708457459d9fdfad35ca557c73d502412 | 11,035 | html | HTML | data/political/2012-2021-house-senate-congressional-districts/index.html | brigsz/agrc.github.io | 1d2d85f4d64648aa7c01c37b4a841e60c4bc691d | [
"MIT"
] | null | null | null | data/political/2012-2021-house-senate-congressional-districts/index.html | brigsz/agrc.github.io | 1d2d85f4d64648aa7c01c37b4a841e60c4bc691d | [
"MIT"
] | 1 | 2018-09-11T20:03:06.000Z | 2018-09-11T23:40:25.000Z | data/political/2012-2021-house-senate-congressional-districts/index.html | brigsz/agrc.github.io | 1d2d85f4d64648aa7c01c37b4a841e60c4bc691d | [
"MIT"
] | null | null | null | ---
layout: page
status: publish
published: true
title: 2012 - 2021 House, Senate, School Board, and Congressional Districts
author:
display_name: Jessie Pechmann
login: jpechmann
email: jpechmann@utah.gov
url: ''
author_login: jpechmann
author_email: jpechmann@utah.gov
wordpress_id: 4096
wordpress_url: http://... | 52.051887 | 641 | 0.726778 |
774c7c53dca0ffa973c56425cfaf0d9c032d9053 | 2,382 | html | HTML | catalog/templates/catalog/product_details.html | cyrildzumts/django-catalog | 5857c6e4ceddedfe0c5f714e4cc6b858e953feb7 | [
"BSD-3-Clause"
] | null | null | null | catalog/templates/catalog/product_details.html | cyrildzumts/django-catalog | 5857c6e4ceddedfe0c5f714e4cc6b858e953feb7 | [
"BSD-3-Clause"
] | null | null | null | catalog/templates/catalog/product_details.html | cyrildzumts/django-catalog | 5857c6e4ceddedfe0c5f714e4cc6b858e953feb7 | [
"BSD-3-Clause"
] | null | null | null | {% extends "base_flat.html" %}
{%block banner_extra%}
<div class="card-flat-category">
<ul class="breadcrumb">
{% for c in product.cats_path %}
<li><a href="{{c.get_absolute_url}}">{{c.name}}</a></li>
{% endfor %}
</ul>
</div>
{%endblock banner_extra%}
{%block content_header%}
<div cl... | 31.76 | 114 | 0.569689 |
f653b34021c7e662d769199dfc57552e367f75a6 | 3,887 | asm | Assembly | Transynther/x86/_processed/US/_zr_un_/i3-7100_9_0x84_notsx.log_867_1366.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_un_/i3-7100_9_0x84_notsx.log_867_1366.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_un_/i3-7100_9_0x84_notsx.log_867_1366.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r15
push %rbp
push %rbx
push %rdi
// Store
lea addresses_A+0x1d32c, %r10
nop
nop
xor %r15, %r15
mov $0x5152535455565758, %r11
movq %r11, %xmm1
vmovups %ymm1, (%r10)
xor $29832, %r15
// Store
... | 58.893939 | 2,600 | 0.658348 |
f71daa48c1b874a70df257a5582efcffa3d58f6c | 254 | h | C | src/workflow/get_mnemonic_passphrase.h | conte91/bitbox02-firmware | 8a3b311583c33e70fd8a99e2247004d8eaf406df | [
"Apache-2.0"
] | null | null | null | src/workflow/get_mnemonic_passphrase.h | conte91/bitbox02-firmware | 8a3b311583c33e70fd8a99e2247004d8eaf406df | [
"Apache-2.0"
] | null | null | null | src/workflow/get_mnemonic_passphrase.h | conte91/bitbox02-firmware | 8a3b311583c33e70fd8a99e2247004d8eaf406df | [
"Apache-2.0"
] | null | null | null | #ifndef _GET_MNEMONIC_PASSPHRASE_H
#define _GET_MNEMONIC_PASSPHRASE_H
#include <stdbool.h>
#include "workflow.h"
workflow_t* workflow_get_mnemonic_passphrase(void (*callback)(char*, void*), void* callback_param);
#endif // _GET_MNEMONIC_PASSPHRASE_H
| 23.090909 | 99 | 0.811024 |
400e567e3e0141a2004ade382fb77d87fe771212 | 2,219 | py | Python | robo_trace_evaluation/src/experiments/b/evaluate.py | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | robo_trace_evaluation/src/experiments/b/evaluate.py | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | robo_trace_evaluation/src/experiments/b/evaluate.py | tu-darmstadt-ros-pkg/robo_trace | 60ce64d60110597a0c077aa31199481c20d164b2 | [
"BSD-3-Clause"
] | null | null | null | import os
import logging
import sys
sys.path.append('../../')
from loader import *
from parameters import *
from plotting import *
logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO)
def create_tag_provider(include_topic):
def get_tags(name):
tags = name.split("/")[-1].split("... | 27.395062 | 75 | 0.541685 |
85b4a044771cf40c388755b5e3a6c02de7ccb1f1 | 14,291 | c | C | class/me3616/at_socket_me3616.c | liukangcc/at_device | 86390375518a421e5d58ec481ced484c349e8a76 | [
"Apache-2.0"
] | null | null | null | class/me3616/at_socket_me3616.c | liukangcc/at_device | 86390375518a421e5d58ec481ced484c349e8a76 | [
"Apache-2.0"
] | null | null | null | class/me3616/at_socket_me3616.c | liukangcc/at_device | 86390375518a421e5d58ec481ced484c349e8a76 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-12-30 qiyongzhong first version
*/
#include <stdio.h>
#include <string.h>
#include <at_device_me3616.h>
#define LOG_TAG "at.... | 24.47089 | 129 | 0.601078 |
22d4898413efb6c685e61286cc3f58b6520cf130 | 2,943 | h | C | db/rocksdb_db.h | ldeng-ustc/YCSB-C | b1efdf1a27548ee04f61e6404e3a85b717271fb6 | [
"Apache-2.0"
] | null | null | null | db/rocksdb_db.h | ldeng-ustc/YCSB-C | b1efdf1a27548ee04f61e6404e3a85b717271fb6 | [
"Apache-2.0"
] | null | null | null | db/rocksdb_db.h | ldeng-ustc/YCSB-C | b1efdf1a27548ee04f61e6404e3a85b717271fb6 | [
"Apache-2.0"
] | null | null | null | //
// rocksdb_db.h
// YCSB-C
//
#ifndef YCSB_C_ROCKSDB_DB_H_
#define YCSB_C_ROCKSDB_DB_H_
#include "core/db.h"
#include <iostream>
#include <string>
#include <vector>
#include <mutex>
#include "core/properties.h"
#include "tbb/concurrent_unordered_map.h"
#include "rocksdb/db.h"
namespace ycsbc {
class RocksDB : ... | 28.852941 | 105 | 0.700985 |
d17e46389337ccc98ef2d4556149880add918a7e | 2,631 | swift | Swift | plugin_mods/speechrecognition/org.apache.cordova.speech.speechrecognition/src/ios/CDVSpeechRecognition.swift | fq-selbach/sepia-html-client-app | 624b8fc6ec703cc2bd4f7253b64c9fbca0385f6c | [
"MIT"
] | 38 | 2018-06-19T07:39:03.000Z | 2022-03-14T18:44:25.000Z | plugin_mods/speechrecognition/org.apache.cordova.speech.speechrecognition/src/ios/CDVSpeechRecognition.swift | fq-selbach/sepia-html-client-app | 624b8fc6ec703cc2bd4f7253b64c9fbca0385f6c | [
"MIT"
] | 5 | 2018-12-18T18:03:36.000Z | 2021-04-24T07:51:54.000Z | plugin_mods/speechrecognition/org.apache.cordova.speech.speechrecognition/src/ios/CDVSpeechRecognition.swift | fq-selbach/sepia-html-client-app | 624b8fc6ec703cc2bd4f7253b64c9fbca0385f6c | [
"MIT"
] | 10 | 2019-01-03T18:12:49.000Z | 2022-03-09T09:50:49.000Z | /**
# Cordova Plugin Speech Recognition for iOS.
Add the voice recognition function to the application using the Siri API.
Target OS Version : iOS(ver 10.0 or Higher)
copyright (C) 2016 SOHKAKUDO Ltd. All Rights Reserved.
*/
@objc(CDVSpeechRecognition) class SpeechRecognition : CDVPlugin, SpeechRecognitionDele... | 41.109375 | 110 | 0.647662 |
269e0002d5411dd5771a9a067a9b5d52fd5b785f | 1,595 | java | Java | src/dao/custom/impl/OrderDetailDAOImpl.java | IrushiSalwathura/point-of-sales-system-layered | 74f4fcc6febf6239ebe93d54014fc0d049c9c3fd | [
"MIT"
] | null | null | null | src/dao/custom/impl/OrderDetailDAOImpl.java | IrushiSalwathura/point-of-sales-system-layered | 74f4fcc6febf6239ebe93d54014fc0d049c9c3fd | [
"MIT"
] | null | null | null | src/dao/custom/impl/OrderDetailDAOImpl.java | IrushiSalwathura/point-of-sales-system-layered | 74f4fcc6febf6239ebe93d54014fc0d049c9c3fd | [
"MIT"
] | null | null | null | package dao.custom.impl;
import dao.CrudUtil;
import dao.custom.OrderDetailDAO;
import entity.OrderDetail;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
public class OrderDetailDAOImpl implements OrderDetailDAO {
public List<OrderDetail> findAll() thr... | 37.97619 | 185 | 0.697806 |
4be993361ede6ddc6f90a12dff57d0bc747c4039 | 424 | swift | Swift | Framework/Framework.swift | eunikolsky/XCTestExtensions | 9fd40d3ce0d8e13bfb98f09c460b19802e07d0f0 | [
"MIT"
] | null | null | null | Framework/Framework.swift | eunikolsky/XCTestExtensions | 9fd40d3ce0d8e13bfb98f09c460b19802e07d0f0 | [
"MIT"
] | null | null | null | Framework/Framework.swift | eunikolsky/XCTestExtensions | 9fd40d3ce0d8e13bfb98f09c460b19802e07d0f0 | [
"MIT"
] | null | null | null | //
// Framework.swift
// Framework
//
// Created by u on 28.11.20.
// Copyright (c) 2020 yes. All rights reserved.
//
import Foundation
/// Framework's public namespace.
public enum Framework {}
public extension Framework {
/// The magic number defined by this framework.
static let magicNumber = 42
//... | 20.190476 | 60 | 0.688679 |
166e84622a2b59f4382edcdf58a9488278db483e | 2,140 | ts | TypeScript | scripts/components/LviReview.ts | smartface/sample-mcommerce | 4d3321e35445a171af489b56d9320dcfc852ad9b | [
"MIT"
] | 2 | 2021-12-22T12:16:15.000Z | 2022-03-01T10:50:03.000Z | scripts/components/LviReview.ts | smartface/sample-mcommerce | 4d3321e35445a171af489b56d9320dcfc852ad9b | [
"MIT"
] | 3 | 2022-01-18T15:21:12.000Z | 2022-03-09T07:52:59.000Z | scripts/components/LviReview.ts | smartface/sample-mcommerce | 4d3321e35445a171af489b56d9320dcfc852ad9b | [
"MIT"
] | 2 | 2021-12-19T19:35:45.000Z | 2022-01-17T06:07:02.000Z | import Screen from '@smartface/native/device/screen';
import { REVIEW_MAX_LINE } from 'constants';
import LviReviewDesign from 'generated/my-components/LviReview';
import { setTextDimensions } from 'lib/setTextDimensions';
import { themeService } from 'theme';
const {
paddingBottom: reviewPaddingBottom,
padding... | 36.271186 | 140 | 0.689252 |
331f06145206acb198e0044dbd6333cd441dd2cf | 1,073 | py | Python | doc/programming/parts/python-columninfo.py | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | 16 | 2018-04-23T09:58:33.000Z | 2022-01-31T13:40:20.000Z | doc/programming/parts/python-columninfo.py | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | null | null | null | doc/programming/parts/python-columninfo.py | laigor/sqlrelay-non-english-fixes- | 7803f862ddbf88bca078c50d621c64c22fc0a405 | [
"PHP-3.01",
"CC-BY-3.0"
] | 4 | 2020-12-23T12:17:54.000Z | 2022-01-04T20:46:34.000Z | from SQLRelay import PySQLRClient
con=PySQLRClient.sqlrconnection('sqlrserver',9000,'/tmp/example.socket','user','password',0,1)
cur=PySQLRClient.sqlrcursor(con)
cur.sendQuery('select * from my_table')
con.endSession()
for i in range(0,cur.colCount()-1):
print 'Name: ', cur.getColumnName(i)
... | 44.708333 | 94 | 0.629077 |
1cfbeab2c4345333ce57fe3e20b3c09ff5015f89 | 963 | swift | Swift | Sources/Client/Named.swift | Bloombox/Swift | f69072ce6854cd617bdb9d4c9290698d861bffba | [
"Apache-2.0"
] | 6 | 2017-12-16T19:25:30.000Z | 2021-08-19T05:19:51.000Z | Sources/Client/Named.swift | Bloombox/Swift | f69072ce6854cd617bdb9d4c9290698d861bffba | [
"Apache-2.0"
] | 49 | 2018-02-09T02:23:46.000Z | 2020-03-10T09:11:56.000Z | Sources/Client/Named.swift | Bloombox/Swift | f69072ce6854cd617bdb9d4c9290698d861bffba | [
"Apache-2.0"
] | 3 | 2017-12-15T23:51:20.000Z | 2018-10-16T22:14:34.000Z | /**
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishi... | 38.52 | 82 | 0.76947 |
bfb63fbdfb2a37f1d78b87f821478b3251c2ab1c | 14,266 | sql | SQL | Wornak.sql | Smarty-pro/wornak | 2944154c437d963d5340dd5a46bd0c0cc5074e8d | [
"MIT"
] | null | null | null | Wornak.sql | Smarty-pro/wornak | 2944154c437d963d5340dd5a46bd0c0cc5074e8d | [
"MIT"
] | 5 | 2021-05-22T10:23:35.000Z | 2022-02-27T09:06:48.000Z | Wornak.sql | Smarty-pro/wornak | 2944154c437d963d5340dd5a46bd0c0cc5074e8d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Hôte : localhost
-- Généré le : Dim 27 déc. 2020 à 22:51
-- Version du serveur : 10.4.10-MariaDB
-- Version de PHP : 7.3.12
SET
SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET
time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SE... | 40.185915 | 198 | 0.646712 |
10a974cb7690097fec9ed3869840115b7e337cf9 | 2,928 | asm | Assembly | programs/oeis/085/A085462.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/085/A085462.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/085/A085462.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A085462: Number of 5-tuples (v1,v2,v3,v4,v5) of nonnegative integers less than n such that v1<=v4, v1<=v5, v2<=v4 and v3<=v4.
; 1,14,77,273,748,1729,3542,6630,11571,19096,30107,45695,67158,96019,134044,183260,245973,324786,422617,542717,688688,864501,1074514,1323490,1616615,1959516,2358279,2819467,3350138,3957863,465... | 209.142857 | 2,638 | 0.877732 |
2a0caab19813bd2949c17249a304e651752c4bf5 | 3,565 | java | Java | src/main/java/io/drakon/flightpath/forge/ASMDataTableLocator.java | Emberwalker/Flightpath | 0024d1a93642e316553efb048527213d5294cfab | [
"MIT"
] | 1 | 2016-02-07T17:31:23.000Z | 2016-02-07T17:31:23.000Z | src/main/java/io/drakon/flightpath/forge/ASMDataTableLocator.java | Emberwalker/Flightpath | 0024d1a93642e316553efb048527213d5294cfab | [
"MIT"
] | 2 | 2016-01-03T22:16:16.000Z | 2017-01-23T14:24:32.000Z | src/main/java/io/drakon/flightpath/forge/ASMDataTableLocator.java | Emberwalker/Flightpath | 0024d1a93642e316553efb048527213d5294cfab | [
"MIT"
] | null | null | null | package io.drakon.flightpath.forge;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.SetMultimap;
import io.drakon.flightpath.Airdrop;
import io.drakon.flightpath.ISubscriberLocator;
import io.drakon.flightpath.lib.AnnotationLocator;
import io.drakon.flightpath.lib.Pair;
import n... | 39.611111 | 139 | 0.696494 |
852a3df002d64f338f11e6425c812b48751a497b | 123 | lua | Lua | src/Core/Shared/Modules/Serializer.lua | Hasnain123Raza/core | 71c8da01eb964d1ce35d3e834b46af1a6857ed87 | [
"MIT"
] | null | null | null | src/Core/Shared/Modules/Serializer.lua | Hasnain123Raza/core | 71c8da01eb964d1ce35d3e834b46af1a6857ed87 | [
"MIT"
] | null | null | null | src/Core/Shared/Modules/Serializer.lua | Hasnain123Raza/core | 71c8da01eb964d1ce35d3e834b46af1a6857ed87 | [
"MIT"
] | null | null | null | local main = require(game.Nanoblox)
local Serializer = require(main.shared.Packages.UserStore.Serializer)
return Serializer | 41 | 69 | 0.837398 |
2694b3a5ca74cde69851218db9ca2c3a12184fa1 | 11,873 | java | Java | src/core/mwin_modules/TranslationModule.java | tradfursten/MonkeyCrypt | 2cdc44118430acb9b5c48c2e21aff60efbcc209e | [
"MIT"
] | null | null | null | src/core/mwin_modules/TranslationModule.java | tradfursten/MonkeyCrypt | 2cdc44118430acb9b5c48c2e21aff60efbcc209e | [
"MIT"
] | null | null | null | src/core/mwin_modules/TranslationModule.java | tradfursten/MonkeyCrypt | 2cdc44118430acb9b5c48c2e21aff60efbcc209e | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package core.mwin_modules;
import frame.*;
import core.Translator;
import javax.swing.DefaultComboBoxModel;
import javax.swing... | 66.702247 | 116 | 0.717763 |
1337e1df33b423b76cbc6e55c527b19bc1906ea1 | 95 | c | C | testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr43661.c | mewbak/cc-1 | d673e9b70d4d716fd96e81a4d7dc9d532c6c0391 | [
"BSD-3-Clause"
] | 178 | 2016-03-03T12:31:18.000Z | 2021-11-05T22:36:55.000Z | testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr43661.c | mewbak/cc-1 | d673e9b70d4d716fd96e81a4d7dc9d532c6c0391 | [
"BSD-3-Clause"
] | 106 | 2016-03-03T13:11:42.000Z | 2018-09-27T13:01:51.000Z | testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/compile/pr43661.c | mewbak/cc-1 | d673e9b70d4d716fd96e81a4d7dc9d532c6c0391 | [
"BSD-3-Clause"
] | 21 | 2016-03-03T14:21:36.000Z | 2020-04-09T01:19:17.000Z | int
func (int x)
{
return 0 ? (unsigned short) (0 ? : 1 * (signed char) (x ^ x) >= 0) : 1;
}
| 15.833333 | 73 | 0.494737 |
c7b9ebf28ebb3f6f21a8d6ac646757b821959b97 | 1,608 | py | Python | module4/MyRen.py | SelimBenIsmail/tac | 162956a54d3dfd61a0b772ca86c694503c672554 | [
"MIT"
] | null | null | null | module4/MyRen.py | SelimBenIsmail/tac | 162956a54d3dfd61a0b772ca86c694503c672554 | [
"MIT"
] | null | null | null | module4/MyRen.py | SelimBenIsmail/tac | 162956a54d3dfd61a0b772ca86c694503c672554 | [
"MIT"
] | null | null | null | """Named-entity recognition with SpaCy"""
from collections import defaultdict
import sys
import os
import spacy
from spacy.lang.fr.examples import sentences
nlp = spacy.load('fr_core_news_sm')
def test():
"""Basic test on sample sentences"""
for sent in sentences:
doc = nlp(sent)
entities =... | 30.923077 | 89 | 0.563433 |
907f0a6773e5dc92e4ce3a0c5c1b24e345787a9f | 1,389 | py | Python | satori.core/satori/core/management/commands/start.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 4 | 2021-01-05T01:35:36.000Z | 2021-12-13T00:05:14.000Z | satori.core/satori/core/management/commands/start.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2020-06-06T01:12:07.000Z | 2020-06-06T01:16:01.000Z | satori.core/satori/core/management/commands/start.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2021-01-05T01:33:30.000Z | 2021-03-06T13:48:21.000Z | # vim:ts=4:sts=4:sw=4:expandtab
from django.conf import settings
from django.core.management.base import NoArgsCommand
from optparse import make_option
import os
from setproctitle import setproctitle
from signal import signal, SIGINT, SIGHUP, SIGTERM
import signal as signal_module
import sys... | 28.346939 | 96 | 0.634269 |
fcda12b729e7cbc817c6e3facf028035aac8cc72 | 3,560 | css | CSS | docs/dragscroll.css | xaunvih/dragscroll | 7b1225ce4d7ce1bb4c90c0b0f88b444119c9ae11 | [
"MIT"
] | 6 | 2021-01-20T08:56:13.000Z | 2021-12-31T08:36:31.000Z | docs/dragscroll.css | xaunvih/dragscroll | 7b1225ce4d7ce1bb4c90c0b0f88b444119c9ae11 | [
"MIT"
] | null | null | null | docs/dragscroll.css | xaunvih/dragscroll | 7b1225ce4d7ce1bb4c90c0b0f88b444119c9ae11 | [
"MIT"
] | null | null | null | /*!
*
* Copyright (c) 2020 XuanVinh
* name: dragscroll-ts
* license: MIT
* author: vinhmai <vinhmai079@gmail.com>
* repository: git+https://github.com/xaunvih/dragscroll-ts
* version: 1.0.3
*/
button,input,optgroup,select,textarea{font:inherit;font-family:inherit;font-size:100%;margin:0... | 323.636364 | 3,333 | 0.797472 |
9d3d2d64f28ac83598b1ad830fcda16f944acaf5 | 7,637 | html | HTML | external/SFMT-src-1.4/jump/html/namespacesfmt.html | suomela/types | b85c6e623b4a3a463b90b850494a2cfd4c83c595 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"BSD-3-Clause"
] | 4 | 2015-05-06T06:01:14.000Z | 2021-09-07T13:21:43.000Z | external/SFMT-src-1.4/jump/html/namespacesfmt.html | suomela/types | b85c6e623b4a3a463b90b850494a2cfd4c83c595 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"BSD-3-Clause"
] | 2 | 2016-02-20T23:34:06.000Z | 2018-10-29T22:46:38.000Z | external/SFMT-src-1.4/jump/html/namespacesfmt.html | suomela/types | b85c6e623b4a3a463b90b850494a2cfd4c83c595 | [
"MIT",
"Unlicense",
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2016-02-25T12:21:32.000Z | 2016-02-25T12:21:32.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>SFMT-jump: sfmt Nam... | 37.806931 | 343 | 0.616865 |
9d403b3d24d1c49d17a7ea3b72e811928fc4a3f3 | 1,259 | kt | Kotlin | src/main/kotlin/SpecialSync/App.kt | minionprocyk/SpecialSync | bebab02579d37b781eb52e79ec25982a83248c0a | [
"MIT"
] | null | null | null | src/main/kotlin/SpecialSync/App.kt | minionprocyk/SpecialSync | bebab02579d37b781eb52e79ec25982a83248c0a | [
"MIT"
] | null | null | null | src/main/kotlin/SpecialSync/App.kt | minionprocyk/SpecialSync | bebab02579d37b781eb52e79ec25982a83248c0a | [
"MIT"
] | null | null | null | package SpecialSync
import SpecialSync.modules.SyncModule
import com.authzee.kotlinguice4.getInstance
import com.google.inject.Guice
import main.kotlin.SpecialSync.SyncHandler
import java.nio.file.Paths
fun usage() {
print("""
Usage: sps <source> <outdir>
e.g. specialsync /home/user/documents /mn... | 35.971429 | 120 | 0.692613 |
8c3fe33e4c104df947ae9476d654aa1e04500117 | 479 | swift | Swift | Package.swift | Hengyu/Onboarding | 274b655d4345b5109c41db954bdbc3f4fb1dc051 | [
"MIT"
] | null | null | null | Package.swift | Hengyu/Onboarding | 274b655d4345b5109c41db954bdbc3f4fb1dc051 | [
"MIT"
] | null | null | null | Package.swift | Hengyu/Onboarding | 274b655d4345b5109c41db954bdbc3f4fb1dc051 | [
"MIT"
] | null | null | null | // swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Onboarding",
platforms: [.iOS(.v11), .tvOS(.v11)],
products: [
.library(name: "Onboarding", targets: ["Onboarding"])
... | 28.176471 | 96 | 0.647182 |
b74cdef749d1ef6ba1fb26300984066e3a966ec9 | 1,307 | swift | Swift | UnsplashPhotoPicker/UnsplashPhotoPicker/Classes/Controllers/UnsplashPhotoPickerPreviewViewController.swift | CraftizLtd/unsplash-photopicker-ios | 46d6a2508f065f9a6ca7b2c9561a6f3eab4a960e | [
"MIT"
] | null | null | null | UnsplashPhotoPicker/UnsplashPhotoPicker/Classes/Controllers/UnsplashPhotoPickerPreviewViewController.swift | CraftizLtd/unsplash-photopicker-ios | 46d6a2508f065f9a6ca7b2c9561a6f3eab4a960e | [
"MIT"
] | null | null | null | UnsplashPhotoPicker/UnsplashPhotoPicker/Classes/Controllers/UnsplashPhotoPickerPreviewViewController.swift | CraftizLtd/unsplash-photopicker-ios | 46d6a2508f065f9a6ca7b2c9561a6f3eab4a960e | [
"MIT"
] | 1 | 2021-04-01T07:23:56.000Z | 2021-04-01T07:23:56.000Z | //
// UnsplashPhotoPickerPreviewViewController.swift
// UnsplashPhotoPicker
//
// Created by Bichon, Nicolas on 2018-11-04.
// Copyright © 2018 Unsplash. All rights reserved.
//
import UIKit
import AVFoundation
class UnsplashPhotoPickerPreviewViewController: UIViewController {
private lazy var photoImageView... | 27.229167 | 81 | 0.674063 |
26ab619f3e11407f500dd61f2f813043604018ec | 958 | java | Java | core/src/sk/tuke/gamedev/iddqd/tukequest/levels/PorubanFirstLevel.java | scscgit/TukeQuest | d743a8bac2beb4fb94e38d2050fcd984ae9534ca | [
"Apache-2.0"
] | 2 | 2017-05-02T13:14:15.000Z | 2018-03-06T13:06:51.000Z | core/src/sk/tuke/gamedev/iddqd/tukequest/levels/PorubanFirstLevel.java | scscgit/TukeQuest | d743a8bac2beb4fb94e38d2050fcd984ae9534ca | [
"Apache-2.0"
] | 46 | 2017-03-24T14:31:17.000Z | 2017-05-02T10:29:13.000Z | core/src/sk/tuke/gamedev/iddqd/tukequest/levels/PorubanFirstLevel.java | scscgit/TukeQuest | d743a8bac2beb4fb94e38d2050fcd984ae9534ca | [
"Apache-2.0"
] | 2 | 2019-11-30T13:11:54.000Z | 2021-02-07T00:07:12.000Z | package sk.tuke.gamedev.iddqd.tukequest.levels;
import com.badlogic.gdx.math.Vector2;
import sk.tuke.gamedev.iddqd.tukequest.actors.game.Background;
import sk.tuke.gamedev.iddqd.tukequest.actors.game.VerticalWall;
import sk.tuke.gamedev.iddqd.tukequest.actors.game.platforms.Platform;
import sk.tuke.gamedev.iddqd.tukeq... | 29.9375 | 70 | 0.706681 |
3be8d499a099cb654035e499ca9c00bfa7b6f940 | 324 | h | C | openwrt-18.06/target/linux/at91/image/dfboot/src/config.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 1,144 | 2018-12-18T09:46:47.000Z | 2022-03-07T14:51:46.000Z | openwrt-18.06/target/linux/at91/image/dfboot/src/config.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 16 | 2019-01-28T06:08:40.000Z | 2019-12-04T10:26:41.000Z | openwrt-18.06/target/linux/at91/image/dfboot/src/config.h | bingchunjin/1806_SDK | d5ed0258fc22f60e00ec025b802d175f33da6e41 | [
"MIT"
] | 129 | 2018-12-18T09:46:50.000Z | 2022-03-30T07:30:13.000Z |
#ifndef _CONFIG_H
#define _CONFIG_H
//#define PAGESZ_1056 1
#undef PAGESZ_1056
#define SPI_LOW_SPEED 1
#define AT91C_DELAY_TO_BOOT 1500
#define CRC_RETRIES 0x100
#define AT91C_MASTER_CLOCK 59904000
#define AT91C_BAUD_RATE 115200
#define AT91C_ALTERNATE_USART AT91C_BASE_US0
#en... | 18 | 48 | 0.740741 |
3c1b2a7e37a58161103aca706a945e2972f2e27a | 1,972 | swift | Swift | Sources/App/routes.swift | kishikawakatsumi/xcresulttool-file | 639b27510f8c4c4519620da0f18cba53424c5e10 | [
"MIT"
] | null | null | null | Sources/App/routes.swift | kishikawakatsumi/xcresulttool-file | 639b27510f8c4c4519620da0f18cba53424c5e10 | [
"MIT"
] | null | null | null | Sources/App/routes.swift | kishikawakatsumi/xcresulttool-file | 639b27510f8c4c4519620da0f18cba53424c5e10 | [
"MIT"
] | null | null | null | import Vapor
import Foundation
func routes(_ app: Application) throws {
app.get { _ in healthCheck() }
app.get("health") { _ in healthCheck() }
func healthCheck() -> [String: String] { ["status": "pass"] }
app.get("f") { (req) -> Response in
guard let key = req.query[String.self, at: "k"] el... | 32.866667 | 100 | 0.614097 |
85ad0179bc707a9b141ab5069ebd31f6f32b785b | 4,440 | js | JavaScript | public/js/script-halaman-search.js | rafiqprogrammer/tripmate-website-laravel-8 | 4dfc35b8a6f7d575d8e062d6a5e772a02e88cfdf | [
"MIT"
] | null | null | null | public/js/script-halaman-search.js | rafiqprogrammer/tripmate-website-laravel-8 | 4dfc35b8a6f7d575d8e062d6a5e772a02e88cfdf | [
"MIT"
] | null | null | null | public/js/script-halaman-search.js | rafiqprogrammer/tripmate-website-laravel-8 | 4dfc35b8a6f7d575d8e062d6a5e772a02e88cfdf | [
"MIT"
] | null | null | null | const slider1 = document.getElementById("slider1");
const slider2 = document.getElementById("slider2");
noUiSlider.create(slider1, {
start: [0, 13],
connect: true,
step: 1,
range: {
min: 0,
max: 13,
},
format: wNumb({
decimals: 0,
suffix: " j",
}),
});
noUiSl... | 27.924528 | 145 | 0.556306 |
179c2ee6a801bbfdc9bc41801bd09a539cb5905c | 545 | kt | Kotlin | rpgJavaInterpreter-core/src/test/kotlin/com/smeup/rpgparser/interpreter/TypeTest.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 40 | 2019-11-26T16:35:55.000Z | 2022-02-15T08:35:20.000Z | rpgJavaInterpreter-core/src/test/kotlin/com/smeup/rpgparser/interpreter/TypeTest.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 28 | 2019-12-02T13:32:20.000Z | 2021-12-17T09:34:56.000Z | rpgJavaInterpreter-core/src/test/kotlin/com/smeup/rpgparser/interpreter/TypeTest.kt | benetti-smeup/jariko | c11a45fa2b540df092abf94b0ab1014ca1ef3410 | [
"Apache-2.0"
] | 9 | 2019-12-10T06:40:59.000Z | 2021-10-18T08:55:29.000Z | package com.smeup.rpgparser.interpreter
import org.junit.Test
import kotlin.test.assertEquals
class TypeTest {
@Test
fun aSmallerIntIsAssignableToALargerInt() {
val valueType = NumberType(1, 0)
val targetType = NumberType(8, 0)
assertEquals(true, targetType.canBeAssigned(valueType))
... | 25.952381 | 63 | 0.695413 |
c48f4ca3fcfe47f0064df3fbfe007e26ee5c1acb | 53 | h | C | src/uml/usage.h | Quicksilver-Project/quicksilveruml | c9019443360c98c61edbd60c93cf2c1701912c2e | [
"MIT"
] | null | null | null | src/uml/usage.h | Quicksilver-Project/quicksilveruml | c9019443360c98c61edbd60c93cf2c1701912c2e | [
"MIT"
] | null | null | null | src/uml/usage.h | Quicksilver-Project/quicksilveruml | c9019443360c98c61edbd60c93cf2c1701912c2e | [
"MIT"
] | 1 | 2021-04-02T21:35:06.000Z | 2021-04-02T21:35:06.000Z | #include "dependency.h"
/**~common structure~
* **/ | 17.666667 | 23 | 0.622642 |
53e4d08943563b029f0d8bf6472d0d1541fb216d | 371 | asm | Assembly | oeis/010/A010227.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/010/A010227.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/010/A010227.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A010227: Continued fraction for sqrt(185).
; Submitted by Jamie Morken(s3)
; 13,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1,26,1,1,1,1
mov $4,$0
add $0,5
gcd $0,$4
mov $2,$0
lpb $2
div $0,4
lpb $4
mov $... | 20.611111 | 166 | 0.560647 |
85612568428dbf7c7092fd04e70f4928ffd2dc3a | 418 | js | JavaScript | exercises/practice/binary-search/.meta/proof.ci.js | dotnil/javascript | f881eced6ef3439c0e119d57bfa8a1fa8e533210 | [
"MIT"
] | 435 | 2017-06-23T03:35:46.000Z | 2022-03-27T06:24:20.000Z | exercises/practice/binary-search/.meta/proof.ci.js | dotnil/javascript | f881eced6ef3439c0e119d57bfa8a1fa8e533210 | [
"MIT"
] | 1,096 | 2017-06-24T07:08:13.000Z | 2022-03-31T20:44:13.000Z | exercises/practice/binary-search/.meta/proof.ci.js | dotnil/javascript | f881eced6ef3439c0e119d57bfa8a1fa8e533210 | [
"MIT"
] | 538 | 2017-06-20T16:40:25.000Z | 2022-03-31T15:24:00.000Z | export const find = (array, element) => {
let start = 0;
let end = array.length - 1;
let middle;
while (start <= end) {
middle = Math.floor((start + end) / 2);
if (element === array[middle]) {
return middle;
} else if (element < array[middle]) {
end = middle - 1;
} else if (element >... | 24.588235 | 43 | 0.550239 |
7fa605e3f52b61710bdac00f4f09f7d60832cefd | 1,140 | rs | Rust | src/commands/lorri.rs | anakos/nixd | 121a25a7b9e368ba2d1bff53920759aadd15118c | [
"MIT"
] | null | null | null | src/commands/lorri.rs | anakos/nixd | 121a25a7b9e368ba2d1bff53920759aadd15118c | [
"MIT"
] | null | null | null | src/commands/lorri.rs | anakos/nixd | 121a25a7b9e368ba2d1bff53920759aadd15118c | [
"MIT"
] | null | null | null | use {
crate::types as nixd,
std::io::{self, Write},
};
/// Runs `lorri init` from the current working directory and
/// sets the content of shell.nix to the provided content.
pub fn init() -> nixd::Result<()> {
check()?;
super::exec("lorri", |mut cmd| cmd.arg("init").output())?;
write_nixpkgs_nix... | 25.333333 | 87 | 0.616667 |
5b154333a6d157333ee1d53f9efa9bde4659b6e8 | 1,435 | h | C | src/core/genericpropertyparameter.h | LuboO/iCalendar-parser_PA193_Rteam | affd994fb33a23d3dac4e83cfedbfc82f3143143 | [
"MIT"
] | null | null | null | src/core/genericpropertyparameter.h | LuboO/iCalendar-parser_PA193_Rteam | affd994fb33a23d3dac4e83cfedbfc82f3143143 | [
"MIT"
] | 5 | 2015-11-04T21:56:04.000Z | 2015-11-10T19:58:18.000Z | src/core/genericpropertyparameter.h | LuboO/iCalendar-parser_PA193_Rteam | affd994fb33a23d3dac4e83cfedbfc82f3143143 | [
"MIT"
] | null | null | null | #ifndef ICAL_CORE_GENERICPROPERTYPARAMETER_H
#define ICAL_CORE_GENERICPROPERTYPARAMETER_H
#include "withpos.h"
#include "parserexception.h"
#include <string>
#include <vector>
namespace ical {
namespace core {
class GenericPropertyParameter
{
private:
WithPos<std::string> name;
std::vector<WithPos<std::stri... | 25.625 | 91 | 0.609059 |
87a1c1eebedfcefdb67c81ee8e851a8755c167ef | 1,033 | kt | Kotlin | app/src/main/kotlin/com/konkuk/boost/presentation/viewmodels/InfoViewModel.kt | sys09270883/ku-boost-android | 958c79ca4d345473f872bc050c16bb6b49761e0f | [
"MIT"
] | 21 | 2021-02-13T17:49:36.000Z | 2022-01-05T04:26:00.000Z | app/src/main/kotlin/com/konkuk/boost/presentation/viewmodels/InfoViewModel.kt | sys09270883/ku-boost-android | 958c79ca4d345473f872bc050c16bb6b49761e0f | [
"MIT"
] | 166 | 2021-02-14T01:31:58.000Z | 2022-01-04T12:29:50.000Z | app/src/main/kotlin/com/konkuk/boost/presentation/viewmodels/InfoViewModel.kt | sys09270883/ku-boost-android | 958c79ca4d345473f872bc050c16bb6b49761e0f | [
"MIT"
] | 2 | 2021-07-26T11:22:03.000Z | 2021-09-10T09:44:49.000Z | package com.konkuk.boost.presentation.viewmodels
import androidx.lifecycle.*
import com.konkuk.boost.domain.model.auth.PersonalInformation
import com.konkuk.boost.domain.usecase.*
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class InfoViewModel @Inject constructor(
... | 31.30303 | 87 | 0.757018 |
7afddbc72ba863519127bf0cb11fde8e2dd819d4 | 1,728 | rb | Ruby | spec/rbtype/lint/multiple_definitions_spec.rb | EiNSTeiN-/rbtype | 83cbc830f66b38d86c60324337f4475989c54c4f | [
"MIT"
] | 1 | 2018-03-08T22:39:51.000Z | 2018-03-08T22:39:51.000Z | spec/rbtype/lint/multiple_definitions_spec.rb | EiNSTeiN-/rbtype | 83cbc830f66b38d86c60324337f4475989c54c4f | [
"MIT"
] | null | null | null | spec/rbtype/lint/multiple_definitions_spec.rb | EiNSTeiN-/rbtype | 83cbc830f66b38d86c60324337f4475989c54c4f | [
"MIT"
] | null | null | null | require 'spec_helper'
require 'rbtype'
describe Rbtype::Lint::MultipleDefinitions do
let(:require_locations) { [] }
let(:rails_autoload_locations) { [] }
let(:processed_source) { build_processed_source(source) }
let(:sources) { [processed_source] }
let(:source_set) { Rbtype::SourceSet.new }
let(:runtime) d... | 30.857143 | 257 | 0.62037 |
40bc9ee7b88823a897e7d9861ed839b3c557396e | 1,302 | py | Python | feed.py | duarte-pompeu/best-r-jokes | b2d371b95ca67453f3f2046deb42e0774e1ace19 | [
"MIT"
] | 2 | 2016-02-05T21:29:25.000Z | 2016-02-05T21:29:29.000Z | feed.py | duarte-pompeu/best-r-jokes | b2d371b95ca67453f3f2046deb42e0774e1ace19 | [
"MIT"
] | 6 | 2015-12-04T02:17:22.000Z | 2016-02-08T15:28:40.000Z | feed.py | duarte-pompeu/best-r-jokes | b2d371b95ca67453f3f2046deb42e0774e1ace19 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2
# coding=utf-8
import xml.etree.ElementTree as ET
from email.Utils import formatdate
import config
TREE = None
CHANNEL = None
def init():
global TREE, CHANNEL
TREE = ET.parse(config.feed_path)
root = TREE.getroot()
CHANNEL = root.findall("channel")[0]
def close():
trim_feed(config.max_... | 17.36 | 54 | 0.670507 |
d28a6185afa79132560734fe884fe5a6db9ceb4d | 162 | kt | Kotlin | projectrss/app/src/main/java/com/lello/gokkucan/rrscan/Model/RSSObject.kt | goksucan/goksucanerkoc04 | 44e6a534ad34eb4c5398c12b611d9d9088f40ca1 | [
"MIT"
] | null | null | null | projectrss/app/src/main/java/com/lello/gokkucan/rrscan/Model/RSSObject.kt | goksucan/goksucanerkoc04 | 44e6a534ad34eb4c5398c12b611d9d9088f40ca1 | [
"MIT"
] | null | null | null | projectrss/app/src/main/java/com/lello/gokkucan/rrscan/Model/RSSObject.kt | goksucan/goksucanerkoc04 | 44e6a534ad34eb4c5398c12b611d9d9088f40ca1 | [
"MIT"
] | null | null | null | package com.lello.gokkucan.rrscan.Model
/**
* Created by gokkucan on 7.01.2018.
*/
data class RSSObject(val status:String, val feed:Feed, val items:List<Item>) | 27 | 76 | 0.740741 |
842f7bd2de00b54f923a052b05db26977bf3bd84 | 2,558 | html | HTML | _posts/2008-02-24-zoho.html | poloolop/poloolop.github.com | 82ae887b53687f5a74a8f80f300fc307a46a497c | [
"MIT"
] | null | null | null | _posts/2008-02-24-zoho.html | poloolop/poloolop.github.com | 82ae887b53687f5a74a8f80f300fc307a46a497c | [
"MIT"
] | null | null | null | _posts/2008-02-24-zoho.html | poloolop/poloolop.github.com | 82ae887b53687f5a74a8f80f300fc307a46a497c | [
"MIT"
] | null | null | null | ---
layout: post
title: Zoho
date: '2008-02-24T11:05:00.001+05:30'
author: Umang Saini
tags:
- Technology
modified_time: '2008-02-24T12:21:29.523+05:30'
blogger_id: tag:blogger.com,1999:blog-12129362.post-7211072384670761949
blogger_orig_url: http://www.umangsaini.in/2008/02/zoho.html
---
<div style="text-align: justi... | 196.769231 | 2,267 | 0.746286 |
f3b1931b0d0dd9168d5d14d2729cda96a4b67855 | 2,521 | kt | Kotlin | app/src/main/java/br/com/alura/aluraesporte/ui/fragment/DetalhesProdutoFragment.kt | clacosta/android-navigation-features | b99ead1d6bd22ad77c402d8e47077a143b3a40fd | [
"Apache-2.0"
] | null | null | null | app/src/main/java/br/com/alura/aluraesporte/ui/fragment/DetalhesProdutoFragment.kt | clacosta/android-navigation-features | b99ead1d6bd22ad77c402d8e47077a143b3a40fd | [
"Apache-2.0"
] | null | null | null | app/src/main/java/br/com/alura/aluraesporte/ui/fragment/DetalhesProdutoFragment.kt | clacosta/android-navigation-features | b99ead1d6bd22ad77c402d8e47077a143b3a40fd | [
"Apache-2.0"
] | null | null | null | package br.com.alura.aluraesporte.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import br.com.alura.alura... | 34.067568 | 92 | 0.721142 |
d9988361a102f064328f7c55ff2a8c439a1c3ecd | 13,694 | rs | Rust | node/src/utils/round_robin.rs | bradjohnl/casper-node | dd260c86aad94ea3a9e958080558778e8aee9f40 | [
"Apache-2.0"
] | 106 | 2020-09-15T07:16:28.000Z | 2021-08-20T02:32:38.000Z | node/src/utils/round_robin.rs | AlexeyGas1979/casper-node | dd260c86aad94ea3a9e958080558778e8aee9f40 | [
"Apache-2.0"
] | 1,061 | 2020-09-14T23:09:28.000Z | 2021-04-23T20:41:02.000Z | node/src/utils/round_robin.rs | AlexeyGas1979/casper-node | dd260c86aad94ea3a9e958080558778e8aee9f40 | [
"Apache-2.0"
] | 92 | 2020-09-14T17:08:24.000Z | 2021-04-20T00:13:27.000Z | //! Weighted round-robin scheduling.
//!
//! This module implements a weighted round-robin scheduler that ensures no deadlocks occur, but
//! still allows prioritizing events from one source over another. The module uses `tokio`'s
//! synchronization primitives under the hood.
use std::{
collections::{HashMap, Vec... | 32.450237 | 100 | 0.578648 |
0cddc6fcdac1a04a9f2296ecc74335e532a712c0 | 2,624 | py | Python | recipes/libmount/all/conanfile.py | KristianJerpetjon/conan-center-index | f368200c30fb3be44862e2e709be990d0db4d30e | [
"MIT"
] | null | null | null | recipes/libmount/all/conanfile.py | KristianJerpetjon/conan-center-index | f368200c30fb3be44862e2e709be990d0db4d30e | [
"MIT"
] | 1 | 2019-11-26T10:55:31.000Z | 2019-11-26T10:55:31.000Z | recipes/libmount/all/conanfile.py | KristianJerpetjon/conan-center-index | f368200c30fb3be44862e2e709be990d0db4d30e | [
"MIT"
] | 1 | 2019-10-31T19:29:14.000Z | 2019-10-31T19:29:14.000Z | from conans import ConanFile, tools, AutoToolsBuildEnvironment
from conans.errors import ConanInvalidConfiguration
import os
class LibmountConan(ConanFile):
name = "libmount"
description = "The libmount library is used to parse /etc/fstab, /etc/mtab and /proc/self/mountinfo files, manage the mtab file, evalua... | 43.733333 | 161 | 0.651296 |
90d292b303b3bafde97adf42402f2eb1a9e456af | 15,595 | py | Python | mentor/userform/views.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | mentor/userform/views.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | mentor/userform/views.py | JarettSutula/GoatBoat | 53dd978048c6757b537e5988793b29a5ef1b7b52 | [
"MIT"
] | null | null | null | from re import sub
import bcrypt
from django.shortcuts import render
from django.http import HttpResponse, HttpResponseRedirect
from utils import collection_link, start_db, restructure_day_array, create_day_array, log_warning
from userform.models import UserForm, EditProfile, ResetPassword, LogInForm, ProfileSearch
fro... | 41.586667 | 102 | 0.601667 |
f777586b4d4b06b524568898cb0f5858826807e1 | 884 | h | C | include/cpp-sort/detail/memcpy_cast.h | ChandanKSingh/cpp-sort | ce9b49e77eec7fe44a18da937bea0807d6c3e5f4 | [
"MIT"
] | 519 | 2015-08-01T12:25:41.000Z | 2022-03-27T09:02:37.000Z | include/cpp-sort/detail/memcpy_cast.h | ChandanKSingh/cpp-sort | ce9b49e77eec7fe44a18da937bea0807d6c3e5f4 | [
"MIT"
] | 148 | 2015-09-20T10:24:15.000Z | 2022-03-03T19:07:20.000Z | include/cpp-sort/detail/memcpy_cast.h | ChandanKSingh/cpp-sort | ce9b49e77eec7fe44a18da937bea0807d6c3e5f4 | [
"MIT"
] | 52 | 2015-11-10T14:40:13.000Z | 2022-03-20T02:35:23.000Z | /*
* Copyright (c) 2017 Morwenn
* SPDX-License-Identifier: MIT
*/
#ifndef CPPSORT_DETAIL_MEMCPY_CAST_H_
#define CPPSORT_DETAIL_MEMCPY_CAST_H_
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <cstring>
#include <memory>
#inc... | 24.555556 | 67 | 0.552036 |
5f09e3b0f52a2cd7919aa4f3b182dedeb33934bd | 33 | ts | TypeScript | frontend/pages/admin/AppSettingsPage/cards/Sso/index.ts | sentri-cloud/fleet | fe48533918910738a7225b2101f2dea450886bd7 | [
"MIT"
] | null | null | null | frontend/pages/admin/AppSettingsPage/cards/Sso/index.ts | sentri-cloud/fleet | fe48533918910738a7225b2101f2dea450886bd7 | [
"MIT"
] | null | null | null | frontend/pages/admin/AppSettingsPage/cards/Sso/index.ts | sentri-cloud/fleet | fe48533918910738a7225b2101f2dea450886bd7 | [
"MIT"
] | null | null | null | export { default } from "./Sso";
| 16.5 | 32 | 0.606061 |
e6240703a348d47852fa30bc5dcc4b0775261920 | 496 | sql | SQL | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/load/sql/create_drop_database.sql | lintzc/GPDB | b48c8b97da18f495c10065d0853db87960aebae2 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/load/sql/create_drop_database.sql | lintzc/GPDB | b48c8b97da18f495c10065d0853db87960aebae2 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/walrepl/load/sql/create_drop_database.sql | lintzc/GPDB | b48c8b97da18f495c10065d0853db87960aebae2 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | -- start_ignore
SET gp_create_table_random_default_distribution=off;
-- end_ignore
--start_ignore
DROP DATABASE sto_db1;
--end_ignore
CREATE DATABASE sto_db1;
\c sto_db1
CREATE TABLE sto_db_tb1 (
text_col text,
bigint_col bigint,
char_vary_col character varying(30),
numeric_col numeric
) with(appendonly= tru... | 19.84 | 57 | 0.780242 |
dd7783e4c8bbb04f19c9dedff1ef1422106195d8 | 599 | php | PHP | Products.php | aldi96/Belajar | c7a3a66ad5a394b19a41a014d22f134b80086b81 | [
"MIT"
] | null | null | null | Products.php | aldi96/Belajar | c7a3a66ad5a394b19a41a014d22f134b80086b81 | [
"MIT"
] | null | null | null | Products.php | aldi96/Belajar | c7a3a66ad5a394b19a41a014d22f134b80086b81 | [
"MIT"
] | null | null | null | <?php
include "Database.php";
class Products{
private $tablename;
public $db;
public function __construct(){
$this->tablename= "products";
$this->db = Database::getInstance()->getConnection();
}
public function lisProducts(){
$result = $this->db->query("SELECT * FROM ".$this->tablena... | 22.185185 | 68 | 0.589316 |
ce059fd8fd4f3d3ce136b00b3df4ff86219b51de | 28,928 | h | C | firmware/coreboot/src/mainboard/intel/harcuvar/hsio.h | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 1 | 2019-11-04T07:11:25.000Z | 2019-11-04T07:11:25.000Z | firmware/coreboot/src/mainboard/intel/harcuvar/hsio.h | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 13 | 2018-10-12T21:29:09.000Z | 2018-10-25T20:06:51.000Z | firmware/coreboot/src/mainboard/intel/harcuvar/hsio.h | fabiojna02/OpenCellular | 45b6a202d6b2e2485c89955b9a6da920c4d56ddb | [
"CC-BY-4.0",
"BSD-3-Clause"
] | null | null | null | /*
* This file is part of the coreboot project.
*
* Copyright (C) 2016-2017 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This progr... | 46.2848 | 72 | 0.815404 |
39d7c7ca00c934147d19a4f28b621083105588eb | 3,247 | java | Java | samples/src/main/java/com/inqbarna/tablefixheaders/samples/HourlyCheckTable.java | PhamTruongHung/Utility_Record | d1287d2085aba5a901b3c268c238e4a1c2fbf340 | [
"Apache-2.0"
] | null | null | null | samples/src/main/java/com/inqbarna/tablefixheaders/samples/HourlyCheckTable.java | PhamTruongHung/Utility_Record | d1287d2085aba5a901b3c268c238e4a1c2fbf340 | [
"Apache-2.0"
] | null | null | null | samples/src/main/java/com/inqbarna/tablefixheaders/samples/HourlyCheckTable.java | PhamTruongHung/Utility_Record | d1287d2085aba5a901b3c268c238e4a1c2fbf340 | [
"Apache-2.0"
] | null | null | null | package com.inqbarna.tablefixheaders.samples;
import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.util.Log;
import com.inqbarna.tablefixheaders.TableFixHeaders;
import com.inqbarna.tablefixheaders.samples.adapters.MatrixTableAdapter;
import com.inqbarna.tablefixheader... | 42.723684 | 170 | 0.670465 |
c7e2bb3e967f0c86cfdfab243917a5ea1805eb5d | 784 | py | Python | jaraco/email/smtp.py | jaraco/jaraco.email | 0a1b4b05934e0123931671dbfe65d19896550dad | [
"MIT"
] | null | null | null | jaraco/email/smtp.py | jaraco/jaraco.email | 0a1b4b05934e0123931671dbfe65d19896550dad | [
"MIT"
] | null | null | null | jaraco/email/smtp.py | jaraco/jaraco.email | 0a1b4b05934e0123931671dbfe65d19896550dad | [
"MIT"
] | null | null | null | import smtpd
import asyncore
import argparse
def _get_args():
p = argparse.ArgumentParser()
p.add_argument('-p', '--port', type=int, help="Bind to port", default=25)
return p.parse_args()
class DebuggingServer(smtpd.DebuggingServer):
def process_message(self, peer, mailfrom, rcpttos, dat... | 29.037037 | 83 | 0.656888 |
1ef029e1ccee778a116e52d4a028aa640eed5ca1 | 2,767 | swift | Swift | BxInputController/Sources/Rows/Date/View/BxInputChildSelectorDateRowBinder.swift | ByteriX/BxInputController | 5243afad15d7d3923170b0c6f5cb12179e591434 | [
"MIT"
] | 5 | 2018-01-12T10:06:35.000Z | 2019-04-11T06:12:57.000Z | BxInputController/Sources/Rows/Date/View/BxInputChildSelectorDateRowBinder.swift | ByteriX/BxInputController | 5243afad15d7d3923170b0c6f5cb12179e591434 | [
"MIT"
] | 2 | 2018-04-13T12:04:32.000Z | 2018-08-29T11:34:03.000Z | BxInputController/Sources/Rows/Date/View/BxInputChildSelectorDateRowBinder.swift | ByteriX/BxInputController | 5243afad15d7d3923170b0c6f5cb12179e591434 | [
"MIT"
] | 1 | 2017-11-06T00:22:28.000Z | 2017-11-06T00:22:28.000Z | /**
* @file BxInputChildSelectorDateRowBinder.swift
* @namespace BxInputController
*
* @details Binder for BxInputChildSelectorDateRow subclasses
* @date 06.03.2017
* @author Sergey Balalaev
*
* @version last in https://github.com/ByteriX/BxInputController.git
* @copyright The MIT License (MIT) https://opensou... | 30.406593 | 237 | 0.625949 |
cb21c9d5d9bc6ddeee344dbe78ad2c26fa3df010 | 394 | go | Go | controllers/places/repository.go | snowtoslow/scameiki-and-places | 50091cc4be479a57181b706b0a6bb2b2dd8bad5b | [
"MIT"
] | null | null | null | controllers/places/repository.go | snowtoslow/scameiki-and-places | 50091cc4be479a57181b706b0a6bb2b2dd8bad5b | [
"MIT"
] | null | null | null | controllers/places/repository.go | snowtoslow/scameiki-and-places | 50091cc4be479a57181b706b0a6bb2b2dd8bad5b | [
"MIT"
] | null | null | null | package places
import (
"context"
"scameiki-and-places/models"
)
type PlaceRepository interface {
CreatePlace(ctx context.Context,place *models.Place) error
GetPlaces(ctx context.Context) (*models.Places,error)
DeletePlace(ctx context.Context, id int) error
GetPlaceById(ctx context.Context,id int) (*models.Plac... | 26.266667 | 63 | 0.77665 |
1a8c679c49cc24efa2ccc3765632977aa09bfbb1 | 563 | asm | Assembly | oeis/212/A212769.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/212/A212769.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/212/A212769.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A212769: p*q modulo (p+q) with p, q consecutive primes.
; 1,7,11,5,23,11,35,17,43,59,59,35,83,41,91,103,119,119,65,143,143,77,163,77,95,203,101,215,107,191,125,259,275,263,299,299,311,161,331,343,359,347,383,191,395,169,181,221,455,227,463,479,467,499,511,523,539,539,275,563,551,551,305,623,311,599,659,659,695,347,70... | 46.916667 | 382 | 0.698046 |
3bf68675670395595a60fc8cb658984ce8804d2a | 3,117 | swift | Swift | WeiboSwift/WeiboSwift/Classes/Home/PopView/PoperAnimatedTransitioning.swift | zhenyiyi/weibo | 868b5d0e7162d00cd32e843af15fea11528c1821 | [
"MIT"
] | null | null | null | WeiboSwift/WeiboSwift/Classes/Home/PopView/PoperAnimatedTransitioning.swift | zhenyiyi/weibo | 868b5d0e7162d00cd32e843af15fea11528c1821 | [
"MIT"
] | null | null | null | WeiboSwift/WeiboSwift/Classes/Home/PopView/PoperAnimatedTransitioning.swift | zhenyiyi/weibo | 868b5d0e7162d00cd32e843af15fea11528c1821 | [
"MIT"
] | null | null | null | //
// PoperAnimatedTransitioning.swift
// WeiboSwift
//
// Created by fenglin on 2016/10/8.
// Copyright © 2016年 fenglin. All rights reserved.
//
import UIKit
class PoperAnimatedTransitioning: NSObject {
var completion : (_ isPresent : Bool)->Void ;
var presentedViewFrame = CGRect(x: 0, y: 0, width: 0, he... | 37.554217 | 170 | 0.660571 |
ad581818b3d64df03e64c4d929386032cabc3381 | 100 | rs | Rust | third_party/rust_crates/vendor/cxx/tests/ui/extern_type_lifetime_bound.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/rust_crates/vendor/cxx/tests/ui/extern_type_lifetime_bound.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 539 | 2020-01-08T17:28:04.000Z | 2022-03-29T20:34:26.000Z | third_party/rust_crates/vendor/cxx/tests/ui/extern_type_lifetime_bound.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | #[cxx::bridge]
mod ffi {
extern "C++" {
type Complex<'a, 'b: 'a>;
}
}
fn main() {}
| 11.111111 | 33 | 0.42 |
d7e7545c1d69e26d01f421519029fc394a600e0a | 13,443 | lua | Lua | projekt/main.lua | iCarrrot/Lua | f04d5159db027f8d7b75b9b713d0e8e56ad45ff2 | [
"MIT"
] | null | null | null | projekt/main.lua | iCarrrot/Lua | f04d5159db027f8d7b75b9b713d0e8e56ad45ff2 | [
"MIT"
] | null | null | null | projekt/main.lua | iCarrrot/Lua | f04d5159db027f8d7b75b9b713d0e8e56ad45ff2 | [
"MIT"
] | null | null | null | kolorki = {
nr = 4,
{241 / 255, 114 / 255, 23 / 255},
{128 / 255, 218 / 255, 54 / 255},
{35 / 255, 116 / 255, 254 / 255},
{217 / 255, 43 / 255, 187 / 255},
{221 / 255, 0 / 255, 17 / 255}
}
kolorki.red = {221 / 255, 0 / 255, 17 / 255}
kolorki.orange = {241 / 255, 114 / 255, 23 / 255}
kolorki.yell... | 37.033058 | 120 | 0.588262 |
ae7f9d11f2b42be1e2164b4b3ace228ab17c2b08 | 401 | kt | Kotlin | app/src/main/java/code_setup/app_models/events_/RIDESTATUS.kt | himalayanDev/HPDT-Taxi | 5c318e92bf68e39ea6b4310f2a84b601f0e4199d | [
"Apache-2.0"
] | 1 | 2022-03-23T07:02:27.000Z | 2022-03-23T07:02:27.000Z | app/src/main/java/code_setup/app_models/events_/RIDESTATUS.kt | himalayanDev/Template | 5c318e92bf68e39ea6b4310f2a84b601f0e4199d | [
"Apache-2.0"
] | null | null | null | app/src/main/java/code_setup/app_models/events_/RIDESTATUS.kt | himalayanDev/Template | 5c318e92bf68e39ea6b4310f2a84b601f0e4199d | [
"Apache-2.0"
] | null | null | null | package code_setup.app_models.other_.event
class RIDESTATUS {
companion object {
val RIDESTATUS_ACCEPTED: String = "ACCEPTED"
val RIDESTATUS_IN_PROGRESS: String = "INPROGRESS"
val TRIP_DESTINATIONS: Int = 101
val REQUEST_NEW_TOUR_JOB: Int = 102
val REQUEST_START_MOVING_VI... | 19.095238 | 57 | 0.680798 |
041663160a9bf9d1946bced13b60a553ec5d41ea | 413 | swift | Swift | LBFM-Swift/Controller/Home(首页)/广播/View/组头尾视图/LBFMRadioFooterView.swift | FighterLightning/LBXMLYFM-Swift | ace2bf906a4f52e5ce69d24d23483625038c5b53 | [
"Apache-2.0"
] | 2 | 2019-10-11T07:15:49.000Z | 2020-02-10T14:57:52.000Z | LBFM-Swift/Controller/Home(首页)/广播/View/组头尾视图/LBFMRadioFooterView.swift | mohsinalimat/LBXMLYFM-Swift | ace2bf906a4f52e5ce69d24d23483625038c5b53 | [
"Apache-2.0"
] | null | null | null | LBFM-Swift/Controller/Home(首页)/广播/View/组头尾视图/LBFMRadioFooterView.swift | mohsinalimat/LBXMLYFM-Swift | ace2bf906a4f52e5ce69d24d23483625038c5b53 | [
"Apache-2.0"
] | null | null | null | //
// LBFMRadioFooterView.swift
// LBFM-Swift
//
// Created by liubo on 2019/2/27.
// Copyright © 2019 刘博. All rights reserved.
//
import UIKit
class LBFMRadioFooterView: UICollectionReusableView {
override init(frame: CGRect) {
super.init(frame: frame)
backgroundColor = LBFMDownColor
}
... | 19.666667 | 53 | 0.656174 |
daa846e102571f9f0c4e1a3ed32eb60a47107077 | 1,089 | lua | Lua | scripts/globals/abilities/pets/somnolence.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 6 | 2021-06-01T04:17:10.000Z | 2021-06-01T04:32:21.000Z | scripts/globals/abilities/pets/somnolence.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | scripts/globals/abilities/pets/somnolence.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | ---------------------------------------------------
-- Somnolence
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
fun... | 30.25 | 105 | 0.609734 |
4a390284d85470a4be9c89be1a7e539a5248c777 | 2,069 | js | JavaScript | js/cultsboons.js | slowglass/TheGiddyLimit.github.io | 9ef74db99dad7c25c42002045ac961aaf44a8570 | [
"MIT"
] | null | null | null | js/cultsboons.js | slowglass/TheGiddyLimit.github.io | 9ef74db99dad7c25c42002045ac961aaf44a8570 | [
"MIT"
] | null | null | null | js/cultsboons.js | slowglass/TheGiddyLimit.github.io | 9ef74db99dad7c25c42002045ac961aaf44a8570 | [
"MIT"
] | null | null | null | "use strict";function cultBoonTypeToFull(a){return"cult"===a?"Cult":"Demonic Boon"}class CultsBoonsPage extends ListPage{constructor(){const a=getSourceFilter(),b=new Filter({header:"Type",items:["boon","cult"],displayFn:cultBoonTypeToFull});super({dataSource:"data/cultsboons.json",filters:[a,b],filterSource:a,listValu... | 121.705882 | 574 | 0.725955 |
d9a366575ddd39568c914e9bfc2c86abdf242e51 | 248 | rs | Rust | src/bin/tuples.rs | Kreyren/Fe203 | 149963cb60e6687de37c66299ba72640cff91f33 | [
"MIT"
] | null | null | null | src/bin/tuples.rs | Kreyren/Fe203 | 149963cb60e6687de37c66299ba72640cff91f33 | [
"MIT"
] | null | null | null | src/bin/tuples.rs | Kreyren/Fe203 | 149963cb60e6687de37c66299ba72640cff91f33 | [
"MIT"
] | null | null | null | fn main() {
let tupl = (69, "test", 69.69, false, (1, 2, 5));
println!("{}", tupl.1);
println!("{}", (tupl.4).1);
let tupl2 = (69, "test", 69.69);
let (a, b, c) = tupl2;
println!("A is {}", a);
println!("B is {}", b);
}
| 24.8 | 53 | 0.431452 |
f8bc7e9674a5e627cff74b3f9ba20bfd29a9eb84 | 373 | kt | Kotlin | app/src/main/java/com/fredrikbogg/notesapp/ui/main/MainFoldersBindings.kt | dgewe/Notes-App-Android | cb0eecece6487441e37b4f9174d60481ef140efe | [
"MIT"
] | 5 | 2021-05-03T14:25:42.000Z | 2022-03-15T00:03:16.000Z | app/src/main/java/com/fredrikbogg/notesapp/ui/main/MainFoldersBindings.kt | dgewe/Notes-App-Android | cb0eecece6487441e37b4f9174d60481ef140efe | [
"MIT"
] | null | null | null | app/src/main/java/com/fredrikbogg/notesapp/ui/main/MainFoldersBindings.kt | dgewe/Notes-App-Android | cb0eecece6487441e37b4f9174d60481ef140efe | [
"MIT"
] | 2 | 2020-10-02T20:43:20.000Z | 2022-03-04T17:25:17.000Z | package com.fredrikbogg.notesapp.ui.main
import androidx.databinding.BindingAdapter
import androidx.recyclerview.widget.RecyclerView
import com.fredrikbogg.notesapp.data.db.entity.Folder
@BindingAdapter("folder_items")
fun bindSetFolderItems(listView: RecyclerView, items: List<Folder>?) {
items?.let { (listView.... | 31.083333 | 77 | 0.815013 |
b2d981ecabea84bee53271f8bc9c6bdef3c97cef | 3,533 | py | Python | supervised/preprocessing/datetime_transformer.py | sourcery-ai-bot/mljar-supervised | f60f4ac65516ac759e4b84a198205480a56ada64 | [
"MIT"
] | null | null | null | supervised/preprocessing/datetime_transformer.py | sourcery-ai-bot/mljar-supervised | f60f4ac65516ac759e4b84a198205480a56ada64 | [
"MIT"
] | null | null | null | supervised/preprocessing/datetime_transformer.py | sourcery-ai-bot/mljar-supervised | f60f4ac65516ac759e4b84a198205480a56ada64 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import datetime
import json
class DateTimeTransformer(object):
def __init__(self):
self._new_columns = []
self._old_column = None
self._min_datetime = None
self._transforms = []
def fit(self, X, column):
self._old_column = column
... | 32.712963 | 69 | 0.565242 |
b3895b0ea50d2a49d871ffbe5084562af9d0197e | 20,683 | rb | Ruby | spec/api/projects_spec.rb | Orasi/DevOpsTraining-Seed | e5d4404171bc135113a09d9d7eb25e0745f49d28 | [
"BSD-4-Clause"
] | null | null | null | spec/api/projects_spec.rb | Orasi/DevOpsTraining-Seed | e5d4404171bc135113a09d9d7eb25e0745f49d28 | [
"BSD-4-Clause"
] | null | null | null | spec/api/projects_spec.rb | Orasi/DevOpsTraining-Seed | e5d4404171bc135113a09d9d7eb25e0745f49d28 | [
"BSD-4-Clause"
] | null | null | null |
require "spec_helper"
describe "PROJECTS API::" , :type => :api do
let (:team) {FactoryGirl.create(:team)}
let (:user) {team.users.first}
let (:project) { team.projects.first }
let (:admin) {FactoryGirl.create(:user, :admin)}
describe 'list all projects' do
context 'as a non-admin' do
before do... | 27.577333 | 170 | 0.633032 |
5c1d4a16c45ad7b6244bdd3c21182d6f41f86c9b | 38 | asm | Assembly | asminator/Debug/rawdatatest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | asminator/Debug/rawdatatest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | asminator/Debug/rawdatatest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | >lbl1
. 1,2
>lbl2
nop #lbl1
nop #lbl2
| 6.333333 | 9 | 0.631579 |
77449e0d9658e6a22ecad01301a1e96be7ba5f9a | 10,891 | html | HTML | docs/diff_match_SandwichMatcher.js.html | Toemmsche/process-tree-diff | 9e10e547eb70ca2a1aa4434c97c64e8ea866f73a | [
"Apache-2.0"
] | null | null | null | docs/diff_match_SandwichMatcher.js.html | Toemmsche/process-tree-diff | 9e10e547eb70ca2a1aa4434c97c64e8ea866f73a | [
"Apache-2.0"
] | null | null | null | docs/diff_match_SandwichMatcher.js.html | Toemmsche/process-tree-diff | 9e10e547eb70ca2a1aa4434c97c64e8ea866f73a | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: diff/match/SandwichMatcher.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/... | 65.215569 | 5,343 | 0.668809 |
53dd2a09738aa02390cd513f4a682a045970100f | 1,280 | java | Java | streaming/java/streaming-api/src/main/java/io/ray/streaming/api/stream/DataStreamSource.java | 77loopin/ray | 9322f6aab53f4ca5baf5a3573e1ffde12feae519 | [
"Apache-2.0"
] | 21,382 | 2016-09-26T23:12:52.000Z | 2022-03-31T21:47:45.000Z | streaming/java/streaming-api/src/main/java/io/ray/streaming/api/stream/DataStreamSource.java | 77loopin/ray | 9322f6aab53f4ca5baf5a3573e1ffde12feae519 | [
"Apache-2.0"
] | 19,689 | 2016-09-17T08:21:25.000Z | 2022-03-31T23:59:30.000Z | streaming/java/streaming-api/src/main/java/io/ray/streaming/api/stream/DataStreamSource.java | gramhagen/ray | c18caa4db36d466718bdbcb2229aa0b2dc03da1f | [
"Apache-2.0"
] | 4,114 | 2016-09-23T18:54:01.000Z | 2022-03-31T15:07:32.000Z | package io.ray.streaming.api.stream;
import io.ray.streaming.api.context.StreamingContext;
import io.ray.streaming.api.function.impl.SourceFunction;
import io.ray.streaming.api.function.internal.CollectionSourceFunction;
import io.ray.streaming.operator.impl.SourceOperatorImpl;
import java.util.Collection;
/**
* Rep... | 33.684211 | 97 | 0.755469 |
40dbf60cb13a9e3b4a5ab72770011eb1e12447c5 | 540 | py | Python | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/asana/tests.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2020-07-26T17:21:16.000Z | 2020-07-26T17:21:16.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/asana/tests.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/asana/tests.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2022-02-01T17:19:28.000Z | 2022-02-01T17:19:28.000Z | from allauth.socialaccount.tests import create_oauth2_tests
from allauth.tests import MockedResponse
from allauth.socialaccount.providers import registry
from .provider import AsanaProvider
class AsanaTests(create_oauth2_tests(
registry.by_id(AsanaProvider.id))):
def get_mocked_response(self):
r... | 33.75 | 74 | 0.716667 |
de3fccb740b0deeffeef1b5e384e29d626042ef6 | 5,132 | asm | Assembly | src/loader_init.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | src/loader_init.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | src/loader_init.asm | onslaught-demogroup/ons_paddo_music_disk | 6a945f918fd1220b325385d14327b5e1ee86295d | [
"MIT"
] | null | null | null | .namespace __loader_init{
/*
ZP used by this code
*/
.const ZPL=$9e
.const ZPH=$9f
/*
Load drivecode into the drive
Entry point
*/
init:
jsr i_open_chn
lda #<drivecode
ldx #>drivecode
sta ZPL
stx ZPH
i_cc11:
jsr i_cc72
ldy #$00
i_cc16:
lda (ZPL),y
jsr i_write_byte
iny
cpy #$... | 14.497175 | 152 | 0.558652 |
fe35cb9215b97f8e39a6c35f67b8d21bfd2b8e5b | 4,355 | asm | Assembly | mp1/mp1.asm | Candy-Crusher/ece220 | 18001a82a46711b0451d37b3dd2c747f85abad69 | [
"MIT"
] | null | null | null | mp1/mp1.asm | Candy-Crusher/ece220 | 18001a82a46711b0451d37b3dd2c747f85abad69 | [
"MIT"
] | 1 | 2021-04-26T10:50:25.000Z | 2021-04-26T10:50:25.000Z | mp2/mp1.asm | Candy-Crusher/ece220 | 18001a82a46711b0451d37b3dd2c747f85abad69 | [
"MIT"
] | null | null | null | .ORIG X3000
;PRINT_SLOT:
;A number from 0 to 14 is passed to this subroutine in R1.
;The subroutine prints the time corresponding to the specified slot.(R1+6)
;If R1=0, for example, your subroutine must print “0600”
;preceded by three spaces (ASCII x20) and followed by two trailing spaces.
PRINT_SLOT
;store R0... | 22.219388 | 82 | 0.725373 |
e72b30134914da395087ed26afef202edb441a30 | 13,528 | js | JavaScript | backend/config/globals.js | jamespagedev/labs10-discussion-board | 9e06b10bf9041f4fcbd27d05a3889781e241cb45 | [
"MIT"
] | 2 | 2019-07-08T18:45:16.000Z | 2019-08-21T22:23:21.000Z | backend/config/globals.js | jamespagedev/labs10-discussion-board | 9e06b10bf9041f4fcbd27d05a3889781e241cb45 | [
"MIT"
] | null | null | null | backend/config/globals.js | jamespagedev/labs10-discussion-board | 9e06b10bf9041f4fcbd27d05a3889781e241cb45 | [
"MIT"
] | null | null | null | // Variables
const numOfFakeUsers = 500;
const numOfHashes = 10;
const numOfDiscussions = 29;
const numOfDefaultCategories = 7;
const numOfPosts = 59;
const numOfPostVotes = 500; // must be same as numOfFakeUsers
const numOfDiscussionVotes = 5000;
const tokenOptionExpiration = '24h';
const tokenTimeLeftRefresh = 3; // ... | 85.081761 | 8,871 | 0.862581 |
dd7bc63f631ac268cce6900cd3e8f5deb8e547a9 | 1,578 | go | Go | archiver/metadata_archiver.go | bboozzoo/artifacts-1 | e8d3700885dc92ba9bfa7b19f656630a46bf0f59 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | archiver/metadata_archiver.go | bboozzoo/artifacts-1 | e8d3700885dc92ba9bfa7b19f656630a46bf0f59 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | archiver/metadata_archiver.go | bboozzoo/artifacts-1 | e8d3700885dc92ba9bfa7b19f656630a46bf0f59 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright 2016 Mender Software AS
//
// 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 applicabl... | 32.875 | 92 | 0.734474 |
8779c6da3038d53dd621299c7afaab1f4e548220 | 3,334 | html | HTML | Templates/control-pager.html | Cleancodefactory/BindKraft | 1f7bdb00f9cf17c21bdb1dfbe751a353a3a8986e | [
"MIT"
] | 13 | 2019-03-28T14:48:32.000Z | 2020-12-22T10:38:25.000Z | Templates/control-pager.html | Cleancodefactory/BindKraft | 1f7bdb00f9cf17c21bdb1dfbe751a353a3a8986e | [
"MIT"
] | 31 | 2019-04-11T18:04:10.000Z | 2022-03-07T18:30:32.000Z | Templates/control-pager.html | Cleancodefactory/BindKraft | 1f7bdb00f9cf17c21bdb1dfbe751a353a3a8986e | [
"MIT"
] | 5 | 2019-05-09T13:59:55.000Z | 2020-11-23T08:17:04.000Z | <!--container-->
<table class="bk-pager-container" data-bind-elementvisibility="{read source=__control path=$visible readdata=$pagerupdateevent}">
<!--class="c_width_207"-->
<tr>
<td class="bk-pager-element-holder" style="cursor:pointer;">
<!--go to first button-->
<div data-clas... | 74.088889 | 183 | 0.64997 |
58cd57c66fea78b81642708859b2a10c33e50b1c | 3,219 | swift | Swift | Sources/TuistKit/Services/ExecService.swift | leszko11/tuist | 3b1d6de7f247866d22b0afa1a3de7312242c77c7 | [
"MIT"
] | null | null | null | Sources/TuistKit/Services/ExecService.swift | leszko11/tuist | 3b1d6de7f247866d22b0afa1a3de7312242c77c7 | [
"MIT"
] | null | null | null | Sources/TuistKit/Services/ExecService.swift | leszko11/tuist | 3b1d6de7f247866d22b0afa1a3de7312242c77c7 | [
"MIT"
] | null | null | null | import Foundation
import ProjectDescription
import TSCBasic
import TuistCore
import TuistGraph
import TuistLoader
import TuistPlugin
import TuistSupport
import TuistTasks
enum ExecError: FatalError, Equatable {
case taskNotFound(String, [String])
var description: String {
switch self {
case le... | 29.805556 | 107 | 0.58776 |
394e0b4988609ce1bcd4b328d38987692f863455 | 596 | html | HTML | _includes/meilleurs-actualites.html | ETIBER/site-dinsic | c18c30aae4443fc2e3324f8c165b8b4c10800423 | [
"MIT"
] | 17 | 2018-10-05T09:17:41.000Z | 2022-01-14T10:19:31.000Z | _includes/meilleurs-actualites.html | Indianajaune/numerique.gouv.fr | 0c4b9c0978da0320a7875c3bd54a1d241e3bba71 | [
"MIT"
] | 10 | 2018-10-15T07:50:38.000Z | 2022-02-26T04:18:49.000Z | _includes/meilleurs-actualites.html | Indianajaune/numerique.gouv.fr | 0c4b9c0978da0320a7875c3bd54a1d241e3bba71 | [
"MIT"
] | 9 | 2018-10-12T12:43:01.000Z | 2021-11-12T20:34:08.000Z | <div id="meilleures-actualites" class="grid-container">
{% assign actualite_principal = sorted_actualites.first %}
<div class="grid-x grid-margin-x grid-margin-y margin-bottom-2">
{% include components/carte-double.html carte-double=actualite_principal %}
<ul class="cell remove-bullet large-12 grid-x grid... | 42.571429 | 84 | 0.676174 |
0bc25628bdeee646aae0cedd3efc79f8829fa812 | 4,963 | py | Python | scripts/corpinfo.py | HiroshiOhta/GetCorporationInfo | 3c64ba44a15d481c652da70d62f7127372ac6d1e | [
"Apache-2.0"
] | 1 | 2020-05-24T02:41:24.000Z | 2020-05-24T02:41:24.000Z | scripts/corpinfo.py | HiroshiOhta/GetCorporationInfo | 3c64ba44a15d481c652da70d62f7127372ac6d1e | [
"Apache-2.0"
] | null | null | null | scripts/corpinfo.py | HiroshiOhta/GetCorporationInfo | 3c64ba44a15d481c652da70d62f7127372ac6d1e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# 標準ライブラリ
from pathlib import Path
from re import search, sub
from sys import exit, argv
from xml.etree import ElementTree as ET
import csv
# サードパーティライブラリ
from requests import get
from requests.exceptions import Timeout, RequestException
# ローカルなライブラリ
from constants import ENC_API_KEY, NTA_API_... | 25.715026 | 84 | 0.518638 |