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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16bc3e8b225ff006cf35dfa137c5514901cf0e07 | 255 | h | C | YEVideoPlayer/YE_MPViewController.h | muyang00/YEVideoPlayer | b43bf58e099aeb1d466e91454168de9be1e1e2b1 | [
"Apache-2.0"
] | 1 | 2019-03-04T02:55:58.000Z | 2019-03-04T02:55:58.000Z | YEVideoPlayer/YE_MPViewController.h | muyang00/YEVideoPlayer | b43bf58e099aeb1d466e91454168de9be1e1e2b1 | [
"Apache-2.0"
] | null | null | null | YEVideoPlayer/YE_MPViewController.h | muyang00/YEVideoPlayer | b43bf58e099aeb1d466e91454168de9be1e1e2b1 | [
"Apache-2.0"
] | null | null | null | //
// YE_MPViewController.h
// YEVideoPlayer
//
// Created by yongen on 2017/5/17.
// Copyright © 2017年 yongen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BaseViewController.h"
@interface YE_MPViewController : BaseViewController
@end
| 17 | 51 | 0.72549 |
c6218757ad081415646c2339dde8833f96066473 | 439 | swift | Swift | Package.swift | BinaryBirds/Sunlight | 6a29064f66271cf10434896712168c1c29e2cc1a | [
"MIT"
] | 20 | 2019-02-13T23:11:46.000Z | 2022-03-27T08:12:52.000Z | Package.swift | BinaryBirds/Sunlight | 6a29064f66271cf10434896712168c1c29e2cc1a | [
"MIT"
] | null | null | null | Package.swift | BinaryBirds/Sunlight | 6a29064f66271cf10434896712168c1c29e2cc1a | [
"MIT"
] | 1 | 2019-10-26T19:53:50.000Z | 2019-10-26T19:53:50.000Z | // swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "Sunlight",
products: [
.library(name: "Sunlight", targets: ["Sunlight"]),
],
dependencies: [
],
targets: [
.target(
name: "Sunlight",
dependencies: [],
path: "... | 19.954545 | 58 | 0.503417 |
992a52fa741f8f9751969d9c3b73ac8e49a918e1 | 1,101 | h | C | Engine/Contents/function/CubeRankingUI.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | Engine/Contents/function/CubeRankingUI.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | Engine/Contents/function/CubeRankingUI.h | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | #ifndef __DEF_CUBERANKING_UI_H__
#define __DEF_CUBERANKING_UI_H__
class CCubeRankingUI : public CUIWindow
{
private:
struct sCubeRank
{
sCubeRank()
{
Init();
}
void Init()
{
nRank = 0;
strGuildName = "";
strChaName = "";
lPoint = 0;
}
BYTE nRank;
CTString strGuildName;
CTString strCh... | 19.315789 | 84 | 0.71753 |
f4ddf9297fd9f4a1f4ce6f83c312fb30cfd5fec5 | 9,199 | go | Go | pkg/console/helpers.go | mjsso/console | 036168a57c7e6fe38394e185c01d4091b7930db6 | [
"Apache-2.0"
] | null | null | null | pkg/console/helpers.go | mjsso/console | 036168a57c7e6fe38394e185c01d4091b7930db6 | [
"Apache-2.0"
] | null | null | null | pkg/console/helpers.go | mjsso/console | 036168a57c7e6fe38394e185c01d4091b7930db6 | [
"Apache-2.0"
] | null | null | null | package console
import (
"compress/gzip"
v1 "console/pkg/api/v1"
"console/pkg/auth"
"console/pkg/hypercloud/proxy"
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"io/ioutil"
"net/http"
"net/url"
"runtime"
"strings"
oscrypto "github.com/openshift/library-go/pkg/crypto"
// "github.com/openshift/library-go/pkg/cry... | 32.736655 | 128 | 0.716926 |
91578d3b824d7db676601f0454d859e06108e55e | 14,324 | html | HTML | assets/archives/www.setera.org/category/mobile/iphone/feed/index.html | csetera/csetera.github.io | 55a706f7a3892e890e17f50c3745e3df2e81b760 | [
"MIT"
] | null | null | null | assets/archives/www.setera.org/category/mobile/iphone/feed/index.html | csetera/csetera.github.io | 55a706f7a3892e890e17f50c3745e3df2e81b760 | [
"MIT"
] | null | null | null | assets/archives/www.setera.org/category/mobile/iphone/feed/index.html | csetera/csetera.github.io | 55a706f7a3892e890e17f50c3745e3df2e81b760 | [
"MIT"
] | null | null | null | <?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="... | 88.968944 | 974 | 0.740645 |
a07cdd152fddaa8391dd1623107be81baeaddb49 | 1,178 | sql | SQL | src/main/resources/schema.sql | HamidurRahman1/Spring-Security | 624d7a616e068c89186aa2e00964974d122d924a | [
"MIT"
] | 2 | 2021-07-11T15:54:58.000Z | 2021-09-09T10:53:18.000Z | src/main/resources/schema.sql | HamidurRahman1/Spring-Security | 624d7a616e068c89186aa2e00964974d122d924a | [
"MIT"
] | 1 | 2022-01-21T23:43:21.000Z | 2022-01-21T23:43:21.000Z | src/main/resources/schema.sql | HamidurRahman1/Spring-Security | 624d7a616e068c89186aa2e00964974d122d924a | [
"MIT"
] | 1 | 2021-06-02T23:26:23.000Z | 2021-06-02T23:26:23.000Z | create table users
(
user_id int primary key auto_increment,
first_name varchar(50) not null,
last_name varchar(50) not null,
username varchar(60) unique not null,
password varchar(70) not null,
enabled tinyint not null
);
create table roles
(
role_id int primary key auto_increment,
role varchar(15) un... | 23.56 | 58 | 0.754669 |
35aa02f5579dcad7834ecd6e727dc540ee04a2bd | 5,217 | swift | Swift | Hipstapaper/Stylize/MDL.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 40 | 2016-12-21T15:42:50.000Z | 2022-03-29T16:15:45.000Z | Hipstapaper/Stylize/MDL.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 9 | 2018-07-07T06:01:27.000Z | 2021-03-20T02:55:59.000Z | Hipstapaper/Stylize/MDL.swift | jeffreybergier/Hipstapaper | 7c7a38b71450017273337700513c043835bfe2c6 | [
"MIT"
] | 4 | 2019-08-17T11:02:59.000Z | 2022-03-22T18:01:44.000Z | //
// Created by Jeffrey Bergier on 2020/12/27.
//
// MIT License
//
// Copyright (c) 2021 Jeffrey Bergier
//
// 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, inc... | 38.932836 | 89 | 0.536899 |
3d316a4ce5ddb37cfe13896e7068297039588746 | 523 | asm | Assembly | oeis/176/A176108.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/176/A176108.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/176/A176108.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A176108: Decimal expansion of (9+sqrt(93))/6.
; Submitted by Christian Krause
; 3,1,0,7,2,7,5,1,2,6,8,3,2,1,5,9,1,6,5,9,6,0,0,0,5,1,7,4,5,7,2,1,1,0,5,3,0,6,5,1,1,5,0,6,1,5,5,1,0,5,4,2,0,6,7,8,8,3,3,6,2,8,1,4,6,2,1,8,8,1,0,6,9,7,7,8,1,0,8,2,8,7,1,5,0,0,0,9,1,1,8,2,1,5,6,0,1,4,3,1
mov $2,1
mov $3,$0
mul $3,4
mov $5,1
... | 18.034483 | 201 | 0.531549 |
4769b413b2ffcfe9873d07dbd9de25f4a4fd5c55 | 804 | html | HTML | src/pages/map/map.html | imrankhanjoya/iconic-app1 | b90ab15e4c7da7ccbc0729e581cb4f8c0122dedf | [
"MIT"
] | null | null | null | src/pages/map/map.html | imrankhanjoya/iconic-app1 | b90ab15e4c7da7ccbc0729e581cb4f8c0122dedf | [
"MIT"
] | null | null | null | src/pages/map/map.html | imrankhanjoya/iconic-app1 | b90ab15e4c7da7ccbc0729e581cb4f8c0122dedf | [
"MIT"
] | null | null | null | <ion-header no-border>
<ion-toolbar color="fulldark">
<button ion-button menuToggle>
<ion-icon name="people"></ion-icon>
</button>
<ion-buttons end>
<button ion-button icon-only color="royal" (click)="gotoSearchProduct()">
<img src="assets/img/agri bolo icon/hdpi/wallet.png">
</button>
</ion-buttons>
<ion-title>hello R... | 28.714286 | 76 | 0.707711 |
620f27cf9e5e52d8a2e4b81c7e53761d89bc1e4d | 424 | swift | Swift | Tests/LeetCodeTests/2029 Stone Game IX/StoneGameIXSpec.swift | szwathub/LeetCode.swift | a15c8dc27cc3a23db61ff3034f5891f13ed4fffe | [
"MIT"
] | null | null | null | Tests/LeetCodeTests/2029 Stone Game IX/StoneGameIXSpec.swift | szwathub/LeetCode.swift | a15c8dc27cc3a23db61ff3034f5891f13ed4fffe | [
"MIT"
] | 204 | 2021-10-30T06:16:59.000Z | 2022-03-31T11:57:08.000Z | Tests/LeetCodeTests/2029 Stone Game IX/StoneGameIXSpec.swift | szwathub/LeetCode.swift | a15c8dc27cc3a23db61ff3034f5891f13ed4fffe | [
"MIT"
] | null | null | null | import XCTest
@testable import LeetCode
final class StoneGameIXSpec: XCTestCase {
fileprivate let questions: [(([Int]), Bool)] = [
(([2, 1]), true),
(([2]), false),
(([5, 1, 2, 4, 3]), false)
]
func testStoneGameIX() {
let solution = StoneGameIX()
for ((stones), an... | 22.315789 | 64 | 0.549528 |
12c28be9cf00f5f600fc2472063e1bb5bfcae067 | 517 | html | HTML | distribution/src/main/release/remote/docs/index.html | msfm/infinispan | 9a9135d58889747e152ba13a9b34e5a51ab48442 | [
"Apache-2.0"
] | null | null | null | distribution/src/main/release/remote/docs/index.html | msfm/infinispan | 9a9135d58889747e152ba13a9b34e5a51ab48442 | [
"Apache-2.0"
] | null | null | null | distribution/src/main/release/remote/docs/index.html | msfm/infinispan | 9a9135d58889747e152ba13a9b34e5a51ab48442 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>${infinispan.brand.name}</title>
<link rel="stylesheet" type="text/css" href="api/stylesheet.css" title="Style">
</he... | 34.466667 | 110 | 0.688588 |
2f1e1f86b6708f4157b8f21640ff1bf582de60f8 | 5,687 | php | PHP | 1.32.0/var/www/html/indicia/client_helpers/prebuilt_forms/extensions/associations.php | vegetweb/warehouse-docker | 98bb5586818309cb352af449fd64725a227595a3 | [
"Apache-2.0"
] | null | null | null | 1.32.0/var/www/html/indicia/client_helpers/prebuilt_forms/extensions/associations.php | vegetweb/warehouse-docker | 98bb5586818309cb352af449fd64725a227595a3 | [
"Apache-2.0"
] | null | null | null | 1.32.0/var/www/html/indicia/client_helpers/prebuilt_forms/extensions/associations.php | vegetweb/warehouse-docker | 98bb5586818309cb352af449fd64725a227595a3 | [
"Apache-2.0"
] | null | null | null | <?php
/**
* Indicia, the OPAL Online Recording Toolkit.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
* This program is distri... | 43.746154 | 129 | 0.65975 |
98ddfb2b19d4257137cd7a3aea6e66f9e19da8e2 | 323 | html | HTML | src/server/www/src/templates/interview_list_tmpl.html | lutzer/MNKServer | 29f326e243298ebcb3a6a981ce64d7eb627711cc | [
"MIT"
] | 1 | 2017-06-11T15:03:30.000Z | 2017-06-11T15:03:30.000Z | src/server/www/src/templates/interview_list_tmpl.html | lutzer/MNKServer | 29f326e243298ebcb3a6a981ce64d7eb627711cc | [
"MIT"
] | 2 | 2017-05-30T12:53:19.000Z | 2018-02-02T15:59:21.000Z | src/server/www/src/templates/interview_list_tmpl.html | lutzer/MNKServer | 29f326e243298ebcb3a6a981ce64d7eb627711cc | [
"MIT"
] | 2 | 2017-04-24T12:55:58.000Z | 2020-09-08T09:20:39.000Z | <div id="interview-list" class="list-view cards column"></div>
<div class="more-button-div"><a id="load-more-button" class="button hidden" href="#">Load More</a></div>
<div id="fetch-spinner">
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</d... | 35.888889 | 104 | 0.643963 |
874334f4c805d4aa150704304bdd0912ef31e5f8 | 13,828 | html | HTML | docs/util_emoji.js.html | urmommagey/kahoot.js-updated-reupload | 268d71606bc8daf1f1793c42f54799fd3b4d7ed0 | [
"MIT"
] | 7 | 2021-07-29T23:34:07.000Z | 2021-11-17T10:45:44.000Z | docs/util_emoji.js.html | urmommagey/kahoot.js-updated-reupload | 268d71606bc8daf1f1793c42f54799fd3b4d7ed0 | [
"MIT"
] | null | null | null | docs/util_emoji.js.html | urmommagey/kahoot.js-updated-reupload | 268d71606bc8daf1f1793c42f54799fd3b4d7ed0 | [
"MIT"
] | 1 | 2021-06-26T15:48:56.000Z | 2021-06-26T15:48:56.000Z | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Source: util/emoji.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js">... | 246.928571 | 10,728 | 0.737272 |
cc395a5ff0111007913ea783412e457a1f61b042 | 380 | sql | SQL | target/run/agency_data_pipeline/base/adwords/adwords_stats.sql | analiticaqeresformacion/dbt | cb36ed6d98097cbe60be96522a68b157089dbdbc | [
"MIT"
] | 12 | 2018-07-12T00:00:01.000Z | 2021-06-03T09:46:09.000Z | target/run/agency_data_pipeline/base/adwords/adwords_stats.sql | analiticaqeresformacion/dbt | cb36ed6d98097cbe60be96522a68b157089dbdbc | [
"MIT"
] | null | null | null | target/run/agency_data_pipeline/base/adwords/adwords_stats.sql | analiticaqeresformacion/dbt | cb36ed6d98097cbe60be96522a68b157089dbdbc | [
"MIT"
] | 9 | 2018-07-10T14:40:16.000Z | 2021-11-25T05:19:32.000Z | create or replace table `agency_data_pipeline`.`adwords_stats`
as (
SELECT
cast(day as date) date,
account,
platform,
channel,
url,
campaign,
sum(cost) cost,
sum(impressions) impressions,
sum(clicks) clicks,
sum(conversions) conversions
FROM `adp-apprenticeship`.`agency_data_pipeline`.`adwords_join`
GROUP B... | 20 | 63 | 0.747368 |
dd80e1200618fba92f8dc57828b5155cde751067 | 1,040 | php | PHP | src/mvc/model/actions/order.php | nabab/appui-dashboard | 2443280f689d78010891400519b93960f555dc1c | [
"MIT"
] | 2 | 2019-10-22T02:32:28.000Z | 2020-05-20T08:19:35.000Z | src/mvc/model/actions/order.php | nabab/appui-dashboard | 2443280f689d78010891400519b93960f555dc1c | [
"MIT"
] | null | null | null | src/mvc/model/actions/order.php | nabab/appui-dashboard | 2443280f689d78010891400519b93960f555dc1c | [
"MIT"
] | null | null | null | <?php
/**
* @var bbn\Mvc\Model $model
*/
/*
$res = ['success' => false];
if ( isset($model->data['order']) && is_array($model->data['order']) && defined('BBN_REFERER') ){
if (
($route = $ctrl->getRoute(BBN_REFERER, 'public')) &&
($id_perm = $ctrl->inc->perm->fromPath($route['path']))
){
if ( !$model... | 26.666667 | 97 | 0.491346 |
80c4e10ae0cbeee4e1d8921e4463a415ef5f00a7 | 1,133 | swift | Swift | Tests/SwiftBeanCountParserTests/TestUtils.swift | Nef10/SwiftBeanCountParser | a6f7df3acdae2502576329d9e03d1db9b980fdbf | [
"MIT"
] | null | null | null | Tests/SwiftBeanCountParserTests/TestUtils.swift | Nef10/SwiftBeanCountParser | a6f7df3acdae2502576329d9e03d1db9b980fdbf | [
"MIT"
] | 87 | 2020-05-31T19:32:09.000Z | 2022-03-21T01:17:45.000Z | Tests/SwiftBeanCountParserTests/TestUtils.swift | Nef10/SwiftBeanCountParser | a6f7df3acdae2502576329d9e03d1db9b980fdbf | [
"MIT"
] | null | null | null | //
// TestUtils.swift
// SwiftBeanCountParserTests
//
// Created by Steffen Kötte on 2017-09-02.
// Copyright © 2017 Steffen Kötte. All rights reserved.
//
import Foundation
enum TestUtils {
static let calendar = Calendar.current
static var date20170608: Date = {
var dateComponents = DateCompone... | 26.348837 | 56 | 0.656664 |
85c10db30bb372de75f578f100e01f20bf5f67db | 4,803 | rs | Rust | 07-rust/stm32f446/stm32f446_pac/src/uart4.rs | aaronhktan/stm32-exploration | dcd7674424cd17b02b85c6b3ce533456d5037d65 | [
"MIT"
] | null | null | null | 07-rust/stm32f446/stm32f446_pac/src/uart4.rs | aaronhktan/stm32-exploration | dcd7674424cd17b02b85c6b3ce533456d5037d65 | [
"MIT"
] | null | null | null | 07-rust/stm32f446/stm32f446_pac/src/uart4.rs | aaronhktan/stm32-exploration | dcd7674424cd17b02b85c6b3ce533456d5037d65 | [
"MIT"
] | null | null | null | #[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - Status register"]
pub sr: SR,
#[doc = "0x04 - Data register"]
pub dr: DR,
#[doc = "0x08 - Baud rate register"]
pub brr: BRR,
#[doc = "0x0c - Control register 1"]
pub cr1: CR1,
#[doc = "0x10 - Control reg... | 57.86747 | 395 | 0.666667 |
865626f297b05f64103a0929d367f56d73288d75 | 46 | asm | Assembly | examples/data.asm | dcpzorg/white-rabbit | be88440b86a993f36b88bfe42b0f01ac1a8d0375 | [
"WTFPL"
] | null | null | null | examples/data.asm | dcpzorg/white-rabbit | be88440b86a993f36b88bfe42b0f01ac1a8d0375 | [
"WTFPL"
] | null | null | null | examples/data.asm | dcpzorg/white-rabbit | be88440b86a993f36b88bfe42b0f01ac1a8d0375 | [
"WTFPL"
] | null | null | null | 4
2a
2a
40
40
4
1
0
0
1
2
0
1
4
64
c8
12c
190
| 2.421053 | 3 | 0.608696 |
bf7c9848401afc29dc803ca20b3d6b92b4d1b3fb | 551 | rs | Rust | src/AtCoder/ABC18x/ABC185/b.rs | burokoron/rust_training | a93b78833a7e929e0a2d81dff604ac71e521825e | [
"MIT"
] | null | null | null | src/AtCoder/ABC18x/ABC185/b.rs | burokoron/rust_training | a93b78833a7e929e0a2d81dff604ac71e521825e | [
"MIT"
] | null | null | null | src/AtCoder/ABC18x/ABC185/b.rs | burokoron/rust_training | a93b78833a7e929e0a2d81dff604ac71e521825e | [
"MIT"
] | null | null | null | use proconio::input;
fn main() {
input! {
n: i64,
m: usize,
t: i64,
ab: [(i64, i64); m],
}
let mut battery = n - ab[0].0;
for i in 0..m {
if battery <= 0 {
break;
}
battery += ab[i].1 - ab[i].0;
if battery > n {
ba... | 16.69697 | 43 | 0.346642 |
df7c4ffa983d0dbee9c2989438a33acd84e62ed8 | 486 | sql | SQL | shimazu/documentation/SQL/[11][VIEW]datos_historicos_programados.sql | ANamelessWolf/avalon | e89bbb0fd71f8164185997461d57390c538ac037 | [
"MIT"
] | null | null | null | shimazu/documentation/SQL/[11][VIEW]datos_historicos_programados.sql | ANamelessWolf/avalon | e89bbb0fd71f8164185997461d57390c538ac037 | [
"MIT"
] | null | null | null | shimazu/documentation/SQL/[11][VIEW]datos_historicos_programados.sql | ANamelessWolf/avalon | e89bbb0fd71f8164185997461d57390c538ac037 | [
"MIT"
] | null | null | null | USE `cdmx_obras`;
CREATE OR REPLACE VIEW datos_historicos_programados AS
(SELECT
P.`clv_programa`,
IF(H.`fecha_captura`>=P.`fecha_inicio`, H.`id_captura`, H.id_captura*-1) AS `id`,
H.`fecha_captura`, H.`avance_programado_total`,
H.`avance_fisico_total`,
H.`avance_finan... | 34.714286 | 90 | 0.609053 |
249ab9272b59cb0d557277f270c02e1bf1e59dad | 175 | dart | Dart | test/generated/service_test_interface.dart | alxhub/streamy-dart | c0ba2304ea7f80d6e96e33a579c9401330838a33 | [
"Apache-2.0"
] | 36 | 2015-01-13T10:10:03.000Z | 2020-06-01T20:11:52.000Z | test/generated/service_test_interface.dart | alxhub/streamy-dart | c0ba2304ea7f80d6e96e33a579c9401330838a33 | [
"Apache-2.0"
] | 19 | 2015-03-06T18:19:58.000Z | 2017-12-04T22:55:11.000Z | test/generated/service_test_interface.dart | alxhub/streamy-dart | c0ba2304ea7f80d6e96e33a579c9401330838a33 | [
"Apache-2.0"
] | 20 | 2015-03-12T02:29:48.000Z | 2021-09-05T09:16:08.000Z | library streamy.test.generated.service.interface;
class Foo {
int id;
String name;
}
class Bar {
int id;
Foo foo;
}
class Service {
Future<Bar> barFor(Foo foo);
} | 11.666667 | 49 | 0.674286 |
6687dd91770665572fc5de5142a51979bbdec197 | 1,314 | kt | Kotlin | layout-inspector/testSrc/com/android/tools/idea/layoutinspector/metrics/MetricsTrackerRule.kt | phpc0de/idea-android | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | [
"Apache-2.0"
] | null | null | null | layout-inspector/testSrc/com/android/tools/idea/layoutinspector/metrics/MetricsTrackerRule.kt | phpc0de/idea-android | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | [
"Apache-2.0"
] | null | null | null | layout-inspector/testSrc/com/android/tools/idea/layoutinspector/metrics/MetricsTrackerRule.kt | phpc0de/idea-android | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 33.692308 | 105 | 0.762557 |
3bdf54bd1398cb0839691f823c77c602485343c0 | 1,076 | h | C | include/il2cpp/System/Predicate_KeyValuePair_UgPokeLottery.TypeAndSize__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | 1 | 2022-01-15T20:20:27.000Z | 2022-01-15T20:20:27.000Z | include/il2cpp/System/Predicate_KeyValuePair_UgPokeLottery.TypeAndSize__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | include/il2cpp/System/Predicate_KeyValuePair_UgPokeLottery.TypeAndSize__int__.h | martmists-gh/BDSP | d6326c5d3ad9697ea65269ed47aa0b63abac2a0a | [
"MIT"
] | null | null | null | #pragma once
#include "il2cpp.h"
void System_Predicate_KeyValuePair_UgPokeLottery_TypeAndSize__int_____ctor (System_Predicate_KeyValuePair_UgPokeLottery_TypeAndSize__int___o* __this, Il2CppObject* object, intptr_t method, const MethodInfo* method_info);
bool System_Predicate_KeyValuePair_UgPokeLottery_TypeAndSize__in... | 119.555556 | 340 | 0.917286 |
f01636a07a87cf93e98d3a0d5e5e79dd6e4913ce | 1,260 | py | Python | 8/code.py | DeclanOGorman/AdventofCode2021 | 71a25327d5ab1f88124d09ec8ef853610cbff8ef | [
"MIT"
] | null | null | null | 8/code.py | DeclanOGorman/AdventofCode2021 | 71a25327d5ab1f88124d09ec8ef853610cbff8ef | [
"MIT"
] | null | null | null | 8/code.py | DeclanOGorman/AdventofCode2021 | 71a25327d5ab1f88124d09ec8ef853610cbff8ef | [
"MIT"
] | null | null | null | with open('./8/input_a.txt', 'r') as f:
input = [[a.strip().split(' | ')[0].split(' '), a.strip().split(' | ')[1].split(' ')] for a in f]
num = sum([sum([1 if len(a) in {2,3,4,7} else 0 for a in o[1]]) for o in input ])
print(f'Part A: Number of 1,4,7 or 8s in output - {num}')
def getoutput(i):
nums = ['0','1... | 57.272727 | 118 | 0.52381 |
e77d76c7ae89f2f5048b5bc53fa33a3e4347ea72 | 519 | js | JavaScript | src/components/contactUs/popup1.js | Alrfati-Hazem/Project-8 | 1940c3023ac94dc7f7fa91cdc42a2d9db8f6b5e5 | [
"MIT"
] | null | null | null | src/components/contactUs/popup1.js | Alrfati-Hazem/Project-8 | 1940c3023ac94dc7f7fa91cdc42a2d9db8f6b5e5 | [
"MIT"
] | null | null | null | src/components/contactUs/popup1.js | Alrfati-Hazem/Project-8 | 1940c3023ac94dc7f7fa91cdc42a2d9db8f6b5e5 | [
"MIT"
] | 1 | 2022-02-20T18:31:19.000Z | 2022-02-20T18:31:19.000Z | import React from "react";
import { useNavigate } from "react-router-dom";
import "./popup1.css";
const Popup1 = (props) => {
const navigate = useNavigate();
return (
<div className="popup-box">
<div className="box">
<h3>
Your message is succesfully sent, we will contact you as soon as
... | 22.565217 | 74 | 0.566474 |
9c5ae19394967c67d864f9d70ab008df93af80fe | 445 | js | JavaScript | src/dream-team.js | KiriaLbk/basic-js | 01304f1463346c62f85623bb6adca8196bf0a2a2 | [
"MIT"
] | null | null | null | src/dream-team.js | KiriaLbk/basic-js | 01304f1463346c62f85623bb6adca8196bf0a2a2 | [
"MIT"
] | null | null | null | src/dream-team.js | KiriaLbk/basic-js | 01304f1463346c62f85623bb6adca8196bf0a2a2 | [
"MIT"
] | null | null | null | module.exports = function createDreamTeam(members) {
if(Array.isArray(members))
{
members=members.filter((item, index, array)=>typeof(array[index])=="string");
for(let count=0;count<members.length;count++)
{
members[count]=members[count].trim();
}
members = members.map((item,... | 27.8125 | 98 | 0.613483 |
66d34fda785d0cc00adc997fe299e15dc7770ac8 | 644 | swift | Swift | Sources/CollectionViewInteractorInput.swift | 0x0c/CompositionalLayoutViewControllerViperExtension | 6b83ea96591a9bd5f58e72f8b303a1cb29390fad | [
"MIT"
] | null | null | null | Sources/CollectionViewInteractorInput.swift | 0x0c/CompositionalLayoutViewControllerViperExtension | 6b83ea96591a9bd5f58e72f8b303a1cb29390fad | [
"MIT"
] | null | null | null | Sources/CollectionViewInteractorInput.swift | 0x0c/CompositionalLayoutViewControllerViperExtension | 6b83ea96591a9bd5f58e72f8b303a1cb29390fad | [
"MIT"
] | null | null | null | //
// CollectionViewInteractorInput.swift
//
//
// Created by Akira Matsuda on 2021/01/14.
//
import CompositionalLayoutViewController
import UIKit
public protocol CollectionViewInteractorInput: AnyObject {
var sections: [CollectionViewSection] { get set }
func store(_ sections: [CollectionViewSection])
... | 23.851852 | 66 | 0.734472 |
a9081e3744a08f2865ed35d459c79dec24afb778 | 313 | asm | Assembly | programs/oeis/113/A113763.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/113/A113763.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/113/A113763.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A113763: Non-multiples of 13, or numbers not divisible by 13.
; 1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,40,41,42,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,77
mov $1,$0
div $1,12
add $0,$1
add $0,1
| 39.125 | 208 | 0.651757 |
e9d957c31c75b01ebcbbedcbf62c803dff6c1dc9 | 10,560 | go | Go | script/generate.go | flowcommerce/lib-reference-scala | 10f401130c6fc505a8106bab1466b7e6e990bc32 | [
"MIT"
] | 1 | 2021-01-24T20:56:17.000Z | 2021-01-24T20:56:17.000Z | script/generate.go | flowcommerce/lib-reference-scala | 10f401130c6fc505a8106bab1466b7e6e990bc32 | [
"MIT"
] | 13 | 2017-12-18T13:15:38.000Z | 2021-04-21T17:40:26.000Z | script/generate.go | flowcommerce/lib-reference-scala | 10f401130c6fc505a8106bab1466b7e6e990bc32 | [
"MIT"
] | 1 | 2017-11-04T18:40:07.000Z | 2017-11-04T18:40:07.000Z | /**
* Reads reference data from json files, generated scala libraries
*
* Run using:
* go run generate.go
**/
package main
import (
"bufio"
"fmt"
"github.com/flowcommerce/json-reference/common"
"github.com/flowcommerce/tools/util"
"os"
"regexp"
"strconv"
"strings"
"unicode"
)
const Directory = "src/ma... | 31.242604 | 361 | 0.642235 |
1abc8c09cac2cb9b7083e3e9cdaf24b52388bf58 | 5,385 | kt | Kotlin | app/src/main/java/com/zhugeng/materialdesign/activity/tab/TabIconActivity.kt | duxiu-chen/Materials | 3a744d27abd7b147d081ce980c96599e7b511eab | [
"MIT"
] | 9 | 2019-08-28T17:19:18.000Z | 2020-06-10T03:22:40.000Z | app/src/main/java/com/zhugeng/materialdesign/activity/tab/TabIconActivity.kt | duxiu-chen/Materials | 3a744d27abd7b147d081ce980c96599e7b511eab | [
"MIT"
] | 1 | 2021-03-25T07:30:08.000Z | 2021-03-25T07:30:08.000Z | app/src/main/java/com/zhugeng/materialdesign/activity/tab/TabIconActivity.kt | duxiu-chen/Materials | 3a744d27abd7b147d081ce980c96599e7b511eab | [
"MIT"
] | 2 | 2020-06-10T06:46:12.000Z | 2022-02-08T09:29:37.000Z | package com.zhugeng.materialdesign.activity.tab
import android.content.res.ColorStateList
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.support.design.widget.TabLayout
import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.... | 38.464286 | 156 | 0.664067 |
f200a069a35c0339810aeb8d025582d9f7fb1378 | 796 | asm | Assembly | oeis/254/A254332.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/254/A254332.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/254/A254332.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A254332: Indices of centered pentagonal numbers (A005891) which are also squares (A000290).
; Submitted by Christian Krause
; 1,3,22,96,817,3627,31006,137712,1177393,5229411,44709910,198579888,1697799169,7540806315,64471658494,286352060064,2448225223585,10873837476099,92968086837718,412919472031680,3530339074609681,1... | 34.608696 | 485 | 0.801508 |
5fc52f48dd47a55b01bb34a392031982c632a0be | 5,682 | h | C | DxGuiFramework/DGWindowSurface.h | Maultasche/DxGui | ad540f96bf4df2f1d941b03596bb9927c21e3581 | [
"MIT"
] | null | null | null | DxGuiFramework/DGWindowSurface.h | Maultasche/DxGui | ad540f96bf4df2f1d941b03596bb9927c21e3581 | [
"MIT"
] | null | null | null | DxGuiFramework/DGWindowSurface.h | Maultasche/DxGui | ad540f96bf4df2f1d941b03596bb9927c21e3581 | [
"MIT"
] | null | null | null | /*------------------------------------------------------------------------
File Name: DGWindowSurface.h
Description: This file contains the DG::WindowSurface class, which
represents the area of a window.
Version:
1.0.0 12.08.2001 Created the file
2.0.0 02.06.2002 Changed the file to use namespaces... | 33.821429 | 85 | 0.590109 |
0c800881227fbd84b9daa79bea4698f463302f6e | 187 | asm | Assembly | oeis/028/A028737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/028/A028737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/028/A028737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A028737: Nonsquares mod 24.
; 2,3,5,6,7,8,10,11,13,14,15,17,18,19,20,21,22,23
mov $2,$0
lpb $2
add $0,1
mov $2,7
lpe
seq $0,37 ; Numbers that are not squares (or, the nonsquares).
| 18.7 | 62 | 0.636364 |
525e6b221b8b54152f99d87f1950f8a5c3f29af8 | 3,202 | asm | Assembly | timerend.asm | juanstdio/SemaforoSPD | dc3b365a22b7cacf155f84f2d611c0d07dd79ebc | [
"MIT"
] | null | null | null | timerend.asm | juanstdio/SemaforoSPD | dc3b365a22b7cacf155f84f2d611c0d07dd79ebc | [
"MIT"
] | null | null | null | timerend.asm | juanstdio/SemaforoSPD | dc3b365a22b7cacf155f84f2d611c0d07dd79ebc | [
"MIT"
] | null | null | null | ;-----------------------------------------------------------------------
; Programa TIMEREND que se instala en el vector de interrupciones 81h
; que genera un retardo de un tiempo recibido por AL.
; Se debe generar el ejecutable .COM con los siguientes comandos:
; tasm timerend.asm
; tlink /t timerend.obj
;... | 34.804348 | 80 | 0.580575 |
558e8c35a32b44c151bb97441cfa0f9d4219e63e | 532 | kt | Kotlin | core/src/main/kotlin/materialui/styles/createMixins.kt | oxc/kotlin-material-ui | ddd289ab89cf51885fb99f384175e98aa6da6698 | [
"MIT"
] | 1 | 2021-02-20T12:20:28.000Z | 2021-02-20T12:20:28.000Z | core/src/main/kotlin/materialui/styles/createMixins.kt | oxc/kotlin-material-ui | ddd289ab89cf51885fb99f384175e98aa6da6698 | [
"MIT"
] | null | null | null | core/src/main/kotlin/materialui/styles/createMixins.kt | oxc/kotlin-material-ui | ddd289ab89cf51885fb99f384175e98aa6da6698 | [
"MIT"
] | null | null | null | @file:Suppress("UNCHECKED_CAST_TO_EXTERNAL_INTERFACE")
package materialui.styles
import materialui.styles.breakpoint.Breakpoints
import materialui.styles.mixins.Mixins
import materialui.styles.mixins.options.MixinsOptions
import materialui.styles.spacing.Spacing
@JsModule("@material-ui/core/styles/createMixins")
pri... | 35.466667 | 91 | 0.842105 |
f4b94c83d9372a6c3794f28ef3495cdb222dd833 | 576 | go | Go | getting-started/slice.go | dev0x13/learning-go | f1c229352a3245c156ffa1934ca7551bdd3ad4cc | [
"MIT"
] | null | null | null | getting-started/slice.go | dev0x13/learning-go | f1c229352a3245c156ffa1934ca7551bdd3ad4cc | [
"MIT"
] | null | null | null | getting-started/slice.go | dev0x13/learning-go | f1c229352a3245c156ffa1934ca7551bdd3ad4cc | [
"MIT"
] | null | null | null | package main
import "fmt"
import "strconv"
import "sort"
func main() {
slice := make([]int, 0, 3)
var input string
for {
_, err := fmt.Scan(&input)
if err == nil {
if input == "X" {
break;
}
i, err := strconv.Atoi(input)
i... | 17.454545 | 41 | 0.392361 |
a1361a5bd9e05898b218e42183f8bbff15c75c49 | 615 | kt | Kotlin | advent_of_code/2018/solutions/day_1_b.kt | migafgarcia/programming-challenges | 82f5e482c0c3c03fd39e46aa70cab79391ed2dc5 | [
"MIT"
] | 6 | 2017-06-29T16:36:38.000Z | 2022-01-10T17:14:38.000Z | advent_of_code/2018/solutions/day_1_b.kt | migafgarcia/programming-challenges | 82f5e482c0c3c03fd39e46aa70cab79391ed2dc5 | [
"MIT"
] | null | null | null | advent_of_code/2018/solutions/day_1_b.kt | migafgarcia/programming-challenges | 82f5e482c0c3c03fd39e46aa70cab79391ed2dc5 | [
"MIT"
] | 2 | 2020-08-09T02:06:33.000Z | 2020-12-25T13:13:59.000Z | import java.io.File
fun main(args: Array<String>) {
var currentFrequency = 0
val history = HashSet<Int>()
val file = File(args[0])
var bf = file.bufferedReader()
var itr = bf.lines().iterator()
while(true) {
if(!itr.hasNext()) {
bf.close()
bf = file.bufferedR... | 18.088235 | 48 | 0.530081 |
1d166254cb95288c58a9fd78d5b896bb0ade0d92 | 942 | kt | Kotlin | bootstrap/src/test/kotlin/net/dontdrinkandroot/wicket/bootstrap/component/item/BookmarkablePageLinkItemTest.kt | dontdrinkandroot/wicket.java | 51fba9712321f0fdb5faa452fddc63aa9b360fe6 | [
"Apache-2.0"
] | 2 | 2016-07-13T23:30:05.000Z | 2018-04-21T21:06:16.000Z | bootstrap/src/test/kotlin/net/dontdrinkandroot/wicket/bootstrap/component/item/BookmarkablePageLinkItemTest.kt | dontdrinkandroot/wicket.java | 51fba9712321f0fdb5faa452fddc63aa9b360fe6 | [
"Apache-2.0"
] | 61 | 2016-04-11T23:52:28.000Z | 2021-02-19T11:25:18.000Z | bootstrap/src/test/kotlin/net/dontdrinkandroot/wicket/bootstrap/component/item/BookmarkablePageLinkItemTest.kt | dontdrinkandroot/wicket.java | 51fba9712321f0fdb5faa452fddc63aa9b360fe6 | [
"Apache-2.0"
] | null | null | null | package net.dontdrinkandroot.wicket.bootstrap.component.item
import net.dontdrinkandroot.wicket.bootstrap.test.AbstractWicketTest
import net.dontdrinkandroot.wicket.bootstrap.test.TestHomePage
import org.apache.wicket.core.util.string.ComponentRenderer
import org.apache.wicket.model.Model
import org.junit.jupiter.api.... | 39.25 | 110 | 0.737792 |
36fe2d5a8fc428e02dc45146456223f64ab9ab38 | 806 | swift | Swift | Packages/Backend/Sources/Backend/Models/Squad.swift | qeude/MarvelousSquad | 7dd5aca9e0980d63ffd4ce35a57dce9fc77b1d03 | [
"MIT"
] | null | null | null | Packages/Backend/Sources/Backend/Models/Squad.swift | qeude/MarvelousSquad | 7dd5aca9e0980d63ffd4ce35a57dce9fc77b1d03 | [
"MIT"
] | null | null | null | Packages/Backend/Sources/Backend/Models/Squad.swift | qeude/MarvelousSquad | 7dd5aca9e0980d63ffd4ce35a57dce9fc77b1d03 | [
"MIT"
] | null | null | null | //
// File.swift
//
//
// Created by Quentin Eude on 11/08/2021.
//
import CoreData
import Foundation
public class Squad: NSManagedObject {}
public extension Squad {
static func getSquad(with persistentContainer: PersistentContainer) -> Squad {
let request: NSFetchRequest<Squad> = Squad.fetchRequest()
... | 26 | 85 | 0.630273 |
3efd1f6add71e3ed91f7ddd21c3c5a5a6f615968 | 472 | c | C | src/utils/mp_gpprof_server/libraries/gamespy/common/nitro/gsTimerNitro.c | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 38 | 2015-10-20T02:21:32.000Z | 2021-12-27T22:02:36.000Z | src/utils/mp_gpprof_server/libraries/gamespy/common/nitro/gsTimerNitro.c | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 21 | 2018-05-25T21:27:14.000Z | 2020-05-20T16:31:47.000Z | src/utils/mp_gpprof_server/libraries/gamespy/common/nitro/gsTimerNitro.c | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 33 | 2015-02-11T01:08:38.000Z | 2021-12-10T05:03:41.000Z | // NITRO
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include "../gsCommon.h"
// note that this doesn't return the standard time() value
// because the DS doesn't know what timezone it's in
time_t time(t... | 24.842105 | 79 | 0.45339 |
6a3068cac41d6f816f0a7c321550eb3377073436 | 365 | dart | Dart | lib/src/api/model/offersecret.dart | harsh-kr-jha/instiapp-flutter | b70a7218af3baabeb18f07d8a1f94b83b5715ce8 | [
"MIT"
] | 1 | 2021-06-02T12:36:58.000Z | 2021-06-02T12:36:58.000Z | lib/src/api/model/offersecret.dart | harsh-kr-jha/instiapp-flutter | b70a7218af3baabeb18f07d8a1f94b83b5715ce8 | [
"MIT"
] | null | null | null | lib/src/api/model/offersecret.dart | harsh-kr-jha/instiapp-flutter | b70a7218af3baabeb18f07d8a1f94b83b5715ce8 | [
"MIT"
] | 4 | 2021-07-30T06:45:28.000Z | 2022-01-07T16:16:44.000Z | import 'package:json_annotation/json_annotation.dart';
part 'offersecret.g.dart';
@JsonSerializable()
class Offersecret {
@JsonKey(name: "secret")
String? secret;
Offersecret({this.secret});
factory Offersecret.fromJson(Map<String, dynamic> json) =>
_$OffersecretFromJson(json);
Map<String, dynami... | 20.277778 | 61 | 0.720548 |
0bd4c6c5dd9108d045404ea7048c02900e929d37 | 2,856 | js | JavaScript | js/main.js | GopinathMaddula/praveenportfolio | dca00e05e989ebabc8a5e7e187522b5c4211544c | [
"MIT"
] | null | null | null | js/main.js | GopinathMaddula/praveenportfolio | dca00e05e989ebabc8a5e7e187522b5c4211544c | [
"MIT"
] | 2 | 2022-03-15T18:52:21.000Z | 2022-03-21T07:16:53.000Z | js/main.js | GopinathMaddula/praveenportfolio | dca00e05e989ebabc8a5e7e187522b5c4211544c | [
"MIT"
] | null | null | null | (function ($) {
'use strict';
jQuery(document).ready(function () {
/* START MENU-JS */
var $link = $(".smoothScroll");
$link.on('click', function (event) {
if (this.hash !== "") {
var hash = this.hash;
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function () {
win... | 20.112676 | 89 | 0.531863 |
a163a32bf0f15d8e26a029112dc82b39c233d5de | 109 | go | Go | ssaUtils/testdata/Functions/General/DataRaceNestedSameFunction/prog1.go | amit-davidson/Chronos | 3f68a515195facb796e9dd9b9394f312f1650c14 | [
"MIT"
] | 376 | 2020-10-14T21:34:34.000Z | 2022-03-26T10:07:43.000Z | ssaUtils/testdata/Functions/General/DataRaceNestedSameFunction/prog1.go | amit-davidson/Chronos | 3f68a515195facb796e9dd9b9394f312f1650c14 | [
"MIT"
] | 23 | 2020-10-16T09:36:11.000Z | 2021-08-23T19:13:12.000Z | ssaUtils/testdata/Functions/General/DataRaceNestedSameFunction/prog1.go | amit-davidson/Chronos | 3f68a515195facb796e9dd9b9394f312f1650c14 | [
"MIT"
] | 10 | 2020-10-17T18:09:51.000Z | 2021-12-07T09:25:58.000Z | package main
var count int
func race() {
count++
}
func f() {
race()
}
func main() {
go f()
go f()
}
| 6.411765 | 13 | 0.53211 |
21b990ceaaa826b59eeaf68924a0f433a611c4ae | 5,343 | swift | Swift | TipCalculator/TipCalculator/ViewController.swift | CindyXie/CodePath1Prework_TipCalculator | adb4d01f2fe704e39cfc50a0bc527b99559525a9 | [
"Apache-2.0"
] | null | null | null | TipCalculator/TipCalculator/ViewController.swift | CindyXie/CodePath1Prework_TipCalculator | adb4d01f2fe704e39cfc50a0bc527b99559525a9 | [
"Apache-2.0"
] | 1 | 2015-12-08T07:32:52.000Z | 2016-01-01T21:29:27.000Z | TipCalculator/TipCalculator/ViewController.swift | CindyXie/CodePath1Prework_TipCalculator | adb4d01f2fe704e39cfc50a0bc527b99559525a9 | [
"Apache-2.0"
] | null | null | null | //
// ViewController.swift
// TipCalculator
//
// Created by Xinxin Xie on 12/5/15.
// Copyright © 2015 Xinxin Xie. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var tipLabel: UILabel!
@IBOutlet weak var billField: UITextField!
@IBOutlet weak var totalLa... | 32.186747 | 121 | 0.606027 |
177052b33dbd3ba1fa6397f06a7fbd40a9dfc623 | 2,432 | html | HTML | _posts/2017-08-09-a-fresh-look-at-the-embeddable-tools-built-on-the-twitter-api.html | kinlane/api-evangelist | 60747b44c2f87e93e0d2008b578d4f351c1f4ffc | [
"CC-BY-3.0"
] | 44 | 2015-02-09T10:28:37.000Z | 2022-03-18T03:12:04.000Z | _posts/2017-08-09-a-fresh-look-at-the-embeddable-tools-built-on-the-twitter-api.html | kinlane/api-evangelist | 60747b44c2f87e93e0d2008b578d4f351c1f4ffc | [
"CC-BY-3.0"
] | 23 | 2015-01-02T18:58:25.000Z | 2019-06-14T00:10:02.000Z | _posts/2017-08-09-a-fresh-look-at-the-embeddable-tools-built-on-the-twitter-api.html | kinlane/api-evangelist | 60747b44c2f87e93e0d2008b578d4f351c1f4ffc | [
"CC-BY-3.0"
] | 30 | 2015-03-05T16:40:36.000Z | 2020-10-01T18:08:49.000Z | ---
published: true
layout: post
title: 'A Fresh Look At The Embeddable Tools Built On The Twitter API'
image: https://s3.amazonaws.com/kinlane-productions2/twitter/twitter-websites-embeddable.png
---
<p><img src="https://s3.amazonaws.com/kinlane-productions2/twitter/twitter-websites-embeddable.png" align="right" widt... | 97.28 | 538 | 0.784539 |
fe4862c1610a50e2ffc890721617cef5e258e934 | 6,683 | h | C | solve.h | chili-epfl/Carpenter-App-RoofDesigner | c50ace5e1d806f2a63cec0b6e459a6a9118f8307 | [
"MIT"
] | 1 | 2021-03-25T18:19:38.000Z | 2021-03-25T18:19:38.000Z | solve.h | chili-epfl/Carpenter-App-RoofDesigner | c50ace5e1d806f2a63cec0b6e459a6a9118f8307 | [
"MIT"
] | 3 | 2016-01-22T11:09:19.000Z | 2016-01-22T11:17:32.000Z | solve.h | chili-epfl/Carpenter-App-RoofDesigner | c50ace5e1d806f2a63cec0b6e459a6a9118f8307 | [
"MIT"
] | 5 | 2016-09-26T15:34:28.000Z | 2018-11-08T06:29:46.000Z | /*
* solve.h
*
* Created on: May 4, 2009
* Author: Jonathan
* Copyright (c) 2009, Jonathan George
* This program is released under the BSD license. See the file COPYING for details.
*/
#include <iostream>
#ifndef WIN32
#define _hypot hypot
#endif
#define DEBUG
//This define selects between ... | 28.317797 | 103 | 0.644022 |
76ef55dc94cf73cc51ab603b409c50b9e40bb0f6 | 1,240 | h | C | kernel-3.10/drivers/misc/mediatek/xhci_test/mtk-test.h | zhengdejin/SC1_Code | dccccf55f2875fb64ec621f4356c625cd48bef7e | [
"Apache-2.0"
] | null | null | null | kernel-3.10/drivers/misc/mediatek/xhci_test/mtk-test.h | zhengdejin/SC1_Code | dccccf55f2875fb64ec621f4356c625cd48bef7e | [
"Apache-2.0"
] | null | null | null | kernel-3.10/drivers/misc/mediatek/xhci_test/mtk-test.h | zhengdejin/SC1_Code | dccccf55f2875fb64ec621f4356c625cd48bef7e | [
"Apache-2.0"
] | null | null | null |
#define XHCI_MTK_TEST_MAJOR 235
#define DEVICE_NAME "clih"
/* for auto test struct defs */
#define USBIF_OTG_EVENT_DEV_CONN_TMOUT "DEV_CONN_TMOUT"
#define USBIF_OTG_EVENT_NO_RESP_FOR_HNP_ENABLE "NO_RESP_FOR_HNP_ENABLE"
#define USBIF_OTG_EVENT_HUB_NOT_SUPPORTED "HUB_NOT_SUPPORTED"
#define USBIF_OTG_EVENT_DEV_NOT_SUPP... | 16.315789 | 71 | 0.73871 |
95bea48c7afc04c9a9d4056689228700ce717171 | 1,131 | html | HTML | layouts/partials/header.html | bonprosoft/hugo-theme-vbcpp | a3cee10d75fa597c48c975da582770022864812b | [
"MIT"
] | null | null | null | layouts/partials/header.html | bonprosoft/hugo-theme-vbcpp | a3cee10d75fa597c48c975da582770022864812b | [
"MIT"
] | null | null | null | layouts/partials/header.html | bonprosoft/hugo-theme-vbcpp | a3cee10d75fa597c48c975da582770022864812b | [
"MIT"
] | null | null | null | <header>
<nav class="navbar navbar-expand-md">
<div class="container">
{{ $baseURL := .Site.BaseURL }}
{{ with .Site.Params.avatar }}
<div class="navbar-logo">
<a class="navbar-brand" href="{{ $baseURL }}">
<img src="{{ . | relURL }}" a... | 40.392857 | 119 | 0.446508 |
260c098a0ecbd0136862487c13e1e7f749a47dcd | 1,306 | java | Java | src/main/java/jrds/probe/snmp/PartitionSpaceWindows.java | kkllwww007/Mycat-Web | fe23bdabbf0fe109d86a1ac5c7ae060d44313907 | [
"Apache-2.0"
] | null | null | null | src/main/java/jrds/probe/snmp/PartitionSpaceWindows.java | kkllwww007/Mycat-Web | fe23bdabbf0fe109d86a1ac5c7ae060d44313907 | [
"Apache-2.0"
] | null | null | null | src/main/java/jrds/probe/snmp/PartitionSpaceWindows.java | kkllwww007/Mycat-Web | fe23bdabbf0fe109d86a1ac5c7ae060d44313907 | [
"Apache-2.0"
] | null | null | null | /*##########################################################################
_##
_## $Id: NumProcesses.java 187 2006-01-18 19:08:14 +0100 (mer., 18 janv. 2006) fbacchella $
_##
_##########################################################################*/
package jrds.probe.snmp;
import org.apache.log4j.Level;
/... | 32.65 | 104 | 0.574273 |
107bf2c336fb3659b440061d87b53125ff6c8199 | 5,505 | swift | Swift | ios-app-bootstrap/components/UIGestureRecognizerViewController.swift | app-bootstrap/ios-app-bootstrap | 2b5443a39b7ae9f32bc3f59bafd8e7216b7a0a82 | [
"MIT"
] | 23 | 2018-03-30T03:51:18.000Z | 2022-03-01T02:58:18.000Z | ios-app-bootstrap/components/UIGestureRecognizerViewController.swift | xudafeng/ios-app-bootstrap | 64a77d4302696053c88518f2770f4a743d24b58b | [
"MIT"
] | 6 | 2015-09-04T08:44:44.000Z | 2017-10-27T09:52:33.000Z | ios-app-bootstrap/components/UIGestureRecognizerViewController.swift | xudafeng/ios-app-bootstrap | 64a77d4302696053c88518f2770f4a743d24b58b | [
"MIT"
] | 13 | 2016-03-24T07:15:41.000Z | 2018-03-17T21:54:51.000Z | //
// UIGestureRecognizerViewController.swift
// ios-app-bootstrap
//
// Created by xdf on 11/12/2016.
// Copyright © 2016 open source. All rights reserved.
//
import UIKit
import Logger_swift
class UIGestureRecognizerViewController: UIViewController {
let logger = Logger()
var rect:UIView!
var text:U... | 37.705479 | 100 | 0.633606 |
e5fdce57f1934dde582f304381757405642ef95e | 5,103 | swift | Swift | KarteTests/KarteCoreTests/IntegrationTests/Tracking/TrackCommonSpec.swift | orchid69/karte-ios-sdk | 42f33499f65c2b889b98946115eb1337925a2493 | [
"Apache-2.0"
] | 6 | 2020-05-12T02:37:19.000Z | 2022-01-18T08:10:03.000Z | KarteTests/KarteCoreTests/IntegrationTests/Tracking/TrackCommonSpec.swift | orchid69/karte-ios-sdk | 42f33499f65c2b889b98946115eb1337925a2493 | [
"Apache-2.0"
] | 13 | 2020-08-08T02:58:28.000Z | 2022-03-11T14:40:16.000Z | KarteTests/KarteCoreTests/IntegrationTests/Tracking/TrackCommonSpec.swift | orchid69/karte-ios-sdk | 42f33499f65c2b889b98946115eb1337925a2493 | [
"Apache-2.0"
] | 4 | 2020-07-02T04:03:22.000Z | 2022-03-09T01:18:40.000Z | //
// Copyright 2020 PLAID, 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 39.55814 | 138 | 0.499118 |
d10682882dcec868a5cb6b59be556cbd61e5b665 | 1,333 | swift | Swift | BitmovinAnalyticsCollector/Classes/BitmovinPlayer/Classes/util/BitmovinPlayerUtil.swift | djr/bitmovin-analytics-collector-ios | 2f4b2aca5979f60898c5fd43343d6ad080db8fc1 | [
"MIT"
] | 3 | 2019-10-03T05:24:44.000Z | 2021-10-05T15:58:04.000Z | BitmovinAnalyticsCollector/Classes/BitmovinPlayer/Classes/util/BitmovinPlayerUtil.swift | djr/bitmovin-analytics-collector-ios | 2f4b2aca5979f60898c5fd43343d6ad080db8fc1 | [
"MIT"
] | 13 | 2018-06-19T13:56:59.000Z | 2022-01-20T14:33:50.000Z | BitmovinAnalyticsCollector/Classes/BitmovinPlayer/Classes/util/BitmovinPlayerUtil.swift | djr/bitmovin-analytics-collector-ios | 2f4b2aca5979f60898c5fd43343d6ad080db8fc1 | [
"MIT"
] | 13 | 2019-06-21T13:04:37.000Z | 2021-10-05T14:20:23.000Z | import Foundation
import BitmovinPlayer
public class BitmovinPlayerUtil {
static func playerVersion() -> String? {
return Bundle(for: Player.self).object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
}
static func getAdPositionFromString(string: String?)-> AdPosition? {
... | 26.137255 | 109 | 0.513128 |
f4df1eaf85a1114d35acee74b3fd950d4fe1be55 | 5,629 | go | Go | runtime/storage.go | bradleyjkemp/simple-fuzz | ddf11ae33dedfcd1d68f1e698633d895ab9ac26d | [
"Apache-2.0"
] | 11 | 2019-11-24T17:30:30.000Z | 2020-02-16T21:59:43.000Z | runtime/storage.go | bradleyjkemp/simple-fuzz | ddf11ae33dedfcd1d68f1e698633d895ab9ac26d | [
"Apache-2.0"
] | null | null | null | runtime/storage.go | bradleyjkemp/simple-fuzz | ddf11ae33dedfcd1d68f1e698633d895ab9ac26d | [
"Apache-2.0"
] | null | null | null | package main
import (
"bytes"
"crypto/sha1"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"regexp"
"sort"
"strconv"
"strings"
"text/template"
"time"
)
type Sig [sha1.Size]byte
func hash(data []byte) Sig {
return Sig(sha1.Sum(data))
}
type corpusItem struct {
data []byte
cover ... | 24.473913 | 92 | 0.691775 |
d07e64fe7fb642d5d0cd93ae8085cc096d864359 | 2,812 | css | CSS | css/styles.css | rachelegibbons/vacation-match | b58c026622420dbcdf68caa732c1f0363799999d | [
"MIT"
] | null | null | null | css/styles.css | rachelegibbons/vacation-match | b58c026622420dbcdf68caa732c1f0363799999d | [
"MIT"
] | null | null | null | css/styles.css | rachelegibbons/vacation-match | b58c026622420dbcdf68caa732c1f0363799999d | [
"MIT"
] | null | null | null | .container {
width: 100%;
}
#hawaii, #philadelphia, #mtBachelor, #noMatch {
display: none;
}
body {
font-family: 'Work Sans', sans-serif;
color: black;
text-align: center;
}
.icon {
width: 40px !important;
height: 40px !important;
}
/* Header Styling */
#header {
color: white;
margin: auto;
padd... | 14.645833 | 47 | 0.635135 |
1d5c31a3f42ac929531965e9a6e1d745d549405d | 906 | swift | Swift | Tests/CodableDataTests/Name.swift | SleekDiamond41/CodablePackage | 11f140af7bb77a11448fbcef641ef0edd150d487 | [
"MIT"
] | 1 | 2021-03-05T01:17:05.000Z | 2021-03-05T01:17:05.000Z | Tests/CodableDataTests/Name.swift | SleekDiamond41/CodablePackage | 11f140af7bb77a11448fbcef641ef0edd150d487 | [
"MIT"
] | null | null | null | Tests/CodableDataTests/Name.swift | SleekDiamond41/CodablePackage | 11f140af7bb77a11448fbcef641ef0edd150d487 | [
"MIT"
] | null | null | null | //
// Name.swift
//
//
// Created by Michael Arrington on 1/31/20.
//
import Foundation
import CodableData
struct Name: UUIDModel, Codable, Filterable, Equatable {
let id: UUID
var first: String
var last: String
var age: Int = 0
static var idKey = \Name.id
enum CodingKeys: String, CodingK... | 19.276596 | 67 | 0.592715 |
092299c4b8a8ae5c0bc32a00e726ae2a896a668a | 423 | dart | Dart | lib/components/test_details_page.dart | XguangY/flutter_ov_template | 0ff16b7efc3f74665d4a0b430533a3ebb427ce71 | [
"MIT"
] | null | null | null | lib/components/test_details_page.dart | XguangY/flutter_ov_template | 0ff16b7efc3f74665d4a0b430533a3ebb427ce71 | [
"MIT"
] | null | null | null | lib/components/test_details_page.dart | XguangY/flutter_ov_template | 0ff16b7efc3f74665d4a0b430533a3ebb427ce71 | [
"MIT"
] | null | null | null | /*
* @Author: XguangY
* @Date: 2020-08-18 17:41:25
* @LastEditors: XguangY
* @LastEditTime: 2020-08-18 17:42:16
* @Description: 用于测试路由fluro插件的页面
* @version: 0.01
*/
import 'package:flutter/material.dart';
class DetailsPage extends StatelessWidget {
final String goodsId;
DetailsPage(this.goodsId);
@overri... | 21.15 | 54 | 0.699764 |
90bbf96a5d1ff0556bd9e10a043c803bd444c9d7 | 1,940 | py | Python | test/exploration/broadcast_ibeacon.py | gotoiot/service-beacons-broadcaster | e0e409f948a5f18f7f4eb5d1dfdf95182fb9aa14 | [
"MIT"
] | 1 | 2021-11-26T20:33:17.000Z | 2021-11-26T20:33:17.000Z | test/exploration/broadcast_ibeacon.py | gotoiot/service-beacons-broadcaster | e0e409f948a5f18f7f4eb5d1dfdf95182fb9aa14 | [
"MIT"
] | null | null | null | test/exploration/broadcast_ibeacon.py | gotoiot/service-beacons-broadcaster | e0e409f948a5f18f7f4eb5d1dfdf95182fb9aa14 | [
"MIT"
] | 4 | 2021-07-09T20:39:02.000Z | 2022-02-06T17:37:44.000Z | import os
import subprocess
import sys
import re
import getopt
import uuid
device = "hci0"
uuid = "E20A39F473F54BC4A12F17D1AD07A961"
major = 0
minor = 0
power = 200
def hexsplit(string):
""" Split a hex string into 8-bit/2-hex-character groupings separated by spaces"""
return ' '.join([string[i:i+2] for i in ... | 28.529412 | 164 | 0.709278 |
54bfc4062eb22c9030442aef97737fa8c61f40e3 | 7,453 | swift | Swift | ui/WindfishIDE/Project/ViewController/OutlineViewController.swift | jverkoey/awaken | 743755248996deb7181ae92f6e60be5656439c44 | [
"Apache-2.0"
] | 68 | 2020-12-16T10:06:48.000Z | 2022-03-29T19:54:01.000Z | ui/WindfishIDE/Project/ViewController/OutlineViewController.swift | jverkoey/awaken | 743755248996deb7181ae92f6e60be5656439c44 | [
"Apache-2.0"
] | 62 | 2020-12-19T04:28:41.000Z | 2021-02-15T22:18:16.000Z | ui/WindfishIDE/Project/ViewController/OutlineViewController.swift | jverkoey/awaken | 743755248996deb7181ae92f6e60be5656439c44 | [
"Apache-2.0"
] | 4 | 2021-01-17T03:51:22.000Z | 2021-01-21T16:26:53.000Z | import AppKit
import Foundation
import Cocoa
import Combine
class ProjectOutlineNode: NSObject {
enum NodeType: Int, Codable {
case container
case document
case unknown
}
var type: NodeType = .unknown
var title: String = ""
var identifier: String = ""
var url: URL?
@objc dynamic var children... | 31.580508 | 117 | 0.706159 |
85be268bd34154aa478b51ee12fbb079689d37f7 | 268 | h | C | edu_examples/AlarmaBuzzer/inc/Buzzer.h | envido32/edu-CIAA-TPs | 1310ed6a10845230086676bb42e811cf12074668 | [
"BSD-3-Clause"
] | null | null | null | edu_examples/AlarmaBuzzer/inc/Buzzer.h | envido32/edu-CIAA-TPs | 1310ed6a10845230086676bb42e811cf12074668 | [
"BSD-3-Clause"
] | null | null | null | edu_examples/AlarmaBuzzer/inc/Buzzer.h | envido32/edu-CIAA-TPs | 1310ed6a10845230086676bb42e811cf12074668 | [
"BSD-3-Clause"
] | null | null | null | /*
* Buzzer.h
*
* Created on: 18 de abr. de 2016
* Author: Leo
*/
#include "stdint.h"
#include "puertos.h"
#include "chip.h"
#define ALARMA 12
void alarma_init(void);
void alarma_on(void);
void alarma_off(void);
void delay(void);
void delay2(void);
| 12.181818 | 34 | 0.649254 |
801e32fdff8dda0a8cac2c70b677be652cf39843 | 325 | asm | Assembly | core/boot/limine_entry.asm | TheUltimateFoxOS/horizon | a68210d9c2afcfbb4c621cf199a24d5b65046c8f | [
"MIT"
] | 4 | 2022-01-06T09:19:46.000Z | 2022-03-27T18:08:36.000Z | core/boot/limine_entry.asm | TheUltimateFoxOS/horizon | a68210d9c2afcfbb4c621cf199a24d5b65046c8f | [
"MIT"
] | null | null | null | core/boot/limine_entry.asm | TheUltimateFoxOS/horizon | a68210d9c2afcfbb4c621cf199a24d5b65046c8f | [
"MIT"
] | 1 | 2022-03-22T19:10:05.000Z | 2022-03-22T19:10:05.000Z | [global _start_limine]
[extern limine_entry]
_start_limine:
push qword 0
push qword 0
mov rbp, rsp
call cpu_init
call limine_entry
cpu_init:
cli
push rbx
; enable coprocessor (fpu and sse)
mov rax, cr0
and ax, 0xFFFB
or ax, 0x2
mov cr0, rax
mov rax, cr4
or ax, 3 << 9
mov cr4, rax
fninit
pop rbx... | 11.206897 | 35 | 0.695385 |
61d8d4979907d3c1b96cd2f31d59b5a7b440eb3b | 1,187 | swift | Swift | ProgressKit/DeterminateVC.swift | EpicDraws/ProgressKit | 4a02dd081aa03a672e6f9f4988df43abbab89dd6 | [
"MIT"
] | 550 | 2015-10-15T20:32:44.000Z | 2021-12-16T17:10:19.000Z | ProgressKit/DeterminateVC.swift | EpicDraws/ProgressKit | 4a02dd081aa03a672e6f9f4988df43abbab89dd6 | [
"MIT"
] | 21 | 2015-10-26T07:08:01.000Z | 2020-08-08T12:06:00.000Z | ProgressKit/DeterminateVC.swift | EpicDraws/ProgressKit | 4a02dd081aa03a672e6f9f4988df43abbab89dd6 | [
"MIT"
] | 92 | 2015-10-11T14:31:33.000Z | 2022-02-09T05:53:05.000Z | //
// ViewController.swift
// ProgressKit
//
// Created by Kauntey Suryawanshi on 30/06/15.
// Copyright (c) 2015 Kauntey Suryawanshi. All rights reserved.
//
import Cocoa
class DeterminateViewController: NSViewController {
@objc dynamic var liveProgress: Bool = true
@objc dynamic var labelPercentage: St... | 26.377778 | 68 | 0.644482 |
1bed0fd900c26fe855cc95490e52dee62fcf50ba | 4,851 | py | Python | old/generate_aa_volume_data.py | iskandr/mhcpred | 71f082d94bbde9616ab31f0e70e7076240690163 | [
"Apache-2.0"
] | 1 | 2016-03-16T09:24:56.000Z | 2016-03-16T09:24:56.000Z | old/generate_aa_volume_data.py | iskandr/mhcpred | 71f082d94bbde9616ab31f0e70e7076240690163 | [
"Apache-2.0"
] | null | null | null | old/generate_aa_volume_data.py | iskandr/mhcpred | 71f082d94bbde9616ab31f0e70e7076240690163 | [
"Apache-2.0"
] | null | null | null | from collections import OrderedDict
import pandas as pd
import numpy as np
from os.path import exists
import subprocess
import pandas as pd
import logging
from epitopes.amino_acid import volume
from dataset_helpers import filter_dataframe, extract_columns
def generate_pairwise_index_data(
df_p... | 30.702532 | 79 | 0.613069 |
c0ae3c88ed143c1277b900f0b7fe9eaea6ac261c | 11,532 | swift | Swift | Sources/PodToBUILD/SwiftLibrary.swift | iftechio/PodToBUILD | c938fc6036e145439c07789376f42012c4e870e4 | [
"Apache-2.0"
] | null | null | null | Sources/PodToBUILD/SwiftLibrary.swift | iftechio/PodToBUILD | c938fc6036e145439c07789376f42012c4e870e4 | [
"Apache-2.0"
] | null | null | null | Sources/PodToBUILD/SwiftLibrary.swift | iftechio/PodToBUILD | c938fc6036e145439c07789376f42012c4e870e4 | [
"Apache-2.0"
] | null | null | null | //
// SwiftLibrary.swift
// PodToBUILD
//
// Created by Jerry Marino on 10/16/18.
// Copyright © 2018 Pinterest Inc. All rights reserved.
//
// Represent a swift_library in Bazel
// https://github.com/bazelbuild/rules_swift/blob/master/doc/rules.md#swift_library
// Note: Swift support is currently in progress
// T... | 38.828283 | 143 | 0.562435 |
f9a7304b4e2610eb3779daa9d56a2de2a5f76fd3 | 1,038 | go | Go | team_members.go | rjz/github-random-assignee | 7cfc134a87365971d8cbe9d8283f09dfe309d07a | [
"MIT"
] | null | null | null | team_members.go | rjz/github-random-assignee | 7cfc134a87365971d8cbe9d8283f09dfe309d07a | [
"MIT"
] | 4 | 2015-11-17T22:19:54.000Z | 2015-12-02T14:48:12.000Z | team_members.go | rjz/github-random-assignee | 7cfc134a87365971d8cbe9d8283f09dfe309d07a | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"math/rand"
"strings"
"time"
)
type TeamMember struct {
Github *string `json:"github,omitempty"`
Slack *string `json:"slack,omitempty"`
}
// SlackHandle returns the TeamMember's slack handle if available and falls
// back on github if it isn't.
func (tm *TeamMember) SlackHandle() s... | 19.222222 | 75 | 0.663776 |
1c06c31719d13280810ae480db4e1802aa544ac9 | 5,566 | swift | Swift | MakerMate/View Controllers/StepsProjectViewController.swift | jensvansteen/MakerMateApp-MAV | 1b034e8d79446672acb34078fcb4db3122fe7f43 | [
"MIT"
] | null | null | null | MakerMate/View Controllers/StepsProjectViewController.swift | jensvansteen/MakerMateApp-MAV | 1b034e8d79446672acb34078fcb4db3122fe7f43 | [
"MIT"
] | null | null | null | MakerMate/View Controllers/StepsProjectViewController.swift | jensvansteen/MakerMateApp-MAV | 1b034e8d79446672acb34078fcb4db3122fe7f43 | [
"MIT"
] | null | null | null | //
// StepsProjectViewController.swift
// MakerMate
//
// Created by Jens Van Steen on 31/01/2019.
// Copyright © 2019 Jens Van Steen. All rights reserved.
//
import UIKit
class StepsProjectViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout {... | 36.379085 | 160 | 0.621991 |
c7c99b11b86d3309a0a8d8fda156e014a58a4e8b | 1,808 | py | Python | models/__init__.py | mbroso/constraintnet_facial_detect | 3f53a4694f3c6b229679ef9014ac98573f45fd43 | [
"BSD-3-Clause"
] | null | null | null | models/__init__.py | mbroso/constraintnet_facial_detect | 3f53a4694f3c6b229679ef9014ac98573f45fd43 | [
"BSD-3-Clause"
] | null | null | null | models/__init__.py | mbroso/constraintnet_facial_detect | 3f53a4694f3c6b229679ef9014ac98573f45fd43 | [
"BSD-3-Clause"
] | null | null | null | """This module implements a model selection by filename and class name
according to opts.
Opts must contain attributes opts.model_module and opts.model_cls. The
specified class must be a subclass of nn.Module.
"""
import torch.nn as nn
import importlib
from pathlib import Path
from torch.utils.data import Dataset,... | 30.644068 | 79 | 0.651549 |
14d67e55db8c1252f2b564b68edcaa67e257905f | 4,716 | kt | Kotlin | src/main/kotlin/eu/scisneromam/game/snake/HamiltonianSnake.kt | awsdcrafting/SnakeFX | 080d201816f43404cb92b144074dda46ca6fd7a7 | [
"MIT"
] | null | null | null | src/main/kotlin/eu/scisneromam/game/snake/HamiltonianSnake.kt | awsdcrafting/SnakeFX | 080d201816f43404cb92b144074dda46ca6fd7a7 | [
"MIT"
] | null | null | null | src/main/kotlin/eu/scisneromam/game/snake/HamiltonianSnake.kt | awsdcrafting/SnakeFX | 080d201816f43404cb92b144074dda46ca6fd7a7 | [
"MIT"
] | null | null | null | package eu.scisneromam.game.snake
import eu.scisneromam.game.IGame
import eu.scisneromam.game.MoveDirection
import eu.scisneromam.game.Tile
import kotlin.math.abs
/**
* Project: SnakeFX
* Initially created by scisneromam on 01.12.2019.
* @author scisneromam
* ------------------------------------------------------... | 37.428571 | 161 | 0.523961 |
8d5cb66fc62d0f02c405aeac33d82e4030f263f8 | 1,739 | sql | SQL | src/Entity/CSharp_Poco_Fields_Generator.sql | theilgazcode/sql-cookbook | b45b74ce50e4739f0daed0009cc55ee70ba4e26d | [
"MIT"
] | 4 | 2020-05-31T16:39:02.000Z | 2021-03-12T11:11:45.000Z | src/Entity/CSharp_Poco_Fields_Generator.sql | theilgazcode/sql-cookbook | b45b74ce50e4739f0daed0009cc55ee70ba4e26d | [
"MIT"
] | null | null | null | src/Entity/CSharp_Poco_Fields_Generator.sql | theilgazcode/sql-cookbook | b45b74ce50e4739f0daed0009cc55ee70ba4e26d | [
"MIT"
] | null | null | null | -- Author: Abdullah ILGAZ, abdullah@entegreyazilim.com.tr
-- Output: Gives you a list of fields as prepared prop for C# poco class.
-- Sample: public int Id { get; set; }
select 'public ' + ColumnType + NullableSign + ' ' + ColumnName + ' { get; set; } ' as Prop from
( select replace(col.name, ' ', '_') ColumnName, ... | 115.933333 | 250 | 0.698102 |
214542cea3f32e92e3b08de721f498d8ea8e3b71 | 943 | sql | SQL | src/main/resources/db/migration/V1_5__Epost_tabell.sql | navikt/syfomoteadmin | d0d989fe4703c37f0cf37502ba0639ceeb4e2516 | [
"MIT"
] | 1 | 2022-02-17T07:37:12.000Z | 2022-02-17T07:37:12.000Z | src/main/resources/db/migration/V1_5__Epost_tabell.sql | navikt/syfomoteadmin | d0d989fe4703c37f0cf37502ba0639ceeb4e2516 | [
"MIT"
] | 3 | 2021-06-22T11:37:06.000Z | 2022-02-16T11:02:57.000Z | src/main/resources/db/migration/V1_5__Epost_tabell.sql | navikt/syfomoteadmin | d0d989fe4703c37f0cf37502ba0639ceeb4e2516 | [
"MIT"
] | null | null | null | -- ROLLBACK-START
------------------
-- DROP SEQUENCE EPOST_ID_SEQ;
-- DROP SEQUENCE EPOST_VEDLEGG_ID_SEQ;
-- DROP TABLE EPOST
-- DROP TABLE EPOST_VEDLEGG
---------------
-- ROLLBACK-END
CREATE SEQUENCE EPOST_ID_SEQ START WITH 1 INCREMENT BY 1;
CREATE SEQUENCE EPOST_VEDLEGG_ID_SEQ START WITH 1 INCREMENT BY 1;
CREATE... | 30.419355 | 73 | 0.659597 |
f9d39f30a340c7caa96b0fea76bfb963dd7e771f | 4,365 | go | Go | monitoring/pingcounterpartyd/pingcounterpartyd.go | vennd/enu | 485d38d07082bdf4d59b5f6214d1c97e95aa15d6 | [
"MIT"
] | 1 | 2017-04-30T12:29:09.000Z | 2017-04-30T12:29:09.000Z | monitoring/pingcounterpartyd/pingcounterpartyd.go | vennd/enu | 485d38d07082bdf4d59b5f6214d1c97e95aa15d6 | [
"MIT"
] | 7 | 2017-04-14T19:30:33.000Z | 2017-05-04T03:35:03.000Z | monitoring/pingcounterpartyd/pingcounterpartyd.go | vennd/enu | 485d38d07082bdf4d59b5f6214d1c97e95aa15d6 | [
"MIT"
] | null | null | null | package main
import (
"io/ioutil"
// "log"
"net/http"
"os"
"strconv"
"time"
"github.com/vennd/enu/consts"
"github.com/vennd/enu/counterpartyapi"
"github.com/vennd/enu/counterpartycrypto"
"github.com/vennd/enu/enulib"
"github.com/vennd/enu/log"
"github.com/vennd/enu/internal/golang.org/x/net/context"
)
v... | 30.3125 | 153 | 0.719359 |
e74b073604e70e99c1d734b070432c3ffc05c6e4 | 461 | js | JavaScript | resources/angular/tenant/app/entity/index/entityIndex.controller.js | rezariantono/solumax2_entities | 1fc47d092ab3bbd0db77a0e8ff93d4f3dad20370 | [
"MIT"
] | null | null | null | resources/angular/tenant/app/entity/index/entityIndex.controller.js | rezariantono/solumax2_entities | 1fc47d092ab3bbd0db77a0e8ff93d4f3dad20370 | [
"MIT"
] | null | null | null | resources/angular/tenant/app/entity/index/entityIndex.controller.js | rezariantono/solumax2_entities | 1fc47d092ab3bbd0db77a0e8ff93d4f3dad20370 | [
"MIT"
] | null | null | null | app
.controller('EntityIndexController', function(
$state,
EntityModel) {
var vm = this;
vm.filter = {
paginate: true,
page: 1,
order: 'desc',
};
vm.get = function() {
EntityModel.index(vm.filter)
.success(function(data) {
vm.entities = data.data;
vm.meta = data.meta;
});
... | 13.558824 | 74 | 0.596529 |
abea829757b8af655f04e8ffeb24a03e10d84455 | 2,016 | swift | Swift | SiriShortcut/IntegrateSiriShortcuts/IntegrateSiriShortcuts/ArticleFeedViewController.swift | DerekYuYi/Records | eafc1c233e5ff4e635a14deff0688412586f9497 | [
"Apache-2.0"
] | null | null | null | SiriShortcut/IntegrateSiriShortcuts/IntegrateSiriShortcuts/ArticleFeedViewController.swift | DerekYuYi/Records | eafc1c233e5ff4e635a14deff0688412586f9497 | [
"Apache-2.0"
] | null | null | null | SiriShortcut/IntegrateSiriShortcuts/IntegrateSiriShortcuts/ArticleFeedViewController.swift | DerekYuYi/Records | eafc1c233e5ff4e635a14deff0688412586f9497 | [
"Apache-2.0"
] | null | null | null | //
// ArticleFeedViewController.swift
// IntegrateSiriShortcuts
//
// Created by DerekYuYi on 2019/1/30.
// Copyright © 2019 Wenlemon. All rights reserved.
//
import UIKit
import Intents
import ArticleKit
import CoreSpotlight
import MobileCoreServices
// NOTE: Use `Layouts.swift` to manage life cycle and part of ... | 29.647059 | 104 | 0.661706 |
cbfb7406c534ac1b4ace5cc9122c03af808aa648 | 2,925 | sql | SQL | farrago/unitsql/optimizer/cartesian.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | farrago/unitsql/optimizer/cartesian.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | farrago/unitsql/optimizer/cartesian.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | -- $Id$
-- Test queries which require Cartesian products
set schema 'sales';
-- force usage of Java calculator
alter system set "calcVirtualMachine" = 'CALCVM_JAVA';
-- simple cross product
select emps.name as ename,depts.name as dname
from emps,depts
order by 1,2;
-- cross product requiring a Java plan restart fo... | 30.789474 | 78 | 0.736068 |
a453e47d39ce4ec701b45dd5836d8eca0e249e0f | 17,991 | sql | SQL | bd/sb_sicais.sql | david-byte/desenvolvimento | e49889e83b1020342ce519e5f2f5df1f2ef33f03 | [
"MIT"
] | null | null | null | bd/sb_sicais.sql | david-byte/desenvolvimento | e49889e83b1020342ce519e5f2f5df1f2ef33f03 | [
"MIT"
] | null | null | null | bd/sb_sicais.sql | david-byte/desenvolvimento | e49889e83b1020342ce519e5f2f5df1f2ef33f03 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Tempo de geração: 03-Dez-2020 às 04:57
-- Versão do servidor: 10.4.14-MariaDB
-- versão do PHP: 7.4.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_C... | 28.602544 | 415 | 0.680396 |
f42953edaebc1df262e492d22c0cd96c13b34195 | 373 | go | Go | problems/roman-to-integer/roman_to_integer_test.go | fossabot/leetcode-3 | d356fe466bd0cbe1fe2c830622d31bf242679ac9 | [
"MIT"
] | 1 | 2020-09-09T08:22:40.000Z | 2020-09-09T08:22:40.000Z | problems/roman-to-integer/roman_to_integer_test.go | tonymontaro/leetcode-hints | 678df921f9a1322454c1e52d3723a448b4bbb135 | [
"MIT"
] | null | null | null | problems/roman-to-integer/roman_to_integer_test.go | tonymontaro/leetcode-hints | 678df921f9a1322454c1e52d3723a448b4bbb135 | [
"MIT"
] | null | null | null | package roman_to_integer
import "testing"
func TestRomanToInt(t *testing.T) {
tests := map[string]int{
"III": 3,
"IV": 4,
"IX": 9,
"LVIII": 58,
"MCMXCIV": 1994,
}
for input, expected := range tests {
output := romanToInt(input)
if output != expected {
t.Fatalf("input: %v, output: ... | 17.761905 | 75 | 0.587131 |
6741821c1d53fba489c8e9dc910bd326d4326620 | 900 | kt | Kotlin | src/main/java/com/pl/customtoster/toasterModule.kt | Pl4Tech/customToaster | 6b016aa7094a3ab93bf85fdc0f543f873a7a05da | [
"Apache-2.0"
] | null | null | null | src/main/java/com/pl/customtoster/toasterModule.kt | Pl4Tech/customToaster | 6b016aa7094a3ab93bf85fdc0f543f873a7a05da | [
"Apache-2.0"
] | null | null | null | src/main/java/com/pl/customtoster/toasterModule.kt | Pl4Tech/customToaster | 6b016aa7094a3ab93bf85fdc0f543f873a7a05da | [
"Apache-2.0"
] | null | null | null | package com.pl.customtoster
import android.content.Context
import com.pl.customtoster.utilities.CustomToast
import com.pl.customtoster.utilities.CustomToastInteractor
import org.koin.dsl.module
val toasterModule = module {
/**
* providing custom toaster object to be injected later in the view
* @param ... | 34.615385 | 83 | 0.773333 |
b4321d3d04626ee213a44af94a3d8380f5960add | 1,685 | swift | Swift | AccessibilityTestApp/Transitions/PresentationAnimator.swift | eugeneheckert/AccessibilityTestApp | 8429846abc9fcf6b38c5a7d376ddc77526e3d619 | [
"Apache-2.0"
] | null | null | null | AccessibilityTestApp/Transitions/PresentationAnimator.swift | eugeneheckert/AccessibilityTestApp | 8429846abc9fcf6b38c5a7d376ddc77526e3d619 | [
"Apache-2.0"
] | null | null | null | AccessibilityTestApp/Transitions/PresentationAnimator.swift | eugeneheckert/AccessibilityTestApp | 8429846abc9fcf6b38c5a7d376ddc77526e3d619 | [
"Apache-2.0"
] | null | null | null | //
// PresentationAnimator.swift
// AccessibilityTestApp
//
// Created by Eugene Heckert on 2/28/19.
// Copyright © 2019 Bottle Rocket. All rights reserved.
//
import UIKit
class PresentationAnimator: NSObject, UIViewControllerAnimatedTransitioning {
func transitionDuration(using transitionContext: UIVie... | 42.125 | 130 | 0.709199 |
603e7119a2ad45aecf63ec3dfae2afc8f31f675c | 23,341 | html | HTML | employers.html | robincare/sampurcell.github.io | 43b6564a943038b7c107cad914c9cc85bed5d641 | [
"MIT"
] | null | null | null | employers.html | robincare/sampurcell.github.io | 43b6564a943038b7c107cad914c9cc85bed5d641 | [
"MIT"
] | null | null | null | employers.html | robincare/sampurcell.github.io | 43b6564a943038b7c107cad914c9cc85bed5d641 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<title>Robin Care</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Robin Care gives cancer patients and their loved ones the help they need.">
<link rel="s... | 50.962882 | 464 | 0.518872 |
1611aca37081b757040f9df81c98896495ea63fb | 3,027 | ts | TypeScript | src/cqrx.module.ts | unlight/nestjs-cqrx | db6c2d73a698545106a05498ae9ea4fa0bfc6fff | [
"MIT"
] | 1 | 2022-03-22T06:26:53.000Z | 2022-03-22T06:26:53.000Z | src/cqrx.module.ts | unlight/nestjs-cqrx | db6c2d73a698545106a05498ae9ea4fa0bfc6fff | [
"MIT"
] | 1 | 2022-02-25T21:37:34.000Z | 2022-02-25T21:39:13.000Z | src/cqrx.module.ts | unlight/nestjs-cqrx | db6c2d73a698545106a05498ae9ea4fa0bfc6fff | [
"MIT"
] | null | null | null | import { DynamicModule, Module, Provider, Type } from '@nestjs/common';
import { AggregateRepository, aggregateRepositoryToken } from './aggregate.repository';
import { AggregateRoot } from './aggregate-root';
import { EVENT_TRANSFORMERS } from './constants';
import {
CqrxCoreModule,
CqrxModuleAsyncOptions,
... | 34.011236 | 88 | 0.613479 |
c6b7bfe47a9bfe6f7d0f1de8319e7a3fec779f93 | 946 | sql | SQL | lab_02/query12.sql | Justarone/bmstu-db | 15fdd77c930d0059443f90d854f16b7b6aa9c499 | [
"MIT"
] | 3 | 2021-09-23T17:23:51.000Z | 2022-01-13T16:07:44.000Z | lab_02/query12.sql | Justarone/bmstu-db | 15fdd77c930d0059443f90d854f16b7b6aa9c499 | [
"MIT"
] | null | null | null | lab_02/query12.sql | Justarone/bmstu-db | 15fdd77c930d0059443f90d854f16b7b6aa9c499 | [
"MIT"
] | null | null | null | -- Инструкция SELECT, использующая вложенные коррелированные подзапросы в качетсве производных таблиц в предложении FROM
-- Все игроки, которые выходили на лед при участии определенной команды в определенный период времени
-- (изначально другой немного запрос планировался, но пусть будет этот)
SELECT DISTINCT firstNa... | 39.416667 | 120 | 0.718816 |
41cdc04a45e7e1729e03a24194747070a952e544 | 13,374 | c | C | src/cmd/linuxkit/vendor/github.com/moby/hyperkit/src/lib/firmware/multiboot.c | munkyboy/linuxkit | 4a9de16e03a14a9895876042938f3217b977deb3 | [
"Apache-2.0"
] | 3 | 2021-03-26T05:41:34.000Z | 2022-02-10T17:27:41.000Z | src/cmd/linuxkit/vendor/github.com/moby/hyperkit/src/lib/firmware/multiboot.c | munkyboy/linuxkit | 4a9de16e03a14a9895876042938f3217b977deb3 | [
"Apache-2.0"
] | 1 | 2020-07-16T08:40:05.000Z | 2020-07-16T08:40:50.000Z | src/cmd/linuxkit/vendor/github.com/moby/hyperkit/src/lib/firmware/multiboot.c | munkyboy/linuxkit | 4a9de16e03a14a9895876042938f3217b977deb3 | [
"Apache-2.0"
] | 1 | 2020-12-14T15:04:02.000Z | 2020-12-14T15:04:02.000Z | /*-
* Copyright (c) 2016 Thomas Haggett
* Copyright (c) 2017 Pavel Borzenkov
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above cop... | 27.920668 | 115 | 0.720203 |
39c951267de7306f7f077d92446afd8580e47e36 | 6,695 | js | JavaScript | js/components/sidebarRecruiter/index.js | baskoropn/kerjain | 34aa0ca9057456a896ae63630b5285ce23b497d9 | [
"Apache-2.0"
] | null | null | null | js/components/sidebarRecruiter/index.js | baskoropn/kerjain | 34aa0ca9057456a896ae63630b5285ce23b497d9 | [
"Apache-2.0"
] | 14 | 2017-10-23T02:57:51.000Z | 2017-11-20T09:50:48.000Z | js/components/sidebarRecruiter/index.js | baskoropn/kerjain | 34aa0ca9057456a896ae63630b5285ce23b497d9 | [
"Apache-2.0"
] | null | null | null | import React, { Component } from "react";
import { Image, StatusBar, Switch, Share, Alert} from "react-native";
import {
Content,
Text,
List,
ListItem,
Icon,
Container,
Left,
Right,
Badge,
Button,
View,
StyleProvider,
getTheme,
variables,
Thumbnail,
cover
} from "native-base";
import styles from "./st... | 30.431818 | 129 | 0.565646 |
804fc2dc57abbb9df9b6cf887141bff07fb6e87b | 334 | swift | Swift | Wikipedia/Code/UIApplication+SystemSettings.swift | slchristensen7/bpwiki | f2bc295958d6dd3b849569a0c06c02b214a1fcd8 | [
"MIT"
] | null | null | null | Wikipedia/Code/UIApplication+SystemSettings.swift | slchristensen7/bpwiki | f2bc295958d6dd3b849569a0c06c02b214a1fcd8 | [
"MIT"
] | null | null | null | Wikipedia/Code/UIApplication+SystemSettings.swift | slchristensen7/bpwiki | f2bc295958d6dd3b849569a0c06c02b214a1fcd8 | [
"MIT"
] | null | null | null | import Foundation
extension UIApplication {
func wmf_openAppSpecificSystemSettings() {
guard let bundleIdentifier = Bundle.main.bundleIdentifier, let settingsURL = URL(string: UIApplicationOpenSettingsURLString + bundleIdentifier) else {
return
}
self.openURL(settingsURL as... | 27.833333 | 158 | 0.703593 |
f7a5dc12565878e52c8354fc611c4cb3e10ae1e9 | 281 | asm | Assembly | data/mapHeaders/celadonprizeroom.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapHeaders/celadonprizeroom.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapHeaders/celadonprizeroom.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | CeladonPrizeRoom_h:
db LOBBY ; tileset
db CELADON_PRIZE_ROOM_HEIGHT, CELADON_PRIZE_ROOM_WIDTH ; dimensions (y, x)
dw CeladonPrizeRoomBlocks, CeladonPrizeRoomTextPointers, CeladonPrizeRoomScript ; blocks, texts, scripts
db $00 ; connections
dw CeladonPrizeRoomObject ; objects
| 40.142857 | 105 | 0.829181 |
407408e08206a36be310e021508804c664b8f2b9 | 51,885 | py | Python | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/python/tpu_driver/tpu_service_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | 1 | 2021-12-02T15:06:09.000Z | 2021-12-02T15:06:09.000Z | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/python/tpu_driver/tpu_service_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null | tensorflow_checkpoint_reader/pb/tensorflow/compiler/xla/python/tpu_driver/tpu_service_pb2.py | shawwn/tensorflow-checkpoint-reader | f0e65548411e3bd66a07e36bb1850907a05952d0 | [
"MIT"
] | null | null | null |
'Generated protocol buffer code.'
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
_sym_db = _symbol_database.Default()
from tensorflow.compiler.xla... | 305.205882 | 5,542 | 0.840705 |
2f7f72c88637ad36636f3a9fc987346a80a0a6f7 | 285 | swift | Swift | Unified/Interfaces/Threading/Executor.swift | melsomino/unified-ios | 6b322a99e69817e1c70b3e3bd62a8e942d18c977 | [
"MIT"
] | null | null | null | Unified/Interfaces/Threading/Executor.swift | melsomino/unified-ios | 6b322a99e69817e1c70b3e3bd62a8e942d18c977 | [
"MIT"
] | null | null | null | Unified/Interfaces/Threading/Executor.swift | melsomino/unified-ios | 6b322a99e69817e1c70b3e3bd62a8e942d18c977 | [
"MIT"
] | null | null | null | //
// Created by Власов М.Ю. on 16.05.16.
//
import Foundation
public class Test {
// static func test(threading: DefaultThreading) {
// let sequence = Sequence.inBackground(threading) {
// (execution, value: String) in
// print(value)
// }
// sequence.start("step 1")
// }
} | 17.8125 | 53 | 0.649123 |
2598e4a33f1f3260c48308e9d944b9c2af96f01f | 5,573 | dart | Dart | lib/src/features/quran/bloc/quran_theme/quran_theme_bloc.dart | muhammadtalhasultan/sirat_e_mustaqeem | d1df80e53dcc4e4e4e1aebd5797ae4085d55b53b | [
"MIT"
] | 96 | 2021-09-22T04:37:13.000Z | 2022-03-29T02:57:54.000Z | lib/src/features/quran/bloc/quran_theme/quran_theme_bloc.dart | muhammadtalhasultan/sirat_e_mustaqeem | d1df80e53dcc4e4e4e1aebd5797ae4085d55b53b | [
"MIT"
] | 1 | 2021-09-25T07:41:30.000Z | 2021-11-26T13:15:41.000Z | lib/src/features/quran/bloc/quran_theme/quran_theme_bloc.dart | muhammadtalhasultan/sirat_e_mustaqeem | d1df80e53dcc4e4e4e1aebd5797ae4085d55b53b | [
"MIT"
] | 31 | 2021-09-22T09:16:20.000Z | 2022-03-28T12:13:12.000Z | import 'dart:async';
import 'package:equatable/equatable.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
part 'quran_theme_event.dart';
part 'quran_theme_state.dart';
class QuranThemeBloc extends HydratedBloc<QuranThemeEvent, QuranThemeState> {
QuranThemeBloc()
: super(
QuranThemeState(
... | 34.401235 | 77 | 0.679167 |
60d19cc4833b1b866dda570a5a9c887d87d44ea3 | 295 | sql | SQL | classes/2013.09.20/etim.sql | alessandrojean/TBD-2013 | e916f1aa37a9994062daa15c5c258dd211e7dc72 | [
"Apache-2.0"
] | null | null | null | classes/2013.09.20/etim.sql | alessandrojean/TBD-2013 | e916f1aa37a9994062daa15c5c258dd211e7dc72 | [
"Apache-2.0"
] | null | null | null | classes/2013.09.20/etim.sql | alessandrojean/TBD-2013 | e916f1aa37a9994062daa15c5c258dd211e7dc72 | [
"Apache-2.0"
] | null | null | null | use master /*Para acessar a base de dados "master"*/
create database etim /*Cria uma nova base de dados*/
go /*Para executar*/
use etim /*Para acessar a base de dados "etim"*/
create table aluno( /*Cria uma nova tabela*/
nome varchar(50),
rm int,
idade int,
data_nascimento date
)
| 22.692308 | 53 | 0.691525 |
134e927643d62bf2383794fac00dec5ed417021b | 41,592 | c | C | libsrc/etree.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | null | null | null | libsrc/etree.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | 2 | 2022-01-06T04:47:45.000Z | 2022-01-06T16:07:24.000Z | libsrc/etree.c | baagaard-usgs/euclid-etree | 85c3f2fa6cd6a410496183abd03ff17d7dc996b8 | [
"BSD-3-Clause"
] | null | null | null | /**
* etree.c - A library for manipulating large octrees on disk
*
* Copyright (c) 2003, Tiankai Tu and David R. O'Hallaron.
* All rights reserved. May not be used, modified, or copied
* without permission.
*
* Contact:
* Tiankai Tu
* Computer Science Department
* Carnegie Mellon University
* 5000 Forbes... | 23.848624 | 162 | 0.5716 |
9958249dd2f700d0a936ff379788d8e32b6bb2bd | 536 | h | C | Communication.h | Complete-Foods-are-Good-2nd/LittleBrotherRPi | e3ac7b1a8a10a6ce80742ba981f31ae569e8e575 | [
"MIT"
] | null | null | null | Communication.h | Complete-Foods-are-Good-2nd/LittleBrotherRPi | e3ac7b1a8a10a6ce80742ba981f31ae569e8e575 | [
"MIT"
] | 2 | 2021-02-03T10:38:09.000Z | 2021-02-09T12:46:37.000Z | Communication.h | Complete-Foods-are-Good-2nd/LittleBrotherRPi | e3ac7b1a8a10a6ce80742ba981f31ae569e8e575 | [
"MIT"
] | null | null | null | #include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <set>
#include <string>
#include <vector>
class Communication {
private:
std::set<std::string> get_serial_device_names();
std::pair<std::string, std::string> generate_loopback_seri... | 21.44 | 75 | 0.701493 |
c0b253afcb72dd52102d97668d78850eac09b8d1 | 2,098 | swift | Swift | ios/CallOfBeacons/CallOfBeacons/COBGridView.swift | sjchmiela/call-of-beacons | 8dca3f1fbb58f9cbcefb473ae013a4b5dc01182e | [
"MIT"
] | null | null | null | ios/CallOfBeacons/CallOfBeacons/COBGridView.swift | sjchmiela/call-of-beacons | 8dca3f1fbb58f9cbcefb473ae013a4b5dc01182e | [
"MIT"
] | null | null | null | ios/CallOfBeacons/CallOfBeacons/COBGridView.swift | sjchmiela/call-of-beacons | 8dca3f1fbb58f9cbcefb473ae013a4b5dc01182e | [
"MIT"
] | null | null | null | //
// COBGridView.swift
// CallOfBeacons
//
// Created by Stanisław Chmiela on 04.06.2016.
// Copyright © 2016 Stanisław Chmiela, Rafał Żelazko. All rights reserved.
//
import UIKit
import QuartzCore
@IBDesignable
class COBGridView: UIView {
// Only override drawRect: if you perform custom drawing.
... | 36.807018 | 109 | 0.558627 |
e83d4934fe456eca14723df0f4640d7c4b698eaf | 2,897 | sql | SQL | schema/generate/43-schema_update_45.sql | SteveKola/augur | e50ca402f0c71c8404454df624e6ee9461805982 | [
"MIT"
] | null | null | null | schema/generate/43-schema_update_45.sql | SteveKola/augur | e50ca402f0c71c8404454df624e6ee9461805982 | [
"MIT"
] | null | null | null | schema/generate/43-schema_update_45.sql | SteveKola/augur | e50ca402f0c71c8404454df624e6ee9461805982 | [
"MIT"
] | null | null | null |
CREATE SEQUENCE IF NOT EXISTS "augur_operations"."worker_oauth_oauth_id_seq"
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 620000
CACHE 1;
COMMENT ON TABLE "augur_operations"."augur_settings" IS 'Augur settings include the schema version, and the Augur API Key as of 10/25/2020. Future augur settings may... | 45.984127 | 245 | 0.793925 |
2fa0ab90f1b67b8d2ae1c2d0a2f2ee2354044e3e | 134 | kt | Kotlin | simulator/src/main/kotlin/components/simulator/time.kt | jGleitz/transformationnetwork-simulator | d5d0bd7722abe3260bc204f128337c25c0fb340e | [
"MIT"
] | null | null | null | simulator/src/main/kotlin/components/simulator/time.kt | jGleitz/transformationnetwork-simulator | d5d0bd7722abe3260bc204f128337c25c0fb340e | [
"MIT"
] | 5 | 2020-04-18T01:26:22.000Z | 2021-08-30T09:23:58.000Z | simulator/src/main/kotlin/components/simulator/time.kt | jGleitz/transformationnetwork-simulator | d5d0bd7722abe3260bc204f128337c25c0fb340e | [
"MIT"
] | null | null | null | package de.joshuagleitze.transformationnetwork.simulator.components.simulator
import react.createContext
val time = createContext(0) | 26.8 | 77 | 0.865672 |
aa8d0ca0e4eaaacc2845b2ddc1921cceb95cae67 | 980 | asm | Assembly | programs/oeis/018/A018210.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/018/A018210.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/018/A018210.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A018210: Alkane (or paraffin) numbers l(9,n).
; 1,4,16,44,110,236,472,868,1519,2520,4032,6216,9324,13608,19440,27192,37389,50556,67408,88660,115258,148148,188552,237692,297115,368368,453376,554064,672792,811920,974304,1162800,1380825,1631796
mov $18,$0
mov $20,$0
add $20,1
lpb $20
clr $0,18
mov $0,$18
sub $20,... | 17.818182 | 195 | 0.482653 |
2f0ad63fc6baee023530cda48a37050e7d884155 | 13,760 | sql | SQL | sql/shopping_cart (1).sql | adarshm07/eshop | d2ac651314dfa6e9cc2b0124358735a0450e0e63 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | sql/shopping_cart (1).sql | adarshm07/eshop | d2ac651314dfa6e9cc2b0124358735a0450e0e63 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | sql/shopping_cart (1).sql | adarshm07/eshop | d2ac651314dfa6e9cc2b0124358735a0450e0e63 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 3.5.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Nov 22, 2018 at 12:31 PM
-- Server version: 5.5.24-log
-- PHP Version: 5.4.3
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;... | 42.600619 | 160 | 0.572747 |
40f82998cd6193a7a582fb1d43b57ee8b161f1c9 | 14,256 | py | Python | masterclass.py | anshu1905/ECE3501-Project | e40581cc34f615faadcf3a160fe6901a5f26c1a9 | [
"MIT"
] | 1 | 2021-12-17T13:04:53.000Z | 2021-12-17T13:04:53.000Z | masterclass.py | anshu1905/ECE3501-Project | e40581cc34f615faadcf3a160fe6901a5f26c1a9 | [
"MIT"
] | null | null | null | masterclass.py | anshu1905/ECE3501-Project | e40581cc34f615faadcf3a160fe6901a5f26c1a9 | [
"MIT"
] | null | null | null |
try: # import the important library
from urllib import request
from urllib.request import urlopen
import threading # import threadding
import json # import json
import random # import random
impo... | 29.213115 | 141 | 0.564043 |
a314181e359c36b9d614668ab2b3d496149de37e | 2,612 | swift | Swift | 03_mvc/demo/MatchingCardGame/MatchingCardGame/controller/MatchingCardViewController.swift | alexdobry/FSIOS_WS18-29 | a3ac7000019de9bec56ae3413899ba32245675db | [
"MIT"
] | 1 | 2018-10-15T15:51:06.000Z | 2018-10-15T15:51:06.000Z | 03_mvc/demo/MatchingCardGame/MatchingCardGame/controller/MatchingCardViewController.swift | alexdobry/FSIOS_WS18-29 | a3ac7000019de9bec56ae3413899ba32245675db | [
"MIT"
] | null | null | null | 03_mvc/demo/MatchingCardGame/MatchingCardGame/controller/MatchingCardViewController.swift | alexdobry/FSIOS_WS18-29 | a3ac7000019de9bec56ae3413899ba32245675db | [
"MIT"
] | 1 | 2018-10-15T17:37:00.000Z | 2018-10-15T17:37:00.000Z | //
// MatchingCardViewController.swift
// MatchingCardGame
//
// Created by Student on 16.10.18.
// Copyright © 2018 Alexander Dobrynin. All rights reserved.
//
import UIKit
class MatchingCardViewController: UIViewController {
// View
@IBOutlet var cardViews: [CardView]!
@IBOutlet weak var scoreL... | 26.653061 | 92 | 0.547856 |
61a49fb1974dd7d2044f76cfa340889e1d1942c2 | 1,736 | sql | SQL | sql/cheat_types.sql | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 6 | 2021-06-01T04:17:10.000Z | 2021-06-01T04:32:21.000Z | sql/cheat_types.sql | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | sql/cheat_types.sql | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | -- phpMyAdmin SQL Dump
-- version 4.3.10
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 31, 2019 at 12:33 PM
-- Server version: 10.3.12-MariaDB
-- PHP Version: 5.6.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CL... | 29.423729 | 255 | 0.701613 |
1b94630c0b31e189540c711294105fa13ff629cd | 195 | swift | Swift | MeliApp/SearchModule/Presentation/ViewModel/SearchViewModel.swift | yxzandra/MeliApp | 6e232bad200689ac259a46da49f65aa811f7b301 | [
"Apache-2.0"
] | null | null | null | MeliApp/SearchModule/Presentation/ViewModel/SearchViewModel.swift | yxzandra/MeliApp | 6e232bad200689ac259a46da49f65aa811f7b301 | [
"Apache-2.0"
] | null | null | null | MeliApp/SearchModule/Presentation/ViewModel/SearchViewModel.swift | yxzandra/MeliApp | 6e232bad200689ac259a46da49f65aa811f7b301 | [
"Apache-2.0"
] | null | null | null | struct SearchViewModel {
let id: String
let title: String
let idSite: String
let price: String
let mercadoPago: String
let thumbnail: String
let address: String
}
| 19.5 | 27 | 0.661538 |