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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2287fceec7279cf34ec8a31bde3f1d95486d4f38 | 309 | html | HTML | kb/subject_areas/subject_area_of_films/films/films/HTML/deti-bez-prismotra-2006_en.html | Abckn/ostis-movies | b8d4c6d356b3f0496ffa86a7f3d199d074edecda | [
"MIT"
] | 1 | 2020-10-02T21:35:04.000Z | 2020-10-02T21:35:04.000Z | kb/subject_areas/subject_area_of_films/films/films/HTML/deti-bez-prismotra-2006_en.html | Abckn/ostis-movies | b8d4c6d356b3f0496ffa86a7f3d199d074edecda | [
"MIT"
] | 3 | 2020-01-27T18:08:05.000Z | 2020-05-18T11:07:36.000Z | kb/subject_areas/subject_area_of_films/films/films/HTML/deti-bez-prismotra-2006_en.html | Abckn/ostis-movies | b8d4c6d356b3f0496ffa86a7f3d199d074edecda | [
"MIT"
] | 9 | 2020-05-09T23:02:56.000Z | 2020-05-20T19:00:37.000Z | <!DOCTYPE html>
<html>
<body>
<h1>Unaccompanied Minors</h1>
Unaccompanied Minors is a movie starring Dyllan Christopher, Tyler James Williams, and Gia Mantegna. A group of unaccompanied minors bond while snowed in at the midwestern Hoover International Airport during the holiday season and...
</body>
</html> | 44.142857 | 233 | 0.789644 |
d2a7ae65247f6cbadff0f47947cdfe034cfff843 | 1,903 | php | PHP | family/system/controllers/admin/forms/form_scheduler_task.php | k2z5/k2z5.github.io | 3d676f0f5ce54aa3c44d826754f766d56b368c5e | [
"MIT"
] | null | null | null | family/system/controllers/admin/forms/form_scheduler_task.php | k2z5/k2z5.github.io | 3d676f0f5ce54aa3c44d826754f766d56b368c5e | [
"MIT"
] | null | null | null | family/system/controllers/admin/forms/form_scheduler_task.php | k2z5/k2z5.github.io | 3d676f0f5ce54aa3c44d826754f766d56b368c5e | [
"MIT"
] | null | null | null | <?php
class formAdminSchedulerTask extends cmsForm {
public function init() {
return array(
array(
'type' => 'fieldset',
'childs' => array(
new fieldString('title', array(
'title' => LANG_DESCRIPTION,
... | 29.734375 | 69 | 0.347872 |
214afecdbce7017ab8182589a87abf44a44efb81 | 2,009 | rs | Rust | src/fs.rs | ThePerkinrex/lamalang | 014328347b60e69db655b30a6fce53b653915beb | [
"Zlib"
] | null | null | null | src/fs.rs | ThePerkinrex/lamalang | 014328347b60e69db655b30a6fce53b653915beb | [
"Zlib"
] | null | null | null | src/fs.rs | ThePerkinrex/lamalang | 014328347b60e69db655b30a6fce53b653915beb | [
"Zlib"
] | null | null | null | use std::{
fmt::{Debug, Display},
fs::read_to_string,
path::PathBuf,
};
use crate::{
error::{ErrorCode, Return},
span::Span,
};
#[derive(Clone)]
pub enum File {
Repl(usize),
Path(PathBuf),
}
impl Display for File {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::R... | 22.573034 | 89 | 0.586361 |
79c9aaa16704ad2d092f01ca141a6d0eeaf81b18 | 1,682 | swift | Swift | vox.Force/grid_emitter_set3.swift | yangfengzzz/yangfengzzz-fluid-engine-Swift | 812669b56125602ed80c1212a5fb1d705861cac5 | [
"MIT"
] | 23 | 2020-09-15T11:40:21.000Z | 2022-03-09T21:56:21.000Z | vox.Force/grid_emitter_set3.swift | yangfengzzz/yangfengzzz-fluid-engine-Swift | 812669b56125602ed80c1212a5fb1d705861cac5 | [
"MIT"
] | 2 | 2021-01-14T20:01:26.000Z | 2021-01-14T20:01:38.000Z | vox.Force/grid_emitter_set3.swift | yangfengzzz/yangfengzzz-fluid-engine-Swift | 812669b56125602ed80c1212a5fb1d705861cac5 | [
"MIT"
] | 3 | 2021-01-14T19:53:57.000Z | 2022-03-09T21:56:23.000Z | //
// grid_emitter_set3.swift
// vox.Force
//
// Created by Feng Yang on 2020/8/7.
// Copyright © 2020 Feng Yang. All rights reserved.
//
import Foundation
/// 3-D grid-based emitter set.
class GridEmitterSet3: GridEmitter3 {
var _isEnabled: Bool = true
var _onBeginUpdateCallback: OnBeginUpdateCallback?
... | 25.104478 | 72 | 0.584423 |
81646e8757527a2edc3b3d8449ce375c2b073184 | 4,461 | go | Go | ui/components/table/table.go | Qlever-LLC/gh-prs | b3656098ce34d57f03cbc3b0635daa7585e713b1 | [
"MIT"
] | null | null | null | ui/components/table/table.go | Qlever-LLC/gh-prs | b3656098ce34d57f03cbc3b0635daa7585e713b1 | [
"MIT"
] | null | null | null | ui/components/table/table.go | Qlever-LLC/gh-prs | b3656098ce34d57f03cbc3b0635daa7585e713b1 | [
"MIT"
] | null | null | null | package table
import (
"github.com/charmbracelet/lipgloss"
"github.com/dlvhdr/gh-prs/ui/components/listviewport"
"github.com/dlvhdr/gh-prs/ui/constants"
"github.com/dlvhdr/gh-prs/ui/styles"
)
type Model struct {
Columns []Column
Rows []Row
EmptyState *string
dimensions constants.Dimensions
r... | 23.234375 | 126 | 0.711724 |
4654e7e5f1d382511223e71f919c3750bc42c7d5 | 295 | swift | Swift | DesignAwardedApps/Auxy/Auxy/ViewController.swift | isabella232/Macaw-Examples | 5ac953eb8b1c9e1fe86e5e1669512537865bf661 | [
"MIT"
] | 359 | 2016-11-22T15:10:18.000Z | 2022-03-27T16:58:21.000Z | DesignAwardedApps/Auxy/Auxy/ViewController.swift | isabella232/Macaw-Examples | 5ac953eb8b1c9e1fe86e5e1669512537865bf661 | [
"MIT"
] | 8 | 2016-11-28T08:53:03.000Z | 2021-08-14T09:53:26.000Z | DesignAwardedApps/Auxy/Auxy/ViewController.swift | isabella232/Macaw-Examples | 5ac953eb8b1c9e1fe86e5e1669512537865bf661 | [
"MIT"
] | 58 | 2016-12-01T01:59:39.000Z | 2022-03-26T09:02:13.000Z | import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
override var prefersStatusBarHidden: Bool {
return true
}
}
| 16.388889 | 47 | 0.661017 |
5f25d4f14fd9305be9c3a73a749facf2c1861b3b | 13,007 | ts | TypeScript | src/contestRetrievers/fanDuelContestRetriever.ts | nickp10/mcubed-lineup-insight-data | 4ea3e55f782188c6834ac5d5a4cf607e6e689438 | [
"MIT"
] | 2 | 2017-04-10T12:40:47.000Z | 2017-05-04T16:46:52.000Z | src/contestRetrievers/fanDuelContestRetriever.ts | nickp10/mcubed-lineup-insight-data | 4ea3e55f782188c6834ac5d5a4cf607e6e689438 | [
"MIT"
] | 15 | 2016-10-11T16:03:14.000Z | 2021-05-06T22:11:43.000Z | src/contestRetrievers/fanDuelContestRetriever.ts | nickp10/mcubed-lineup-insight-data | 4ea3e55f782188c6834ac5d5a4cf607e6e689438 | [
"MIT"
] | null | null | null | import { IContestListRetriever, IContest, IContestPosition, IGame, IPlayer, IPlayerInjury, ITeam, ContestType, InjuryType, NewsStatus, Sport } from "../interfaces";
import PlayerFactory from "../playerFactory";
import utils from "../utils";
export default class FanDuelContestRetriever implements IContestListRetriever ... | 42.230519 | 202 | 0.5434 |
5175c6495cc8846759dbed8e931484d7f5df1c64 | 340 | swift | Swift | Webtoon.clone/Webtoon.clone/Sources/Services/WebtoonService/WebtoonService.swift | statios/webtoon_clone | a2798904c3537719e7a08b4012f09ab35e9ba196 | [
"MIT"
] | 3 | 2020-11-16T15:33:00.000Z | 2021-06-27T14:04:13.000Z | Webtoon.clone/Webtoon.clone/Sources/Services/WebtoonService/WebtoonService.swift | statios/webtoon_clone | a2798904c3537719e7a08b4012f09ab35e9ba196 | [
"MIT"
] | null | null | null | Webtoon.clone/Webtoon.clone/Sources/Services/WebtoonService/WebtoonService.swift | statios/webtoon_clone | a2798904c3537719e7a08b4012f09ab35e9ba196 | [
"MIT"
] | null | null | null | //
// WebtoonService.swift
// Webtoon.clone
//
// Created by Stat.So on 2020/11/14.
//
import Moya
import RxSwift
import Alamofire
import Foundation
import RxMoya
class WebtoonService: BaseService, WebtoonServiceType {
let provider = NetworkProvider<WebtoonAPI>(
stubClosure: MoyaProvider.neverStub) //Never c... | 18.888889 | 67 | 0.758824 |
f02506946a855a60b83d59b8fe69069f7a64c710 | 1,316 | py | Python | fork_process/dataPreprocess/data_extraction_2.py | JianboTang/modified_GroundHog | cc511a146a51b42fdfb2b2c045205cca6ab306b7 | [
"BSD-3-Clause"
] | null | null | null | fork_process/dataPreprocess/data_extraction_2.py | JianboTang/modified_GroundHog | cc511a146a51b42fdfb2b2c045205cca6ab306b7 | [
"BSD-3-Clause"
] | null | null | null | fork_process/dataPreprocess/data_extraction_2.py | JianboTang/modified_GroundHog | cc511a146a51b42fdfb2b2c045205cca6ab306b7 | [
"BSD-3-Clause"
] | null | null | null | import numpy
import pickle
readfile1 = open('intermediate_data/post_1.txt','r');
readfile2 = open('intermediate_data/cmnt_1.txt','r');
writefile = open('intermediate_data/dictionary.pkl','w');
#writefile1 = open('intermediate_data/post_2.txt','w');
#writefile2 = open('intermediate_data/cmnt_2.txt','w');
def staticDic... | 25.803922 | 57 | 0.660334 |
81da45c2cb9f5830d9655e4fc96738e0e8609b78 | 12,267 | go | Go | sdk/go/oci/corePublicIpPoolCapacity.go | EladGabay/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-08-17T11:14:46.000Z | 2021-12-31T02:07:03.000Z | sdk/go/oci/corePublicIpPoolCapacity.go | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-06T11:21:29.000Z | 2021-09-06T11:21:29.000Z | sdk/go/oci/corePublicIpPoolCapacity.go | pulumi-oci/pulumi-oci | 6841e27d4a1a7e15c672306b769912efbfd3ba99 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-08-24T23:31:30.000Z | 2022-01-02T19:26:54.000Z | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package oci
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
// ## Import
//
// PublicIpPoo... | 40.89 | 182 | 0.822777 |
c3977266cbd30820916ca221e65df4d93c300531 | 2,234 | swift | Swift | EvaluateDay/Nodes/WeatherNode.swift | bretsko/Evaluate-Day | 3413d97c062bb7a1f8abadc56458449ad9fbec74 | [
"MIT"
] | 6 | 2018-06-30T08:37:26.000Z | 2020-12-14T00:17:01.000Z | EvaluateDay/Nodes/WeatherNode.swift | bretsko/Evaluate-Day | 3413d97c062bb7a1f8abadc56458449ad9fbec74 | [
"MIT"
] | null | null | null | EvaluateDay/Nodes/WeatherNode.swift | bretsko/Evaluate-Day | 3413d97c062bb7a1f8abadc56458449ad9fbec74 | [
"MIT"
] | 2 | 2020-07-04T10:09:53.000Z | 2020-12-14T02:43:54.000Z | //
// WeatherNode.swift
// EvaluateDay
//
// Created by Konstantin Tsistjakov on 02/02/2018.
// Copyright © 2018 Konstantin Tsistjakov. All rights reserved.
//
import UIKit
import AsyncDisplayKit
class WeatherNode: ASCellNode {
// MARK: - UI
var iconImage = ASImageNode()
var textNode = ASTextNode()
... | 36.032258 | 216 | 0.654432 |
089a7f426ab327622bcd72bec4d7049bc2d85863 | 4,500 | go | Go | pkg/pb/steempb/limit_order_create_operation.pb.go | steemwatch/steemwatch | d8d59cd44d0b1e19b31a3746003e4d572cde29bd | [
"Apache-2.0"
] | null | null | null | pkg/pb/steempb/limit_order_create_operation.pb.go | steemwatch/steemwatch | d8d59cd44d0b1e19b31a3746003e4d572cde29bd | [
"Apache-2.0"
] | null | null | null | pkg/pb/steempb/limit_order_create_operation.pb.go | steemwatch/steemwatch | d8d59cd44d0b1e19b31a3746003e4d572cde29bd | [
"Apache-2.0"
] | null | null | null | // Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: limit_order_create_operation.proto
package steempb
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "github.com/gogo/protobuf/gogoproto"
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
// Ref... | 42.857143 | 143 | 0.699778 |
a9c975189b352293c959b83260416b102423ff3c | 103 | htm | HTML | themes/sliderweb-403theme/pages/ajax.htm | GrCOTE7/prepa | 32463030a8cb28ecb122d81b78e2e3c1ccd824f3 | [
"MIT"
] | null | null | null | themes/sliderweb-403theme/pages/ajax.htm | GrCOTE7/prepa | 32463030a8cb28ecb122d81b78e2e3c1ccd824f3 | [
"MIT"
] | null | null | null | themes/sliderweb-403theme/pages/ajax.htm | GrCOTE7/prepa | 32463030a8cb28ecb122d81b78e2e3c1ccd824f3 | [
"MIT"
] | null | null | null | title = "Ajax"
url = "/ajax"
layout = "t/bootstrap513"
is_hidden = 0
[ajax]
==
{% component 'ajax' %}
| 11.444444 | 25 | 0.601942 |
bd4926b6f45d7c9c294f407295e389aef1f55df3 | 1,841 | kt | Kotlin | app/src/main/java/com/patlejch/timetables/ui/MainActivity.kt | amethystAnt/Timetables | 29969e5f005729c9f54f53b356a78583b75d3a20 | [
"Apache-2.0"
] | 2 | 2021-04-07T07:25:00.000Z | 2021-05-03T15:26:37.000Z | app/src/main/java/com/patlejch/timetables/ui/MainActivity.kt | amethystant/timetables | 29969e5f005729c9f54f53b356a78583b75d3a20 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/patlejch/timetables/ui/MainActivity.kt | amethystant/timetables | 29969e5f005729c9f54f53b356a78583b75d3a20 | [
"Apache-2.0"
] | null | null | null | package com.patlejch.timetables.ui
import android.os.Bundle
import com.patlejch.timetables.Config
import com.patlejch.timetables.R
import com.patlejch.timetables.data.sync.SyncManager
import com.patlejch.timetables.databinding.ActivityMainBinding
import com.patlejch.timetables.model.base.TimetablesActivity
import com.... | 34.735849 | 90 | 0.751765 |
676b34ea492aca2df859b54376c6c48b31b873b8 | 1,306 | swift | Swift | BlueCap/Utils/UIAlertControllerExtensions.swift | JohnSansoucie/MyProject2 | 3b36411467f8e6d5a79962365c003f49bdf4caee | [
"MIT"
] | null | null | null | BlueCap/Utils/UIAlertControllerExtensions.swift | JohnSansoucie/MyProject2 | 3b36411467f8e6d5a79962365c003f49bdf4caee | [
"MIT"
] | null | null | null | BlueCap/Utils/UIAlertControllerExtensions.swift | JohnSansoucie/MyProject2 | 3b36411467f8e6d5a79962365c003f49bdf4caee | [
"MIT"
] | null | null | null | //
// UIAlertViewExtensions.swift
// BlueCap
//
// Created by Troy Stribling on 7/6/14.
// Copyright (c) 2014 gnos.us. All rights reserved.
//
import UIKit
extension UIAlertController {
class func alertOnError(error:NSError, handler:((UIAlertAction!) -> Void)? = nil) -> UIAlertController {
var alert... | 40.8125 | 135 | 0.718224 |
335e849a42a8a5d352c01c9e142382b605bb2c42 | 68 | sql | SQL | database/migrations/2018_08_01_100000_alter_migration_table/run.sql | dllpl/back.kurator-plus.loc | d21e69d3bb160e905fda06b74e1ee59f64c84511 | [
"MIT"
] | null | null | null | database/migrations/2018_08_01_100000_alter_migration_table/run.sql | dllpl/back.kurator-plus.loc | d21e69d3bb160e905fda06b74e1ee59f64c84511 | [
"MIT"
] | null | null | null | database/migrations/2018_08_01_100000_alter_migration_table/run.sql | dllpl/back.kurator-plus.loc | d21e69d3bb160e905fda06b74e1ee59f64c84511 | [
"MIT"
] | null | null | null | alter table public.migrations
alter column migration type text;
| 22.666667 | 37 | 0.794118 |
fd5383d12634260af1734631dade997a1d414517 | 570 | h | C | src/include/vectorMap/read_map.h | gdzx/vector-racer | 7a3940694249818fa9685658d9b53757b521da24 | [
"MIT"
] | null | null | null | src/include/vectorMap/read_map.h | gdzx/vector-racer | 7a3940694249818fa9685658d9b53757b521da24 | [
"MIT"
] | null | null | null | src/include/vectorMap/read_map.h | gdzx/vector-racer | 7a3940694249818fa9685658d9b53757b521da24 | [
"MIT"
] | null | null | null | #ifndef MAP_UTILS_H_INCLUDED
#define MAP_UTILS_H_INCLUDED
#define color(param) printf("\033[%sm",param)
#define LOGLEVEL 1
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
struct point
{
int x;
int y;
};
struct map
{
int h;
int w;
char** grid;
struct point D;
int maxcheckpoi... | 15 | 45 | 0.696491 |
5901a54ac4ab9d0dc562f7cc9362ba7a6a95fbfa | 163 | sql | SQL | entity-resolution-with-monetdb/sql/labels_bulk_insert.sql | ilias-ant/entity-resolution-with-monetdb | da8231f6b9aaf4f95b8504e299b39015cd7f794b | [
"MIT"
] | 1 | 2021-10-04T20:09:21.000Z | 2021-10-04T20:09:21.000Z | entity-resolution-with-monetdb/sql/labels_bulk_insert.sql | ilias-ant/entity-resolution-with-monetdb | da8231f6b9aaf4f95b8504e299b39015cd7f794b | [
"MIT"
] | null | null | null | entity-resolution-with-monetdb/sql/labels_bulk_insert.sql | ilias-ant/entity-resolution-with-monetdb | da8231f6b9aaf4f95b8504e299b39015cd7f794b | [
"MIT"
] | null | null | null | COPY 46665 OFFSET 2 RECORDS INTO labels
FROM 'data/sigmod_medium_labelled_dataset.csv' -- should be the absolute path to the CSV file
USING DELIMITERS E',',E'\n'; | 54.333333 | 94 | 0.779141 |
d00c213b153c0dfe4a3c3f8d83498b1a93f395be | 210 | rb | Ruby | spec/factories/recipes.rb | mikannOishiii/cook-note | a78115d040e4243016304912ce1796dc4e6df045 | [
"Ruby"
] | null | null | null | spec/factories/recipes.rb | mikannOishiii/cook-note | a78115d040e4243016304912ce1796dc4e6df045 | [
"Ruby"
] | 2 | 2020-06-21T04:16:35.000Z | 2021-09-28T04:01:10.000Z | spec/factories/recipes.rb | mikannOishiii/cook-note | a78115d040e4243016304912ce1796dc4e6df045 | [
"Ruby"
] | null | null | null | FactoryBot.define do
factory :recipe do
name { "MyString" }
description { "MyString" }
url { "" }
image { nil }
recipeYield { "2〜3人分" }
cooktime { 10 }
association :user
end
end
| 17.5 | 30 | 0.57619 |
509a53016327d947c6556ad96cff87fb89139491 | 305 | go | Go | vendor/github.com/rancher/go-rancher-metadata/metadata/utils.go | felixkrohn/bivac | d78b9f22edb091208f5468963a66b70cb2567bb2 | [
"Apache-2.0"
] | 102 | 2021-06-17T02:09:03.000Z | 2022-01-27T16:40:30.000Z | vendor/github.com/rancher/go-rancher-metadata/metadata/utils.go | felixkrohn/bivac | d78b9f22edb091208f5468963a66b70cb2567bb2 | [
"Apache-2.0"
] | 67 | 2015-10-26T23:15:54.000Z | 2019-01-21T05:45:17.000Z | vendor/github.com/rancher/go-rancher-metadata/metadata/utils.go | felixkrohn/bivac | d78b9f22edb091208f5468963a66b70cb2567bb2 | [
"Apache-2.0"
] | 119 | 2015-10-08T21:32:02.000Z | 2021-10-15T15:45:32.000Z | package metadata
import (
"time"
)
func testConnection(mdClient Client) error {
var err error
maxTime := 20 * time.Second
for i := 1 * time.Second; i < maxTime; i *= time.Duration(2) {
if _, err = mdClient.GetVersion(); err != nil {
time.Sleep(i)
} else {
return nil
}
}
return err
}
| 15.25 | 63 | 0.62623 |
cd4b2ed9ade2a3cbf66018e5f318b704477cc168 | 11,313 | rs | Rust | src/builder.rs | Znapi/llvm-rs | 1f4c6c2ef7a574dd1bb28f226d2748fbed08d67e | [
"MIT"
] | null | null | null | src/builder.rs | Znapi/llvm-rs | 1f4c6c2ef7a574dd1bb28f226d2748fbed08d67e | [
"MIT"
] | null | null | null | src/builder.rs | Znapi/llvm-rs | 1f4c6c2ef7a574dd1bb28f226d2748fbed08d67e | [
"MIT"
] | null | null | null | use std::mem::transmute;
use super::*;
#[derive(Debug)]
#[repr(C)]
pub enum IntPredicate {
Eq = 32,
Ne,
Ugt,
Uge,
Ult,
Ule,
Sgt,
Sge,
Slt,
Sle,
}
macro_rules! build_named_ops {
($($(#[$attr:meta])*pub fn $name:ident($($argn:ident: $argty:ty),*) { $llvm_fn:path })*) => {
... | 38.219595 | 100 | 0.594979 |
d0c6e50376cc6e91e93d5589a12d1717a26b2bad | 2,108 | kts | Kotlin | build.gradle.kts | efsn/cloud-native | c3229830969b4bce210439aac3e802ab08e2b55a | [
"Apache-2.0"
] | null | null | null | build.gradle.kts | efsn/cloud-native | c3229830969b4bce210439aac3e802ab08e2b55a | [
"Apache-2.0"
] | null | null | null | build.gradle.kts | efsn/cloud-native | c3229830969b4bce210439aac3e802ab08e2b55a | [
"Apache-2.0"
] | null | null | null | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
val kotlinVersion = "1.5.31"
`java-library`
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
kotlin("plugin.jpa") version kotlinVersion
... | 28.876712 | 96 | 0.636148 |
3fe88718bebee27a7ae3392b6bffad516ffb269e | 634 | dart | Dart | lib/util/api_keys_example.dart | Stif-UK/rebound_mtb | 16402d32167e57d60ad5885588dc94eedaa51dc3 | [
"MIT"
] | null | null | null | lib/util/api_keys_example.dart | Stif-UK/rebound_mtb | 16402d32167e57d60ad5885588dc94eedaa51dc3 | [
"MIT"
] | null | null | null | lib/util/api_keys_example.dart | Stif-UK/rebound_mtb | 16402d32167e57d60ad5885588dc94eedaa51dc3 | [
"MIT"
] | null | null | null | class api_keys{
/*
This class contains API keys for the various network connections. For an implementation
of the application a file api_keys.dart should be created in the utils folder.
api_keys_example.dart can be used as a template, with the keys for different
APIs entered where blank strings show.
*/
... | 26.416667 | 89 | 0.727129 |
84f1f984f9c27452ec542ce4ba02605b2dcfe81d | 7,970 | c | C | mt-drivers/mt7612e/src/mt76x2/os/linux/rbus_main_dev.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | 4 | 2020-12-30T12:46:48.000Z | 2021-01-04T08:28:13.000Z | mt-drivers/mt7612e/src/mt76x2/os/linux/rbus_main_dev.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | null | null | null | mt-drivers/mt7612e/src/mt76x2/os/linux/rbus_main_dev.c | bearking1069/openwrt-packages | eb78e080d5e3a022aa5a3acaff492283306cfc6b | [
"Apache-2.0"
] | 1 | 2021-11-20T13:44:32.000Z | 2021-11-20T13:44:32.000Z | /*
***************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
*
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and th... | 28.06338 | 111 | 0.682434 |
44e7ab94a80e4ee0b9b6f2afac2f79fb85d4714a | 17,456 | swift | Swift | Sources/Moth/Lexer/Lexer.swift | andybest/Moth | 4e579ae16c6720c8b87d5ad1647e20643a597571 | [
"MIT"
] | 3 | 2016-06-01T21:38:53.000Z | 2021-04-08T12:11:54.000Z | Sources/Moth/Lexer/Lexer.swift | andybest/Moth | 4e579ae16c6720c8b87d5ad1647e20643a597571 | [
"MIT"
] | null | null | null | Sources/Moth/Lexer/Lexer.swift | andybest/Moth | 4e579ae16c6720c8b87d5ad1647e20643a597571 | [
"MIT"
] | 1 | 2020-12-05T16:11:44.000Z | 2020-12-05T16:11:44.000Z | /*
MIT License
Copyright (c) 2016 Andy Best
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | 33.764023 | 136 | 0.566338 |
0a378528111e42aaf6554e998c1d7f8f34f94d75 | 3,467 | h | C | main/source/cl_dll/CLabelHeader.h | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 27 | 2015-01-05T19:25:14.000Z | 2022-03-20T00:34:34.000Z | main/source/cl_dll/CLabelHeader.h | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 9 | 2015-01-14T06:51:46.000Z | 2021-03-19T12:07:18.000Z | main/source/cl_dll/CLabelHeader.h | fmoraw/NS | 6c3ae93ca7f929f24da4b8f2d14ea0602184cf08 | [
"Unlicense"
] | 5 | 2015-01-11T10:31:24.000Z | 2021-01-06T01:32:58.000Z | #ifndef CLABELHEADER_H
#define CLABELHEADER_H
#include<VGUI_TextImage.h>
#include "cl_dll/vgui_TeamFortressViewport.h"
class CTextImage2 : public Image
{
public:
CTextImage2()
{
_image[0] = new TextImage("");
_image[1] = new TextImage("");
}
~CTextImage2()
{
delete _image[0];
delete _... | 17.963731 | 80 | 0.601096 |
5579b0885eeebbc0ee2d240dc0d6952c5ece46f3 | 150 | asm | Assembly | kb-code.asm | Unshifted1337/Nand2Tris-Hack | 80d1a2ab6af2524e69f2392b051bdc65a43a2ead | [
"Apache-2.0"
] | null | null | null | kb-code.asm | Unshifted1337/Nand2Tris-Hack | 80d1a2ab6af2524e69f2392b051bdc65a43a2ead | [
"Apache-2.0"
] | null | null | null | kb-code.asm | Unshifted1337/Nand2Tris-Hack | 80d1a2ab6af2524e69f2392b051bdc65a43a2ead | [
"Apache-2.0"
] | null | null | null | //Keyboard code
//Author: Unshifted1337
@KBD
D=M
@R0
M=D
@48
D=A
@R0
M=M-D
@KBD
D=M
@R1
M=D
@48
D=A
@R0
M=M-D
@0
D=M
@2
M=D
@1
D=M
@2
M=D+M
@24
0;JMP
| 5.172414 | 23 | 0.573333 |
74cc6320c4c70c8a59a4804e7fad6ec8ef8fba27 | 383 | js | JavaScript | examples/on-listening/webpack.config.js | ajhyndman/webpack-dev-server | 537eeb2705786901a2b6c6484e5e512f601aa582 | [
"MIT"
] | 7,843 | 2015-01-05T21:14:26.000Z | 2022-03-31T08:54:46.000Z | examples/on-listening/webpack.config.js | ajhyndman/webpack-dev-server | 537eeb2705786901a2b6c6484e5e512f601aa582 | [
"MIT"
] | 4,121 | 2015-01-02T13:55:35.000Z | 2022-03-31T16:17:52.000Z | examples/on-listening/webpack.config.js | ajhyndman/webpack-dev-server | 537eeb2705786901a2b6c6484e5e512f601aa582 | [
"MIT"
] | 1,817 | 2015-01-03T17:58:58.000Z | 2022-03-29T18:33:42.000Z | "use strict";
// our setup function adds behind-the-scenes bits to the config that all of our
// examples need
const { setup } = require("../util");
module.exports = setup({
context: __dirname,
entry: "./app.js",
devServer: {
onListening: (devServer) => {
const port = devServer.server.address().port;
... | 22.529412 | 79 | 0.629243 |
d2a0e76a73083f9aaae879e6eb32bfff6ccf5a44 | 2,201 | php | PHP | resources/views/partials/manage_childs.blade.php | MountTest/newTexmart | 85ecc592bb52ee4c00033c68824f09aed6ca64d7 | [
"MIT"
] | null | null | null | resources/views/partials/manage_childs.blade.php | MountTest/newTexmart | 85ecc592bb52ee4c00033c68824f09aed6ca64d7 | [
"MIT"
] | 4 | 2020-07-13T10:51:01.000Z | 2022-02-27T06:26:14.000Z | resources/views/partials/manage_childs.blade.php | MountTest/newTexmart | 85ecc592bb52ee4c00033c68824f09aed6ca64d7 | [
"MIT"
] | null | null | null | <ul class="nav flex-column pl-4">
@if(isset($input) && isset($input[0]) && $input[0] === true)
@foreach($childs as $child)
<li>
@if(count($child->childs))
<i class="fas fa-plus"></i>
<a href="#{{ $child->title }}" class="text-dark" title="К... | 45.854167 | 202 | 0.38119 |
18c7b5e89aca383a8b2b9b0e4b555e89053c7f46 | 640 | rb | Ruby | day_1/solution.rb | mike1o1/advent_2017 | b45024bd087f37e18ef1f11c06dd8e16d11748c1 | [
"CC0-1.0"
] | null | null | null | day_1/solution.rb | mike1o1/advent_2017 | b45024bd087f37e18ef1f11c06dd8e16d11748c1 | [
"CC0-1.0"
] | null | null | null | day_1/solution.rb | mike1o1/advent_2017 | b45024bd087f37e18ef1f11c06dd8e16d11748c1 | [
"CC0-1.0"
] | null | null | null | class Day1
attr_accessor :input
def initialize(input)
@input = process_input(input)
end
def problem_1
calculate_sum(1)
end
def problem_2
step = input.length / 2
calculate_sum(step)
end
private
def process_input(input)
input.split("\n").first
end
def calculate_sum(step)
... | 14.883721 | 48 | 0.629688 |
2b7975c2bf32de8f072162d31aab7dd5e9a9ad63 | 11,983 | swift | Swift | Neural Network Image Recognition/SlimMPSCNN.swift | LunarFlash/convolutional-neural-network-image-recognition | 4f13acca2374739c87c162f0b8a9a57efcba6adc | [
"MIT"
] | 23 | 2016-11-19T22:39:18.000Z | 2020-01-31T12:40:14.000Z | Neural Network Image Recognition/SlimMPSCNN.swift | LunarFlash/convolutional-neural-network-image-recognition | 4f13acca2374739c87c162f0b8a9a57efcba6adc | [
"MIT"
] | null | null | null | Neural Network Image Recognition/SlimMPSCNN.swift | LunarFlash/convolutional-neural-network-image-recognition | 4f13acca2374739c87c162f0b8a9a57efcba6adc | [
"MIT"
] | 8 | 2017-06-19T14:52:35.000Z | 2020-01-31T12:40:15.000Z | /*
Copyright (C) 2016 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
This file describes slimmer routines to create some common MPSCNNFunctions, it is useful especially to fetch network parameters from .dat files
*/
import Foundation
import MetalPerformanceShad... | 55.476852 | 317 | 0.649837 |
74842a509f98ec5bad5387304b61a51185ecadad | 311 | kt | Kotlin | goodscenter/src/main/java/ruolan/com/goodscenter/presenter/view/CategoryView.kt | wuyinlei/CNMarket4Kotlin | 2b388a915760c6f85dc1523b42cf11446c3ff63f | [
"Apache-2.0"
] | 1 | 2018-03-28T11:26:41.000Z | 2018-03-28T11:26:41.000Z | goodscenter/src/main/java/ruolan/com/goodscenter/presenter/view/CategoryView.kt | wuyinlei/CNMarket4Kotlin | 2b388a915760c6f85dc1523b42cf11446c3ff63f | [
"Apache-2.0"
] | null | null | null | goodscenter/src/main/java/ruolan/com/goodscenter/presenter/view/CategoryView.kt | wuyinlei/CNMarket4Kotlin | 2b388a915760c6f85dc1523b42cf11446c3ff63f | [
"Apache-2.0"
] | 1 | 2018-03-28T13:48:26.000Z | 2018-03-28T13:48:26.000Z | package ruolan.com.goodscenter.presenter.view
import ruolan.com.baselibrary.presenter.view.BaseView
import ruolan.com.goodscenter.data.protocol.Category
/**
* Created by wuyinlei on 2018/1/26.
*
* @function
*/
interface CategoryView : BaseView {
fun onCategoryResult(result: MutableList<Category>)
} | 20.733333 | 55 | 0.771704 |
6b30626942ce7c820afeeff519ac7c10990d6181 | 203 | h | C | 063D/parser.h | kw1122/MKS66 | 25986e79077692afbc085920af1fef276c22d967 | [
"MIT"
] | null | null | null | 063D/parser.h | kw1122/MKS66 | 25986e79077692afbc085920af1fef276c22d967 | [
"MIT"
] | null | null | null | 063D/parser.h | kw1122/MKS66 | 25986e79077692afbc085920af1fef276c22d967 | [
"MIT"
] | null | null | null | #ifndef PARSER_H
#define PARSER_H
#include "matrix.h"
#include "ml6.h"
void parse_file ( char * filename,
struct matrix * transform,
struct matrix * edges,
screen s);
#endif
| 15.615385 | 36 | 0.635468 |
c10b84374c3ce7161e7e3dba4e9d361fc1f0ef73 | 1,721 | asm | Assembly | src/kernel/arch/x86-pc/bootstrap/multiboot.asm | narke/Aragveli | c130aeb84b136a6ec7bf92cb48530edde40ab285 | [
"MIT"
] | 4 | 2021-01-04T19:55:40.000Z | 2022-02-17T14:02:25.000Z | src/kernel/arch/x86-pc/bootstrap/multiboot.asm | narke/Aragveli | c130aeb84b136a6ec7bf92cb48530edde40ab285 | [
"MIT"
] | null | null | null | src/kernel/arch/x86-pc/bootstrap/multiboot.asm | narke/Aragveli | c130aeb84b136a6ec7bf92cb48530edde40ab285 | [
"MIT"
] | 1 | 2018-10-12T18:07:48.000Z | 2018-10-12T18:07:48.000Z | ; Copyright (c) 2017 Konstantin Tcholokachvili.
; All rights reserved.
; Use of this source code is governed by a MIT license that can be
; found in the LICENSE file.
; See http://wiki.osdev.org/Bare_Bones, slightly modified by me.
extern aragveli_main ; this is our kernel's entry point
; Setting up the Multiboot he... | 25.308824 | 67 | 0.729227 |
53cea229a9afacfd674dc1f63d83fec973b20f0c | 9,025 | java | Java | multiapps-controller-database-migration/src/main/java/org/cloudfoundry/multiapps/controller/database/migration/client/DatabaseQueryClient.java | ikasarov/multiapps-controller | 34abfda0736543675f585bfc718cdabe3a8a32f9 | [
"Apache-2.0"
] | 36 | 2018-06-15T09:28:39.000Z | 2021-12-17T06:04:36.000Z | multiapps-controller-database-migration/src/main/java/org/cloudfoundry/multiapps/controller/database/migration/client/DatabaseQueryClient.java | ikasarov/multiapps-controller | 34abfda0736543675f585bfc718cdabe3a8a32f9 | [
"Apache-2.0"
] | 533 | 2018-06-12T08:39:44.000Z | 2022-01-11T07:26:20.000Z | multiapps-controller-database-migration/src/main/java/org/cloudfoundry/multiapps/controller/database/migration/client/DatabaseQueryClient.java | ikasarov/multiapps-controller | 34abfda0736543675f585bfc718cdabe3a8a32f9 | [
"Apache-2.0"
] | 26 | 2018-06-06T16:53:10.000Z | 2021-08-16T03:03:00.000Z | package org.cloudfoundry.multiapps.controller.database.migration.client;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.ut... | 54.041916 | 174 | 0.651856 |
9c583e0cf0e8dcf8d636a040cf045a856605cbaf | 278 | js | JavaScript | src/index.js | lesterhm/john-doe-resume-app | e94ef80dca300d8f4f0cad1263ec1f309e0b0c55 | [
"MIT"
] | null | null | null | src/index.js | lesterhm/john-doe-resume-app | e94ef80dca300d8f4f0cad1263ec1f309e0b0c55 | [
"MIT"
] | null | null | null | src/index.js | lesterhm/john-doe-resume-app | e94ef80dca300d8f4f0cad1263ec1f309e0b0c55 | [
"MIT"
] | null | null | null | //main dependency
import React from 'react';
import ReactDOM from 'react-dom';
//root component
import App from './js/App';
//styles
require('!style!css!sass!./styles/main.scss');
//transform root into App component
ReactDOM.render(<App />, document.getElementById('root'));
| 21.384615 | 58 | 0.726619 |
46c71de716f1eef37069ad0d9226e7deeb74dd2b | 1,198 | swift | Swift | Moonshot/Moonshot/MIssion.swift | john-mueller/100-Days-of-SwiftUI | e320651e2f9a725af1eb65f783b8d0c5a670223e | [
"MIT"
] | 7 | 2020-07-09T16:39:34.000Z | 2022-01-09T04:09:12.000Z | Moonshot/Moonshot/MIssion.swift | john-mueller/100-Days-of-SwiftUI | e320651e2f9a725af1eb65f783b8d0c5a670223e | [
"MIT"
] | null | null | null | Moonshot/Moonshot/MIssion.swift | john-mueller/100-Days-of-SwiftUI | e320651e2f9a725af1eb65f783b8d0c5a670223e | [
"MIT"
] | 2 | 2020-12-12T02:45:24.000Z | 2021-03-29T19:47:02.000Z | //
// MIssion.swift
// Moonshot
//
// Created by John Mueller on 11/2/19.
// Copyright © 2019 John Mueller. All rights reserved.
//
import Foundation
struct Mission: Codable, Identifiable {
struct CrewRole: Codable {
let name: String
let role: String
}
let id: Int
let launchDate: ... | 22.185185 | 92 | 0.571786 |
c1d13e737a4ee46ac33e443cdfe9cd472d012f3d | 326 | kt | Kotlin | multisrc/overrides/madara/comickiba/src/ComicKiba.kt | Link1J/tachiyomi-extensions | 94b20396ab837ac3e88db0f1618f8b0c0c29695c | [
"Apache-2.0"
] | 1,143 | 2017-01-22T23:27:30.000Z | 2020-12-15T12:33:31.000Z | multisrc/overrides/madara/comickiba/src/ComicKiba.kt | Link1J/tachiyomi-extensions | 94b20396ab837ac3e88db0f1618f8b0c0c29695c | [
"Apache-2.0"
] | 4,678 | 2020-12-15T20:50:04.000Z | 2022-03-31T20:15:44.000Z | multisrc/overrides/madara/comickiba/src/ComicKiba.kt | Link1J/tachiyomi-extensions | 94b20396ab837ac3e88db0f1618f8b0c0c29695c | [
"Apache-2.0"
] | 720 | 2017-01-23T14:04:29.000Z | 2020-12-14T09:28:17.000Z | package eu.kanade.tachiyomi.extension.en.comickiba
import eu.kanade.tachiyomi.multisrc.madara.Madara
class ComicKiba : Madara("ComicKiba", "https://comickiba.com", "en") {
override val pageListParseSelector = "li.blocks-gallery-item img:nth-child(1), div.reading-content p > img, .read-container .reading-content i... | 40.75 | 149 | 0.763804 |
528cc250b358a651adbdc4a1dabf0d74cf4cfe27 | 2,883 | swift | Swift | MHNetworkingKitTests/ISO8601FormattingTests.swift | KoCMoHaBTa/MHNetworkingKit | d9ecae8bcde7e19dd76d52de12c53ade7fce6998 | [
"MIT"
] | 2 | 2020-07-10T21:41:27.000Z | 2022-01-26T08:42:26.000Z | MHNetworkingKitTests/ISO8601FormattingTests.swift | KoCMoHaBTa/MHNetworkingKit | d9ecae8bcde7e19dd76d52de12c53ade7fce6998 | [
"MIT"
] | null | null | null | MHNetworkingKitTests/ISO8601FormattingTests.swift | KoCMoHaBTa/MHNetworkingKit | d9ecae8bcde7e19dd76d52de12c53ade7fce6998 | [
"MIT"
] | null | null | null | //
// ISO8601FormattingTests.swift
// MHNetworkingKitTests
//
// Created by Milen Halachev on 18.11.20.
// Copyright © 2020 Milen Halachev. All rights reserved.
//
import Foundation
import XCTest
@testable import MHNetworkingKit
@available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *)
class ISO8601FormattingT... | 29.418367 | 150 | 0.622962 |
7ca2e21cecc36acd1207d178bd22b14aa4989e94 | 1,376 | rs | Rust | examples/long_run_connection_loop.rs | ChrisCA/BGX13P_lib_rust | b7a83a08c5945fa68d44ea0fb1a229ddfd25f5ad | [
"MIT"
] | null | null | null | examples/long_run_connection_loop.rs | ChrisCA/BGX13P_lib_rust | b7a83a08c5945fa68d44ea0fb1a229ddfd25f5ad | [
"MIT"
] | null | null | null | examples/long_run_connection_loop.rs | ChrisCA/BGX13P_lib_rust | b7a83a08c5945fa68d44ea0fb1a229ddfd25f5ad | [
"MIT"
] | null | null | null | use anyhow::{anyhow, Result};
use std::{thread::sleep, time::Duration};
use log::debug;
use simple_logger::SimpleLogger;
use BGX13P_lib_rust::*;
fn main() -> Result<()> {
SimpleLogger::new().init().unwrap();
// let macs = vec!["d0cf5e828506", /* "000d6fa7a5e8",*/ "000d6fa7a154"];
if let Ok(mut bgx) = Bgx... | 30.577778 | 92 | 0.434593 |
147a7da78d388a901ec1f6ae7cf64e3c56d06089 | 991 | sql | SQL | db/schema.sql | rpajewski/employee-tracker | 349edea33f0175a6dc6ef347251ee6dc8b83ad23 | [
"Unlicense"
] | null | null | null | db/schema.sql | rpajewski/employee-tracker | 349edea33f0175a6dc6ef347251ee6dc8b83ad23 | [
"Unlicense"
] | null | null | null | db/schema.sql | rpajewski/employee-tracker | 349edea33f0175a6dc6ef347251ee6dc8b83ad23 | [
"Unlicense"
] | null | null | null | DROP DATABASE IF EXISTS staff;
CREATE DATABASE staff;
USE staff;
CREATE TABLE departments (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(30) NOT NULL
);
CREATE TABLE roles (
id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
title VARCHAR(30) NOT NULL,
salary DECIMAL UNSIGNED NOT NULL,
d... | 29.147059 | 101 | 0.741675 |
1d00d55d715423e8e7ef0c67b697a830ca3f36dd | 1,449 | html | HTML | src/app/routes/passport/find-password/find-password.component.html | xukai233/ng-alain | eddd166d90b3a7cff735e6debdba91d6b97ac1c1 | [
"MIT"
] | 1 | 2018-12-28T08:49:16.000Z | 2018-12-28T08:49:16.000Z | src/app/routes/passport/find-password/find-password.component.html | xukai233/ng-alain | eddd166d90b3a7cff735e6debdba91d6b97ac1c1 | [
"MIT"
] | null | null | null | src/app/routes/passport/find-password/find-password.component.html | xukai233/ng-alain | eddd166d90b3a7cff735e6debdba91d6b97ac1c1 | [
"MIT"
] | null | null | null | <form class="login-from" nz-form [formGroup]="form" role="form">
<div class="login-from-content">
<div class="login-title">
找回密码
</div>
<div class="login-line"></div>
<nz-alert style="margin-bottom: 12px;" nzShowIcon nzType="info" nzMessage="您的账号当前使用随机密码,为了账号安全,请修改密码后完成登录!"></nz-alert>
<nz-alert *ngIf="... | 48.3 | 137 | 0.657005 |
95655e9687578510867b3f686466eaf39f69df52 | 1,109 | css | CSS | aasaan/static/misc/css/synch_sheets.css | deepakkt/aasaan | 77ef72e785e6ae562f51ae64fa9d85faf860c315 | [
"MIT"
] | null | null | null | aasaan/static/misc/css/synch_sheets.css | deepakkt/aasaan | 77ef72e785e6ae562f51ae64fa9d85faf860c315 | [
"MIT"
] | 15 | 2020-06-05T19:26:26.000Z | 2022-03-11T23:33:53.000Z | aasaan/static/misc/css/synch_sheets.css | deepakkt/aasaan | 77ef72e785e6ae562f51ae64fa9d85faf860c315 | [
"MIT"
] | null | null | null | /* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
}
/* Top navigation Hide default border to remove 1px line. */
.navbar-fixed-top {
border: 0;
}
.navbar-default {
background-color: #417690;
}
.navbar-right a {
color: #f5dd5d;
}
/* Main content */... | 18.483333 | 72 | 0.569883 |
e9f04d37571e97a67a288ef72662faa8dd1ae0e1 | 977 | go | Go | convert.go | jagregory/cote | f454ce836480be122598b097d2f334ba8cec5342 | [
"MIT"
] | 1 | 2015-11-22T00:26:07.000Z | 2015-11-22T00:26:07.000Z | convert.go | jagregory/cote | f454ce836480be122598b097d2f334ba8cec5342 | [
"MIT"
] | null | null | null | convert.go | jagregory/cote | f454ce836480be122598b097d2f334ba8cec5342 | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"io"
"io/ioutil"
"regexp"
)
var writeBlock = regexp.MustCompile(`<%=\s*(.*?)\s*%>`)
var execBlock = regexp.MustCompile(`<%\s*(.*?)\s*%>`)
func Convert(name string, in io.Reader, out io.Writer) error {
bytes, err := ioutil.ReadAll(in)
if err != nil {
return err
}
body := string(... | 25.710526 | 85 | 0.615148 |
f54e719ecad3e6f8c73c99234c3330506c4d5ad3 | 1,890 | css | CSS | RecipeManager/RecipeManager/wwwroot/css/oldcss/Layout.css | c-costello/RecipeManagement | 36b91a0170af812a2d78809913f26081c51d74fc | [
"MIT"
] | null | null | null | RecipeManager/RecipeManager/wwwroot/css/oldcss/Layout.css | c-costello/RecipeManagement | 36b91a0170af812a2d78809913f26081c51d74fc | [
"MIT"
] | 7 | 2019-06-20T21:54:45.000Z | 2019-06-26T21:07:24.000Z | RecipeManager/RecipeManager/wwwroot/css/oldcss/Layout.css | c-costello/RecipeManagement | 36b91a0170af812a2d78809913f26081c51d74fc | [
"MIT"
] | null | null | null | header {
display: flex;
flex-flow: row;
justify-content: space-between;
font-family: sans-serif;
padding-top: 15px;
padding-bottom: 15px;
}
main {
padding-top: 20px;
padding-left: 5vw;
padding-right: 5vw;
}
nav ul{
display: flex;
justify-content: space-around;
flex-fl... | 15.75 | 43 | 0.555026 |
2dbf7cb79542e6341ac9fabe989ae77e96c36eee | 3,223 | html | HTML | public/index.html | BrianLusina/Lu-s-Portfolio | 032ebd9431e44dbb8d3caa289a543bc9da239c41 | [
"MIT"
] | null | null | null | public/index.html | BrianLusina/Lu-s-Portfolio | 032ebd9431e44dbb8d3caa289a543bc9da239c41 | [
"MIT"
] | null | null | null | public/index.html | BrianLusina/Lu-s-Portfolio | 032ebd9431e44dbb8d3caa289a543bc9da239c41 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="author" content="The Lusina"/>
<meta ... | 40.2875 | 160 | 0.621471 |
8775bc31c36d1547fc9199790fb908ef765eff7d | 5,172 | html | HTML | src/app/pages/dashboard/gauge1/gauge1.component.html | supereffect/forsunparadise | 4630a00503f6a45dea46a4ace2c4879ecc3950f7 | [
"MIT"
] | null | null | null | src/app/pages/dashboard/gauge1/gauge1.component.html | supereffect/forsunparadise | 4630a00503f6a45dea46a4ace2c4879ecc3950f7 | [
"MIT"
] | null | null | null | src/app/pages/dashboard/gauge1/gauge1.component.html | supereffect/forsunparadise | 4630a00503f6a45dea46a4ace2c4879ecc3950f7 | [
"MIT"
] | null | null | null |
<h1>Cihazlarınıza ait güncel bilgileri aşağıda bulabilirsiniz</h1>
<div style="margin-right:20px;">
<mat-card style="padding-top: 0px; margin-top:0px;height: 600px;">
<div>
<b style="font-size: 25px;">Cihaz</b>
<b style="font-size: 25px;padding-left: 25px;">Son İletim Zamanı</b>
<... | 30.785714 | 87 | 0.45785 |
5b5002066ea11456410d1dad0fc1b1761be12864 | 355 | sql | SQL | paramgen/parameter-queries/pq-11.sql | ldbc/ldbc_snb_bi | 778a075bebe81830a6f6dfe1bb39ad2b73efc87c | [
"Apache-2.0"
] | 4 | 2021-07-02T18:43:43.000Z | 2022-03-13T21:46:44.000Z | paramgen/parameter-queries/pq-11.sql | ldbc/ldbc_snb_bi | 778a075bebe81830a6f6dfe1bb39ad2b73efc87c | [
"Apache-2.0"
] | 36 | 2021-05-30T02:35:22.000Z | 2022-03-20T21:14:56.000Z | paramgen/parameter-queries/pq-11.sql | ldbc/ldbc_snb_bi | 778a075bebe81830a6f6dfe1bb39ad2b73efc87c | [
"Apache-2.0"
] | 4 | 2021-12-25T00:39:31.000Z | 2022-03-24T20:00:45.000Z | -- usie creationDayNumMessages to determine the startDay
SELECT
country AS 'country:STRING',
startDate AS 'startDate:DATE',
startDate + INTERVAL 10 DAY AS 'endDate:DATE'
FROM
(SELECT countryName AS country FROM countryNumPersons LIMIT 10) c, -- OFFSET 2
(SELECT creationDay AS startDate FROM creation... | 39.444444 | 84 | 0.76338 |
c6e19cdb48db6affeead23f40afd08bda3ff70df | 1,579 | rb | Ruby | lib/ffi/gdal/ogr_srs_api.rb | kespry/ffi-gdal | 958ad7fbd9a9feb24f0b05fe54a1627893d70c86 | [
"MIT"
] | null | null | null | lib/ffi/gdal/ogr_srs_api.rb | kespry/ffi-gdal | 958ad7fbd9a9feb24f0b05fe54a1627893d70c86 | [
"MIT"
] | null | null | null | lib/ffi/gdal/ogr_srs_api.rb | kespry/ffi-gdal | 958ad7fbd9a9feb24f0b05fe54a1627893d70c86 | [
"MIT"
] | null | null | null | module FFI
module GDAL
module OGRSRSAPI
extend FFI::Library
ffi_lib 'gdal'
#------------------------------------------------------------------------
# Enums
#------------------------------------------------------------------------
OGRAxisOrientation = enum :oao_other, 0,
... | 32.22449 | 80 | 0.488917 |
fe845242af8541010b9fd085d26e149d81872333 | 21,825 | sql | SQL | msgcntr/messageforums-hbm/src/sql/mysql/mfr_conversion_28x-30x.sql | RyanAFinney/sakai | 872181852ddb27b503f1d614104d964bb56e7a6b | [
"ECL-2.0"
] | 13 | 2016-05-25T16:12:49.000Z | 2021-04-09T01:49:24.000Z | msgcntr/messageforums-hbm/src/sql/mysql/mfr_conversion_28x-30x.sql | DukeLearningInnovation/sakai | b61a551fc9185366d790043770912c1c0874b8c4 | [
"ECL-2.0"
] | 265 | 2015-10-19T02:40:55.000Z | 2022-03-28T07:24:49.000Z | msgcntr/messageforums-hbm/src/sql/mysql/mfr_conversion_28x-30x.sql | DukeLearningInnovation/sakai | b61a551fc9185366d790043770912c1c0874b8c4 | [
"ECL-2.0"
] | 7 | 2016-02-08T11:41:40.000Z | 2021-06-08T18:18:02.000Z | -----------------------------------
-- MSGCNTR-401 -----
-- Add new Property to prevent users from
-- using Generic Recipients in "To" field (all participants, ect)
-----------------------------------
INSERT INTO SAKAI_REALM_FUNCTION VALUES (DEFAULT, 'msg.permissions.allowToField.allParticipants');
INSERT INTO S... | 73.484848 | 313 | 0.772692 |
abe2ff052531613351699c4fd8546b55f8309210 | 147 | swift | Swift | MyHabits/MyHabits/Protocols/HabitsProtocol.swift | firetrace/iOS_networking | b02644ba8658616204eae0162ef72756ce73b509 | [
"MIT"
] | null | null | null | MyHabits/MyHabits/Protocols/HabitsProtocol.swift | firetrace/iOS_networking | b02644ba8658616204eae0162ef72756ce73b509 | [
"MIT"
] | 1 | 2021-02-16T13:09:31.000Z | 2021-02-16T13:09:31.000Z | MyHabits/MyHabits/Protocols/HabitsProtocol.swift | firetrace/iOS_industrial_dev | 1334a81bd308117cb933767fa0521fca816f5aec | [
"MIT"
] | null | null | null | //
// File.swift
// MyHabits
//
// Created by Александр Глазков on 15.01.2021.
//
protocol HabitsProtocol: AnyObject {
func updateData()
}
| 13.363636 | 47 | 0.659864 |
cb36550019d661aa7654eec3aa8b7bd8c887c81f | 465 | h | C | platform/mt6592/kernel/core/include/mach/dfe_drv.h | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | platform/mt6592/kernel/core/include/mach/dfe_drv.h | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | platform/mt6592/kernel/core/include/mach/dfe_drv.h | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | #ifndef __DFE_DRV_H__
#define __DFE_DRV_H__
#include "mt_typedefs.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
unsigned int test_length;
unsigned int rd_enable;
unsigned int rd_addr;
unsigned int wr_enable;
unsigned int wr_addr;
} DFE_para;
// -----------------------------------------------------... | 16.607143 | 78 | 0.643011 |
ee9afad1ae9107162024baad560f6f5767928677 | 1,795 | kt | Kotlin | dataaccess/src/main/java/com/johannesdoll/avbus/dataaccess/rest/NetworkError.kt | jodoll/avbus_android | e9ce14ae3f75e8f601170a8ae64dd16908e36edc | [
"MIT"
] | null | null | null | dataaccess/src/main/java/com/johannesdoll/avbus/dataaccess/rest/NetworkError.kt | jodoll/avbus_android | e9ce14ae3f75e8f601170a8ae64dd16908e36edc | [
"MIT"
] | null | null | null | dataaccess/src/main/java/com/johannesdoll/avbus/dataaccess/rest/NetworkError.kt | jodoll/avbus_android | e9ce14ae3f75e8f601170a8ae64dd16908e36edc | [
"MIT"
] | null | null | null | package com.johannesdoll.avbus.dataaccess.rest
import com.johannesdoll.avbus.dataaccess.rest.NetworkError.HttpError
import com.johannesdoll.avbus.dataaccess.rest.NetworkError.HttpError.*
import com.johannesdoll.avbus.dataaccess.rest.NetworkError.Unknown
import retrofit2.HttpException
import java.io.IOException
import ... | 28.951613 | 70 | 0.664624 |
4a94c6c9a3b793601b31290b1408e621965e28fd | 1,995 | swift | Swift | LFTwitterProfile/Classes/TwitterProfileHeaderView.swift | minpark815/iOS-TwitterProfile | 08d9c85044ad71a02029df123c38c8fc54c56ef8 | [
"MIT"
] | 1 | 2017-11-01T04:19:01.000Z | 2017-11-01T04:19:01.000Z | LFTwitterProfile/Classes/TwitterProfileHeaderView.swift | minpark815/iOS-TwitterProfile | 08d9c85044ad71a02029df123c38c8fc54c56ef8 | [
"MIT"
] | null | null | null | LFTwitterProfile/Classes/TwitterProfileHeaderView.swift | minpark815/iOS-TwitterProfile | 08d9c85044ad71a02029df123c38c8fc54c56ef8 | [
"MIT"
] | null | null | null | //
// TwitterProfileHeaderView.swift
// TwitterProfileViewController
//
// Created by Roy Tang on 1/10/2016.
// Copyright © 2016 NA. All rights reserved.
//
import Foundation
import UIKit
class TwitterProfileHeaderView: UIView {
var dorm_name_untruncated: String = ""
@IBOutlet weak var dormNameL... | 29.776119 | 113 | 0.63609 |
dff246dff6db605cc98a406587516afa61fecc80 | 299 | ts | TypeScript | webclientv3/test/stub-services/account-balances-service-stub.ts | snorkpete/everycent | 2b264e025fda48d28e0e208974e9664bb10f552c | [
"MIT"
] | 7 | 2015-05-12T19:47:15.000Z | 2021-05-14T15:17:25.000Z | webclientv3/test/stub-services/account-balances-service-stub.ts | snorkpete/everycent | 2b264e025fda48d28e0e208974e9664bb10f552c | [
"MIT"
] | 33 | 2017-04-14T15:02:42.000Z | 2022-03-30T21:57:04.000Z | webclientv3/test/stub-services/account-balances-service-stub.ts | snorkpete/everycent | 2b264e025fda48d28e0e208974e9664bb10f552c | [
"MIT"
] | null | null | null | import { of } from "rxjs";
const AccountBalancesServiceStub = {
getAccountBalances$: _ => of([]),
totalAssets: _ => [],
totalLiabilities: _ => [],
netCurrentCash: _ => [],
netCashAssets: _ => [],
netNonCashAssets: _ => [],
netWorth: _ => []
};
export { AccountBalancesServiceStub };
| 21.357143 | 38 | 0.615385 |
2a0a0394d3937fc5c1b84584994e47367dd8a0ef | 2,083 | java | Java | src/rubiksolver/Duple.java | russfeld/rubiksolver | a97f728d1b9b422af88b2a8c6c1d3c91daaabb81 | [
"MIT"
] | 4 | 2015-09-14T11:39:52.000Z | 2021-05-12T11:08:30.000Z | src/rubiksolver/Duple.java | russfeld/rubiksolver | a97f728d1b9b422af88b2a8c6c1d3c91daaabb81 | [
"MIT"
] | null | null | null | src/rubiksolver/Duple.java | russfeld/rubiksolver | a97f728d1b9b422af88b2a8c6c1d3c91daaabb81 | [
"MIT"
] | 2 | 2015-12-08T06:04:11.000Z | 2018-02-14T08:41:09.000Z | /**
* This program will solve a Rubik's Cube Puzzle using the
* two phase algorithm described by Herbert Kociemba at
* http://kociemba.org/cube.htm
*
* This is for private use only, not for release
*
* @author Russell Feldhausen
* @version 1.0 2008.12.04
*/
package rubiksolver;
/**
* This class is used to ... | 27.407895 | 173 | 0.606817 |
5cc8a5ef61676094963b66d6055856a0e3cfa337 | 766 | css | CSS | src/ui/wwwroot/css/app.css | briandenicola/cqrs-ui | 8b848ea392996f0cb5b88ad9a1142d199d909e15 | [
"Apache-2.0"
] | 5 | 2021-04-26T20:42:22.000Z | 2022-03-21T13:30:40.000Z | src/ui/wwwroot/css/app.css | briandenicola/cqrs-ui | 8b848ea392996f0cb5b88ad9a1142d199d909e15 | [
"Apache-2.0"
] | 4 | 2021-03-25T17:28:38.000Z | 2021-11-10T14:42:57.000Z | src/ui/wwwroot/css/app.css | briandenicola/cqrs-ui | 8b848ea392996f0cb5b88ad9a1142d199d909e15 | [
"Apache-2.0"
] | 1 | 2021-05-27T06:32:08.000Z | 2021-05-27T06:32:08.000Z | @import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
html, body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
a, .btn-link {
color: #0366d6;
}
.btn-primary {
color: #fff;
background-color: #1b6ec2;
border-color: #1861ac;
}
app {
position: relative;
displ... | 16.297872 | 67 | 0.618799 |
b12fa6b189d0312ec43a059a07e2b0b28f64810a | 169 | css | CSS | estudos/modulo06-semantica-css-avancado/aula19-webkit/style.css | rafaelbarretomg/html-css-b7web | e22bed19131482f1056d8c3415f80dd41c558d02 | [
"MIT"
] | 1 | 2021-07-13T07:58:01.000Z | 2021-07-13T07:58:01.000Z | estudos/modulo06-semantica-css-avancado/aula19-webkit/style.css | rafaelbarretomg/html-css-b7web | e22bed19131482f1056d8c3415f80dd41c558d02 | [
"MIT"
] | null | null | null | estudos/modulo06-semantica-css-avancado/aula19-webkit/style.css | rafaelbarretomg/html-css-b7web | e22bed19131482f1056d8c3415f80dd41c558d02 | [
"MIT"
] | null | null | null | @charset "UTF-8";
body {
margin: 0;
}
.exemplo {
width: 200px;
height: 200px;
background-color: black;
margin: auto;
margin-top: 100px;
}
| 10.5625 | 28 | 0.556213 |
8e43a04cccee6e9d5a33b93b54ffa6c03de9ab64 | 2,259 | rb | Ruby | tests/AssertionMessage/data/Constant.rb | RubyUnit/RubyUnit | 8bbb284531e9b9ace9c116d05f5e0294b39eaae0 | [
"Ruby"
] | 2 | 2021-05-05T08:58:39.000Z | 2021-11-16T00:05:25.000Z | tests/AssertionMessage/data/Constant.rb | RubyUnit/RubyUnit | 8bbb284531e9b9ace9c116d05f5e0294b39eaae0 | [
"Ruby"
] | null | null | null | tests/AssertionMessage/data/Constant.rb | RubyUnit/RubyUnit | 8bbb284531e9b9ace9c116d05f5e0294b39eaae0 | [
"Ruby"
] | 1 | 2015-04-16T23:24:25.000Z | 2015-04-16T23:24:25.000Z | module AssertionMessageTests
#
# Data provider for RubyUnit::AssertionFailure class Test Case
#
module ConstantData
def constantData
[
##
# Baisc assertion messages
[ 'FAILING'],
[ 'ASSERT_ERROR'],
[ 'ASSERT_NOT_ERROR'],
[ 'ASSERT... | 31.816901 | 64 | 0.536521 |
267257cfd5fa7825493da8cf501f0eb89377902e | 480 | java | Java | java/spring/src/com/me/data/annotated/Counter.java | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | 1 | 2021-08-19T13:40:26.000Z | 2021-08-19T13:40:26.000Z | java/spring/src/com/me/data/annotated/Counter.java | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | null | null | null | java/spring/src/com/me/data/annotated/Counter.java | xanderyzwich/Playground | 3c8bbfc33383f7ac1c88c2093fbe096cc2c44c3a | [
"Apache-2.0"
] | 1 | 2021-03-31T12:37:14.000Z | 2021-03-31T12:37:14.000Z | package com.me.data.annotated;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@Component
@Resource(name="counter")
public class Counter {
private int count;
public Counter() { this.count = 0; }
public int getCount() { return ++this.count; }
... | 20 | 54 | 0.56875 |
37fcabc4f8d8086f7859f6fd7ffc43f54118d9ac | 1,083 | sql | SQL | conf/evolutions/default/1.sql | kmichno/ebusiness-shop | 1cd96afb045a7f409f881f4d1decfc8b886851b6 | [
"CC0-1.0"
] | null | null | null | conf/evolutions/default/1.sql | kmichno/ebusiness-shop | 1cd96afb045a7f409f881f4d1decfc8b886851b6 | [
"CC0-1.0"
] | null | null | null | conf/evolutions/default/1.sql | kmichno/ebusiness-shop | 1cd96afb045a7f409f881f4d1decfc8b886851b6 | [
"CC0-1.0"
] | null | null | null | # --- !Ups
create table "people" (
"id" bigint generated by default as identity(start with 1) not null primary key,
"name" varchar not null,
"age" int not null,
"address" varchar not null
);
CREATE TABLE "product_categories" (
"id" bigint generated by default as identity(start with 1) not null primary key,
... | 27.075 | 84 | 0.705448 |
3422c44e0384468164b61a5c01a0ff343ade614b | 2,871 | lua | Lua | c286392.lua | mallu11/ygopro-pre-script | ab78e717b8a1ffdbeee6f33c39c1ddb0a63bf533 | [
"Unlicense"
] | 1 | 2019-09-18T13:31:09.000Z | 2019-09-18T13:31:09.000Z | c286392.lua | mallu11/ygopro-pre-script | ab78e717b8a1ffdbeee6f33c39c1ddb0a63bf533 | [
"Unlicense"
] | null | null | null | c286392.lua | mallu11/ygopro-pre-script | ab78e717b8a1ffdbeee6f33c39c1ddb0a63bf533 | [
"Unlicense"
] | null | null | null | --ジェット・ウォリアー
function c286392.initial_effect(c)
aux.AddMaterialCodeList(c,9742784)
--synchro summon
aux.AddSynchroProcedure(c,c286392.tfilter,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--tohand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRI... | 38.28 | 104 | 0.776733 |
c7be351b4cfeff4718b55aeb2ca43fc97eab1f42 | 1,406 | py | Python | 11/2.py | LXZE/AOC_2021 | b738bab92d1720184e9bafc2bb1f7ed2e58c5415 | [
"MIT"
] | null | null | null | 11/2.py | LXZE/AOC_2021 | b738bab92d1720184e9bafc2bb1f7ed2e58c5415 | [
"MIT"
] | null | null | null | 11/2.py | LXZE/AOC_2021 | b738bab92d1720184e9bafc2bb1f7ed2e58c5415 | [
"MIT"
] | null | null | null | with open('input.txt') as f:
octopus = list(map(lambda line: list(map(int, line.strip())), f.readlines()))
def print_grid(grid):
for line in grid:
print(''.join(map(str, line)))
def update(grid):
flash_count = 0
# increase all
flashed = set()
to_updates = []
for row in range(len(grid)):
for col in range(l... | 24.666667 | 102 | 0.600996 |
acb85d5006261249837a5fc56abac128b0537885 | 322 | sql | SQL | src/test/resources/schema.sql | vmkosh/kotlinSpring | 38a9a170178040cdbf5134fcd63a660a2e833d35 | [
"MIT"
] | null | null | null | src/test/resources/schema.sql | vmkosh/kotlinSpring | 38a9a170178040cdbf5134fcd63a660a2e833d35 | [
"MIT"
] | null | null | null | src/test/resources/schema.sql | vmkosh/kotlinSpring | 38a9a170178040cdbf5134fcd63a660a2e833d35 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS `SENDER`(
`id` INTEGER PRIMARY KEY,
`code` VARCHAR(100) NOT NULL
);
CREATE TABLE IF NOT EXISTS `SENDER_PROPERTIES`(
`id` INTEGER PRIMARY KEY,
`senderId` INTEGER NOT NULL,
`code` VARCHAR(100) NOT NULL,
`property` VARCHAR(100)
... | 32.2 | 47 | 0.580745 |
4cc859a040b6db0fa6b6cb4b8756559cce711859 | 945 | kt | Kotlin | components/src/main/java/com/mercadolibre/android/andesui/tag/leftcontent/AndesTagLeftContent.kt | RaelyxCordero/fury_andesui-android | aa15e4e13bbc3065deb1c98f8bc1b6ffef57751d | [
"MIT"
] | 1 | 2021-01-13T22:42:32.000Z | 2021-01-13T22:42:32.000Z | components/src/main/java/com/mercadolibre/android/andesui/tag/leftcontent/AndesTagLeftContent.kt | RaelyxCordero/fury_andesui-android | aa15e4e13bbc3065deb1c98f8bc1b6ffef57751d | [
"MIT"
] | null | null | null | components/src/main/java/com/mercadolibre/android/andesui/tag/leftcontent/AndesTagLeftContent.kt | RaelyxCordero/fury_andesui-android | aa15e4e13bbc3065deb1c98f8bc1b6ffef57751d | [
"MIT"
] | 1 | 2021-02-05T14:08:56.000Z | 2021-02-05T14:08:56.000Z | package com.mercadolibre.android.andesui.tag.leftcontent
/**
* Utility class that does two things: Defines the possible states an [AndesTag] can take because it's an enum, as you can see.
* But as a bonus it gives you the proper implementation so you don't have to make any mapping.
*
* You ask me with, let's say '... | 30.483871 | 127 | 0.681481 |
7c18fb05a300aff3510b1b332fcc30a81fd0fed0 | 889 | swift | Swift | FlickMapApp/Controller/PopUpViewController.swift | aveldanov/FlickMapApp | 663d0b96d2686990e6dc1a093c285d75f2a4ac64 | [
"MIT"
] | 1 | 2020-06-18T04:01:33.000Z | 2020-06-18T04:01:33.000Z | FlickMapApp/Controller/PopUpViewController.swift | aveldanov/FlickMapApp | 663d0b96d2686990e6dc1a093c285d75f2a4ac64 | [
"MIT"
] | null | null | null | FlickMapApp/Controller/PopUpViewController.swift | aveldanov/FlickMapApp | 663d0b96d2686990e6dc1a093c285d75f2a4ac64 | [
"MIT"
] | null | null | null | //
// PopUpViewController.swift
// FlickMapApp
//
// Created by Veldanov, Anton on 6/1/20.
// Copyright © 2020 Anton Veldanov. All rights reserved.
//
import UIKit
class PopUpViewController: UIViewController, UIGestureRecognizerDelegate {
var passedImage: UIImage?
@IBOutlet weak var popUpImageView: U... | 18.914894 | 98 | 0.690664 |
2df97c5f89df81d093ea664f72a60f79a51241e9 | 540 | asm | Assembly | oeis/017/A017135.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017135.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017135.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017135: a(n) = (8*n + 5)^11.
; 48828125,1792160394037,350277500542221,12200509765705829,177917621779460413,1532278301220703125,9269035929372191597,43513917611435838661,168787390185178426269,564154396389137449973,1673432436896142578125,4501035456767426597157,11156683466653165551101,25804264053054077850709,56239892154... | 77.142857 | 478 | 0.898148 |
2669839272b5d4cda64bf13c8570bdf59e9639e6 | 2,348 | java | Java | src/jtrek/visual/GalacticBitmaps.java | netrek/JTrek | cf33db500dd24cf4266bc4a14f11821075156766 | [
"AAL"
] | 1 | 2021-04-22T13:20:27.000Z | 2021-04-22T13:20:27.000Z | src/jtrek/visual/GalacticBitmaps.java | netrek/JTrek | cf33db500dd24cf4266bc4a14f11821075156766 | [
"AAL"
] | 4 | 2021-04-20T23:47:42.000Z | 2021-12-03T14:29:43.000Z | src/jtrek/visual/GalacticBitmaps.java | netrek/JavaNetrek | cf33db500dd24cf4266bc4a14f11821075156766 | [
"AAL"
] | null | null | null | package jtrek.visual;
import java.awt.*;
import java.awt.image.ImageObserver;
import jtrek.Copyright;
public class GalacticBitmaps implements ImageObserver {
final static String[] TEAMS = {
"ind", "fed", "rom", "kli", "ori"
};
// planets
Image[][] planets = new Image[4][];
Image noinfo;
// emphasis
... | 30.894737 | 107 | 0.681431 |
ab10de89a10c7d032f693d4aa06cb9d3451cefea | 7,522 | swift | Swift | FRAuth/FRAuthTests/FRAuthSwiftTests/FRAuth/Manager/SessionManagerTests.swift | patrickdiligentforgerock/forgerock-ios-sdk | 84187c2659a1afc40a613f935dfc81b3d150a0e9 | [
"MIT"
] | 2 | 2021-03-04T07:37:07.000Z | 2021-04-25T00:34:43.000Z | FRAuth/FRAuthTests/FRAuthSwiftTests/FRAuth/Manager/SessionManagerTests.swift | jhoongo/forgerock-ios-sdk | 84187c2659a1afc40a613f935dfc81b3d150a0e9 | [
"MIT"
] | null | null | null | FRAuth/FRAuthTests/FRAuthSwiftTests/FRAuth/Manager/SessionManagerTests.swift | jhoongo/forgerock-ios-sdk | 84187c2659a1afc40a613f935dfc81b3d150a0e9 | [
"MIT"
] | null | null | null | //
// SessionManagerTests.swift
// FRAuthTests
//
// Copyright (c) 2019 ForgeRock. All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
import XCTest
class SessionManagerTests: FRBaseTest {
override func se... | 30.577236 | 121 | 0.574448 |
3366e909d5c4402015506332951a88f9da0b9b54 | 23,591 | swift | Swift | Sources/Resources/Resource.generated.swift | guillaumealgis/SimpleMDM-Swift | f8ccc217d5e6de5a674ecb335f26867c9f87a959 | [
"MIT"
] | 4 | 2019-09-24T22:26:28.000Z | 2022-03-18T14:51:26.000Z | Sources/Resources/Resource.generated.swift | guillaumealgis/SimpleMDM-Swift | f8ccc217d5e6de5a674ecb335f26867c9f87a959 | [
"MIT"
] | null | null | null | Sources/Resources/Resource.generated.swift | guillaumealgis/SimpleMDM-Swift | f8ccc217d5e6de5a674ecb335f26867c9f87a959 | [
"MIT"
] | null | null | null | // Generated using Sourcery 1.4.2 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
//
// Copyright 2018 Guillaume Algis.
// Licensed under the MIT License. See the LICENSE.md file in the project root for more information.
//
import Foundation
internal extension Resource {
func decodeAndValidateTyp... | 38.235008 | 141 | 0.69251 |
5d657c370fa2acae1df7e2d93f497e9f3b23866e | 4,592 | go | Go | vendor/github.com/Juniper/asf/pkg/services/reference.go | check-spelling/contrail | d6856c1d4d48ba4588cfadb58208004571066c5c | [
"Apache-2.0"
] | 46 | 2018-03-07T09:15:07.000Z | 2021-11-28T18:54:46.000Z | vendor/github.com/Juniper/asf/pkg/services/reference.go | check-spelling/contrail | d6856c1d4d48ba4588cfadb58208004571066c5c | [
"Apache-2.0"
] | 15 | 2018-02-23T23:01:58.000Z | 2021-01-15T03:46:54.000Z | vendor/github.com/Juniper/asf/pkg/services/reference.go | check-spelling/contrail | d6856c1d4d48ba4588cfadb58208004571066c5c | [
"Apache-2.0"
] | 38 | 2018-02-27T10:18:53.000Z | 2021-11-24T05:28:30.000Z | package services
import (
"context"
"fmt"
"net/http"
"github.com/Juniper/asf/pkg/apiserver"
"github.com/Juniper/asf/pkg/errutil"
"github.com/Juniper/asf/pkg/models"
"github.com/labstack/echo"
)
// Endpoint paths.
const (
RefUpdatePath = "ref-update"
RefRelaxForDeletePath = "ref-relax-for-delete"
)
... | 29.435897 | 110 | 0.713197 |
72aff297d146c48c6433cae7026db0cc19167af5 | 7,388 | dart | Dart | lib/models/document.g.dart | raul-sauco/ka-flutter | f2e6d94c1ab09b99baaa2e7af8eb8cac513b6aea | [
"MIT"
] | null | null | null | lib/models/document.g.dart | raul-sauco/ka-flutter | f2e6d94c1ab09b99baaa2e7af8eb8cac513b6aea | [
"MIT"
] | null | null | null | lib/models/document.g.dart | raul-sauco/ka-flutter | f2e6d94c1ab09b99baaa2e7af8eb8cac513b6aea | [
"MIT"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
part of document;
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
Serializer<Document> _$documentSerializer = new _$DocumentSerializer();
class... | 27.670412 | 354 | 0.593801 |
ad0c99eab6b812839ca6397bfd2ebf41ef02ec7f | 995 | sql | SQL | SQL/Scripts/erro_importado_sidney.sql | heitorendrigo/Estudos | 6383e49d0d7d4fd11dda80d2b53c97c36f73065c | [
"MIT"
] | null | null | null | SQL/Scripts/erro_importado_sidney.sql | heitorendrigo/Estudos | 6383e49d0d7d4fd11dda80d2b53c97c36f73065c | [
"MIT"
] | null | null | null | SQL/Scripts/erro_importado_sidney.sql | heitorendrigo/Estudos | 6383e49d0d7d4fd11dda80d2b53c97c36f73065c | [
"MIT"
] | null | null | null | select a.not_in_codigo
from mgven.ven_notafiscal a
where a.not_in_numero in (6833)
and a.tpd_in_codigo = 22
update mgven.ven_itemnotafiscal t
set t.itn_re_icmsrecupera = t.itn_re_valoricms,
t.itn_re_vlcofinsrecupera = t.itn_re_vlcofinsimport,
t.itn_re_vlpisrecupera = t.itn_re_vlpisimport
where t.no... | 24.268293 | 89 | 0.703518 |
205873f5de03baf94fdbda3857ff2a63881e105b | 14,280 | sql | SQL | rbas (1).sql | Shamonshamonsha/Sahrdaya- | 9d6fa79e8ba94e9dd59a3a580d5aa6f552548d6b | [
"MIT"
] | null | null | null | rbas (1).sql | Shamonshamonsha/Sahrdaya- | 9d6fa79e8ba94e9dd59a3a580d5aa6f552548d6b | [
"MIT"
] | null | null | null | rbas (1).sql | Shamonshamonsha/Sahrdaya- | 9d6fa79e8ba94e9dd59a3a580d5aa6f552548d6b | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Nov 04, 2016 at 11:08 AM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 7.0.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI... | 33.91924 | 605 | 0.633403 |
5df13186616f1bdf0fe50ae1633d53448070efe9 | 524 | h | C | JJTree/AST/jjt/ASTBitwiseOrNode.h | jtb-javacc/SPLC | 3001f260d215a1ddcc59b26bcc34bb1d3bdb36d6 | [
"BSD-2-Clause"
] | null | null | null | JJTree/AST/jjt/ASTBitwiseOrNode.h | jtb-javacc/SPLC | 3001f260d215a1ddcc59b26bcc34bb1d3bdb36d6 | [
"BSD-2-Clause"
] | null | null | null | JJTree/AST/jjt/ASTBitwiseOrNode.h | jtb-javacc/SPLC | 3001f260d215a1ddcc59b26bcc34bb1d3bdb36d6 | [
"BSD-2-Clause"
] | null | null | null | /* Generated By:JJTree: Do not edit this line. ASTBitwiseOrNode.h Version 7.0 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=MyNode,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
#pragma once
#include "SimpleNode.h"
class SPLParser;
class A... | 26.2 | 172 | 0.753817 |
74c45aa7325c58e9cfc33eda148fc4f6bcd52de0 | 241 | js | JavaScript | frontend/content/assets/js/app/views.js | mariannesandmael/TBN- | 8ee0cbde525ed7723db186c53107f88f228dcedd | [
"Apache-2.0"
] | 8 | 2015-08-25T09:37:20.000Z | 2021-12-06T13:53:55.000Z | frontend/content/assets/js/app/views.js | mariannesandmael/TBN- | 8ee0cbde525ed7723db186c53107f88f228dcedd | [
"Apache-2.0"
] | 2 | 2017-01-23T08:55:16.000Z | 2017-09-06T13:48:22.000Z | frontend/content/assets/js/app/views.js | mariannesandmael/TBN- | 8ee0cbde525ed7723db186c53107f88f228dcedd | [
"Apache-2.0"
] | 2 | 2016-02-19T14:40:36.000Z | 2016-12-26T21:24:48.000Z | /*
* Render a view model with custom data,
* using scene.js for view model rendering.
*/
dp.views.render = function(model, data, callback) {
scene(model, data, function(view) {
if (callback) callback(view, view.el);
});
}; | 26.777778 | 51 | 0.643154 |
dc2c74cef0002caa942faae5b9bde15523cce296 | 7,435 | asm | Assembly | Middlewares/Third_Party/FreeRTOS/Source/portable/Tasking/ARM_CM4F/port_asm.asm | matianfu/stm32f4cube | 86f490790621a6bd8cb34da2f189cf2393719ad9 | [
"Apache-2.0"
] | null | null | null | Middlewares/Third_Party/FreeRTOS/Source/portable/Tasking/ARM_CM4F/port_asm.asm | matianfu/stm32f4cube | 86f490790621a6bd8cb34da2f189cf2393719ad9 | [
"Apache-2.0"
] | null | null | null | Middlewares/Third_Party/FreeRTOS/Source/portable/Tasking/ARM_CM4F/port_asm.asm | matianfu/stm32f4cube | 86f490790621a6bd8cb34da2f189cf2393719ad9 | [
"Apache-2.0"
] | null | null | null | ;/*
; FreeRTOS V8.1.2 - Copyright (C) 2014 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available in ... | 28.162879 | 82 | 0.57041 |
f29a64efdfca209ab9216b511b0a5a2572295b5a | 625 | sql | SQL | src/hg/lib/omimGeneMap2.sql | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 171 | 2015-04-22T15:16:02.000Z | 2022-03-18T20:21:53.000Z | src/hg/lib/omimGeneMap2.sql | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 60 | 2016-10-03T15:15:06.000Z | 2022-03-30T15:21:52.000Z | src/hg/lib/omimGeneMap2.sql | andypohl/kent | af7a004c8f3fa909cd8c2cfc2e5bea60e3421cd1 | [
"MIT"
] | 80 | 2015-04-16T10:39:48.000Z | 2022-03-29T16:36:30.000Z | #This table contains the same data as the genemap2.txt file downloaded from OMIM
CREATE TABLE omimGeneMap2 (
location varchar(255), # Cyto Location
compCtyoLoc varchar(255), # Computed Cyto Location
omimId int not null, # Mim Number
geneSymbol varchar(255), # Gene Symbol(s)
geneName longblob, # Gene... | 36.764706 | 80 | 0.7024 |
2a2fe4fea7ae56aac727ee4dc3d20593ba46cda8 | 885 | java | Java | DungeonDiver2/lib/net/worldwizard/support/resourcemanagers/SoundTask.java | wrldwzrd89/older-java-games | 786b0c165d800c49ab9977a34ec17286797c4589 | [
"Unlicense"
] | null | null | null | DungeonDiver2/lib/net/worldwizard/support/resourcemanagers/SoundTask.java | wrldwzrd89/older-java-games | 786b0c165d800c49ab9977a34ec17286797c4589 | [
"Unlicense"
] | null | null | null | DungeonDiver2/lib/net/worldwizard/support/resourcemanagers/SoundTask.java | wrldwzrd89/older-java-games | 786b0c165d800c49ab9977a34ec17286797c4589 | [
"Unlicense"
] | null | null | null | /* DungeonDiverII: A Map-Solving Game
Copyright (C) 2008-2010 Eric Ahnell
Any questions should be directed to the author via email at: products@puttysoftware.com
*/
package net.worldwizard.support.resourcemanagers;
import java.nio.BufferUnderflowException;
import net.worldwizard.sound.Sound;
import net.worldwizard... | 24.583333 | 87 | 0.644068 |
9c361016406846a0bc37df116b2ff6cd30420991 | 2,647 | js | JavaScript | src/www/app.js | anthonychu/serverless-draw | 8dd41aac3b2f009ef014980a3bf4bb41de6c1569 | [
"MIT"
] | 11 | 2019-03-14T02:30:43.000Z | 2021-02-06T00:50:33.000Z | src/www/app.js | anthonychu/serverless-draw | 8dd41aac3b2f009ef014980a3bf4bb41de6c1569 | [
"MIT"
] | null | null | null | src/www/app.js | anthonychu/serverless-draw | 8dd41aac3b2f009ef014980a3bf4bb41de6c1569 | [
"MIT"
] | 8 | 2019-03-07T02:52:39.000Z | 2021-02-06T00:52:40.000Z | var clientId = Math.floor(Math.random() * 1000000000000) + ''
var unsentStrokes = []
var apiBaseUrl = 'http://localhost:7071'
var connection = new signalR.HubConnectionBuilder()
.withUrl(`${apiBaseUrl}/api`)
.withHubProtocol(new signalR.protocols.msgpack.MessagePackHubProtocol())
.build()
connection.on('newStro... | 24.738318 | 74 | 0.688326 |
e2c8a8767a38772062a23f3a78bd711cdc067ad5 | 1,484 | dart | Dart | Flutter/alertdialog/lib/main.dart | sponsbub12/learn_flutter | 82a308aaa7e0488ed76659cb65f8c58bd97c89cd | [
"Apache-2.0"
] | null | null | null | Flutter/alertdialog/lib/main.dart | sponsbub12/learn_flutter | 82a308aaa7e0488ed76659cb65f8c58bd97c89cd | [
"Apache-2.0"
] | null | null | null | Flutter/alertdialog/lib/main.dart | sponsbub12/learn_flutter | 82a308aaa7e0488ed76659cb65f8c58bd97c89cd | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import 'dart:async';
void main(){
runApp(new MaterialApp(
home: new MyApp(),
));
}
//anggap myapp seperti orang
class MyApp extends StatefulWidget{
//membuat state baru dari class _State
//dimana class MyApp menggunakan class _State
@override
_State createState(... | 26.5 | 129 | 0.611186 |
2a2fd29486029937ebc0099824cd3dcb620b07ef | 1,388 | java | Java | app/src/main/java/com/kdp/wanandroidclient/ui/mvp/model/impl/SearchModel.java | longlongqi/WanAndroid | 5a42c49fe8c04be6522d7860de61d5dd851daf82 | [
"Apache-2.0"
] | 1 | 2019-12-18T14:10:36.000Z | 2019-12-18T14:10:36.000Z | app/src/main/java/com/kdp/wanandroidclient/ui/mvp/model/impl/SearchModel.java | longlongqi/WanAndroid | 5a42c49fe8c04be6522d7860de61d5dd851daf82 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/kdp/wanandroidclient/ui/mvp/model/impl/SearchModel.java | longlongqi/WanAndroid | 5a42c49fe8c04be6522d7860de61d5dd851daf82 | [
"Apache-2.0"
] | null | null | null | package com.kdp.wanandroidclient.ui.mvp.model.impl;
import com.kdp.wanandroidclient.bean.ArticleBean;
import com.kdp.wanandroidclient.bean.FriendBean;
import com.kdp.wanandroidclient.bean.HotwordBean;
import com.kdp.wanandroidclient.net.RxSchedulers;
import com.kdp.wanandroidclient.net.callback.RxObserver;
import com.... | 30.844444 | 101 | 0.680115 |
26b9a832d713301256a9a8f82532b038167f1b24 | 4,112 | java | Java | cassandra-driver/src/main/java/org/eclipse/jnosql/communication/cassandra/column/QueryExecutorType.java | amoscatelli/jnosql-communication-driver | 6c3970210b4c8c3b6a4f2d35e7391bc980aa5094 | [
"Apache-2.0"
] | 30 | 2017-06-16T12:42:59.000Z | 2020-11-16T08:27:37.000Z | cassandra-driver/src/main/java/org/eclipse/jnosql/communication/cassandra/column/QueryExecutorType.java | amoscatelli/jnosql-communication-driver | 6c3970210b4c8c3b6a4f2d35e7391bc980aa5094 | [
"Apache-2.0"
] | 82 | 2017-06-18T20:06:39.000Z | 2020-06-09T09:51:56.000Z | cassandra-driver/src/main/java/org/eclipse/jnosql/communication/cassandra/column/QueryExecutorType.java | amoscatelli/jnosql-communication-driver | 6c3970210b4c8c3b6a4f2d35e7391bc980aa5094 | [
"Apache-2.0"
] | 29 | 2017-06-16T22:07:57.000Z | 2020-10-29T08:35:04.000Z | /*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://ww... | 39.92233 | 136 | 0.645914 |
09f3ad05aa895f4a8e408340c69967b14fb208b0 | 2,256 | swift | Swift | Latest/Latest/Models/NewsApiQuery.swift | cedricbahirwe/Latest | b8b3f43ea1cdbc1a5db50f1981dba0ccc255c1e7 | [
"MIT"
] | 1 | 2021-04-22T18:40:09.000Z | 2021-04-22T18:40:09.000Z | Latest/Latest/Models/NewsApiQuery.swift | cedricbahirwe/Latest | b8b3f43ea1cdbc1a5db50f1981dba0ccc255c1e7 | [
"MIT"
] | 1 | 2021-08-13T19:00:21.000Z | 2021-08-13T19:00:21.000Z | Latest/Latest/Models/NewsApiQuery.swift | cedricbahirwe/Latest | b8b3f43ea1cdbc1a5db50f1981dba0ccc255c1e7 | [
"MIT"
] | null | null | null | //
// NewsApiQuery.swift
// Latest
//
// Created by Cédric Bahirwe on 31/07/2021.
//
import Foundation
struct NewsApiQuery {
static let APIKey = "117ed8864197464aac7e5f910a49fc77"
private let BasePath: String
private(set) var request: URLComponents
init(api: LatestEndPoints.NewsAPI) {
... | 29.298701 | 111 | 0.621011 |
8a3036d74a01897690cd68a83f2c6ab441e1973f | 683 | sql | SQL | Src/Entity.Database/EntityCode/Views/SlotLocation.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2020-08-13T00:49:48.000Z | 2020-08-13T00:49:48.000Z | Src/Entity.Database/EntityCode/Views/SlotLocation.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | null | null | null | Src/Entity.Database/EntityCode/Views/SlotLocation.sql | goodtocode/Entities | 134a692973c80ccd417b36e303e9e28dc05c3bb9 | [
"Apache-2.0"
] | 1 | 2021-03-07T03:04:34.000Z | 2021-03-07T03:04:34.000Z | Create VIEW [EntityCode].[SlotLocation]
AS
Select SL.SlotLocationId As [Id],
SL.SlotLocationKey As [Key],
S.SlotKey,
S.SlotName,
S.SlotDescription,
L.LocationKey,
L.LocationName,
L.LocationDescription,
IsNull(SL.LocationTypeKey,... | 37.944444 | 100 | 0.632504 |
05d394c22c2754927b97c2967e4e49ca7f56761b | 71 | sql | SQL | sql/systemstate266.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | sql/systemstate266.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | sql/systemstate266.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | alter session set events 'immediate trace name systemstate level 266';
| 35.5 | 70 | 0.816901 |
2a33e9d5d79bf6fa4b570c96893ccb3f3442ce0d | 873 | java | Java | app/src/main/java/com/lee/leebaseadapter/SlideAdapter.java | nicklxz/GeneralAdapter | f868e0535a1c591f179fad86dac8caec5a127a7d | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/lee/leebaseadapter/SlideAdapter.java | nicklxz/GeneralAdapter | f868e0535a1c591f179fad86dac8caec5a127a7d | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/lee/leebaseadapter/SlideAdapter.java | nicklxz/GeneralAdapter | f868e0535a1c591f179fad86dac8caec5a127a7d | [
"Apache-2.0"
] | null | null | null | package com.lee.leebaseadapter;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.Log;
import com.lee.mylibrary.SlideRecycleViewAdapter;
import com.lee.mylibrary.UniversalViewHolder;
/**
* Created by nick on 2018/7/30.
* 侧滑删除---拖拽排序
* @author nick
*/
public class Sli... | 28.16129 | 84 | 0.749141 |
8567c942eb73996699c6b6590ee9772c7518c1de | 469 | js | JavaScript | covid-dashboard/src/page/render.js | My-team-Covid-19/My-team-Covid-19.github.io | 2ae8a8fbdc0593d8d1bbb1068eca2d45d1f1805f | [
"Unlicense"
] | null | null | null | covid-dashboard/src/page/render.js | My-team-Covid-19/My-team-Covid-19.github.io | 2ae8a8fbdc0593d8d1bbb1068eca2d45d1f1805f | [
"Unlicense"
] | null | null | null | covid-dashboard/src/page/render.js | My-team-Covid-19/My-team-Covid-19.github.io | 2ae8a8fbdc0593d8d1bbb1068eca2d45d1f1805f | [
"Unlicense"
] | null | null | null | import dataRebase from '../table/data-rebase';
import lastUpdate from './setUpateTime';
import showList from '../list/data-to-list';
import showTable from '../table/data-to-table';
import getDefaultMap from '../map/map';
import getDefaultChart from '../chart/chart';
export default function getPage(data) {
const reba... | 29.3125 | 47 | 0.735608 |
86cd3c5852860f7ff7e73e48dd5cdb951abc1b3a | 613 | swift | Swift | aboon/Models/Coupon.swift | aboongeek/aboon-ios | 120f8384c3dce69c5fe4216831c2ecb30a306e85 | [
"MIT"
] | 14 | 2018-08-31T11:05:27.000Z | 2019-12-14T18:01:01.000Z | aboon/Models/Coupon.swift | aboongeek/aboon-ios | 120f8384c3dce69c5fe4216831c2ecb30a306e85 | [
"MIT"
] | 33 | 2018-08-30T08:17:15.000Z | 2018-09-09T05:51:45.000Z | aboon/Models/Coupon.swift | aboongeek/aboon-ios | 120f8384c3dce69c5fe4216831c2ecb30a306e85 | [
"MIT"
] | 3 | 2018-09-03T08:16:30.000Z | 2018-09-03T13:17:49.000Z | //
// Coupon.swift
// aboon
//
// Created by 原口和音 on 2018/08/12.
// Copyright © 2018年 aboon. All rights reserved.
//
import Foundation
class Coupon {
var imagePath: String
var name: String
var description: String
var minimum: Int
var shopId: Int
var shopName: String
init(imagePath... | 21.137931 | 109 | 0.632953 |
b870b12848be461ac767aba501eb91ee5144c708 | 4,399 | rs | Rust | src/controllers/orbit.rs | enbugger/smooth-bevy-cameras | 5356ef28a63f42ab8c505d23a5fbe46b2c3ba939 | [
"MIT"
] | null | null | null | src/controllers/orbit.rs | enbugger/smooth-bevy-cameras | 5356ef28a63f42ab8c505d23a5fbe46b2c3ba939 | [
"MIT"
] | null | null | null | src/controllers/orbit.rs | enbugger/smooth-bevy-cameras | 5356ef28a63f42ab8c505d23a5fbe46b2c3ba939 | [
"MIT"
] | null | null | null | use crate::{LookAngles, LookTransform, LookTransformBundle, Smoother, ControllerEnabled};
use bevy::{
app::prelude::*,
ecs::{bundle::Bundle, prelude::*},
input::{
mouse::{MouseMotion, MouseWheel},
prelude::*,
},
math::prelude::*,
render::prelude::*,
transform::components::Tr... | 29.13245 | 98 | 0.623551 |
e370863354083f2afd76107f73c4c151a901bf98 | 7,232 | swift | Swift | Sources/SwiftLanguageServerLib/LanguageServer/ServerCapabilities.swift | Boilertalk/swift-language-server | 512e3bd2bc2ddfcd853eb544b7389004e2eb6f57 | [
"MIT"
] | 2 | 2018-07-05T16:18:04.000Z | 2018-10-22T09:43:39.000Z | Sources/SwiftLanguageServerLib/LanguageServer/ServerCapabilities.swift | Boilertalk/swift-language-server | 512e3bd2bc2ddfcd853eb544b7389004e2eb6f57 | [
"MIT"
] | null | null | null | Sources/SwiftLanguageServerLib/LanguageServer/ServerCapabilities.swift | Boilertalk/swift-language-server | 512e3bd2bc2ddfcd853eb544b7389004e2eb6f57 | [
"MIT"
] | 1 | 2018-07-05T16:17:53.000Z | 2018-07-05T16:17:53.000Z | //
// ServerCapabilities.swift
// SwiftLanguageServerLib
//
// Created by Koray Koska on 03.04.18.
//
import Foundation
/**
* Defines how the host (editor) should sync document changes to the language server.
*/
public enum TextDocumentSyncKind: Int, Codable {
/**
* Documents should not be synced at al... | 22.6 | 108 | 0.635647 |
0ccde3d4f64a774d9d8fa84b6c6fe3d0ad69c35d | 3,997 | py | Python | backup/guitemplates/custominvocationcutdurationdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | backup/guitemplates/custominvocationcutdurationdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | backup/guitemplates/custominvocationcutdurationdialog.py | calebtrahan/KujiIn_Python | 0599d36993fa1d5988a4cf3206a12fdbe63781d8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'custominvocationcutdurationdialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeErro... | 60.560606 | 138 | 0.788341 |
cbfe30d2a6ad981c233a021d82d6258963a03ca6 | 10,763 | go | Go | vendor/github.com/DATA-DOG/godog/fmt_cucumber.go | anjannath/minishift | c649ea79d2c690225879365a5ca06e677241392b | [
"Apache-2.0"
] | 2,382 | 2016-11-10T04:52:22.000Z | 2022-03-27T19:57:12.000Z | vendor/github.com/DATA-DOG/godog/fmt_cucumber.go | anjannath/minishift | c649ea79d2c690225879365a5ca06e677241392b | [
"Apache-2.0"
] | 3,312 | 2016-11-09T09:22:18.000Z | 2022-03-22T23:14:26.000Z | vendor/github.com/DATA-DOG/godog/fmt_cucumber.go | anjannath/minishift | c649ea79d2c690225879365a5ca06e677241392b | [
"Apache-2.0"
] | 539 | 2016-11-19T09:48:47.000Z | 2022-03-27T09:47:31.000Z | package godog
/*
The specification for the formatting originated from https://www.relishapp.com/cucumber/cucumber/docs/formatters/json-output-formatter.
I found that documentation was misleading or out dated. To validate formatting I create a ruby cucumber test harness and ran the
same feature files through ... | 32.418675 | 140 | 0.69358 |
b2cd1412230dab0559fa3bfa9b195e544581cd4a | 3,889 | py | Python | lp_local_search.py | cddoyle/div-k-median | fa2e3dc01f257602aa83e151c3bc268a76f8075e | [
"MIT"
] | null | null | null | lp_local_search.py | cddoyle/div-k-median | fa2e3dc01f257602aa83e151c3bc268a76f8075e | [
"MIT"
] | null | null | null | lp_local_search.py | cddoyle/div-k-median | fa2e3dc01f257602aa83e151c3bc268a76f8075e | [
"MIT"
] | null | null | null | import time
import sys
import numpy as np
from local_search import kmedian_local_search
import feasibility
from kmedkpm import k_median_k_partitions_LS
import psutil
from sklearn.datasets import make_blobs
import generator
import random
test = False
def lp_ls_complete(data, color_mat, rvec, k, logfile):
#########... | 32.408333 | 104 | 0.54487 |
401fb28a0785f590ca880a3298b50576dc05a05d | 3,149 | py | Python | yogadl/tensorflow.py | aaron276h/YogaDL | 21fc93076abde8e5c03e4e12c56f0fcaae050bda | [
"Apache-2.0"
] | 74 | 2020-04-07T20:37:03.000Z | 2022-02-17T06:52:42.000Z | yogadl/tensorflow.py | aaron276h/YogaDL | 21fc93076abde8e5c03e4e12c56f0fcaae050bda | [
"Apache-2.0"
] | 10 | 2020-04-10T16:40:46.000Z | 2021-11-10T12:45:36.000Z | yogadl/tensorflow.py | aaron276h/YogaDL | 21fc93076abde8e5c03e4e12c56f0fcaae050bda | [
"Apache-2.0"
] | 6 | 2020-03-27T13:48:47.000Z | 2020-12-02T21:49:48.000Z | # Copyright 2020 Determined AI. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 39.3625 | 100 | 0.698317 |
ccc818b73aa4419c3fba00f126d56eb713adc687 | 1,925 | swift | Swift | ZcashLightClientKitTests/utils/FakeService.swift | defuse/ZcashLightClientKit-1 | df44d424a01c9bd935a50cfa45aa5b67b956bc2e | [
"Apache-2.0"
] | null | null | null | ZcashLightClientKitTests/utils/FakeService.swift | defuse/ZcashLightClientKit-1 | df44d424a01c9bd935a50cfa45aa5b67b956bc2e | [
"Apache-2.0"
] | null | null | null | ZcashLightClientKitTests/utils/FakeService.swift | defuse/ZcashLightClientKit-1 | df44d424a01c9bd935a50cfa45aa5b67b956bc2e | [
"Apache-2.0"
] | null | null | null | //
// FakeService.swift
// ZcashLightClientKitTests
//
// Created by Francisco Gindre on 10/23/19.
// Copyright © 2019 Electric Coin Company. All rights reserved.
//
import Foundation
import SwiftProtobuf
@testable import ZcashLightClientKit
struct LightWalletServiceMockResponse: LightWalletServiceResponse {
... | 35 | 132 | 0.709091 |
6693fde98f568613512f3c6c9a4b29e44b181df9 | 7,615 | kt | Kotlin | sources/feature/landingFragment/src/main/java/com/egoriku/landingfragment/presentation/view/SocialView.kt | Malligan/Lady-happy | 882c0953eb69a9a661f4bbbca8cf38a5f9ae2abe | [
"Apache-2.0"
] | null | null | null | sources/feature/landingFragment/src/main/java/com/egoriku/landingfragment/presentation/view/SocialView.kt | Malligan/Lady-happy | 882c0953eb69a9a661f4bbbca8cf38a5f9ae2abe | [
"Apache-2.0"
] | null | null | null | sources/feature/landingFragment/src/main/java/com/egoriku/landingfragment/presentation/view/SocialView.kt | Malligan/Lady-happy | 882c0953eb69a9a661f4bbbca8cf38a5f9ae2abe | [
"Apache-2.0"
] | null | null | null | package com.egoriku.landingfragment.presentation.view
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.animation.PropertyValuesHolder.ofFloat
import android.annotation.SuppressLint
import andro... | 34.147982 | 114 | 0.640053 |
334fca8d1a0ff67b7aef086c6baeb1b8d9e4159e | 301 | kt | Kotlin | orb/src/main/java/com/ezralazuardy/orb/OrbState.kt | fossabot/orb | fa725e9a18ec01ce883f8b1bb82086637b8802b3 | [
"MIT"
] | 16 | 2020-04-30T22:49:53.000Z | 2021-07-14T15:28:20.000Z | orb/src/main/java/com/ezralazuardy/orb/OrbState.kt | fossabot/orb | fa725e9a18ec01ce883f8b1bb82086637b8802b3 | [
"MIT"
] | 3 | 2020-09-06T02:33:03.000Z | 2021-06-04T12:47:18.000Z | orb/src/main/java/com/ezralazuardy/orb/OrbState.kt | fossabot/orb | fa725e9a18ec01ce883f8b1bb82086637b8802b3 | [
"MIT"
] | 4 | 2020-05-01T21:57:04.000Z | 2021-05-25T07:35:41.000Z | /*
* Created by Ezra Lazuardy on 5/6/20 8:23 AM
* Copyright (c) 2020. All rights reserved.
* Last modified 5/6/20 8:05 AM
*/
package com.ezralazuardy.orb
/**
* OrbState is an enum class that hold some Orb network state properties
*/
enum class OrbState {
UNKNOWN, CONNECTED, DISCONNECTED
} | 21.5 | 72 | 0.704319 |
d26538078a930aed8e4a84e22e87a6be46a83519 | 1,519 | php | PHP | app/Repositories/Adventure/AdventureLoot.php | tkprocat/tso-nf.com | c352b016d1e9fe14ddac20ac0605e31109d0232c | [
"MIT"
] | null | null | null | app/Repositories/Adventure/AdventureLoot.php | tkprocat/tso-nf.com | c352b016d1e9fe14ddac20ac0605e31109d0232c | [
"MIT"
] | 69 | 2015-01-07T23:18:20.000Z | 2020-02-17T14:50:19.000Z | app/Repositories/Adventure/AdventureLoot.php | tkprocat/tso-nf.com | c352b016d1e9fe14ddac20ac0605e31109d0232c | [
"MIT"
] | null | null | null | <?php namespace LootTracker\Repositories\Adventure;
use Illuminate\Database\Eloquent\Model;
use LootTracker\Repositories\Item\Item;
use LootTracker\Repositories\Loot\UserAdventureLoot;
/**
* Class AdventureLoot
* @package LootTracker\Repositories\Adventure
*/
class AdventureLoot extends Model
{
/**
* @va... | 20.253333 | 86 | 0.593812 |
df490ba468681a37c5710205ad6d576a49db689d | 372 | rb | Ruby | db/migrate/20150427204307_add_sexo_to_contacts.rb | RonaldoSurdi/Sms-cloud-server | 2eb9c6f244bf223184aa8fe2e2cb6064d836c150 | [
"MIT"
] | 1 | 2020-02-28T08:38:15.000Z | 2020-02-28T08:38:15.000Z | db/migrate/20150427204307_add_sexo_to_contacts.rb | RonaldoHWS/SendMySMS | 2eb9c6f244bf223184aa8fe2e2cb6064d836c150 | [
"MIT"
] | null | null | null | db/migrate/20150427204307_add_sexo_to_contacts.rb | RonaldoHWS/SendMySMS | 2eb9c6f244bf223184aa8fe2e2cb6064d836c150 | [
"MIT"
] | 1 | 2022-02-05T06:47:25.000Z | 2022-02-05T06:47:25.000Z | class AddSexoToContacts < ActiveRecord::Migration
def up
add_column :contacts, :sexo, :integer, null: false, default: 0
Contact.transaction do
Contact.all.each do |contact|
contact.update! sexo: rand(2), nascimento: Date.yesterday
end
end
end
def down
remove_column :contacts,... | 23.25 | 69 | 0.680108 |