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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d30634da44385d9a29f632348abd9931d553d04c | 1,338 | lua | Lua | config/nvim/lua/core/mappings.lua | TheCodingLab/dotfiles | 9992b6f5e9d59bd78663d9cbf063c7fb7cc7490f | [
"MIT"
] | null | null | null | config/nvim/lua/core/mappings.lua | TheCodingLab/dotfiles | 9992b6f5e9d59bd78663d9cbf063c7fb7cc7490f | [
"MIT"
] | null | null | null | config/nvim/lua/core/mappings.lua | TheCodingLab/dotfiles | 9992b6f5e9d59bd78663d9cbf063c7fb7cc7490f | [
"MIT"
] | null | null | null | vim.g.mapleader = '\\'
vim.g.maplocalleader = '\\'
local opts = { noremap = true, silent = true }
local map = vim.api.nvim_set_keymap
map('n', '<C-n>', '<cmd>NvimTreeToggle<CR>', opts)
-- Clipboard
map('v', '<Leader>y', '"+y', opts)
map('n', '<Leader>p', '"+p', opts)
map('v', '<Leader>p', '"+p', opts)
-- Buffer na... | 33.45 | 113 | 0.609118 |
1fe224c33fe7f96bd12963a8675f8af443d0a6c7 | 2,320 | css | CSS | conways/src/components/Congame.css | mrockingham/Conway-s-mike-s-Game | 16af9d015dff08c26f246447bd1ec917673e7590 | [
"MIT"
] | null | null | null | conways/src/components/Congame.css | mrockingham/Conway-s-mike-s-Game | 16af9d015dff08c26f246447bd1ec917673e7590 | [
"MIT"
] | null | null | null | conways/src/components/Congame.css | mrockingham/Conway-s-mike-s-Game | 16af9d015dff08c26f246447bd1ec917673e7590 | [
"MIT"
] | null | null | null |
.app-body{
display: flex;
flex-direction: column;
justify-content: center;
margin-left: auto;
margin-right: auto;
margin-top: 3%;
align-items: center;
}
.grid-container{
padding: 3%;
border-radius: 72px;
background: #110a58;
box-shadow: inset 29px 29px 45px #090630,
... | 21.481481 | 319 | 0.616379 |
6b230dc3dcc5ebc264b105865b8dea34e0c23de6 | 4,574 | lua | Lua | misc/freeswitch/scripts/dialplan/ivr.lua | amooma/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 14 | 2015-01-07T10:20:22.000Z | 2020-02-19T13:35:26.000Z | misc/freeswitch/scripts/dialplan/ivr.lua | tpizzle/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 3 | 2015-07-22T04:35:10.000Z | 2021-02-20T14:07:27.000Z | misc/freeswitch/scripts/dialplan/ivr.lua | tpizzle/GS5 | acef44a7f28df0274b52a77f3a1d4c9f418d3c63 | [
"MIT"
] | 20 | 2015-04-08T07:23:21.000Z | 2021-09-11T09:05:38.000Z | -- Gemeinschaft 5 module: ivr class
-- (c) AMOOMA GmbH 2013
--
module(...,package.seeall)
Ivr = {}
-- create ivr ivr ;)
function Ivr.new(self, arg)
arg = arg or {}
ivr = arg.ivr or {}
setmetatable(ivr, self);
self.__index = self;
self.class = 'ivr';
self.log = arg.log;
self.caller = arg.caller;
self... | 26.439306 | 165 | 0.691736 |
fd75b92d6a48ae3d56e0763c795d973d2121b99a | 57 | h | C | include/task.h | himaaaatti/himawari_server | 92da990ff991a3c6960409689afb8df7d81fc7db | [
"MIT"
] | null | null | null | include/task.h | himaaaatti/himawari_server | 92da990ff991a3c6960409689afb8df7d81fc7db | [
"MIT"
] | null | null | null | include/task.h | himaaaatti/himawari_server | 92da990ff991a3c6960409689afb8df7d81fc7db | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <task_call.h>
| 11.4 | 22 | 0.719298 |
264f24949d386f3bc109e4cc8071940701f91baf | 13,168 | java | Java | src/main/scala/org/maltparserx/parser/guide/decision/BranchedDecisionModel.java | chrisx/processors | 98a28532d68f8c1cb643936b40d3f96c98c0940a | [
"Apache-2.0"
] | null | null | null | src/main/scala/org/maltparserx/parser/guide/decision/BranchedDecisionModel.java | chrisx/processors | 98a28532d68f8c1cb643936b40d3f96c98c0940a | [
"Apache-2.0"
] | null | null | null | src/main/scala/org/maltparserx/parser/guide/decision/BranchedDecisionModel.java | chrisx/processors | 98a28532d68f8c1cb643936b40d3f96c98c0940a | [
"Apache-2.0"
] | null | null | null | package org.maltparserx.parser.guide.decision;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import org.maltparserx.core.exception.MaltChainedException;
import org.maltparserx.core.feature.FeatureModel;
import org.maltparserx.core.feature.FeatureVector;
import org... | 37.83908 | 149 | 0.727825 |
043f710e2caffa8e57e81fa1e2193ede3a8a7c8b | 5,847 | java | Java | mlkit/app/src/main/java/com/google/firebase/example/mlkit/ImageLabelingActivity.java | jlara310/snippets-android | d9b18a31c9f7df33726024aeb6825daf22011954 | [
"Apache-2.0"
] | null | null | null | mlkit/app/src/main/java/com/google/firebase/example/mlkit/ImageLabelingActivity.java | jlara310/snippets-android | d9b18a31c9f7df33726024aeb6825daf22011954 | [
"Apache-2.0"
] | null | null | null | mlkit/app/src/main/java/com/google/firebase/example/mlkit/ImageLabelingActivity.java | jlara310/snippets-android | d9b18a31c9f7df33726024aeb6825daf22011954 | [
"Apache-2.0"
] | null | null | null | package com.google.firebase.example.mlkit;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import com.google.android.gms.tasks.OnFailureListener;
import com.google.android.gms.tasks.OnSuccessListener;
import com.google.android.gms.tasks.Task;
impor... | 47.153226 | 101 | 0.499059 |
09b9c9e852177ed11538e82d8aa9b3ff8014c121 | 2,659 | lua | Lua | src/inventory/ItemStack.lua | rm-code/On-The-Roadside | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 30 | 2016-09-14T14:00:25.000Z | 2021-09-29T13:28:37.000Z | src/inventory/ItemStack.lua | rm-code/On-The-Roadside | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 128 | 2016-07-31T00:50:35.000Z | 2019-05-05T20:32:09.000Z | src/inventory/ItemStack.lua | rm-code/Hoost | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 2 | 2016-09-21T14:55:05.000Z | 2016-11-29T12:10:05.000Z | ---
-- @module ItemStack
--
-- ------------------------------------------------
-- Required Modules
-- ------------------------------------------------
local Class = require( 'lib.Middleclass' )
-- ------------------------------------------------
-- Module
-- ------------------------------------------------
local I... | 21.443548 | 66 | 0.559233 |
6815e6596b1fd2500a9b02f123bb4a81f39c1bf7 | 23,232 | html | HTML | publications.html | shamsimam/shamsimam.github.io | 21c83f5849316b690fc961226df3c63437d51dda | [
"CC-BY-3.0"
] | null | null | null | publications.html | shamsimam/shamsimam.github.io | 21c83f5849316b690fc961226df3c63437d51dda | [
"CC-BY-3.0"
] | null | null | null | publications.html | shamsimam/shamsimam.github.io | 21c83f5849316b690fc961226df3c63437d51dda | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
Name : FronzenAge
Description: A two-column, fixed-width template suit... | 60.976378 | 243 | 0.581913 |
86f63de30d0199ed288d56a61e07d05604e7fdcb | 1,502 | sql | SQL | authorization-server/src/main/resources/data-mysql.sql | nrdio/spring-security-oauth2 | a528177cf3f61f22435a4d111cbaecf082bb2d65 | [
"MIT"
] | 5 | 2019-05-13T19:24:33.000Z | 2019-10-08T13:45:15.000Z | authorization-server/src/main/resources/data-mysql.sql | nrdio/spring-security-oauth2 | a528177cf3f61f22435a4d111cbaecf082bb2d65 | [
"MIT"
] | null | null | null | authorization-server/src/main/resources/data-mysql.sql | nrdio/spring-security-oauth2 | a528177cf3f61f22435a4d111cbaecf082bb2d65 | [
"MIT"
] | 1 | 2019-10-07T13:35:03.000Z | 2019-10-07T13:35:03.000Z | -- 'password'
REPLACE INTO oauth_client_details
(client_id, client_secret, scope, authorized_grant_types,
web_server_redirect_uri, authorities, access_token_validity,
refresh_token_validity, additional_information, autoapprove)
VALUES ('clientx',
'$2a$10$TYaGY7tqqM9kwdBJg9GOresSf/orSMGU5dy.Dmu75ARASx7L0LovG'... | 46.9375 | 103 | 0.767643 |
88c35af7854e05f021c957deecd8af9f9bd6d5e9 | 2,429 | lua | Lua | crematorfaction/addons/vfire_immolator/lua/effects/vfirethrower_jet2.lua | JohnyReaper/johny-helix-plugins | 34dbf812710d894d2393b84d5bf367f28388dd1d | [
"MIT"
] | 1 | 2020-12-08T16:30:41.000Z | 2020-12-08T16:30:41.000Z | crematorfaction/addons/vfire_immolator/lua/effects/vfirethrower_jet2.lua | JohnyReaper/johny-helix-plugins | 34dbf812710d894d2393b84d5bf367f28388dd1d | [
"MIT"
] | 1 | 2020-09-28T22:01:54.000Z | 2020-09-28T22:01:54.000Z | crematorfaction/addons/vfire_immolator/lua/effects/vfirethrower_jet2.lua | JohnyReaper/johny-helix-plugins | 34dbf812710d894d2393b84d5bf367f28388dd1d | [
"MIT"
] | 4 | 2020-04-18T16:27:28.000Z | 2021-11-19T02:50:04.000Z | function EFFECT:Init(data)
self.wep = data:GetEntity()
self.owner = self.wep:GetOwner()
self:SetRenderOrigin(self.owner:GetPos())
local mins, maxs = self.owner:GetRenderBounds()
self:SetRenderBounds(mins, maxs, Vector(500, 500, 500))
-- Used to determine when to spawn the next clientside fireball
sel... | 30.746835 | 146 | 0.690408 |
e7787bfcad7b80bf46bc3b556d60243717e2b5d2 | 4,403 | kt | Kotlin | src/main/kotlin/net/timafe/letsgo2/web/rest/PlaceResource.kt | tillkuhn/letsgo2 | 62994d7b25eff595dfa1b4144096d8614b81389a | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/net/timafe/letsgo2/web/rest/PlaceResource.kt | tillkuhn/letsgo2 | 62994d7b25eff595dfa1b4144096d8614b81389a | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/net/timafe/letsgo2/web/rest/PlaceResource.kt | tillkuhn/letsgo2 | 62994d7b25eff595dfa1b4144096d8614b81389a | [
"Apache-2.0"
] | null | null | null | package net.timafe.letsgo2.web.rest
import io.github.jhipster.web.util.HeaderUtil
import io.github.jhipster.web.util.ResponseUtil
import net.timafe.letsgo2.domain.Place
import net.timafe.letsgo2.repository.PlaceRepository
import net.timafe.letsgo2.web.rest.errors.BadRequestAlertException
import org.slf4j.LoggerFactory... | 35.508065 | 159 | 0.645696 |
65e8a8e1fb98bfb1306db990d94e63d40775fc69 | 445 | asm | Assembly | libsrc/msx/msx_vram.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | 1 | 2018-09-04T23:07:24.000Z | 2018-09-04T23:07:24.000Z | libsrc/msx/msx_vram.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/msx/msx_vram.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ;
; MSX specific routines
; by Stefano Bodrato, 29/11/2007
;
; int msx_vram();
;
; Detects the VRAM size (in KB)
;
; $Id: msx_vram.asm,v 1.1 2007/12/03 07:29:40 stefano Exp $
;
XLIB msx_vram
msx_vram:
ld a,(0FAFCh) ; mode
and 00000110b ; extract VRAM size
ld hl,16 ; assume 16K (MSX1)
ret ... | 17.8 | 60 | 0.611236 |
49a3deca249be5ce5999cb137f98b5064cdf03f9 | 92 | html | HTML | framework/views/.errors/404.html | zbzalex-work/regenix | bff2b431299b0509a9df9fa30f313ccc1c723b47 | [
"Apache-2.0"
] | null | null | null | framework/views/.errors/404.html | zbzalex-work/regenix | bff2b431299b0509a9df9fa30f313ccc1c723b47 | [
"Apache-2.0"
] | null | null | null | framework/views/.errors/404.html | zbzalex-work/regenix | bff2b431299b0509a9df9fa30f313ccc1c723b47 | [
"Apache-2.0"
] | null | null | null | {extends '.errors/main'}
{set title: 'Not found', subTitle: 'Not found'}
{$e->getMessage()} | 23 | 47 | 0.652174 |
74c6794646b0ef685d75676bf65dbaeb06c3b07b | 909 | js | JavaScript | utils/generateMarkdown.js | AlvinZC4/Good-README-Generator | 11c78d404ad7709f5b5602d46606b148e137b81e | [
"MIT"
] | null | null | null | utils/generateMarkdown.js | AlvinZC4/Good-README-Generator | 11c78d404ad7709f5b5602d46606b148e137b81e | [
"MIT"
] | null | null | null | utils/generateMarkdown.js | AlvinZC4/Good-README-Generator | 11c78d404ad7709f5b5602d46606b148e137b81e | [
"MIT"
] | null | null | null | // function to generate markdown for README
function generateMarkdown(data, image) {
return `# ${data.title}
${data.description}
${image}
***
## Table of Contents:
1. [How to Install ${data.title}](#Installation)
2. [Using ${data.title}](#How%20To%20Use%20This%20Application)
3. [Testing ${data.titl... | 17.480769 | 83 | 0.664466 |
386f56574a66b215849aa547efbc2e5e7d811228 | 708 | kt | Kotlin | src/commonTest/kotlin/ModelFactory.kt | TheSaan/minigdx | ca4065239c1d9e1f7f9a4d21f535e7a2f082c65a | [
"MIT"
] | 109 | 2021-04-05T04:00:38.000Z | 2022-03-24T11:54:38.000Z | src/commonTest/kotlin/ModelFactory.kt | TheSaan/minigdx | ca4065239c1d9e1f7f9a4d21f535e7a2f082c65a | [
"MIT"
] | 4 | 2021-05-06T15:24:22.000Z | 2022-02-02T16:55:22.000Z | src/commonTest/kotlin/ModelFactory.kt | TheSaan/minigdx | ca4065239c1d9e1f7f9a4d21f535e7a2f082c65a | [
"MIT"
] | 8 | 2021-04-26T07:51:09.000Z | 2022-02-04T15:24:45.000Z | import com.dwursteisen.minigdx.scene.api.model.Normal
import com.dwursteisen.minigdx.scene.api.model.Position
import com.dwursteisen.minigdx.scene.api.model.Vertex
import com.github.dwursteisen.minigdx.GameContext
import com.github.dwursteisen.minigdx.Resolution
object ModelFactory {
fun vertex(x: Number, y: Numb... | 33.714286 | 108 | 0.685028 |
6e9b15151794bac7dca358d59c3f0fa411d6f75d | 771 | kt | Kotlin | zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/dsl/component/ButtonDsl.kt | falconepl/zircon | 226f7fa88af1cf3092f2c1ac91a9be5a9d2c6203 | [
"Apache-2.0"
] | 708 | 2017-07-09T10:53:52.000Z | 2022-03-27T16:38:10.000Z | zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/dsl/component/ButtonDsl.kt | falconepl/zircon | 226f7fa88af1cf3092f2c1ac91a9be5a9d2c6203 | [
"Apache-2.0"
] | 351 | 2017-07-10T17:56:42.000Z | 2022-02-13T11:46:33.000Z | zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/dsl/component/ButtonDsl.kt | falconepl/zircon | 226f7fa88af1cf3092f2c1ac91a9be5a9d2c6203 | [
"Apache-2.0"
] | 233 | 2017-07-10T17:07:49.000Z | 2022-03-15T16:45:33.000Z | package org.hexworks.zircon.api.dsl.component
import org.hexworks.zircon.api.builder.component.ButtonBuilder
import org.hexworks.zircon.api.component.Button
import org.hexworks.zircon.api.component.Container
import org.hexworks.zircon.api.component.builder.base.BaseContainerBuilder
/**
* Creates a new [Button] using... | 36.714286 | 74 | 0.758755 |
afca3fb29a9177e0a4a0c1a9e40071ce89b9ab27 | 348 | html | HTML | _includes/directory.html | lee-yunseok/Jekyll-Personal-Website | 09c0265f569e97763fa9faff2268da6ea1cdd7fa | [
"MIT"
] | 2 | 2019-11-09T20:45:44.000Z | 2019-11-12T04:38:24.000Z | _includes/directory.html | lee-yunseok/jekyll-personal-website | 09c0265f569e97763fa9faff2268da6ea1cdd7fa | [
"MIT"
] | null | null | null | _includes/directory.html | lee-yunseok/jekyll-personal-website | 09c0265f569e97763fa9faff2268da6ea1cdd7fa | [
"MIT"
] | null | null | null | <div><h2 {% if site.style == 'dark' %}class="text-white"{% endif %}>{{ page.description }}</h2>
<ul class="posts">
{% for post in page.posts %}
<li>
<span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</l... | 34.8 | 95 | 0.545977 |
fe1121018db2e68427bf54ab46a961c24e6b4cd2 | 889 | asm | Assembly | audio/sfx/cry1e_2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | audio/sfx/cry1e_2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | audio/sfx/cry1e_2.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | SFX_Cry1E_2_Ch1:
dutycycle 240
unknownsfx0x20 6, 242, 0, 6
unknownsfx0x20 6, 226, 64, 6
unknownsfx0x20 6, 210, 128, 6
unknownsfx0x20 6, 226, 192, 6
unknownsfx0x20 6, 210, 0, 7
unknownsfx0x20 6, 194, 64, 7
unknownsfx0x20 6, 178, 128, 7
unknownsfx0x20 8, 161, 192, 7
endchannel
SFX_Cry1E_2_Ch2:
dutycycle 17
... | 22.794872 | 30 | 0.732283 |
e75f77bc7f723101e1429451467b3379e45e6375 | 1,849 | js | JavaScript | index.js | sagebind/teto-bot | 535e8a691a3aff80c8091819b3619f057817a5b8 | [
"MIT"
] | null | null | null | index.js | sagebind/teto-bot | 535e8a691a3aff80c8091819b3619f057817a5b8 | [
"MIT"
] | 1 | 2020-12-17T06:20:03.000Z | 2020-12-17T07:27:14.000Z | index.js | sagebind/teto-bot | 535e8a691a3aff80c8091819b3619f057817a5b8 | [
"MIT"
] | null | null | null | const core = require('@actions/core');
const github = require('@actions/github');
// Constants for this particular repo.
const botUser = 'teto-bot';
const botRepo = 'sagebind/teto-bot';
async function main() {
try {
// Extract command
const match = github.context.payload.comment.body.match(`^@${bo... | 31.338983 | 95 | 0.579773 |
fbd26f2fc5c4af49b070ebf2f9b8e1a574bcb64a | 540 | java | Java | javaSE/src/com/joker/reflection/Test2.java | jokerzzccc/sturdy-doodle | 6456ce75883eda2b194fd8c39ed1c2ddb026fbf1 | [
"Apache-2.0"
] | null | null | null | javaSE/src/com/joker/reflection/Test2.java | jokerzzccc/sturdy-doodle | 6456ce75883eda2b194fd8c39ed1c2ddb026fbf1 | [
"Apache-2.0"
] | null | null | null | javaSE/src/com/joker/reflection/Test2.java | jokerzzccc/sturdy-doodle | 6456ce75883eda2b194fd8c39ed1c2ddb026fbf1 | [
"Apache-2.0"
] | null | null | null | package com.joker.reflection;
/**
* 获取 类加载器
*/
public class Test2 {
public static void main(String[] args) {
//获得系统类加载器
ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
System.out.println(
systemClassLoader
);
//获得系统类加载器的父类,扩展类加载器
... | 25.714286 | 75 | 0.618519 |
b008dbde4fdc4547cf9687bf05e9c7cea8761346 | 1,245 | rs | Rust | intercom-attributes/tests/data/ui/comstruct-api.rs | Rantanen/com-export-rs | 4333bc1e58cb121809cc2ee8b2d392a66360815c | [
"MIT"
] | 45 | 2017-11-06T06:27:08.000Z | 2021-12-26T19:54:25.000Z | intercom-attributes/tests/data/ui/comstruct-api.rs | Rantanen/com-export-rs | 4333bc1e58cb121809cc2ee8b2d392a66360815c | [
"MIT"
] | 131 | 2017-12-05T03:18:58.000Z | 2021-11-28T23:16:12.000Z | intercom-attributes/tests/data/ui/comstruct-api.rs | Rantanen/com-export-rs | 4333bc1e58cb121809cc2ee8b2d392a66360815c | [
"MIT"
] | 7 | 2017-12-06T08:38:09.000Z | 2021-03-27T14:47:08.000Z | extern crate intercom;
use intercom::{ComItf, ComRc, ComResult};
#[intercom::com_interface]
pub trait MyInterface
{
fn interface_method(&self) {}
}
#[intercom::com_class(MyStruct, MyInterface)]
pub struct MyStruct;
impl MyInterface for MyStruct
{
fn interface_method(&self) {}
}
#[intercom::com_interface]
i... | 21.842105 | 82 | 0.688353 |
394acf6b4f78b3530977ac540998ed704d7183a6 | 2,830 | lua | Lua | __hj_bak/hj212/hisdb/utils.lua | freeioe/freeioe_example_apps | c4a13c1ac0b0bb41397e2a916538ae1eb5d10535 | [
"MIT"
] | 6 | 2020-04-10T15:00:23.000Z | 2021-10-02T03:45:11.000Z | __hj_bak/hj212/hisdb/utils.lua | freeioe/freeioe_example_apps | c4a13c1ac0b0bb41397e2a916538ae1eb5d10535 | [
"MIT"
] | 1 | 2021-07-11T07:23:53.000Z | 2021-07-11T07:23:53.000Z | __hj_bak/hj212/hisdb/utils.lua | freeioe/freeioe_example_apps | c4a13c1ac0b0bb41397e2a916538ae1eb5d10535 | [
"MIT"
] | 5 | 2019-06-25T06:55:35.000Z | 2021-08-29T12:45:37.000Z | local date = require 'date'
local _M = {}
local function to_seconds(val)
return math.floor(date.diff(val:toutc(), date(0)):spanseconds())
end
-- Duration Start Time
function _M.duration_base(duration, start)
assert(duration, 'Duration missing')
local now = start and date(start):tolocal() or date(false) -- local t... | 21.769231 | 87 | 0.637456 |
5023023f4c4605ac8f5fec4b1c74783c38cd3b44 | 3,351 | go | Go | store/tests/automation_sessions_test.go | tnissen375/corteza-server | 83720d11ff2a94f52813a2fefcd8d20473a89e78 | [
"Apache-2.0"
] | 409 | 2019-06-01T07:12:13.000Z | 2022-03-31T14:41:13.000Z | store/tests/automation_sessions_test.go | tnissen375/corteza-server | 83720d11ff2a94f52813a2fefcd8d20473a89e78 | [
"Apache-2.0"
] | 243 | 2019-06-19T11:46:44.000Z | 2022-03-21T17:12:30.000Z | store/tests/automation_sessions_test.go | tnissen375/corteza-server | 83720d11ff2a94f52813a2fefcd8d20473a89e78 | [
"Apache-2.0"
] | 121 | 2019-06-01T07:12:21.000Z | 2022-03-29T15:16:54.000Z | package tests
import (
"context"
"testing"
"github.com/cortezaproject/corteza-server/automation/types"
"github.com/cortezaproject/corteza-server/pkg/filter"
"github.com/cortezaproject/corteza-server/pkg/id"
"github.com/cortezaproject/corteza-server/store"
_ "github.com/joho/godotenv/autoload"
"github.com/stre... | 26.808 | 102 | 0.682184 |
14b0c9a1a6de210a7814347be0ce6c30453c1511 | 918 | swift | Swift | Sources/App/Models/Scheme/PostTag.swift | rb-de0/yubatake | 36585bc5a213d9d88948c5be3b9533ea517bd5ec | [
"MIT"
] | 4 | 2018-08-19T19:16:17.000Z | 2021-03-07T11:56:57.000Z | Sources/App/Models/Scheme/PostTag.swift | rb-de0/yubatake | 36585bc5a213d9d88948c5be3b9533ea517bd5ec | [
"MIT"
] | 34 | 2018-05-26T04:41:17.000Z | 2021-09-27T21:30:37.000Z | Sources/App/Models/Scheme/PostTag.swift | rb-de0/note | 36585bc5a213d9d88948c5be3b9533ea517bd5ec | [
"MIT"
] | null | null | null | import Fluent
import Vapor
final class PostTag: Model {
static let schema = "post_tag"
@ID(custom: .id)
var id: Int?
@Parent(key: "post_id")
var post: Post
@Parent(key: "tag_id")
var tag: Tag
}
struct CreatePostTag: Migration {
func prepare(on database: Database) -> EventLoopFutur... | 26.228571 | 106 | 0.606754 |
04b1ec90782950331c0ae9b8d0fc0216796fb7d0 | 2,981 | java | Java | backend/src/MessageParser.java | Heinzen/Filmemotion | 69f1dbff943b829476c7ded2314b771ea3c2dc39 | [
"Apache-2.0"
] | null | null | null | backend/src/MessageParser.java | Heinzen/Filmemotion | 69f1dbff943b829476c7ded2314b771ea3c2dc39 | [
"Apache-2.0"
] | null | null | null | backend/src/MessageParser.java | Heinzen/Filmemotion | 69f1dbff943b829476c7ded2314b771ea3c2dc39 | [
"Apache-2.0"
] | null | null | null | import org.json.JSONArray;
import org.json.JSONObject;
public final class MessageParser {
private MessageParser(){}
private static String requestType;
public static void parseParameters(String input) {
try{
System.out.println("Parsing JSONObject");
System.out.println(input... | 41.985915 | 102 | 0.585709 |
f05da004efb57fa8123a5d8084bba03a6cd27ce9 | 623 | py | Python | create_tacacs.py | cromulon-actual/ise_automation | de3fbb762c3e1f4f41d81dda3bd2d33a11db1d58 | [
"MIT"
] | null | null | null | create_tacacs.py | cromulon-actual/ise_automation | de3fbb762c3e1f4f41d81dda3bd2d33a11db1d58 | [
"MIT"
] | null | null | null | create_tacacs.py | cromulon-actual/ise_automation | de3fbb762c3e1f4f41d81dda3bd2d33a11db1d58 | [
"MIT"
] | null | null | null | from ciscoisesdk import IdentityServicesEngineAPI
from ciscoisesdk.exceptions import ApiError
from dotenv import load_dotenv
import os
from pprint import pprint as ppr
load_dotenv()
admin = os.getenv("ISE_ADMIN")
pw = os.getenv("ISE_PW")
base_url = os.getenv("ISE_URL")
api = IdentityServicesEngineAPI(
username=ad... | 23.074074 | 82 | 0.764045 |
41dc391f18d80ee1167edff17e49571cb926de63 | 237 | dart | Dart | lib/src/Laravel/tableCreate.dart | zeeshux7860/material_x | bbe258ad347edcc2485ba840487b9e3099804014 | [
"Apache-2.0"
] | 7 | 2020-04-25T04:46:53.000Z | 2022-01-04T15:59:39.000Z | lib/src/Laravel/tableCreate.dart | zeeshux7860/material_x | bbe258ad347edcc2485ba840487b9e3099804014 | [
"Apache-2.0"
] | 1 | 2022-01-04T15:59:28.000Z | 2022-01-04T15:59:28.000Z | lib/src/Laravel/tableCreate.dart | zeeshux7860/material_x | bbe258ad347edcc2485ba840487b9e3099804014 | [
"Apache-2.0"
] | null | null | null | import './database_structure.dart';
import './ListLaravel.dart';
String laravelTableCreate(String tableName, List tableColumn) {
var tableList = tableColumn.dblist();
var table = dbStructure(tableName, tableList);
return table;
}
| 26.333333 | 63 | 0.759494 |
d8e186292c4dabc9b7979653ad891d66130ed744 | 2,514 | kt | Kotlin | subprojects/gradle/cd/src/test/kotlin/com/avito/ci/Utils.kt | bugtsa/avito-android | 6ef9f3d70c253e8bf6e1e26c47ee5389fb118e4a | [
"Apache-2.0"
] | null | null | null | subprojects/gradle/cd/src/test/kotlin/com/avito/ci/Utils.kt | bugtsa/avito-android | 6ef9f3d70c253e8bf6e1e26c47ee5389fb118e4a | [
"Apache-2.0"
] | null | null | null | subprojects/gradle/cd/src/test/kotlin/com/avito/ci/Utils.kt | bugtsa/avito-android | 6ef9f3d70c253e8bf6e1e26c47ee5389fb118e4a | [
"Apache-2.0"
] | 1 | 2021-09-30T19:36:44.000Z | 2021-09-30T19:36:44.000Z | package com.avito.ci
import com.avito.test.gradle.TestResult
import com.avito.test.gradle.gradlew
import com.google.common.truth.Truth
import okhttp3.mockwebserver.RecordedRequest
import java.io.File
fun TestResult.assertAffectedModules(taskName: String, expectedModules: Set<String>) {
assertThat().buildSuccessfu... | 31.822785 | 97 | 0.736277 |
c44d6d4b9f6b2e0ed01bd304bbc6e894c53f9e77 | 8,106 | asm | Assembly | dino/lc/scene.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 6 | 2020-10-14T15:29:10.000Z | 2022-02-12T18:58:54.000Z | dino/lc/scene.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | dino/lc/scene.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 1 | 2020-12-17T08:59:10.000Z | 2020-12-17T08:59:10.000Z | copyright zengfr site:http://github.com/zengfr/romhack
018078 move.b ($4d9,A5), D0
01807C lsl.w #2, D0
01807E moveq #$0, D1
018080 move.b ($786,A5), D1
018084 add.w D1, D0
018086 move.b ($c,PC,D0.w), D1
01808A subq.b #1, D1
;--------
01E3C4 lsl.w #4, D0
01E3C6 lea ($2c,PC,D0.w), A0 ... | 25.570978 | 54 | 0.533925 |
44dd54332f4cf22b676fe0faddb3d7df15678f49 | 357 | asm | Assembly | src/Ninu.Emulator.Tests/Cpu/TestFiles/stack.6502.asm | jorgy343/Ninu | e0fb8b4edeb15eee2199bfb9a8e64bb838d9114c | [
"MIT"
] | null | null | null | src/Ninu.Emulator.Tests/Cpu/TestFiles/stack.6502.asm | jorgy343/Ninu | e0fb8b4edeb15eee2199bfb9a8e64bb838d9114c | [
"MIT"
] | null | null | null | src/Ninu.Emulator.Tests/Cpu/TestFiles/stack.6502.asm | jorgy343/Ninu | e0fb8b4edeb15eee2199bfb9a8e64bb838d9114c | [
"MIT"
] | null | null | null | .include "..\..\..\Cpu\TestFiles\std.6502.asm"
* = $0000
.byte $00
; Beginning of tests.
* = $c000
.init
; Basic test of pha and pla.
lda #$37
pha
lda #$00
pla
; Basic test of php and plp.
lda #$00
php
lda #$ff
plp
.done
* = $fff0
rti
* = $fffa
nmiVector .addr $fff0
resetVector... | 11.15625 | 48 | 0.568627 |
1c00351a81bf87ef74c62f3d061331d1b37555db | 125 | lua | Lua | assets/preload/custom_notetypes/GifPopup.lua | Nskakaka/Psych-Engine-0.4.2-Android-Port | ffac0ab69e5adc449e43e7acf2a125ef2b689c01 | [
"Apache-2.0"
] | null | null | null | assets/preload/custom_notetypes/GifPopup.lua | Nskakaka/Psych-Engine-0.4.2-Android-Port | ffac0ab69e5adc449e43e7acf2a125ef2b689c01 | [
"Apache-2.0"
] | null | null | null | assets/preload/custom_notetypes/GifPopup.lua | Nskakaka/Psych-Engine-0.4.2-Android-Port | ffac0ab69e5adc449e43e7acf2a125ef2b689c01 | [
"Apache-2.0"
] | 1 | 2022-02-27T19:40:34.000Z | 2022-02-27T19:40:34.000Z |
function onEvent(n,v1,v2)
if n == "GifPopup" then
if osfunction then
os.execute("speed.gif")
end
end
end
| 12.5 | 27 | 0.616 |
8d602c351c597c06bafa5dfb9b3bd869dfebbc8f | 1,635 | kt | Kotlin | src/main/kotlin/io/toolebox/gradle/gitversioner/core/tag/GitTagger.kt | yschimke/gradle-git-versioner | bb661e25644adcd70a9a74451b557be1cd566a66 | [
"MIT"
] | 19 | 2018-07-24T08:15:50.000Z | 2022-03-16T15:10:36.000Z | src/main/kotlin/io/toolebox/gradle/gitversioner/core/tag/GitTagger.kt | yschimke/gradle-git-versioner | bb661e25644adcd70a9a74451b557be1cd566a66 | [
"MIT"
] | 18 | 2018-10-02T13:33:35.000Z | 2022-03-29T13:18:36.000Z | src/main/kotlin/io/toolebox/gradle/gitversioner/core/tag/GitTagger.kt | yschimke/gradle-git-versioner | bb661e25644adcd70a9a74451b557be1cd566a66 | [
"MIT"
] | 5 | 2018-11-26T22:41:37.000Z | 2022-01-31T09:29:52.000Z | package io.toolebox.gradle.gitversioner.core.tag
import com.jcraft.jsch.JSch
import java.io.File
import org.eclipse.jgit.api.Git
import org.eclipse.jgit.transport.CredentialsProvider
import org.eclipse.jgit.transport.UsernamePasswordCredentialsProvider
class GitTagger(private val gitFolder: File, private val config: ... | 36.333333 | 91 | 0.675229 |
3f6821db18d86e09619f8d2402e700848a640509 | 2,670 | kt | Kotlin | app/src/main/java/com/github/teracy/roompagingsample/data/paging/DietMemberPageKeyedDataSource.kt | teracy/RoomPagingSample | 9ab546c5b8994da9c0d6ead40b98e2cb4faea371 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/teracy/roompagingsample/data/paging/DietMemberPageKeyedDataSource.kt | teracy/RoomPagingSample | 9ab546c5b8994da9c0d6ead40b98e2cb4faea371 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/github/teracy/roompagingsample/data/paging/DietMemberPageKeyedDataSource.kt | teracy/RoomPagingSample | 9ab546c5b8994da9c0d6ead40b98e2cb4faea371 | [
"Apache-2.0"
] | null | null | null | package com.github.teracy.roompagingsample.data.paging
import android.arch.lifecycle.MutableLiveData
import android.arch.paging.PageKeyedDataSource
import com.github.teracy.roompagingsample.data.db.AppDatabase
import com.github.teracy.roompagingsample.data.db.entity.DietMemberEntity
class DietMemberPageKeyedDa... | 38.142857 | 165 | 0.521348 |
e316f48bcd6b20affbfced32797b1e2836463674 | 1,580 | kt | Kotlin | module_base/src/main/java/com/linda/module_base/view/VideoCollectionHorizontalScrollCardItemView.kt | zhoulinda/eyepetizer_kotlin | 7dfc8eef169fd16326dc64560edf9ebb21618b05 | [
"MIT"
] | 72 | 2021-02-28T09:52:04.000Z | 2022-03-28T09:24:31.000Z | module_base/src/main/java/com/linda/module_base/view/VideoCollectionHorizontalScrollCardItemView.kt | zhoulinda/eyepetizer_kotlin | 7dfc8eef169fd16326dc64560edf9ebb21618b05 | [
"MIT"
] | null | null | null | module_base/src/main/java/com/linda/module_base/view/VideoCollectionHorizontalScrollCardItemView.kt | zhoulinda/eyepetizer_kotlin | 7dfc8eef169fd16326dc64560edf9ebb21618b05 | [
"MIT"
] | 12 | 2021-03-02T06:18:05.000Z | 2022-03-18T02:59:40.000Z | package com.linda.module_base.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.FrameLayout
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.bitmap.CircleCrop
import com.bumptech.glide.request.RequestOptions
import com.l... | 30.384615 | 98 | 0.679114 |
93b16738ab6209f3ff1fc4be9a4af60e1e272d95 | 1,768 | rs | Rust | src/main.rs | skrzepto/tictactoe-rust | c83931a83b50746db077d1e79b96d35894920eb8 | [
"MIT"
] | null | null | null | src/main.rs | skrzepto/tictactoe-rust | c83931a83b50746db077d1e79b96d35894920eb8 | [
"MIT"
] | null | null | null | src/main.rs | skrzepto/tictactoe-rust | c83931a83b50746db077d1e79b96d35894920eb8 | [
"MIT"
] | null | null | null | mod board {
use std::cell::Cell;
#[derive(Copy, Clone, PartialEq)]
pub enum Square {
Empty,
Black,
White
}
pub struct GameState {
pub squares_filled: i32,
pub winner: Square,
pub board: [[Square;3]; 3]
}
impl GameState {
fn check_hor... | 21.560976 | 55 | 0.455882 |
2cf70c9c95201eabda8f8eb658cfc481e2fd991c | 8,040 | lua | Lua | runner/el53/builtin/mainmenu/dlg_config_world.lua | samarth-ramesh/mtlauncher | 14f4c2b83a39a7775e6dd09ccf60f1382c4a8837 | [
"MIT"
] | null | null | null | runner/el53/builtin/mainmenu/dlg_config_world.lua | samarth-ramesh/mtlauncher | 14f4c2b83a39a7775e6dd09ccf60f1382c4a8837 | [
"MIT"
] | 1 | 2021-02-13T03:06:31.000Z | 2021-02-13T03:08:33.000Z | runner/el53/builtin/mainmenu/dlg_config_world.lua | samarth-ramesh/mtlauncher | 14f4c2b83a39a7775e6dd09ccf60f1382c4a8837 | [
"MIT"
] | null | null | null | --Minetest
--Copyright (C) 2013 sapier
--
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is ... | 26.188925 | 80 | 0.666045 |
1260b1be00f7d8033a61b354b1987d2f92fefef3 | 1,844 | h | C | velox/functions/prestosql/types/TimestampWithTimeZoneType.h | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 1 | 2022-01-06T20:10:07.000Z | 2022-01-06T20:10:07.000Z | velox/functions/prestosql/types/TimestampWithTimeZoneType.h | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | velox/functions/prestosql/types/TimestampWithTimeZoneType.h | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 31.793103 | 79 | 0.741866 |
07d706d7c8389a552a0384d6ac95f45bd5d9ebb6 | 4,180 | ps1 | PowerShell | Source/Public/Set-SCMrkAuth.ps1 | ScriptingChris/SCPSMeraki | 76eaec3e09daffcd8a97c05ab94a8ba24865bd12 | [
"MIT"
] | 1 | 2021-08-13T17:26:44.000Z | 2021-08-13T17:26:44.000Z | Source/Public/Set-SCMrkAuth.ps1 | ScriptingChris/SCPSMeraki | 76eaec3e09daffcd8a97c05ab94a8ba24865bd12 | [
"MIT"
] | 1 | 2021-12-20T03:53:06.000Z | 2021-12-20T03:53:06.000Z | Source/Public/Set-SCMrkAuth.ps1 | ScriptingChris/SCPSMeraki | 76eaec3e09daffcd8a97c05ab94a8ba24865bd12 | [
"MIT"
] | 1 | 2021-08-15T14:15:38.000Z | 2021-08-15T14:15:38.000Z | function Set-SCMrkAuth {
<#
.SYNOPSIS
Cmdlet for connecting to Meraki Dashboard API.
.DESCRIPTION
Cmdlet whitch which will authenticate your API key with Meraki Dashboard
The cmdlet is necessary for not having to provide the API Key for the
follwing cmdlets you will use.
... | 45.934066 | 173 | 0.635885 |
b4ef8c856d0d2d55dfe175c443d4f07da5d520e7 | 6,560 | lua | Lua | vm/classreader.lua | davidgiven/luje | c580adea62d30cec68505fa99b68e815c59f702c | [
"Apache-2.0",
"BSD-2-Clause-FreeBSD"
] | 51 | 2016-01-29T20:22:26.000Z | 2021-11-05T01:29:13.000Z | vm/classreader.lua | davidgiven/luje | c580adea62d30cec68505fa99b68e815c59f702c | [
"Apache-2.0",
"BSD-2-Clause-FreeBSD"
] | 3 | 2016-01-25T21:34:53.000Z | 2016-01-25T21:35:29.000Z | vm/classreader.lua | davidgiven/luje | c580adea62d30cec68505fa99b68e815c59f702c | [
"Apache-2.0",
"BSD-2-Clause-FreeBSD"
] | 12 | 2016-01-29T20:22:27.000Z | 2020-06-23T12:40:35.000Z | -- Luje
-- © 2013 David Given
-- This file is redistributable under the terms of the
-- New BSD License. Please see the COPYING file in the
-- project root for the full text.
local ffi = require("ffi")
local Utils = require("Utils")
local Cast = require("Cast")
local dbg = Utils.Debug
local string_byte = string.byte
l... | 19.014493 | 76 | 0.637957 |
034a4a0a3668c4f5c3d99d9a7905fa1f645a4945 | 1,803 | kt | Kotlin | src/main/kotlin/com/github/kvnxiao/discord/commands/fun/RollCommand.kt | kvnxiao/operator-6o | de5dcd86e0c7b6df2093f2f419c6b3e703f56d53 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/github/kvnxiao/discord/commands/fun/RollCommand.kt | kvnxiao/operator-6o | de5dcd86e0c7b6df2093f2f419c6b3e703f56d53 | [
"Apache-2.0"
] | 63 | 2020-02-12T13:39:05.000Z | 2022-03-28T10:06:05.000Z | src/main/kotlin/com/github/kvnxiao/discord/commands/fun/RollCommand.kt | kvnxiao/operator-6o | de5dcd86e0c7b6df2093f2f419c6b3e703f56d53 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 Ze Hao (Kevin) Xiao
*
* 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... | 36.795918 | 119 | 0.694398 |
81e95cf8d4f6376c6c32d0e3034ce9e57a74ef2e | 21,859 | go | Go | adapter/strategy/web/web.go | wayfair-contribs/app-identity-and-access-adapter | 9bd4db941873104f58e7bb1bdb9ae01fd1b86ddd | [
"Apache-2.0"
] | 84 | 2019-07-01T06:21:22.000Z | 2022-03-29T23:57:30.000Z | adapter/strategy/web/web.go | wayfair-contribs/app-identity-and-access-adapter | 9bd4db941873104f58e7bb1bdb9ae01fd1b86ddd | [
"Apache-2.0"
] | 26 | 2019-11-25T17:51:14.000Z | 2021-07-27T11:30:23.000Z | adapter/strategy/web/web.go | wayfair-contribs/app-identity-and-access-adapter | 9bd4db941873104f58e7bb1bdb9ae01fd1b86ddd | [
"Apache-2.0"
] | 35 | 2019-07-29T16:58:01.000Z | 2021-11-23T06:15:19.000Z | package webstrategy
import (
"errors"
"net/http"
"strings"
"sync"
"time"
"k8s.io/api/core/v1"
"k8s.io/client-go/kubernetes"
"github.com/gogo/googleapis/google/rpc"
"github.com/gogo/protobuf/types"
"github.com/gorilla/securecookie"
"go.uber.org/zap"
"gopkg.in/mgo.v2/bson"
"istio.io/api/mixer/adapter/mode... | 39.103757 | 184 | 0.734617 |
6471c9a1ce53da654057a8211610b7466d44c204 | 144 | tab | SQL | test/mapdata/reclass/reclass2_nodata.tab | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | null | null | null | test/mapdata/reclass/reclass2_nodata.tab | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | null | null | null | test/mapdata/reclass/reclass2_nodata.tab | VITObelgium/geodynamix | 6d3323bc4cae1b85e26afdceab2ecf3686b11369 | [
"MIT"
] | 1 | 2021-06-16T11:55:27.000Z | 2021-06-16T11:55:27.000Z | 0 0 100
0 1 101
0 2 102
0 nan 109
1 0 110
1 1 111
1 2 112
1 nan 119
2 0 120
2 1 121
2 2 122
2 nan 129
nan 0 190
nan 1 191
nan 2 192
nan nan 199
| 8.470588 | 11 | 0.666667 |
7de84378ab052efd3bfe019c5e74b04cecad1a6b | 803 | swift | Swift | CovidApp/CovidApp/Managers/App.swift | diegobootia/CovidApp | 6ff79a99ffebf9c2c1e48e24e97e5f4268bf3bba | [
"MIT"
] | null | null | null | CovidApp/CovidApp/Managers/App.swift | diegobootia/CovidApp | 6ff79a99ffebf9c2c1e48e24e97e5f4268bf3bba | [
"MIT"
] | null | null | null | CovidApp/CovidApp/Managers/App.swift | diegobootia/CovidApp | 6ff79a99ffebf9c2c1e48e24e97e5f4268bf3bba | [
"MIT"
] | null | null | null | //
// App.swift
// CovidApp
//
// Created by Diego Varangot on 24/4/21.
//
import UIKit
class App {
static let shared = App()
var token: String? {
didSet {
UserDefaults.standard.set(token, forKey: K.UserDefaultsKeys.token)
}
}
var isLoggedIn: Bool { return token != nil... | 22.942857 | 96 | 0.636364 |
7009729810d3d650d355d5f18bff30139ad26e32 | 2,134 | go | Go | vendor/github.com/docker/docker/daemon/network_operations.go | tetatetit/rancher_os | ba73b74dbb2375a5f7f5eae2ba1f189191295e17 | [
"Apache-2.0"
] | 3 | 2017-01-15T07:06:13.000Z | 2017-03-15T21:42:25.000Z | vendor/github.com/docker/docker/daemon/network_operations.go | tetatetit/rancher_os | ba73b74dbb2375a5f7f5eae2ba1f189191295e17 | [
"Apache-2.0"
] | 3 | 2021-05-21T00:20:07.000Z | 2022-02-26T10:49:36.000Z | vendor/github.com/docker/docker/daemon/network_operations.go | tetatetit/rancher_os | ba73b74dbb2375a5f7f5eae2ba1f189191295e17 | [
"Apache-2.0"
] | 2 | 2018-09-29T08:43:20.000Z | 2019-09-17T12:40:27.000Z | package daemon
import (
"fmt"
"os"
"github.com/docker/docker/container"
derr "github.com/docker/docker/errors"
networktypes "github.com/docker/engine-api/types/network"
)
func (daemon *Daemon) updateContainerNetworkSettings(container *container.Container, endpointsConfig map[string]*networktypes.EndpointSetting... | 27.358974 | 151 | 0.755389 |
1ff15d8351e0e672161df3846a5de2ebfb681230 | 19,629 | asm | Assembly | base/ntos/ke/i386/callout.asm | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | 1 | 2022-03-12T13:57:18.000Z | 2022-03-12T13:57:18.000Z | base/ntos/ke/i386/callout.asm | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | null | null | null | base/ntos/ke/i386/callout.asm | 987432340/wrk-v1.2 | 423d4c22b892bcc97778385bc0a646ed7a3cfbde | [
"Intel"
] | 1 | 2021-11-25T08:18:04.000Z | 2021-11-25T08:18:04.000Z | title "Call Out to User Mode"
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Modul... | 37.246679 | 135 | 0.573641 |
0434b1a34ea5ba6ba4d6ccab419efea4e1e29845 | 17,123 | java | Java | repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/TaskActivityManager.java | mythoss/midpoint | 834b78d89fc7e423fdf52f0fece19a24ec4e5f27 | [
"Apache-2.0"
] | null | null | null | repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/TaskActivityManager.java | mythoss/midpoint | 834b78d89fc7e423fdf52f0fece19a24ec4e5f27 | [
"Apache-2.0"
] | null | null | null | repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/TaskActivityManager.java | mythoss/midpoint | 834b78d89fc7e423fdf52f0fece19a24ec4e5f27 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2010-2021 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.repo.common.activity;
import java.util.*;
import java.util.stream.Collectors;
import com.evolveum... | 50.659763 | 143 | 0.674064 |
a28177e1fb7f7502d7a233063fe0d390678ff763 | 25,303 | lua | Lua | extlib/ffi/uv.lua | sd-/luajit | 612f1797554b5dc3f1d64e4755b3fdc4f11b617a | [
"MIT"
] | 2 | 2016-03-24T22:49:47.000Z | 2018-07-15T04:02:46.000Z | extlib/ffi/uv.lua | sd-/luajit | 612f1797554b5dc3f1d64e4755b3fdc4f11b617a | [
"MIT"
] | null | null | null | extlib/ffi/uv.lua | sd-/luajit | 612f1797554b5dc3f1d64e4755b3fdc4f11b617a | [
"MIT"
] | null | null | null | //# include "uv-private/uv-win.h"
typedef enum uv_err_code {
UV_UKNOWN = -1,
UV_OK,
UV_EOF,
UV_EADDRINFO,
UV_EACCES,
UV_EAGAIN,
UV_EADDRINUSE,
UV_EADDRNOTAVAIL,
UV_EAFNOSUPPORT,
UV_EALREADY,
UV_EBADF,
UV_EBUSY,
UV_ECONNABORTED,
UV_ECONNREFUSED,
UV_ECONNRESET,
UV_EDESTADD... | 31.16133 | 150 | 0.710034 |
dbdf3f0558022153fe5208d45c6621a1b2ca6a11 | 651 | sql | SQL | loaders/clickhouse/studies_log.sql | thehyve/genetics-backend | 81d09bf5c70c534a59940eddfcd9c8566d2b2ec1 | [
"Apache-2.0"
] | 6 | 2019-06-01T11:17:41.000Z | 2021-09-24T14:06:30.000Z | loaders/clickhouse/studies_log.sql | opentargets/genetics-backend | 1ab0314f9fe4b267f8ffb5ed94187d55fbb3431c | [
"Apache-2.0"
] | 7 | 2018-11-28T10:06:21.000Z | 2020-01-26T18:55:39.000Z | loaders/clickhouse/studies_log.sql | thehyve/genetics-backend | 81d09bf5c70c534a59940eddfcd9c8566d2b2ec1 | [
"Apache-2.0"
] | 4 | 2019-05-09T13:57:57.000Z | 2021-08-03T18:19:16.000Z | create database if not exists ot;
create table if not exists ot.studies_log (
study_id String,
pmid Nullable(String),
pub_date Nullable(String),
pub_journal Nullable(String),
pub_title Nullable(String),
pub_author Nullable(String),
has_sumstats UInt8,
trait_reported String,
source Nullable(String),
... | 31 | 58 | 0.769585 |
5a8d49c7d630c0e7e51bbabcdcbc60697102f698 | 1,383 | lua | Lua | Demos/Content/Entities/light.lua | Sh1ft0/alpha | 6726d366f0c8d2e1434b87f815b2644ebf170adf | [
"Apache-2.0"
] | null | null | null | Demos/Content/Entities/light.lua | Sh1ft0/alpha | 6726d366f0c8d2e1434b87f815b2644ebf170adf | [
"Apache-2.0"
] | null | null | null | Demos/Content/Entities/light.lua | Sh1ft0/alpha | 6726d366f0c8d2e1434b87f815b2644ebf170adf | [
"Apache-2.0"
] | null | null | null | -- Copyright 2014-2015 Jason R. Wendlandt
--
-- 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 agree... | 30.065217 | 75 | 0.574837 |
cb398174eb8894bfa79be9006457a322e180c103 | 400 | swift | Swift | NetworkPlatform/Entries/Location+Mapping.swift | bsmerbeckuri/CleanArchitectureRxSwift | be0fa13488b42da0e6929389a2e2d07cdfabccb2 | [
"MIT"
] | 2 | 2019-08-02T04:08:35.000Z | 2019-08-24T07:18:48.000Z | NetworkPlatform/Entries/Location+Mapping.swift | JeaSungLEE/CleanArchitectureRxSwift | 55c852bbd7b4e5f9ee30426e2acdb7b038e848be | [
"MIT"
] | null | null | null | NetworkPlatform/Entries/Location+Mapping.swift | JeaSungLEE/CleanArchitectureRxSwift | 55c852bbd7b4e5f9ee30426e2acdb7b038e848be | [
"MIT"
] | 1 | 2021-11-11T16:32:08.000Z | 2021-11-11T16:32:08.000Z | //
// Location+Mapping.swift
// CleanArchitectureRxSwift
//
// Created by Andrey Yastrebov on 10.03.17.
// Copyright © 2017 sergdort. All rights reserved.
//
import Domain
import ObjectMapper
extension Location: ImmutableMappable {
// JSON -> Object
public init(map: Map) throws {
longitude = ... | 20 | 51 | 0.665 |
3b1ae8f313b270bbf84344351f6c24ecacfdaeb0 | 963 | swift | Swift | ios/SinchVoipRemoteVideoManager.swift | suraneti/react-native-sinch-voip | 34ee9a74b08bbfc1fbf6a6fe5d9b3db7b7c3776b | [
"MIT"
] | 1 | 2021-11-19T20:42:02.000Z | 2021-11-19T20:42:02.000Z | ios/SinchVoipRemoteVideoManager.swift | suraneti/react-native-sinch-voip | 34ee9a74b08bbfc1fbf6a6fe5d9b3db7b7c3776b | [
"MIT"
] | 4 | 2021-02-03T18:17:00.000Z | 2022-01-04T09:43:52.000Z | ios/SinchVoipRemoteVideoManager.swift | suraneti/react-native-sinch-voip | 34ee9a74b08bbfc1fbf6a6fe5d9b3db7b7c3776b | [
"MIT"
] | 1 | 2021-03-19T09:07:13.000Z | 2021-03-19T09:07:13.000Z | //
// SinchVoipLocalVideoManager.swift
//
// Created by Gwenole ROTON on 16/11/2020.
import Foundation
import Sinch
@available(iOS 10.0, *)
@objc(SinchVoipRemoteVideoManager)
class SinchVoipRemoteVideoManager: RCTViewManager {
static let sharedInstance = SinchVoipRemoteVideoManager()
// Size will be ov... | 24.692308 | 74 | 0.652129 |
3bdc58f2923dd6ff9153e3a44fbe02da86571c7d | 6,486 | html | HTML | bulletin/2021-02.html | scare96crow/draft.kusamura.org | 153cb9425b837fadc6f224f0e81b23eb31663ec8 | [
"MIT"
] | null | null | null | bulletin/2021-02.html | scare96crow/draft.kusamura.org | 153cb9425b837fadc6f224f0e81b23eb31663ec8 | [
"MIT"
] | null | null | null | bulletin/2021-02.html | scare96crow/draft.kusamura.org | 153cb9425b837fadc6f224f0e81b23eb31663ec8 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>草むら通信(2021年2月)ウェブ版 - 多摩草むらの会</title>
<link rel="author" href="mailto:info@kusamura.org" />
<link rel="stylesheet" type="text/css" href="bulletin.css" />
... | 54.504202 | 218 | 0.602529 |
70d4a32cea2d818b1c0db566b37eb6f8a5262ebd | 2,686 | c | C | benchmarks/Angha_original/extr_base64_mbedtls_base64_decode/extr_base64_mbedtls_base64_decode.c | ComputerSystemsLab/OptimizationCache | 9c30ae120673e57b772ea42e29e087f775aa9de9 | [
"Apache-2.0"
] | 2 | 2021-03-11T00:46:25.000Z | 2021-07-08T16:44:58.000Z | benchmarks/Angha_original/extr_base64_mbedtls_base64_decode/extr_base64_mbedtls_base64_decode.c | ComputerSystemsLab/OptimizationCache | 9c30ae120673e57b772ea42e29e087f775aa9de9 | [
"Apache-2.0"
] | null | null | null | benchmarks/Angha_original/extr_base64_mbedtls_base64_decode/extr_base64_mbedtls_base64_decode.c | ComputerSystemsLab/OptimizationCache | 9c30ae120673e57b772ea42e29e087f775aa9de9 | [
"Apache-2.0"
] | null | null | null | #define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... | 25.826923 | 77 | 0.484363 |
505b98d8f9a46aca62f1e2cb219867a95133e1c4 | 31,158 | html | HTML | public/v2/guide/unit-testing.html | sanskritnotes/sanskritnotes.com | 931f247cf09fbd482eeaf32e4af0ce02d10d11b6 | [
"MIT"
] | null | null | null | public/v2/guide/unit-testing.html | sanskritnotes/sanskritnotes.com | 931f247cf09fbd482eeaf32e4af0ce02d10d11b6 | [
"MIT"
] | null | null | null | public/v2/guide/unit-testing.html | sanskritnotes/sanskritnotes.com | 931f247cf09fbd482eeaf32e4af0ce02d10d11b6 | [
"MIT"
] | null | null | null |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Unit Testing — Sanskrit Notes संस्कृत टिप्पणी</title>
<meta charset="utf-8">
<meta name="description" content="Sanskrit Notes संस्कृत टिप्पणी - A easy modern introduction to the ancient language.">
<meta name="viewport" content="width=d... | 47.569466 | 2,913 | 0.498652 |
90c63938f777d28b9e14a8996c89c2206cd45915 | 823 | py | Python | app/database.py | perymerdeka/fastapi-fullstack-boilerplate | c62c0c41a18cbf28e12ece4ca83091d7d864616d | [
"MIT"
] | 70 | 2021-10-03T22:27:18.000Z | 2022-02-24T06:29:13.000Z | app/database.py | perymerdeka/fastapi-fullstack-boilerplate | c62c0c41a18cbf28e12ece4ca83091d7d864616d | [
"MIT"
] | 2 | 2021-10-08T02:46:56.000Z | 2022-01-02T04:26:31.000Z | app/database.py | perymerdeka/fastapi-fullstack-boilerplate | c62c0c41a18cbf28e12ece4ca83091d7d864616d | [
"MIT"
] | 4 | 2021-10-05T04:41:27.000Z | 2022-01-21T07:39:01.000Z | from contextlib import contextmanager
from typing import Callable
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm.session import Session
from .settings import SQLALCHEMY_URL, SQLALCHEMY_USER, SQLALCHEMY_PASSWORD
S... | 26.548387 | 74 | 0.778858 |
2f3ea69fcd29bd391cfa05aa0c1645cc60478352 | 242 | php | PHP | app/MemberStatus.php | mangelosalvio/icpep | b474d15d7a850b0c8fd6c21314cca1b1008ec2b5 | [
"MIT"
] | null | null | null | app/MemberStatus.php | mangelosalvio/icpep | b474d15d7a850b0c8fd6c21314cca1b1008ec2b5 | [
"MIT"
] | null | null | null | app/MemberStatus.php | mangelosalvio/icpep | b474d15d7a850b0c8fd6c21314cca1b1008ec2b5 | [
"MIT"
] | null | null | null | <?php
namespace App;
class MemberStatus {
public static $type_of_member = [
'A' => 'ASSOCIATE',
'R' => 'REGULAR'
];
public static $type_of_application = [
'N' => 'NEW',
'R' => 'RENEWAL'
];
} | 15.125 | 42 | 0.491736 |
46b3af2b9431118a3b32f218e5ab03c2f8d232fe | 22,643 | html | HTML | n_templates/task.html | SandStormHoldings/ScratchDocs | 24f3e4239781791385c0a14056335ec5f043b533 | [
"MIT"
] | 1 | 2018-05-18T15:45:35.000Z | 2018-05-18T15:45:35.000Z | n_templates/task.html | SandStormHoldings/ScratchDocs | 24f3e4239781791385c0a14056335ec5f043b533 | [
"MIT"
] | null | null | null | n_templates/task.html | SandStormHoldings/ScratchDocs | 24f3e4239781791385c0a14056335ec5f043b533 | [
"MIT"
] | null | null | null | <%inherit file="/base.html" />
<%def name="sel(name,lst,val,attr='')">
<select class="form-control" name='${name}' ${attr}>
% for st in lst:
<option value='${st}' \
% if st==val:
selected=1 \
% endif
>${st}</option>
% endfor
</select>\
</%def>
<%def name="taskmenu()">
%if parents:
% if '/' in task._id:
<a href="${u... | 38.77226 | 234 | 0.461511 |
74b11fa05c788f10c85ac0157a2dcc8a9fb9b929 | 150 | js | JavaScript | main-process/communication/async-msg.js | carbondigitalus/noux-gear-dbm-app | fa572599b8181ef0f1415f6980ee2c77870da95e | [
"MIT"
] | null | null | null | main-process/communication/async-msg.js | carbondigitalus/noux-gear-dbm-app | fa572599b8181ef0f1415f6980ee2c77870da95e | [
"MIT"
] | 6 | 2020-12-04T20:23:50.000Z | 2022-03-02T02:51:55.000Z | main-process/communication/async-msg.js | carbondigitalus/noux-gear-dbm-app | fa572599b8181ef0f1415f6980ee2c77870da95e | [
"MIT"
] | null | null | null | const { ipcMain } = require('electron');
ipcMain.on('asynchronous-message', (event, arg) => {
event.sender.send('asynchronous-reply', 'pong');
});
| 25 | 52 | 0.66 |
04a804b367e29902c7edd21ef011e9eba7b36f52 | 1,581 | java | Java | src/app/src/main/java/ir/webplex/android/core/helpers/ServiceCacheManager.java | m-sadegh-sh/WebPlex.Automation | 4cc240af070f5004ab62fde44086f56ccf364011 | [
"MIT"
] | null | null | null | src/app/src/main/java/ir/webplex/android/core/helpers/ServiceCacheManager.java | m-sadegh-sh/WebPlex.Automation | 4cc240af070f5004ab62fde44086f56ccf364011 | [
"MIT"
] | null | null | null | src/app/src/main/java/ir/webplex/android/core/helpers/ServiceCacheManager.java | m-sadegh-sh/WebPlex.Automation | 4cc240af070f5004ab62fde44086f56ccf364011 | [
"MIT"
] | null | null | null | package ir.webplex.android.core.helpers;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.view.LayoutInflater;
import android.view.inputmethod.InputMethodManager;
import ir.webplex.android.automation.AppController;
public final class Serv... | 35.133333 | 130 | 0.729918 |
f64f3c09db4f7c79a2c21bf35be9958a8a40c49d | 1,783 | kt | Kotlin | example_mod_1_14_4/src/main/java/sharkbound/forge/firstmod/events/scheduler/TickHandlerEvents.kt | sharkbound/forge-projects | 3302ac118d6ed9da341b74c25e13edcc4e29a040 | [
"MIT"
] | null | null | null | example_mod_1_14_4/src/main/java/sharkbound/forge/firstmod/events/scheduler/TickHandlerEvents.kt | sharkbound/forge-projects | 3302ac118d6ed9da341b74c25e13edcc4e29a040 | [
"MIT"
] | null | null | null | example_mod_1_14_4/src/main/java/sharkbound/forge/firstmod/events/scheduler/TickHandlerEvents.kt | sharkbound/forge-projects | 3302ac118d6ed9da341b74c25e13edcc4e29a040 | [
"MIT"
] | null | null | null | package sharkbound.forge.firstmod.events.scheduler
import sharkbound.commonutils.extensions.max
abstract class TickHandler(val delayTicks: Int, val isRepeating: Boolean = false, val startDelay: Int = 0) {
enum class State { RUNNING, COMPLETED, SUSPENDED }
var ticksLeft = delayTicks
var state = State.RUNN... | 25.112676 | 181 | 0.616377 |
c47df2201c195609f8ed8f3690a9dbe5f4b9299a | 12,968 | c | C | devices/MIMXRT1176/drivers/fsl_lcdifv2.c | 1021256354/-imxrt-tool-flash-algo | d9ba0e517128734fc416cfd15e07a7bb48022f4c | [
"Apache-2.0"
] | 26 | 2020-01-10T02:26:22.000Z | 2022-02-20T16:10:51.000Z | devices/MIMXRT1176/drivers/fsl_lcdifv2.c | 1021256354/-imxrt-tool-flash-algo | d9ba0e517128734fc416cfd15e07a7bb48022f4c | [
"Apache-2.0"
] | null | null | null | devices/MIMXRT1176/drivers/fsl_lcdifv2.c | 1021256354/-imxrt-tool-flash-algo | d9ba0e517128734fc416cfd15e07a7bb48022f4c | [
"Apache-2.0"
] | 9 | 2020-08-05T02:08:11.000Z | 2021-12-01T02:08:20.000Z | /*
* Copyright 2019-2020 NXP
* All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "fsl_lcdifv2.h"
/*******************************************************************************
* Definitions
******************************************************************************/
/* Compone... | 32.42 | 120 | 0.625231 |
e9d23621fe1f07317904f9a6807751dea5fc09c6 | 1,937 | go | Go | pkg/pkg.go | abates/gack | 44f0d470c9e63ee63cd0fb3b2eb545476524a6d7 | [
"Apache-2.0"
] | 3 | 2017-11-06T16:24:08.000Z | 2018-09-05T07:01:50.000Z | pkg/pkg.go | abates/gack | 44f0d470c9e63ee63cd0fb3b2eb545476524a6d7 | [
"Apache-2.0"
] | null | null | null | pkg/pkg.go | abates/gack | 44f0d470c9e63ee63cd0fb3b2eb545476524a6d7 | [
"Apache-2.0"
] | null | null | null | package pkg
import (
"fmt"
"os"
"github.com/abates/gack"
"github.com/abates/gack/build"
"github.com/xor-gate/debpkg"
)
type debPackager struct {
config *gack.Config
}
func NewDebPackager(mux *gack.Mux) *debPackager {
return &debPackager{
config: mux.Config,
}
}
func (p *debPackager) clean(context *gack.C... | 27.671429 | 125 | 0.722251 |
7f4f14d69dd572955001fee2bda7eebecfef8292 | 949 | lua | Lua | lua/weapons/gmod_tool/stools/rd3_resdebug.lua | viral32111/spacebuild | efc7801527fe9e262a572ba1c50b463326d31386 | [
"Apache-2.0"
] | 6 | 2018-01-06T20:07:33.000Z | 2021-10-19T22:16:52.000Z | lua/weapons/gmod_tool/stools/rd3_resdebug.lua | viral32111/spacebuild | efc7801527fe9e262a572ba1c50b463326d31386 | [
"Apache-2.0"
] | null | null | null | lua/weapons/gmod_tool/stools/rd3_resdebug.lua | viral32111/spacebuild | efc7801527fe9e262a572ba1c50b463326d31386 | [
"Apache-2.0"
] | null | null | null | TOOL.Name = "Resource Debugger"
TOOL.Tab = "Spacebuild"
TOOL.Category = "Admin"
TOOL.AdminOnly = true
if (CLIENT) then
language.Add("tool.rd3_resdebug.name", "Resource Debugger")
language.Add("tool.rd3_resdebug.desc", "Spams an entity's resource table to the console.")
language.Add("tool.rd3_resdebug.0", "Primary: ... | 26.361111 | 91 | 0.739726 |
834eaef33d6c79f1b5fc857046d5366fdc11e570 | 1,876 | swift | Swift | Package.swift | vox-humana/AppReviewPostman | 741125d17d7a71a46ae42fd31d9b3a78a3140ee1 | [
"MIT"
] | 1 | 2020-07-13T18:54:52.000Z | 2020-07-13T18:54:52.000Z | Package.swift | vox-humana/AppReviewPostman | 741125d17d7a71a46ae42fd31d9b3a78a3140ee1 | [
"MIT"
] | 3 | 2021-01-16T07:29:31.000Z | 2021-11-14T02:38:51.000Z | Package.swift | vox-humana/AppReviewPostman | 741125d17d7a71a46ae42fd31d9b3a78a3140ee1 | [
"MIT"
] | null | null | null | // swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "AppReviewPostman",
products: [
.library(name: "AppReview", targets: ["AppReview"]),
.executable(name: "Postman", targets: ["Postman"]),
],
dependencies: [
.package(url: "https://github.com/apple/... | 36.076923 | 123 | 0.509595 |
e09ea64131a322602bd103eb8155cedc76df67f6 | 312 | swift | Swift | Source/Common/Enumerations/SpecialChar.swift | dedeexe/githubstars | 31c5b5ab36d3c1553fd3c9fbda69673350151bf2 | [
"MIT"
] | null | null | null | Source/Common/Enumerations/SpecialChar.swift | dedeexe/githubstars | 31c5b5ab36d3c1553fd3c9fbda69673350151bf2 | [
"MIT"
] | null | null | null | Source/Common/Enumerations/SpecialChar.swift | dedeexe/githubstars | 31c5b5ab36d3c1553fd3c9fbda69673350151bf2 | [
"MIT"
] | null | null | null | //
// Icon.swift
// GitHubRating
//
// Created by dede.exe on 17/01/19.
// Copyright © 2019 dede.exe. All rights reserved.
//
import Foundation
enum SpecialChar {
case star
}
extension SpecialChar {
var icon : String {
switch self {
case .star: return "\u{2605}"
}
}
}
| 14.181818 | 51 | 0.586538 |
9057058846845b0118025e5af45f256c48762a27 | 3,652 | asm | Assembly | dos/DosExitList.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 1 | 2021-11-25T14:01:48.000Z | 2021-11-25T14:01:48.000Z | dos/DosExitList.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | null | null | null | dos/DosExitList.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 2 | 2021-11-05T06:48:43.000Z | 2021-12-06T08:07:38.000Z |
.8086
externdef DOSEXIT:far
public DOSEXITLIST
_DATA segment byte public 'DATA'
procad dd 0 ;address of exit proc
rc dw 0 ;RC
psp dw 0 ;PSP
_DATA ends
_TEXT segment byte public 'CODE'
stab label word
dw offset ... | 20.402235 | 64 | 0.412103 |
e880e7cd159ccf59d0e871ff46993f63253d02d8 | 2,135 | lua | Lua | meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua | CppCXY/lua-language-server | b51c930f3cca060b10ab724666c9f5265cefd517 | [
"MIT"
] | 6 | 2018-11-20T10:51:35.000Z | 2018-11-30T23:12:52.000Z | meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua | CppCXY/lua-language-server | b51c930f3cca060b10ab724666c9f5265cefd517 | [
"MIT"
] | null | null | null | meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua | CppCXY/lua-language-server | b51c930f3cca060b10ab724666c9f5265cefd517 | [
"MIT"
] | null | null | null | ---@meta
---@class ccb.TextureBackend :cc.Ref
local TextureBackend={ }
ccb.TextureBackend=TextureBackend
---* Get texture format.<br>
---* return Texture format.
---@return int
function TextureBackend:getTextureFormat () end
---* Get texture type. Symbolic constant value can be either TEXTURE_2D or TEXTURE_CUBE.<b... | 41.862745 | 181 | 0.769555 |
dda8093a106307e24fa3f279068bc07568b80534 | 4,208 | go | Go | services/cr/apis/ReleaseAuthorizationToken.go | zhaoxiangchun/jdcloud-sdk-go | abade87e78106bc9ce437cf871c6a1ce8c42242d | [
"Apache-2.0"
] | 27 | 2018-04-19T09:53:50.000Z | 2022-03-22T10:02:21.000Z | services/cr/apis/ReleaseAuthorizationToken.go | waytai/jdcloud-sdk-go | dcc6954ae4379f3123a4c777d315012431347450 | [
"Apache-2.0"
] | 15 | 2018-05-23T08:20:55.000Z | 2021-09-16T10:13:54.000Z | services/cr/apis/ReleaseAuthorizationToken.go | waytai/jdcloud-sdk-go | dcc6954ae4379f3123a4c777d315012431347450 | [
"Apache-2.0"
] | 32 | 2018-04-18T08:29:32.000Z | 2022-03-15T03:14:06.000Z | // Copyright 2018 JDCLOUD.COM
//
// 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 ... | 30.941176 | 95 | 0.723384 |
28a33b19660c6b5e8544a05339e81e7a6af5fc6b | 180 | psd1 | PowerShell | SNXT-SND/SNXT-SND.psd1 | rockbyo5/Skyrim-NX-Toolkit | 0097c1da6f2b76751884355ee688d11dffd1172c | [
"MIT"
] | 84 | 2018-08-07T12:37:35.000Z | 2022-01-07T09:16:49.000Z | SNXT-SND/SNXT-SND.psd1 | Lord-Akkrand/SkyrimNX | 22d5054af694337e9e7665dde86cb5af5bb78192 | [
"MIT"
] | 32 | 2018-08-07T00:25:02.000Z | 2021-10-06T03:25:56.000Z | SNXT-SND/SNXT-SND.psd1 | Lord-Akkrand/SkyrimNX | 22d5054af694337e9e7665dde86cb5af5bb78192 | [
"MIT"
] | 11 | 2018-09-12T00:05:08.000Z | 2021-01-28T18:51:40.000Z | $manifest = @{
Path = '.\SNXT-SND\SNXT-SND.psd1'
RootModule = 'SNXT-SND.psm1'
Author = 'Antony Marshall'
}
New-ModuleManifest @manifest | 30 | 50 | 0.533333 |
04bfc120df9b896fc7ca19e7eaf5849b0dae2f2d | 1,799 | java | Java | src/main/java/org/symcomp/wupsi/handlers/QuitHandler.java | symcomp/Wupsi | 89ea10cb75df3d378e147ae685d807191962c77a | [
"Apache-2.0"
] | 1 | 2016-06-30T12:29:16.000Z | 2016-06-30T12:29:16.000Z | src/main/java/org/symcomp/wupsi/handlers/QuitHandler.java | symcomp/Wupsi | 89ea10cb75df3d378e147ae685d807191962c77a | [
"Apache-2.0"
] | null | null | null | src/main/java/org/symcomp/wupsi/handlers/QuitHandler.java | symcomp/Wupsi | 89ea10cb75df3d378e147ae685d807191962c77a | [
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Copyright 2006-2009
// Dan Roozemond, d.a.roozemond@tue.nl, (TU Eindhoven, Netherlands)
// Peter Horn, horn@math.uni-kassel.de (University Kassel, Germany)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// y... | 29.983333 | 77 | 0.583658 |
a9b07e38959e0b0ac6a5f27d9334d3c1929fc2b0 | 365 | dart | Dart | notes/learn-bloc/bloc/posts_bloc.dart | learn-frame/learn-dart-and-flutter | 0dc5e43e45290ee915c0cfaed5c136be8087c5b7 | [
"BSD-3-Clause"
] | 1 | 2020-08-13T04:50:19.000Z | 2020-08-13T04:50:19.000Z | notes/learn-bloc/bloc/posts_bloc.dart | learn-frame/learn-dart-and-flutter | 0dc5e43e45290ee915c0cfaed5c136be8087c5b7 | [
"BSD-3-Clause"
] | null | null | null | notes/learn-bloc/bloc/posts_bloc.dart | learn-frame/learn-dart-and-flutter | 0dc5e43e45290ee915c0cfaed5c136be8087c5b7 | [
"BSD-3-Clause"
] | null | null | null | import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:meta/meta.dart';
part 'posts_event.dart';
part 'posts_state.dart';
class PostsBloc extends Bloc<PostsEvent, PostsState> {
PostsBloc() : super(PostsInitial());
@override
Stream<PostsState> mapEventToState(
PostsEvent event,
) async* {
... | 19.210526 | 54 | 0.715068 |
1f64bb41eba45e16157a9aa0f1dd4c8bf76f0965 | 2,778 | css | CSS | styles/partials/calc-body.css | trybrito/devcalc | 8ec58eb1541a490ca317d6375f5ae12e8842c224 | [
"MIT"
] | null | null | null | styles/partials/calc-body.css | trybrito/devcalc | 8ec58eb1541a490ca317d6375f5ae12e8842c224 | [
"MIT"
] | null | null | null | styles/partials/calc-body.css | trybrito/devcalc | 8ec58eb1541a490ca317d6375f5ae12e8842c224 | [
"MIT"
] | null | null | null | main > div section#calc-body {
padding: 1.125rem 1.25rem 1.25rem;
}
section#calc-body div#display :is(input, p) {
letter-spacing: 0.75px;
}
div#display input {
text-align: right;
width: 100%;
height: 5.1875rem;
padding: 0 0.75rem 0 0.5rem;
background-color: var(--input-background);
color: var(--input... | 19.027397 | 58 | 0.691505 |
5de86278b2b151734b5cabad09335c16dfed936f | 859 | h | C | src/read.h | tomjlw/VIP | 5ee62f815cacb4b48fbb8e3664eebb0fc47de092 | [
"MIT"
] | 1 | 2018-11-20T15:11:31.000Z | 2018-11-20T15:11:31.000Z | src/read.h | tomjlw/VIP | 5ee62f815cacb4b48fbb8e3664eebb0fc47de092 | [
"MIT"
] | null | null | null | src/read.h | tomjlw/VIP | 5ee62f815cacb4b48fbb8e3664eebb0fc47de092 | [
"MIT"
] | null | null | null |
#include <stdio.h>
#include <string.h>
int read(float *z, float *b)
{
char szTest[100000] = {0};
int index=0;
FILE *fp = fopen("../data/filter.txt", "r");
if(NULL == fp)
{ printf("failed to open dos.txt\n"); return 1; }
while(!feof(fp))
{
char* token;
float v... | 17.530612 | 54 | 0.519208 |
b36da0c35f8a9d3bcbcd0fc5320d5234b0f29f08 | 271 | asm | Assembly | programs/oeis/130/A130909.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/130/A130909.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/130/A130909.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A130909: Simple periodic sequence (n mod 16).
; 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9
mod $0,16
| 54.2 | 211 | 0.594096 |
0c983c89d954e199eb26dc9eb1e9dfde6cd61d8c | 1,395 | py | Python | day10/django/app4/dateview/updateTeachPlan.py | Vanessa-kriby/Python | 1fbef67852fb362712fc48fa5c3c29eac68fe202 | [
"Apache-2.0"
] | null | null | null | day10/django/app4/dateview/updateTeachPlan.py | Vanessa-kriby/Python | 1fbef67852fb362712fc48fa5c3c29eac68fe202 | [
"Apache-2.0"
] | null | null | null | day10/django/app4/dateview/updateTeachPlan.py | Vanessa-kriby/Python | 1fbef67852fb362712fc48fa5c3c29eac68fe202 | [
"Apache-2.0"
] | null | null | null | from app1.models import *
from app1.util.utils import *
def updateTeachPlan(request):
'''
get:
http://127.0.0.1:8000/app4/updateTeachPlan?tpno=001&credit=7.0&teach_date=2019-08-22&evaluation_method=考查
调用参数:
tpno:计划编号
credit:学分
teach_date:开课日期
... | 35.769231 | 195 | 0.593548 |
5eb5238266b2bff9fefb8e424d6898cc80e9866c | 1,133 | kt | Kotlin | app/src/main/java/com/anhvt/weathersearch/presentation/di/MainModule.kt | anhvt52/weathersearch | ed6d186b20c4210187bc383e53f9a2b482c4776c | [
"Apache-2.0"
] | 5 | 2021-07-23T10:07:27.000Z | 2021-07-25T07:41:21.000Z | app/src/main/java/com/anhvt/weathersearch/presentation/di/MainModule.kt | anhvt52/weathersearch | ed6d186b20c4210187bc383e53f9a2b482c4776c | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/anhvt/weathersearch/presentation/di/MainModule.kt | anhvt52/weathersearch | ed6d186b20c4210187bc383e53f9a2b482c4776c | [
"Apache-2.0"
] | null | null | null | package com.anhvt.weathersearch.presentation.di
import com.anhvt.weathersearch.data.WeatherRepositoryImpl
import com.anhvt.weathersearch.data.datasource.LocalDatasource
import com.anhvt.weathersearch.data.datasource.RemoteDataSource
import com.anhvt.weathersearch.data.datasource.SearchWeatherLocalDataSourceImpl
import... | 34.333333 | 80 | 0.830538 |
aae69889a9a3769f6d83a2160eae427bf101f650 | 2,554 | kt | Kotlin | formats/json/commonMain/src/kotlinx/serialization/json/JsonAnnotations.kt | LinusMuema/kotlinx.serialization | 41b3996b9818fd3041cbc5ae1aa362c7e37a586d | [
"Apache-2.0"
] | 3,866 | 2017-07-20T11:27:47.000Z | 2022-03-31T17:30:56.000Z | formats/json/commonMain/src/kotlinx/serialization/json/JsonAnnotations.kt | LinusMuema/kotlinx.serialization | 41b3996b9818fd3041cbc5ae1aa362c7e37a586d | [
"Apache-2.0"
] | 1,640 | 2017-09-22T19:29:40.000Z | 2022-03-31T08:27:04.000Z | formats/json/commonMain/src/kotlinx/serialization/json/JsonAnnotations.kt | LinusMuema/kotlinx.serialization | 41b3996b9818fd3041cbc5ae1aa362c7e37a586d | [
"Apache-2.0"
] | 648 | 2017-09-24T09:16:13.000Z | 2022-03-30T12:00:08.000Z | /*
* Copyright 2017-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization.json
import kotlinx.serialization.*
import kotlinx.serialization.descriptors.*
import kotlinx.serialization.encoding.*
import kotlinx.serialization.json.internal.*
import kotlin.... | 34.986301 | 197 | 0.752545 |
f4f8767a6ee321c1864af6a41aabc37258f8f5e4 | 4,432 | go | Go | cmd/cmd/transactionReport.go | Nirothipan/product-mi-tooling | 7d3aa31c7f98e629bec8b26234b8c2d746058c11 | [
"Apache-2.0"
] | null | null | null | cmd/cmd/transactionReport.go | Nirothipan/product-mi-tooling | 7d3aa31c7f98e629bec8b26234b8c2d746058c11 | [
"Apache-2.0"
] | null | null | null | cmd/cmd/transactionReport.go | Nirothipan/product-mi-tooling | 7d3aa31c7f98e629bec8b26234b8c2d746058c11 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/license... | 40.290909 | 117 | 0.761056 |
f04ab36ef3e94f8716214625f760733bb0b62c82 | 1,437 | py | Python | chapter-7/chassis/demo.py | wallacei/microservices-in-action-copy | f9840464a1f9ec40622989e9e5377742246244f3 | [
"MIT"
] | 115 | 2017-11-06T08:12:07.000Z | 2022-02-25T09:56:59.000Z | chapter-7/chassis/demo.py | wallacei/microservices-in-action-copy | f9840464a1f9ec40622989e9e5377742246244f3 | [
"MIT"
] | 12 | 2017-08-05T14:51:35.000Z | 2020-12-01T11:05:14.000Z | chapter-7/chassis/demo.py | wallacei/microservices-in-action-copy | f9840464a1f9ec40622989e9e5377742246244f3 | [
"MIT"
] | 82 | 2017-08-05T09:41:12.000Z | 2022-02-18T00:57:39.000Z | import json
import datetime
import requests
from nameko.web.handlers import http
from nameko.timer import timer
from statsd import StatsClient
from circuitbreaker import circuit
class DemoChassisService:
name = "demo_chassis_service"
statsd = StatsClient('localhost', 8125, prefix='simplebank-demo')
@htt... | 31.933333 | 85 | 0.701461 |
517fbf315552f1bcf67511ede9551db7f9ef6032 | 10,402 | kt | Kotlin | utilcode-kotlin/src/main/java/com/blankj/utilcode/util/Utils.kt | Seselin/AndroidUtilCode | b1a06bb707f90056d899a5c5396390ec44e26dce | [
"Apache-2.0"
] | null | null | null | utilcode-kotlin/src/main/java/com/blankj/utilcode/util/Utils.kt | Seselin/AndroidUtilCode | b1a06bb707f90056d899a5c5396390ec44e26dce | [
"Apache-2.0"
] | null | null | null | utilcode-kotlin/src/main/java/com/blankj/utilcode/util/Utils.kt | Seselin/AndroidUtilCode | b1a06bb707f90056d899a5c5396390ec44e26dce | [
"Apache-2.0"
] | null | null | null | @file:JvmName("Utils")
package com.blankj.utilcode.util
import android.annotation.SuppressLint
import android.app.Activity
import android.app.ActivityManager
import android.app.Application
import android.app.Application.ActivityLifecycleCallbacks
import android.content.Context
import android.content.res.Resources
imp... | 32.50625 | 104 | 0.639492 |
77aad5d2e846cce7ac2b1ebaa2ba2b0b30a54771 | 2,530 | ps1 | PowerShell | Examples/InteractWithOtherModules/ScriptAnalyzer/Analyze_this.ps1 | edwardmjackson/ImportExcel | 5629536f155806d1456e00f8165441542bfe164f | [
"Apache-2.0"
] | 1,858 | 2015-03-27T20:07:07.000Z | 2022-03-31T17:05:56.000Z | Examples/InteractWithOtherModules/ScriptAnalyzer/Analyze_this.ps1 | danubie/ImportExcel | 1840ffcb770227a9bfd8b6e4bff715b42bc39398 | [
"Apache-2.0"
] | 1,071 | 2015-04-01T01:48:57.000Z | 2022-03-31T19:45:08.000Z | Examples/InteractWithOtherModules/ScriptAnalyzer/Analyze_this.ps1 | danubie/ImportExcel | 1840ffcb770227a9bfd8b6e4bff715b42bc39398 | [
"Apache-2.0"
] | 392 | 2015-03-31T19:45:24.000Z | 2022-03-24T21:33:16.000Z | <#
.Synopsis
Runs PsScriptAnalyzer against one or more folders and pivots the results to form a report.
.Example
Analyze_this.ps1
Invokes script analyzer on the current directory; creates a file in $env:temp and opens it in Excel
.Example
Analyze_this.ps1 -xlfile ..\mymodule.xlsx -quiet
... | 40.15873 | 163 | 0.626482 |
7f33e859430766ab2256ea0dce39e9900d00795e | 10,227 | rs | Rust | src/net/driver/mod.rs | GabrielMajeri/async-std | d502453057223ab8ebcdcf4d0c514fb70687c2f9 | [
"Apache-2.0",
"MIT"
] | 3 | 2020-09-30T04:13:39.000Z | 2021-11-12T06:15:36.000Z | src/net/driver/mod.rs | GabrielMajeri/async-std | d502453057223ab8ebcdcf4d0c514fb70687c2f9 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/net/driver/mod.rs | GabrielMajeri/async-std | d502453057223ab8ebcdcf4d0c514fb70687c2f9 | [
"Apache-2.0",
"MIT"
] | 2 | 2020-09-30T04:12:20.000Z | 2021-11-12T06:15:25.000Z | use std::fmt;
use std::sync::{Arc, Mutex};
use mio::{self, Evented};
use once_cell::sync::Lazy;
use slab::Slab;
use crate::io;
use crate::task::{Context, Poll, Waker};
use crate::utils::abort_on_panic;
/// Data associated with a registered I/O handle.
#[derive(Debug)]
struct Entry {
/// A unique identifier.
... | 32.363924 | 100 | 0.566931 |
35d6addcfdaa26ffd51b5388924f6c78c3a8f4c3 | 715 | swift | Swift | swap/Data/Remote/API/ApiClient.swift | MaxHvesser/clarence-ios | bb19b6716347b4f53e8608efe61262d557c1b66d | [
"Apache-2.0"
] | 5 | 2020-04-10T10:21:48.000Z | 2021-01-16T18:09:36.000Z | swap/Data/Remote/API/ApiClient.swift | MaxHvesser/swap-ios | bb19b6716347b4f53e8608efe61262d557c1b66d | [
"Apache-2.0"
] | null | null | null | swap/Data/Remote/API/ApiClient.swift | MaxHvesser/swap-ios | bb19b6716347b4f53e8608efe61262d557c1b66d | [
"Apache-2.0"
] | null | null | null | //
// Created by Maximilian Hvesser-Lewis on 23/05/2020.
// Copyright (c) 2020 Hvesser. All rights reserved.
//
import Foundation
import Combine
struct ApiClient {
struct Response<T> {
let value: T
let response: URLResponse
}
func run<T: Decodable>(_ request: URLRequest) -> AnyPublisher<... | 26.481481 | 87 | 0.606993 |
fff096dae89c1c56786791454eaa7a7462763f0a | 2,938 | html | HTML | sobre.html | Thiago-we/covid | 5c4daf10b8509b8ac38cd94c77f3562d82f6478c | [
"MIT"
] | null | null | null | sobre.html | Thiago-we/covid | 5c4daf10b8509b8ac38cd94c77f3562d82f6478c | [
"MIT"
] | null | null | null | sobre.html | Thiago-we/covid | 5c4daf10b8509b8ac38cd94c77f3562d82f6478c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>COVID-19</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs... | 61.208333 | 481 | 0.7597 |
ca770009b7a460117ed2f4dbab9c9a842607c609 | 6,735 | ps1 | PowerShell | scripts/Get-AdoDevelopersReportFromGit.ps1 | pedalingcircles/adoutils | 22d8f9427e204ed05214bf61e7c2bafff175cee6 | [
"MIT"
] | null | null | null | scripts/Get-AdoDevelopersReportFromGit.ps1 | pedalingcircles/adoutils | 22d8f9427e204ed05214bf61e7c2bafff175cee6 | [
"MIT"
] | null | null | null | scripts/Get-AdoDevelopersReportFromGit.ps1 | pedalingcircles/adoutils | 22d8f9427e204ed05214bf61e7c2bafff175cee6 | [
"MIT"
] | null | null | null | #Requires -Version 7.0
<#
.Synopsis
Generates a report to identify all "developers" in an ADO organization.
.DESCRIPTION
Generates a report in markdown that outputs all "developers" or
more specifically all individuals that have committed code in an
Azure Git repo.
It clones all repos in an org... | 39.617647 | 177 | 0.694284 |
e73d3a81dff244724778737035fa96b17e0f3aab | 346 | js | JavaScript | Web Mapping Application/widgets/Print/setting/nls/Setting_fr.js | SARscene/MapSAROnlinev4 | dc2d991bca4c3587a4119276da61747c0224307c | [
"CC0-1.0"
] | 6 | 2016-08-11T21:11:43.000Z | 2021-12-08T17:55:25.000Z | Web Mapping Application/widgets/Print/setting/nls/Setting_fr.js | SARscene/MapSAROnlinev4 | dc2d991bca4c3587a4119276da61747c0224307c | [
"CC0-1.0"
] | 7 | 2015-07-31T14:43:32.000Z | 2019-03-13T02:39:45.000Z | Web Mapping Application/widgets/Print/setting/nls/Setting_fr.js | SARscene/MapSAROnlinev4 | dc2d991bca4c3587a4119276da61747c0224307c | [
"CC0-1.0"
] | 2 | 2018-04-13T17:58:04.000Z | 2020-10-15T16:32:18.000Z | //>>built
define({"widgets/Print/setting/nls/strings":{serviceURL:"URL du service",defaultTitle:"Titre par d\u00e9faut",defaultAuthor:"Auteur par d\u00e9faut",defaultCopyright:"Copyright par d\u00e9faut",defaultFormat:"Format par d\u00e9faut",defaultLayout:"Mise en page par d\u00e9faut",warning:"Entr\u00e9e incorrecte"... | 173 | 336 | 0.783237 |
afed5cecace055912cab14468a660cee6bd27eaf | 997 | html | HTML | manuscript/page-213/body.html | marvindanig/tales-of-the-jazz-age | 5c09053704c5597441b254cf53610818f5d9ad4a | [
"CECILL-B"
] | null | null | null | manuscript/page-213/body.html | marvindanig/tales-of-the-jazz-age | 5c09053704c5597441b254cf53610818f5d9ad4a | [
"CECILL-B"
] | null | null | null | manuscript/page-213/body.html | marvindanig/tales-of-the-jazz-age | 5c09053704c5597441b254cf53610818f5d9ad4a | [
"CECILL-B"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p>Fifth Avenue and Forty-fourth Street swarmed with the noon crowd. The wealthy, happy sun glittered in transient gold through the thick windows of the smart shops, lighting upon mesh bags and purses and strings of pearls in gray velvet cases; upon gaudy feather fans o... | 997 | 997 | 0.80341 |
3b869463800e2ea3ad3eb49f90482fc98d8c9907 | 1,277 | h | C | lib/cnet/drv/cnet_drv.h | CloudNativeDataPlane/cndp | cc83410b525bd3aacaf72ad12f8d4f4af5b28727 | [
"BSD-3-Clause"
] | null | null | null | lib/cnet/drv/cnet_drv.h | CloudNativeDataPlane/cndp | cc83410b525bd3aacaf72ad12f8d4f4af5b28727 | [
"BSD-3-Clause"
] | null | null | null | lib/cnet/drv/cnet_drv.h | CloudNativeDataPlane/cndp | cc83410b525bd3aacaf72ad12f8d4f4af5b28727 | [
"BSD-3-Clause"
] | null | null | null | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2016-2022 Intel Corporation
*/
#ifndef __CNET_DRV_H
#define __CNET_DRV_H
/**
* @file
* CNET Driver routines.
*/
#include <pktdev.h> // for pktdev_info
#include <net/ethernet.h> // for ether_addr
#include <cne_atomic.h> // for ... | 21.283333 | 63 | 0.673453 |
280d0781158ebfc3236950c0ea94c0d726c7e1c6 | 25 | rb | Ruby | udemy/block_one.rb | esmaeilmirzaee/rubycode | 7ce8e58c4204a6e66f1e81ae28aacd409f4e73b9 | [
"Ruby"
] | null | null | null | udemy/block_one.rb | esmaeilmirzaee/rubycode | 7ce8e58c4204a6e66f1e81ae28aacd409f4e73b9 | [
"Ruby"
] | null | null | null | udemy/block_one.rb | esmaeilmirzaee/rubycode | 7ce8e58c4204a6e66f1e81ae28aacd409f4e73b9 | [
"Ruby"
] | null | null | null | 3.times { |i|
puts i
}
| 6.25 | 13 | 0.48 |
683d69ac383d172cccdb5fcfe6615f5b63914efa | 836 | lua | Lua | lua/hl_themes/one-light.lua | max397574/nvim-base16.lua | 525e4deb75a314c550ed1f644341afd49e64aebd | [
"MIT"
] | 24 | 2021-08-17T21:47:16.000Z | 2022-03-22T06:00:39.000Z | lua/hl_themes/one-light.lua | max397574/nvim-base16.lua | 525e4deb75a314c550ed1f644341afd49e64aebd | [
"MIT"
] | 28 | 2021-08-17T15:10:38.000Z | 2022-03-30T06:49:30.000Z | lua/hl_themes/one-light.lua | max397574/nvim-base16.lua | 525e4deb75a314c550ed1f644341afd49e64aebd | [
"MIT"
] | 72 | 2021-08-16T22:33:03.000Z | 2022-03-27T17:16:41.000Z | local colors = {
white = "#54555b",
darker_black = "#f5f5f5",
black = "#fafafa", -- nvim bg
black2 = "#f1f1f1",
one_bg = "#f0f0f0", -- real bg of onedark
one_bg2 = "#ececec",
one_bg3 = "#e7e7e7",
grey = "#cbcbcb",
grey_fg = "#c6c6c6",
grey_fg2 = "#b7b7b7",
light_grey = "#b7b7b7",
re... | 23.222222 | 48 | 0.555024 |
f478412ba1ba2c99272023a176f84187983170f5 | 882 | go | Go | pilotctl/types/jobbatch.go | Gennavar/onix | e67266e6a575922ad2d21e98ebe7358697ad2ad5 | [
"Apache-2.0"
] | 91 | 2018-04-26T19:12:39.000Z | 2022-03-26T08:53:39.000Z | pilotctl/types/jobbatch.go | Gennavar/onix | e67266e6a575922ad2d21e98ebe7358697ad2ad5 | [
"Apache-2.0"
] | 12 | 2019-08-23T00:57:13.000Z | 2022-03-04T06:42:54.000Z | pilotctl/types/jobbatch.go | Gennavar/onix | e67266e6a575922ad2d21e98ebe7358697ad2ad5 | [
"Apache-2.0"
] | 59 | 2018-07-01T20:15:47.000Z | 2022-03-10T14:34:56.000Z | package types
/*
Onix Config Manager - Pilot Control
Copyright (c) 2018-2021 by www.gatblau.org
Licensed under the Apache License, Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0
Contributors to this project, hereby assign copyright in this code to the project,
to be licensed under the same terms a... | 29.4 | 94 | 0.722222 |
d9a0d901daf92964e92725756d1940e446b0511a | 643 | asm | Assembly | programs/oeis/026/A026644.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/026/A026644.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/026/A026644.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A026644: a(n) = a(n-1) + 2*a(n-2) + 2, for n>=3, where a(0)= 1, a(1)= 2, a(2)= 4.
; 1,2,4,10,20,42,84,170,340,682,1364,2730,5460,10922,21844,43690,87380,174762,349524,699050,1398100,2796202,5592404,11184810,22369620,44739242,89478484,178956970,357913940,715827882,1431655764,2863311530,5726623060,11453246122,229064922... | 64.3 | 502 | 0.799378 |
f26b0f0838f5fa8fb0072c60cb001a6f12c94699 | 2,451 | swift | Swift | Calculator/Model/CalculatorButtonItem.swift | hasancaslan/Calculator-SwiftUI | 0c6e8b023097a27c4aa52f4156282bb79400084c | [
"MIT"
] | 1 | 2021-02-25T15:55:50.000Z | 2021-02-25T15:55:50.000Z | Calculator/Model/CalculatorButtonItem.swift | hasancaslan/Calculator-SwiftUI | 0c6e8b023097a27c4aa52f4156282bb79400084c | [
"MIT"
] | null | null | null | Calculator/Model/CalculatorButtonItem.swift | hasancaslan/Calculator-SwiftUI | 0c6e8b023097a27c4aa52f4156282bb79400084c | [
"MIT"
] | null | null | null | //
// CalculatorButtonItem.swift
// Calculator
//
// Created by HASAN CAN on 2/16/21.
//
import Foundation
import SwiftUI
enum CalculatorButtonItem {
case digit(Int)
case dot
case operand(Operand)
case command(Command)
enum Operand: String {
case plus = "+"
case minus = "-"
... | 19.766129 | 72 | 0.512852 |
7a42048aa4e99198b41b0851d846acc3d174af41 | 229 | kt | Kotlin | test/i_introduction/_11_SAM_Conversions/N11SAMConversionsKtTest.kt | dragneelfps/kotlin-koans | 3460b3d8456e43d18d101e5b93c9d762f59141c3 | [
"MIT"
] | null | null | null | test/i_introduction/_11_SAM_Conversions/N11SAMConversionsKtTest.kt | dragneelfps/kotlin-koans | 3460b3d8456e43d18d101e5b93c9d762f59141c3 | [
"MIT"
] | null | null | null | test/i_introduction/_11_SAM_Conversions/N11SAMConversionsKtTest.kt | dragneelfps/kotlin-koans | 3460b3d8456e43d18d101e5b93c9d762f59141c3 | [
"MIT"
] | null | null | null | package i_introduction._11_SAM_Conversions
import org.junit.Assert.assertEquals
import org.junit.Test
class N11SAMConversionsKtTest {
@Test fun testSort() {
assertEquals(listOf(5, 2, 1), task11())
}
}
| 20.818182 | 48 | 0.69869 |
d93765078f4a617f6bb3c1904874165672f5f5e6 | 3,831 | rs | Rust | src/dictionary.rs | Fifthrow/rust-kdb | 06ac2418a98fa1ad157156fef81c7e124d049d2d | [
"MIT"
] | 1 | 2020-11-19T11:24:17.000Z | 2020-11-19T11:24:17.000Z | src/dictionary.rs | Fifthrow/rust-kdb | 06ac2418a98fa1ad157156fef81c7e124d049d2d | [
"MIT"
] | null | null | null | src/dictionary.rs | Fifthrow/rust-kdb | 06ac2418a98fa1ad157156fef81c7e124d049d2d | [
"MIT"
] | 1 | 2020-11-19T11:24:22.000Z | 2020-11-19T11:24:22.000Z | use crate::list::List;
use crate::{any::Any, k::K};
use crate::{k_type::MIXED_LIST, kapi, type_traits::KObject};
use crate::{
k_type::{KTypeCode, DICT},
kbox::KBox,
type_traits::KTyped,
};
use std::{mem, ops::Index};
/// A key value based dictionary.
#[repr(transparent)]
pub struct Dictionary {
k: K,
}... | 25.885135 | 117 | 0.557296 |
ec7318b8abea25761ca62a033d927ffe464324ba | 1,105 | lua | Lua | Class Examples/2017-05-11/Read/main.lua | lminsky/Programming-Mobile-Apps | 612d038c426817b3cdfc60cadebc2b4ed1d4dcc7 | [
"MIT"
] | null | null | null | Class Examples/2017-05-11/Read/main.lua | lminsky/Programming-Mobile-Apps | 612d038c426817b3cdfc60cadebc2b4ed1d4dcc7 | [
"MIT"
] | null | null | null | Class Examples/2017-05-11/Read/main.lua | lminsky/Programming-Mobile-Apps | 612d038c426817b3cdfc60cadebc2b4ed1d4dcc7 | [
"MIT"
] | null | null | null | -- Path for the file to read
local path = system.pathForFile( "in.txt")
-- Open the file handle
local file, errorString = io.open( path, "r" )
if not file then
-- Error occurred; output the cause
print( "File error: " .. errorString )
else
-- Read data from file
local contents = file:read( "*a" )
... | 25.697674 | 58 | 0.595475 |
04d09dab4567eaa927b4bd3126bee64b34956449 | 1,357 | java | Java | app/src/main/java/com/zwy/neihan/mvp/model/MainTab2Model.java | blgktlp/NeiHanDuanZiTV-master | 1b137058f0bcda0b57d90f4ff7250fe5ad2ea08e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/zwy/neihan/mvp/model/MainTab2Model.java | blgktlp/NeiHanDuanZiTV-master | 1b137058f0bcda0b57d90f4ff7250fe5ad2ea08e | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/zwy/neihan/mvp/model/MainTab2Model.java | blgktlp/NeiHanDuanZiTV-master | 1b137058f0bcda0b57d90f4ff7250fe5ad2ea08e | [
"Apache-2.0"
] | null | null | null | package com.zwy.neihan.mvp.model;
import android.app.Application;
import com.google.gson.Gson;
import com.jess.arms.di.scope.ActivityScope;
import com.jess.arms.integration.IRepositoryManager;
import com.jess.arms.mvp.BaseModel;
import com.zwy.neihan.mvp.contract.MainTab2Contract;
import com.zwy.neihan.mvp.model.api.... | 26.607843 | 100 | 0.699337 |
de5f81ab9c8eae967c98337fc2771331731c9d26 | 1,024 | swift | Swift | HTWDD/Components/Canteen/Models/Meal.swift | Native1224/Htcampus | 5d40d6411f5dd3394fb7ce9886e59d053a7d411c | [
"MIT"
] | 19 | 2016-04-22T09:53:56.000Z | 2020-01-19T11:59:44.000Z | HTWDD/Components/Canteen/Models/Meal.swift | Native1224/Htcampus | 5d40d6411f5dd3394fb7ce9886e59d053a7d411c | [
"MIT"
] | 63 | 2016-11-16T14:54:46.000Z | 2019-10-21T15:49:41.000Z | HTWDD/Components/Canteen/Models/Meal.swift | Native1224/Htcampus | 5d40d6411f5dd3394fb7ce9886e59d053a7d411c | [
"MIT"
] | 4 | 2017-09-06T20:12:36.000Z | 2019-10-16T22:11:31.000Z | //
// Meal.swift
// HTWDD
//
// Created by Benjamin Herzog on 29.10.17.
// Copyright © 2017 HTW Dresden. All rights reserved.
//
import Foundation
struct Meal: Identifiable, Decodable {
let title: String
let canteen: String
let url: URL
let imageURL: URL?
let studentPrice: Double?
let em... | 23.813953 | 132 | 0.630859 |
66e129b4d0d828af047e1d943174b9b12b085811 | 1,098 | sql | SQL | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/aoco_alter/aoco_alter_scenario_test/sql/create_multivarblock_table.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2017-09-15T06:09:56.000Z | 2017-09-15T06:09:56.000Z | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/aoco_alter/aoco_alter_scenario_test/sql/create_multivarblock_table.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 6 | 2018-08-04T07:51:37.000Z | 2018-11-26T07:09:44.000Z | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/aoco_alter/aoco_alter_scenario_test/sql/create_multivarblock_table.sql | rodel-talampas/gpdb | 9c955e350334abbd922102f289f782697eb52069 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2018-12-04T09:13:57.000Z | 2018-12-04T09:13:57.000Z | --
-- @created 2014-06-06 12:00:00
-- @modified 2014-06-06 12:00:00
-- @tags storage
-- @description AOCO multiple insert to create multiple var-block
DROP TABLE IF EXISTS multivarblock_tab;
CREATE TABLE multivarblock_tab (
c_custkey integer,
c_name character varying(25),
c_comment text,
c_rating flo... | 45.75 | 185 | 0.708561 |
1e4c50c7485f882c2a64a6e00d9f012762edf1b7 | 5,451 | swift | Swift | TripKit/VvoProvider.swift | kiliankoe/tripkit | 3ac306c170acd332322d2c50ef89d994aa03cbcf | [
"MIT"
] | null | null | null | TripKit/VvoProvider.swift | kiliankoe/tripkit | 3ac306c170acd332322d2c50ef89d994aa03cbcf | [
"MIT"
] | null | null | null | TripKit/VvoProvider.swift | kiliankoe/tripkit | 3ac306c170acd332322d2c50ef89d994aa03cbcf | [
"MIT"
] | null | null | null | import Foundation
public class VvoProvider: AbstractEfaProvider {
static let API_BASE = "http://efa.vvo-online.de:8080/dvb/"
static let STOPFINDER_ENDPOINT = "XSLT_STOPFINDER_REQUEST"
static let COORD_ENDPOINT = "XSLT_COORD_REQUEST"
static let DESKTOP_TRIP_ENDPOINT = "https://www.vvo-online.de/de/... | 64.129412 | 364 | 0.645753 |