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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be378eea5163bc414d71195ef66bb4e79b336476 | 2,243 | rs | Rust | writing_automated_tests/src/how_to_write_tests.rs | learn-frame/learn-rust | 22c471ccbfc4a3555af0838b5b45b5d82ab0e616 | [
"MIT"
] | null | null | null | writing_automated_tests/src/how_to_write_tests.rs | learn-frame/learn-rust | 22c471ccbfc4a3555af0838b5b45b5d82ab0e616 | [
"MIT"
] | null | null | null | writing_automated_tests/src/how_to_write_tests.rs | learn-frame/learn-rust | 22c471ccbfc4a3555af0838b5b45b5d82ab0e616 | [
"MIT"
] | null | null | null | /// 1. 设置任何所需的数据或状态
/// 2. 运行需要测试的代码
/// 3. 断言其结果是我们所期望的
///
/// 复习: 属性(attribute) 是关于 Rust 代码片段的元数据, 常见的如
/// #[derive], #[test], #[allow]
///
#[derive(Debug)]
struct Rectangle {
width: u32,
height: u32,
}
impl Rectangle {
#[allow(unused)]
fn can_hold(&self, other: &Rectangle) -> bool {
self.... | 19.675439 | 96 | 0.523852 |
20f6525358bc00d4fd0b1f84cbbacce982cb9df3 | 1,097 | css | CSS | frontend/src/styles/custom.css | theaidem/githubble | cd400340c735c8f4ef0006c90a92ce41afdf4b79 | [
"MIT"
] | 31 | 2016-04-01T13:41:03.000Z | 2021-09-29T02:22:24.000Z | frontend/src/styles/custom.css | theaidem/githubble | cd400340c735c8f4ef0006c90a92ce41afdf4b79 | [
"MIT"
] | 6 | 2016-09-24T09:11:39.000Z | 2022-02-26T17:17:15.000Z | frontend/src/styles/custom.css | theaidem/githubble | cd400340c735c8f4ef0006c90a92ce41afdf4b79 | [
"MIT"
] | 2 | 2016-04-02T09:51:37.000Z | 2016-04-02T17:31:00.000Z | /* Contains your custom styles */
#app {
height: 100%;
}
#app .ui.menu .container {
display: block;
}
#app .ui.menu .column {
padding-left: 0;
padding-right: 0;
}
#app .ui.menu .column .item:before {
width: 0px;
}
#app .ui.menu .column .item .ui.grid{
width: 100%;
margin-left: 0;
margin-right: 0;
}
#app... | 13.7125 | 41 | 0.644485 |
b8745455df8b38965a8279236be184f2ea7df5f0 | 396 | rs | Rust | crates/metron_macro/src/geninmod.rs | bbinber/metron | 0de07740f3b7564dd2c354dd629f0241a094f674 | [
"MIT"
] | null | null | null | crates/metron_macro/src/geninmod.rs | bbinber/metron | 0de07740f3b7564dd2c354dd629f0241a094f674 | [
"MIT"
] | null | null | null | crates/metron_macro/src/geninmod.rs | bbinber/metron | 0de07740f3b7564dd2c354dd629f0241a094f674 | [
"MIT"
] | null | null | null | use proc_macro::TokenStream;
use proc_macro2::Span;
use quote::quote;
use syn::parse::{Parse, ParseStream, Result};
use syn::punctuated::Punctuated;
use syn::{parse_macro_input, Ident, ItemStruct, LitInt, LitStr};
pub fn geninmod(item: TokenStream) -> TokenStream {
// let attr = dbg!(attr);
let item = dbg!(ite... | 26.4 | 64 | 0.664141 |
1f68cd36ed5ee94835efdc9f6bf6ab97de8f46b9 | 2,896 | css | CSS | JS Applications/XS/style.css | GeorgiGarnenkov/JavaScriptCore | f1ec73a7cc45d7fbca0c9df417b240ce68ed6900 | [
"MIT"
] | null | null | null | JS Applications/XS/style.css | GeorgiGarnenkov/JavaScriptCore | f1ec73a7cc45d7fbca0c9df417b240ce68ed6900 | [
"MIT"
] | null | null | null | JS Applications/XS/style.css | GeorgiGarnenkov/JavaScriptCore | f1ec73a7cc45d7fbca0c9df417b240ce68ed6900 | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Open+Sans);
div.jumbotron, html{
font-family: 'Open Sans', serif;
background-image: url(./background.jpg);
background-size: cover;
}
main{
text-align: center;
}
header {
margin-top: 15px;
text-align: center;
}
button.btn.btn-light{
... | 15.404255 | 63 | 0.606008 |
7153b5624b085aa1e0fc2c88e34eea47ceafa586 | 1,570 | ts | TypeScript | src/app/auth/training/past-training/past-training.component.ts | harshyadav9/maxAangularMaterial | c4c89dfbcbcb26d541654b2201de717abaa89182 | [
"MIT"
] | null | null | null | src/app/auth/training/past-training/past-training.component.ts | harshyadav9/maxAangularMaterial | c4c89dfbcbcb26d541654b2201de717abaa89182 | [
"MIT"
] | null | null | null | src/app/auth/training/past-training/past-training.component.ts | harshyadav9/maxAangularMaterial | c4c89dfbcbcb26d541654b2201de717abaa89182 | [
"MIT"
] | null | null | null | import { Component, OnInit , ViewChild, AfterViewInit, OnDestroy } from '@angular/core';
import { TrainingService } from '../training.service';
import { Excercise } from '../excercise.model';
import { MatTableDataSource , MatSort , PageEvent, MatPaginator} from '@angular/material';
import { Subscription } from 'rxjs';
... | 29.622642 | 90 | 0.711465 |
cf862275bd19fedffc2f7b122ec4c16ee4ed2df4 | 73 | css | CSS | styles/specific_job.css | almarionoah/endeavor | e2d4c22798412b6c9b86b775c7bca7bf8f38aec6 | [
"MIT"
] | null | null | null | styles/specific_job.css | almarionoah/endeavor | e2d4c22798412b6c9b86b775c7bca7bf8f38aec6 | [
"MIT"
] | 1 | 2019-06-12T19:24:39.000Z | 2019-06-12T19:24:39.000Z | styles/specific_job.css | almarionoah/endeavor | e2d4c22798412b6c9b86b775c7bca7bf8f38aec6 | [
"MIT"
] | null | null | null | #company_logo{
width: 200px;
height: 200px;
margin-left: 40%;
} | 14.6 | 20 | 0.616438 |
1fc4e7bce79a8d74b682fa9194236e8a99e614eb | 187 | css | CSS | customestyle.css | engammar111/bootstarp | 116e0292b085a370cba6d584d5cee1d68cb23d78 | [
"MIT"
] | null | null | null | customestyle.css | engammar111/bootstarp | 116e0292b085a370cba6d584d5cee1d68cb23d78 | [
"MIT"
] | null | null | null | customestyle.css | engammar111/bootstarp | 116e0292b085a370cba6d584d5cee1d68cb23d78 | [
"MIT"
] | null | null | null | .btn-success {
color: orange;
background-color: red;
}
.btn-success:hover {
background-color: yellow;
color: black;
}
.bg-primary {
background-color: yellow;
color: black;
}
| 13.357143 | 27 | 0.668449 |
857621577f099fbe301996f513e60d4f3c9af9ad | 6,072 | js | JavaScript | uiclient/js/services.js | JanezSedeljsak/tcp-socket-demo | 9dbb43c091b181f1a4989a86232e33403b9c6467 | [
"CC0-1.0"
] | 1 | 2021-07-06T05:00:54.000Z | 2021-07-06T05:00:54.000Z | uiclient/js/services.js | JanezSedeljsak/tcp-socket-demo | 9dbb43c091b181f1a4989a86232e33403b9c6467 | [
"CC0-1.0"
] | null | null | null | uiclient/js/services.js | JanezSedeljsak/tcp-socket-demo | 9dbb43c091b181f1a4989a86232e33403b9c6467 | [
"CC0-1.0"
] | null | null | null | const pystruct = require('python-struct');
const { ipcRenderer } = require('electron');
app.service('$drag', function () {
this.for = function (elmnt) {
let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
if (document.getElementById(elmnt.id + "-header")) {
document.getElementById(elmnt.id + "-... | 36.8 | 129 | 0.54776 |
4a949726cddfa178f06c43458834316a3840ea22 | 3,655 | kt | Kotlin | app/src/main/java/com/halcyonmobile/multiplatformplayground/ui/Applications.kt | AlexGabor/MultiplatformPlayground | 9cc32907a67fb892e7e4a0e1c0b94ae821aaebd5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/halcyonmobile/multiplatformplayground/ui/Applications.kt | AlexGabor/MultiplatformPlayground | 9cc32907a67fb892e7e4a0e1c0b94ae821aaebd5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/halcyonmobile/multiplatformplayground/ui/Applications.kt | AlexGabor/MultiplatformPlayground | 9cc32907a67fb892e7e4a0e1c0b94ae821aaebd5 | [
"Apache-2.0"
] | null | null | null | package com.halcyonmobile.multiplatformplayground.ui
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.found... | 39.728261 | 98 | 0.665116 |
aecd1bc023f081d1662f8fe3083c3f742c37fa6c | 14,830 | sql | SQL | testall.sql | palak795/akounting | 2b8609e1812fe56f55082f203e36f573c90e3fb0 | [
"MIT"
] | null | null | null | testall.sql | palak795/akounting | 2b8609e1812fe56f55082f203e36f573c90e3fb0 | [
"MIT"
] | null | null | null | testall.sql | palak795/akounting | 2b8609e1812fe56f55082f203e36f573c90e3fb0 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.5deb2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Apr 29, 2021 at 10:23 AM
-- Server version: 10.3.25-MariaDB-0ubuntu0.20.04.1
-- PHP Version: 7.4.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+0... | 62.310924 | 193 | 0.672353 |
f169e6df4ad1c789f786bc112f41f87edd79bc0c | 1,662 | sql | SQL | Wiley_task/5_Table_of_records.sql | Alexgta/SQL-PLSQL-Examples | f810a3cb42d7450c055458b10f28a359e4e8d6f5 | [
"Apache-2.0"
] | null | null | null | Wiley_task/5_Table_of_records.sql | Alexgta/SQL-PLSQL-Examples | f810a3cb42d7450c055458b10f28a359e4e8d6f5 | [
"Apache-2.0"
] | null | null | null | Wiley_task/5_Table_of_records.sql | Alexgta/SQL-PLSQL-Examples | f810a3cb42d7450c055458b10f28a359e4e8d6f5 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE "ORDMMAPP"."TEST_EMPLOY"
(EMPLOY_ID NUMBER,
FIRST_NAME VARCHAR2(100),
LAST_NAME VARCHAR2(100),
SALARY NUMBER
);
Insert into ORDMMAPP.TEST_EMPLOY (EMPLOY_ID,FIRST_NAME,LAST_NAME,SALARY) values (1,'Jhon','Smith',100);
Insert into ORDMMAPP.TEST_EMPLOY (EMPLOY_ID,FIRST_NAME,LAST_NAME,SALARY) values (2,'Igo... | 29.157895 | 121 | 0.749699 |
297cc4ab05910de161521c595144deb567d5e558 | 212 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/exp10.asm | witchcraft2001/z88dk | 11adca337a4125aff611ddfdf3fc2401e8dda5b2 | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/exp10.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/exp10.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_math16
PUBLIC exp10f16
EXTERN _m16_exp10f
defc exp10f16 = _m16_exp10f
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _exp10f16
EXTERN cm16_sdcc_exp10
defc _exp10f16 = cm16_sdcc_exp10
ENDIF
| 14.133333 | 32 | 0.825472 |
7105dfbf2e6132a59f7624d301bddb837e890414 | 223 | ts | TypeScript | flex-webchat-interactive/node_modules/@mui/lab/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts | mark-marshall/twilio-flex-interactive-webchat | ea049dd8509ce2ea34d487024ad7e96c0e0ffd16 | [
"MIT"
] | null | null | null | flex-webchat-interactive/node_modules/@mui/lab/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts | mark-marshall/twilio-flex-interactive-webchat | ea049dd8509ce2ea34d487024ad7e96c0e0ffd16 | [
"MIT"
] | null | null | null | flex-webchat-interactive/node_modules/@mui/lab/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts | mark-marshall/twilio-flex-interactive-webchat | ea049dd8509ce2ea34d487024ad7e96c0e0ffd16 | [
"MIT"
] | null | null | null | /// <reference types="react" />
import { InternalDesktopWrapperProps } from './DesktopWrapper';
declare function DesktopTooltipWrapper(props: InternalDesktopWrapperProps): JSX.Element;
export default DesktopTooltipWrapper;
| 44.6 | 88 | 0.816143 |
9bf8117562e863ebb18cda227b1332b1675705f7 | 1,139 | js | JavaScript | AbiokaRdn.Host/src/app/components/resendVerification/resendVerificationController.js | tugrulelmas/AbiokarRdn | 3c8ed28ed3c29514a52e973bf30b2f5643205555 | [
"MIT"
] | null | null | null | AbiokaRdn.Host/src/app/components/resendVerification/resendVerificationController.js | tugrulelmas/AbiokarRdn | 3c8ed28ed3c29514a52e973bf30b2f5643205555 | [
"MIT"
] | null | null | null | AbiokaRdn.Host/src/app/components/resendVerification/resendVerificationController.js | tugrulelmas/AbiokarRdn | 3c8ed28ed3c29514a52e973bf30b2f5643205555 | [
"MIT"
] | null | null | null | (function () {
'use strict';
var resendVerification = {
templateUrl: '/app/components/resendVerification/resendVerification.html',
controller: ResendVerificationController,
controllerAs: 'vm'
};
/* @ngInject */
function ResendVerificationController($http) {
var vm =... | 27.119048 | 101 | 0.532046 |
717ed315e5fb9bc279822a47f6a783c97b9e88c5 | 222 | ts | TypeScript | types/geometries/CylinderGeometry.d.ts | ukonpower/glpower | 86138d7b38e9a239a85e603e56c3d3ac4adfa742 | [
"MIT"
] | 2 | 2020-05-10T15:19:35.000Z | 2021-09-03T23:06:38.000Z | types/geometries/CylinderGeometry.d.ts | ukonpower/glPower | 86138d7b38e9a239a85e603e56c3d3ac4adfa742 | [
"MIT"
] | 4 | 2021-03-09T19:48:55.000Z | 2022-02-18T12:19:36.000Z | types/geometries/CylinderGeometry.d.ts | ukonpower/glPower | 86138d7b38e9a239a85e603e56c3d3ac4adfa742 | [
"MIT"
] | 2 | 2020-01-28T08:43:14.000Z | 2021-09-03T23:06:44.000Z | import { Geometry } from './Geometry';
export declare class CylinderGeometry extends Geometry {
constructor(radiusTop?: number, radiusBottom?: number, height?: number, radSegments?: number, heightSegments?: number);
}
| 44.4 | 123 | 0.756757 |
05c66eecbf82a7b3cd071f7db869f23fa39fc45e | 411 | rb | Ruby | spec/factories/produced_item_warehousex_items.rb | emclab/produced_item_warehousex | 4872aa34f7081de1922f19e9177d5398bc781036 | [
"MIT"
] | null | null | null | spec/factories/produced_item_warehousex_items.rb | emclab/produced_item_warehousex | 4872aa34f7081de1922f19e9177d5398bc781036 | [
"MIT"
] | null | null | null | spec/factories/produced_item_warehousex_items.rb | emclab/produced_item_warehousex | 4872aa34f7081de1922f19e9177d5398bc781036 | [
"MIT"
] | null | null | null | # Read about factories at https://github.com/thoughtbot/factory_girl
FactoryGirl.define do
factory :produced_item_warehousex_item, :class => 'ProducedItemWarehousex::Item' do
batch_id 1
name 'a product 123'
in_date "2014-03-27"
in_qty 1
stock_qty 1
last_updated_by_id 1
storage_location "M... | 24.176471 | 85 | 0.727494 |
6bac4420ba2a3eaddadc37a312cd0e5ecec1f93d | 101,311 | c | C | hihope_neptune-oh_hid/00_src/v0.1/third_party/cryptsetup/lib/luks2/luks2_reencrypt.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.3/third_party/cryptsetup/lib/luks2/luks2_reencrypt.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.3/third_party/cryptsetup/lib/luks2/luks2_reencrypt.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /*
* LUKS - Linux Unified Key Setup v2, reencryption helpers
*
* Copyright (C) 2015-2019, Red Hat, Inc. All rights reserved.
* Copyright (C) 2015-2019, Ondrej Kozina
*
* 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 ... | 29.562591 | 189 | 0.718668 |
d035b4bac8d23b4fa37f755a2305d69f1a9328c1 | 892 | asm | Assembly | oeis/253/A253431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/253/A253431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/253/A253431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A253431: Number of (n+1) X (4+1) 0..1 arrays with every 2 X 2 subblock diagonal minus antidiagonal sum nondecreasing horizontally, vertically and ne-to-sw antidiagonally.
; Submitted by Jamie Morken(s1.)
; 109,102,120,156,228,372,660,1236,2388,4692,9300,18516,36948,73812,147540,294996,589908,1179732,2359380,4718676,9... | 40.545455 | 496 | 0.780269 |
cf94bce84302c8b31c4ce8d6fa75bfb01fb8d2ab | 538 | css | CSS | src/main/resources/public/css/style.css | BochWafa/ci-spring-boot | f999a240d9fcc0da30d9e31d30554fe9d415c420 | [
"MIT"
] | 21 | 2016-06-24T09:43:30.000Z | 2020-11-08T05:54:35.000Z | src/main/resources/public/css/style.css | BochWafa/ci-spring-boot | f999a240d9fcc0da30d9e31d30554fe9d415c420 | [
"MIT"
] | null | null | null | src/main/resources/public/css/style.css | BochWafa/ci-spring-boot | f999a240d9fcc0da30d9e31d30554fe9d415c420 | [
"MIT"
] | 29 | 2016-06-22T12:01:31.000Z | 2021-09-18T15:58:30.000Z | body{
background-color:#EEEEEE;
}
.list{
background-color:#FFF;
padding:20px 20px 10px 20px;
margin-top:30px;
}
.list h1{
margin:0;
padding-bottom:20px;
text-align:center;
}
li.ui-state-default{
background:#fff;
border:none;
border-bottom:1px solid #ddd;
}
li.ui-state-default... | 13.794872 | 34 | 0.639405 |
c67b1f16e2e34c0a25c2c03b250564557b06c60f | 662 | swift | Swift | MenuRxExample/Scenes/Preset/Extension/Array+Ext.swift | Vanyaslav/MenuRxExample | 6f6f5e7e3994c2b8aeb927eac3e2fde520b91523 | [
"Apache-2.0"
] | 1 | 2021-06-04T11:37:28.000Z | 2021-06-04T11:37:28.000Z | MenuRxExample/Scenes/Preset/Extension/Array+Ext.swift | Vanyaslav/MenuRxExample | 6f6f5e7e3994c2b8aeb927eac3e2fde520b91523 | [
"Apache-2.0"
] | null | null | null | MenuRxExample/Scenes/Preset/Extension/Array+Ext.swift | Vanyaslav/MenuRxExample | 6f6f5e7e3994c2b8aeb927eac3e2fde520b91523 | [
"Apache-2.0"
] | null | null | null | //
// Array+Ext.swift
// MenuRxExample
//
// Created by Tomas Baculák on 04/11/2020.
// Copyright © 2020 Tomas Baculák. All rights reserved.
//
import Foundation
extension Preset {
static let dataStringSeparator: String = ";"
}
extension Array where Element == String {
func parsePresets() -> [Preset_VM.P... | 24.518519 | 76 | 0.63142 |
85d433c5965c0a24d83639479b27b225ac7b87a3 | 568 | c | C | backend/gdemu_control.c | retrohead/openmenu | 565f472aef47e7116a0d8e77f7960c2dee0238b0 | [
"BSD-3-Clause"
] | 38 | 2021-07-04T19:03:43.000Z | 2022-03-23T03:31:59.000Z | backend/gdemu_control.c | retrohead/openmenu | 565f472aef47e7116a0d8e77f7960c2dee0238b0 | [
"BSD-3-Clause"
] | 31 | 2021-06-25T13:42:06.000Z | 2022-03-15T00:59:26.000Z | backend/gdemu_control.c | retrohead/openmenu | 565f472aef47e7116a0d8e77f7960c2dee0238b0 | [
"BSD-3-Clause"
] | 5 | 2021-07-16T06:03:37.000Z | 2022-03-23T14:05:09.000Z | #include <arch/arch.h>
#include <dc/sound/sound.h>
#include <kos.h>
#include <kos/thread.h>
#include "backend/gd_item.h"
#include "gdemu_sdk.h"
#include "gdmenu_loader.h"
#ifndef GDROM_FS
void gd_reset_handles(void) {
}
void run_game(const char *region, const char *product) {
(void)region;
(void)product;
void ... | 19.586207 | 56 | 0.727113 |
f0870a7d6b76e800799cff4ff4d49d050cac7d4e | 226 | js | JavaScript | index.ios.js | MarshalPaterson/ReactNativeBaseRouterFluxBoilerplate | 148502315db0bfaf749ec8364ecbce84a0adb264 | [
"MIT"
] | null | null | null | index.ios.js | MarshalPaterson/ReactNativeBaseRouterFluxBoilerplate | 148502315db0bfaf749ec8364ecbce84a0adb264 | [
"MIT"
] | null | null | null | index.ios.js | MarshalPaterson/ReactNativeBaseRouterFluxBoilerplate | 148502315db0bfaf749ec8364ecbce84a0adb264 | [
"MIT"
] | null | null | null | import { AppRegistry } from 'react-native';
import ReactNativeBaseRouterFluxBoilerplate from './src/index.js';
AppRegistry.registerComponent('ReactNativeBaseRouterFluxBoilerplate', () => ReactNativeBaseRouterFluxBoilerplate); | 56.5 | 114 | 0.831858 |
f058c8ff047b3d9464b8a867f927fcd03d622d8f | 31,894 | py | Python | concept_disc/pubmed_dump.py | nmonath/concept_discovery | 766905684e598159cc6fb58967ed411888b93ce5 | [
"MIT"
] | 3 | 2020-09-10T13:48:23.000Z | 2021-08-19T21:42:50.000Z | concept_disc/pubmed_dump.py | nmonath/concept_discovery | 766905684e598159cc6fb58967ed411888b93ce5 | [
"MIT"
] | null | null | null | concept_disc/pubmed_dump.py | nmonath/concept_discovery | 766905684e598159cc6fb58967ed411888b93ce5 | [
"MIT"
] | 3 | 2020-10-16T21:57:04.000Z | 2020-12-26T00:59:32.000Z | """
Parse PubMed Dump
Ref:
https://www.nlm.nih.gov/databases/download/pubmed_medline.html
https://www.nlm.nih.gov/bsd/licensee/elements_alphabetical.html
https://www.nlm.nih.gov/bsd/licensee/elements_descriptions.html#medlinecitation
"""
from collections import defaultdict
from concurrent import futures
import glob
... | 34.331539 | 120 | 0.58199 |
5ff51207e107d743fa9ad285a8f25bbc3fba1ac2 | 787 | h | C | pariapse-networking/ManagedObject/RemoteEntityDelegate.h | JeremyVoisin/PeriapseNetworking | 482ae487ea1d652fdd82ece6b372caad537af889 | [
"MIT"
] | null | null | null | pariapse-networking/ManagedObject/RemoteEntityDelegate.h | JeremyVoisin/PeriapseNetworking | 482ae487ea1d652fdd82ece6b372caad537af889 | [
"MIT"
] | null | null | null | pariapse-networking/ManagedObject/RemoteEntityDelegate.h | JeremyVoisin/PeriapseNetworking | 482ae487ea1d652fdd82ece6b372caad537af889 | [
"MIT"
] | null | null | null | //
// RemoteEntityDelegate.h
//
// Created by Jérémy Voisin on 25/03/2016.
// Copyright © 2016 jeyz. All rights reserved.
//
#import <Foundation/Foundation.h>
@class RemoteEntity;
@protocol RemoteEntityDelegate <NSObject>
@optional
- (void)remoteEntitiesFinishedLoading:(NSArray*)entities;
- (void)remoteEntities... | 29.148148 | 119 | 0.789072 |
571fdfe65f4f298dde1e4d46fe02442c248d3eaf | 280 | asm | Assembly | src/features/misc macros.asm | FranchuFranchu/fran-os | 30e14b587dd66039511d08a54f516ad65c4375ff | [
"0BSD"
] | 1 | 2020-10-24T17:09:05.000Z | 2020-10-24T17:09:05.000Z | src/features/misc macros.asm | FranchuFranchu/fran-os | 30e14b587dd66039511d08a54f516ad65c4375ff | [
"0BSD"
] | null | null | null | src/features/misc macros.asm | FranchuFranchu/fran-os | 30e14b587dd66039511d08a54f516ad65c4375ff | [
"0BSD"
] | null | null | null | %macro DEBUG_PRINT 1
mov esi, %%string
call kernel_terminal_write_string
section .data
%%string: db %1, 0
section .text
%endmacro
%macro FATAL_ERROR 1
mov dl, VGA_COLOR_WHITE
mov dH, VGA_COLOR_RED
call kernel_terminal_set_color
DEBUG_PRINT %1
call kernel_halt
%endmacro | 18.666667 | 34 | 0.785714 |
f0348185cb88efdb34b5de39fe352d2ee65ecef9 | 13,977 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/snmp/snmpmib.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | nssrc/com/citrix/netscaler/nitro/resource/config/snmp/snmpmib.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | nssrc/com/citrix/netscaler/nitro/resource/config/snmp/snmpmib.py | guardicore/nitro-python | 5346a5086134aead80968f15a41ff527adaa0ec1 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2021 Citrix Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | 37.980978 | 387 | 0.701867 |
f07bf2d0976fb300df894c953453e434a3e9d26f | 314 | js | JavaScript | documentation/html/search/functions_6.js | Italo1994/Laboratorio2-IMD0030 | ebe3df127ec78914d2feca77f92bf398e61c023c | [
"MIT"
] | null | null | null | documentation/html/search/functions_6.js | Italo1994/Laboratorio2-IMD0030 | ebe3df127ec78914d2feca77f92bf398e61c023c | [
"MIT"
] | null | null | null | documentation/html/search/functions_6.js | Italo1994/Laboratorio2-IMD0030 | ebe3df127ec78914d2feca77f92bf398e61c023c | [
"MIT"
] | null | null | null | var searchData=
[
['_7ecubo',['~Cubo',['../classCubo.html#ada9f424711b825757aaf553f82949522',1,'Cubo']]],
['_7eesfera',['~Esfera',['../classEsfera.html#abf33ddbf68a9d97d90ddb1ee83d5c994',1,'Esfera']]],
['_7epiramide',['~Piramide',['../classPiramide.html#a1fdd51b594ba1fe14e094c7f1a6e5e79',1,'Piramide']]]
];
| 44.857143 | 104 | 0.710191 |
9c7c38ef52bdd39fc9c2d43a42f56df688d9e3e0 | 3,206 | js | JavaScript | addons/mail/static/src/models/notification_group_manager/notification_group_manager.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/mail/static/src/models/notification_group_manager/notification_group_manager.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | addons/mail/static/src/models/notification_group_manager/notification_group_manager.js | SHIVJITH/Odoo_Machine_Test | 310497a9872db7844b521e6dab5f7a9f61d365a4 | [
"Apache-2.0"
] | null | null | null | odoo.define('mail/static/src/models/notification_group_manager/notification_group_manager.js', function (require) {
'use strict';
const { registerNewModel } = require('mail/static/src/model/model_core.js');
const { one2many } = require('mail/static/src/model/model_field.js');
function factory(dependencies) {
cla... | 41.102564 | 115 | 0.524953 |
93d24b8bbb90d1c4f02414936c108cfb3616bb05 | 4,431 | asm | Assembly | Source/Levels/L1212.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L1212.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | Source/Levels/L1212.asm | AbePralle/FGB | 52f004b8d9d4091a2a242a012dc8c1f90d4c160d | [
"MIT"
] | null | null | null | ; L1212.asm Crouton Homeworld 1
; Generated 04.19.2001 by mlevel
; Modified 04.19.2001 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
NUM_DIALOG EQU 3
HFENCE_INDEX EQU 18
HULK_INDEX EQU 43
GOBLIN_INDEX EQU 44
VAR_OVERHEARD EQU 0
STATE_ANYTIME EQU 0
STATE_MAKESURE EQU 1
STATE_SUC... | 23.321053 | 70 | 0.493568 |
7f2927b4a098e685cee72dfcda473db987e67b5f | 9,507 | rs | Rust | src/sys/resource.rs | rtic-scope/nix | 916bbfac03b58f181fc971b59a1d61c601f3944c | [
"MIT"
] | 1,719 | 2016-02-12T17:14:47.000Z | 2022-03-26T11:26:28.000Z | src/sys/resource.rs | rtic-scope/nix | 916bbfac03b58f181fc971b59a1d61c601f3944c | [
"MIT"
] | 1,386 | 2016-02-12T16:56:50.000Z | 2022-03-27T20:16:27.000Z | src/sys/resource.rs | rtic-scope/nix | 916bbfac03b58f181fc971b59a1d61c601f3944c | [
"MIT"
] | 524 | 2016-02-12T21:06:59.000Z | 2022-03-16T13:39:17.000Z | //! Configure the process resource limits.
use cfg_if::cfg_if;
use crate::errno::Errno;
use crate::Result;
pub use libc::rlim_t;
use std::mem;
cfg_if! {
if #[cfg(all(target_os = "linux", target_env = "gnu"))]{
use libc::{__rlimit_resource_t, rlimit, RLIM_INFINITY};
}else if #[cfg(any(
target_o... | 35.875472 | 110 | 0.594194 |
2f6865f8fd9f292b7ef125defd6cd4316114d8c8 | 2,508 | rs | Rust | rust/src/bin/remove_duplicates_from_sorted_array.rs | senofsky/leetcode | 8cde5d0fbe781a7e5b3e9859ea37faa5fd6e6fec | [
"MIT"
] | null | null | null | rust/src/bin/remove_duplicates_from_sorted_array.rs | senofsky/leetcode | 8cde5d0fbe781a7e5b3e9859ea37faa5fd6e6fec | [
"MIT"
] | null | null | null | rust/src/bin/remove_duplicates_from_sorted_array.rs | senofsky/leetcode | 8cde5d0fbe781a7e5b3e9859ea37faa5fd6e6fec | [
"MIT"
] | null | null | null | // Given a sorted array nums, remove the duplicates in-place such that each
// element appear only once and return the new length.
//
// Do not allocate extra space for another array, you must do this by modifying
// the input array in-place with O(1) extra memory.
//
// Example 1:
//
// Given nums = [1,1,2],
//
// You... | 28.179775 | 80 | 0.610447 |
afabdc8b173466c9869f608310797b3a08fea174 | 5,008 | rb | Ruby | mrblib/mrb_keyboard.rb | chronno/mruby-mrgss | 7f29e667576c8543ec2da274278da70ff8b9605b | [
"MIT"
] | 1 | 2015-11-25T08:29:30.000Z | 2015-11-25T08:29:30.000Z | mrblib/mrb_keyboard.rb | chronno/mruby-mrgss | 7f29e667576c8543ec2da274278da70ff8b9605b | [
"MIT"
] | null | null | null | mrblib/mrb_keyboard.rb | chronno/mruby-mrgss | 7f29e667576c8543ec2da274278da70ff8b9605b | [
"MIT"
] | 1 | 2015-11-26T22:18:07.000Z | 2015-11-26T22:18:07.000Z | #============================================================================
# ** ::MRGSS
#----------------------------------------------------------------------------
# This module contains all MRGSS Modules.
#============================================================================
module MRGSS
#------------... | 28.617143 | 77 | 0.381989 |
4a55f20e2894a0e8e39d1a5bb7bdebae8de54931 | 4,402 | js | JavaScript | src/utils.js | myurch/mock-rel | 7fa490bc6c84ac6cb1e9cea675dcd00d5a40329d | [
"MIT"
] | 3 | 2019-10-08T19:11:28.000Z | 2020-01-07T21:19:45.000Z | src/utils.js | myurch/mock-rel | 7fa490bc6c84ac6cb1e9cea675dcd00d5a40329d | [
"MIT"
] | 1 | 2021-05-10T11:29:09.000Z | 2021-05-10T11:29:09.000Z | src/utils.js | myurch/mock-rel | 7fa490bc6c84ac6cb1e9cea675dcd00d5a40329d | [
"MIT"
] | null | null | null | import * as R from 'ramda'
import {BACKREF} from './consts'
export const createField = ({type, modelName=null, backref=null}) => {
return({
type: type,
backref: backref,
modelName: modelName,
})
}
// state can be null
export const handle_add_all_models = ({modelName, data_list, id_auto... | 31.219858 | 114 | 0.534075 |
af2ad448e88ea996a981a72136e655cc9278a886 | 8,389 | rb | Ruby | spec/sidekiq_ecs_scaler/configuration_spec.rb | shoma07/sidekiq-ecs-scaler | 12b6a5fa004e4cf96b7be4f0d0240bf6b9fbc4b7 | [
"MIT"
] | null | null | null | spec/sidekiq_ecs_scaler/configuration_spec.rb | shoma07/sidekiq-ecs-scaler | 12b6a5fa004e4cf96b7be4f0d0240bf6b9fbc4b7 | [
"MIT"
] | null | null | null | spec/sidekiq_ecs_scaler/configuration_spec.rb | shoma07/sidekiq-ecs-scaler | 12b6a5fa004e4cf96b7be4f0d0240bf6b9fbc4b7 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
RSpec.describe SidekiqEcsScaler::Configuration do
let(:configuration) { described_class.new }
describe "#enabled" do
subject { configuration.enabled }
context "when default" do
it { is_expected.to eq true }
end
end
describe "#enabled=" do
subject(:write) {... | 21.960733 | 108 | 0.611396 |
a4bc0e34e66ae500890d6f87fafbdcb2b82d69cd | 9,517 | swift | Swift | YourHealth/Specialist/Settings.swift | 9carlo6/YourHealth | f1a0ec2a188142b2ae91993e88b9f6ab2b151409 | [
"Apache-2.0"
] | null | null | null | YourHealth/Specialist/Settings.swift | 9carlo6/YourHealth | f1a0ec2a188142b2ae91993e88b9f6ab2b151409 | [
"Apache-2.0"
] | 7 | 2020-12-27T12:06:36.000Z | 2021-01-10T11:40:21.000Z | YourHealth/Specialist/Settings.swift | 9carlo6/YourHealth | f1a0ec2a188142b2ae91993e88b9f6ab2b151409 | [
"Apache-2.0"
] | null | null | null | //
// Settings.swift
// YourHealth
//
// Created by conteangelo on 06/01/2021.
//
import SwiftUI
import FirebaseCore
import Firebase
import FirebaseFirestore
import FirebaseFirestoreSwift
import SwiftUI
let FILE_NAME = "images-2.jpeg"
struct Settings: View {
@Environment(\.presentationMode) var presenta... | 35.511194 | 123 | 0.360513 |
0bec90adbea4903a2339131d6f5a64bc4ec4733f | 5,003 | js | JavaScript | src/utils/modernizr-custom.js | linkit360/slypee-html | 837e14086684737b4e38b2fc415d5c53e2896a0d | [
"MIT"
] | null | null | null | src/utils/modernizr-custom.js | linkit360/slypee-html | 837e14086684737b4e38b2fc415d5c53e2896a0d | [
"MIT"
] | null | null | null | src/utils/modernizr-custom.js | linkit360/slypee-html | 837e14086684737b4e38b2fc415d5c53e2896a0d | [
"MIT"
] | null | null | null | /* eslint-disable */
/*! modernizr 3.5.0 (Custom Build) | MIT *
* https://modernizr.com/download/?-cssvhunit-cssvwunit-flexbox-flexwrap-setclasses !*/
!function(e,n,t){function r(e,n){return typeof e===n}function s(){var e,n,t,s,o,i,l;for(var a in C)if(C.hasOwnProperty(a)){if(e=[],n=C[a],n.name&&(e.push(n.name.toLower... | 1,250.75 | 4,851 | 0.670997 |
6bad43d317c3ee99f82f535ed73c7217c9720bec | 1,892 | sql | SQL | integration-test/jpa2.1-hibernate-test/src/test/resources/db/migration/V1.0__schema.sql | DBCDK/jpa-unit | c59c9ba71d7aa6c58324cb288266881e2f0fe087 | [
"Apache-2.0"
] | 31 | 2017-08-31T11:36:02.000Z | 2022-03-18T08:01:48.000Z | integration-test/jpa2.1-hibernate-test/src/test/resources/db/migration/V1.0__schema.sql | DBCDK/jpa-unit | c59c9ba71d7aa6c58324cb288266881e2f0fe087 | [
"Apache-2.0"
] | 50 | 2016-11-22T10:17:07.000Z | 2019-12-02T11:58:59.000Z | integration-test/jpa2.1-hibernate-test/src/test/resources/db/migration/V1.0__schema.sql | DBCDK/jpa-unit | c59c9ba71d7aa6c58324cb288266881e2f0fe087 | [
"Apache-2.0"
] | 7 | 2018-01-15T17:46:31.000Z | 2021-04-09T07:02:04.000Z | create table hibernate_sequences (
sequence_name varchar(50),
next_val bigint
);
create table ACCOUNT (
TYPE varchar(25) not null,
ID bigint generated by default as identity,
VERSION bigint,
CREDIT_LIMIT double,
DEPOSITOR_ID bigint not null,
primary key (ID)
);
create table ACCOUNT_ENT... | 24.25641 | 48 | 0.713531 |
d1357c3cdf2f6e5902ce3983ef29f507ad7f86c2 | 431 | swift | Swift | TastyTomato/Code/Extensions/Public/CAShapeLayer/CAShapeLayer (ConvenienceInits).swift | resmio/TastyTomato | bed8ffad5953be7acb10714859eeac347be48ce2 | [
"MIT"
] | 2 | 2019-01-23T05:48:31.000Z | 2019-01-23T05:49:19.000Z | TastyTomato/Code/Extensions/Public/CAShapeLayer/CAShapeLayer (ConvenienceInits).swift | resmio/TastyTomato | bed8ffad5953be7acb10714859eeac347be48ce2 | [
"MIT"
] | 43 | 2016-07-18T15:27:08.000Z | 2019-09-17T20:05:07.000Z | TastyTomato/Code/Extensions/Public/CAShapeLayer/CAShapeLayer (ConvenienceInits).swift | resmio/TastyTomato | bed8ffad5953be7acb10714859eeac347be48ce2 | [
"MIT"
] | null | null | null | //
// CAShapeLayer (ConvenienceInits).swift
// TastyTomato
//
// Created by Jan Nash on 7/28/16.
// Copyright © 2016 resmio. All rights reserved.
//
import UIKit
// MARK: // Public
public extension CAShapeLayer {
@objc convenience init(path p: UIBezierPath) {
self.init()
self.path = p.cgPath
... | 18.73913 | 50 | 0.62413 |
283a0ba595dd896c3f968c99cb5721328ec61ddc | 59 | rb | Ruby | lib/capistrano/locum/sidekiq.rb | DarkWater666/locum-best-practives | 52a94bedf053e75b87e553d741a1ed4bca42b0f3 | [
"MIT"
] | null | null | null | lib/capistrano/locum/sidekiq.rb | DarkWater666/locum-best-practives | 52a94bedf053e75b87e553d741a1ed4bca42b0f3 | [
"MIT"
] | null | null | null | lib/capistrano/locum/sidekiq.rb | DarkWater666/locum-best-practives | 52a94bedf053e75b87e553d741a1ed4bca42b0f3 | [
"MIT"
] | null | null | null | load File.expand_path('../../tasks/sidekiq.cap', __FILE__)
| 29.5 | 58 | 0.711864 |
18533238f574a0b2c537431acb05e6b235e90f5d | 594 | rb | Ruby | lib/kiq_bus/client.rb | aquinofb/kiqbus | a0b7129e7ae5870f9b2a074516cde86c598d6de3 | [
"MIT"
] | 2 | 2015-12-08T14:47:33.000Z | 2015-12-09T01:52:09.000Z | lib/kiq_bus/client.rb | aquinofb/kiqbus | a0b7129e7ae5870f9b2a074516cde86c598d6de3 | [
"MIT"
] | null | null | null | lib/kiq_bus/client.rb | aquinofb/kiqbus | a0b7129e7ae5870f9b2a074516cde86c598d6de3 | [
"MIT"
] | null | null | null | module KiqBus
class Client
cattr_reader :subscribers
@@subscribers = {}
def self.subscribe channel, class_name, action=:call
@@subscribers[channel] ||= []
@@subscribers[channel] << Subscriber.new(class_name, action.to_sym)
end
def self.broadcast channel, *args
Broadcast.run(@@s... | 28.285714 | 98 | 0.675084 |
31fce239430d6f4962574c2d6b7cbb7667b4fcd1 | 95 | sql | SQL | sql/create_refund_transaction.sql | SoftwareVerde/flipstarter | 225ffb3e269b6a3dc188bb35cf918544ede51298 | [
"MIT"
] | null | null | null | sql/create_refund_transaction.sql | SoftwareVerde/flipstarter | 225ffb3e269b6a3dc188bb35cf918544ede51298 | [
"MIT"
] | null | null | null | sql/create_refund_transaction.sql | SoftwareVerde/flipstarter | 225ffb3e269b6a3dc188bb35cf918544ede51298 | [
"MIT"
] | null | null | null | INSERT INTO refund_transactions
(
token,
commitment_id
)
VALUES
(
:token,
:commitment_id
)
| 8.636364 | 31 | 0.747368 |
fc9e79fd818449abb95fe8041ee43d248ad99080 | 1,001 | css | CSS | style.css | JuniorBecari10/Cara-Ou-Coroa | cade6291e49852de6a39ba1110cb367e7728796e | [
"MIT"
] | null | null | null | style.css | JuniorBecari10/Cara-Ou-Coroa | cade6291e49852de6a39ba1110cb367e7728796e | [
"MIT"
] | null | null | null | style.css | JuniorBecari10/Cara-Ou-Coroa | cade6291e49852de6a39ba1110cb367e7728796e | [
"MIT"
] | null | null | null | @font-face {
font-family: "Pixel";
src: url("font.ttf");
}
@font-face {
font-family: "Pixel Paragraph";
src: url("font-p.ttf");
}
/*------------------------------------------*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Pixel", sans-serif;
font-weight: normal... | 14.507246 | 53 | 0.548452 |
8e1fb2e49a44743deae0236451fd0a0bceb2ed7b | 10,535 | swift | Swift | Sources/ComponentKit/CustomView/CircleScroll/CircleScrollView.swift | CreatorWilliam/ProjectKit | 4a4d64ac3b24b766dc02bb9581dff3625fc6bb9b | [
"MIT"
] | null | null | null | Sources/ComponentKit/CustomView/CircleScroll/CircleScrollView.swift | CreatorWilliam/ProjectKit | 4a4d64ac3b24b766dc02bb9581dff3625fc6bb9b | [
"MIT"
] | null | null | null | Sources/ComponentKit/CustomView/CircleScroll/CircleScrollView.swift | CreatorWilliam/ProjectKit | 4a4d64ac3b24b766dc02bb9581dff3625fc6bb9b | [
"MIT"
] | null | null | null | //
// CircleScrollView.swift
// ComponentKit
//
// Created by William Lee on 20/12/17.
// Copyright © 2018 William Lee. All rights reserved.
//
import UIKit
import ImageKit
public protocol CircleScrollViewDelegate: AnyObject {
func circleScrollView(_ view: CircleScrollView, didScrollTo index: Int)
func cir... | 24.614486 | 105 | 0.634551 |
62a54f34322f7250410e90a5721f004ecf592284 | 5,107 | rs | Rust | arraymath/src/vectormath.rs | jakobj/arraymath-rs | 6d4c54b29c054fb84ec3e6d528c3133f9c4b1c68 | [
"MIT"
] | null | null | null | arraymath/src/vectormath.rs | jakobj/arraymath-rs | 6d4c54b29c054fb84ec3e6d528c3133f9c4b1c68 | [
"MIT"
] | null | null | null | arraymath/src/vectormath.rs | jakobj/arraymath-rs | 6d4c54b29c054fb84ec3e6d528c3133f9c4b1c68 | [
"MIT"
] | null | null | null | macro_rules! binary_op_vector_prototype {
($function_name: ident, $input_inner: ty, $output: ty) => {
fn $function_name(&self, other: &[$input_inner]) -> $output;
};
}
macro_rules! binary_op_vector_inplace_prototype {
($function_name: ident, $input_inner: ty, $output: ty) => {
fn $function_... | 27.021164 | 85 | 0.508126 |
92308cd4f466bb21ede7bbdd76440154d821633b | 187 | sql | SQL | Portal/WebSystem/WCMS.Framework.SqlDabase/dbo/Stored Procedures/WebPartConfig_Del.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 1 | 2018-05-08T21:06:38.000Z | 2018-05-08T21:06:38.000Z | Portal/WebSystem/WCMS.Framework.SqlDabase/dbo/Stored Procedures/WebPartConfig_Del.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | null | null | null | Portal/WebSystem/WCMS.Framework.SqlDabase/dbo/Stored Procedures/WebPartConfig_Del.sql | dsalunga/mPortal | 3c727231e576c4ab0c3ace21cc412a2cf344974a | [
"MIT"
] | 3 | 2017-12-19T17:51:25.000Z | 2022-02-02T03:45:43.000Z | CREATE PROCEDURE [dbo].[WebPartConfig_Del]
(
@PartConfigId int
)
AS
SET NOCOUNT ON
IF(@PartConfigId > 0)
DELETE FROM WebPartConfig
WHERE PartConfigId=@PartConfigId
RETURN | 15.583333 | 43 | 0.73262 |
0ffb7752c86edb0e3f5b3121446aab1c1999a2cf | 9,030 | swift | Swift | Examples/Litecoin/CryptoApiLib_CoreLitecoin/CryptoApiLib_CoreLitecoin/ViewController.swift | cryptoapi-project/cryptoapi-swift | 0cf1aee72e01259363bf963f82aee1c81fb093e2 | [
"MIT"
] | 1 | 2020-02-26T17:12:19.000Z | 2020-02-26T17:12:19.000Z | Examples/Litecoin/CryptoApiLib_CoreLitecoin/CryptoApiLib_CoreLitecoin/ViewController.swift | cryptoapi-project/cryptoapi-swift | 0cf1aee72e01259363bf963f82aee1c81fb093e2 | [
"MIT"
] | null | null | null | Examples/Litecoin/CryptoApiLib_CoreLitecoin/CryptoApiLib_CoreLitecoin/ViewController.swift | cryptoapi-project/cryptoapi-swift | 0cf1aee72e01259363bf963f82aee1c81fb093e2 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// CryptoApiLib_CoreLitecoin
//
// Created by Alexander Eskin on 5/19/20.
// Copyright © 2020 PixelPlex. All rights reserved.
//
import CryptoApiLib
import UIKit
enum ExampleConstants {
static let authToken = "Your token"
static let mainnetDerivationPath = "m/44'/0'/0'/0/0"
... | 35.136187 | 130 | 0.580288 |
770ae318e5abbb9e683051d07265f0cd57b6a5ac | 3,146 | rs | Rust | vrp-pragmatic/tests/helpers/fixtures.rs | valerivp/vrp | 27ee30e5f4c44e051e5cec1248e606305b52fc00 | [
"Apache-2.0"
] | 1 | 2021-04-06T08:26:03.000Z | 2021-04-06T08:26:03.000Z | vrp-pragmatic/tests/helpers/fixtures.rs | valerivp/vrp | 27ee30e5f4c44e051e5cec1248e606305b52fc00 | [
"Apache-2.0"
] | null | null | null | vrp-pragmatic/tests/helpers/fixtures.rs | valerivp/vrp | 27ee30e5f4c44e051e5cec1248e606305b52fc00 | [
"Apache-2.0"
] | null | null | null | pub const SIMPLE_PROBLEM: &str = r#"
{
"plan": {
"jobs": [
{
"id": "single_job",
"deliveries": [
{
"places": [
{
"location": {
"lat": 52.5622847,
"lng": 13.4023099
},
"dura... | 18.08046 | 49 | 0.267006 |
83e4b872116e67f4047c4666533d0806d4e3f9e1 | 27,699 | rs | Rust | tests/known_cases.rs | arctic-hen7/bonnie | 6694d9e8d45e69ad74bf1326937eb711079a3223 | [
"MIT"
] | 41 | 2021-04-13T14:01:42.000Z | 2022-03-27T14:34:53.000Z | tests/known_cases.rs | arctic-hen7/bonnie | 6694d9e8d45e69ad74bf1326937eb711079a3223 | [
"MIT"
] | 23 | 2021-04-21T17:59:05.000Z | 2022-03-12T09:13:03.000Z | tests/known_cases.rs | arctic-hen7/bonnie | 6694d9e8d45e69ad74bf1326937eb711079a3223 | [
"MIT"
] | 4 | 2021-04-16T06:10:03.000Z | 2022-01-06T01:13:20.000Z | // Bonnie mostly follows a strategy of integration testing to mimc real usage
// This also significantly reduces the brittleness of tests
// Note that the commands specified in testing WILL ACTUALLY BE RUN, so change things here carefully!
// Commands epcified should `echo` their name so we trace them back and `exit` w... | 29.719957 | 139 | 0.538034 |
165abf1dc0de9fdde33355d69f5e684626cf9307 | 1,313 | h | C | Headers/_SBIconWallpaperBackgroundProvider.h | MoTheNerd/oledlock | b1a79668a8f31d0c8cdfea11e14d5dc19654f380 | [
"MIT"
] | null | null | null | Headers/_SBIconWallpaperBackgroundProvider.h | MoTheNerd/oledlock | b1a79668a8f31d0c8cdfea11e14d5dc19654f380 | [
"MIT"
] | null | null | null | Headers/_SBIconWallpaperBackgroundProvider.h | MoTheNerd/oledlock | b1a79668a8f31d0c8cdfea11e14d5dc19654f380 | [
"MIT"
] | 1 | 2018-03-05T19:20:57.000Z | 2018-03-05T19:20:57.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "SBWallpaperObserver.h"
#import "_UISettingsKeyObserver.h"
@class NSHashTable, NSString, SBIconColorSettings;
@interface _SBIconWallpaperBackgroundPr... | 28.543478 | 102 | 0.765423 |
f01e36c7e52b2f29e3153f9812f722135e5763dd | 2,483 | py | Python | Curso em Video/D_045.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | Curso em Video/D_045.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | Curso em Video/D_045.py | tonmarcondes/UNIVESP | a66a623d4811e8f3f9e2999f09e38a4470035ae2 | [
"MIT"
] | null | null | null | import random
cor = {
'fim':'\033[m',
'amarelo':'\033[1;033m',
'vermelho':'\033[1;031m',
'vermelhof':'\033[7;031m',
'azul':'\033[1;034m',
'verde':'\033[1;32m',
'verdef':'\033[7;32m',
'branco':'\033[1;030m'
}
print('''
Escolha uma das opções abaixo:
\t {}1{} {... | 42.084746 | 114 | 0.515103 |
f06bb4aa4ae144cd78a4c0d281b10b1b55cacb4b | 865 | js | JavaScript | src/main/resources/static/app-directives.js | bjornlindstrom/javawebapp | a0e4ff0f39a14e5294db160c494486426c6f6e96 | [
"MIT"
] | null | null | null | src/main/resources/static/app-directives.js | bjornlindstrom/javawebapp | a0e4ff0f39a14e5294db160c494486426c6f6e96 | [
"MIT"
] | null | null | null | src/main/resources/static/app-directives.js | bjornlindstrom/javawebapp | a0e4ff0f39a14e5294db160c494486426c6f6e96 | [
"MIT"
] | null | null | null | 'use strict';
angular.module('appDirectives', [])
.directive('navMenu', function($location) {
return {
restrict:'E',
templateUrl: '/components/nav-menu.html',
scope: false,
link: function (scope, element) {
function setActive() {
var path = $location.path();
if (pat... | 28.833333 | 72 | 0.446243 |
5b26e77017920a89cfb122390ba0ec44a43f78a3 | 189 | sql | SQL | public/dsscript/create_db.sql | duncanssmith/dart | c6c233d9b32d9ac4bf799516f38a4eb44635043e | [
"MIT"
] | null | null | null | public/dsscript/create_db.sql | duncanssmith/dart | c6c233d9b32d9ac4bf799516f38a4eb44635043e | [
"MIT"
] | null | null | null | public/dsscript/create_db.sql | duncanssmith/dart | c6c233d9b32d9ac4bf799516f38a4eb44635043e | [
"MIT"
] | null | null | null | drop database dart;
create database dart;
create user 'dart'@'localhost' identified by 'sienna';
grant all privileges on dart.* to 'dart'@'localhost' with grant option;
flush privileges;
| 23.625 | 71 | 0.761905 |
3f584348f86007940b303e786f4ae32cbf238cd5 | 683 | swift | Swift | Demo/Source/GetUserPosts.swift | UpBra/Winkie | 8b73a0ff4bcb16b9f7c8e66c73ea563f8f0431df | [
"MIT"
] | null | null | null | Demo/Source/GetUserPosts.swift | UpBra/Winkie | 8b73a0ff4bcb16b9f7c8e66c73ea563f8f0431df | [
"MIT"
] | 5 | 2020-03-17T19:44:15.000Z | 2020-03-27T14:48:01.000Z | Demo/Source/GetUserPosts.swift | UpBra/Winkie | 8b73a0ff4bcb16b9f7c8e66c73ea563f8f0431df | [
"MIT"
] | null | null | null | // —————————————————————————————————————————————————————————————————————————
//
// GetUserPosts.swift
// Copyright © 2019 gleesh. All rights reserved.
//
// —————————————————————————————————————————————————————————————————————————
import Winkie
enum Endpoint {
enum Placeholder {
static let users = "https://jsonp... | 17.512821 | 76 | 0.544656 |
917c88b6e4e70b0ce13ae062a5023c30f5042fb1 | 236 | lua | Lua | test-configs/sqlite3.lua | LuaDist-testing/sqltable | 3f5e42b998fd20103f7abd9fda2dc4f269f29654 | [
"MIT"
] | null | null | null | test-configs/sqlite3.lua | LuaDist-testing/sqltable | 3f5e42b998fd20103f7abd9fda2dc4f269f29654 | [
"MIT"
] | null | null | null | test-configs/sqlite3.lua | LuaDist-testing/sqltable | 3f5e42b998fd20103f7abd9fda2dc4f269f29654 | [
"MIT"
] | null | null | null | #!/usr/bin/env lua
return {
connection = {
type = 'SQLite3',
name = 'sqlite3-test',
},
table1_vendor = {
booleans = { 'flag1', 'flag2' }
},
table2_vendor = {
},
table3_vendor = {
booleans = { 'flag1', 'flag2' }
}
}
| 11.238095 | 33 | 0.54661 |
bcb87df886ced5734ff688085cdcedc23b03af10 | 97,054 | sql | SQL | src/allmznew20130315.sql | hangtoo/Tools | 6a35ab27cba075bd3feecd3c103de7f723cec109 | [
"Apache-2.0"
] | null | null | null | src/allmznew20130315.sql | hangtoo/Tools | 6a35ab27cba075bd3feecd3c103de7f723cec109 | [
"Apache-2.0"
] | null | null | null | src/allmznew20130315.sql | hangtoo/Tools | 6a35ab27cba075bd3feecd3c103de7f723cec109 | [
"Apache-2.0"
] | null | null | null | //////////////sms
select count(distinct(called)),min(send_time),
sum(if(send_time >='2013-03-15 00:00:00' and send_time<'2013-03-15 01:00:00',1,0)) w0,
sum(if(send_time >='2013-03-15 01:00:00' and send_time<'2013-03-15 02:00:00',1,0)) w1,
sum(if(send_time >='2013-03-15 02:00:00' and send_time<'2013-03-15 03:00... | 78.143317 | 166 | 0.68025 |
543b29dd098b0e15c0ceac7e8dddef016251d811 | 503 | go | Go | internal/homan/domain/usecase/remove.go | anantadwi13/homan | 302e4e10b4a89a86143c647c15bb145b06fc54e8 | [
"MIT"
] | null | null | null | internal/homan/domain/usecase/remove.go | anantadwi13/homan | 302e4e10b4a89a86143c647c15bb145b06fc54e8 | [
"MIT"
] | null | null | null | internal/homan/domain/usecase/remove.go | anantadwi13/homan | 302e4e10b4a89a86143c647c15bb145b06fc54e8 | [
"MIT"
] | null | null | null | package usecase
import (
"context"
)
type UcRemoveParams struct {
Name string
}
type UcRemove interface {
Execute(ctx context.Context, params *UcRemoveParams) Error
}
var (
ErrorUcRemoveSystemNotRunning = NewErrorUser("system service is not running")
ErrorUcRemoveParamsNotFound = NewErrorUser("please specify... | 23.952381 | 96 | 0.791252 |
6e6a911db27cdbdfab553f775e0d9a2ad69387de | 387 | kt | Kotlin | app/src/main/java/com/grumpyshoe/lumos/core/data/src/preferences/PreferenceManager.kt | lumos-app/lumos-android | 376a6363c669a324b52c6728ac6e834144a8e863 | [
"MIT"
] | null | null | null | app/src/main/java/com/grumpyshoe/lumos/core/data/src/preferences/PreferenceManager.kt | lumos-app/lumos-android | 376a6363c669a324b52c6728ac6e834144a8e863 | [
"MIT"
] | null | null | null | app/src/main/java/com/grumpyshoe/lumos/core/data/src/preferences/PreferenceManager.kt | lumos-app/lumos-android | 376a6363c669a324b52c6728ac6e834144a8e863 | [
"MIT"
] | null | null | null | package com.grumpyshoe.lumos.core.data.src.preferences
/**
* interface for PreferenceManager
*
* Created by Thomas Cirksena on 10.06.19.
* Copyright © 2019 Thomas Cirksena. All rights reserved.
*/
interface PreferenceManager {
fun setServerAddress(baseUrl: String)
fun getServerAddress(): String?
fun g... | 27.642857 | 57 | 0.744186 |
32e0e5e175e778f2919046cb88f4d9b83a9c54e6 | 1,525 | swift | Swift | AILogManagerDemo/AILogManagerDemo/AILogManager/AILogger.swift | tiantiankaixin/MBlogDemo | 939852f505e1ee39468359388926f30e4617f827 | [
"MIT"
] | 5 | 2020-06-04T07:26:36.000Z | 2021-12-08T08:59:09.000Z | AILogManagerDemo/AILogManagerDemo/AILogManager/AILogger.swift | tiantiankaixin/MBlogDemo | 939852f505e1ee39468359388926f30e4617f827 | [
"MIT"
] | null | null | null | AILogManagerDemo/AILogManagerDemo/AILogManager/AILogger.swift | tiantiankaixin/MBlogDemo | 939852f505e1ee39468359388926f30e4617f827 | [
"MIT"
] | 4 | 2020-06-08T08:09:54.000Z | 2021-05-19T11:08:06.000Z | //
// AILogger.swift
// AILogManagerDemo
//
// Created by mal on 2020/5/21.
// Copyright © 2020 mal. All rights reserved.
//
import Foundation
import CocoaLumberjack
private let kLogPrefix = "AILog"
protocol AILoggerProtocol {
static func directoryPath() -> String?
static func logFilesCount() -> UInt
... | 25.416667 | 200 | 0.645902 |
39d8146eece753c3f584a5490496625de86e6021 | 937 | js | JavaScript | build/views/mergeOptions.js | bjnortier/triptych | 3f61ac1b74842ac48d8a1eaef9e71becbcfb1e8a | [
"MIT"
] | null | null | null | build/views/mergeOptions.js | bjnortier/triptych | 3f61ac1b74842ac48d8a1eaef9e71becbcfb1e8a | [
"MIT"
] | null | null | null | build/views/mergeOptions.js | bjnortier/triptych | 3f61ac1b74842ac48d8a1eaef9e71becbcfb1e8a | [
"MIT"
] | null | null | null | 'use strict';
var keys = require('lodash.keys');
module.exports = function (a, b, criteria) {
criteria = criteria || {};
var concatenations = criteria.concatenations || [];
var result = {};
concatenations.forEach(function (key) {
if (a[key] && b[key]) {
result[key] = a[key] + ' ' + b[key];
} el... | 24.657895 | 57 | 0.530416 |
11c3c96a34780f5e315d74b34076ffab1bf8a2f3 | 224 | sql | SQL | tests/testdata/provider/testdata_pg_hstore.sql | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/testdata/provider/testdata_pg_hstore.sql | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/testdata/provider/testdata_pg_hstore.sql | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z |
CREATE EXTENSION IF NOT EXISTS hstore;
DROP TABLE IF EXISTS qgis_test.dict;
CREATE TABLE qgis_test.dict
(
pk SERIAL NOT NULL PRIMARY KEY,
value hstore
);
INSERT INTO qgis_test.dict(value)
VALUES
('a=>b,1=>2');
| 14.933333 | 38 | 0.714286 |
aff7c3f1c6048a1e36ebbd7a35699702a2fb5263 | 991 | swift | Swift | igen_templates/login/UseCaseMock.swift | tuan188/MGiGen | 8aa505255b95173adbebe7d1e90f83269bd3343f | [
"MIT"
] | 15 | 2019-04-04T00:57:58.000Z | 2022-02-09T02:35:48.000Z | igen_templates/login/UseCaseMock.swift | tuan188/MGiGen | 8aa505255b95173adbebe7d1e90f83269bd3343f | [
"MIT"
] | null | null | null | igen_templates/login/UseCaseMock.swift | tuan188/MGiGen | 8aa505255b95173adbebe7d1e90f83269bd3343f | [
"MIT"
] | 8 | 2019-05-17T02:39:13.000Z | 2021-12-01T07:17:24.000Z | @testable import {{ project }}
import Dto
import RxSwift
import ValidatedPropertyKit
final class {{ name }}UseCaseMock: {{ name }}UseCaseType {
// MARK: - validateUserName
var validateUserNameCalled = false
var validateUserNameReturnValue = ValidationResult.success(())
func validateUserN... | 26.078947 | 67 | 0.673058 |
0b5e60b401ce650ac7ee0444f30c678dd26b85f7 | 6,554 | swift | Swift | arcgis-ios-sdk-samples/Scenes/Get elevation at a point/GetElevationPointViewController.swift | mlph-etorozco/gardensbythebay-arcgis-ios | 559f4e171cca60e7ef4a3018356220205c32e2b8 | [
"Apache-2.0"
] | 292 | 2015-01-06T19:14:21.000Z | 2022-03-23T02:35:38.000Z | arcgis-ios-sdk-samples/Scenes/Get elevation at a point/GetElevationPointViewController.swift | feifei-shen/arcgis-runtime-samples-ios | 6967286dbe41bd389f18b9de32b92c4374920a70 | [
"Apache-2.0"
] | 542 | 2015-01-05T23:15:30.000Z | 2022-03-22T17:13:59.000Z | arcgis-ios-sdk-samples/Scenes/Get elevation at a point/GetElevationPointViewController.swift | feifei-shen/arcgis-runtime-samples-ios | 6967286dbe41bd389f18b9de32b92c4374920a70 | [
"Apache-2.0"
] | 359 | 2015-01-10T13:55:34.000Z | 2022-03-16T14:29:34.000Z | // Copyright 2019 Esri.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,... | 43.986577 | 159 | 0.675465 |
e153949864508c3793ba5909adf1667096dd6b8f | 594 | kt | Kotlin | app/src/main/java/com/ainsigne/travelappdemo/viewmodels/VenueItemsViewModelFactory.kt | cominteract/TravelAppDemoAndroid | 5f2332f8ac4781c7dc52444432b77c3133cf5744 | [
"MIT"
] | null | null | null | app/src/main/java/com/ainsigne/travelappdemo/viewmodels/VenueItemsViewModelFactory.kt | cominteract/TravelAppDemoAndroid | 5f2332f8ac4781c7dc52444432b77c3133cf5744 | [
"MIT"
] | null | null | null | app/src/main/java/com/ainsigne/travelappdemo/viewmodels/VenueItemsViewModelFactory.kt | cominteract/TravelAppDemoAndroid | 5f2332f8ac4781c7dc52444432b77c3133cf5744 | [
"MIT"
] | null | null | null | package com.ainsigne.travelappdemo.viewmodels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.ainsigne.travelappdemo.data.VenueItemsRepository
import com.ainsigne.travelappdemo.interfaces.ItemRepository
/**
* Factory for creating a [VenueItemsViewModel] with a constructor ... | 33 | 103 | 0.813131 |
56d05ef03c12938cc7381edb5785cc3b3cd90ba0 | 2,044 | ts | TypeScript | packages/compiler-dom/src/transforms/Transition.ts | btea/vue-next | 0cf9ae62be21a6180f909e03091f087254ae3e52 | [
"MIT"
] | 2,198 | 2022-01-17T10:25:48.000Z | 2022-03-31T16:41:11.000Z | packages/compiler-dom/src/transforms/Transition.ts | btea/vue-next | 0cf9ae62be21a6180f909e03091f087254ae3e52 | [
"MIT"
] | 486 | 2022-01-17T10:59:41.000Z | 2022-03-31T10:28:18.000Z | packages/compiler-dom/src/transforms/Transition.ts | btea/vue-next | 0cf9ae62be21a6180f909e03091f087254ae3e52 | [
"MIT"
] | 555 | 2022-01-17T12:55:31.000Z | 2022-03-31T14:13:40.000Z | import {
NodeTransform,
NodeTypes,
ElementTypes,
ComponentNode,
IfBranchNode
} from '@vue/compiler-core'
import { TRANSITION } from '../runtimeHelpers'
import { createDOMCompilerError, DOMErrorCodes } from '../errors'
export const transformTransition: NodeTransform = (node, context) => {
if (
node.type... | 28.788732 | 77 | 0.559198 |
95950cf4f48799fb06c27c094d5b247eff4fa60b | 1,694 | swift | Swift | Calendule/MainView.swift | alexph9/CalenduleAPP | a5973c26d31124b1954fbe5215bfe6af019d7cc8 | [
"MIT"
] | null | null | null | Calendule/MainView.swift | alexph9/CalenduleAPP | a5973c26d31124b1954fbe5215bfe6af019d7cc8 | [
"MIT"
] | null | null | null | Calendule/MainView.swift | alexph9/CalenduleAPP | a5973c26d31124b1954fbe5215bfe6af019d7cc8 | [
"MIT"
] | null | null | null | //
// MainView.swift
// Calendule
//
// Created by Alex on 5/9/17.
// Copyright © 2017 Talentum. All rights reserved.
//
import UIKit
import FirebaseAuth
class MainView: UIViewController {
@IBOutlet weak var logOutButton: UIButton!
override func viewDidLoad() {
super.viewDidLoad()
/... | 27.770492 | 106 | 0.614522 |
e6f7458d9fae3817e01e6c495a9672a40c8a98f8 | 200 | lua | Lua | scripts/doors/locations/AcuityLakefront.lua | SaltContainer/PokemonPlatinumMapRandoTracker | 56238f03fc862f075dae5b064bc492714f094f7f | [
"MIT"
] | null | null | null | scripts/doors/locations/AcuityLakefront.lua | SaltContainer/PokemonPlatinumMapRandoTracker | 56238f03fc862f075dae5b064bc492714f094f7f | [
"MIT"
] | 1 | 2022-01-14T01:36:35.000Z | 2022-01-16T23:18:22.000Z | scripts/doors/locations/AcuityLakefront.lua | SaltContainer/PokemonPlatinumMapRandoTracker | 56238f03fc862f075dae5b064bc492714f094f7f | [
"MIT"
] | null | null | null | local acuity_lakefront_0 = DoorSlot("acuity_lakefront","0")
local acuity_lakefront_0_hub = DoorSlotHub("acuity_lakefront","0",acuity_lakefront_0)
acuity_lakefront_0:setHubIcon(acuity_lakefront_0_hub)
| 50 | 85 | 0.855 |
22d57b6305fc46c5dc2410c753d32601420db007 | 629 | h | C | Sudoku_CLI/Sudoku.h | Simik31/Sudoku_CLI | 4e87e29ae8b912fb52d3d2db68c9205b270049e1 | [
"WTFPL"
] | null | null | null | Sudoku_CLI/Sudoku.h | Simik31/Sudoku_CLI | 4e87e29ae8b912fb52d3d2db68c9205b270049e1 | [
"WTFPL"
] | null | null | null | Sudoku_CLI/Sudoku.h | Simik31/Sudoku_CLI | 4e87e29ae8b912fb52d3d2db68c9205b270049e1 | [
"WTFPL"
] | null | null | null | #pragma once
#ifndef SUDOKU_H
#define SUDOKU_H
#include <vector>
#include <Windows.h>
class Sudoku
{
public:
Sudoku();
Sudoku(const std::vector<int>& initial_state);
bool is_solved();
bool is_filled();
int increment(const COORD& coord, const int value = 1, const bool cls = true);
static int get_state(const Sud... | 20.966667 | 83 | 0.72973 |
b5f81c343b0e24261b3b783196948064518402de | 6,974 | rs | Rust | backend/server/src/state.rs | hgzimmerman/SWEN344-web-project | 39c7f51d43646c1cf7d8ba4686195ef2c23a2a43 | [
"MIT"
] | 1 | 2020-12-28T01:44:40.000Z | 2020-12-28T01:44:40.000Z | backend/server/src/state.rs | hgzimmerman/SWEN344-web-project | 39c7f51d43646c1cf7d8ba4686195ef2c23a2a43 | [
"MIT"
] | 72 | 2019-01-26T14:34:11.000Z | 2019-04-30T00:27:21.000Z | backend/server/src/state.rs | hgzimmerman/SWEN344-web-project | 39c7f51d43646c1cf7d8ba4686195ef2c23a2a43 | [
"MIT"
] | null | null | null | //! Represents the shared server resources that all requests may utilize.
use crate::{error::Error, server_auth::secret_filter};
use apply::Apply;
use authorization::Secret;
use egg_mode::KeyPair;
use hyper::{
client::{connect::dns::GaiResolver, HttpConnector},
Body, Client,
};
use hyper_tls::HttpsConnector;
u... | 38.530387 | 139 | 0.640379 |
03238bae7fd8ef8cfd2a51fbb2836df0d34129e6 | 485 | asm | Assembly | Microprocessor_Interfacing_CSE_2006/Applications_Lab_10/divisibility.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | 2 | 2021-11-18T05:30:24.000Z | 2022-03-07T06:28:06.000Z | Microprocessor_Interfacing_CSE_2006/Applications_Lab_10/divisibility.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | null | null | null | Microprocessor_Interfacing_CSE_2006/Applications_Lab_10/divisibility.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | 3 | 2021-10-14T01:10:34.000Z | 2022-03-18T14:33:52.000Z | ASSUME CS:CODE,DS:DATA
DATA SEGMENT
arr db 31d, 23d, 61d, 23d, 44d, 00d
count db 00h
DATA ENDS
CODE SEGMENT
START:
mov ax,DATA
mov ds,ax
mov cx,06h
mov bl,00h
mov bh,04d
mov si, OFFSET arr
L1:
mov ax,0000h
mov al,[si]
add si,01h
div bh
cmp ah,0... | 15.645161 | 39 | 0.527835 |
1613963ca0d2273372c4d6ee11c717de43a248a1 | 1,336 | h | C | Source/santad/Logs/SNTSimpleMaildir.h | khangthk/santa | a65c91874b00a325b91c65f3612828b7f242fa39 | [
"Apache-2.0"
] | null | null | null | Source/santad/Logs/SNTSimpleMaildir.h | khangthk/santa | a65c91874b00a325b91c65f3612828b7f242fa39 | [
"Apache-2.0"
] | null | null | null | Source/santad/Logs/SNTSimpleMaildir.h | khangthk/santa | a65c91874b00a325b91c65f3612828b7f242fa39 | [
"Apache-2.0"
] | null | null | null | /// Copyright 2021 Google Inc. 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... | 33.4 | 79 | 0.730539 |
c69fef60b5c19c6680daf2380323be5cd3081dad | 1,441 | sql | SQL | Portal/Server/Head/src/Service/DataAccessLayer/UpgradeScripts/0016.sql | jackobo/jackobs-code | d028554dfc14b735664737043ad58143a78903ef | [
"MIT"
] | null | null | null | Portal/Server/Head/src/Service/DataAccessLayer/UpgradeScripts/0016.sql | jackobo/jackobs-code | d028554dfc14b735664737043ad58143a78903ef | [
"MIT"
] | 3 | 2022-02-19T06:21:43.000Z | 2022-03-02T02:32:16.000Z | Portal/Server/Head/src/Service/DataAccessLayer/UpgradeScripts/0016.sql | jackobo/jackobs-code | d028554dfc14b735664737043ad58143a78903ef | [
"MIT"
] | null | null | null | sp_rename 'GameVersion_DownloadUri', 'GameVersion_Regulation'
GO
sp_rename 'GamingComponentVersion_DownloadUri', 'GamingComponentVersion_Regulation'
GO
ALTER PROCEDURE [dbo].[GetGamesVersionsAtDate] (@date datetime)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statem... | 45.03125 | 149 | 0.673838 |
ad08fc5f631a6f411e1dec2737124a4dc6464f47 | 4,580 | rs | Rust | src/sys/statvfs.rs | srikwit/nix | 3492e9f50605f8f3352400bfe5276722967bd174 | [
"MIT"
] | null | null | null | src/sys/statvfs.rs | srikwit/nix | 3492e9f50605f8f3352400bfe5276722967bd174 | [
"MIT"
] | null | null | null | src/sys/statvfs.rs | srikwit/nix | 3492e9f50605f8f3352400bfe5276722967bd174 | [
"MIT"
] | null | null | null | //! Get filesystem statistics
//!
//! See [the man pages](http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstatvfs.html)
//! for more details.
use std::mem;
use std::os::unix::io::AsRawFd;
use libc::{self, c_ulong};
use errno::Errno;
use {NixPath, Result};
libc_bitflags!(
/// File system mount Flags
... | 28.987342 | 135 | 0.596507 |
e9b2d4f1d8f53ce5050975bd2b1bd07d9dd5e1a0 | 21,464 | swift | Swift | VernierCaliper2/VCVernierView.swift | jiunwei/VernierCaliper2 | 2b0726cebe41cf63bbb7eb9b33617848e5dd4e09 | [
"Unlicense",
"MIT"
] | null | null | null | VernierCaliper2/VCVernierView.swift | jiunwei/VernierCaliper2 | 2b0726cebe41cf63bbb7eb9b33617848e5dd4e09 | [
"Unlicense",
"MIT"
] | null | null | null | VernierCaliper2/VCVernierView.swift | jiunwei/VernierCaliper2 | 2b0726cebe41cf63bbb7eb9b33617848e5dd4e09 | [
"Unlicense",
"MIT"
] | null | null | null | //
// VCVernierView.swift
// VernierCaliper2
//
// Created by Jiun Wei Chia on 30/1/17.
// Copyright © 2017 Jiun Wei Chia. All rights reserved.
//
import UIKit
@IBDesignable class VCVernierView: UIView {
// MARK: - Type definitions
enum Precision: String {
case point01 = "0.01 cm"
c... | 38.884058 | 154 | 0.580367 |
9434062ab51402dfb42801c0b8f937e7dfadc7e4 | 512 | swift | Swift | LLWebViewController/Classes/LLBridgeWebViewController.swift | ZHK1024/LLWebViewController | 1f3ac4efb6e050e2caa9358770113e7b4712a2ba | [
"MIT"
] | null | null | null | LLWebViewController/Classes/LLBridgeWebViewController.swift | ZHK1024/LLWebViewController | 1f3ac4efb6e050e2caa9358770113e7b4712a2ba | [
"MIT"
] | null | null | null | LLWebViewController/Classes/LLBridgeWebViewController.swift | ZHK1024/LLWebViewController | 1f3ac4efb6e050e2caa9358770113e7b4712a2ba | [
"MIT"
] | null | null | null | //
// LLBridgeWebViewController.swift
// LLBridgeWebViewController
//
// Created by ZHK on 2021/5/6.
//
//
import UIKit
open class LLBridgeWebViewController<B: LLWebViewBridgable>: LLWebViewController {
private lazy var bridge = B(webView: webView)
open override func viewDidLoad() {
super.v... | 20.48 | 82 | 0.671875 |
16a7edb7930d43c729edd6213d5fcebd69768f77 | 6,595 | c | C | src/peripherals/ds18x20.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 3 | 2020-05-01T20:26:22.000Z | 2021-11-11T10:04:31.000Z | src/peripherals/ds18x20.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 13 | 2020-04-19T22:28:31.000Z | 2021-02-03T21:52:34.000Z | src/peripherals/ds18x20.c | qtoggle/espqtoggle | 265d5749975908403aa0f1b66148e0ee0c2bfa68 | [
"Apache-2.0"
] | 3 | 2019-07-27T15:08:09.000Z | 2021-04-21T05:13:11.000Z |
/*
* Copyright 2019 The qToggle Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 27.028689 | 109 | 0.640637 |
70a547c889e4b5b48eca378d5aad56ca8199089f | 142 | h | C | AudioFile_Wizard/AudioFile_Wizard/stdafx.h | LentilSoup/-Place-name- | 1cec3a3f08275e1b4745ab7943d9c7d259458905 | [
"MIT"
] | null | null | null | AudioFile_Wizard/AudioFile_Wizard/stdafx.h | LentilSoup/-Place-name- | 1cec3a3f08275e1b4745ab7943d9c7d259458905 | [
"MIT"
] | null | null | null | AudioFile_Wizard/AudioFile_Wizard/stdafx.h | LentilSoup/-Place-name- | 1cec3a3f08275e1b4745ab7943d9c7d259458905 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <experimental/filesystem>
#include <ostream>
| 17.75 | 34 | 0.760563 |
14778b72a4fd28ec085e589ae14717db68df20e7 | 10,865 | sql | SQL | Making RLS and DDM Work for You/Demos/RLSAndDDM/RLSAndDDM/DDM_Demo01.sql | johnqmartin/Community-Sessions | 84905475e12500d12f9d6545d094628334243448 | [
"MIT"
] | 1 | 2020-10-27T19:14:47.000Z | 2020-10-27T19:14:47.000Z | Making RLS and DDM Work for You/Demos/RLSAndDDM/RLSAndDDM/DDM_Demo01.sql | johnqmartin/Community-Sessions | 84905475e12500d12f9d6545d094628334243448 | [
"MIT"
] | null | null | null | Making RLS and DDM Work for You/Demos/RLSAndDDM/RLSAndDDM/DDM_Demo01.sql | johnqmartin/Community-Sessions | 84905475e12500d12f9d6545d094628334243448 | [
"MIT"
] | 2 | 2018-02-21T09:30:12.000Z | 2020-10-27T19:14:48.000Z | -------------------------------------------------------------
------------------------ DDM Demo 01 ------------------------
-------------------------------------------------------------
--// Create a local user to execute in the context
--// as for the purposes of the demo.
CREATE USER [MaskedUser]
WITHOUT LOGIN
;
G... | 26.893564 | 80 | 0.667556 |
bb7c838586d528abd3ae0bb7eaa7682412d1668b | 56 | rs | Rust | src/chip8/mod.rs | SpiritLooper/Chip8-emulator | 406f3312a2956c78337b8767989d317d9f63318e | [
"WTFPL"
] | null | null | null | src/chip8/mod.rs | SpiritLooper/Chip8-emulator | 406f3312a2956c78337b8767989d317d9f63318e | [
"WTFPL"
] | null | null | null | src/chip8/mod.rs | SpiritLooper/Chip8-emulator | 406f3312a2956c78337b8767989d317d9f63318e | [
"WTFPL"
] | null | null | null | pub mod cpu;
pub mod rom;
mod font;
mod gpu;
mod input;
| 9.333333 | 12 | 0.696429 |
2812b634046958a93de87b3068cf934cf002f819 | 240 | rb | Ruby | lib/diplomacy/order/support.rb | jreut/diplomacy | 83f7e706f8b0dfb3d074c6618acd34abb2d3a22c | [
"MIT"
] | null | null | null | lib/diplomacy/order/support.rb | jreut/diplomacy | 83f7e706f8b0dfb3d074c6618acd34abb2d3a22c | [
"MIT"
] | null | null | null | lib/diplomacy/order/support.rb | jreut/diplomacy | 83f7e706f8b0dfb3d074c6618acd34abb2d3a22c | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Diplomacy
module Order
class Support # :nodoc:
include Anima.new :unit, :at, :target
def to_s
@to_s ||= "#{unit.to_s[0].upcase} #{at} S #{target}"
end
end
end
end
| 17.142857 | 60 | 0.591667 |
0272a689599088425b398c8538e4aa7b6b521ec4 | 356 | h | C | src/Nodes/Trigger/ResetTrigger.h | potrepka/DSP | 0ffe314196efcd016cdb4ffff27ada0f326e50c3 | [
"MIT"
] | 1 | 2020-11-17T20:29:45.000Z | 2020-11-17T20:29:45.000Z | src/Nodes/Trigger/ResetTrigger.h | nspotrepka/DSP | 0ffe314196efcd016cdb4ffff27ada0f326e50c3 | [
"MIT"
] | null | null | null | src/Nodes/Trigger/ResetTrigger.h | nspotrepka/DSP | 0ffe314196efcd016cdb4ffff27ada0f326e50c3 | [
"MIT"
] | null | null | null | #pragma once
#include "../Core/Producer.h"
namespace dsp {
class ResetTrigger : public Producer {
public:
ResetTrigger();
void reset();
void reset(size_t channel);
protected:
void setNumOutputChannelsNoLock(size_t numChannels) override;
void processNoLock() override;
private:
std::vector... | 14.833333 | 65 | 0.69382 |
d5b18a91683c505919f3d1872da295eed7313986 | 575 | c | C | latex/src/av7/z3.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | 2 | 2019-05-23T20:41:05.000Z | 2019-05-24T13:51:28.000Z | latex/src/av7/z3.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | null | null | null | latex/src/av7/z3.c | kikojumkd/SP | 217cf66bdce28342b211198bac28d4571311265c | [
"MIT"
] | null | null | null | #include <stdio.h>
int e_prost(int n) {
int i;
if (n < 4)
return 1;
else if ((n % 2) == 0)
return 0;
else {
i = 3;
while (i * i <= n) {
if (n % i == 0)
return 0;
i += 2;
}
}
return 1;
}
int zbir_cifri(int n) {
int zbir = 0;
while (n > 0) {
zbir += (n % 10);
n /= 10;
}
return zbir;
}
in... | 15.131579 | 69 | 0.509565 |
e4764ea7f2588d515a7fe06765fdfbf6dc4885a5 | 901 | swift | Swift | PDFToKeynote/Libraries/ModernUIKit/Extensions/Foundation/CGSize+Math.swift | LumingYin/PDFToKeynote-iOS | d342a5380d722c961429211557bc299a5f58e74e | [
"MIT"
] | 8 | 2019-06-02T14:53:15.000Z | 2022-03-11T01:08:31.000Z | PDFToKeynote/Libraries/ModernUIKit/Extensions/Foundation/CGSize+Math.swift | LumingYin/PDFToKeynote-iOS | d342a5380d722c961429211557bc299a5f58e74e | [
"MIT"
] | 1 | 2020-06-01T09:36:49.000Z | 2020-06-01T09:36:49.000Z | PDFToKeynote/Libraries/ModernUIKit/Extensions/Foundation/CGSize+Math.swift | LumingYin/PDFToKeynote-iOS | d342a5380d722c961429211557bc299a5f58e74e | [
"MIT"
] | 4 | 2019-07-18T23:00:02.000Z | 2022-02-10T10:36:42.000Z | //
// CGSize+Math.swift
// ModernUIKit
//
// Created by Cliff Panos on 1/7/19.
// Copyright © 2019 Clifford Panos. All rights reserved.
//
import CoreGraphics
extension CGSize {
///
/// Whether or not the size and the receiver have matching dimensions regardless of orientation
/// Returns two if ... | 22.525 | 107 | 0.617092 |
a5548b951899328459e4744cab1e1b55ad8090c7 | 9,768 | sql | SQL | db/sistem_siperma.sql | Firofa/siperma | 294743c9842b8efaa2399817929cd7bed93e5f45 | [
"MIT"
] | 1 | 2021-11-23T06:40:00.000Z | 2021-11-23T06:40:00.000Z | db/sistem_siperma.sql | Firofa/siperma | 294743c9842b8efaa2399817929cd7bed93e5f45 | [
"MIT"
] | null | null | null | db/sistem_siperma.sql | Firofa/siperma | 294743c9842b8efaa2399817929cd7bed93e5f45 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 17, 2020 at 08:28 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 33.337884 | 199 | 0.687858 |
22a5c17346a17b65dd5db8525464e1f498f84f93 | 23 | html | HTML | src/app/modules/courses/components/comments/comments.component.html | youssefdridi95/aloui | 9c9274a9fb75d38b2510f451749a40df69a45341 | [
"MIT"
] | 1 | 2020-11-07T05:04:07.000Z | 2020-11-07T05:04:07.000Z | src/app/modules/courses/components/comments/comments.component.html | youssefdridi95/aloui | 9c9274a9fb75d38b2510f451749a40df69a45341 | [
"MIT"
] | 10 | 2020-07-26T08:16:34.000Z | 2020-07-26T08:26:01.000Z | src/app/modules/courses/components/comments/comments.component.html | youssefdridi95/aloui | 9c9274a9fb75d38b2510f451749a40df69a45341 | [
"MIT"
] | 2 | 2020-10-18T17:54:19.000Z | 2020-10-18T17:54:48.000Z | <p>comments works!</p>
| 11.5 | 22 | 0.652174 |
b2feb55d6f844492c6231b317cce3362c8ea498f | 69 | py | Python | Bronze/Bronze_V/17496.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/17496.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | Bronze/Bronze_V/17496.py | masterTyper/baekjoon_solved_ac | b9ce14d9bdaa5b5b06735ad075fb827de9f44b9c | [
"MIT"
] | null | null | null | N, T, C, P = map(int, input().split())
print(((N - 1) // T) * C * P) | 23 | 38 | 0.434783 |
4a4bc248e97d268720af8ab30e49f4ce7289297b | 4,073 | js | JavaScript | src/client/src/containers/Game/FinishPage.js | Ektoplasme/Red-Tetris | 3fdb78564caddf0703bebb17747b79b3314dead7 | [
"MIT"
] | null | null | null | src/client/src/containers/Game/FinishPage.js | Ektoplasme/Red-Tetris | 3fdb78564caddf0703bebb17747b79b3314dead7 | [
"MIT"
] | null | null | null | src/client/src/containers/Game/FinishPage.js | Ektoplasme/Red-Tetris | 3fdb78564caddf0703bebb17747b79b3314dead7 | [
"MIT"
] | null | null | null | import React from 'react'
import { withStyles } from '@material-ui/styles'
import {GameStyle} from '../../styles/Game-style.js'
import {Block, colorTab} from '../../components/Block.js'
export const FinishComponent = ({classes, chat, chatInput, setChatInput, level, score, rows, resetGame, gameState, solo, winHeight, r... | 35.112069 | 295 | 0.554137 |
652b20126adf656e7c0e377add67d9a07ddfd0b2 | 1,175 | swift | Swift | RxLocation/Services/Location/LocationServiceProtocol.swift | vadimue/RxLocation | 8053d9eabe0d5c2953393c83dc2fdd21f786e4c0 | [
"MIT"
] | 1 | 2018-07-03T14:49:21.000Z | 2018-07-03T14:49:21.000Z | RxLocation/Services/Location/LocationServiceProtocol.swift | vadimue/RxLocation | 8053d9eabe0d5c2953393c83dc2fdd21f786e4c0 | [
"MIT"
] | null | null | null | RxLocation/Services/Location/LocationServiceProtocol.swift | vadimue/RxLocation | 8053d9eabe0d5c2953393c83dc2fdd21f786e4c0 | [
"MIT"
] | null | null | null | import Foundation
import CoreLocation
import RxSwift
protocol LocationServiceProtocol {
typealias LocationManagerConfigurator = (CLLocationManager) -> Void
func location(_ managerFactory: LocationManagerConfigurator?) -> Observable<CLLocation>
func singleLocation(_ managerFactory: LocationManagerConfigurat... | 35.606061 | 110 | 0.761702 |
b99c3d5c16f244bdab4a73b9bb62a0836a880e29 | 287 | c | C | estudando_c/creating_header/my_head_main.c | rodrigowe1988/basecamp_42 | 6861755ea7e035a6156129ca7c16c6006b51f172 | [
"MIT"
] | null | null | null | estudando_c/creating_header/my_head_main.c | rodrigowe1988/basecamp_42 | 6861755ea7e035a6156129ca7c16c6006b51f172 | [
"MIT"
] | null | null | null | estudando_c/creating_header/my_head_main.c | rodrigowe1988/basecamp_42 | 6861755ea7e035a6156129ca7c16c6006b51f172 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "my_head.h"
int main()
{
add(4, 6);
/*This calls add function written in my_head.h
and therefore no compilation error.*/
multiply(5, 5);
// Same for the multiply function in my_head.h
printf("BYE!See you Soon");
return 0;
} | 20.5 | 52 | 0.623693 |
9ad5c07eb1447c1a9182b541856fc79f00835cec | 913 | css | CSS | data/usercss/63221.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/63221.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/63221.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name S4L-Alaplaya Korea-BG
@namespace USO Archive
@author Beffel
@description `If you hate the new s4-league-season3-blade-background at alaplaya.net, than use this to replace it with the korean style`
@version 20120328.8.6
@license NO-REDISTRIBUTION
@preprocess... | 60.866667 | 316 | 0.700986 |
750bfac9e04d0e74faa461d354a530350249e8f7 | 380 | h | C | casa-oop-polymorphism/BaseViewController.h | objbee/casa-oop-polymorphism | 7c5f8aa1e0e58d55c060949274fda1ee3204a7d0 | [
"MIT"
] | null | null | null | casa-oop-polymorphism/BaseViewController.h | objbee/casa-oop-polymorphism | 7c5f8aa1e0e58d55c060949274fda1ee3204a7d0 | [
"MIT"
] | null | null | null | casa-oop-polymorphism/BaseViewController.h | objbee/casa-oop-polymorphism | 7c5f8aa1e0e58d55c060949274fda1ee3204a7d0 | [
"MIT"
] | null | null | null | //
// BaseViewController.h
// casa-oop-polymorphism
//
// Created by yuanye on 2017/7/11.
// Copyright © 2017年 yuanye. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol BaseViewControllerProtocol <NSObject>
@optional
- (void)log;
@end
@interface BaseViewController : UIViewController
// 子类方法重写父类方法时必须使... | 15.2 | 50 | 0.736842 |
71b82fe2e6b24844c1446ea48860dacffa6b7e69 | 157 | ts | TypeScript | dist/users/dtos/update-user.dto.d.ts | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | dist/users/dtos/update-user.dto.d.ts | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | dist/users/dtos/update-user.dto.d.ts | xitao-moura/absoluta-api | a84886d81d8ac3e8e149d1e350c91bb90397cb0e | [
"MIT"
] | null | null | null | export declare class UpdateUserDto {
nome: string;
email: string;
password: string;
tipo: string;
status: string;
updatedAt: Date;
}
| 17.444444 | 36 | 0.643312 |
d146f5aab7b7a11dc3c28e6060f4bedfeba1db1c | 19,774 | sql | SQL | java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/lang/union.sql | addstone/derby | 4253dcf4aa37dc64cf7235d494cd2f00f72e678a | [
"Apache-2.0"
] | 282 | 2015-01-06T02:30:11.000Z | 2022-03-23T06:40:17.000Z | java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/lang/union.sql | 7k8m/derby | 4253dcf4aa37dc64cf7235d494cd2f00f72e678a | [
"Apache-2.0"
] | null | null | null | java/org.apache.derby.tests/org/apache/derbyTesting/functionTests/tests/lang/union.sql | 7k8m/derby | 4253dcf4aa37dc64cf7235d494cd2f00f72e678a | [
"Apache-2.0"
] | 163 | 2015-01-07T00:07:53.000Z | 2022-03-07T08:35:03.000Z | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License")... | 38.545809 | 108 | 0.689137 |
b2f1d9ab07a35f78efc77316abd28bebe9c01e76 | 4,004 | py | Python | tests/test_nameko_prometheus.py | alfaro28/nameko-prometheus | 0f50006b1510eef375712a1b7c4bd00d5f08eb1b | [
"Apache-2.0"
] | null | null | null | tests/test_nameko_prometheus.py | alfaro28/nameko-prometheus | 0f50006b1510eef375712a1b7c4bd00d5f08eb1b | [
"Apache-2.0"
] | null | null | null | tests/test_nameko_prometheus.py | alfaro28/nameko-prometheus | 0f50006b1510eef375712a1b7c4bd00d5f08eb1b | [
"Apache-2.0"
] | null | null | null | import pytest
from nameko.events import EventDispatcher, event_handler
from nameko.rpc import rpc
from nameko.testing.services import entrypoint_hook, entrypoint_waiter
from nameko.web.handlers import http
from prometheus_client import REGISTRY, Counter
from nameko_prometheus import PrometheusMetrics
@pytest.fixture... | 33.932203 | 108 | 0.727273 |
bcadfeee49382d5f9a0b72089c70c1bde2e0675c | 2,223 | js | JavaScript | src/pages/blog.js | juancarloselorriaga/dnl | cb603ef3b2f61bfde1b53c40679251abed725f3e | [
"MIT"
] | 1 | 2019-10-05T17:54:30.000Z | 2019-10-05T17:54:30.000Z | src/pages/blog.js | juancarloselorriaga/dnl | cb603ef3b2f61bfde1b53c40679251abed725f3e | [
"MIT"
] | null | null | null | src/pages/blog.js | juancarloselorriaga/dnl | cb603ef3b2f61bfde1b53c40679251abed725f3e | [
"MIT"
] | null | null | null | import React from "react"
import { graphql, useStaticQuery } from "gatsby"
import styled from "styled-components"
import Layout from "../components/layout/layout.component"
import Hero from "../components/hero/hero.component"
import HeroTitle from "../components/hero-title/hero-title.component"
import Subscribe from "... | 25.551724 | 88 | 0.582996 |
6548c87fb2cf655fda082e4ff6638d4c0183f910 | 3,477 | kt | Kotlin | src/main/kotlin/com/github/devcordde/devcordbot/commands/owners/CleanupCommand.kt | T1Il/DevcordBot | f7c48cfd6421d847b4ad75e07661ed2417c9a4a7 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/github/devcordde/devcordbot/commands/owners/CleanupCommand.kt | T1Il/DevcordBot | f7c48cfd6421d847b4ad75e07661ed2417c9a4a7 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/github/devcordde/devcordbot/commands/owners/CleanupCommand.kt | T1Il/DevcordBot | f7c48cfd6421d847b4ad75e07661ed2417c9a4a7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Daniel Scherf & Michael Rittmeister & Julian König
*
* 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
*... | 36.989362 | 110 | 0.657463 |
2b62c2c5dd9bc7a54501bb31912c50937f9203c9 | 1,352 | swift | Swift | Exampel/DemoController.swift | wufeiyue/TLPageView | 05206ab5649a04226199028f92a323dcf24a485c | [
"MIT"
] | 2 | 2018-07-12T15:19:53.000Z | 2018-12-13T03:49:00.000Z | Exampel/DemoController.swift | wufeiyue/TLPageView | 05206ab5649a04226199028f92a323dcf24a485c | [
"MIT"
] | null | null | null | Exampel/DemoController.swift | wufeiyue/TLPageView | 05206ab5649a04226199028f92a323dcf24a485c | [
"MIT"
] | 1 | 2019-12-17T12:30:41.000Z | 2019-12-17T12:30:41.000Z | //
// DemoController.swift
// Exampel
//
// Created by Charles on 2018/7/12.
// Copyright © 2018 Charles. All rights reserved.
//
import UIKit
class DemoController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let desc = UILabel()
desc.text = self.titl... | 27.04 | 78 | 0.607988 |
cb2eb9c379ba8f1b243b56d2570d91967aa512c5 | 1,458 | go | Go | go-snippets/go-routines-example.go | ferralucho/mercado-libre-accelerator | fee70eadd708b73383f2c9314ff3d0d8fd359f6a | [
"MIT"
] | null | null | null | go-snippets/go-routines-example.go | ferralucho/mercado-libre-accelerator | fee70eadd708b73383f2c9314ff3d0d8fd359f6a | [
"MIT"
] | null | null | null | go-snippets/go-routines-example.go | ferralucho/mercado-libre-accelerator | fee70eadd708b73383f2c9314ff3d0d8fd359f6a | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"net/http"
"sync"
)
func miFuncion(wg *sync.WaitGroup) {
fmt.Println("Dentro de la goroutine")
wg.Done()
}
/*
func main() {
fmt.Println("Inicio del programa")
var wg sync.WaitGroup
wg.Add(1)
//cuenta cuantos hilos de ejecucion espera que todos los procesos terminen
go miFuncion(&... | 16.953488 | 75 | 0.663923 |
b987fd5f95ece0daf5b38a3605fec49589a42050 | 1,068 | c | C | SetWindowTitles.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 1 | 2021-05-30T19:48:11.000Z | 2021-05-30T19:48:11.000Z | SetWindowTitles.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | 25 | 2021-04-23T21:02:44.000Z | 2021-08-03T22:15:51.000Z | SetWindowTitles.c | khval/BetterFakeMode | aace8a1355e36a6cf2591a88c2859987f506c4bc | [
"MIT"
] | null | null | null |
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <proto/exec.h>
#include <proto/dos.h>
#include <proto/layers.h>
#include <proto/intuition.h>
#include <proto/graphics.h>
#include <exec/emulation.h>
#include "common.h"
#include "helper/screen.h"
extern APTR video_mutex;
extern void RenderWindow... | 21.36 | 88 | 0.694757 |
dd46f1ea57e286ad26cc41c600738b42a43ed68c | 120 | kt | Kotlin | magic-modules-plugin/src/main/kotlin/io/labs/dotanuki/magicmodules/internal/model/CanonicalModuleName.kt | DevSrSouza/magic-modules | f22bf9f7ac74f1ebbf31410f95a10a189a8d28a4 | [
"MIT"
] | 43 | 2020-04-22T01:04:56.000Z | 2021-09-17T19:45:51.000Z | magic-modules-plugin/src/main/kotlin/io/labs/dotanuki/magicmodules/internal/model/CanonicalModuleName.kt | DevSrSouza/magic-modules | f22bf9f7ac74f1ebbf31410f95a10a189a8d28a4 | [
"MIT"
] | 2 | 2020-08-24T19:31:16.000Z | 2022-01-02T14:39:16.000Z | magic-modules-plugin/src/main/kotlin/io/labs/dotanuki/magicmodules/internal/model/CanonicalModuleName.kt | DevSrSouza/magic-modules | f22bf9f7ac74f1ebbf31410f95a10a189a8d28a4 | [
"MIT"
] | 3 | 2020-04-24T03:00:28.000Z | 2020-07-18T02:12:10.000Z | package io.labs.dotanuki.magicmodules.internal.model
internal inline class CanonicalModuleName(
val value: String
) | 24 | 52 | 0.816667 |
4bbe31d6277493df0adb783218f3e2b796fe89e2 | 350 | lua | Lua | src/premake5.lua | psiberx/RED4.RTTIDumper | 12e5088d1ca8aac99e64d71452dc9b2300e3f9d9 | [
"MIT"
] | 2 | 2021-04-20T01:44:50.000Z | 2022-03-26T21:06:14.000Z | src/premake5.lua | rfuzzo/RED4.RTTIDumper | 749b02ca74bb8e8bbdf0cf36c4d33733f63689da | [
"MIT"
] | 5 | 2021-03-05T23:22:34.000Z | 2021-06-17T20:37:11.000Z | src/premake5.lua | rfuzzo/RED4.RTTIDumper | 749b02ca74bb8e8bbdf0cf36c4d33733f63689da | [
"MIT"
] | 5 | 2021-03-12T09:11:43.000Z | 2022-03-26T21:06:15.000Z | project("RED4.RTTIDumper")
targetdir(paths.build())
kind("SharedLib")
language("C++")
pchheader("stdafx.hpp")
pchsource("stdafx.cpp")
includedirs(
{
".",
paths.deps("json", "single_include"),
paths.deps("red4ext.sdk", "include")
})
files(
{
"**.... | 16.666667 | 45 | 0.494286 |