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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
40c4c9de90fca80240c7e19d6e6bc48e679fac34 | 303 | py | Python | bagua/torch_api/contrib/__init__.py | Youhe-Jiang/bagua | b404eda6574b48e0642b9a3160f1cc49c3f91737 | [
"MIT"
] | null | null | null | bagua/torch_api/contrib/__init__.py | Youhe-Jiang/bagua | b404eda6574b48e0642b9a3160f1cc49c3f91737 | [
"MIT"
] | null | null | null | bagua/torch_api/contrib/__init__.py | Youhe-Jiang/bagua | b404eda6574b48e0642b9a3160f1cc49c3f91737 | [
"MIT"
] | null | null | null | from .fused_optimizer import FusedOptimizer # noqa: F401
from .load_balancing_data_loader import ( # noqa: F401
LoadBalancingDistributedSampler,
LoadBalancingDistributedBatchSampler,
)
from .cache_loader import CacheLoader # noqa: F401
from .cached_dataset import CachedDataset # noqa: F401
| 37.875 | 57 | 0.805281 |
5b6ffe4567fa836d75bf35bbc07d1fd5d7e4c3a0 | 912 | sql | SQL | migrations/20190224124720_users.up.sql | vedhavyas/cortex | 2988c879d5db9b632c36a18c27e67fc5e3c70b43 | [
"Apache-2.0"
] | 1 | 2019-05-22T12:13:07.000Z | 2019-05-22T12:13:07.000Z | migrations/20190224124720_users.up.sql | vedhavyas/cortex | 2988c879d5db9b632c36a18c27e67fc5e3c70b43 | [
"Apache-2.0"
] | null | null | null | migrations/20190224124720_users.up.sql | vedhavyas/cortex | 2988c879d5db9b632c36a18c27e67fc5e3c70b43 | [
"Apache-2.0"
] | null | null | null | CREATE OR REPLACE FUNCTION update_timestamp()
RETURNS TRIGGER AS $$
BEGIN
NEW.updated_at = now();
RETURN NEW;
END;
$$ language 'plpgsql';
CREATE EXTENSION if not exists citext;
CREATE TYPE user_type AS ENUM ('user', 'guest');
CREATE TABLE IF NOT EXISTS Users (
id BIGSERIAL PRIMARY KEY NOT NULL,
username ci... | 31.448276 | 113 | 0.77193 |
164638c47a26d687f3c69562a9317df1f1755d77 | 236 | ts | TypeScript | src/context/BlogContext.ts | paolotiu17/blog_client | f29432af56c4be90b789f7eb62b92cba60aa1ca9 | [
"MIT"
] | null | null | null | src/context/BlogContext.ts | paolotiu17/blog_client | f29432af56c4be90b789f7eb62b92cba60aa1ca9 | [
"MIT"
] | null | null | null | src/context/BlogContext.ts | paolotiu17/blog_client | f29432af56c4be90b789f7eb62b92cba60aa1ca9 | [
"MIT"
] | null | null | null | import { IBlog } from './../types';
import { createContext } from 'react';
export const BlogContext = createContext<{
setBlogs?: React.Dispatch<React.SetStateAction<IBlog[] | null | undefined>>;
blogs?: IBlog[] | null;
}>({});
| 29.5 | 80 | 0.65678 |
166c1ad47b6fee3f01e769f85159d0a415354ed3 | 5,714 | h | C | src/transaction/log_writer.h | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 253 | 2016-03-12T01:03:42.000Z | 2022-03-14T08:24:39.000Z | src/transaction/log_writer.h | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1,124 | 2016-03-31T03:48:58.000Z | 2022-03-31T23:44:04.000Z | src/transaction/log_writer.h | eido5/cubrid | f32dbe7cb90f096035c255d7b5f348438bbb5830 | [
"Apache-2.0",
"BSD-3-Clause"
] | 268 | 2016-03-02T06:48:44.000Z | 2022-03-04T05:17:24.000Z | /*
* Copyright 2008 Search Solution Corporation
* Copyright 2016 CUBRID Corporation
*
* 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-... | 26.826291 | 114 | 0.774589 |
e77c795de3b13a64df5d00acf9bc956e7e62055b | 16 | js | JavaScript | external/esprima/test_fixtures/comment/migrated_0037.js | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 20,996 | 2015-01-01T13:51:47.000Z | 2022-03-31T17:44:01.000Z | external/esprima/test_fixtures/comment/migrated_0037.js | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 8,315 | 2015-01-01T19:56:43.000Z | 2022-03-31T15:58:10.000Z | external/esprima/test_fixtures/comment/migrated_0037.js | exced/hermes | c53fbe3f27677d5cda2a0c5b4e79e429eb5cd9e6 | [
"MIT"
] | 2,338 | 2015-01-05T03:28:26.000Z | 2022-03-26T20:40:56.000Z | var x = 1<!--foo | 16 | 16 | 0.5 |
bdcbd3c07ba84cdcc26beaeb37a7b7e44450e573 | 48 | sql | SQL | MORE_JOIN/5.sql | peterrobert/SQL_SQLZOO | 227389c6b6894a89f045349f326a4eaa539b20e7 | [
"MIT"
] | 5 | 2020-04-22T15:39:41.000Z | 2020-12-04T04:58:23.000Z | MORE_JOIN/5.sql | peterrobert/SQL_SQLZOO | 227389c6b6894a89f045349f326a4eaa539b20e7 | [
"MIT"
] | null | null | null | MORE_JOIN/5.sql | peterrobert/SQL_SQLZOO | 227389c6b6894a89f045349f326a4eaa539b20e7 | [
"MIT"
] | null | null | null | SELECT id
FROM movie
WHERE title = 'Casablanca' | 16 | 26 | 0.770833 |
3d238d6a6e35dd9449ab92eabfd502e8e7e9c381 | 1,187 | go | Go | config/config.go | patarra/jira-todo-sync | 736a1bb8b5a76894138a8bd3b0f37a85d10871ae | [
"MIT"
] | null | null | null | config/config.go | patarra/jira-todo-sync | 736a1bb8b5a76894138a8bd3b0f37a85d10871ae | [
"MIT"
] | null | null | null | config/config.go | patarra/jira-todo-sync | 736a1bb8b5a76894138a8bd3b0f37a85d10871ae | [
"MIT"
] | null | null | null | package config
import (
"errors"
"fmt"
"github.com/spf13/viper"
"sync"
)
type JiraConfig struct {
Server string `mapstructure:"server"`
User string `mapstructure:"user"`
Password string `mapstructure:"password"`
}
type TodoistConfig struct {
Token string `mapstructure:"token"`
}
type Config struct {
... | 20.824561 | 90 | 0.689132 |
4088a5fea9f6b72e7b61ee7b08f9e889f462f416 | 1,032 | py | Python | _includes/code/course-schedule-ii/solution.py | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | null | null | null | _includes/code/course-schedule-ii/solution.py | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | 2 | 2022-03-01T06:30:35.000Z | 2022-03-13T07:05:50.000Z | _includes/code/course-schedule-ii/solution.py | rajat19/interview-questions | cb1fa382a76f2f287f1c12dd3d1fca9bfb7fa311 | [
"MIT"
] | 1 | 2022-02-09T12:13:36.000Z | 2022-02-09T12:13:36.000Z | from collections import defaultdict, deque
class Solution:
def findOrder(self, numCourses, prerequisites):
"""
:type numCourses: int
:type prerequisites: List[List[int]]
:rtype: List[int]
"""
adj_list = defaultdict(list)
indegree = {}
for dest, src ... | 34.4 | 94 | 0.597868 |
b1dcf6b0dd1712542e23a3a1821ecd8f704b6446 | 320 | h | C | Ui/UiApi.h | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | null | null | null | Ui/UiApi.h | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | null | null | null | Ui/UiApi.h | zemo/naali | a02ee7a0547c5233579eda85dedb934b61c546ab | [
"Apache-2.0"
] | 1 | 2021-09-04T12:37:34.000Z | 2021-09-04T12:37:34.000Z | // For conditions of distribution and use, see copyright notice in license.txt
#ifndef incl_UiApi_h
#define incl_UiApi_h
#if defined (_WINDOWS) && defined(UI_API_DLL)
#if defined(UI_API_EXPORTS)
#define UI_API __declspec(dllexport)
#else
#define UI_API __declspec(dllimport)
#endif
#else
#define UI_API
#endif
#endif
| 18.823529 | 78 | 0.790625 |
d253dd16ffe83e3d0be3845d62c57e7b2f6af64c | 5,032 | php | PHP | resources/views/frontend/donate.blade.php | hridoy-roy/mofa | 9d9f46fedc1cff8256d83f17920da0ff41620954 | [
"MIT"
] | 1 | 2022-03-01T18:13:35.000Z | 2022-03-01T18:13:35.000Z | resources/views/frontend/donate.blade.php | hridoy-roy/mofa | 9d9f46fedc1cff8256d83f17920da0ff41620954 | [
"MIT"
] | null | null | null | resources/views/frontend/donate.blade.php | hridoy-roy/mofa | 9d9f46fedc1cff8256d83f17920da0ff41620954 | [
"MIT"
] | null | null | null | @extends('layouts.frontend.app')
@section('nev_sub')
@endsection
@section('main-section')
<div id="page" class="site">
<div id="content" class="site-content" style="margin-top: 141px;">
<div class="textured-bg">
<div class="container donate__page">
<h1 class="donate__title">
... | 55.911111 | 120 | 0.475159 |
3853bf4a5b0afd6f92ba1e13221933766ac40b47 | 232 | kt | Kotlin | CodersStrikeBack/src/main/kotlin/org/neige/codingame/codersstrikeback/Move.kt | CedrickFlocon/Codingame | 1d1204237884aac30f16084c01d9fb847eef8289 | [
"WTFPL"
] | 4 | 2017-10-07T19:36:12.000Z | 2021-11-02T19:39:21.000Z | CodersStrikeBack/src/main/kotlin/org/neige/codingame/codersstrikeback/Move.kt | CedrickFlocon/Codingame | 1d1204237884aac30f16084c01d9fb847eef8289 | [
"WTFPL"
] | null | null | null | CodersStrikeBack/src/main/kotlin/org/neige/codingame/codersstrikeback/Move.kt | CedrickFlocon/Codingame | 1d1204237884aac30f16084c01d9fb847eef8289 | [
"WTFPL"
] | 1 | 2021-11-02T19:39:24.000Z | 2021-11-02T19:39:24.000Z | package org.neige.codingame.codersstrikeback
data class Move(val coordinate: Coordinate, val thrust: String) {
override fun toString(): String {
return "${coordinate.x.toInt()} ${coordinate.y.toInt()} $thrust"
}
} | 25.777778 | 72 | 0.689655 |
af6d7764a4d7c7e544c85ae8fb35bdae9564b19e | 966 | gemspec | Ruby | block_editor.gemspec | yamasolutions/block-editor | 3454f449b22a041191a6eee53c645e0d764841d3 | [
"MIT"
] | 12 | 2021-04-07T12:47:40.000Z | 2022-01-13T03:45:03.000Z | block_editor.gemspec | yamasolutions/block-editor | 3454f449b22a041191a6eee53c645e0d764841d3 | [
"MIT"
] | 1 | 2021-05-12T08:16:38.000Z | 2021-05-19T07:09:23.000Z | block_editor.gemspec | yamasolutions/block-editor | 3454f449b22a041191a6eee53c645e0d764841d3 | [
"MIT"
] | 4 | 2021-07-11T13:12:36.000Z | 2022-03-29T21:18:39.000Z | require_relative "lib/block_editor/version"
Gem::Specification.new do |spec|
spec.name = "block_editor"
spec.version = BlockEditor::VERSION
spec.authors = ["Patrick Lindsay"]
spec.email = ["patrick@yamasolutions.com"]
spec.homepage = "https://github.com/yamasolutions/block-editor"
s... | 43.909091 | 140 | 0.698758 |
39c5f61747da2b9f59c548162d3faf044d30a725 | 4,770 | js | JavaScript | src/app/main/apps/scrumboard/boards/Boards.js | RobertLbebber/electr-client | d5d6c7047a3a154c64b8fe232534b9f3cfc6dfe8 | [
"Apache-2.0"
] | null | null | null | src/app/main/apps/scrumboard/boards/Boards.js | RobertLbebber/electr-client | d5d6c7047a3a154c64b8fe232534b9f3cfc6dfe8 | [
"Apache-2.0"
] | 6 | 2021-03-01T21:06:31.000Z | 2022-02-26T01:53:05.000Z | src/app/main/apps/scrumboard/boards/Boards.js | RobertLbebber/electr-client | d5d6c7047a3a154c64b8fe232534b9f3cfc6dfe8 | [
"Apache-2.0"
] | null | null | null | import React, {Component} from 'react';
import {withStyles, Typography, Icon} from '@material-ui/core';
import {fade} from '@material-ui/core/styles/colorManipulator';
import {FuseAnimateGroup, FuseAnimate} from '@fuse';
import {bindActionCreators} from 'redux';
import {Link, withRouter} from 'react-router-dom';
import... | 39.421488 | 164 | 0.510273 |
96755aaf8b844e7086ec629336693c828f6cd86f | 123 | php | PHP | resources/views/example.blade.php | metalkorshik/Arca | b8f166c3d5a0ee9960a1e48a2c5c7a059c7a622a | [
"MIT"
] | null | null | null | resources/views/example.blade.php | metalkorshik/Arca | b8f166c3d5a0ee9960a1e48a2c5c7a059c7a622a | [
"MIT"
] | null | null | null | resources/views/example.blade.php | metalkorshik/Arca | b8f166c3d5a0ee9960a1e48a2c5c7a059c7a622a | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('user-panel')
@endsection
@section('page', 'contracts')
@section('content')
@endsection | 13.666667 | 29 | 0.707317 |
3b1c839312e9e2bc379489d80f3a3d1a99f9270a | 1,636 | c | C | ports/stm32/src/runTimeStatsInit.c | ygjukim/hFramework | 994ea7550c34b4943e2fa2d5e9ca447aa555f39e | [
"MIT"
] | 33 | 2017-07-03T22:49:30.000Z | 2022-03-31T19:32:55.000Z | ports/stm32/src/runTimeStatsInit.c | ygjukim/hFramework | 994ea7550c34b4943e2fa2d5e9ca447aa555f39e | [
"MIT"
] | 6 | 2017-07-13T13:23:22.000Z | 2019-10-25T17:51:28.000Z | ports/stm32/src/runTimeStatsInit.c | ygjukim/hFramework | 994ea7550c34b4943e2fa2d5e9ca447aa555f39e | [
"MIT"
] | 17 | 2017-07-01T05:35:47.000Z | 2022-03-22T23:33:00.000Z | #include "stm32f4xx.h"
#include "FreeRTOS.h"
//=============FOR RUN TIME STATS START =================================
volatile uint32_t tim_cnt = 0;
void TIM6_DAC_IRQHandler(void)
{
// extern int tim_cnt;
tim_cnt++;
TIM_ClearITPendingBit(TIM6, TIM_IT_Update);
} /* TIM2_IRQHandler */
// to generate runtime ... | 24.41791 | 105 | 0.733496 |
5aa894e359b05fc0f915b3d740b6d17531117e9f | 1,681 | sql | SQL | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5534510_sys_gh5551_PickingTerminal_menu_names.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5534510_sys_gh5551_PickingTerminal_menu_names.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.adempiere.adempiere/migration/src/main/sql/postgresql/system/10-de.metas.adempiere/5534510_sys_gh5551_PickingTerminal_menu_names.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 2019-10-16T21:11:32.066Z
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Menu SET AD_Element_ID=574217, Description='Items ready to be picked', Name='Kommissionier Terminal (v2)', WEBUI_NameBrowse=NULL, WEBUI_NameNew=NULL, WEBUI_NameNewBreadcrumb=NULL,Updated=TO_TIMESTAMP('2019-10-17 00:1... | 41 | 294 | 0.797145 |
df8e0f1fdaa8498fdd9d6c663d0fae947ada1e27 | 539 | tsx | TypeScript | src/Components/Banner/Banner.tsx | CodeTheChangeUBC/OLPCWebsite | f50b55be296ba8b565413412aaeb765581e301cd | [
"MIT"
] | null | null | null | src/Components/Banner/Banner.tsx | CodeTheChangeUBC/OLPCWebsite | f50b55be296ba8b565413412aaeb765581e301cd | [
"MIT"
] | 7 | 2018-10-22T14:45:50.000Z | 2018-10-26T00:59:28.000Z | src/Components/Banner/Banner.tsx | CodeTheChangeUBC/OLPCWebsite | f50b55be296ba8b565413412aaeb765581e301cd | [
"MIT"
] | null | null | null | import * as React from 'react';
// import './Banner.css';
export const Banner = () => {
return (
<header>
O
<span className = "hide"><span className = "purple">NE</span></span>
L
<span className = "hide">APTOP</span>
P
<span c... | 25.666667 | 84 | 0.504638 |
5f0418ca8931055500c9c7d769ecf3c076d7deb7 | 987 | ts | TypeScript | cloud_functions/functions/src/history/index.ts | viveknimkarde/firetable | f3157ba39678233246532b227b1613975edd3203 | [
"Apache-2.0"
] | 1 | 2020-03-18T04:29:13.000Z | 2020-03-18T04:29:13.000Z | cloud_functions/functions/src/history/index.ts | GourmetPro/firetable | 22fc635345cfb38b53d86e246a6cc33a4210f2a1 | [
"Apache-2.0"
] | null | null | null | cloud_functions/functions/src/history/index.ts | GourmetPro/firetable | 22fc635345cfb38b53d86e246a6cc33a4210f2a1 | [
"Apache-2.0"
] | null | null | null | import * as functions from "firebase-functions";
import * as _ from "lodash";
import { db } from "../config";
const historySnapshot = (trackedFields: string[]) => async (
change: functions.Change<FirebaseFirestore.DocumentSnapshot>
) => {
const before = change.before.data();
const after = change.after.data();
... | 30.84375 | 62 | 0.685917 |
86c00a49c52c47b35d18100802fe2158dd8b08c2 | 740 | rs | Rust | crates/server/src/store/sqlite/config.rs | faern/trust-dns | a44e3f3e60f25ae091a9b598ee49d86dd147e152 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 2,348 | 2015-08-10T06:41:59.000Z | 2022-03-30T19:49:48.000Z | crates/server/src/store/sqlite/config.rs | faern/trust-dns | a44e3f3e60f25ae091a9b598ee49d86dd147e152 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 1,519 | 2015-09-09T20:55:52.000Z | 2022-03-31T08:03:58.000Z | crates/server/src/store/sqlite/config.rs | faern/trust-dns | a44e3f3e60f25ae091a9b598ee49d86dd147e152 | [
"Apache-2.0",
"MIT-0",
"MIT"
] | 342 | 2015-09-17T12:29:11.000Z | 2022-03-29T10:52:59.000Z | // Copyright 2015-2018 Benjamin Fry <benjaminfry -@- me.com>
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distrib... | 35.238095 | 77 | 0.718919 |
6515124d4e3250bc474b369d4832ef055edc0d00 | 5,031 | py | Python | decomp/c/gen.py | nihilus/epanos | 998a9e3f45337df98b1bbc40b64954b079a1d4de | [
"MIT"
] | 1 | 2017-07-25T00:05:09.000Z | 2017-07-25T00:05:09.000Z | decomp/c/gen.py | nihilus/epanos | 998a9e3f45337df98b1bbc40b64954b079a1d4de | [
"MIT"
] | null | null | null | decomp/c/gen.py | nihilus/epanos | 998a9e3f45337df98b1bbc40b64954b079a1d4de | [
"MIT"
] | null | null | null | from itertools import imap, chain
from pycparser import c_generator, c_ast
from decomp import data, ida
from decomp.c import decl as cdecl, types as ep_ct
from decomp.cpu import ida as cpu_ida
XXX_INTRO_HACK = cpu_ida.ida_current_cpu().insns.support_header + '''
#include <stdint.h>
typedef union EPANOS_REG {
uint8... | 33.993243 | 135 | 0.624329 |
7f71cd62fefa40eebb9ea107e698b6ca746b7814 | 1,427 | go | Go | internal/logger/logger.go | vsdmars/actor | 7f5a8a9ca8801684a2008213435ecff4f142506c | [
"MIT"
] | null | null | null | internal/logger/logger.go | vsdmars/actor | 7f5a8a9ca8801684a2008213435ecff4f142506c | [
"MIT"
] | 4 | 2019-03-04T19:39:25.000Z | 2019-04-03T02:28:27.000Z | internal/logger/logger.go | vsdmars/actor | 7f5a8a9ca8801684a2008213435ecff4f142506c | [
"MIT"
] | null | null | null | package logger
import (
"fmt"
"os"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
var logger serviceLogger
var origLogger serviceLogger
func init() {
initLogger()
}
// LogSync sync logger output
func LogSync() {
// ignore logger Sync error
logger.Sync()
}
// SetLogger sets caller provided zap logger
//
// r... | 18.063291 | 62 | 0.683952 |
0eed0cf725e6dedad38742b3d2ed191c8a3f6086 | 2,909 | sql | SQL | models/sources/stg_hubspot_crm/bigquery/fivetran/stg_hubspot_crm_deals.sql | HirenBhikha-Qrious/RA_Analytics | 815579ef1c4a1bead4a0d661f513e872dc0a1813 | [
"Apache-2.0"
] | 1 | 2022-01-30T21:12:44.000Z | 2022-01-30T21:12:44.000Z | models/sources/stg_hubspot_crm/bigquery/fivetran/stg_hubspot_crm_deals.sql | HirenBhikha-Qrious/RA_Analytics | 815579ef1c4a1bead4a0d661f513e872dc0a1813 | [
"Apache-2.0"
] | 4 | 2021-11-01T18:31:22.000Z | 2021-11-15T01:32:08.000Z | models/sources/stg_hubspot_crm/bigquery/fivetran/stg_hubspot_crm_deals.sql | HirenBhikha-Qrious/RA_Analytics | 815579ef1c4a1bead4a0d661f513e872dc0a1813 | [
"Apache-2.0"
] | null | null | null | {% if target.type == 'bigquery' %}
{% if var("marketing_warehouse_deal_sources") %}
{% if 'hubspot_crm' in var("marketing_warehouse_deal_sources") %}
{% if var("stg_hubspot_crm_etl") == 'fivetran' %}
with source as (
select *
from {{ source('fivetran_hubspot_crm','deals') }}
),
hubspot_deal_company as (
select ... | 30.621053 | 96 | 0.698866 |
38666e3481b15ff6dda48b2b7ab948892c0d668b | 1,157 | lua | Lua | tag-vim/config/nvim/lua/config/lsp/emmet.lua | delianides/dotfiles | fa95997eb173979716344506c24fe6531319f126 | [
"MIT"
] | 1 | 2017-11-08T00:08:00.000Z | 2017-11-08T00:08:00.000Z | tag-vim/config/nvim/lua/config/lsp/emmet.lua | delianides/dotfiles | fa95997eb173979716344506c24fe6531319f126 | [
"MIT"
] | 7 | 2016-03-25T20:02:08.000Z | 2016-10-15T20:57:33.000Z | tag-vim/config/nvim/lua/config/lsp/emmet.lua | delianides/dotfiles | fa95997eb173979716344506c24fe6531319f126 | [
"MIT"
] | 1 | 2017-01-03T19:11:22.000Z | 2017-01-03T19:11:22.000Z | local lspconfig = require "lspconfig"
local configs = require "lspconfig.configs"
local servers = require "nvim-lsp-installer.servers"
local server = require "nvim-lsp-installer.server"
local path = require "nvim-lsp-installer.path"
local npm = require "nvim-lsp-installer.installers.npm"
local server_name = "emmet-lang... | 28.219512 | 90 | 0.692308 |
dd5d1944b23dd5028afdc87591d0074485d2f138 | 182 | lua | Lua | resources/pausemenu-title/server_name.lua | Kyominii/HorizonRP | 0eec91919ac4d888e3a2aec244ae97214124ca17 | [
"MIT"
] | 1 | 2019-09-24T02:59:46.000Z | 2019-09-24T02:59:46.000Z | resources/pausemenu-title/server_name.lua | Kyominii/HorizonRP | 0eec91919ac4d888e3a2aec244ae97214124ca17 | [
"MIT"
] | null | null | null | resources/pausemenu-title/server_name.lua | Kyominii/HorizonRP | 0eec91919ac4d888e3a2aec244ae97214124ca17 | [
"MIT"
] | 1 | 2019-12-06T13:37:39.000Z | 2019-12-06T13:37:39.000Z | function AddTextEntry(key, value)
Citizen.InvokeNative(GetHashKey("ADD_TEXT_ENTRY"), key, value)
end
Citizen.CreateThread(function()
AddTextEntry('FE_THDR_GTAO', 'Horizon')
end)
| 22.75 | 63 | 0.785714 |
53b76f46f47710d939ed133289656be69f7f63fb | 586 | java | Java | iot-ruleengine/ruleengine-core/src/main/java/org/iotp/analytics/ruleengine/core/action/mail/SendMailRuleToPluginActionMsg.java | soncd19/iotplatform | c3f5545f58944b06145fd737fd5a85dc5b97d019 | [
"Apache-2.0"
] | 107 | 2017-08-16T13:52:16.000Z | 2022-03-15T10:00:39.000Z | iot-ruleengine/ruleengine-core/src/main/java/org/iotp/analytics/ruleengine/core/action/mail/SendMailRuleToPluginActionMsg.java | soncd19/iotplatform | c3f5545f58944b06145fd737fd5a85dc5b97d019 | [
"Apache-2.0"
] | 19 | 2019-04-02T02:25:29.000Z | 2022-03-08T21:11:19.000Z | iot-ruleengine/ruleengine-core/src/main/java/org/iotp/analytics/ruleengine/core/action/mail/SendMailRuleToPluginActionMsg.java | soncd19/iotplatform | c3f5545f58944b06145fd737fd5a85dc5b97d019 | [
"Apache-2.0"
] | 58 | 2017-08-09T02:07:47.000Z | 2022-02-09T12:05:57.000Z | package org.iotp.analytics.ruleengine.core.action.mail;
import org.iotp.analytics.ruleengine.plugins.msg.AbstractRuleToPluginMsg;
import org.iotp.infomgt.data.id.CustomerId;
import org.iotp.infomgt.data.id.DeviceId;
import org.iotp.infomgt.data.id.TenantId;
import lombok.Data;
/**
*/
@Data
public class SendMailRule... | 27.904762 | 99 | 0.805461 |
f082f1a5e72ad8bfbcd78ff461df9a440088b680 | 3,011 | js | JavaScript | dist/OrthographicCamera/index.js | WolfgaungBeer/massiv-engine | 637e207d216438e44d2794e62258e3ede395c9aa | [
"MIT"
] | null | null | null | dist/OrthographicCamera/index.js | WolfgaungBeer/massiv-engine | 637e207d216438e44d2794e62258e3ede395c9aa | [
"MIT"
] | null | null | null | dist/OrthographicCamera/index.js | WolfgaungBeer/massiv-engine | 637e207d216438e44d2794e62258e3ede395c9aa | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("... | 51.913793 | 564 | 0.692461 |
a177f39146401ad59fbd803fa8662d3f895c0aab | 2,105 | go | Go | src/server/msg/msg.go | Dreamgoing/gameServer | c9a98568bc220454fda24057b3e25a5d56696fe4 | [
"Apache-2.0"
] | 29 | 2017-07-26T15:56:36.000Z | 2022-03-09T13:51:49.000Z | src/server/msg/msg.go | Dreamgoing/gameServer | c9a98568bc220454fda24057b3e25a5d56696fe4 | [
"Apache-2.0"
] | null | null | null | src/server/msg/msg.go | Dreamgoing/gameServer | c9a98568bc220454fda24057b3e25a5d56696fe4 | [
"Apache-2.0"
] | 8 | 2018-01-31T18:21:59.000Z | 2021-11-27T14:18:56.000Z | package msg
import (
//"github.com/name5566/leaf/network"
"github.com/name5566/leaf/network/json"
)
//var Processor network.Processor
var Processor = json.NewProcessor()
//var SignUp_processor = json.NewProcessor()
func init() {
///注册json消息
Processor.Register(&Ok{})
Processor.Register(&SignUp{})
Processor.Re... | 15.143885 | 44 | 0.697862 |
d259ccd525f85fc931c1f5df31d38c914d32d864 | 4,576 | php | PHP | resources/views/index/gallery.blade.php | HuCiao/template | 8758593b5ba0cc5d6bc85676ae420d6b6aa5369c | [
"MIT"
] | null | null | null | resources/views/index/gallery.blade.php | HuCiao/template | 8758593b5ba0cc5d6bc85676ae420d6b6aa5369c | [
"MIT"
] | null | null | null | resources/views/index/gallery.blade.php | HuCiao/template | 8758593b5ba0cc5d6bc85676ae420d6b6aa5369c | [
"MIT"
] | null | null | null | @extends('layouts.layout')
@section('title','Gallery')
@section('content')
<!-- Gallery start Here -->
<div class="gallery-2 padding-tb" style="padding-top: 40px">
<div class="container">
{{-- 面包屑导航 --}}
<div style="margin-bottom:20px;font-size:20px">
<a href="{{route('home.index')}}" ... | 55.13253 | 124 | 0.447552 |
9c682bb657ddd0706f74792c92e6b03c7d98dc35 | 7,682 | js | JavaScript | ui-modules/utils/yaml-editor/addon/hint/schema-matcher.js | jathanasiou/brooklyn-ui | 17ad9307bb29c129171875d73363e711ddd2bbb5 | [
"Apache-2.0"
] | 19 | 2016-02-02T19:39:10.000Z | 2021-11-07T20:03:32.000Z | ui-modules/utils/yaml-editor/addon/hint/schema-matcher.js | jathanasiou/brooklyn-ui | 17ad9307bb29c129171875d73363e711ddd2bbb5 | [
"Apache-2.0"
] | 179 | 2016-02-04T23:00:00.000Z | 2022-03-14T14:59:25.000Z | ui-modules/utils/yaml-editor/addon/hint/schema-matcher.js | jathanasiou/brooklyn-ui | 17ad9307bb29c129171875d73363e711ddd2bbb5 | [
"Apache-2.0"
] | 62 | 2016-02-02T09:23:54.000Z | 2021-11-07T20:03:21.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"); you ... | 40.010417 | 149 | 0.583181 |
1626a3acf28778d524bc94d37895f2b731ec2b1d | 1,036 | c | C | src/memory.c | niefeng2015/k802 | e422d56f276758ea1c4fd1522adbc9639e241cb3 | [
"MIT"
] | 2 | 2017-01-24T18:49:12.000Z | 2019-09-05T22:14:39.000Z | src/memory.c | niefeng2015/k802 | e422d56f276758ea1c4fd1522adbc9639e241cb3 | [
"MIT"
] | 1 | 2017-02-28T06:37:19.000Z | 2017-02-28T06:37:19.000Z | src/memory.c | Crazycatz00/hashcat | c54008438780c81fac5eb975090123c9a26d9cb6 | [
"MIT"
] | 1 | 2021-05-31T12:32:02.000Z | 2021-05-31T12:32:02.000Z | /**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#include "common.h"
#include "types.h"
#include "memory.h"
void *hccalloc (const size_t nmemb, const size_t sz)
{
void *p = calloc (nmemb, sz);
if (p == NULL)
{
fprintf (stderr, "%s\n", MSG_ENOMEM);
return (NULL);
}
return (p);
}
... | 13.454545 | 67 | 0.550193 |
857b8c2dbc0be5ef308797b18469cd500d2836fa | 1,470 | js | JavaScript | lib/setup.js | jkresner/meanair-scream | c5c179e83692f371c722178d4af62398d0eabe1c | [
"MIT"
] | 3 | 2015-09-22T03:20:03.000Z | 2016-03-02T12:10:44.000Z | lib/setup.js | jkresner/meanair-scream | c5c179e83692f371c722178d4af62398d0eabe1c | [
"MIT"
] | null | null | null | lib/setup.js | jkresner/meanair-scream | c5c179e83692f371c722178d4af62398d0eabe1c | [
"MIT"
] | null | null | null | module.exports = ({log}) => ({
data(done) {
log.step('data:db')
global.DB = require('./db')(() => {
let seeder = require('./db.seed')(DB, OPTS)
seeder.testToSeed(y => y ? seeder.restoreBSONData(done) : done())
})
let ISODate = global.ISODate = str => moment(str).toDate()
let ID = gl... | 23.709677 | 85 | 0.542857 |
f076aaf49a3d8fba6fb5ba17c6020bb113d2de01 | 5,417 | py | Python | src/jsonengine/main.py | youhengzhou/json-crud-engine | 8ee614af6dddbe1236a78a7debf71048f476a3ff | [
"MIT"
] | 2 | 2021-07-02T04:33:36.000Z | 2022-01-09T23:40:30.000Z | src/jsonengine/main.py | youhengzhou/json-crud-engine | 8ee614af6dddbe1236a78a7debf71048f476a3ff | [
"MIT"
] | null | null | null | src/jsonengine/main.py | youhengzhou/json-crud-engine | 8ee614af6dddbe1236a78a7debf71048f476a3ff | [
"MIT"
] | null | null | null | # JSON engine 21 9 16
# database
# eng.json
# engine
# eng.py
import os
import json
path = os.getcwd() + '\\json_engine_database\\'
path_string = ''
def set_path(string):
global path
path = os.getcwd() + string
def dictionary_kv(dictionary, key, value):
dictionary[key] = value
return ... | 31.132184 | 75 | 0.568027 |
5804f268da979f80d10b4306ebf0349d86b9fef9 | 420 | c | C | solutions/001-025/25/main.c | PysKa-Ratzinger/personal_project_euler_solutions | ff05c38f3c9cbcd4d6f09f81034bc299c7144476 | [
"MIT"
] | 1 | 2019-04-19T01:05:07.000Z | 2019-04-19T01:05:07.000Z | solutions/001-025/25/main.c | PysKa-Ratzinger/personal_project_euler_solutions | ff05c38f3c9cbcd4d6f09f81034bc299c7144476 | [
"MIT"
] | null | null | null | solutions/001-025/25/main.c | PysKa-Ratzinger/personal_project_euler_solutions | ff05c38f3c9cbcd4d6f09f81034bc299c7144476 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
double a = 1.0;
double b = 1.0;
double c = a + b;
double limit = 10.0;
int digits = 1;
int index = 3;
while(digits < 1000){
a = b;
b = c;
c = a + b;
if(c >= limit){
a /= limit;
b /= limit;
c /= limit;
digits++;
}
index++;
... | 14.482759 | 79 | 0.478571 |
9d895e6423a625663df470c37941b2beb5d20881 | 223 | kt | Kotlin | database/src/main/java/com/constantin/microflux/database/Settings.kt | ConstantinCezB/Microflux | 84e8a146cd27096aa41dd7f1a446e8bd974c8d01 | [
"MIT"
] | 36 | 2020-07-12T18:19:08.000Z | 2021-09-03T06:34:02.000Z | database/src/main/java/com/constantin/microflux/database/Settings.kt | ConstantinCezB/Microflux | 84e8a146cd27096aa41dd7f1a446e8bd974c8d01 | [
"MIT"
] | 3 | 2020-10-04T11:14:15.000Z | 2021-08-22T13:15:36.000Z | database/src/main/java/com/constantin/microflux/database/Settings.kt | ConstantinCezarBegu/Microflux | 84e8a146cd27096aa41dd7f1a446e8bd974c8d01 | [
"MIT"
] | 2 | 2020-07-20T15:09:41.000Z | 2021-03-04T16:57:50.000Z | package com.constantin.microflux.database
import com.constantin.microflux.data.ServerUrl
fun ServerQueries.insert(serverUrl: ServerUrl) = insertImpl(serverUrl = serverUrl).run {
selectForId(serverUrl).executeAsOne()
} | 31.857143 | 88 | 0.811659 |
d7adfa6d86c3679b9a16bf8acf500b32cb585f47 | 518 | lua | Lua | src/test/module/import/_case2.lua | yuhangwang/PackageToolkit.lua | 48b637f0d24cab682a98257a93944d603ccd6e3b | [
"MIT"
] | null | null | null | src/test/module/import/_case2.lua | yuhangwang/PackageToolkit.lua | 48b637f0d24cab682a98257a93944d603ccd6e3b | [
"MIT"
] | null | null | null | src/test/module/import/_case2.lua | yuhangwang/PackageToolkit.lua | 48b637f0d24cab682a98257a93944d603ccd6e3b | [
"MIT"
] | null | null | null | local me = ...
local M = { }
local name1 = "module"
local name2 = "import"
local TK = require("PackageToolkit")
local m = TK[name1][name2](me, "m/../m/./m2")
M.run = function(msg)
if msg == nil then
msg = ""
end
print(TK.ui.dashed_line(80, '-'))
print(string.format("test %s.%s()", name1, name2))
print(msg... | 23.545455 | 52 | 0.621622 |
19d428aad36966348419dd413eabc7e98a9aa51d | 13,103 | lua | Lua | Plugins/UnrealLua/LuaSource/luahotupdate.lua | asomfai/unreal.lua | 61a7f3fd2e967ffd970c9b2ac72f12aa2af34bd8 | [
"MIT"
] | 311 | 2017-01-31T04:24:13.000Z | 2022-03-02T10:12:58.000Z | Plugins/UnrealLua/LuaSource/luahotupdate.lua | asomfai/unreal.lua | 61a7f3fd2e967ffd970c9b2ac72f12aa2af34bd8 | [
"MIT"
] | 39 | 2017-02-14T09:33:02.000Z | 2020-02-14T07:45:33.000Z | Plugins/UnrealLua/LuaSource/luahotupdate.lua | asomfai/unreal.lua | 61a7f3fd2e967ffd970c9b2ac72f12aa2af34bd8 | [
"MIT"
] | 98 | 2017-01-30T17:49:34.000Z | 2022-03-15T08:16:34.000Z | if _VERSION == "Lua 5.3" then
function getfenv(f)
if type(f) == "function" then
local name, value = debug.getupvalue(f, 1)
if name == "_ENV" then
return value
else
return _ENV
end
end
end
function setfenv(f, Env)
if type(f) == "function" then
local name, value = debug.getupvalue(f, 1)... | 28.861233 | 108 | 0.6845 |
5a4ef283daf5ad1cfe6625ef4de0e61e044aeaf7 | 4,655 | swift | Swift | Sources/ComicsInfoCore/Services/Database/Providers/DynamoDB/DynamoDB+ItemGetDBService.swift | AleksandarDinic/comics-info-backend | 1fa831743c62b00f767f86456a69b455c82a8521 | [
"MIT"
] | null | null | null | Sources/ComicsInfoCore/Services/Database/Providers/DynamoDB/DynamoDB+ItemGetDBService.swift | AleksandarDinic/comics-info-backend | 1fa831743c62b00f767f86456a69b455c82a8521 | [
"MIT"
] | null | null | null | Sources/ComicsInfoCore/Services/Database/Providers/DynamoDB/DynamoDB+ItemGetDBService.swift | AleksandarDinic/comics-info-backend | 1fa831743c62b00f767f86456a69b455c82a8521 | [
"MIT"
] | null | null | null | //
// DynamoDB+ItemGetDBService.swift
// ComicsInfoCore
//
// Created by Aleksandar Dinic on 27/08/2020.
// Copyright © 2020 Aleksandar Dinic. All rights reserved.
//
import Foundation
import SotoDynamoDB
extension DynamoDB: ItemGetDBService {
func getItem<Item: Codable>(_ query: GetItemQuery) -> EventLoopFu... | 36.944444 | 167 | 0.541139 |
bb3330c2a0a0ba7f2bf1a3acaefc51a99a73bae4 | 596 | html | HTML | p5-0.html | ma1988rco/practicasp5js | 178afc24d56f0c83e3a470513c2c57a502be32a0 | [
"MIT"
] | null | null | null | p5-0.html | ma1988rco/practicasp5js | 178afc24d56f0c83e3a470513c2c57a502be32a0 | [
"MIT"
] | null | null | null | p5-0.html | ma1988rco/practicasp5js | 178afc24d56f0c83e3a470513c2c57a502be32a0 | [
"MIT"
] | null | null | null |
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.6/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.6/addons/p5.dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.6/addons/p5.sound.js"></script>
</head>
<body>
<h3>Script: p5-0.html<... | 19.866667 | 93 | 0.662752 |
e562e836a1c20a62a91f28da06ca955552cd5f8d | 329 | ts | TypeScript | src/heroicons.d.ts | fanaticscripter/CoopTracker | 4686715bddd9a59b8f3cc2e223c87b4da663c694 | [
"MIT"
] | 2 | 2021-05-26T07:31:11.000Z | 2022-02-20T16:03:12.000Z | src/heroicons.d.ts | fanaticscripter/CoopTracker | 4686715bddd9a59b8f3cc2e223c87b4da663c694 | [
"MIT"
] | null | null | null | src/heroicons.d.ts | fanaticscripter/CoopTracker | 4686715bddd9a59b8f3cc2e223c87b4da663c694 | [
"MIT"
] | null | null | null | // @heroicons/vue does not have type declarations.
// https://github.com/tailwindlabs/heroicons/issues/252
// https://github.com/tailwindlabs/heroicons/pull/254
declare module '@heroicons/vue/solid' {
import { DefineComponent } from 'vue';
export let CheckIcon: DefineComponent;
export let SelectorIcon: DefineComp... | 36.555556 | 55 | 0.765957 |
e78715859fa9a39cbbbd921de1dca1ab700bb661 | 1,034 | js | JavaScript | models/organization.js | AugustineUmeagudosi/trello-clone-api | 937aaf41f51651e13ee233dba3b3b44fb69bc667 | [
"MIT"
] | null | null | null | models/organization.js | AugustineUmeagudosi/trello-clone-api | 937aaf41f51651e13ee233dba3b3b44fb69bc667 | [
"MIT"
] | null | null | null | models/organization.js | AugustineUmeagudosi/trello-clone-api | 937aaf41f51651e13ee233dba3b3b44fb69bc667 | [
"MIT"
] | null | null | null | const { Model } = require('sequelize');
module.exports = (sequelize, DataTypes) => {
class Organization extends Model {
/**
* Helper method for defining associations.
* This method is not a part of Sequelize lifecycle.
* The `models/index` file will call this method automatically.
*/
stat... | 38.296296 | 105 | 0.672147 |
16540c56a06ad2207e4d3b04cdce7c9ca434c3d2 | 250 | ts | TypeScript | src/enums/DamageClasses.ts | comokj7/suikadex | 896c31627b8374e8833ad01bc69398cd94fff738 | [
"MIT"
] | null | null | null | src/enums/DamageClasses.ts | comokj7/suikadex | 896c31627b8374e8833ad01bc69398cd94fff738 | [
"MIT"
] | null | null | null | src/enums/DamageClasses.ts | comokj7/suikadex | 896c31627b8374e8833ad01bc69398cd94fff738 | [
"MIT"
] | null | null | null | export const DamageClasses = Object.freeze({
status: {
id: 1,
label: 'status',
name: '보조',
},
physical: {
id: 2,
label: 'physical',
name: '물리',
},
special: {
id: 3,
label: 'special',
name: '특수',
},
});
| 13.888889 | 44 | 0.48 |
e75bcca1da5c51880fed0261e0910e512401e4e9 | 1,101 | asm | Assembly | test/pinsr32.asm | bitwiseworks/nasm-os2 | ef78e4ee1ca3220ac3b60a61b084a693b8032ab6 | [
"BSD-2-Clause"
] | 3 | 2015-03-21T07:35:15.000Z | 2018-01-12T01:24:02.000Z | 3rdParties/src/nasm/nasm-2.15.02/test/pinsr32.asm | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-03-26T19:58:54.000Z | 2020-04-24T08:58:04.000Z | test/pinsr32.asm | bitwiseworks/nasm-os2 | ef78e4ee1ca3220ac3b60a61b084a693b8032ab6 | [
"BSD-2-Clause"
] | 5 | 2015-03-21T07:35:21.000Z | 2021-01-14T10:54:46.000Z | ;Testname=test; Arguments=-O0 -fbin -opinsr32.bin; Files=stdout stderr pinsr32.bin
bits 32
pinsrw mm0,eax,0
pinsrw mm1,si,0
pinsrw mm2,[ecx],0
pinsrw mm3,word [ecx],0
pinsrb xmm0,eax,0
pinsrb xmm1,sil,0
; pinsrb xmm1,bh,0
pinsrb xmm2,[ecx],0
pinsrb xmm3,byte [ecx],0
pinsrw xmm0,eax,0
pinsrw... | 20.388889 | 83 | 0.680291 |
d97afaed87e7c80cd82dba65b5999297dbcb30d8 | 8,185 | swift | Swift | Client/Carthage/Checkouts/swift-protobuf/Sources/protoc-gen-swift/ReservedWords.swift | perezCamargo/SwiftProtobufSample | b167da8dd9d095abbde82e2d08441b3103885149 | [
"MIT"
] | 14 | 2016-12-27T05:00:10.000Z | 2021-06-03T01:09:52.000Z | Client/Carthage/Checkouts/swift-protobuf/Sources/protoc-gen-swift/ReservedWords.swift | perezCamargo/SwiftProtobufSample | b167da8dd9d095abbde82e2d08441b3103885149 | [
"MIT"
] | 1 | 2021-06-11T17:32:31.000Z | 2021-06-11T17:32:31.000Z | Client/Carthage/Checkouts/swift-protobuf/Sources/protoc-gen-swift/ReservedWords.swift | perezCamargo/SwiftProtobufSample | b167da8dd9d095abbde82e2d08441b3103885149 | [
"MIT"
] | 2 | 2020-05-27T11:32:10.000Z | 2021-06-03T01:12:36.000Z | // Sources/protoc-gen-swift/ReservedWords.swift - Reserved words database and sanitizing
//
// Copyright (c) 2014 - 2016 Apple Inc. and the project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See LICENSE.txt for license information:
// https://github.com/apple/swift-protobuf/blob/... | 33.272358 | 93 | 0.671961 |
dfb3f3d311a4f01a32b1895aaf03ed28632024fa | 684 | swift | Swift | EPI/Stacks and Queues/Implement a stack with max API/swift/test.swift | peferron/algo | cea32e7f3555ce09eceeb7f4793baf54a658a812 | [
"MIT"
] | 104 | 2015-02-28T06:28:34.000Z | 2022-03-23T18:06:46.000Z | EPI/Stacks and Queues/Implement a stack with max API/swift/test.swift | peferron/algo | cea32e7f3555ce09eceeb7f4793baf54a658a812 | [
"MIT"
] | 4 | 2015-01-04T01:36:54.000Z | 2021-05-06T20:07:58.000Z | EPI/Stacks and Queues/Implement a stack with max API/swift/test.swift | peferron/algo | cea32e7f3555ce09eceeb7f4793baf54a658a812 | [
"MIT"
] | 12 | 2016-06-13T06:18:56.000Z | 2022-03-05T10:54:06.000Z | import Darwin
var stack = Stack<Int>()
assert(stack.isEmpty)
stack.push(10)
assert(!stack.isEmpty)
assert(stack.max == 10)
stack.push(10)
stack.push(6)
stack.push(13)
stack.push(15)
stack.push(15)
stack.push(14)
assert(stack.max == 15)
assert(stack.pop() == 14)
assert(stack.max == 15)
assert(stack.pop() == 15)
ass... | 15.545455 | 25 | 0.666667 |
2f222ff5447fdcc40966a45cad1120ae4d8802d2 | 1,020 | php | PHP | routes/web.php | quanit94/getfb | fd0e9121a1cd0a757cf7755d3fbd04f93e49f56d | [
"MIT"
] | null | null | null | routes/web.php | quanit94/getfb | fd0e9121a1cd0a757cf7755d3fbd04f93e49f56d | [
"MIT"
] | null | null | null | routes/web.php | quanit94/getfb | fd0e9121a1cd0a757cf7755d3fbd04f93e49f56d | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... | 25.5 | 75 | 0.502941 |
4a917d196e00f07d1013bab9bdb2e40de61ba940 | 352 | asm | Assembly | programs/oeis/044/A044457.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/044/A044457.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/044/A044457.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A044457: Numbers n such that string 3,3 occurs in the base 4 representation of n but not of n+1.
; 15,31,47,63,79,95,111,127,143,159,175,191,207,223,255,271,287,303,319,335,351,367,383,399,415,431,447,463,479,511,527,543,559,575,591,607,623,639,655,671,687,703,719,735,767,783,799
add $0,1
mov $1,32
mul $1,$0
div $1,... | 32 | 183 | 0.701705 |
08015b5a41313bf927fc756f65ad969e5f843e13 | 138 | sql | SQL | K2/SQL/CheckEmptyRole.sql | mikerodionov/ps_scripts | 7f100ca7622fdab19f0d525d2a83ec6d2b96ab59 | [
"MIT"
] | null | null | null | K2/SQL/CheckEmptyRole.sql | mikerodionov/ps_scripts | 7f100ca7622fdab19f0d525d2a83ec6d2b96ab59 | [
"MIT"
] | null | null | null | K2/SQL/CheckEmptyRole.sql | mikerodionov/ps_scripts | 7f100ca7622fdab19f0d525d2a83ec6d2b96ab59 | [
"MIT"
] | null | null | null | SELECT dq.*,dqu.[User] FROM [Server].[DestQueue] dq LEFT JOIN [Server].[DestQueueUser] dqu ON dqu.QueueID = dq.ID
WHERE dqu.[user] IS NULL | 69 | 113 | 0.724638 |
e75e7bd433813bb75bd6c24ef4b936a01bdc162b | 83 | js | JavaScript | src/modules/Teams/controllers/index.js | MehdizadeMilad/uefa | e09c46a2e2222fd8eb28b3f8839cf51c38b755ba | [
"MIT"
] | null | null | null | src/modules/Teams/controllers/index.js | MehdizadeMilad/uefa | e09c46a2e2222fd8eb28b3f8839cf51c38b755ba | [
"MIT"
] | null | null | null | src/modules/Teams/controllers/index.js | MehdizadeMilad/uefa | e09c46a2e2222fd8eb28b3f8839cf51c38b755ba | [
"MIT"
] | null | null | null |
const TeamController = require('./team');
module.exports = {
TeamController
} | 13.833333 | 41 | 0.686747 |
2704fae61ba59f125c29834526b198e80914a616 | 5,373 | kt | Kotlin | app/src/main/java/com/moovel/gpsrecorderplayer/repo/Signal.kt | nakaharanaoji/gps_lib | 7b115be913e0ce97960b13bb811c293bf3a67768 | [
"MIT"
] | 20 | 2018-10-29T09:19:23.000Z | 2020-03-21T15:29:51.000Z | app/src/main/java/com/moovel/gpsrecorderplayer/repo/Signal.kt | nakaharanaoji/gps_lib | 7b115be913e0ce97960b13bb811c293bf3a67768 | [
"MIT"
] | 1 | 2019-06-11T14:40:15.000Z | 2019-06-11T14:40:15.000Z | app/src/main/java/com/moovel/gpsrecorderplayer/repo/Signal.kt | nakaharanaoji/gps_lib | 7b115be913e0ce97960b13bb811c293bf3a67768 | [
"MIT"
] | 2 | 2019-03-20T19:42:40.000Z | 2019-06-20T16:51:51.000Z | /**
* Copyright (c) 2010-2018 Moovel Group GmbH - moovel.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... | 41.651163 | 80 | 0.648427 |
a38e758db648b9cc292e3bf35e85aa1d8184d8ed | 3,007 | kt | Kotlin | library/src/main/java/com/getroadmap/r2rlib/models/Route.kt | janvde/Rome2RioAndroid | c3e320a0024a11cdcbeb56efdc05199cb680fa2a | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/getroadmap/r2rlib/models/Route.kt | janvde/Rome2RioAndroid | c3e320a0024a11cdcbeb56efdc05199cb680fa2a | [
"Apache-2.0"
] | null | null | null | library/src/main/java/com/getroadmap/r2rlib/models/Route.kt | janvde/Rome2RioAndroid | c3e320a0024a11cdcbeb56efdc05199cb680fa2a | [
"Apache-2.0"
] | null | null | null | package com.getroadmap.r2rlib.models
import android.os.Parcel
import android.os.Parcelable
import java.util.ArrayList
/**
* https://www.rome2rio.com/documentation/search#Route
*/
/**
* name string Route display name
* depPlace integer Departure place (index in... | 40.093333 | 110 | 0.626206 |
df5f983c09427facdbbdc99b9c5553049b96b004 | 1,549 | rb | Ruby | spec/publisher/publishing_content_to_frontend_spec.rb | uk-gov-mirror/alphagov.publishing-e2e-tests | 66223e224d82dc009a631e4cc732035a53c7d119 | [
"MIT"
] | 10 | 2017-03-13T08:56:31.000Z | 2021-04-13T09:19:01.000Z | spec/publisher/publishing_content_to_frontend_spec.rb | uk-gov-mirror/alphagov.publishing-e2e-tests | 66223e224d82dc009a631e4cc732035a53c7d119 | [
"MIT"
] | 120 | 2016-12-05T14:03:35.000Z | 2022-03-28T16:10:34.000Z | spec/publisher/publishing_content_to_frontend_spec.rb | uk-gov-mirror/alphagov.publishing-e2e-tests | 66223e224d82dc009a631e4cc732035a53c7d119 | [
"MIT"
] | 11 | 2017-10-11T12:58:58.000Z | 2021-04-10T20:11:05.000Z | feature "Publishing content from Publisher to Frontend", publisher: true, frontend: true, flaky: true do
include PublisherHelpers
let(:title) { unique_title }
let(:slug) { "publishing-content-publisher-to-frontend-#{SecureRandom.uuid}" }
let(:subpart_title) { unique_title }
scenario "Publishing an artefact"... | 27.175439 | 104 | 0.769529 |
bc5bf135a68e1a20f8283e82b82ae3e27ca64d3a | 4,800 | asm | Assembly | source/tokeniser/tokenise/tokenise.asm | paulscottrobson/6502-basic | d4c360041bfa49427a506465e58bb0ef94beaa44 | [
"MIT"
] | 3 | 2021-09-30T19:34:11.000Z | 2021-10-31T06:55:50.000Z | source/tokeniser/tokenise/tokenise.asm | paulscottrobson/6502-Basic | d4c360041bfa49427a506465e58bb0ef94beaa44 | [
"MIT"
] | null | null | null | source/tokeniser/tokenise/tokenise.asm | paulscottrobson/6502-Basic | d4c360041bfa49427a506465e58bb0ef94beaa44 | [
"MIT"
] | 1 | 2021-12-07T21:58:44.000Z | 2021-12-07T21:58:44.000Z | ; ************************************************************************************************
; ************************************************************************************************
;
; Name: tokenise.asm
; Purpose: Tokenise a string
; Created: 8th March 2021
; Reviewed: 16th March 2021
; Author:... | 25.13089 | 98 | 0.4625 |
edde4f8e6d7c67a42d82387577e32296b493d966 | 7,841 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1956.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1956.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1956.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x148b8, %rsi
lea addresses_D_ht+0xb118, %rdi
dec %r8
mov $89, %rcx
rep movsl
nop
and %rbp, %rbp
lea addresses_WT_ht+0x1b0d8, %rax
nop
nop
nop
sub %rdx, %rdx
mov $0x6162636465666768, %rb... | 33.797414 | 2,999 | 0.654381 |
c33f38d12c39e8373865237d79a638934ff9f64b | 33 | rs | Rust | skia-safe/src/core/milestone.rs | katyo/rust-skia | a85f21b986a3504981e46d3628d4197ad90ded29 | [
"MIT"
] | null | null | null | skia-safe/src/core/milestone.rs | katyo/rust-skia | a85f21b986a3504981e46d3628d4197ad90ded29 | [
"MIT"
] | null | null | null | skia-safe/src/core/milestone.rs | katyo/rust-skia | a85f21b986a3504981e46d3628d4197ad90ded29 | [
"MIT"
] | null | null | null | pub const MILESTONE: usize = 79;
| 16.5 | 32 | 0.727273 |
91007f4896d1834244812f6909a8a319b6d7afc0 | 764 | asm | Assembly | src/util/oli/wm/amky.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/oli/wm/amky.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/oli/wm/amky.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | ; multiple keystroke routine for application subwinodw
include win1_mac_oli
section utility
xdef xwm_amky
;+++
; multiple keystroke routine for application subwinodw
;
; Entry Exit
; d2.l keystroke code multiple keystroke c... | 28.296296 | 71 | 0.479058 |
01e1cd6a3478abd1bf56dfef8ae88dbc54bb570c | 891 | rs | Rust | src/tokens.rs | FuzzyWuzzie/wish-api | 43d6bcba9d9f9c25ae1b4488e5ba3be42cfba130 | [
"Apache-2.0"
] | null | null | null | src/tokens.rs | FuzzyWuzzie/wish-api | 43d6bcba9d9f9c25ae1b4488e5ba3be42cfba130 | [
"Apache-2.0"
] | null | null | null | src/tokens.rs | FuzzyWuzzie/wish-api | 43d6bcba9d9f9c25ae1b4488e5ba3be42cfba130 | [
"Apache-2.0"
] | null | null | null | extern crate jsonwebtoken as jwt;
use self::jwt::{decode, encode, Header, Validation};
use auth::AuthToken;
#[derive(Debug, Serialize, Deserialize)]
struct Claims {
iss: String,
uid: u32,
adm: bool,
}
pub fn build_token(secret: &str, uid: u32, adm: bool) -> String {
let claims = Claims {
iss:... | 22.846154 | 80 | 0.56229 |
40af8c8f3236438b38a2ec95b565b4efbf998b1b | 4,709 | py | Python | dsbox/utils/utils.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 16 | 2020-05-11T09:10:15.000Z | 2021-04-13T08:43:28.000Z | dsbox/utils/utils.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 1 | 2020-12-03T20:02:32.000Z | 2020-12-03T20:02:32.000Z | dsbox/utils/utils.py | Pandinosaurus/dsbox | aea56049025ed7e6e66427f8636286f8be1b6e03 | [
"Apache-2.0"
] | 1 | 2020-05-11T17:22:20.000Z | 2020-05-11T17:22:20.000Z | import gzip
import pickle
import networkx as nx
import matplotlib.pyplot as plt
from smart_open import open
"""
Some util functions used to navigate into Airflow DAGs.
"""
def breadth_first_search_task_list(task_root, task_list=[], mode='upstream'):
sub_task_list = []
queue = [task_root]
while len(queue... | 28.539394 | 112 | 0.637078 |
71e3cc773a36f573496f26d9bd939f2ae64141fd | 766 | ts | TypeScript | src/shared/model/task.model.ts | moedarrah/typing-in-the-dark | 6d225c8a015baf597da0181a185104f27781b6a5 | [
"MIT"
] | 2 | 2020-11-11T07:14:20.000Z | 2020-11-11T07:14:46.000Z | src/shared/model/task.model.ts | mmdarrah/typing-in-the-dark | 6d225c8a015baf597da0181a185104f27781b6a5 | [
"MIT"
] | null | null | null | src/shared/model/task.model.ts | mmdarrah/typing-in-the-dark | 6d225c8a015baf597da0181a185104f27781b6a5 | [
"MIT"
] | null | null | null | export interface ITask {
completed?: boolean;
exercise: ITypedText[];
instructions: ITaskInstructions;
taskId: number;
}
interface ITypedText {
text: string;
correct: boolean;
}
interface ITaskInstructions {
missionText: string;
missionTextEn: string;
missionSummary: string;
missionSummaryEn: stri... | 17.813953 | 36 | 0.691906 |
7d52a1dcf4f5c6d3dbae9aef31c82209c3b90ed8 | 90 | html | HTML | _includes/author_skills.html | Rajsingh92/Rajsingh92.github.io | 113a10ac2492faf091c3ae26ce8a3d79eaeba1fe | [
"MIT"
] | null | null | null | _includes/author_skills.html | Rajsingh92/Rajsingh92.github.io | 113a10ac2492faf091c3ae26ce8a3d79eaeba1fe | [
"MIT"
] | 2 | 2022-02-11T21:53:41.000Z | 2022-03-30T22:00:07.000Z | _includes/author_skills.html | Rajsingh92/Rajsingh92.github.io | 113a10ac2492faf091c3ae26ce8a3d79eaeba1fe | [
"MIT"
] | null | null | null | <p> Python,Machine Learning,Deep Learning </p>
<p> Git,Linux,Docker and k8s,Power BI </p>
| 30 | 46 | 0.711111 |
397a2655a705f3cd061a78005725d87d334dbc89 | 1,551 | html | HTML | src/scripts/views/0-Core/_/ModerationPanel/MassModerateReportedContents/templates/FilterSelectCard.html | Jovantri10/BrainlyTools_Extension | 3130d7c27fca31b4c7614959023b0340a1710d59 | [
"MIT"
] | null | null | null | src/scripts/views/0-Core/_/ModerationPanel/MassModerateReportedContents/templates/FilterSelectCard.html | Jovantri10/BrainlyTools_Extension | 3130d7c27fca31b4c7614959023b0340a1710d59 | [
"MIT"
] | null | null | null | src/scripts/views/0-Core/_/ModerationPanel/MassModerateReportedContents/templates/FilterSelectCard.html | Jovantri10/BrainlyTools_Extension | 3130d7c27fca31b4c7614959023b0340a1710d59 | [
"MIT"
] | null | null | null | <div class="sg-card__hole">
<div class="sg-actions-list sg-actions-list--no-wrap">
<div class="sg-actions-list__hole sg-actions-list__hole--grow sg-actions-list__hole--space-bellow">
<div class="sg-select sg-select--full-width">
<div class="sg-select__icon"></div>
<select class="sg-select__e... | 86.166667 | 257 | 0.731786 |
1665fcc2aa97c64683fe50f8c93aee49b1fabaa3 | 355 | ts | TypeScript | findyourtrashcan-mobile/src/providers/rang/rang-types.ts | FEMMLille/findYourTrashCan | f7f23c78137c6f33acb9946d6c9a27511c2ab0c0 | [
"MIT"
] | null | null | null | findyourtrashcan-mobile/src/providers/rang/rang-types.ts | FEMMLille/findYourTrashCan | f7f23c78137c6f33acb9946d6c9a27511c2ab0c0 | [
"MIT"
] | 18 | 2017-10-09T15:05:32.000Z | 2018-04-01T11:42:12.000Z | findyourtrashcan-mobile/src/providers/rang/rang-types.ts | FEMMLille/findYourTrashCan | f7f23c78137c6f33acb9946d6c9a27511c2ab0c0 | [
"MIT"
] | null | null | null | import 'rxjs/add/operator/toPromise';
import { Observable } from 'rxjs/Rx';
import { Injectable } from '@angular/core';
import { Api } from '../api/api';
@Injectable()
export class RangTypeService {
constructor(public api: Api) { }
getRankDetails(rankId: number): Observable<any> {
return this.api.... | 20.882353 | 53 | 0.659155 |
6191b56409da4f2d51541a3fc44a0ca10a01b642 | 1,663 | kt | Kotlin | app/src/main/java/alektas/telecomapp/utils/L.kt | Alektas/Telecom-System | 1e83fbe6daa496f4c4f47d41f404d3e66fb200ff | [
"Apache-2.0"
] | null | null | null | app/src/main/java/alektas/telecomapp/utils/L.kt | Alektas/Telecom-System | 1e83fbe6daa496f4c4f47d41f404d3e66fb200ff | [
"Apache-2.0"
] | null | null | null | app/src/main/java/alektas/telecomapp/utils/L.kt | Alektas/Telecom-System | 1e83fbe6daa496f4c4f47d41f404d3e66fb200ff | [
"Apache-2.0"
] | null | null | null | package alektas.telecomapp.utils
import alektas.telecomapp.BuildConfig
class L {
companion object {
private const val MEASURING_TIME_TAG = "MEASURING_TIME"
private val startPoints = mutableListOf<Pair<String, Long>>()
fun d(log: String) {
if (BuildConfig.DEBUG) println(log)
... | 36.152174 | 115 | 0.583885 |
a57604d397dba1c27de45d476e0617ee2ca6c2b0 | 1,353 | kt | Kotlin | meijue-ui/src/main/java/com/obsez/mobile/meijue/ui/ext/SharedPrefsExtensions.kt | hedzr/meijue-ui | aa0782c8d42d412011faac9b7787eeb53efe7528 | [
"MIT"
] | 3 | 2018-10-31T08:08:00.000Z | 2019-04-27T16:45:41.000Z | meijue-ui/src/main/java/com/obsez/mobile/meijue/ui/ext/SharedPrefsExtensions.kt | hedzr/meijue-ui | aa0782c8d42d412011faac9b7787eeb53efe7528 | [
"MIT"
] | null | null | null | meijue-ui/src/main/java/com/obsez/mobile/meijue/ui/ext/SharedPrefsExtensions.kt | hedzr/meijue-ui | aa0782c8d42d412011faac9b7787eeb53efe7528 | [
"MIT"
] | null | null | null | package com.obsez.mobile.meijue.ui.ext
import android.content.SharedPreferences
import android.util.Base64
fun SharedPreferences.applyString(key: String, value: String?) = edit().putString(key, value).apply()
fun SharedPreferences.commitString(key: String, value: String?) = edit().putString(key, value).commit()
fun... | 39.794118 | 113 | 0.755358 |
301ddf5d127ec46b62da7151f577640fefc0ab9f | 1,172 | kt | Kotlin | app/src/main/java/com/eneskayiklik/wallup/feature_home/domain/use_case/HomeUseCase.kt | Enes-Kayiklik/Wall-Up | 03a9d3f07b7f788f6c36a059fe882eae78065937 | [
"Apache-2.0"
] | 19 | 2022-01-16T08:37:30.000Z | 2022-03-25T18:29:29.000Z | app/src/main/java/com/eneskayiklik/wallup/feature_home/domain/use_case/HomeUseCase.kt | Enes-Kayiklik/Wall-Up | 03a9d3f07b7f788f6c36a059fe882eae78065937 | [
"Apache-2.0"
] | 1 | 2022-01-16T10:24:47.000Z | 2022-01-18T11:16:10.000Z | app/src/main/java/com/eneskayiklik/wallup/feature_home/domain/use_case/HomeUseCase.kt | Enes-Kayiklik/Wall-Up | 03a9d3f07b7f788f6c36a059fe882eae78065937 | [
"Apache-2.0"
] | null | null | null | package com.eneskayiklik.wallup.feature_home.domain.use_case
import com.eneskayiklik.wallup.feature_home.domain.repository.HomeRepository
import com.eneskayiklik.wallup.utils.network.Resource
import com.eneskayiklik.wallup.utils.transfer_extensions.toUIModel
import kotlinx.coroutines.flow.flow
import javax.inject.Inje... | 34.470588 | 76 | 0.646758 |
27e117c9b08468bfa56bc90d659312c8df922e82 | 4,326 | swift | Swift | goyotashi/UI/Pages/Profile/ProfileEdit/ProfileEditViewController.swift | jphacks/B_2121_1 | eff8d6db7feec31f9c145e1bd2c1ed472b7b141b | [
"MIT"
] | 1 | 2021-10-30T06:45:58.000Z | 2021-10-30T06:45:58.000Z | goyotashi/UI/Pages/Profile/ProfileEdit/ProfileEditViewController.swift | jphacks/B_2121_1 | eff8d6db7feec31f9c145e1bd2c1ed472b7b141b | [
"MIT"
] | 27 | 2021-10-29T18:02:03.000Z | 2021-10-30T13:55:46.000Z | goyotashi/UI/Pages/Profile/ProfileEdit/ProfileEditViewController.swift | jphacks/B_2121_1 | eff8d6db7feec31f9c145e1bd2c1ed472b7b141b | [
"MIT"
] | null | null | null | //
// ProfileEditViewController.swift
// goyotashi
//
// Created by 山河絵利奈 on 2021/10/29.
//
import UIKit
import ReactorKit
// import SegementSlide
final class ProfileEditViewController: UIViewController, View, ViewConstructor {
struct Const {
static let profileImageSize: CGFloat = 84
}
// MARK... | 30.9 | 109 | 0.590153 |
de949fcf422250d46d4d86904f710d05471a152f | 2,658 | lua | Lua | interfaces/mqtt/mqtt311.lua | hwhw/zigbee-lua | 5ac78e0d1e917f0c1681e31b3853943f024bca0c | [
"MIT"
] | 28 | 2018-12-30T09:35:41.000Z | 2021-12-16T05:01:10.000Z | interfaces/mqtt/mqtt311.lua | hwhw/zigbee-lua | 5ac78e0d1e917f0c1681e31b3853943f024bca0c | [
"MIT"
] | 8 | 2019-01-29T14:54:44.000Z | 2021-12-14T14:27:30.000Z | interfaces/mqtt/mqtt311.lua | hwhw/zigbee-lua | 5ac78e0d1e917f0c1681e31b3853943f024bca0c | [
"MIT"
] | 4 | 2020-02-13T18:54:43.000Z | 2021-08-04T05:54:16.000Z | return require"lib.codec"(function()
msg{"MQTT",
bitfield{"Header", parts={
{"RETAIN", length=1},
{"QoS", length=2},
{"DUP", length=1},
map{"ControlPacketType", length=4, values={
"Reserved",
"CONNECT",
"CONNACK",
"PUBLISH",
"PUBACK",
"PUBREC",
"PUBREL",
... | 22.336134 | 94 | 0.645974 |
0f76e39431cb5a1a928072ce5fc82f88bdc34443 | 8,678 | swift | Swift | SimpleFeedUI/Modules/Feed/Single/EditAbstractFeedVC.swift | fonok3/Simple-Feed | 3e9a1f7b0f24a78270c3276320ac98805779af9e | [
"MIT"
] | null | null | null | SimpleFeedUI/Modules/Feed/Single/EditAbstractFeedVC.swift | fonok3/Simple-Feed | 3e9a1f7b0f24a78270c3276320ac98805779af9e | [
"MIT"
] | 1 | 2021-09-27T17:05:23.000Z | 2021-09-27T17:05:23.000Z | SimpleFeedUI/Modules/Feed/Single/EditAbstractFeedVC.swift | fonok3/Simple-Feed | 3e9a1f7b0f24a78270c3276320ac98805779af9e | [
"MIT"
] | null | null | null | //
// Simple Feed
// Copyright © 2020 Florian Herzog. All rights reserved.
//
import CoreData
import SimpleFeedCore
import UIKit
class EditAbstractFeedVC<Element: AbstractFeed, SelectType: AbstractFeed>: UIViewController, UITextFieldDelegate,
UITableViewDelegate, UITableViewDataSource, NSFetchedResultsControllerD... | 38.229075 | 128 | 0.663978 |
1c7b71e7edee14ef1b915e1a40df74305c6b00ae | 2,194 | css | CSS | style.css | NjaalWiik/front-end-infinite-scroll | a18c4b4146cb7b5168c15e70faed2b8f104f61d3 | [
"MIT"
] | null | null | null | style.css | NjaalWiik/front-end-infinite-scroll | a18c4b4146cb7b5168c15e70faed2b8f104f61d3 | [
"MIT"
] | null | null | null | style.css | NjaalWiik/front-end-infinite-scroll | a18c4b4146cb7b5168c15e70faed2b8f104f61d3 | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
html {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: Bebas Neue, sans-serif;
background: whitesmoke;
}
h1 {
text-align: center;
margin-top: 25px;
margin-bottom: 15px;
font-size: 40px;
fo... | 19.078261 | 80 | 0.643573 |
7f2cfc56b5458e586ead541532f65f3e419f23a5 | 2,942 | go | Go | cloud/metainfo/utils.go | baijinping/gopkg | 5163f120fcf9db6c7bd0a10a3f7794fa29c28570 | [
"Apache-2.0"
] | 534 | 2021-04-21T08:14:10.000Z | 2022-03-31T05:13:30.000Z | cloud/metainfo/utils.go | 5for3to1/gopkg | 4ff9dac569408b0ffa51156efcd8de9d8dc11357 | [
"Apache-2.0"
] | 37 | 2021-05-11T02:37:07.000Z | 2022-03-31T08:52:43.000Z | cloud/metainfo/utils.go | 5for3to1/gopkg | 4ff9dac569408b0ffa51156efcd8de9d8dc11357 | [
"Apache-2.0"
] | 73 | 2021-05-18T12:10:33.000Z | 2022-03-29T11:58:28.000Z | // Copyright 2021 ByteDance Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | 25.807018 | 110 | 0.67811 |
ec44f43397d0134c9075ec8bce576209623fbbc3 | 67 | sql | SQL | src/test/resources/sql/drop_table/466fcccd.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/drop_table/466fcccd.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/drop_table/466fcccd.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:truncate.sql ln:128 expect:true
DROP TABLE trunc_f CASCADE
| 22.333333 | 39 | 0.791045 |
21f809769067bfcd173d27df8a56c55de218fd85 | 2,941 | html | HTML | estudos/desafios/modulo-01/d005/index.html | lucasllimati/html-css-cursoemvideo | 7f4184577a1487124268293f8bf63faf6d768911 | [
"MIT"
] | null | null | null | estudos/desafios/modulo-01/d005/index.html | lucasllimati/html-css-cursoemvideo | 7f4184577a1487124268293f8bf63faf6d768911 | [
"MIT"
] | null | null | null | estudos/desafios/modulo-01/d005/index.html | lucasllimati/html-css-cursoemvideo | 7f4184577a1487124268293f8bf63faf6d768911 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../d002/imagens/favicon.ico" type="image/x-icon">
<title>Social - Desafio 05<... | 42.014286 | 354 | 0.618837 |
6ee519820ddcceed03f747faf1c47917623d1c4a | 785 | html | HTML | Front-End/Primeiro-Bimestre/Aula-09/index.html | issaotakeuchi/CertifiedTechDeveloper | 908e52871e886e3e3558b0d0272c6442f1d57987 | [
"MIT"
] | null | null | null | Front-End/Primeiro-Bimestre/Aula-09/index.html | issaotakeuchi/CertifiedTechDeveloper | 908e52871e886e3e3558b0d0272c6442f1d57987 | [
"MIT"
] | null | null | null | Front-End/Primeiro-Bimestre/Aula-09/index.html | issaotakeuchi/CertifiedTechDeveloper | 908e52871e886e3e3558b0d0272c6442f1d57987 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="menu">
... | 20.128205 | 74 | 0.513376 |
2f5d5eb28b75ce92f382548bbd46910dc8dd3d33 | 4,540 | php | PHP | resources/views/vehicleBrands.blade.php | heshananupama/autohub-php | de2ea276d35e8dcffd2068aaa2f3d16bf9bb3956 | [
"MIT"
] | null | null | null | resources/views/vehicleBrands.blade.php | heshananupama/autohub-php | de2ea276d35e8dcffd2068aaa2f3d16bf9bb3956 | [
"MIT"
] | null | null | null | resources/views/vehicleBrands.blade.php | heshananupama/autohub-php | de2ea276d35e8dcffd2068aaa2f3d16bf9bb3956 | [
"MIT"
] | null | null | null |
@extends('index')
@section('content')
<h3 class="text-left" style="margin-left: 20px;">Search Results for BMW</h3>
<div class="panel-default" style="margin:20px 100px;">
<div class="panel-heading">Refinements </div>
<div class="panel-body">
<div class="row">
<div cl... | 38.151261 | 82 | 0.392291 |
66c33f57c8b8c2e015b7386d708b314fd8014982 | 1,060 | swift | Swift | Player/Context/Manifest/Manifest.swift | EricssonBroadcastServices/iOSClientPlayer | cca18ad5a80f1573969b8dd1ec9ed56dabdc5cb3 | [
"Apache-2.0"
] | 12 | 2019-07-12T05:01:24.000Z | 2022-03-22T02:06:47.000Z | Player/Context/Manifest/Manifest.swift | EricssonBroadcastServices/iOSClientPlayer | cca18ad5a80f1573969b8dd1ec9ed56dabdc5cb3 | [
"Apache-2.0"
] | 1 | 2018-03-06T20:10:46.000Z | 2018-03-06T20:10:46.000Z | Player/Context/Manifest/Manifest.swift | EricssonBroadcastServices/iOSClientPlayer | cca18ad5a80f1573969b8dd1ec9ed56dabdc5cb3 | [
"Apache-2.0"
] | 5 | 2018-03-07T20:49:50.000Z | 2022-02-20T14:17:10.000Z | //
// Manifest.swift
// Player
//
// Created by Fredrik Sjöberg on 2017-11-23.
// Copyright © 2017 emp. All rights reserved.
//
import Foundation
/// Basic `MediaSource` that can do simple playback of *unencrypted* media sources.
///
/// It has an optional drm agent in the form of a `FairplayRequester` that, if i... | 33.125 | 166 | 0.7 |
252a7e7fbadd13a20e101809c6dfe0bf95856270 | 2,514 | kt | Kotlin | src/main/kotlin/lain/Lexer.kt | liminalitythree/bakadesu | 6d5fbcc29da148fd72ecb58b164fc5c845267e5c | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/lain/Lexer.kt | liminalitythree/bakadesu | 6d5fbcc29da148fd72ecb58b164fc5c845267e5c | [
"CC0-1.0"
] | null | null | null | src/main/kotlin/lain/Lexer.kt | liminalitythree/bakadesu | 6d5fbcc29da148fd72ecb58b164fc5c845267e5c | [
"CC0-1.0"
] | null | null | null | package lain
import java.time.Clock
class Lexer(val source: List<String>) {
private val tokens = mutableListOf<Token>()
private var start = 0
private var current = 0
fun scanTokens(): List<Token> {
while (!isAtEnd()) {
// we are at the beginning of the next lexeme
star... | 27.326087 | 92 | 0.585919 |
64e001a125c823bf162f4795a42b3d093c67a517 | 1,868 | rs | Rust | basic/src/main.rs | honkkki/rust-practice | 73a0715c25ffb6ae10885cde092748d0effc5457 | [
"MIT"
] | null | null | null | basic/src/main.rs | honkkki/rust-practice | 73a0715c25ffb6ae10885cde092748d0effc5457 | [
"MIT"
] | null | null | null | basic/src/main.rs | honkkki/rust-practice | 73a0715c25ffb6ae10885cde092748d0effc5457 | [
"MIT"
] | null | null | null | const MAX_POINTS: u32 = 1000;
fn main() {
let i: i64 = 1;
println!("{}", i);
let f = 1.1; // default f64
let a = 1; // default i32
let cc = '\u{1F601}';
println!("{}", f);
println!("{}", a);
println!("{}", cc);
println!("{}", MAX_POINTS);
// while
let max = 10;
... | 18.868687 | 52 | 0.367773 |
f50498bd7531d81d4826d528e71a90c5dd07a06e | 388 | swift | Swift | CooeeSDK/models/DeviceAuthResponse.swift | letscooee/cooee-ios-sdk | 2f18810ca1597c712551c088d54b066d198f30ca | [
"MIT"
] | null | null | null | CooeeSDK/models/DeviceAuthResponse.swift | letscooee/cooee-ios-sdk | 2f18810ca1597c712551c088d54b066d198f30ca | [
"MIT"
] | null | null | null | CooeeSDK/models/DeviceAuthResponse.swift | letscooee/cooee-ios-sdk | 2f18810ca1597c712551c088d54b066d198f30ca | [
"MIT"
] | null | null | null | //
// DeviceAuthResponse.swift
// CooeeSDK
//
// Created by Ashish Gaikwad on 21/09/21.
//
import Foundation
import HandyJSON
/**
DeviceAuthResponse Holds successful response from server if device get register
- Author: Ashish Gaikwad
- Since: 1.3.0
*/
struct DeviceAuthResponse: Decodable, HandyJSON {
va... | 16.869565 | 80 | 0.71134 |
1bea4f9170d93c869c69aa3eaf4ff1dbd4272e44 | 202 | py | Python | science_data_structure/test_config.py | woutervanveen/science_data_structure | 90a7438d65020f0e7c3be1df7f9e72f54e97f119 | [
"MIT"
] | null | null | null | science_data_structure/test_config.py | woutervanveen/science_data_structure | 90a7438d65020f0e7c3be1df7f9e72f54e97f119 | [
"MIT"
] | null | null | null | science_data_structure/test_config.py | woutervanveen/science_data_structure | 90a7438d65020f0e7c3be1df7f9e72f54e97f119 | [
"MIT"
] | null | null | null | import unittest
import config
class TestConfig(unittest.TestCase):
def setUp(self):
pass
def test_config_loading(self):
pass
if __name__ == "__main__":
unittest.main()
| 12.625 | 36 | 0.658416 |
1699f4caf242a31e826c7cee672dcb770f3f9684 | 511 | h | C | apps/on_boarding/localization_controller.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,442 | 2017-08-28T19:39:45.000Z | 2022-03-30T00:56:14.000Z | apps/on_boarding/localization_controller.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 1,321 | 2017-08-28T23:03:10.000Z | 2022-03-31T19:32:17.000Z | apps/on_boarding/localization_controller.h | VersiraSec/epsilon-cfw | d12b44c6c6668ecc14b60d8dd098ba5c230b1291 | [
"FSFAP"
] | 421 | 2017-08-28T22:02:39.000Z | 2022-03-28T20:52:21.000Z | #ifndef ON_BOARDING_LOCALIZATION_CONTROLLER_H
#define ON_BOARDING_LOCALIZATION_CONTROLLER_H
#include <apps/shared/localization_controller.h>
namespace OnBoarding {
class LocalizationController : public Shared::LocalizationController {
public:
using Shared::LocalizationController::LocalizationController;
int ind... | 24.333333 | 78 | 0.808219 |
e7758916a2997e692c1b72e7eff177386089ee1c | 3,520 | js | JavaScript | bot/bot.js | andrewhayward/basic-slack-bot | b18dbedb03d45d215f761427fe3ac874424827f9 | [
"0BSD"
] | null | null | null | bot/bot.js | andrewhayward/basic-slack-bot | b18dbedb03d45d215f761427fe3ac874424827f9 | [
"0BSD"
] | 4 | 2017-11-12T04:12:16.000Z | 2017-11-13T18:06:48.000Z | bot/bot.js | andrewhayward/basic-slack-bot | b18dbedb03d45d215f761427fe3ac874424827f9 | [
"0BSD"
] | null | null | null | const {
RtmClient,
WebClient,
CLIENT_EVENTS,
RTM_EVENTS
} = require('@slack/client');
const debug = require('./lib/debug');
const models = require('./models');
const Filter = require('./lib/filter');
function meta (bot) {
if (!meta.map.has(bot)) {
meta.map.set(bot, {});
}
return meta.map.get(bot);
}... | 25.507246 | 82 | 0.564773 |
dd61ec61aea44701166b8715de5282909c3fb2f0 | 10,874 | go | Go | pkg/storage/redis/redis.go | rspier/pomerium | 2dc8879583298f6dff600881ccdbd715951c519e | [
"Apache-2.0"
] | 1 | 2021-04-19T18:40:21.000Z | 2021-04-19T18:40:21.000Z | pkg/storage/redis/redis.go | rspier/pomerium | 2dc8879583298f6dff600881ccdbd715951c519e | [
"Apache-2.0"
] | 2 | 2020-09-09T14:17:52.000Z | 2020-09-09T14:24:57.000Z | pkg/storage/redis/redis.go | rspier/pomerium | 2dc8879583298f6dff600881ccdbd715951c519e | [
"Apache-2.0"
] | null | null | null | // Package redis is the redis database, implements storage.Backend interface.
package redis
import (
"context"
"crypto/tls"
"fmt"
"net"
"strconv"
"sync"
"time"
"github.com/cenkalti/backoff/v4"
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes"
"github.com/gomodule/redigo/redis"
"google... | 25.585882 | 116 | 0.647232 |
3e817e4997df88adffabb8da5e0a76af8c34804c | 8,985 | h | C | CommandLineParser.h | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | CommandLineParser.h | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | CommandLineParser.h | malord/prime | f0e8be99b7dcd482708b9c928322bc07a3128506 | [
"MIT"
] | null | null | null | // Copyright 2000-2021 Mark H. P. Lord
#ifndef PRIME_COMMANDLINEPARSER_H
#define PRIME_COMMANDLINEPARSER_H
#include "Config.h"
namespace Prime {
class Log;
/// A command line reader that supports short option (-v) and long options (--verbose), combined short options
/// (e.g., -v -n -r can be shortened to -vnr) an... | 41.790698 | 119 | 0.689482 |
53bdcf43ea00e81a186d68c5156a2e741db266f6 | 165,604 | java | Java | Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/activities/TxDetailActivity.java | Manny27nyc/cosmostation-mobile | ca0b8be2354746ff984453f12aabb5d04d01fde4 | [
"MIT"
] | null | null | null | Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/activities/TxDetailActivity.java | Manny27nyc/cosmostation-mobile | ca0b8be2354746ff984453f12aabb5d04d01fde4 | [
"MIT"
] | null | null | null | Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/activities/TxDetailActivity.java | Manny27nyc/cosmostation-mobile | ca0b8be2354746ff984453f12aabb5d04d01fde4 | [
"MIT"
] | null | null | null | package wannabit.io.cosmostaion.activities;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.NonNull;
import android.support.v7.widget.CardView;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
impo... | 56.810978 | 225 | 0.611459 |
2a43274d427da46ff0a34706f6899f952b537707 | 3,422 | java | Java | osgp/platform/osgp-adapter-ws-core/src/test/java/org/opensmartgridplatform/adapter/ws/core/application/mapping/DeviceInstallationMapperTest.java | Jefro/open-smart-grid-platform | 35fd4d9aeac38dc835fd86bc1982ef5638f092e5 | [
"Apache-2.0"
] | null | null | null | osgp/platform/osgp-adapter-ws-core/src/test/java/org/opensmartgridplatform/adapter/ws/core/application/mapping/DeviceInstallationMapperTest.java | Jefro/open-smart-grid-platform | 35fd4d9aeac38dc835fd86bc1982ef5638f092e5 | [
"Apache-2.0"
] | null | null | null | osgp/platform/osgp-adapter-ws-core/src/test/java/org/opensmartgridplatform/adapter/ws/core/application/mapping/DeviceInstallationMapperTest.java | Jefro/open-smart-grid-platform | 35fd4d9aeac38dc835fd86bc1982ef5638f092e5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018 Smart Society Services B.V.
*
* 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
*/
package org.opensmartgridplatform.ada... | 38.886364 | 172 | 0.726476 |
c7ec47a3076738e4be95e8bf9ddf59ff3366ff0f | 1,433 | java | Java | code/spring-boot-shiro-sample/spring-boot-shiro-simple/src/main/java/com/lcg/shiro/webconfigurer/LoginController.java | 87-midnight/NewbieInProgramin | c0df1f7e58ea5fedd83e305ddaecfcc7bd5dae2f | [
"MIT"
] | 1 | 2021-12-30T14:16:26.000Z | 2021-12-30T14:16:26.000Z | code/spring-boot-shiro-sample/spring-boot-shiro-simple/src/main/java/com/lcg/shiro/webconfigurer/LoginController.java | 87-midnight/NewbieInProgramin | c0df1f7e58ea5fedd83e305ddaecfcc7bd5dae2f | [
"MIT"
] | 2 | 2019-10-22T08:21:09.000Z | 2019-10-22T08:21:09.000Z | code/spring-boot-sample/spring-boot-shiro-sample/spring-boot-shiro-simple/src/main/java/com/lcg/shiro/webconfigurer/LoginController.java | 87-midnight/NewbieInJava | ba84153c6b3a382e620c4df7892d653be2e1a607 | [
"MIT"
] | 1 | 2019-12-01T16:43:02.000Z | 2019-12-01T16:43:02.000Z | package com.lcg.shiro.webconfigurer;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind... | 29.854167 | 73 | 0.674808 |
155b04baf93f358e724ba8a4698be5c9ea6d3713 | 988 | rb | Ruby | spec/makimono/style_spec.rb | fuji-nakahara/makimono | 7712dd5d2406072ebc4b9642b82274489732947f | [
"MIT"
] | null | null | null | spec/makimono/style_spec.rb | fuji-nakahara/makimono | 7712dd5d2406072ebc4b9642b82274489732947f | [
"MIT"
] | 2 | 2020-10-12T07:24:26.000Z | 2020-10-25T03:16:29.000Z | spec/makimono/style_spec.rb | fuji-nakahara/makimono | 7712dd5d2406072ebc4b9642b82274489732947f | [
"MIT"
] | null | null | null | # frozen_string_literal: true
RSpec.describe Makimono::Style do
describe '.from_style_config' do
context 'with a preset' do
let(:style_config) { 'fuji' }
it 'returns Style instance with the preset path' do
style = described_class.from_style_config(style_config)
expect(style).to be_a... | 27.444444 | 109 | 0.677126 |
2a554260878deb379b2a2f22d40d60ef4f484776 | 2,904 | java | Java | app/src/main/java/com/rosendal/elevkarrosendal/fragments/schedule/ImageEditor.java | HampusAdolfsson/RosenApp | b14660d1366774e48a9893019aff7afe62bfc0c4 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rosendal/elevkarrosendal/fragments/schedule/ImageEditor.java | HampusAdolfsson/RosenApp | b14660d1366774e48a9893019aff7afe62bfc0c4 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rosendal/elevkarrosendal/fragments/schedule/ImageEditor.java | HampusAdolfsson/RosenApp | b14660d1366774e48a9893019aff7afe62bfc0c4 | [
"Apache-2.0"
] | null | null | null | package com.rosendal.elevkarrosendal.fragments.schedule;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.Rect;
import android.graphics.Re... | 37.714286 | 169 | 0.660813 |
7450abeca8f480a6eee4469d0fd2a95967d421b4 | 683 | h | C | pintos/src/vm/frame.h | taeguk/OS-pintos | 67fcf17711680a8b064fddfc7aa1e981c1b9cbfb | [
"MIT"
] | 10 | 2016-09-30T02:19:01.000Z | 2021-11-27T10:44:52.000Z | pintos/src/vm/frame.h | taeguk/OS-pintos | 67fcf17711680a8b064fddfc7aa1e981c1b9cbfb | [
"MIT"
] | null | null | null | pintos/src/vm/frame.h | taeguk/OS-pintos | 67fcf17711680a8b064fddfc7aa1e981c1b9cbfb | [
"MIT"
] | 8 | 2016-10-25T22:15:28.000Z | 2021-07-01T14:03:02.000Z | #ifndef VM_FRAME_H
#define VM_FRAME_H
#include "threads/thread.h"
#include <list.h>
#include "suppage.h"
struct frame
{
void *kpage; // kernel page = paddr + PYS_BASE.
struct suppage *suppage; // supplemental page.
struct thread *owner; // owner of frame.
//int64_t access_ticks; ... | 23.551724 | 64 | 0.651537 |
7407c4a7dadd8358c5cd7ac779b0b7b70e054021 | 10,195 | c | C | gdb/arch/arm.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | 1 | 2020-10-14T03:24:35.000Z | 2020-10-14T03:24:35.000Z | gdb/arch/arm.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | gdb/arch/arm.c | greyblue9/binutils-gdb | 05377632b124fe7600eea7f4ee0e9a35d1b0cbdc | [
"BSD-3-Clause"
] | null | null | null | /* Common target dependent code for GDB on ARM systems.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
This file is part of GDB.
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 Foundatio... | 22.756696 | 76 | 0.585483 |
9bca316a65ac796acec71507caaf0fe6209b3958 | 547 | js | JavaScript | tests/cucumber/support/widgets/dialogs/boundary_conditions_dialog.js | triplepoint/materials-designer | 1691376e1324509c5b4e3201bc7093cf308573a1 | [
"Apache-2.0"
] | 9 | 2019-10-19T23:31:52.000Z | 2022-01-20T09:50:25.000Z | tests/cucumber/support/widgets/dialogs/boundary_conditions_dialog.js | triplepoint/materials-designer | 1691376e1324509c5b4e3201bc7093cf308573a1 | [
"Apache-2.0"
] | 16 | 2020-04-15T13:11:19.000Z | 2022-03-12T03:15:25.000Z | tests/cucumber/support/widgets/dialogs/boundary_conditions_dialog.js | triplepoint/materials-designer | 1691376e1324509c5b4e3201bc7093cf308573a1 | [
"Apache-2.0"
] | 6 | 2019-07-05T04:54:13.000Z | 2021-04-28T17:44:36.000Z | import {Widget} from "../../widget";
import {SELECTORS} from "../../selectors";
export class BoundaryConditionsDialogWidget extends Widget {
constructor(selector) {
super(selector);
this.selectors = this.getWrappedSelectors(SELECTORS.headerMenu.boundaryConditionsDialog);
}
addBoundaryCondi... | 30.388889 | 97 | 0.709324 |
39740d3fca249ef0e3e37f6e86d51dd153cc8bd0 | 3,824 | html | HTML | www/download.html | TomAnthony/intercooler-js | 1702aee2a15a57b0fe27b7b5e2cdca6bfaf78bde | [
"MIT"
] | 1 | 2017-12-06T08:26:56.000Z | 2017-12-06T08:26:56.000Z | www/download.html | TomAnthony/intercooler-js | 1702aee2a15a57b0fe27b7b5e2cdca6bfaf78bde | [
"MIT"
] | null | null | null | www/download.html | TomAnthony/intercooler-js | 1702aee2a15a57b0fe27b7b5e2cdca6bfaf78bde | [
"MIT"
] | null | null | null | ---
layout: default
nav: download
---
<div class="container">
<div class="row">
<div class="col-md-12">
<h2>Downloads</h2>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h3><i class="fa fa-bolt"></i> S3 latest</h3>
<pre>
<script src="https://code.jquery.com/jquery-1... | 35.082569 | 161 | 0.564331 |
fb2b96accbc2fe2b0ca62463a37a0b609aa455d7 | 3,120 | c | C | LinkedListIterator/linked_list_iterator_main.c | Nam-H-Nguyen/DataStructure | 61c86abf47171aecc66ba39e33364d12b12f94c1 | [
"MIT"
] | 1 | 2019-07-05T16:40:12.000Z | 2019-07-05T16:40:12.000Z | LinkedListIterator/linked_list_iterator_main.c | Nam-H-Nguyen/DataStructure | 61c86abf47171aecc66ba39e33364d12b12f94c1 | [
"MIT"
] | null | null | null | LinkedListIterator/linked_list_iterator_main.c | Nam-H-Nguyen/DataStructure | 61c86abf47171aecc66ba39e33364d12b12f94c1 | [
"MIT"
] | null | null | null | /*
* @file linked_list_iterator_main.c
*
* This file exercises the singly linked list and singly linked list
* iterators functions.
*
* @since Oct 24, 2018
* @author: Nam H. Nguyen
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include "linked_list_iterator.h"
/**
* Test LinkedListIterator... | 30.588235 | 89 | 0.714103 |
70f57d00faf1c20e85e7189a3d5aed566f6cbef2 | 1,128 | h | C | RecoVertex/KinematicFitPrimitives/interface/ExtendedPerigeeTrajectoryError.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | RecoVertex/KinematicFitPrimitives/interface/ExtendedPerigeeTrajectoryError.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | RecoVertex/KinematicFitPrimitives/interface/ExtendedPerigeeTrajectoryError.h | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef ExtendedPerigeeTrajectoryError_H
#define ExtendedPerigeeTrajectoryError_H
#include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
class ExtendedPerigeeTrajectoryError {
public:
ExtendedPerigeeTrajectoryError() : weightAvailable(false), vl(false) {}... | 26.857143 | 104 | 0.741135 |
102a5fbc0f62801aa677881da7f13808b96d3229 | 1,172 | swift | Swift | Sources/CardVisionCLI/main.swift | BergQuester/CardVision | dd6e866f118196e2868fc051d476b8fb94bb5238 | [
"MIT"
] | 8 | 2021-02-26T21:27:04.000Z | 2022-02-12T20:38:10.000Z | Sources/CardVisionCLI/main.swift | BergQuester/CardVision | dd6e866f118196e2868fc051d476b8fb94bb5238 | [
"MIT"
] | null | null | null | Sources/CardVisionCLI/main.swift | BergQuester/CardVision | dd6e866f118196e2868fc051d476b8fb94bb5238 | [
"MIT"
] | 1 | 2021-03-13T22:49:13.000Z | 2021-03-13T22:49:13.000Z | //
// File.swift
//
//
// Created by Daniel Bergquist on 2/7/21.
//
// This is a quick and dirty commandline tool for processing Apple card screenshots
// using CardVision. Pull requests welcome.
import Foundation
import CardVision
// Commandline argument keys
let imagePathKey = "imagePath"
let outputPathKey = "... | 20.206897 | 92 | 0.697099 |
f01b93fd62ec0d32ae52b76226ebbdc809441a67 | 10,427 | js | JavaScript | lib/resources-exec.js | itsshivaverma/node-client-api | a24196afbd07faf629b0dd9f301fe869ed68ceab | [
"Apache-2.0"
] | null | null | null | lib/resources-exec.js | itsshivaverma/node-client-api | a24196afbd07faf629b0dd9f301fe869ed68ceab | [
"Apache-2.0"
] | null | null | null | lib/resources-exec.js | itsshivaverma/node-client-api | a24196afbd07faf629b0dd9f301fe869ed68ceab | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2014-2019 MarkLogic Corporation
*
* 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... | 32.68652 | 104 | 0.68735 |
775a72b4447a6e9ef2166f8709c46023777f7df2 | 378 | html | HTML | app/gybr/index.html | jackens/jc | 08cf99f9730737766b1be045369ee7d881305a6c | [
"MIT"
] | 3 | 2019-05-17T05:52:30.000Z | 2021-07-15T10:36:20.000Z | app/gybr/index.html | jackens/jc | 08cf99f9730737766b1be045369ee7d881305a6c | [
"MIT"
] | null | null | null | app/gybr/index.html | jackens/jc | 08cf99f9730737766b1be045369ee7d881305a6c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>GYBR</title>
<link rel="apple-touch-icon" href="gybr.png" />
<link rel="shortcut icon" type="image/png" href="gybr.png" />
</head>
<body>
<scr... | 27 | 105 | 0.671958 |
875cf2f9dfba7dd891455581857443bcef6492d9 | 152 | html | HTML | _includes/header.html | kgrons/Sandbox | 042e6bb80a0384ec025c332538c729c7b227e7ed | [
"MIT"
] | null | null | null | _includes/header.html | kgrons/Sandbox | 042e6bb80a0384ec025c332538c729c7b227e7ed | [
"MIT"
] | null | null | null | _includes/header.html | kgrons/Sandbox | 042e6bb80a0384ec025c332538c729c7b227e7ed | [
"MIT"
] | null | null | null | <header>
<span>
<a href="/"><img size="100%" class="img-responsive" class="center-block" src="/img/dlf-aig.png"/></a>
</span>
</header>
| 25.333333 | 109 | 0.559211 |
759a14715a44a9847dac1ec3a755b4fbbe4dec3e | 2,765 | c | C | software/Dave Beck's C interception server code for FileMakerPro/dataServer.c | BeckResearchLab/odin | 85af6f162e55142636c5bf7a38eb75d5f6b0a808 | [
"MIT"
] | null | null | null | software/Dave Beck's C interception server code for FileMakerPro/dataServer.c | BeckResearchLab/odin | 85af6f162e55142636c5bf7a38eb75d5f6b0a808 | [
"MIT"
] | null | null | null | software/Dave Beck's C interception server code for FileMakerPro/dataServer.c | BeckResearchLab/odin | 85af6f162e55142636c5bf7a38eb75d5f6b0a808 | [
"MIT"
] | 1 | 2021-04-05T19:50:51.000Z | 2021-04-05T19:50:51.000Z | /*******************************************************************************
** dataServer.c
** UDP packet logger as data logger for OD device
** David Andrew Crawford Beck
** dacb@uw.edu
** Original:
** Mon Apr 1 10:30:16 PDT 2013
** Modified: Nov 23 2018 Jessica Hardwicke
*****************************************... | 28.802083 | 127 | 0.616275 |
d9adc71b31dd99f15c97a734c914b78d9b784a2c | 1,159 | sql | SQL | students/y2337/Kolotushkin_Danil/Pr3.1/Movie_Rating.db.sql | kibarik/ITMO_FSPO_DataBases_2020-2021 | f6a1ee821efada82a873767d499fa5c89e747668 | [
"MIT"
] | 2 | 2020-10-20T13:38:23.000Z | 2021-03-20T10:09:46.000Z | students/y2337/Kolotushkin_Danil/Pr3.1/Movie_Rating.db.sql | kibarik/ITMO_FSPO_DataBases_2020-2021 | f6a1ee821efada82a873767d499fa5c89e747668 | [
"MIT"
] | 67 | 2020-09-08T15:27:18.000Z | 2021-10-18T08:46:41.000Z | students/y2337/Kolotushkin_Danil/Pr3.1/Movie_Rating.db.sql | kibarik/ITMO_FSPO_DataBases_2020-2021 | f6a1ee821efada82a873767d499fa5c89e747668 | [
"MIT"
] | 97 | 2020-09-08T12:26:53.000Z | 2021-09-22T13:02:50.000Z | BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS "Reviewer" (
"rID" INTEGER NOT NULL UNIQUE,
"name" TEXT NOT NULL,
PRIMARY KEY("rID" AUTOINCREMENT)
);
CREATE TABLE IF NOT EXISTS "Movie" (
"mID" INTEGER NOT NULL UNIQUE,
"title" TEXT NOT NULL,
"year" DATE,
"director" TEXT NOT NULL,
PRIMARY KEY("mID" AUTOINCREMENT)
)... | 35.121212 | 74 | 0.704918 |
dc12fe3a72634b5363c218ab0b3d9830282fc7ea | 6,959 | py | Python | causalinference/core/propensity.py | youngminju-phd/Causalinference | 630e8fb195754a720da41791b725d3dadabfb257 | [
"BSD-3-Clause"
] | 392 | 2016-06-08T19:43:08.000Z | 2022-03-29T14:18:07.000Z | causalinference/core/propensity.py | youngminju-phd/Causalinference | 630e8fb195754a720da41791b725d3dadabfb257 | [
"BSD-3-Clause"
] | 12 | 2017-04-28T20:25:54.000Z | 2021-11-14T10:25:40.000Z | causalinference/core/propensity.py | youngminju-phd/Causalinference | 630e8fb195754a720da41791b725d3dadabfb257 | [
"BSD-3-Clause"
] | 82 | 2016-06-08T19:43:11.000Z | 2022-03-28T13:36:28.000Z | from __future__ import division
import numpy as np
from scipy.optimize import fmin_bfgs
from itertools import combinations_with_replacement
import causalinference.utils.tools as tools
from .data import Dict
class Propensity(Dict):
"""
Dictionary-like class containing propensity score data.
Propensity score rel... | 24.765125 | 69 | 0.674522 |