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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f6f6ef46c471cb72481478d06bec25d1fa895176 | 5,514 | swift | Swift | OntheMap/OntheMap/Controllers/ListViewController.swift | abhilashkhare/OntheMap | b8106d3bf787ee6099734c48bad812f255669c63 | [
"Apache-2.0"
] | null | null | null | OntheMap/OntheMap/Controllers/ListViewController.swift | abhilashkhare/OntheMap | b8106d3bf787ee6099734c48bad812f255669c63 | [
"Apache-2.0"
] | null | null | null | OntheMap/OntheMap/Controllers/ListViewController.swift | abhilashkhare/OntheMap | b8106d3bf787ee6099734c48bad812f255669c63 | [
"Apache-2.0"
] | null | null | null |
//ListViewController.swift
//OntheMap
//Created by Abhilash Khare on 2/13/18.
//Copyright © 2018 Abhilash Khare. All rights reserved.
import UIKit
import Foundation
class ListViewController: UIViewController, UITableViewDelegate , UITableViewDataSource {
@IBOutlet var tableView : UITableView?
... | 35.805195 | 146 | 0.560029 |
9c13ac4cc2876d0e6de860a0cd87200ed5b34869 | 936 | js | JavaScript | src/common/actions/regOptionsActions.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | src/common/actions/regOptionsActions.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | src/common/actions/regOptionsActions.js | Popov85/ratos3-frontend | 017a433f89faed10733c3d961f93e0fb0a9bfe59 | [
"MIT"
] | null | null | null | import appAPI from "../_api/appAPI";
const LOADING_REG_OPTIONS = "LOADING_REG_OPTIONS";
const LOADING_REG_OPTIONS_FAILURE = "LOADING_REG_OPTIONS_FAILURE";
const SET_REG_OPTIONS = "SET_REG_OPTIONS";
export const loading = isLoading => ({type: LOADING_REG_OPTIONS, isLoading});
export const loadingFailure = error => ({t... | 40.695652 | 89 | 0.674145 |
56b1dcc8b3bf033957358fd7299a6e2210a855ef | 688 | ts | TypeScript | server/src/routes.ts | ThaiMedeiros/ecoleta | 947aa27b4c2040fa529a0c909f5d748023f58f4b | [
"MIT"
] | null | null | null | server/src/routes.ts | ThaiMedeiros/ecoleta | 947aa27b4c2040fa529a0c909f5d748023f58f4b | [
"MIT"
] | 2 | 2022-02-27T05:56:20.000Z | 2022-02-27T06:09:55.000Z | server/src/routes.ts | ThaiMedeiros/ecoleta | 947aa27b4c2040fa529a0c909f5d748023f58f4b | [
"MIT"
] | null | null | null | import express from "express";
//importando os controladores
import PointsController from "./controllers/PointsController";
import ItemsController from "./controllers/ItemsController";
const routes = express.Router();
//criando instâncias dos recursos (controllers)
const pointsController = new PointsController();
co... | 32.761905 | 75 | 0.78343 |
99cb7dcf48068c135f6aaab025cdc769811c5bdb | 1,873 | swift | Swift | Example/TSWebView/MainViewController.swift | tsleedev/TSWebView | 15d31ed610548707c8a208076db448914da3dfa8 | [
"MIT"
] | null | null | null | Example/TSWebView/MainViewController.swift | tsleedev/TSWebView | 15d31ed610548707c8a208076db448914da3dfa8 | [
"MIT"
] | null | null | null | Example/TSWebView/MainViewController.swift | tsleedev/TSWebView | 15d31ed610548707c8a208076db448914da3dfa8 | [
"MIT"
] | null | null | null | //
// MainViewController.swift
// TSWebView
//
// Created by TAE SU LEE on 2021/07/08.
//
import UIKit
enum WebViewType {
case storyboard
case codeBase
case opensource
}
extension WebViewType {
var title: String {
switch self {
case .storyboard:
return "Make by Storyboa... | 26.380282 | 100 | 0.647624 |
7695a4b79096d1cc55fb5130d31af1f8def0d68f | 2,871 | kt | Kotlin | app/src/main/java/com/he/fastandroid/ui/activity/MainActivity.kt | tianhe-github/FastAndroid | 482c1a80468b07a4b947b64138cf8d8c16292a81 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/he/fastandroid/ui/activity/MainActivity.kt | tianhe-github/FastAndroid | 482c1a80468b07a4b947b64138cf8d8c16292a81 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/he/fastandroid/ui/activity/MainActivity.kt | tianhe-github/FastAndroid | 482c1a80468b07a4b947b64138cf8d8c16292a81 | [
"Apache-2.0"
] | null | null | null | package com.he.fastandroid.ui.activity
import android.os.Bundle
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.NavigationUI
import com.he.common.base.BaseActivity
import com.he.fastandroid.MyApplication
import com.he.fastandroid.R
import com.h... | 29.90625 | 94 | 0.64542 |
6807f85419d496f0e54c51ea97e87fd023b0c7c2 | 1,205 | kt | Kotlin | SimpleLogin/app/src/main/java/io/simplelogin/android/utils/extension/Context.kt | Stjinchan/Simple-Login-Android | 285bd9564d35a8d58a106a933b437873ce0a2d2a | [
"Apache-2.0"
] | null | null | null | SimpleLogin/app/src/main/java/io/simplelogin/android/utils/extension/Context.kt | Stjinchan/Simple-Login-Android | 285bd9564d35a8d58a106a933b437873ce0a2d2a | [
"Apache-2.0"
] | null | null | null | SimpleLogin/app/src/main/java/io/simplelogin/android/utils/extension/Context.kt | Stjinchan/Simple-Login-Android | 285bd9564d35a8d58a106a933b437873ce0a2d2a | [
"Apache-2.0"
] | null | null | null | package io.simplelogin.android.utils.extension
import android.content.Context
import android.content.pm.PackageManager
import android.util.DisplayMetrics
import android.widget.Toast
import io.simplelogin.android.utils.enums.SLError
fun Context.toastShortly(text: String): Toast {
val toast = Toast.makeText(this, t... | 30.897436 | 95 | 0.777593 |
ddc238b767782c8fd6d77f8289ef9470454045ea | 3,093 | php | PHP | resources/views/dashboard/notice-category/index.blade.php | Rakesh-Bhatt/notice-board | 5533162634bee2a641cf8dba411a217071f47117 | [
"MIT"
] | null | null | null | resources/views/dashboard/notice-category/index.blade.php | Rakesh-Bhatt/notice-board | 5533162634bee2a641cf8dba411a217071f47117 | [
"MIT"
] | null | null | null | resources/views/dashboard/notice-category/index.blade.php | Rakesh-Bhatt/notice-board | 5533162634bee2a641cf8dba411a217071f47117 | [
"MIT"
] | null | null | null | @include('dashboard.header')
<div class="breadcrumbs">
</div>
<div class="content">
<div class="animated fadeIn">
<div class="row">
<center>
<small><a href="{{route('notice-category.create')}}" class="btn btn-primary float-right">Create</a></small>
</center>
... | 47.584615 | 185 | 0.365341 |
fb0304c169f26467a98921c5035818c2ee3e7952 | 3,799 | go | Go | cmd/deploy.go | kylegc/appsody-cli | 31bdc506d7ef3ca08a1e61e97456617faec9e6cd | [
"Apache-2.0"
] | null | null | null | cmd/deploy.go | kylegc/appsody-cli | 31bdc506d7ef3ca08a1e61e97456617faec9e6cd | [
"Apache-2.0"
] | null | null | null | cmd/deploy.go | kylegc/appsody-cli | 31bdc506d7ef3ca08a1e61e97456617faec9e6cd | [
"Apache-2.0"
] | null | null | null | // Copyright © 2019 NAME HERE <EMAIL ADDRESS>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | 36.180952 | 173 | 0.705975 |
df79090d38354d6d83c921d01f8ed888d44ffc23 | 55 | rb | Ruby | lib/cocoapods-protected-dependencies.rb | Itaybre/cocoapods-protected-dependencies | b27a2d36396c75a0ae49e73194d0c90160bcd42c | [
"MIT"
] | 2 | 2021-02-16T19:18:34.000Z | 2021-02-17T12:41:05.000Z | lib/cocoapods-protected-dependencies.rb | Itaybre/cocoapods-protected-dependencies | b27a2d36396c75a0ae49e73194d0c90160bcd42c | [
"MIT"
] | null | null | null | lib/cocoapods-protected-dependencies.rb | Itaybre/cocoapods-protected-dependencies | b27a2d36396c75a0ae49e73194d0c90160bcd42c | [
"MIT"
] | null | null | null | require 'cocoapods-protected-dependencies/gem_version'
| 27.5 | 54 | 0.872727 |
0e4803b6270df28b395e18d8e9883ec8e3a730ea | 271 | html | HTML | sample/before.html | yury-tyshkevich/htmldiff.js | ef625497e3cbdef9a47d8590250692f8a49c754a | [
"MIT"
] | 15 | 2018-04-21T06:12:40.000Z | 2022-01-25T01:18:11.000Z | sample/before.html | yury-tyshkevich/htmldiff.js | ef625497e3cbdef9a47d8590250692f8a49c754a | [
"MIT"
] | 2 | 2021-03-03T19:43:49.000Z | 2022-01-19T16:34:59.000Z | sample/before.html | yury-tyshkevich/htmldiff.js | ef625497e3cbdef9a47d8590250692f8a49c754a | [
"MIT"
] | 8 | 2018-09-16T22:46:23.000Z | 2022-03-30T09:42:38.000Z | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8"/>
</head>
<body>
<p>This is some text.</p>
<figure>
<img src="before.png" alt="This is an image" />
<figcaption>This is an image</figcaption>
</figure>
</body>
</html>
| 15.941176 | 53 | 0.642066 |
bde22e39fe97683211c2dab2d01874e220bc7be7 | 12,651 | swift | Swift | PLRelational/Tests/QueryOptimizerTests.swift | plausiblelabs/plrelational | d904ea052b4e2b2db720733d3e63089c7d99e49b | [
"MIT"
] | 75 | 2017-08-10T21:21:13.000Z | 2022-02-06T15:34:02.000Z | PLRelational/Tests/QueryOptimizerTests.swift | plausiblelabs/plrelational | d904ea052b4e2b2db720733d3e63089c7d99e49b | [
"MIT"
] | 2 | 2019-11-22T19:30:47.000Z | 2019-11-22T19:31:28.000Z | PLRelational/Tests/QueryOptimizerTests.swift | plausiblelabs/plrelational | d904ea052b4e2b2db720733d3e63089c7d99e49b | [
"MIT"
] | 1 | 2017-08-23T06:06:23.000Z | 2017-08-23T06:06:23.000Z | //
// Copyright (c) 2017 Plausible Labs Cooperative, Inc.
// All rights reserved.
//
import XCTest
@testable import PLRelational
class QueryOptimizerTests: XCTestCase {
func testEquijoinOptimization() {
let instrumented = InstrumentedSelectableRelation(scheme: ["n"], values: [
["n": 1],
... | 35.436975 | 146 | 0.528575 |
45680465348a3f9bdf04c949769f56e913b81685 | 5,157 | rs | Rust | src/stream/channel.rs | hgallagher1993/futures-rs | 1b05e0e20ee95eb00d3f476700a678af32d5c225 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/stream/channel.rs | hgallagher1993/futures-rs | 1b05e0e20ee95eb00d3f476700a678af32d5c225 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/stream/channel.rs | hgallagher1993/futures-rs | 1b05e0e20ee95eb00d3f476700a678af32d5c225 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::sync::Arc;
use std::sync::atomic::{AtomicBool, Ordering};
use {Future, Poll, Async};
use slot::{Slot, Token};
use stream::Stream;
use task;
/// Creates an in-memory channel implementation of the `Stream` trait.
///
/// This method creates a concrete implementation of the `Stream` trait which
/// can be used ... | 31.638037 | 82 | 0.581152 |
2902bf65661f72c92c5756784b297b1e16c0475d | 1,438 | py | Python | tests/manual_print_lcd.py | LeonardoSanBenitez/computers-networks-final-project | b89a2e2351023977231493b2e8b9a1dd5e0ce334 | [
"MIT"
] | 1 | 2020-10-11T17:55:06.000Z | 2020-10-11T17:55:06.000Z | tests/manual_print_lcd.py | LeonardoSanBenitez/computers-networks-final-project | b89a2e2351023977231493b2e8b9a1dd5e0ce334 | [
"MIT"
] | null | null | null | tests/manual_print_lcd.py | LeonardoSanBenitez/computers-networks-final-project | b89a2e2351023977231493b2e8b9a1dd5e0ce334 | [
"MIT"
] | null | null | null | from subprocess import Popen, PIPE
from time import sleep
from datetime import datetime
import board
import digitalio
import adafruit_character_lcd.character_lcd as characterlcd
import os
path_img = 'assets/'
path_log = 'assets/log/log.txt'
# Modify this if you have a different sized character LCD
lcd_columns = 16
lc... | 28.76 | 115 | 0.716968 |
0a2168102155ef3ac42cc02b01c79ce2d2a58152 | 321 | h | C | UnitTestApp/SFUnitTest/SFUnitTest/iMASMainViewController.h | andrassomogyi/securefoundation | d42e410b601a12bb70cad1b885f5de260e643bea | [
"Apache-2.0"
] | 37 | 2015-01-05T16:52:43.000Z | 2019-11-27T20:18:02.000Z | UnitTestApp/SFUnitTest/SFUnitTest/iMASMainViewController.h | andrassomogyi/securefoundation | d42e410b601a12bb70cad1b885f5de260e643bea | [
"Apache-2.0"
] | 4 | 2015-07-01T13:36:32.000Z | 2017-10-04T18:34:51.000Z | UnitTestApp/SFUnitTest/SFUnitTest/iMASMainViewController.h | andrassomogyi/securefoundation | d42e410b601a12bb70cad1b885f5de260e643bea | [
"Apache-2.0"
] | 6 | 2016-01-19T20:11:57.000Z | 2021-08-04T17:31:03.000Z | //
// iMASMainViewController.h
// SFUnitTest
//
// Created by Ganley, Gregg on 9/13/13.
// Copyright (c) 2013 MITRE Corp. All rights reserved.
//
#import "iMASFlipsideViewController.h"
@interface iMASMainViewController : UIViewController <iMASFlipsideViewControllerDelegate>
- (IBAction)showInfo:(id)sender;
@end... | 20.0625 | 89 | 0.750779 |
d4e4f7c00d2debef24e5b66460c5de471e0e11b5 | 5,045 | swift | Swift | EmonCMSiOS/Helpers/Rx/UIControl+Combine.swift | emoncms/emoncms-ios | 890938b23e8d0471727c074852bb46dc1769fa69 | [
"MIT"
] | 14 | 2016-12-22T04:42:11.000Z | 2022-02-10T18:52:18.000Z | EmonCMSiOS/Helpers/Rx/UIControl+Combine.swift | emoncms/emoncms-ios | 890938b23e8d0471727c074852bb46dc1769fa69 | [
"MIT"
] | 55 | 2016-11-11T10:55:38.000Z | 2020-11-30T20:49:14.000Z | EmonCMSiOS/Helpers/Rx/UIControl+Combine.swift | emoncms/emoncms-ios | 890938b23e8d0471727c074852bb46dc1769fa69 | [
"MIT"
] | 9 | 2016-12-01T16:58:14.000Z | 2022-02-10T18:52:30.000Z | //
// UIControl+Combine.swift
// EmonCMSiOS
//
// Created by Matt Galloway on 11/08/2019.
// Copyright © 2019 Matt Galloway. All rights reserved.
//
// TAKEN FROM: https://www.avanderlee.com/swift/custom-combine-publisher/
import Combine
import UIKit
protocol CombineCompatible {}
/// A custom subscription to ca... | 29.676471 | 118 | 0.74668 |
816a409cf9cd20601c66ed6aac4121bdc072a2cc | 2,729 | sql | SQL | geolocated_events.sql | mirkolai/show-geolocated-events | 310ce105fb7ea878fb5fa2e49da1321a2f71cf86 | [
"Apache-2.0"
] | null | null | null | geolocated_events.sql | mirkolai/show-geolocated-events | 310ce105fb7ea878fb5fa2e49da1321a2f71cf86 | [
"Apache-2.0"
] | null | null | null | geolocated_events.sql | mirkolai/show-geolocated-events | 310ce105fb7ea878fb5fa2e49da1321a2f71cf86 | [
"Apache-2.0"
] | null | null | null | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `geoloc... | 34.544304 | 67 | 0.58996 |
f5e17b07ea0a5faaea50b5e9018be5f9c2e28ddb | 22,888 | asm | Assembly | avx2/zuc_avx2.asm | kevintraynor/intel-ipsec-mb | 5d5dc8686a2d748453115efc236e7cf56f1ba3fc | [
"BSD-3-Clause"
] | null | null | null | avx2/zuc_avx2.asm | kevintraynor/intel-ipsec-mb | 5d5dc8686a2d748453115efc236e7cf56f1ba3fc | [
"BSD-3-Clause"
] | null | null | null | avx2/zuc_avx2.asm | kevintraynor/intel-ipsec-mb | 5d5dc8686a2d748453115efc236e7cf56f1ba3fc | [
"BSD-3-Clause"
] | null | null | null | ;;
;; Copyright (c) 2020, Intel Corporation
;;
;; 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 ... | 26.187643 | 103 | 0.53989 |
4122f4c136258215c7f900a0fcaa45d5d6492759 | 391 | h | C | include/fast_io_i18n/lc_numbers/boolalpha.h | clayne/fast_io | 1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0 | [
"MIT"
] | 157 | 2021-07-12T07:19:15.000Z | 2022-02-16T02:22:45.000Z | include/fast_io_i18n/lc_numbers/boolalpha.h | clayne/fast_io | 1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0 | [
"MIT"
] | 7 | 2021-08-02T05:06:23.000Z | 2021-12-26T10:32:18.000Z | include/fast_io_i18n/lc_numbers/boolalpha.h | clayne/fast_io | 1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0 | [
"MIT"
] | 17 | 2022-02-19T20:16:18.000Z | 2022-03-29T20:50:49.000Z | #pragma once
namespace fast_io
{
template<std::integral char_type,manipulators::scalar_flags flags>
requires (flags.alphabet)
inline constexpr basic_io_scatter_t<char_type> print_scatter_define(basic_lc_all<char_type> const* __restrict all,manipulators::scalar_manip_t<flags,bool> val) noexcept
{
if(val.reference)
... | 23 | 168 | 0.803069 |
55994005309f0b47ac62b371bc75c9b33c08490e | 1,257 | html | HTML | Lesson07/02_testing/front/app/partials/album_view_partial.html | ronnel169/AngularJSLiveLessons | cef58c015affd54f775a5415d81fa4799aa76f1e | [
"Apache-2.0"
] | 57 | 2015-01-08T03:40:56.000Z | 2021-11-12T00:26:09.000Z | Lesson07/02_testing/front/app/partials/album_view_partial.html | leojim/AngularJSLiveLessons | cef58c015affd54f775a5415d81fa4799aa76f1e | [
"Apache-2.0"
] | 2 | 2015-12-21T22:40:42.000Z | 2016-08-01T12:42:32.000Z | Lesson07/02_testing/front/app/partials/album_view_partial.html | leojim/AngularJSLiveLessons | cef58c015affd54f775a5415d81fa4799aa76f1e | [
"Apache-2.0"
] | 60 | 2015-01-15T07:55:19.000Z | 2022-01-20T10:35:59.000Z |
<div style="width: 1000px; margin: 0 auto; padding-top 20px">
<div style="float: right">
<a href="/index.html#/albums"> Back to Albums </a>
</div>
<div class="alert alert-danger" ng-show="page_load_error"> {{ page_load_error }} </div>
<h3> {{ album.title }} ({{ album.name }}) </h3>
<div class="ale... | 29.928571 | 179 | 0.615752 |
9d1d3af05b1201bf8fdb71958a3ac12e6cc54ccc | 1,359 | html | HTML | prescription/prescription_app/templates/prescription_app/edit_profile.html | parthapaulpartha/Online_prescription | e2f66cb843a32af038298e45cd0dcfcac9520bd6 | [
"bzip2-1.0.6"
] | 1 | 2019-12-01T16:58:21.000Z | 2019-12-01T16:58:21.000Z | prescription/prescription_app/templates/prescription_app/edit_profile.html | parthapaulpartha/Online_prescription | e2f66cb843a32af038298e45cd0dcfcac9520bd6 | [
"bzip2-1.0.6"
] | null | null | null | prescription/prescription_app/templates/prescription_app/edit_profile.html | parthapaulpartha/Online_prescription | e2f66cb843a32af038298e45cd0dcfcac9520bd6 | [
"bzip2-1.0.6"
] | null | null | null | {% extends 'base.html' %}}
{% load crispy_forms_tags %}
{% block head %}
{% load staticfiles %}
{% endblock %}
{% block body %}
<div class="container">
<div style="margin-top:20px"></div>
<div class="row">
<div class='col-3'></div>
<div class... | 35.763158 | 110 | 0.348786 |
174198ed34e4e43c4cb923877b0d0eac64703f90 | 7,296 | html | HTML | src/app/modules/report-element/components/report-time-select.component.html | vjcspy/retail-cloud | 1ebdcdc4a45cdac415918cdb945a5f877be5af2f | [
"MIT"
] | 1 | 2017-06-02T03:59:31.000Z | 2017-06-02T03:59:31.000Z | src/app/modules/report-element/components/report-time-select.component.html | vjcspy/retail-cloud | 1ebdcdc4a45cdac415918cdb945a5f877be5af2f | [
"MIT"
] | 3 | 2017-02-28T08:42:59.000Z | 2018-04-20T07:15:34.000Z | src/app/modules/report-element/components/report-time-select.component.html | vjcspy/retail-cloud | 1ebdcdc4a45cdac415918cdb945a5f877be5af2f | [
"MIT"
] | 1 | 2018-01-19T08:27:10.000Z | 2018-01-19T08:27:10.000Z | <!--<div class="date-range-wrap">-->
<i class="icon-date-time"></i>
<input class="form-control txt-date-range" type="text" name="daterange" value="{{convertCurrentDateDisplay(model['current_dateStart'])}} - {{convertCurrentDateDisplay(model['current_dateEnd'])}}"/>
<div class="date-range-content" [hidden]=... | 56.55814 | 201 | 0.42585 |
f76e29c67efab65055199ad51707a5c82220076c | 5,549 | c | C | normalizer.c | TopalSolcan/f3-tur3s | c0194bf8bd7fb006a30b9a8244e6274b435205e3 | [
"Apache-2.0"
] | 1 | 2022-02-01T13:16:17.000Z | 2022-02-01T13:16:17.000Z | normalizer.c | TopalSolcan/f3-tur3s | c0194bf8bd7fb006a30b9a8244e6274b435205e3 | [
"Apache-2.0"
] | null | null | null | normalizer.c | TopalSolcan/f3-tur3s | c0194bf8bd7fb006a30b9a8244e6274b435205e3 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/types.h>
#include <dirent.h>
#include <string.h>
#include <errno.h>
#define oklidBoyutu 3
#define LINESIZE 100000
#define OZELLIK_SAYISI 17
typedef struct
{
double ozellik[OZELLIK_SAYISI];
} OZELLIK_MIN;
typedef struct
{
double ozelli... | 19.747331 | 94 | 0.475401 |
e95a5372d9434b5f6b835d1169fcae94e57d2dc2 | 1,926 | rb | Ruby | lib/loan_creator/timetable.rb | Mziserman/loan-creator | a30324939030e31c9e72245a6b934f4373cf8aba | [
"MIT"
] | null | null | null | lib/loan_creator/timetable.rb | Mziserman/loan-creator | a30324939030e31c9e72245a6b934f4373cf8aba | [
"MIT"
] | null | null | null | lib/loan_creator/timetable.rb | Mziserman/loan-creator | a30324939030e31c9e72245a6b934f4373cf8aba | [
"MIT"
] | null | null | null | # coding: utf-8
module LoanCreator
class Timetable
# Used to calculate next term's date (see ActiveSupport#advance)
PERIODS = {
month: {months: 1},
quarter: {months: 3},
semester: {months: 6},
year: {years: 1}
}
attr_reader :terms, :starts_on, :period, :starting_index ... | 26.75 | 124 | 0.602804 |
2c68e07db1a060261ae2a570962e79bf764ac082 | 75 | sql | SQL | src/test/resources/sql/select/c0c2b6b0.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/c0c2b6b0.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/c0c2b6b0.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:numeric.sql ln:664 expect:true
SELECT '-Infinity'::float4::numeric
| 25 | 38 | 0.746667 |
ddcc5ae49b73f239125f6d751ef1c117a5f628eb | 9,024 | go | Go | bfd/server/bfdControl.go | learnopx/opx-flxl3 | 1880e4ec6223bb7fb5d56cf11f7966a2969443e1 | [
"Apache-2.0"
] | null | null | null | bfd/server/bfdControl.go | learnopx/opx-flxl3 | 1880e4ec6223bb7fb5d56cf11f7966a2969443e1 | [
"Apache-2.0"
] | null | null | null | bfd/server/bfdControl.go | learnopx/opx-flxl3 | 1880e4ec6223bb7fb5d56cf11f7966a2969443e1 | [
"Apache-2.0"
] | 1 | 2018-12-17T02:06:36.000Z | 2018-12-17T02:06:36.000Z | //
//Copyright [2016] [SnapRoute Inc]
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 32.113879 | 108 | 0.659131 |
478047c6ab70747de77a294e5c0e47b8d2ade962 | 5,980 | html | HTML | homework-09/index.html | caeledon/goit-fe-course | 112d94b1bdbc8d86213d6767da6303c1790f3564 | [
"Unlicense"
] | null | null | null | homework-09/index.html | caeledon/goit-fe-course | 112d94b1bdbc8d86213d6767da6303c1790f3564 | [
"Unlicense"
] | null | null | null | homework-09/index.html | caeledon/goit-fe-course | 112d94b1bdbc8d86213d6767da6303c1790f3564 | [
"Unlicense"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sh... | 55.37037 | 215 | 0.424415 |
f1d57c61dd4f3992129e43f3089086d11ffbb0f2 | 335 | rb | Ruby | config/routes.rb | kevellis124/rails-states-countries | 1c3de7f0cc7ed1613534fd807437e6e6da0cb28d | [
"MIT"
] | null | null | null | config/routes.rb | kevellis124/rails-states-countries | 1c3de7f0cc7ed1613534fd807437e6e6da0cb28d | [
"MIT"
] | null | null | null | config/routes.rb | kevellis124/rails-states-countries | 1c3de7f0cc7ed1613534fd807437e6e6da0cb28d | [
"MIT"
] | null | null | null | # frozen_string_literal: true
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
get "/", to: "application#main_view", as: :main_view
post "/pick-country", to: "application#pick_country", as: :pick_country
root to: "application#... | 33.5 | 101 | 0.749254 |
4888ddd55f41b6d0e7c5c0458b1371f7f24f40c6 | 465 | kt | Kotlin | app/src/main/java/com/ashraf/movie/discovery/details/MovieDetailsState.kt | ashraf-atef/Movie-App2.0.0 | 404335d17764b1d69607c7702d61ae7b64ffa900 | [
"MIT"
] | 1 | 2020-10-03T20:51:39.000Z | 2020-10-03T20:51:39.000Z | app/src/main/java/com/ashraf/movie/discovery/details/MovieDetailsState.kt | ashraf-atef/Movie-App2.0.0 | 404335d17764b1d69607c7702d61ae7b64ffa900 | [
"MIT"
] | null | null | null | app/src/main/java/com/ashraf/movie/discovery/details/MovieDetailsState.kt | ashraf-atef/Movie-App2.0.0 | 404335d17764b1d69607c7702d61ae7b64ffa900 | [
"MIT"
] | null | null | null | package com.ashraf.movie.discovery.details
import com.airbnb.mvrx.Async
import com.airbnb.mvrx.MvRxState
import com.airbnb.mvrx.Uninitialized
import com.ashraf.movie.discovery.data.local.Movie
data class MovieDetailsState(
val title: String,
val photos: List<String> = listOf(),
val photosPageRequest: Asyn... | 31 | 63 | 0.76129 |
907d77c5621de728c428431322b165b35ea81ad7 | 3,371 | py | Python | src/fidesops/schemas/policy.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | src/fidesops/schemas/policy.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | src/fidesops/schemas/policy.py | eastandwestwind/fidesops | 93e2881c0fdc30075b7cc22024965d18cec0bdea | [
"Apache-2.0"
] | null | null | null | from typing import Dict, List, Optional, Union
from fidesops.schemas.shared_schemas import FidesOpsKey
from fidesops.models.policy import (
ActionType,
DataCategory,
)
from fidesops.schemas.api import BulkResponse, BulkUpdateFailed
from fidesops.schemas.base_class import BaseSchema
from fidesops.schemas.maskin... | 29.060345 | 101 | 0.753782 |
e3d63b918e52e782ac18264812f012b911de72eb | 465 | go | Go | input/util.go | potatoattack/stream_exporter | 889de55b9b8719b877ab60597868f9833ced9dae | [
"MIT"
] | 31 | 2017-01-04T00:19:14.000Z | 2022-03-30T20:16:59.000Z | input/util.go | potatoattack/stream_exporter | 889de55b9b8719b877ab60597868f9833ced9dae | [
"MIT"
] | 9 | 2017-10-12T10:51:37.000Z | 2019-06-23T06:41:36.000Z | input/util.go | potatoattack/stream_exporter | 889de55b9b8719b877ab60597868f9833ced9dae | [
"MIT"
] | 12 | 2017-10-12T08:45:16.000Z | 2021-06-01T10:55:10.000Z | package input
import (
"bytes"
"fmt"
"io"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/common/expfmt"
"github.com/prometheus/common/log"
)
func writeMetrics(w io.Writer) {
metfam, err := prometheus.DefaultGatherer.Gather()
if err != nil {
log.Fatal(err)
}
out := &bytes.Buffer{}... | 17.884615 | 64 | 0.673118 |
9d32e7e1a0706f317112dcf30192539a6e490e2d | 9,138 | html | HTML | src/app/task/edit-vote/edit-vote.component.html | grassrootza/grassroot-frontend | 88b7a7f2c15198019d90688e9959be2c653a640e | [
"BSD-3-Clause"
] | 3 | 2018-02-04T14:06:38.000Z | 2021-03-25T02:25:44.000Z | src/app/task/edit-vote/edit-vote.component.html | grassrootza/grassroot-frontend | 88b7a7f2c15198019d90688e9959be2c653a640e | [
"BSD-3-Clause"
] | 3 | 2018-01-29T15:22:42.000Z | 2018-11-01T21:33:42.000Z | src/app/task/edit-vote/edit-vote.component.html | grassrootza/grassroot-frontend | 88b7a7f2c15198019d90688e9959be2c653a640e | [
"BSD-3-Clause"
] | 1 | 2018-12-12T11:24:32.000Z | 2018-12-12T11:24:32.000Z | <div class="container primary-container">
<!-- <div class="row mb-3">
<div class="col-12">
<a (click)="routeToParent()" href="#" class="grassroot-breadcrumb"><i class="fas fa-arrow-left"></i>
{{ (returnToGroup ? 'general.breadcrumb.group' : 'general.breadcrumb.home') | translate }}</a>
</div>
... | 45.014778 | 158 | 0.502736 |
d0ac324144936c7643d4366e09895694dff297c4 | 1,012 | css | CSS | client/src/pages/Profile.css | echo1826/Sheltered | fe741beb9b2e051a6785050b1860696a7a4b5c12 | [
"MIT"
] | 4 | 2021-11-30T01:23:59.000Z | 2021-12-02T19:45:57.000Z | client/src/pages/Profile.css | echo1826/Sheltered | fe741beb9b2e051a6785050b1860696a7a4b5c12 | [
"MIT"
] | 8 | 2021-12-08T18:32:52.000Z | 2022-02-05T02:45:16.000Z | client/src/pages/Profile.css | echo1826/Sheltered | fe741beb9b2e051a6785050b1860696a7a4b5c12 | [
"MIT"
] | 3 | 2022-01-31T21:53:40.000Z | 2022-03-30T22:43:45.000Z | .userProfile {
padding-bottom: 35px;
}
h1{
font-family: 'Source Sans Pro', sans-serif;
font-size: 35px;
text-align: center;
}
.avatar{
display:flex;
justify-content: center;
align-items: center;
margin-bottom: 20px;
margin-left: 3%;
}
.profileDogs {
display: flex;
flex-wra... | 17.152542 | 47 | 0.618577 |
81b5cfd638a60c14a4bf3bb9d7c8d6543a3da3ee | 49,863 | swift | Swift | Sources/Soto/Services/DirectConnect/DirectConnect_API.swift | brokenhandsio/soto | 94eac08d348c8c5d6e8c97c86437c037483dbb82 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/DirectConnect/DirectConnect_API.swift | brokenhandsio/soto | 94eac08d348c8c5d6e8c97c86437c037483dbb82 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/DirectConnect/DirectConnect_API.swift | brokenhandsio/soto | 94eac08d348c8c5d6e8c97c86437c037483dbb82 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2021 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for t... | 132.968 | 1,467 | 0.779436 |
581d5acf1303ad20c0b368d10d902f3da7e9c269 | 147 | h | C | vis_classic/LogBarTable.h | WACUP/vis_classic | 1e16c248b06d85625d5f7a47c218e29f9d27378e | [
"MIT"
] | 6 | 2018-11-11T06:51:20.000Z | 2022-02-12T17:59:17.000Z | vis_classic/LogBarTable.h | WACUP/vis_classic | 1e16c248b06d85625d5f7a47c218e29f9d27378e | [
"MIT"
] | null | null | null | vis_classic/LogBarTable.h | WACUP/vis_classic | 1e16c248b06d85625d5f7a47c218e29f9d27378e | [
"MIT"
] | null | null | null | void LogBarValueTable(unsigned int nFftSize, unsigned int nSampleRate, unsigned int nLastBarCutHz, unsigned int nBars, unsigned int *pnBarTable);
| 73.5 | 146 | 0.829932 |
e554b8385c960287feaa53ddaf71ac2cedadc0f5 | 1,883 | ts | TypeScript | solutions/day03.ts | GiyoMoon/aoc2021 | 83d7e9018ed3b628353bc9a0a37b70a1462ecd74 | [
"Unlicense"
] | null | null | null | solutions/day03.ts | GiyoMoon/aoc2021 | 83d7e9018ed3b628353bc9a0a37b70a1462ecd74 | [
"Unlicense"
] | 1 | 2022-02-03T11:04:17.000Z | 2022-02-03T11:04:17.000Z | solutions/day03.ts | GiyoMoon/aoc2021 | 83d7e9018ed3b628353bc9a0a37b70a1462ecd74 | [
"Unlicense"
] | null | null | null | export default class Day3 {
private _binaryInput: string[];
public solve(input: string): { part1: any, part2: any; } {
this._binaryInput = input.split('\n');
// part 1
let bitCounts = new Array(this._binaryInput[0].length).fill(0);
this._binaryInput.forEach((bit) => {
const dArray = bit.spl... | 25.445946 | 83 | 0.560807 |
643f5031c12fbe271e5d8702698430ae506699c7 | 843 | swift | Swift | ModelingAndBinding-Starter/ModelingAndBinding/Post.swift | SmallwolfiOS/IGListKit-Binding-Guide | c0a9c4b3553364887f0ab0989c1fb0086d543ff0 | [
"MIT"
] | null | null | null | ModelingAndBinding-Starter/ModelingAndBinding/Post.swift | SmallwolfiOS/IGListKit-Binding-Guide | c0a9c4b3553364887f0ab0989c1fb0086d543ff0 | [
"MIT"
] | null | null | null | ModelingAndBinding-Starter/ModelingAndBinding/Post.swift | SmallwolfiOS/IGListKit-Binding-Guide | c0a9c4b3553364887f0ab0989c1fb0086d543ff0 | [
"MIT"
] | null | null | null | //
// Post.swift
// ModelingAndBinding
//
// Created by 马海平 on 2021/5/24.
// Copyright © 2021 Ryan Nystrom. All rights reserved.
//
import Foundation
import IGListKit
final class Post : ListDiffable {
let username : String
let timestamp: String
let imageURL: URL
let likes: Int
let comments: [C... | 22.184211 | 95 | 0.639383 |
1632750e17d2195855b8a96aea4496fc5e9e2cdb | 1,511 | ts | TypeScript | src/sagas/spotifyFetch.ts | eivhyl/spotify-organizer | c028aaa86eae03a85445ae8d7daed2fd7a19b56c | [
"MIT"
] | 2 | 2017-10-11T22:24:44.000Z | 2018-01-24T15:30:05.000Z | src/sagas/spotifyFetch.ts | eivhyl/spotify-organizer | c028aaa86eae03a85445ae8d7daed2fd7a19b56c | [
"MIT"
] | 2 | 2017-08-15T22:29:15.000Z | 2017-08-21T21:27:31.000Z | src/sagas/spotifyFetch.ts | eivhyl/spotify-organizer | c028aaa86eae03a85445ae8d7daed2fd7a19b56c | [
"MIT"
] | null | null | null | import { SagaIterator } from 'redux-saga'
import { call, put, select } from 'typed-redux-saga'
import { Actions } from '~/actions'
import { loginLink } from '~/consts'
import { State } from '~/types'
import { sleep } from '~/utils'
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-constraint
export fu... | 29.057692 | 98 | 0.677035 |
9b9e618a216cb0685c5b97bc9681f980c465311b | 912 | js | JavaScript | ntut/ex6.js | Dancore/scripts | 08d4eb0cc50720180b7d63cdd57266838607cd87 | [
"MIT"
] | null | null | null | ntut/ex6.js | Dancore/scripts | 08d4eb0cc50720180b7d63cdd57266838607cd87 | [
"MIT"
] | null | null | null | ntut/ex6.js | Dancore/scripts | 08d4eb0cc50720180b7d63cdd57266838607cd87 | [
"MIT"
] | null | null | null | var crypto = require('crypto')
//var path = require('path')
//var express = require('express')
var app = require('express')()
app.listen(process.argv[2])
app.put('/message/:id', function(req, res) {
var h = crypto.createHash('sha1')
.update(new Date().toDateString() + req.params.id)
.digest('hex')
res.sen... | 20.266667 | 117 | 0.633772 |
39d5fbbc837d350355c44821a318222dae808961 | 3,614 | java | Java | jp/cssj/homare/impl/a/c/d/f.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | 2 | 2021-07-16T10:43:25.000Z | 2021-12-15T13:54:10.000Z | jp/cssj/homare/impl/a/c/d/f.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | 1 | 2021-10-12T22:24:55.000Z | 2021-10-12T22:24:55.000Z | jp/cssj/homare/impl/a/c/d/f.java | MewX/contendo-viewer-v1.6.3 | 69fba3cea4f9a43e48f43148774cfa61b388e7de | [
"Apache-2.0"
] | null | null | null | /* */ package jp.cssj.homare.impl.a.c.d;
/* */
/* */ import java.net.URI;
/* */ import jp.cssj.homare.css.c.d;
/* */ import jp.cssj.homare.css.c.j;
/* */ import jp.cssj.homare.css.c.l;
/* */ import jp.cssj.homare.css.c.o;
/* */ import jp.cssj.homare.css.e.a;
/* */ import jp.cssj.homare.css.e... | 34.75 | 103 | 0.446873 |
165b21a6a61d95057b06a4fa4d2fb2ffb0cc1283 | 77 | ts | TypeScript | _posts/test-ts.ts | yuccie/promise | 3ff33b53c3024ac7b2dd602d5b907b56b637d46f | [
"CC-BY-4.0"
] | null | null | null | _posts/test-ts.ts | yuccie/promise | 3ff33b53c3024ac7b2dd602d5b907b56b637d46f | [
"CC-BY-4.0"
] | 1 | 2020-06-14T13:41:18.000Z | 2020-06-14T13:41:18.000Z | _posts/test-ts.ts | yuccie/promise | 3ff33b53c3024ac7b2dd602d5b907b56b637d46f | [
"CC-BY-4.0"
] | 1 | 2019-05-20T09:13:03.000Z | 2019-05-20T09:13:03.000Z | enum Color {Red = 1, Green, Blue}
let c: Color = Color.Green;
console.log(c); | 25.666667 | 33 | 0.675325 |
74bc524e6928c391f5254f2758457f17570a3d30 | 1,045 | kt | Kotlin | libraries/stdlib/common/test/jsCollectionFactories.kt | sschuberth/kotlin | 2a0b7e293fce018778310e4d45199e97d76d2fcb | [
"Apache-2.0"
] | null | null | null | libraries/stdlib/common/test/jsCollectionFactories.kt | sschuberth/kotlin | 2a0b7e293fce018778310e4d45199e97d76d2fcb | [
"Apache-2.0"
] | null | null | null | libraries/stdlib/common/test/jsCollectionFactories.kt | sschuberth/kotlin | 2a0b7e293fce018778310e4d45199e97d76d2fcb | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 43.541667 | 96 | 0.758852 |
5c6e339ab9d0c72d8cea145deca6f06ccbf77743 | 377 | c | C | 004MCU2/016RTC/Core/Src/it.c | igor-almeida-github/meus-projetos-com-microcontroladores-ARM | b5ecbc52ff9d1e665fe5c6b381938ad58f710c20 | [
"MIT"
] | null | null | null | 004MCU2/016RTC/Core/Src/it.c | igor-almeida-github/meus-projetos-com-microcontroladores-ARM | b5ecbc52ff9d1e665fe5c6b381938ad58f710c20 | [
"MIT"
] | null | null | null | 004MCU2/016RTC/Core/Src/it.c | igor-almeida-github/meus-projetos-com-microcontroladores-ARM | b5ecbc52ff9d1e665fe5c6b381938ad58f710c20 | [
"MIT"
] | null | null | null | /*
* it.c
*
* Created on: Jul 6, 2021
* Author: igor
*/
#include "stm32f4xx_hal.h"
extern RTC_HandleTypeDef hrtc;
void SysTick_Handler(void){
HAL_IncTick();
HAL_SYSTICK_IRQHandler();
}
void EXTI0_IRQHandler(void){
// Button pressed interrupt handler
HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_0);
}
void RTC_Al... | 15.708333 | 38 | 0.732095 |
905fba1e97ed2cc13e9e6abb7cb754f1154f2ab0 | 429 | py | Python | hard-gists/814599/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 21 | 2019-07-08T08:26:45.000Z | 2022-01-24T23:53:25.000Z | hard-gists/814599/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 5 | 2019-06-15T14:47:47.000Z | 2022-02-26T05:02:56.000Z | hard-gists/814599/snippet.py | jjhenkel/dockerizeme | eaa4fe5366f6b9adf74399eab01c712cacaeb279 | [
"Apache-2.0"
] | 17 | 2019-05-16T03:50:34.000Z | 2021-01-14T14:35:12.000Z |
from MySQLdb.cursors import SSDictCursor
def iterate_query(query, connection, arraysize=1):
c = connection.cursor(cursorclass=SSDictCursor)
c.execute(query)
while True:
nextrows = c.fetchmany(arraysize)
if not nextrows:
break
for row in nextrows:
yield row
... | 22.578947 | 51 | 0.666667 |
d8bfd3595c7d4ae37cc5727d374c7e59cf659ff5 | 20,794 | sql | SQL | APEX/f402/application/pages/page_00024.sql | jariolaine/APEX-Blog | 46ddc7ab5d336690a90ddf7f21b6da0f041e61fc | [
"MIT"
] | null | null | null | APEX/f402/application/pages/page_00024.sql | jariolaine/APEX-Blog | 46ddc7ab5d336690a90ddf7f21b6da0f041e61fc | [
"MIT"
] | null | null | null | APEX/f402/application/pages/page_00024.sql | jariolaine/APEX-Blog | 46ddc7ab5d336690a90ddf7f21b6da0f041e61fc | [
"MIT"
] | null | null | null | prompt --application/pages/page_00024
begin
-- Manifest
-- PAGE: 00024
-- Manifest End
wwv_flow_api.component_begin (
p_version_yyyy_mm_dd=>'2021.10.15'
,p_release=>'21.2.6'
,p_default_workspace_id=>18303204396897713
,p_default_application_id=>402
,p_default_id_offset=>0
,p_default_owner=>'BLOG_040000'
);
wwv_... | 29.578947 | 92 | 0.810041 |
b15ebd55ba4d4b5d3e4bb87ac2d6679700b0c572 | 776 | h | C | test/shmmap.h | MengRao/IPC_PubSub | 040d9aa75a6f52fdaad8f7970dbb147628f86f20 | [
"MIT"
] | 23 | 2018-09-16T08:45:51.000Z | 2022-01-19T09:47:37.000Z | test/shmmap.h | MengRao/IPC_PubSub | 040d9aa75a6f52fdaad8f7970dbb147628f86f20 | [
"MIT"
] | 2 | 2022-01-14T14:58:39.000Z | 2022-01-18T05:30:32.000Z | test/shmmap.h | MengRao/IPC_PubSub | 040d9aa75a6f52fdaad8f7970dbb147628f86f20 | [
"MIT"
] | 14 | 2018-09-24T08:06:43.000Z | 2021-12-22T13:58:35.000Z | #pragma once
#include <bits/stdc++.h>
#include <sys/shm.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <unistd.h>
#include <fcntl.h>
template<class T>
T* shmmap(const char * filename) {
int fd = shm_open(filename, O_CREAT | O_RDWR, 0666);
if(fd == -1) {
std::cerr << "shm_open failed: " << stre... | 26.758621 | 79 | 0.572165 |
d47f0681ee306a39e8470f02a9e52152f4e545b8 | 6,959 | rs | Rust | src/eeprom/wstate.rs | Tmplt/lpc43xx | bdfce9fbaf2baf49af6367620b61f5351b273f7a | [
"Apache-2.0",
"MIT"
] | null | null | null | src/eeprom/wstate.rs | Tmplt/lpc43xx | bdfce9fbaf2baf49af6367620b61f5351b273f7a | [
"Apache-2.0",
"MIT"
] | 2 | 2018-12-11T20:01:12.000Z | 2018-12-12T14:13:18.000Z | src/eeprom/wstate.rs | Tmplt/lpc43xx | bdfce9fbaf2baf49af6367620b61f5351b273f7a | [
"Apache-2.0",
"MIT"
] | null | null | null | #[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r" Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::WSTATE {
#[doc = r" Modifies the contents of the register"]
#[inline]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R, &'w mu... | 28.174089 | 184 | 0.532835 |
b06e83063532e934b05d18c506e9cf12f3c447df | 1,013 | kt | Kotlin | app/src/main/java/com/todoist_android/ui/Extensions.kt | malcolmmaima/Todolist-android | cc8fabfdc7e515be18b79c2a7d6812f2e9f3f1fd | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/todoist_android/ui/Extensions.kt | malcolmmaima/Todolist-android | cc8fabfdc7e515be18b79c2a7d6812f2e9f3f1fd | [
"Apache-2.0"
] | 13 | 2022-02-18T10:12:14.000Z | 2022-03-24T08:36:47.000Z | app/src/main/java/com/todoist_android/ui/Extensions.kt | malcolmmaima/Todolist-android | cc8fabfdc7e515be18b79c2a7d6812f2e9f3f1fd | [
"Apache-2.0"
] | 2 | 2022-02-18T05:41:36.000Z | 2022-03-10T09:02:00.000Z | package com.todoist_android.ui
import android.content.Context
import android.util.Log
import android.view.View
import android.view.inputmethod.InputMethodManager
import android.widget.EditText
import android.widget.PopupMenu
import android.widget.Toast
import androidx.fragment.app.FragmentManager
import com.google.and... | 34.931034 | 89 | 0.813425 |
1d4b6e0d51fb10a876c80df23717ca39bb34b01b | 897 | sql | SQL | Basic Join/Challenges.sql | kaushikmrao/-Hackerank-SQL-solutions | 16a27f7dd982497f88d53a267235017bee9d4696 | [
"MIT"
] | 188 | 2019-07-16T15:51:37.000Z | 2022-03-27T17:39:24.000Z | Basic Join/Challenges.sql | kaushikmrao/-Hackerank-SQL-solutions | 16a27f7dd982497f88d53a267235017bee9d4696 | [
"MIT"
] | 8 | 2018-05-20T12:29:43.000Z | 2022-03-31T22:39:17.000Z | Basic Join/Challenges.sql | kaushikmrao/-Hackerank-SQL-solutions | 16a27f7dd982497f88d53a267235017bee9d4696 | [
"MIT"
] | 93 | 2019-01-12T07:09:08.000Z | 2022-03-23T08:16:53.000Z | -- Use HAVING instead of WHERE since we have to filter on groups
-- Split the total number of counts into 2 pieces
-- First piece will be the largest number
-- Second piece will be the number which doesn't repeat (Unique) or is available once
select H.hacker_id, H.name, count(C.challenge_id) as total_count
from Hacke... | 32.035714 | 85 | 0.768116 |
9fd38efc9d90c43e862722d88ac555ca5a4b9260 | 885 | swift | Swift | Repository1/Repository1/Colors.swift | DiAnastasiaVi/Repository1 | 46085f754ef7278c99fb63c9f8bb621b797a54ad | [
"MIT"
] | null | null | null | Repository1/Repository1/Colors.swift | DiAnastasiaVi/Repository1 | 46085f754ef7278c99fb63c9f8bb621b797a54ad | [
"MIT"
] | null | null | null | Repository1/Repository1/Colors.swift | DiAnastasiaVi/Repository1 | 46085f754ef7278c99fb63c9f8bb621b797a54ad | [
"MIT"
] | null | null | null | //
// Colors.swift
// Repository1
//
// Created by Anastasia on 03.01.2022.
//
import UIKit
// MARK: -
// MARK: Color Mode
enum ColorMode {
case dark
case light
}
// MARK: -
// MARK: User Interface Style Property
class Colors {
static let shared = Colors()
private init() { }
// MARK: -
// MA... | 20.113636 | 49 | 0.577401 |
3d6375b6708357a8af74f8a408432482978a4a15 | 1,047 | swift | Swift | Chapter 1 - Arrays And Strings/6-StringCompression.playground/Contents.swift | vasizmeu/CrackingTheCodingInterview | e6ee505bf703ed39714b7ef55ffb3490e0a04450 | [
"MIT"
] | null | null | null | Chapter 1 - Arrays And Strings/6-StringCompression.playground/Contents.swift | vasizmeu/CrackingTheCodingInterview | e6ee505bf703ed39714b7ef55ffb3490e0a04450 | [
"MIT"
] | null | null | null | Chapter 1 - Arrays And Strings/6-StringCompression.playground/Contents.swift | vasizmeu/CrackingTheCodingInterview | e6ee505bf703ed39714b7ef55ffb3490e0a04450 | [
"MIT"
] | null | null | null | import UIKit
// Implement a method to perform basic string compression using the countrs of repeated characters. For example,
// the string aabcccccaaa would become a2b1c5a3. If the "compressed" string would not become smaller than the original string,
// your method should return the original string. You can assume t... | 26.175 | 126 | 0.592168 |
74131c265e285eb797c8133ee88415df983fe67f | 876 | c | C | ports/xDMS/source/u_quick.c | phmullins/beos | ab4317f49aed404fe7091e2b24bda381628f17c3 | [
"MIT"
] | null | null | null | ports/xDMS/source/u_quick.c | phmullins/beos | ab4317f49aed404fe7091e2b24bda381628f17c3 | [
"MIT"
] | null | null | null | ports/xDMS/source/u_quick.c | phmullins/beos | ab4317f49aed404fe7091e2b24bda381628f17c3 | [
"MIT"
] | null | null | null |
/*
* xDMS v1.3 - Portable DMS archive unpacker - Public Domain
* Written by Andre Rodrigues de la Rocha <adlroc@usa.net>
*
*
*/
#include <string.h>
#include "cdata.h"
#include "u_quick.h"
#include "getbits.h"
#define QBITMASK 0xff
USHORT quick_text_loc;
USHORT Unpack_QUICK(UCHAR *in, UC... | 18.25 | 80 | 0.615297 |
218b2642b2009f57e694b36b3a80a01d98165393 | 3,039 | kt | Kotlin | app/src/main/kotlin/lv/rigadevday/android/ui/tabs/TabActivity.kt | RigaDevDay/riga-dev-day-android | 0900b1ff762d422ab210ef62a2dcad7f21805fce | [
"MIT"
] | 6 | 2015-11-30T17:43:52.000Z | 2018-04-23T08:06:38.000Z | app/src/main/kotlin/lv/rigadevday/android/ui/tabs/TabActivity.kt | RigaDevDay/rdd-android | 0900b1ff762d422ab210ef62a2dcad7f21805fce | [
"MIT"
] | 14 | 2016-02-08T22:19:49.000Z | 2021-11-22T08:01:42.000Z | app/src/main/kotlin/lv/rigadevday/android/ui/tabs/TabActivity.kt | RigaDevDay/riga-dev-day-android | 0900b1ff762d422ab210ef62a2dcad7f21805fce | [
"MIT"
] | 6 | 2015-12-02T17:48:16.000Z | 2020-05-02T19:45:05.000Z | package lv.rigadevday.android.ui.tabs
import android.content.res.Configuration
import android.support.design.widget.BottomNavigationView
import android.support.v4.app.Fragment
import android.view.Menu
import android.view.MenuItem
import kotlinx.android.synthetic.main.activity_tab.*
import lv.rigadevday.android.R
impor... | 35.337209 | 98 | 0.734123 |
75fd6ac263d2f837e18da009c320aa0eea44c092 | 2,425 | php | PHP | app/Http/Controllers/Api/RouterHandlers/Getters/Actions/DocumentAnalys.php | CbIPOKGIT/database-server | f8c3cf4f946b0e040c66cf3c8ad3f8aa361a13fa | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/RouterHandlers/Getters/Actions/DocumentAnalys.php | CbIPOKGIT/database-server | f8c3cf4f946b0e040c66cf3c8ad3f8aa361a13fa | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/RouterHandlers/Getters/Actions/DocumentAnalys.php | CbIPOKGIT/database-server | f8c3cf4f946b0e040c66cf3c8ad3f8aa361a13fa | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api\RouterHandlers\Getters\Actions;
use App\Models\Documents\ParsingDocument as Document;
use App\Http\Controllers\Api\RouterHandlers\CustomHandler;
class DocumentAnalys extends CustomHandler
{
public function getAvailableFilters()
{
$mappingFunction = function ($... | 33.680556 | 81 | 0.440412 |
4e11c38db3811f8a6683485497adbadc3ce2f966 | 6,661 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_234.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_234.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_234.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:
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x14464, %rdx
nop
nop
nop
nop
sub %rbp, %rbp
mov (%rdx), %rsi
sub %r13, %r13
lea addresses_WC_ht+0x7500, %rsi
lea addresses_normal_ht+0x103b0, %rdi
clflush (%rdi)
nop
nop
nop
... | 34.874346 | 2,999 | 0.661762 |
9d16f8cac9152ef2bcdf48135f64a00fb3abf6a5 | 842 | html | HTML | cranworth/cranworth_site/templates/cranworth_site/404.html | cjoc/cranworth | c048437b2dfb8b7908f8c2b7a7382502d461bb5e | [
"MIT"
] | null | null | null | cranworth/cranworth_site/templates/cranworth_site/404.html | cjoc/cranworth | c048437b2dfb8b7908f8c2b7a7382502d461bb5e | [
"MIT"
] | null | null | null | cranworth/cranworth_site/templates/cranworth_site/404.html | cjoc/cranworth | c048437b2dfb8b7908f8c2b7a7382502d461bb5e | [
"MIT"
] | null | null | null | {% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE-edge">
<meta name="viewport" content="width = device-width, initial-scale = 1">
<title>Welcome | Cranworth Law Society</title>
<link rel="stylesheet" href="{% static 'css/b... | 27.16129 | 96 | 0.605701 |
85a0fd0e72de1298c2c01185a7c7ab8203e8825e | 1,198 | h | C | src/Algorithm/DynamicProgramming/DavisStaircase.h | jljacoblo/jalgorithmCPP | b64307bfd029e3e276d8f9a91381aef812075e6f | [
"MIT"
] | null | null | null | src/Algorithm/DynamicProgramming/DavisStaircase.h | jljacoblo/jalgorithmCPP | b64307bfd029e3e276d8f9a91381aef812075e6f | [
"MIT"
] | null | null | null | src/Algorithm/DynamicProgramming/DavisStaircase.h | jljacoblo/jalgorithmCPP | b64307bfd029e3e276d8f9a91381aef812075e6f | [
"MIT"
] | null | null | null | //
// Created by Jacob Lo on 10/18/18.
//
/*
* MEDIUM
* https://www.hackerrank.com/challenges/ctci-recursive-staircase/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=recursion-backtracking
*
* calc number of all possible way to climb a stair with n step, with each step of... | 19.015873 | 178 | 0.57429 |
9057697d1064019dc81e89d6c49a53b4a8291a0d | 386 | py | Python | streamprox/__init__.py | ibmcb/StreamProx | 7e74b7138c4f9aea773d5ead7a48b7c9e503feca | [
"MIT"
] | 1 | 2017-06-10T20:14:48.000Z | 2017-06-10T20:14:48.000Z | streamprox/__init__.py | hinesmr/StreamProx | deeb07befb3127310ee1ccd9148ee84db6b168a7 | [
"MIT"
] | null | null | null | streamprox/__init__.py | hinesmr/StreamProx | deeb07befb3127310ee1ccd9148ee84db6b168a7 | [
"MIT"
] | null | null | null | ################################################################
# Copyright 2012 Sheffler
################################################################
try:
import pkg_resources
version = pkg_resources.require("StreamProx")[0].version
except:
## i.e. no setuptools or no package installed ...
versio... | 24.125 | 64 | 0.468912 |
887fe13a9aac76768416282cc542abb080938e3d | 207 | kt | Kotlin | map/src/main/kotlin/de/darkatra/bfme2/map/CastleData.kt | DarkAtra/bfme2-modding-utils | 5b4b205575c2b1c6ff729cfeb07d91c345f8db19 | [
"MIT"
] | 2 | 2021-02-06T15:11:59.000Z | 2021-12-17T06:28:43.000Z | map/src/main/kotlin/de/darkatra/bfme2/map/CastleData.kt | DarkAtra/bfme2-modding-utils | 5b4b205575c2b1c6ff729cfeb07d91c345f8db19 | [
"MIT"
] | 6 | 2021-01-01T21:55:02.000Z | 2021-12-17T06:22:58.000Z | map/src/main/kotlin/de/darkatra/bfme2/map/CastleData.kt | DarkAtra/bfme2-modding-utils | 5b4b205575c2b1c6ff729cfeb07d91c345f8db19 | [
"MIT"
] | null | null | null | package de.darkatra.bfme2.map
import de.darkatra.bfme2.Vector3
data class CastleData(
val propertyKey: PropertyKey,
val castleTemplates: List<CastleTemplate>,
val castlePerimeterPoints: List<Vector3>
)
| 20.7 | 43 | 0.811594 |
0b8bbb57f61438a9cdd497a599dabe456d4ca928 | 2,521 | py | Python | src/api/handlers/projects/tokens.py | sap-steffen/InfraBox | 36c8b626b517415e4363c99037c5d2c118966e56 | [
"Apache-2.0"
] | 50 | 2017-09-03T15:54:08.000Z | 2019-03-13T16:53:15.000Z | src/api/handlers/projects/tokens.py | sap-steffen/InfraBox | 36c8b626b517415e4363c99037c5d2c118966e56 | [
"Apache-2.0"
] | 241 | 2017-09-03T14:40:08.000Z | 2022-03-02T02:32:26.000Z | src/api/handlers/projects/tokens.py | sap-steffen/InfraBox | 36c8b626b517415e4363c99037c5d2c118966e56 | [
"Apache-2.0"
] | 17 | 2017-09-03T11:28:01.000Z | 2018-04-30T15:58:18.000Z | from flask import request, g, abort
from flask_restplus import Resource, fields
from pyinfrabox.utils import validate_uuid4
from pyinfraboxutils.ibflask import auth_required, OK
from pyinfraboxutils.ibrestplus import api
from pyinfraboxutils.token import encode_project_token
from api.namespaces import project as ns
p... | 31.911392 | 84 | 0.624752 |
4b4efe1f87c9fb552b411af8a180f7b3f18a3001 | 19,184 | swift | Swift | AiraVisionSim/UIView+CameraBackground.swift | aira/aira-vision-sim | fecec33f8a23d10bac56fef4633265430b681327 | [
"Apache-2.0"
] | 2 | 2017-09-25T01:24:40.000Z | 2017-09-27T16:10:13.000Z | AiraVisionSim/UIView+CameraBackground.swift | aira/aira-vision-sim | fecec33f8a23d10bac56fef4633265430b681327 | [
"Apache-2.0"
] | null | null | null | AiraVisionSim/UIView+CameraBackground.swift | aira/aira-vision-sim | fecec33f8a23d10bac56fef4633265430b681327 | [
"Apache-2.0"
] | null | null | null | //
// UIView+CameraBackground.swift
// Show camera input as a background to any UIView.
//
// Created by Yonat Sharon on 11/1/15.
// Copyright (c) 2015 Yonat Sharon. All rights reserved.
//
import AVFoundation
import UIKit
import MultiToggleButton
import MiniLayout
public extension UIView {
// MARK: - Public ... | 37.76378 | 214 | 0.638032 |
7087a76e333414f3fd36188726acb573c5444bda | 78 | sql | SQL | migrations/migrations/default/1619468397474_alter_table_source_collector_source_alter_column_Details/down.sql | Adron/terrazura | 83f00240b9672d6eb404fce2b72ad9637609e0f6 | [
"Apache-2.0"
] | 11 | 2020-12-17T01:18:43.000Z | 2022-03-31T02:58:26.000Z | migrations/migrations/default/1619468397474_alter_table_source_collector_source_alter_column_Details/down.sql | Adron/terrazura | 83f00240b9672d6eb404fce2b72ad9637609e0f6 | [
"Apache-2.0"
] | null | null | null | migrations/migrations/default/1619468397474_alter_table_source_collector_source_alter_column_Details/down.sql | Adron/terrazura | 83f00240b9672d6eb404fce2b72ad9637609e0f6 | [
"Apache-2.0"
] | null | null | null | alter table "source_collector"."source" rename column "details" to "Details";
| 39 | 77 | 0.769231 |
1e68dcdcc228e418cf9e43de8a74246e85d71159 | 404 | css | CSS | frontend/src/modules/files/components/files-table/styles.css | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 9 | 2018-09-14T18:03:45.000Z | 2021-06-16T16:04:25.000Z | frontend/src/modules/files/components/files-table/styles.css | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 173 | 2019-01-18T19:25:05.000Z | 2022-01-10T21:15:46.000Z | frontend/src/modules/files/components/files-table/styles.css | bcgov/OCWA | e0bd0763ed1e3c0acc498cb1689778b4e22a475c | [
"Apache-2.0"
] | 3 | 2018-09-24T15:44:39.000Z | 2018-11-24T01:04:37.000Z | .container > div {
border-bottom: none !important;
}
.container th {
font-size: 13px !important;
}
.startCell {
padding-left: 10px;
}
.empty {
margin: 20px 0;
}
.empty p {
margin-top: 0;
}
.statusRow {
display: flex;
align-items: center;
}
.statusRow > span:first-child {
margin-right: 10px;
}
.re... | 11.542857 | 33 | 0.641089 |
d5f12304e2cdbb24a88c8b795a5ade6a311e0066 | 253 | h | C | PromotionForGloriousBattery/UICrossDisolveSegue.h | notoroid/PromotionForGloriousBattery | 328ee290fce9f1b43b23d3fabb70a846f7b63b12 | [
"MIT"
] | null | null | null | PromotionForGloriousBattery/UICrossDisolveSegue.h | notoroid/PromotionForGloriousBattery | 328ee290fce9f1b43b23d3fabb70a846f7b63b12 | [
"MIT"
] | null | null | null | PromotionForGloriousBattery/UICrossDisolveSegue.h | notoroid/PromotionForGloriousBattery | 328ee290fce9f1b43b23d3fabb70a846f7b63b12 | [
"MIT"
] | null | null | null | //
// UICrossDisolveSegue.h
// PromotionForGloriousBattery
//
// Created by 能登 要 on 2015/12/31.
// Copyright © 2015年 Irimasu Densan Planning. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UICrossDisolveSegue : UIStoryboardSegue
@end
| 18.071429 | 67 | 0.735178 |
177224160f0c34f35932a5e61677e2da5493ad4d | 2,133 | html | HTML | src/web/contests/templates/contests/list.html | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | 10 | 2017-04-15T05:00:17.000Z | 2019-08-27T21:08:48.000Z | src/web/contests/templates/contests/list.html | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | 2 | 2017-10-06T12:35:59.000Z | 2018-12-03T07:17:12.000Z | src/web/contests/templates/contests/list.html | werelaxe/drapo | 5f78da735819200f0e7efa6a5e6b3b45ba6e0d4b | [
"MIT"
] | 4 | 2017-03-08T21:17:21.000Z | 2019-05-10T16:22:58.000Z | {% extends '_layout.html' %}
{% load markdown_deux_tags %}
{% load i18n %}
{% block content %}
<div class="contests-list">
<div class="row">
{% for contest in contests %}
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
<div class="contests-list__contest">... | 43.530612 | 159 | 0.404594 |
79f461e6989712988404c41a0481fe989622862d | 495 | swift | Swift | SvrfSDK/Source/SvrfMediaType.swift | Svrf/svrf-ios-sdk | 6daf358220bc497d206737c8d3866533e2dcf0a0 | [
"MIT"
] | 25 | 2019-02-21T07:14:20.000Z | 2021-08-10T07:32:37.000Z | SvrfSDK/Source/SvrfMediaType.swift | Svrf/svrf-ios-sdk | 6daf358220bc497d206737c8d3866533e2dcf0a0 | [
"MIT"
] | 33 | 2019-02-21T07:42:58.000Z | 2021-11-27T08:14:22.000Z | SvrfSDK/Source/SvrfMediaType.swift | Svrf/svrf-ios-sdk | 6daf358220bc497d206737c8d3866533e2dcf0a0 | [
"MIT"
] | 1 | 2019-10-09T13:21:57.000Z | 2019-10-09T13:21:57.000Z | //
// SvrfMediaType.swift
// SvrfSDK
//
// Created by Andrei Evstratenko on 28/05/2019.
// Copyright © 2019 Svrf, Inc. All rights reserved.
//
/** The type of the Media. This should influence the media controls displayed to the user. */
public enum SvrfMediaType: String, Codable {
/** A photo file (png or jpeg... | 27.5 | 93 | 0.626263 |
47408668bee4f2a60e3a275bbc381429f80247c6 | 5,505 | html | HTML | documentation PHP/php/Controllers/html/classes.html | BrainSaladSurgery/TastyKIT | c4bc305dcb838e574fdc98c0ed259df1b5a0768a | [
"MIT"
] | null | null | null | documentation PHP/php/Controllers/html/classes.html | BrainSaladSurgery/TastyKIT | c4bc305dcb838e574fdc98c0ed259df1b5a0768a | [
"MIT"
] | null | null | null | documentation PHP/php/Controllers/html/classes.html | BrainSaladSurgery/TastyKIT | c4bc305dcb838e574fdc98c0ed259df1b5a0768a | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | 52.428571 | 490 | 0.705177 |
9bcd28239a1900014856faae19b0a7eb2df58e2d | 17,795 | js | JavaScript | Source/WatchMe/Web/WatchMe.Web/Scripts/kendo/kendo.gantt.list.min.js | ginovski/WatchMe | 92a0207c37af97ef88f67554a4c66976174812bc | [
"Apache-2.0"
] | 3 | 2016-02-08T13:55:32.000Z | 2020-04-21T17:13:41.000Z | Source/WatchMe/Web/WatchMe.Web/Scripts/kendo/kendo.gantt.list.min.js | ginovski/WatchMe | 92a0207c37af97ef88f67554a4c66976174812bc | [
"Apache-2.0"
] | null | null | null | Source/WatchMe/Web/WatchMe.Web/Scripts/kendo/kendo.gantt.list.min.js | ginovski/WatchMe | 92a0207c37af97ef88f67554a4c66976174812bc | [
"Apache-2.0"
] | null | null | null | /**
* Kendo UI v2016.1.112 (http://www.telerik.com/kendo-ui)
* Copyright 2016 Telerik AD. All rights reserved.
*
* Kendo UI commercial licenses may be obtained at
* http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
* If you do not own a commercial license, this file shall be governed by the tria... | 1,617.727273 | 17,405 | 0.623377 |
9e537c3358e34bc52b18fa55414a161324387715 | 650 | rs | Rust | disqualified/heap/borrowck-closures-two-mut-fail-5.rs | aatxe/oxide-test-suite | b9eb10ae9e3c294167203de714f06262622dbc1d | [
"Apache-2.0",
"MIT"
] | null | null | null | disqualified/heap/borrowck-closures-two-mut-fail-5.rs | aatxe/oxide-test-suite | b9eb10ae9e3c294167203de714f06262622dbc1d | [
"Apache-2.0",
"MIT"
] | null | null | null | disqualified/heap/borrowck-closures-two-mut-fail-5.rs | aatxe/oxide-test-suite | b9eb10ae9e3c294167203de714f06262622dbc1d | [
"Apache-2.0",
"MIT"
] | null | null | null | // Tests that two closures cannot simultaneously have mutable
// access to the variable, whether that mutable access be used
// for direct assignment or for taking mutable ref. Issue #6801.
fn to_fn_mut(f: fn()) -> fn() { f }
fn set<'a>(x: &'a mut isize) {
*x = 4;
}
struct Foo {
f: Box<isize>
}
fn g() {
... | 24.074074 | 64 | 0.578462 |
aa28d29859d103c28d0ae8e6681b3ce8163ab2ec | 636 | asm | Assembly | oeis/020/A020827.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/020/A020827.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/020/A020827.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A020827: Decimal expansion of 1/sqrt(70).
; Submitted by Jon Maiga
; 1,1,9,5,2,2,8,6,0,9,3,3,4,3,9,3,6,3,9,9,6,8,8,1,7,1,7,9,6,9,3,1,2,4,9,8,4,8,4,6,8,7,9,0,9,8,9,9,8,1,0,3,1,4,2,5,8,7,4,1,6,4,9,0,1,1,4,8,8,3,9,6,0,8,4,9,0,2,4,2,9,9,7,5,8,3,0,6,7,3,1,3,7,8,5,0,2,1,9,4
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
a... | 15.9 | 201 | 0.514151 |
44a10cd2ab962347002bcc29d56fd2c554fac2c0 | 22,548 | sql | SQL | Daten/Updateskripte/UpdateTo_V0108.sql | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 5 | 2021-09-01T06:47:08.000Z | 2022-03-10T08:03:55.000Z | Daten/Updateskripte/UpdateTo_V0108.sql | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 16 | 2021-09-04T15:26:22.000Z | 2022-03-31T15:52:44.000Z | Daten/Updateskripte/UpdateTo_V0108.sql | Constructor0987/MeisterGeister | 4614d882fee0bb38fb0e06905211afc26dc1aee8 | [
"Apache-2.0"
] | 1 | 2022-03-16T14:16:40.000Z | 2022-03-16T14:16:40.000Z | -- Landschaften aufgeräumt und gruppiert
CREATE TABLE [Landschaftsgruppe] (
[LandschaftsgruppeID] nvarchar(1) NOT NULL
, [Name] nvarchar(254) NOT NULL
);
CREATE TABLE [Landschaftsgruppe_Landschaft] (
[LandschaftsgruppeID] nvarchar(1) DEFAULT 'A' NOT NULL
, [LandschaftGUID] uniqueidentifier NOT NULL
);
A... | 70.242991 | 296 | 0.752306 |
4dfcae8110eb04f0b1675bf266b3c5b1e1c0b058 | 437 | swift | Swift | Tones/Views/SectionHeaderView.swift | ngquerol/Tones | 69ee9ac93267bf3ff52d450b57dedb7dd32f18d1 | [
"MIT"
] | null | null | null | Tones/Views/SectionHeaderView.swift | ngquerol/Tones | 69ee9ac93267bf3ff52d450b57dedb7dd32f18d1 | [
"MIT"
] | null | null | null | Tones/Views/SectionHeaderView.swift | ngquerol/Tones | 69ee9ac93267bf3ff52d450b57dedb7dd32f18d1 | [
"MIT"
] | null | null | null | //
// SectionHeaderView.swift
// Tones
//
// Created by Nicolas Gaulard-Querol on 26/02/2020.
// Copyright © 2020 Nicolas Gaulard-Querol. All rights reserved.
//
import AppKit
class SectionHeaderView: NSView {
static let identifier = NSUserInterfaceItemIdentifier(rawValue: "SectionHeaderView")
// MARK: I... | 21.85 | 88 | 0.741419 |
e62a48360b0586e71a9a2896c72df30eba84aa76 | 420 | kt | Kotlin | presentation/src/main/kotlin/ru/cherryperry/amiami/presentation/update/UpdateDialogModule.kt | CherryPerry/Amiami-android-app | 6cda5f48d33a31ab0d23814ad36fa525601892f1 | [
"Apache-2.0"
] | 13 | 2017-02-24T19:47:46.000Z | 2021-06-23T15:32:14.000Z | presentation/src/main/kotlin/ru/cherryperry/amiami/presentation/update/UpdateDialogModule.kt | CherryPerry/Amiami-android-app | 6cda5f48d33a31ab0d23814ad36fa525601892f1 | [
"Apache-2.0"
] | 39 | 2018-08-11T18:53:19.000Z | 2021-08-05T16:31:53.000Z | presentation/src/main/kotlin/ru/cherryperry/amiami/presentation/update/UpdateDialogModule.kt | CherryPerry/Amiami-android-app | 6cda5f48d33a31ab0d23814ad36fa525601892f1 | [
"Apache-2.0"
] | 2 | 2018-06-30T21:08:38.000Z | 2019-08-24T07:32:50.000Z | package ru.cherryperry.amiami.presentation.update
import androidx.lifecycle.ViewModel
import dagger.Binds
import dagger.Module
import dagger.multibindings.IntoMap
import ru.cherryperry.amiami.presentation.base.ViewModelKey
@Module
abstract class UpdateDialogModule {
@Binds
@IntoMap
@ViewModelKey(UpdateDi... | 24.705882 | 75 | 0.82381 |
5db59a3105048f43a6db4cc3767d702196f22396 | 85 | sql | SQL | SQL/6kyu/simple_having/solution.sql | petergouvoussis/codewars_challenges | 8800b2fcb0283838a828857f70e3b46169b7b184 | [
"MIT"
] | null | null | null | SQL/6kyu/simple_having/solution.sql | petergouvoussis/codewars_challenges | 8800b2fcb0283838a828857f70e3b46169b7b184 | [
"MIT"
] | null | null | null | SQL/6kyu/simple_having/solution.sql | petergouvoussis/codewars_challenges | 8800b2fcb0283838a828857f70e3b46169b7b184 | [
"MIT"
] | null | null | null | SELECT age, COUNT(*) AS total_people FROM people
GROUP BY age
HAVING COUNT(*) >= 10;
| 21.25 | 48 | 0.717647 |
b16c2187e8b4cc1123a7a0bf8c239a8a822f43bc | 1,019 | kt | Kotlin | custom-vu/src/main/kotlin/jces1209/vu/page/admin/customfields/DcBrowseCustomFieldsPage.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | null | null | null | custom-vu/src/main/kotlin/jces1209/vu/page/admin/customfields/DcBrowseCustomFieldsPage.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | 25 | 2020-03-03T15:32:59.000Z | 2021-02-02T03:25:25.000Z | custom-vu/src/main/kotlin/jces1209/vu/page/admin/customfields/DcBrowseCustomFieldsPage.kt | ssagnes/jces-1209 | a2bcc10cca4b1fb04327dc189033dafe9b41d003 | [
"Apache-2.0"
] | 9 | 2020-02-14T10:17:12.000Z | 2021-09-06T22:49:39.000Z | package jces1209.vu.page.admin.customfields
import com.atlassian.performance.tools.jiraactions.api.WebJira
import jces1209.vu.page.FalliblePage
import org.openqa.selenium.By
import org.openqa.selenium.support.ui.ExpectedConditions
import java.time.Duration
class DcBrowseCustomFieldsPage(
private val jira... | 33.966667 | 104 | 0.712463 |
383ad6f8bbe0591a7a4703de6f148a32ecc2fbf9 | 6,633 | lua | Lua | home/program/wezterm/wezterm.lua | vdesjardins/nix-config | 4bd057e4b7565fe6299b0b0bc8285f34b964dfa0 | [
"Apache-2.0"
] | null | null | null | home/program/wezterm/wezterm.lua | vdesjardins/nix-config | 4bd057e4b7565fe6299b0b0bc8285f34b964dfa0 | [
"Apache-2.0"
] | null | null | null | home/program/wezterm/wezterm.lua | vdesjardins/nix-config | 4bd057e4b7565fe6299b0b0bc8285f34b964dfa0 | [
"Apache-2.0"
] | null | null | null | local wezterm = require("wezterm")
local config = {
check_for_updates = false,
font = wezterm.font("JetBrainsMono Nerd Font"),
color_scheme = "GitHub Dark",
tab_bar_at_bottom = true,
inactive_pane_hsb = { hue = 1.0, saturation = 0.5, brightness = 1.0 },
exit_behavior = "Close",
leader = { key = "`", mods... | 44.817568 | 159 | 0.600181 |
187977190a84c44ddd39ed65330c06c6f9c5ecc9 | 1,043 | swift | Swift | CellControlKit/MainViewController.swift | wendellantildes/CellControlKit | a6101f16bf2a494fc0d4a77fc9aba0b0d082ec3b | [
"MIT"
] | 1 | 2018-09-25T10:50:45.000Z | 2018-09-25T10:50:45.000Z | CellControlKit/MainViewController.swift | wendellantildes/CellControlKit | a6101f16bf2a494fc0d4a77fc9aba0b0d082ec3b | [
"MIT"
] | 1 | 2017-03-01T19:09:43.000Z | 2017-03-01T19:09:43.000Z | CellControlKit/MainViewController.swift | wendellantildes/CellControlKit | a6101f16bf2a494fc0d4a77fc9aba0b0d082ec3b | [
"MIT"
] | 1 | 2018-04-28T03:39:39.000Z | 2018-04-28T03:39:39.000Z | //
// MainViewController.swift
// Forms
//
// Created by Wendell Antildes M Sampaio on 12/02/2017.
// Copyright © 2017 Wendell Antildes M Sampaio. All rights reserved.
//
import UIKit
class MainViewController: UITableViewController {
@IBOutlet var purchaseDatePicker: DatePickerTableViewCell!
overrid... | 26.74359 | 98 | 0.683605 |
8ce4a3207bd2c0aafbcaa522fd22fb8ed69e98bf | 1,794 | kt | Kotlin | app/src/test/java/com/bendaschel/kotlinplayground/RedditApiTest.kt | supercoffee/kotlin-playground | 75ad7a8d98cb7cd63761e77757579cfd7c99fa3c | [
"MIT"
] | null | null | null | app/src/test/java/com/bendaschel/kotlinplayground/RedditApiTest.kt | supercoffee/kotlin-playground | 75ad7a8d98cb7cd63761e77757579cfd7c99fa3c | [
"MIT"
] | null | null | null | app/src/test/java/com/bendaschel/kotlinplayground/RedditApiTest.kt | supercoffee/kotlin-playground | 75ad7a8d98cb7cd63761e77757579cfd7c99fa3c | [
"MIT"
] | null | null | null | package com.bendaschel.kotlinplayground
import okhttp3.Credentials
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import org.hamcrest.CoreMatchers.`is`
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertThat
import org.junit.Before
import org.junit.Test
import retrofit2.Ret... | 31.473684 | 98 | 0.642698 |
d9c34d48831444f2a9fbb4f49e63bb5ed4371f01 | 5,523 | rs | Rust | src/product.rs | jerry73204/rusty-perm | addba95d47380339e9e11a0b9663af825980cbd7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/product.rs | jerry73204/rusty-perm | addba95d47380339e9e11a0b9663af825980cbd7 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/product.rs | jerry73204/rusty-perm | addba95d47380339e9e11a0b9663af825980cbd7 | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::common::*;
/// The permutation composition operator.
pub trait PermProduct<Rhs> {
type Output;
fn perm_product(&self, other: &Rhs) -> Self::Output;
}
mod without_std {
use super::*;
use crate::perm_type::PermS;
impl<const SIZE: usize> PermProduct<PermS<SIZE>> for PermS<SIZE> {
... | 27.893939 | 83 | 0.502988 |
2da94d6ad4b481dea7d9c399b1217bc1d01bd762 | 377 | html | HTML | app/view/Common/district.html | Jeremy1401/survey | 023bf4778155cb8b1e63f58bea8c381306070806 | [
"Apache-2.0"
] | null | null | null | app/view/Common/district.html | Jeremy1401/survey | 023bf4778155cb8b1e63f58bea8c381306070806 | [
"Apache-2.0"
] | null | null | null | app/view/Common/district.html | Jeremy1401/survey | 023bf4778155cb8b1e63f58bea8c381306070806 | [
"Apache-2.0"
] | null | null | null | <script src="__PUBLIC__/js/district/jquery.cityselect.js"></script>
<div id="district" style="display: inline">
<select class="form-control prov" id="province" name="prov"></select>
<select class="form-control city" disabled="disabled" id="city" name="city"></select>
<select class="form-control dist" disab... | 62.833333 | 93 | 0.702918 |
6618a7a2a4e74aca4b0a086d63e62fd6f08ceaa3 | 696 | swift | Swift | Example/Collor/WeatherSectionDescriptor.swift | NyxReloaded/Collor | acb3af17e7a003747cddc00240a3eeb6ca5fd71d | [
"BSD-3-Clause"
] | 190 | 2017-08-20T16:50:38.000Z | 2022-01-20T09:55:56.000Z | Example/Collor/WeatherSectionDescriptor.swift | NyxReloaded/Collor | acb3af17e7a003747cddc00240a3eeb6ca5fd71d | [
"BSD-3-Clause"
] | 8 | 2017-09-02T17:23:08.000Z | 2022-02-26T08:27:37.000Z | Example/Collor/WeatherSectionDescriptor.swift | NyxReloaded/Collor | acb3af17e7a003747cddc00240a3eeb6ca5fd71d | [
"BSD-3-Clause"
] | 23 | 2017-08-31T21:00:05.000Z | 2021-06-05T16:11:54.000Z | //
// WeatherSectionDescriptor.swift
// Collor
//
// Created by Guihal Gwenn on 26/07/2017.
// Copyright (c) 2017-present, Voyages-sncf.com. All rights reserved.. All rights reserved.
//
import Foundation
import Collor
final class WeatherSectionDescriptor : CollectionSectionDescribable, SectionDecorable {
... | 24 | 92 | 0.683908 |
6097624f4fb6d81667e6544a3ba9abf59c5c9820 | 1,032 | kt | Kotlin | src/app/src/main/java/com/huawei/training/kotlin/database/tables/CoursesCodelabDetailsTable.kt | huaweicodelabs/HMS-Learning-Application | 9e038c432077d2bf0b0749f5c12cf8f58dbe5454 | [
"Apache-2.0"
] | null | null | null | src/app/src/main/java/com/huawei/training/kotlin/database/tables/CoursesCodelabDetailsTable.kt | huaweicodelabs/HMS-Learning-Application | 9e038c432077d2bf0b0749f5c12cf8f58dbe5454 | [
"Apache-2.0"
] | null | null | null | src/app/src/main/java/com/huawei/training/kotlin/database/tables/CoursesCodelabDetailsTable.kt | huaweicodelabs/HMS-Learning-Application | 9e038c432077d2bf0b0749f5c12cf8f58dbe5454 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Huawei Technologies Co., Ltd. 2019-2019. All rights reserved.
* Generated by the CloudDB ObjectType compiler. DO NOT EDIT!
*/
package com.huawei.training.kotlin.database.tables
import com.huawei.agconnect.cloud.database.CloudDBZoneObject
import com.huawei.agconnect.cloud.database.annotations.Pri... | 32.25 | 78 | 0.722868 |
3d2d3ded211e13a8f2a40dd72a1d459a121d223d | 799 | go | Go | src/main/pprof.go | lioneagle/gomake | fc3fc0619bd77c9e02ba0f779ca8daa0662b416b | [
"MIT"
] | null | null | null | src/main/pprof.go | lioneagle/gomake | fc3fc0619bd77c9e02ba0f779ca8daa0662b416b | [
"MIT"
] | null | null | null | src/main/pprof.go | lioneagle/gomake | fc3fc0619bd77c9e02ba0f779ca8daa0662b416b | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"os"
"os/exec"
"github.com/lioneagle/gomake/src/config"
"github.com/lioneagle/goutil/src/file"
)
func pprof(cfg *config.RunConfig) error {
setEnv(cfg)
testFileName := getTestFileName(cfg, cfg.Pprof.Package)
cpuProfileFileName := getCpuProfileFileName(cfg, cfg.Pprof.Package)
ok... | 19.975 | 68 | 0.715895 |
3937d181ff3c9b089e2abe61aeb7f7bdd3b152e0 | 47,460 | html | HTML | data/RMG/SABIC_aromatics_data/html/101.html | sowmyamanojna/Ab-initio-Synthesis-of-Amino-Acids | 112f2a38077aa7d384490f05a4af473039949d67 | [
"MIT"
] | null | null | null | data/RMG/SABIC_aromatics_data/html/101.html | sowmyamanojna/Ab-initio-Synthesis-of-Amino-Acids | 112f2a38077aa7d384490f05a4af473039949d67 | [
"MIT"
] | null | null | null | data/RMG/SABIC_aromatics_data/html/101.html | sowmyamanojna/Ab-initio-Synthesis-of-Amino-Acids | 112f2a38077aa7d384490f05a4af473039949d67 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<meta content="width = device-width, initial-scale = 0.6" name="viewport"/><!-- For responsive mobile view -->
<title>
RMG Thermodynamics Libraries
</title>
<link href="https://fonts.googleapis.com/css?family=... | 94.353877 | 6,095 | 0.71555 |
26ad50dde10bc5565cfbe815eff8642965184166 | 4,053 | java | Java | CGMES_2.4.15_27JAN2020/cim4j/Limit.java | richardmarston/cim4j | 69e483a607e0259db91ddfdfd72687daf61b36bd | [
"Apache-2.0"
] | 1 | 2021-12-02T13:26:07.000Z | 2021-12-02T13:26:07.000Z | CGMES_2.4.15_27JAN2020/cim4j/Limit.java | richardmarston/cim4j | 69e483a607e0259db91ddfdfd72687daf61b36bd | [
"Apache-2.0"
] | 1 | 2021-07-24T08:12:26.000Z | 2021-07-24T08:12:26.000Z | CGMES_2.4.15_27JAN2020/cim4j/Limit.java | richardmarston/cim4j | 69e483a607e0259db91ddfdfd72687daf61b36bd | [
"Apache-2.0"
] | 1 | 2021-07-23T10:57:14.000Z | 2021-07-23T10:57:14.000Z | package cim4j;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import cim4j.IdentifiedObject;
import java.lang.ArrayIndexOutOfBoundsException;
import java.lang.IllegalArgumentException;
/*
Specifies one limit value for a Measurement. A Measurement typically has several limits that are kept ... | 30.938931 | 363 | 0.719961 |
5959c90b40a5078fe5e456567dc542724929d362 | 2,368 | h | C | Engine/foundation/util/randomnumbertable.h | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 26 | 2015-01-15T12:57:40.000Z | 2022-02-16T10:07:12.000Z | Engine/foundation/util/randomnumbertable.h | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | null | null | null | Engine/foundation/util/randomnumbertable.h | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 17 | 2015-02-18T07:51:31.000Z | 2020-06-01T01:10:12.000Z | #ifndef UTIL_RANDOMNUMBERTABLE_H
#define UTIL_RANDOMNUMNERTABLE_H
/****************************************************************************
Copyright (c) 2008, Radon Labs GmbH
Copyright (c) 2011-2013,WebJet Business Division,CYOU
http://www.genesis-3d.com.cn
Permission is hereby granted, free of charge, to any p... | 35.343284 | 80 | 0.611486 |
0eb9e98f11f183f54f88a2fcc5601953a31437bd | 2,114 | sql | SQL | test_append/orders/update_7.sql | jfeser/castor | 06d860ad7ddd9c65f8d6ef015697e2a0b26bb437 | [
"MIT"
] | 10 | 2020-02-23T01:50:19.000Z | 2021-08-18T07:07:40.000Z | test_append/orders/update_7.sql | jfeser/castor | 06d860ad7ddd9c65f8d6ef015697e2a0b26bb437 | [
"MIT"
] | null | null | null | test_append/orders/update_7.sql | jfeser/castor | 06d860ad7ddd9c65f8d6ef015697e2a0b26bb437 | [
"MIT"
] | 1 | 2020-04-17T11:10:33.000Z | 2020-04-17T11:10:33.000Z | INSERT INTO public.orders VALUES (5430661, 54196, 'F', 293528.41, '1993-09-15', '5-LOW ', 'Clerk#000000398', 0, 'he dependencies. regular packages cajole f');
INSERT INTO public.orders VALUES (1076869, 22918, 'F', 81974.84, '1993-12-01', '2-HIGH ', 'Clerk#000000446', 0, 's. enticingly regular ideas aff... | 151 | 202 | 0.67597 |
4691f6b1fbb7101e7df1be454726e6f874d9f9f3 | 2,488 | swift | Swift | RxSonosLibTests/Domain/Factory/QueueTrackFactoryTests.swift | nicktrienensfuzz/RxSonosLib | 884754cc4865079ed46ba6cf30bf9b79185c0ece | [
"Apache-2.0"
] | 10 | 2018-12-31T04:48:46.000Z | 2021-11-23T21:02:37.000Z | RxSonosLibTests/Domain/Factory/QueueTrackFactoryTests.swift | nicktrienensfuzz/RxSonosLib | 884754cc4865079ed46ba6cf30bf9b79185c0ece | [
"Apache-2.0"
] | 4 | 2018-06-18T14:03:43.000Z | 2020-03-05T09:46:07.000Z | RxSonosLibTests/Domain/Factory/QueueTrackFactoryTests.swift | nicktrienensfuzz/RxSonosLib | 884754cc4865079ed46ba6cf30bf9b79185c0ece | [
"Apache-2.0"
] | 8 | 2018-06-18T13:58:13.000Z | 2021-07-06T09:53:56.000Z | //
// QueueTrackFactoryTests.swift
// RxSonosLibTests
//
// Created by Stefan Renne on 03/05/2018.
// Copyright © 2018 Uberweb. All rights reserved.
//
import XCTest
import RxSwift
import RxBlocking
@testable import RxSonosLib
class QueueTrackFactoryTests: XCTestCase {
func testItCanCreateSpotifyTrack() ... | 52.93617 | 526 | 0.703778 |
1891a06b85b44b480d6a9092bd067aeeaa5c01b6 | 2,893 | sql | SQL | competicao.sql | leandro-sales-ls/TabelaClassificacaoFreeFire | e3f4a37e5db64c5a49a3ca9746c9f0b4836c316b | [
"MIT"
] | 2 | 2020-07-14T00:26:11.000Z | 2020-07-14T00:26:13.000Z | competicao.sql | leandro-sales-ls/tabela-campeonato | e3f4a37e5db64c5a49a3ca9746c9f0b4836c316b | [
"MIT"
] | 5 | 2021-02-02T20:55:30.000Z | 2022-02-27T08:44:24.000Z | competicao.sql | leandro-sales-ls/TabelaClassificacaoFreeFire | e3f4a37e5db64c5a49a3ca9746c9f0b4836c316b | [
"MIT"
] | null | null | null | create database competicao;
use competicao;
CREATE TABLE public."time"(
id serial,
logo text NOT NULL,
nome_time varchar(100) NOT NULL,
nome_representante varchar(100)
);
CREATE TABLE public."partida"(
id serial,
num_rodada int4 NOT NULL,
id_temporada int4 NOT NULL
);
CREATE TABLE public."ponto_posicao"(
id s... | 20.963768 | 66 | 0.798133 |
ed6a7cdfc9a43818765d61bccab7d891438f0760 | 5,812 | swift | Swift | simplifycommerce/Classes/Internal/ThreeDS1WebViewController_internal.swift | allanwang0201/simplifycommerce | 45ed075c36072250bc76d978f4cafb46124484d2 | [
"MIT"
] | 2 | 2021-07-11T05:36:29.000Z | 2021-10-10T08:14:46.000Z | simplifycommerce/Classes/Internal/ThreeDS1WebViewController_internal.swift | allanwang0201/simplifycommerce | 45ed075c36072250bc76d978f4cafb46124484d2 | [
"MIT"
] | 2 | 2020-06-04T16:10:01.000Z | 2020-06-08T22:16:15.000Z | simplifycommerce/Classes/Internal/ThreeDS1WebViewController_internal.swift | allanwang0201/simplifycommerce | 45ed075c36072250bc76d978f4cafb46124484d2 | [
"MIT"
] | 1 | 2019-08-27T14:45:11.000Z | 2019-08-27T14:45:11.000Z | /*
Copyright (c) 2017 Mastercard
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 41.514286 | 771 | 0.680833 |
39f4b066bd4a96806563e78c42e7bac1d36b4aa2 | 2,113 | kt | Kotlin | app/src/main/java/com/dev/fi/footballapps/ui/match/MatchAdapter.kt | mfirmansyahidris/footballapps | 9fca286cb95d57dbee9c2fb91135f4c958e0e17b | [
"MIT"
] | 1 | 2020-09-21T02:35:10.000Z | 2020-09-21T02:35:10.000Z | app/src/main/java/com/dev/fi/footballapps/ui/match/MatchAdapter.kt | mfirmansyahidris/footballapps | 9fca286cb95d57dbee9c2fb91135f4c958e0e17b | [
"MIT"
] | null | null | null | app/src/main/java/com/dev/fi/footballapps/ui/match/MatchAdapter.kt | mfirmansyahidris/footballapps | 9fca286cb95d57dbee9c2fb91135f4c958e0e17b | [
"MIT"
] | null | null | null | package com.dev.fi.footballapps.ui.match
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.dev.fi.footballapps.R
import com.dev.fi.footballapps.data.Event
im... | 39.867925 | 119 | 0.690487 |
4212cc8b3fc2117d2698aea0487cfbfd79273584 | 1,368 | swift | Swift | SourceryTests/Stub/Performance-Code/Kiosk/Bid Fulfillment/AdminCCBypassNetworkModel.swift | peymankh/Sourcery | 9e98f16a13eb35d030581ab1258aafb09f7390cf | [
"MIT"
] | 6,138 | 2016-12-13T06:32:38.000Z | 2022-03-31T09:06:40.000Z | SourceryTests/Stub/Performance-Code/Kiosk/Bid Fulfillment/AdminCCBypassNetworkModel.swift | peymankh/Sourcery | 9e98f16a13eb35d030581ab1258aafb09f7390cf | [
"MIT"
] | 888 | 2016-12-13T06:26:17.000Z | 2022-03-31T20:52:25.000Z | SourceryTests/Stub/Performance-Code/Kiosk/Bid Fulfillment/AdminCCBypassNetworkModel.swift | peymankh/Sourcery | 9e98f16a13eb35d030581ab1258aafb09f7390cf | [
"MIT"
] | 633 | 2016-12-13T08:34:24.000Z | 2022-03-31T15:03:45.000Z | import Foundation
import RxSwift
import Moya
enum BypassResult {
case requireCC
case skipCCRequirement
}
protocol AdminCCBypassNetworkModelType {
func checkForAdminCCBypass(_ saleID: String, authorizedNetworking: AuthorizedNetworking) -> Observable<BypassResult>
}
class AdminCCBypassNetworkModel: AdminC... | 33.365854 | 122 | 0.665936 |
5744cd001a21512766e92362abcb824d7db7bcbe | 2,407 | h | C | 3rdparty/etl/include/ETAutoUpdater.h | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | 3rdparty/etl/include/ETAutoUpdater.h | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | 3rdparty/etl/include/ETAutoUpdater.h | Osumi-Akari/energytycoon | 25d18a0ee4a9f8833e678af297734602918a92e9 | [
"Unlicense"
] | null | null | null | #ifndef __ET_AUTOUPDATER_H__
#define __ET_AUTOUPDATER_H__
/********************************************************************************
EDITABLE TERRAIN LIBRARY v3 for Ogre
Copyright (c) 2008 Holger Frydrych <frydrych@oddbeat.de>
This software is provided 'as-is', without any express or implied
warranty. In no ev... | 33.901408 | 86 | 0.692563 |
719a4b6c2c378d84a3041b4879e1a6e506454eb2 | 2,860 | ts | TypeScript | packages/framework-core/src/hooks/index.ts | Wu-XueBin-007/cloudbase-framework | cf10bd339ccd2cd1c97954e7990bc781d93a1c83 | [
"Apache-2.0"
] | null | null | null | packages/framework-core/src/hooks/index.ts | Wu-XueBin-007/cloudbase-framework | cf10bd339ccd2cd1c97954e7990bc781d93a1c83 | [
"Apache-2.0"
] | null | null | null | packages/framework-core/src/hooks/index.ts | Wu-XueBin-007/cloudbase-framework | cf10bd339ccd2cd1c97954e7990bc781d93a1c83 | [
"Apache-2.0"
] | null | null | null | /**
*
* Copyright 2020 Tencent
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 25.309735 | 75 | 0.654196 |
39d96fe196020ddad23f02dba91da801ed37bf85 | 2,357 | js | JavaScript | src/js/header.js | kuldeepmatharu/awsomeSheet | c624689d19e6816ad31f39e45de5713927cd6ed8 | [
"MIT"
] | 140 | 2016-04-17T15:25:07.000Z | 2022-03-24T05:02:40.000Z | src/js/header.js | kuldeepmatharu/awsomeSheet | c624689d19e6816ad31f39e45de5713927cd6ed8 | [
"MIT"
] | 57 | 2016-06-16T10:17:50.000Z | 2022-03-08T22:42:08.000Z | src/js/header.js | kuldeepmatharu/awsomeSheet | c624689d19e6816ad31f39e45de5713927cd6ed8 | [
"MIT"
] | 33 | 2017-05-12T01:28:05.000Z | 2022-03-19T23:41:14.000Z | var header = (function() {
var delayScrollingTimer;
var previousPosition = window.pageYOffset;
var targetUp = null;
var targetDown = null;
function resize() {
if (document.documentElement.clientWidth >= 900) {
unpin();
nav.unpin();
};
};
function scroll() {
if (document.document... | 26.188889 | 99 | 0.585066 |
d2156f6836358642bf2dffe0e3ef238d656dfb52 | 249,133 | sql | SQL | database/test_counties.sql | alexandr2015/usa | e704c6bc3e6bbaa9c6d001c638f048cee89c2282 | [
"MIT"
] | null | null | null | database/test_counties.sql | alexandr2015/usa | e704c6bc3e6bbaa9c6d001c638f048cee89c2282 | [
"MIT"
] | null | null | null | database/test_counties.sql | alexandr2015/usa | e704c6bc3e6bbaa9c6d001c638f048cee89c2282 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `test`;
-- MySQL dump 10.13 Distrib 5.5.49, for debian-linux-gnu (x86_64)
--
-- Host: 127.0.0.1 Database: test
-- ------------------------------------------------------
-- Server version 5.5.49-0ubuntu0.14.04.1
/*!40101 SET @OLD_CH... | 4,084.147541 | 246,730 | 0.646699 |
2e613824ef1ed9f89ae6bc3bfc8cda745467817e | 1,827 | kt | Kotlin | NetworkUtils/src/main/java/com/abiots/networkutils/utils/NetworkUtils.kt | AbIoTsIO/NetworkTools | 70025555b2f953829b5a1d84dd97eaa568fce845 | [
"Apache-2.0"
] | null | null | null | NetworkUtils/src/main/java/com/abiots/networkutils/utils/NetworkUtils.kt | AbIoTsIO/NetworkTools | 70025555b2f953829b5a1d84dd97eaa568fce845 | [
"Apache-2.0"
] | null | null | null | NetworkUtils/src/main/java/com/abiots/networkutils/utils/NetworkUtils.kt | AbIoTsIO/NetworkTools | 70025555b2f953829b5a1d84dd97eaa568fce845 | [
"Apache-2.0"
] | null | null | null | package com.abiots.networkutils.utils
import com.abiots.networkutils.BuildConfig
import timber.log.Timber
import java.net.Inet4Address
import java.net.Inet6Address
import java.net.InetAddress
import java.net.NetworkInterface
import java.util.*
import java.util.concurrent.TimeUnit
import kotlin.collections.ArrayList
/... | 33.218182 | 99 | 0.669951 |
cb7eeaffc30ad55a87a19965d4fe0b1c8647fdae | 467 | html | HTML | app/templates/index.html | Silvrash/flask-react | 0e942a6374a3a9c928e9a1c6778c36ca6d23b36a | [
"Apache-2.0"
] | null | null | null | app/templates/index.html | Silvrash/flask-react | 0e942a6374a3a9c928e9a1c6778c36ca6d23b36a | [
"Apache-2.0"
] | null | null | null | app/templates/index.html | Silvrash/flask-react | 0e942a6374a3a9c928e9a1c6778c36ca6d23b36a | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<title>FLASK-REACT</title>
</hea... | 35.923077 | 107 | 0.668094 |
aa46288f4b313e4e4eaa75987d2a2b4de7d2c406 | 3,053 | swift | Swift | Source/UINavigationBar-Extenstion.swift | cuirhong/Davis-Category | 167f303b51257ed5b4b0dfa601914a7823d676f5 | [
"MIT"
] | 1 | 2021-05-28T15:01:48.000Z | 2021-05-28T15:01:48.000Z | Source/UINavigationBar-Extenstion.swift | cuirhong/Davis-Category | 167f303b51257ed5b4b0dfa601914a7823d676f5 | [
"MIT"
] | null | null | null | Source/UINavigationBar-Extenstion.swift | cuirhong/Davis-Category | 167f303b51257ed5b4b0dfa601914a7823d676f5 | [
"MIT"
] | null | null | null | //
// UINavigationBar-Extenstion.swift
// QiuGuo
//
// Created by cuirhong on 2017/6/7.
// Copyright © 2017年 qiuyoukeji. All rights reserved.
//
import UIKit
@objc public extension UINavigationBar{
private struct NavigationBarKeys{
static var overlayKey = "overlayKey"
}
private var o... | 27.017699 | 249 | 0.539142 |
ddf744f9c3c82ec1cf4c43ec787c05af016c1d7d | 2,056 | php | PHP | src/wp-content/plugins/astra-addon/classes/builder/type/base/dynamic-css/class-astra-addon-base-dynamic-css.php | amachado22/modelowp-shop | 9d91718568a8e10ae8e599300c491cb9a3d73dd8 | [
"MIT"
] | 1 | 2022-01-02T18:58:56.000Z | 2022-01-02T18:58:56.000Z | src/wp-content/plugins/astra-addon/classes/builder/type/base/dynamic-css/class-astra-addon-base-dynamic-css.php | amachado22/modelowp-shop | 9d91718568a8e10ae8e599300c491cb9a3d73dd8 | [
"MIT"
] | null | null | null | src/wp-content/plugins/astra-addon/classes/builder/type/base/dynamic-css/class-astra-addon-base-dynamic-css.php | amachado22/modelowp-shop | 9d91718568a8e10ae8e599300c491cb9a3d73dd8 | [
"MIT"
] | null | null | null | <?php
/**
* Astra Addon Base Dynamic CSS.
*
* @since 3.3.0
* @package astra-addon
*/
// No direct access, please.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class Astra_Addon_Base_Dynamic_CSS.
*/
class Astra_Addon_Base_Dynamic_CSS {
/**
* Dynamic CSS
*
* @param string $prefix control prefix.
* @p... | 29.797101 | 149 | 0.61284 |
a9b3d0673fed05f6e810475b96e5d9304adba04d | 5,247 | html | HTML | xixi/templates/cheatsheets/git-cs.html | defbobo/xixi | c06ce48738f9843cf18db08c15e2e0bc0a6e9edb | [
"BSD-3-Clause"
] | null | null | null | xixi/templates/cheatsheets/git-cs.html | defbobo/xixi | c06ce48738f9843cf18db08c15e2e0bc0a6e9edb | [
"BSD-3-Clause"
] | null | null | null | xixi/templates/cheatsheets/git-cs.html | defbobo/xixi | c06ce48738f9843cf18db08c15e2e0bc0a6e9edb | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.... | 20.337209 | 106 | 0.613875 |