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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7531574ddee2b20a358f920cbb64b09119cd233e | 1,624 | c | C | worksheet3/computeCellValues.c | nasay/cfdlab | 6fae95b8f926609b0c8643d31d5f2a2858ee3f71 | [
"MIT"
] | 1 | 2020-01-11T17:50:18.000Z | 2020-01-11T17:50:18.000Z | worksheet3/computeCellValues.c | nasay/cfdlab | 6fae95b8f926609b0c8643d31d5f2a2858ee3f71 | [
"MIT"
] | null | null | null | worksheet3/computeCellValues.c | nasay/cfdlab | 6fae95b8f926609b0c8643d31d5f2a2858ee3f71 | [
"MIT"
] | null | null | null | #include "LBDefinitions.h"
#include "computeCellValues.h"
#include <stdio.h>
void computeDensity(const double *const currentCell, double *density){
/*
* Computes the macroscopic density within currentCell
* rho(x,t) = sum(f_i, i=0:Q-1)
*/
int i;
*density = 0;
for (i=0; i<Q; i++) {
... | 24.238806 | 103 | 0.514163 |
4c279ad358db915299e0bddea59ec449560ed7b5 | 565 | php | PHP | src/Application/Command/Publication/Delete/CommandHandler.php | szymach/talesweaver | a19a6bf1580d70d8063dc420ce4d3438c29a6ebc | [
"MIT"
] | null | null | null | src/Application/Command/Publication/Delete/CommandHandler.php | szymach/talesweaver | a19a6bf1580d70d8063dc420ce4d3438c29a6ebc | [
"MIT"
] | 18 | 2015-12-31T20:23:19.000Z | 2021-03-09T01:54:11.000Z | src/Application/Command/Publication/Delete/CommandHandler.php | szymach/talesweaver | a19a6bf1580d70d8063dc420ce4d3438c29a6ebc | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Talesweaver\Application\Command\Publication\Delete;
use Talesweaver\Application\Bus\CommandHandlerInterface;
use Talesweaver\Domain\Publications;
final class CommandHandler implements CommandHandlerInterface
{
/**
* @var Publications
*/
private $publication... | 20.925926 | 61 | 0.713274 |
209c458bd50fbd40c5a607b4d8188c4d27d838d7 | 2,821 | css | CSS | assets/fonts/fonts.css | KirillZamotaev/SIGMAPOOL | 26e01d1eaf8b9f68a1a59c29a56f45e8e46291ef | [
"MIT"
] | null | null | null | assets/fonts/fonts.css | KirillZamotaev/SIGMAPOOL | 26e01d1eaf8b9f68a1a59c29a56f45e8e46291ef | [
"MIT"
] | null | null | null | assets/fonts/fonts.css | KirillZamotaev/SIGMAPOOL | 26e01d1eaf8b9f68a1a59c29a56f45e8e46291ef | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Gotham Pro';
src: url('~assets/fonts/GothamPro-MediumItalic.woff2') format('woff2'),
url('~assets/fonts/GothamPro-MediumItalic.woff') format('woff');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Gotham Pro';
src: url('~assets/fonts/Gotham... | 29.082474 | 75 | 0.64268 |
74d26df4c21cf05f356da782ac79d321822a4702 | 569 | js | JavaScript | frontend/app/pods/survey-templates/record/questions/new/route.js | wildnote/hanuman | c72883c0d5afe34a3b3793ca0987680891eb2ad7 | [
"MIT"
] | 4 | 2018-11-14T00:41:33.000Z | 2019-06-22T12:36:25.000Z | frontend/app/pods/survey-templates/record/questions/new/route.js | wildnote/hanuman | c72883c0d5afe34a3b3793ca0987680891eb2ad7 | [
"MIT"
] | 19 | 2018-12-20T17:14:06.000Z | 2022-02-21T21:40:32.000Z | frontend/app/pods/survey-templates/record/questions/new/route.js | wildnote/hanuman | c72883c0d5afe34a3b3793ca0987680891eb2ad7 | [
"MIT"
] | 2 | 2018-06-07T08:08:40.000Z | 2020-04-28T09:55:03.000Z | import { hash } from 'rsvp';
import Route from '@ember/routing/route';
export default Route.extend({
model() {
let surveyTemplate = this.modelFor('survey-templates.record');
return hash({
question: this.store.createRecord('question', { surveyTemplate }),
questions: surveyTemplate.get('questions')... | 28.45 | 72 | 0.673111 |
2a012305bba84f016117bd736adf54c368d49073 | 1,552 | kt | Kotlin | WhatBreed/app/src/main/java/edu/fullerton/cpsc411/whatbreed/ResultsHistoryActivity.kt | andrewtgomez96/WhatBreedKotlin | 0b87ad0f26d5511a6386b5b4ac54a33bde9f05b1 | [
"MIT"
] | null | null | null | WhatBreed/app/src/main/java/edu/fullerton/cpsc411/whatbreed/ResultsHistoryActivity.kt | andrewtgomez96/WhatBreedKotlin | 0b87ad0f26d5511a6386b5b4ac54a33bde9f05b1 | [
"MIT"
] | null | null | null | WhatBreed/app/src/main/java/edu/fullerton/cpsc411/whatbreed/ResultsHistoryActivity.kt | andrewtgomez96/WhatBreedKotlin | 0b87ad0f26d5511a6386b5b4ac54a33bde9f05b1 | [
"MIT"
] | null | null | null | package edu.fullerton.cpsc411.whatbreed
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.ArrayAdapter
import kotlinx.android.synthetic.main.activity_results_history.*
class ResultsHistoryActivity : AppCompatActivity() {
... | 32.333333 | 79 | 0.646907 |
f0e6473363d86fb57db200a794cd502a951cb906 | 237 | sql | SQL | admin/sql/triggers/on_delete_book.sql | power-cosmic/cosc571_database_project | accd8b1fe25acaf6be81ecd300ec030c558786e3 | [
"MIT"
] | 1 | 2015-02-02T19:36:36.000Z | 2015-02-02T19:36:36.000Z | admin/sql/triggers/on_delete_book.sql | power-cosmic/cosc571_database_project | accd8b1fe25acaf6be81ecd300ec030c558786e3 | [
"MIT"
] | 1 | 2015-09-18T18:59:14.000Z | 2015-09-18T18:59:14.000Z | admin/sql/triggers/on_delete_book.sql | power-cosmic/cosc571_database_project | accd8b1fe25acaf6be81ecd300ec030c558786e3 | [
"MIT"
] | null | null | null | DROP TRIGGER IF EXISTS on_delete_book;
DELIMITER $$
CREATE TRIGGER on_delete_book
AFTER DELETE
ON book
FOR EACH ROW
BEGIN
UPDATE publisher
SET num_books=num_books-1,
WHERE publisher.id=OLD.publisher_id;
END $$
DELIMITER ; | 16.928571 | 38 | 0.763713 |
dfee9db75c219da54d91b4ba89ef54abac375ce0 | 2,371 | ts | TypeScript | FoodDelivery Apps/code/client/src/app/app.component.ts | bahatteyoucef/Pfe_Final | cca912b247c0c66953f26386ef8eb2803a2a2e64 | [
"MIT"
] | null | null | null | FoodDelivery Apps/code/client/src/app/app.component.ts | bahatteyoucef/Pfe_Final | cca912b247c0c66953f26386ef8eb2803a2a2e64 | [
"MIT"
] | null | null | null | FoodDelivery Apps/code/client/src/app/app.component.ts | bahatteyoucef/Pfe_Final | cca912b247c0c66953f26386ef8eb2803a2a2e64 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { ServerService } from './service/server.service';
import { Platform, NavController } from '@ionic/angular';
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
import { StatusBar } from '@ionic-native/status-bar/ngx';
import { LocationAccuracy } fro... | 23.475248 | 86 | 0.601012 |
9bd0624921dce4030be6a08cbbdaa52b54e8f3ed | 2,591 | js | JavaScript | src/api/index.js | tiago7alves/rule-based-map-generator | b3bc8da406d7ae572b8661efca3479fa55db3848 | [
"MIT"
] | 7 | 2016-05-24T13:35:02.000Z | 2020-10-17T17:31:20.000Z | src/api/index.js | letiagoalves/rule-based-map-generator | b3bc8da406d7ae572b8661efca3479fa55db3848 | [
"MIT"
] | null | null | null | src/api/index.js | letiagoalves/rule-based-map-generator | b3bc8da406d7ae572b8661efca3479fa55db3848 | [
"MIT"
] | null | null | null | 'use strict';
var randomMatrix = require('random-matrix');
var Block = require('./../block');
var Connector = require('./../connector');
var World = require('./../world');
var WorldConstraints = require('./../world-constraints');
var strategies = require('./../strategies');
var Strategy = require('./../strategies/stra... | 32.797468 | 98 | 0.71787 |
5417134ee561cb28ce2849542a9c8dd6e4dd63af | 9,541 | go | Go | types/services.go | switch-li/win32 | e35da23bbd186e9144fbb98ed05b9474271b1912 | [
"MIT"
] | null | null | null | types/services.go | switch-li/win32 | e35da23bbd186e9144fbb98ed05b9474271b1912 | [
"MIT"
] | null | null | null | types/services.go | switch-li/win32 | e35da23bbd186e9144fbb98ed05b9474271b1912 | [
"MIT"
] | null | null | null | package types
// Variables
type (
PFN_SC_NOTIFY_CALLBACK LPVOID
SERVICE_STATUS_HANDLE HANDLE
SC_HANDLE HANDLE
SC_LOCK LPVOID
)
// SC_STATUS_TYPE
type SC_STATUS_TYPE UINT
const (
SC_STATUS_PROCESS_INFO SC_STATUS_TYPE = 0
)
// ServiceType
type ServiceType DWORD
const (
SERVICE_KERN... | 33.36014 | 72 | 0.770674 |
171237bded32aeb45d6da7a971e0e05715d5a6f1 | 1,754 | c | C | server/command/command_time.c | Adam-/bedrock | 428b91d7dfded30dc5eaec8b1d29d10a49da34b8 | [
"BSD-2-Clause"
] | 13 | 2015-01-11T04:39:21.000Z | 2021-03-08T13:00:48.000Z | server/command/command_time.c | Adam-/bedrock | 428b91d7dfded30dc5eaec8b1d29d10a49da34b8 | [
"BSD-2-Clause"
] | null | null | null | server/command/command_time.c | Adam-/bedrock | 428b91d7dfded30dc5eaec8b1d29d10a49da34b8 | [
"BSD-2-Clause"
] | 4 | 2015-04-06T12:55:05.000Z | 2021-06-25T03:40:19.000Z | #include "server/command.h"
#include "command/command_time.h"
#include "server/packets.h"
#include <errno.h>
static void update_time(struct command_source *source, struct world *world, long time)
{
bedrock_node *node;
command_reply(source, "Time in %s changed to %ld", world->name, time);
world->time = time;
LI... | 20.880952 | 86 | 0.631129 |
0b98688189c3ac958636f3a3393afa2872fb1f5c | 2,820 | py | Python | lib/ravstack/runtime.py | geertj/raviron | 7920c6b71757eddcca16b60051c1cf08706ae11b | [
"MIT"
] | 1 | 2015-05-11T21:39:35.000Z | 2015-05-11T21:39:35.000Z | lib/ravstack/runtime.py | geertj/raviron | 7920c6b71757eddcca16b60051c1cf08706ae11b | [
"MIT"
] | null | null | null | lib/ravstack/runtime.py | geertj/raviron | 7920c6b71757eddcca16b60051c1cf08706ae11b | [
"MIT"
] | null | null | null | #
# This file is part of ravstack. Ravstack is free software available under
# the terms of the MIT license. See the file "LICENSE" that was provided
# together with this source file for the licensing terms.
#
# Copyright (c) 2015 the ravstack authors. See the file "AUTHORS" for a
# complete list.
from __future__ impo... | 30.989011 | 89 | 0.693617 |
ce06b7ac638d08e076e17e6cb7d7455317fccfcc | 3,740 | swift | Swift | Open Terminal/AppDelegate.swift | DreamSworK/FinderOpenTerminal | 411d48c0d66853525d2f70c81094497c087566a9 | [
"Apache-2.0"
] | 2 | 2018-05-06T21:25:45.000Z | 2018-11-05T04:11:12.000Z | Open Terminal/AppDelegate.swift | DreamSworK/FinderOpenTerminal | 411d48c0d66853525d2f70c81094497c087566a9 | [
"Apache-2.0"
] | null | null | null | Open Terminal/AppDelegate.swift | DreamSworK/FinderOpenTerminal | 411d48c0d66853525d2f70c81094497c087566a9 | [
"Apache-2.0"
] | null | null | null | //
// AppDelegate.swift
// Open Terminal
//
// Created by Quentin PÂRIS on 23/02/2016.
// Copyright © 2016 QP. All rights reserved.
//
import Cocoa
import Darwin
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
func applicationWillFinishLaunching(_ aNotification: Notification) {
... | 45.060241 | 201 | 0.514706 |
572b1180d774398e4fea8609166d9c8accdaffc4 | 6,410 | h | C | vendors/goodix/GR551x_SDK_V1_00/components/boards/custom_board.h | goodix/amazon-freertos | 407b49d6fb506b4c2bc65bd2373e0ab3e28844e7 | [
"MIT"
] | 1 | 2019-12-05T01:51:03.000Z | 2019-12-05T01:51:03.000Z | vendors/goodix/GR551x_SDK_V1_00/components/boards/custom_board.h | goodix/amazon-freertos | 407b49d6fb506b4c2bc65bd2373e0ab3e28844e7 | [
"MIT"
] | null | null | null | vendors/goodix/GR551x_SDK_V1_00/components/boards/custom_board.h | goodix/amazon-freertos | 407b49d6fb506b4c2bc65bd2373e0ab3e28844e7 | [
"MIT"
] | 2 | 2019-11-19T02:51:31.000Z | 2019-12-11T17:42:15.000Z | #ifndef __CUSTOM_BOARD_H
#define __CUSTOM_BOARD_H
/*******DBG_PRINTF UART IO CONFIG*****************/
#define LOG_UART_GRP UART0
#define LOG_UART_PORT GPIO0
#define LOG_UART_TX_PIN LL_GPIO_PIN_3
#define LOG_UART_RX_PIN LL_GPIO_PIN_4
#define LOG_UART... | 43.310811 | 63 | 0.566147 |
85b894b46727acf15696b7be08456c5faf888dbc | 2,458 | js | JavaScript | third_party/google_input_tools/src/chrome/os/inputview/hwt_eventtype.js | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | third_party/google_input_tools/src/chrome/os/inputview/hwt_eventtype.js | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/google_input_tools/src/chrome/os/inputview/hwt_eventtype.js | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... | 25.340206 | 75 | 0.70057 |
4a4d6b6eeb5c2befdc91605642005d95eb94c25b | 470 | js | JavaScript | src/app/components/pages/placeSearchForm/placeInputs.js | threelephant/inventory-client | 66eedf30e2018618ea628af8583c15455f9923da | [
"MIT"
] | null | null | null | src/app/components/pages/placeSearchForm/placeInputs.js | threelephant/inventory-client | 66eedf30e2018618ea628af8583c15455f9923da | [
"MIT"
] | null | null | null | src/app/components/pages/placeSearchForm/placeInputs.js | threelephant/inventory-client | 66eedf30e2018618ea628af8583c15455f9923da | [
"MIT"
] | null | null | null | import React from 'react'
import { FormGroup, Label, Input } from 'reactstrap'
const Division = ({ onChange }) => {
return (
<FormGroup>
<Label for="id">Отдел</Label>
<Input onChange={onChange} name="object_id" />
</FormGroup>
)
}
const Placement = ({ onChange }) => {
return (
<FormGroup... | 20.434783 | 52 | 0.606383 |
4a48dd818865c694f36b1fb734a655a4ac44582f | 18,248 | js | JavaScript | src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-GroupTable.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-GroupTable.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-GroupTable.js | EricVanEldik/openui5 | ad80fc60ab8b36b5f4f8a070bcff77d0ce8557ff | [
"Apache-2.0"
] | null | null | null | sap.ui.define(function () { 'use strict';
var dialogSvg = `<svg width="160" height="160" viewBox="0 0 160 160" fill="none" xmlns="http://www.w3.org/2000/svg" id="sapIllus-Dialog-GroupTable">
<circle cx="80" cy="80" r="80" fill="var(--sapContent_Illustrative_Color7)"/>
<path d="M124.428 37.4707H55.4125C51.2306 37.4707... | 243.306667 | 429 | 0.766988 |
80fdecfcb7c329058e20b7f90e405f8a80d651e6 | 207 | kt | Kotlin | app/src/main/java/com/dinaraparanid/prima/utils/web/genius/search_response/Data.kt | dinaraparanid/MusicPlayer | 68cfaee9458f4a1f5e077f668c09d5d4a9171594 | [
"Apache-2.0"
] | 6 | 2021-07-24T20:25:57.000Z | 2022-02-19T18:23:11.000Z | app/src/main/java/com/dinaraparanid/prima/utils/web/genius/search_response/Data.kt | dinaraparanid/MusicPlayer | 68cfaee9458f4a1f5e077f668c09d5d4a9171594 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/dinaraparanid/prima/utils/web/genius/search_response/Data.kt | dinaraparanid/MusicPlayer | 68cfaee9458f4a1f5e077f668c09d5d4a9171594 | [
"Apache-2.0"
] | 1 | 2021-07-03T00:24:34.000Z | 2021-07-03T00:24:34.000Z | package com.dinaraparanid.prima.utils.web.genius.search_response
import com.google.gson.annotations.Expose
/**
* Found song from search query
*/
class Data(@Expose @JvmField val hits: Array<DataOfData>) | 23 | 64 | 0.782609 |
9c248eae435b7915c64549e345c12128de72296d | 636 | js | JavaScript | src/components/App.js | roheat/indorse-healthy | 9217567d242f7783d95cece11a7671594aa85493 | [
"MIT"
] | null | null | null | src/components/App.js | roheat/indorse-healthy | 9217567d242f7783d95cece11a7671594aa85493 | [
"MIT"
] | 3 | 2020-09-04T23:38:55.000Z | 2022-02-12T11:42:38.000Z | src/components/App.js | roheat/indorse-healthy | 9217567d242f7783d95cece11a7671594aa85493 | [
"MIT"
] | null | null | null | import React from 'react';
import AutoComplete from './AutoComplete';
import DisplayDetails from './DisplayDetails';
import '../styles/app.css';
import items from '../items';
class App extends React.Component {
state = {
selectedItem: null
}
selectedItem = item => {
this.setState({ selectedItem: item });
}
... | 23.555556 | 97 | 0.68239 |
5c9fe367d0667c642fdc189fa841deb8dc69d04d | 206 | css | CSS | public/stylesheet/service.min.css | jerossh/zhongtuo2 | 2d2d32ac7d2d5f44ed44bd9cc857432a493e72fc | [
"MIT"
] | null | null | null | public/stylesheet/service.min.css | jerossh/zhongtuo2 | 2d2d32ac7d2d5f44ed44bd9cc857432a493e72fc | [
"MIT"
] | null | null | null | public/stylesheet/service.min.css | jerossh/zhongtuo2 | 2d2d32ac7d2d5f44ed44bd9cc857432a493e72fc | [
"MIT"
] | null | null | null | #service .servicewrap{line-height:2em;padding:30px 0;color:#0090dd;margin-bottom:10px}#service .servicewrap:hover{background-color:#f6f9fc;border-radius:1rem}.service_caption{padding-top:10px;color:#6f7c82} | 206 | 206 | 0.825243 |
c7e00dd26b34f7f44b8c29edc94d77a59f611a05 | 56 | java | Java | image-encryption/src/main/java/com/markby/RandomUtils.java | MarkBY/image-encryption | 8835ad3fae81dec7a5d8e9d175685cbcd44bf4d4 | [
"MIT"
] | null | null | null | image-encryption/src/main/java/com/markby/RandomUtils.java | MarkBY/image-encryption | 8835ad3fae81dec7a5d8e9d175685cbcd44bf4d4 | [
"MIT"
] | null | null | null | image-encryption/src/main/java/com/markby/RandomUtils.java | MarkBY/image-encryption | 8835ad3fae81dec7a5d8e9d175685cbcd44bf4d4 | [
"MIT"
] | null | null | null | package com.markby;
public class RandomUtils {
}
| 9.333333 | 27 | 0.678571 |
98efdd0d2aa4e3ebb67c274fe583dae13bdd28ed | 2,586 | kt | Kotlin | kotlin/workflow-runtime/src/test/java/com/squareup/workflow/internal/ChannelUpdatesTest.kt | mongoose700/workflow | afb723c53ec6745525215a23df809e3ceb4c7ce3 | [
"Apache-2.0"
] | null | null | null | kotlin/workflow-runtime/src/test/java/com/squareup/workflow/internal/ChannelUpdatesTest.kt | mongoose700/workflow | afb723c53ec6745525215a23df809e3ceb4c7ce3 | [
"Apache-2.0"
] | null | null | null | kotlin/workflow-runtime/src/test/java/com/squareup/workflow/internal/ChannelUpdatesTest.kt | mongoose700/workflow | afb723c53ec6745525215a23df809e3ceb4c7ce3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 Square 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.86 | 90 | 0.701856 |
41b0ac7bf44fd5fafd499aefc34895a85c5c3c2a | 1,362 | h | C | modules/tracktion_engine/model/clips/tracktion_ArrangerClip.h | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 734 | 2018-11-16T09:39:40.000Z | 2022-03-30T16:56:14.000Z | modules/tracktion_engine/model/clips/tracktion_ArrangerClip.h | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 100 | 2018-11-16T18:04:08.000Z | 2022-03-31T17:47:53.000Z | modules/tracktion_engine/model/clips/tracktion_ArrangerClip.h | jbloit/tracktion_engine | b3fa7d6a3a404f64ae419abdf9c801d672cffb16 | [
"MIT",
"Unlicense"
] | 123 | 2018-11-16T15:51:50.000Z | 2022-03-29T12:21:27.000Z | /*
,--. ,--. ,--. ,--.
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
| | | | \ '-' \ `--.| \ \ | | | |' '-' '| || | Corporation
`---' `--' `... | 34.05 | 87 | 0.487518 |
2243d90cfeb2f1aed461fc8001f26121393f06cc | 843 | asm | Assembly | programs/oeis/158/A158321.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/158/A158321.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/158/A158321.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A158321: a(n) = 441n^2 + 2n.
; 443,1768,3975,7064,11035,15888,21623,28240,35739,44120,53383,63528,74555,86464,99255,112928,127483,142920,159239,176440,194523,213488,233335,254064,275675,298168,321543,345800,370939,396960,423863,451648,480315,509864,540295,571608,603803,636880,670839,705680,741403,778008,815495,853864... | 70.25 | 734 | 0.818505 |
1cce3dc260c8a5634a02c0b68ddfcd7b52f03d1b | 292 | swift | Swift | Apple-Frameworks/Apple_FrameworksApp.swift | pklapuch/swiftUI-apple-frameworks | 301b864117ad48dcef83b32caaf69296057b99e6 | [
"MIT"
] | null | null | null | Apple-Frameworks/Apple_FrameworksApp.swift | pklapuch/swiftUI-apple-frameworks | 301b864117ad48dcef83b32caaf69296057b99e6 | [
"MIT"
] | null | null | null | Apple-Frameworks/Apple_FrameworksApp.swift | pklapuch/swiftUI-apple-frameworks | 301b864117ad48dcef83b32caaf69296057b99e6 | [
"MIT"
] | null | null | null | //
// Apple_FrameworksApp.swift
// Apple-Frameworks
//
// Created by Pawel Klapuch on 8/28/21.
//
import SwiftUI
@main
struct Apple_FrameworksApp: App {
var body: some Scene {
WindowGroup {
FrameworkGridView(viewModel: FrameworkGridViewModel())
}
}
}
| 16.222222 | 66 | 0.640411 |
51652865cecb5e62c8530c7aee1035b206407561 | 204 | sql | SQL | Databases Basics - MS SQL Server/Joins Subqueries CTE and Indices/04. Employee Departments.sql | Shtereva/CSharp-DB-Fundametals | 54a9665dac212efff15268c762d240307c61efed | [
"MIT"
] | null | null | null | Databases Basics - MS SQL Server/Joins Subqueries CTE and Indices/04. Employee Departments.sql | Shtereva/CSharp-DB-Fundametals | 54a9665dac212efff15268c762d240307c61efed | [
"MIT"
] | null | null | null | Databases Basics - MS SQL Server/Joins Subqueries CTE and Indices/04. Employee Departments.sql | Shtereva/CSharp-DB-Fundametals | 54a9665dac212efff15268c762d240307c61efed | [
"MIT"
] | null | null | null | SELECT TOP (5) e.EmployeeID,
FirstName,
Salary,
d.Name AS [DepartmentName]
FROM Employees AS e
JOIN Departments as d ON d.DepartmentID = e.DepartmentID
WHERE Salary > 15000
ORDER BY e.DepartmentID | 25.5 | 56 | 0.759804 |
2fdd9404fab0f8bba9511c8ea812a9f47660a8fa | 2,492 | rs | Rust | src/lib.rs | theRookieCoder/furse | b5795c1bd6753465671a64dd4b5080ce62b35f73 | [
"MIT"
] | 3 | 2022-01-19T08:13:25.000Z | 2022-02-07T03:34:11.000Z | src/lib.rs | theRookieCoder/furse | b5795c1bd6753465671a64dd4b5080ce62b35f73 | [
"MIT"
] | null | null | null | src/lib.rs | theRookieCoder/furse | b5795c1bd6753465671a64dd4b5080ce62b35f73 | [
"MIT"
] | null | null | null | //! # Furse
//!
//! Furse is a simple library for using the [CurseForge API](https://docs.curseforge.com/) in Rust projects.
//! It uses [Reqwest](https://docs.rs/reqwest/) as its HTTPS client and deserialises responses to strongly typed structs using [SerDe](https://serde.rs/).
//!
//! ## Features
//!
//! This crate i... | 35.098592 | 154 | 0.630417 |
ed57e1a9017c7702202b3e174164132d1bfbccea | 3,151 | kt | Kotlin | domain/src/main/java/com/telen/easylineup/domain/model/export/PlayerExport.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | null | null | null | domain/src/main/java/com/telen/easylineup/domain/model/export/PlayerExport.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | null | null | null | domain/src/main/java/com/telen/easylineup/domain/model/export/PlayerExport.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | 1 | 2020-05-26T11:36:03.000Z | 2020-05-26T11:36:03.000Z | package com.telen.easylineup.domain.model.export
import com.google.gson.annotations.SerializedName
/*
Copyright (c) 2020 Kotlin Data Classes Generated from JSON powered by http://www.json2kotlin.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta... | 49.234375 | 460 | 0.685179 |
170cc7fd251cfdab6b6d1bbe7b35405401f10d5c | 8,546 | h | C | Standard/Rect.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 32 | 2016-05-22T23:09:19.000Z | 2022-03-13T03:32:27.000Z | Standard/Rect.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 2 | 2016-05-30T19:45:58.000Z | 2018-01-24T22:29:51.000Z | Standard/Rect.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 17 | 2016-05-27T11:01:42.000Z | 2022-03-13T03:32:30.000Z | /*
Rect.h
Rect template class
(c)2005 Palestar, Richard Lyle
*/
#ifndef RECT_H
#define RECT_H
#include "Point.h"
#include "Size.h"
//----------------------------------------------------------------------------
template<class T>
class Rect
{
public:
// construction
Rect();
Rect(const Point<T> &point, const ... | 19.600917 | 81 | 0.60227 |
4742e3ac5dd0ed58c2b533cd1b73fc5e9a9765d7 | 1,453 | html | HTML | templates/base.html | Zenephi13/build-a-blog | c6d5cef4617145c1d747b16670b55932b09b494b | [
"Unlicense"
] | null | null | null | templates/base.html | Zenephi13/build-a-blog | c6d5cef4617145c1d747b16670b55932b09b494b | [
"Unlicense"
] | null | null | null | templates/base.html | Zenephi13/build-a-blog | c6d5cef4617145c1d747b16670b55932b09b494b | [
"Unlicense"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Build-A-Blog</title>
<style type="text/css">
body {
font-family: sans-serif;
width: 800px;
margin: 0 auto;
padding: 10px;
}
label {
display: block... | 20.180556 | 49 | 0.333792 |
dfc846fa941f2173e3e8be625ca9b1da70b1b19a | 1,361 | ts | TypeScript | app/header-block.component.ts | quantumleeps/dataView | 138ec001cf21599fa1ca5cbb8541348f286206d4 | [
"MIT"
] | null | null | null | app/header-block.component.ts | quantumleeps/dataView | 138ec001cf21599fa1ca5cbb8541348f286206d4 | [
"MIT"
] | null | null | null | app/header-block.component.ts | quantumleeps/dataView | 138ec001cf21599fa1ca5cbb8541348f286206d4 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { FieldDataService } from './field-data.service'
@Component({
selector: 'header-block',
providers: [FieldDataService],
template: `
<h1>Blue Hills Data Entry</h1>
<div class="button-block">
<button>Pretreatment</button>
<b... | 20.313433 | 73 | 0.5518 |
d7dba33ba10b446f4eb0c26a1aa11ab7edd60b3a | 1,378 | swift | Swift | src/Day6Part2/Sources/Day6Part2/main.swift | nickygerritsen/AdventOfCode2018 | 4a69d4acf8c55e3118e1428fb949afda52ff6b83 | [
"MIT"
] | null | null | null | src/Day6Part2/Sources/Day6Part2/main.swift | nickygerritsen/AdventOfCode2018 | 4a69d4acf8c55e3118e1428fb949afda52ff6b83 | [
"MIT"
] | null | null | null | src/Day6Part2/Sources/Day6Part2/main.swift | nickygerritsen/AdventOfCode2018 | 4a69d4acf8c55e3118e1428fb949afda52ff6b83 | [
"MIT"
] | null | null | null | import Shared
import Foundation
struct Point {
let x: Int
let y: Int
static func distance(_ p1: Point, _ p2: Point) -> Int {
return abs(p1.x - p2.x) + abs(p1.y - p2.y)
}
}
extension Point: Input {
static func convert(contents: String) -> Point? {
let parts = contents.split(separat... | 26.5 | 105 | 0.528302 |
c7635801c3db6ba03fc0704cd38b2271690f6bb1 | 882 | lua | Lua | scripts/entities/box.lua | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | scripts/entities/box.lua | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | scripts/entities/box.lua | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | RegisterClientScript()
RegisterClientAssets("box.png")
ENTITY.IsNetworked = true
ENTITY.CollisionType = 2
ENTITY.PlayerControlled = false
ENTITY.MaxHealth = 1000
ENTITY.Properties = {
{ Name = "asleep", Type = PropertyType.Boolean, Default = false, Shared = true },
{ Name = "dynamic", Type = PropertyType.Boolean, D... | 23.837838 | 82 | 0.688209 |
542ba49b49170fd3a0cd756555df13278fe23802 | 2,266 | go | Go | vendor/github.com/google/go-containerregistry/pkg/internal/retry/retry.go | hoozecn/kaniko | ee31dc93b61c36d613a8ec056eeb12f11a7b3634 | [
"Apache-2.0"
] | 9,434 | 2018-04-17T15:58:05.000Z | 2022-03-31T19:01:07.000Z | vendor/github.com/google/go-containerregistry/pkg/internal/retry/retry.go | hoozecn/kaniko | ee31dc93b61c36d613a8ec056eeb12f11a7b3634 | [
"Apache-2.0"
] | 3,103 | 2018-08-24T16:27:12.000Z | 2022-03-31T23:12:07.000Z | vendor/github.com/google/go-containerregistry/pkg/internal/retry/retry.go | hoozecn/kaniko | ee31dc93b61c36d613a8ec056eeb12f11a7b3634 | [
"Apache-2.0"
] | 1,132 | 2018-04-17T17:58:58.000Z | 2022-03-31T12:30:45.000Z | // Copyright 2019 Google LLC All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 29.051282 | 79 | 0.729921 |
56e65b8ddc4e1e0e411fa63edfa07cebd2f85cbc | 125 | ts | TypeScript | test/to.ts | xxczaki/timestampy | d406684ed9ceceb02de3b5e4edc239e804218c2c | [
"MIT"
] | 21 | 2019-07-27T17:49:54.000Z | 2021-11-09T11:06:16.000Z | test/to.ts | xxczaki/timestampy | d406684ed9ceceb02de3b5e4edc239e804218c2c | [
"MIT"
] | null | null | null | test/to.ts | xxczaki/timestampy | d406684ed9ceceb02de3b5e4edc239e804218c2c | [
"MIT"
] | null | null | null | import test from 'ava';
import {toDate} from '../dist';
test('to date', t => {
t.is(toDate(1564146357), '7/26/2019');
});
| 15.625 | 39 | 0.592 |
d07c50d98ffb3c870a402d004cbc592dd88fc0bc | 4,571 | kt | Kotlin | app/src/main/java/com/trinity/sample/fragment/VideoFragment.kt | TianLuluC/trinity | 309618a75782274379c5d3b77472bcc2bcf7adcb | [
"Apache-2.0"
] | 788 | 2019-09-16T03:36:49.000Z | 2022-03-23T01:26:01.000Z | app/src/main/java/com/trinity/sample/fragment/VideoFragment.kt | TianLuluC/trinity | 309618a75782274379c5d3b77472bcc2bcf7adcb | [
"Apache-2.0"
] | 118 | 2019-09-27T15:27:48.000Z | 2021-12-31T16:12:17.000Z | app/src/main/java/com/trinity/sample/fragment/VideoFragment.kt | TianLuluC/trinity | 309618a75782274379c5d3b77472bcc2bcf7adcb | [
"Apache-2.0"
] | 253 | 2019-09-16T08:09:24.000Z | 2022-03-20T10:11:06.000Z | package com.trinity.sample.fragment
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.MediaStore
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.r... | 40.8125 | 208 | 0.725881 |
2a2fe32d1e14a948fa479eb0e2e7f5ff5923bc7f | 25,315 | java | Java | src/test/java/com/android/tools/r8/smali/ConstantFoldingTest.java | MIPS/external-r8 | be69fcefad315b2068a9903019108f879ca4db56 | [
"BSD-3-Clause"
] | 26 | 2017-08-19T03:30:27.000Z | 2021-11-14T18:13:57.000Z | src/test/java/com/android/tools/r8/smali/ConstantFoldingTest.java | Unpublished/r8 | 0541f5685b09694e9f4478f5156921055cb149ae | [
"BSD-3-Clause"
] | 1 | 2021-04-05T09:52:38.000Z | 2021-04-07T02:30:26.000Z | src/test/java/com/android/tools/r8/smali/ConstantFoldingTest.java | Unpublished/r8 | 0541f5685b09694e9f4478f5156921055cb149ae | [
"BSD-3-Clause"
] | 3 | 2018-04-04T17:00:51.000Z | 2021-05-22T08:57:54.000Z | // Copyright (c) 2016, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.smali;
import static org.junit.Assert.assertEquals;
import static org.junit.A... | 34.209459 | 99 | 0.574363 |
16cff0463d3ab978f1231c8b963e4d217edbfac3 | 2,667 | ts | TypeScript | sources/components/Program.ts | cedric-demongivert/gl-tool-shader | 1556b71840070bceca573bd25be0a211ddd07b85 | [
"MIT"
] | null | null | null | sources/components/Program.ts | cedric-demongivert/gl-tool-shader | 1556b71840070bceca573bd25be0a211ddd07b85 | [
"MIT"
] | null | null | null | sources/components/Program.ts | cedric-demongivert/gl-tool-shader | 1556b71840070bceca573bd25be0a211ddd07b85 | [
"MIT"
] | null | null | null | import { Component } from '@cedric-demongivert/gl-tool-ecs'
import { ProgramIdentifier } from '../ProgramIdentifier'
import { ShaderIdentifier } from '../ShaderIdentifier'
import { Shader } from './Shader'
export class Program {
/**
* Identifier of this program.
*/
public identifier : ProgramIdentifier
/*... | 24.027027 | 91 | 0.656918 |
bb2bd17406a435e80868cc12e8ce0dbaf7b4de93 | 1,255 | kt | Kotlin | app/src/main/java/io/github/samueljarosinski/ambilight/permission/ScreenCapturePermissionRequester.kt | samueljarosinski/Ambilight | 300ea1579f59b3b3c43e7cdd5b53c12a9eae4ab1 | [
"MIT"
] | null | null | null | app/src/main/java/io/github/samueljarosinski/ambilight/permission/ScreenCapturePermissionRequester.kt | samueljarosinski/Ambilight | 300ea1579f59b3b3c43e7cdd5b53c12a9eae4ab1 | [
"MIT"
] | null | null | null | app/src/main/java/io/github/samueljarosinski/ambilight/permission/ScreenCapturePermissionRequester.kt | samueljarosinski/Ambilight | 300ea1579f59b3b3c43e7cdd5b53c12a9eae4ab1 | [
"MIT"
] | null | null | null | package io.github.samueljarosinski.ambilight.permission
import android.content.Context
import android.content.Intent
import timber.log.Timber
data class PermissionResult(val code: Int, val data: Intent)
typealias OnPermissionGrantedListener = () -> Unit
object ScreenCapturePermissionRequester {
private var onP... | 27.888889 | 103 | 0.69004 |
70cef7bce1dc0f24d6f1a975a9896ddb0c6e70f0 | 3,409 | h | C | kirke/include/kirke/error.h | this-kirke/kirke | 5f0f994a9a86e8bb0711c093f60d0023c6ce3f0c | [
"MIT"
] | null | null | null | kirke/include/kirke/error.h | this-kirke/kirke | 5f0f994a9a86e8bb0711c093f60d0023c6ce3f0c | [
"MIT"
] | null | null | null | kirke/include/kirke/error.h | this-kirke/kirke | 5f0f994a9a86e8bb0711c093f60d0023c6ce3f0c | [
"MIT"
] | null | null | null | /**
* \file kirke/error.h
*/
#ifndef KIRKE__ERROR__H
#define KIRKE__ERROR__H
// System Includes
#include <stdbool.h>
// Internal Includes
#include "kirke/macros.h"
BEGIN_DECLARATIONS
/**
* \defgroup error Error
* @{
*/
/**
* Generally, we consider three types of errors: Machine errors, Programming erro... | 34.09 | 113 | 0.722499 |
2f5e0f4e7aa99eee65d8f1679ab4d4716e1635dd | 189 | sql | SQL | egov/egov-wtms/src/main/resources/db/migration/main/V20170605160758__wcms_closeconnection_workflow_nextstate_update.sql | getwasim/egov-smartcity-suites-test | 361238c743d046080d66b7fcbe44673a8a784be2 | [
"MIT"
] | 1 | 2019-07-25T12:44:57.000Z | 2019-07-25T12:44:57.000Z | egov/egov-wtms/src/main/resources/db/migration/main/V20170605160758__wcms_closeconnection_workflow_nextstate_update.sql | getwasim/egov-smartcity-suites-test | 361238c743d046080d66b7fcbe44673a8a784be2 | [
"MIT"
] | 13 | 2020-03-05T00:01:16.000Z | 2022-02-09T22:58:42.000Z | egov/egov-wtms/src/main/resources/db/migration/main/V20170605160758__wcms_closeconnection_workflow_nextstate_update.sql | getwasim/egov-smartcity-suites-test | 361238c743d046080d66b7fcbe44673a8a784be2 | [
"MIT"
] | 1 | 2021-02-22T21:09:08.000Z | 2021-02-22T21:09:08.000Z | update eg_wf_matrix set nextstate='Close forwared By Approver' where objecttype ='WaterConnectionDetails' and additionalrule ='CLOSECONNECTION' and currentState = 'Close Connection By AE'; | 189 | 189 | 0.825397 |
1a37d58cb3616c12af7be7bb20f6cbdc5ad41526 | 210 | sql | SQL | VsixMvcAppResult/VsixMvcAppResult.Database.Membership/Security/aspnet_Roles_BasicAccess.sql | jordivila/Net_MVC_NLayer_Result | d20040ecdcc7cb8bdf64c9cf980c0af34654e027 | [
"MIT"
] | null | null | null | VsixMvcAppResult/VsixMvcAppResult.Database.Membership/Security/aspnet_Roles_BasicAccess.sql | jordivila/Net_MVC_NLayer_Result | d20040ecdcc7cb8bdf64c9cf980c0af34654e027 | [
"MIT"
] | null | null | null | VsixMvcAppResult/VsixMvcAppResult.Database.Membership/Security/aspnet_Roles_BasicAccess.sql | jordivila/Net_MVC_NLayer_Result | d20040ecdcc7cb8bdf64c9cf980c0af34654e027 | [
"MIT"
] | null | null | null | CREATE ROLE aspnet_Roles_BasicAccess
GO
--ALTER ROLE [aspnet_Roles_BasicAccess] ADD MEMBER [aspnet_Roles_FullAccess];
GO
EXEC sp_addrolemember N'aspnet_Roles_BasicAccess', N'aspnet_Roles_FullAccess' | 23.333333 | 78 | 0.819048 |
0ef345883507dc5d0e46b51d815417031b8b0ad7 | 777 | tsx | TypeScript | examples/a.tsx | MisterLuffy/ts-document | c7a8b7c206f79297045a7b58125c193a3bbda646 | [
"MIT"
] | null | null | null | examples/a.tsx | MisterLuffy/ts-document | c7a8b7c206f79297045a7b58125c193a3bbda646 | [
"MIT"
] | null | null | null | examples/a.tsx | MisterLuffy/ts-document | c7a8b7c206f79297045a7b58125c193a3bbda646 | [
"MIT"
] | null | null | null | /**
* @title Plus
* @zh 两数相乘
* @en Multiply two numbers
* @returns Product of two numbers
*/
type Plus = (
/**
* @en First number
* @zh 被乘数
*/
a: number,
/**
* @en Second number
* @zh 乘数
* @defaultValue 1
*/
b: number
) => number;
/**
* @title Add
* @en Add two numbers
* @zh 两数相加
... | 12.532258 | 38 | 0.490347 |
4a3fd5e50f255bc887662f3adb7aaae1f1098082 | 16,394 | js | JavaScript | dist/11.chunk.js | YolkPie/yolkworks-preview | 667fb6c01bd11bb5920354fa67fb44997656feb3 | [
"MIT"
] | null | null | null | dist/11.chunk.js | YolkPie/yolkworks-preview | 667fb6c01bd11bb5920354fa67fb44997656feb3 | [
"MIT"
] | 6 | 2020-06-07T22:20:08.000Z | 2022-02-13T07:10:56.000Z | dist/11.chunk.js | YolkPie/yolkworks-preview | 667fb6c01bd11bb5920354fa67fb44997656feb3 | [
"MIT"
] | null | null | null | webpackJsonp([11],{106:/*!*************************************************!*\
!*** ./node_modules/marked3/dist/marked3.es.js ***!
\*************************************************//*! exports provided: default *//*! all exports used */function(a,b,c){"use strict";function d(a){for(var b,c,d=arguments,e=1;e<argume... | 3,278.8 | 15,873 | 0.590155 |
2656b675fad277c6acef939b98e21c6f16ab24cc | 2,373 | java | Java | src/main/java/lk/chathurabuddi/file/type/jrxml/JrxmlFileTypeFactory.java | slestak/intellij-jasper-report-support | e9753916d0a57eeb35331338173e86ff1cda15bc | [
"MIT"
] | 11 | 2019-06-21T17:33:20.000Z | 2021-08-06T17:53:51.000Z | src/main/java/lk/chathurabuddi/file/type/jrxml/JrxmlFileTypeFactory.java | slestak/intellij-jasper-report-support | e9753916d0a57eeb35331338173e86ff1cda15bc | [
"MIT"
] | 15 | 2019-10-04T01:02:13.000Z | 2022-01-06T17:22:45.000Z | src/main/java/lk/chathurabuddi/file/type/jrxml/JrxmlFileTypeFactory.java | slestak/intellij-jasper-report-support | e9753916d0a57eeb35331338173e86ff1cda15bc | [
"MIT"
] | 17 | 2019-09-25T17:21:52.000Z | 2022-03-22T03:22:14.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2019 Chathura Buddhika
*
* 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... | 40.913793 | 85 | 0.736199 |
d7b33c9bcedc14cbcac68e9880c4a5585e01159d | 27,692 | lua | Lua | Toribio/deviceloaders/dynamixel/motor.lua | Yatay/1.0 | a553fbb0fd148b613e2bb6b2397c6f5a550236db | [
"MIT"
] | null | null | null | Toribio/deviceloaders/dynamixel/motor.lua | Yatay/1.0 | a553fbb0fd148b613e2bb6b2397c6f5a550236db | [
"MIT"
] | null | null | null | Toribio/deviceloaders/dynamixel/motor.lua | Yatay/1.0 | a553fbb0fd148b613e2bb6b2397c6f5a550236db | [
"MIT"
] | null | null | null | --- Library for Dynamixel motors.
-- This library allows to manipulate devices that use Dynamixel
-- protocol, such as AX-12 robotic servo motors.
-- For basic manipulation, it is enough to use the @{rotate_to_angle} and @{spin} functions,
-- and perhaps set the @{set.torque_enable}. For more sophisticated tasks, the ... | 34.788945 | 129 | 0.710711 |
0a14abcd4a2ce2fadd0ad57910a0fb8b81d047ef | 150 | h | C | src/MolecularMechanics/SetMMParameters.h | xomachine/gabedit | 1f63b6675b8bffdda910012fec00b89630bcb4a2 | [
"MIT"
] | null | null | null | src/MolecularMechanics/SetMMParameters.h | xomachine/gabedit | 1f63b6675b8bffdda910012fec00b89630bcb4a2 | [
"MIT"
] | null | null | null | src/MolecularMechanics/SetMMParameters.h | xomachine/gabedit | 1f63b6675b8bffdda910012fec00b89630bcb4a2 | [
"MIT"
] | null | null | null |
#ifndef __GABEDIT_SETMMPARAMETERS_H__
#define __GABEDIT_SETMMPARAMETERS_H__
void setMMParamatersDlg();
#endif /* __GABEDIT_SETMMPARAMETERS_H__ */
| 16.666667 | 42 | 0.84 |
c2e567162364b6ee9b8f4d3f08b931cd930143b9 | 2,472 | swift | Swift | Sources/Meadow/Data Types/FootprintChunk.swift | zilmarinen/Meadow | a524a06f5fc06c1fd20113bb35e4457ecbba477c | [
"MIT"
] | 1 | 2021-09-19T15:09:36.000Z | 2021-09-19T15:09:36.000Z | Sources/Meadow/Data Types/FootprintChunk.swift | zilmarinen/Meadow | a524a06f5fc06c1fd20113bb35e4457ecbba477c | [
"MIT"
] | null | null | null | Sources/Meadow/Data Types/FootprintChunk.swift | zilmarinen/Meadow | a524a06f5fc06c1fd20113bb35e4457ecbba477c | [
"MIT"
] | null | null | null | //
// FootprintChunk.swift
//
// Created by Zack Brown on 27/03/2021.
//
import SceneKit
public class FootprintChunk: SCNNode, Codable, Hideable, Responder, Shadable, Soilable {
private enum CodingKeys: String, CodingKey {
case coordinate = "co"
case direction = "d"
}
... | 24.72 | 123 | 0.540049 |
75eb4abb44ecac6c28c5d0e4ad42314416be329c | 8,014 | php | PHP | application/views/home.php | ChenttlyEnggar/ci3 | 6d7c47a086400cd837099870043549142a17561c | [
"MIT"
] | null | null | null | application/views/home.php | ChenttlyEnggar/ci3 | 6d7c47a086400cd837099870043549142a17561c | [
"MIT"
] | null | null | null | application/views/home.php | ChenttlyEnggar/ci3 | 6d7c47a086400cd837099870043549142a17561c | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<title>Yogyakarta</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="aseets/css/bootstrap.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css" ty... | 52.723684 | 583 | 0.69728 |
a4bb3b70e3ed3e1ab154a10cca71f82e858adab9 | 360 | swift | Swift | Shared/Global/App/AppView+State.swift | crelies/Game-of-Thrones-VIPER-SwiftUI | 4fd5b52492f9ccaf07dd6b187a00190c23b7e626 | [
"MIT"
] | 1 | 2019-11-26T20:28:28.000Z | 2019-11-26T20:28:28.000Z | Shared/Global/App/AppView+State.swift | crelies/Game-of-Thrones-SwiftUI | 4fd5b52492f9ccaf07dd6b187a00190c23b7e626 | [
"MIT"
] | null | null | null | Shared/Global/App/AppView+State.swift | crelies/Game-of-Thrones-SwiftUI | 4fd5b52492f9ccaf07dd6b187a00190c23b7e626 | [
"MIT"
] | 1 | 2019-11-18T00:39:27.000Z | 2019-11-18T00:39:27.000Z | //
// AppView+State.swift
// Game-of-Thrones-SwiftUI
//
// Created Christian Elies on 31.08.21.
// Copyright © 2021 Christian Elies. All rights reserved.
//
// Template generated by Christian Elies @crelies
// https://www.christianelies.de
//
extension AppView {
struct State: Equatable {
let selected... | 21.176471 | 58 | 0.691667 |
86a489fca0d734c85a458c6134b24df4ad3a4ad0 | 912 | rs | Rust | common/client-libs/validator-client/src/nymd/cosmwasm_client/mod.rs | nymtech/nym | 20c96b940fdf15659ab3e5b61765a78e15071332 | [
"Apache-2.0",
"MIT"
] | 543 | 2019-06-12T15:53:42.000Z | 2022-03-31T08:28:41.000Z | common/client-libs/validator-client/src/nymd/cosmwasm_client/mod.rs | arno01/nym | f63aba9058882b26c540fefb1ac7f081c3077256 | [
"Apache-2.0",
"MIT"
] | 518 | 2019-06-14T09:19:55.000Z | 2022-03-29T12:32:35.000Z | common/client-libs/validator-client/src/nymd/cosmwasm_client/mod.rs | arno01/nym | f63aba9058882b26c540fefb1ac7f081c3077256 | [
"Apache-2.0",
"MIT"
] | 82 | 2019-06-12T15:53:53.000Z | 2022-03-24T19:22:40.000Z | // Copyright 2021 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: Apache-2.0
use crate::nymd::error::NymdError;
use crate::nymd::wallet::DirectSecp256k1HdWallet;
use cosmrs::rpc::{Error as TendermintRpcError, HttpClient, HttpClientUrl};
use std::convert::TryInto;
pub mod client;
mod helpers;
p... | 28.5 | 102 | 0.75 |
77a6c3fecb923de551d47cad19dd10a9e6328c8d | 244 | kt | Kotlin | app/src/main/java/org/techtown/wishmatching/RealtimeDB/ImageChatMessage.kt | KPUCE2021SP/TotheMoon | 46e8b8cb6e47a672647bfa79d341b153c04476c5 | [
"MIT"
] | 5 | 2021-09-08T15:46:10.000Z | 2021-09-08T15:46:39.000Z | app/src/main/java/org/techtown/wishmatching/RealtimeDB/ImageChatMessage.kt | Gyubam/TotheMoon-1 | 46e8b8cb6e47a672647bfa79d341b153c04476c5 | [
"MIT"
] | 4 | 2021-07-28T15:59:52.000Z | 2021-09-09T11:10:02.000Z | app/src/main/java/org/techtown/wishmatching/RealtimeDB/ImageChatMessage.kt | Gyubam/TotheMoon-1 | 46e8b8cb6e47a672647bfa79d341b153c04476c5 | [
"MIT"
] | 6 | 2021-07-27T17:43:21.000Z | 2022-03-02T03:25:44.000Z | package org.techtown.wishmatching.RealtimeDB
class ImageChatMessage(val id: String, val imageUrl: String, val fromId:String, val toId:String, val timestamp: Long,val nickname:String,val flag:Int){
constructor(): this("","","","",-1,"",0)
} | 48.8 | 151 | 0.72541 |
c9ba3af74a11fdd68bd0f84e3b0a454250af97fa | 401 | sql | SQL | src/main/resources/db/migration/V2021_07_06_1345__migrate_spec_legal_rep_reference_number_seq.sql | hmcts/civil-service | 3a4c3984595c74a279d9b0c9310551b274880fd2 | [
"MIT"
] | 3 | 2021-06-01T13:09:09.000Z | 2021-12-09T10:20:37.000Z | src/main/resources/db/migration/V2021_07_06_1345__migrate_spec_legal_rep_reference_number_seq.sql | hmcts/civil-service | 3a4c3984595c74a279d9b0c9310551b274880fd2 | [
"MIT"
] | 324 | 2021-06-11T06:36:26.000Z | 2022-03-31T13:50:21.000Z | src/main/resources/db/migration/V2021_07_06_1345__migrate_spec_legal_rep_reference_number_seq.sql | hmcts/civil-service | 3a4c3984595c74a279d9b0c9310551b274880fd2 | [
"MIT"
] | 1 | 2022-03-17T20:51:56.000Z | 2022-03-17T20:51:56.000Z | CREATE SEQUENCE claim_SPEC_legal_rep_reference_number_seq MAXVALUE 999999 NO CYCLE;
/**
* Returns a new reference number from a 000MC001...999MC999 range.
*/
CREATE FUNCTION next_SPEC_legal_rep_reference_number() RETURNS TEXT AS $$
SELECT
regexp_replace(
to_char(
nextval('claim_SPEC_legal_rep_reference_n... | 28.642857 | 83 | 0.730673 |
71ba05c2b39437af1204fed041d592d30908a25e | 424 | ts | TypeScript | api/services/certificate/src/interfaces/HtmlPrinterProviderInterface.ts | betagouv/preuve-covoiturage | 38a167323781e1f2ef586489bfe6e0308c1541ea | [
"Apache-2.0"
] | 25 | 2018-11-07T15:22:46.000Z | 2021-12-13T13:45:32.000Z | api/services/certificate/src/interfaces/HtmlPrinterProviderInterface.ts | betagouv/preuve-covoiturage | 38a167323781e1f2ef586489bfe6e0308c1541ea | [
"Apache-2.0"
] | 1,055 | 2018-11-15T16:36:47.000Z | 2022-03-30T13:53:11.000Z | api/services/certificate/src/interfaces/HtmlPrinterProviderInterface.ts | betagouv/preuve-covoiturage | 38a167323781e1f2ef586489bfe6e0308c1541ea | [
"Apache-2.0"
] | 5 | 2019-07-09T08:29:43.000Z | 2021-02-22T13:03:10.000Z | export interface HtmlPrinterProviderInterface {
png(uuid: string): Promise<Buffer>;
pdf(uuid: string): Promise<Buffer>;
}
export abstract class HtmlPrinterProviderInterfaceResolver implements HtmlPrinterProviderInterface {
async png(uuid: string): Promise<Buffer> {
throw new Error('Method not implemented.');... | 30.285714 | 100 | 0.745283 |
fecd44c4a01f3b56454083eb40c1c1295f347722 | 345 | html | HTML | canvasTest/index.html | Brancepeng/HTMLCSS | 775c74b7584100e54423af40501f398d81ede7af | [
"MIT"
] | null | null | null | canvasTest/index.html | Brancepeng/HTMLCSS | 775c74b7584100e54423af40501f398d81ede7af | [
"MIT"
] | null | null | null | canvasTest/index.html | Brancepeng/HTMLCSS | 775c74b7584100e54423af40501f398d81ede7af | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>canvas绘图测试</title>
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="style.css" media="screen" type="text/css" />
</head>
<body>
<canvas id="drawing">This is a drawing.</canvas>
<script src="canvasTest.js"><... | 23 | 77 | 0.643478 |
9c60cde09e9226ecc22d2ecdd00bc0f81c5ea16c | 1,296 | js | JavaScript | app/router.js | dolcalmi/coquito-express | 193d55da85498d5acf49371954947836f88635c3 | [
"MIT"
] | 3 | 2017-05-08T21:58:02.000Z | 2020-08-12T17:06:56.000Z | app/router.js | dolcalmi/coquito-express | 193d55da85498d5acf49371954947836f88635c3 | [
"MIT"
] | null | null | null | app/router.js | dolcalmi/coquito-express | 193d55da85498d5acf49371954947836f88635c3 | [
"MIT"
] | 1 | 2019-05-07T17:19:41.000Z | 2019-05-07T17:19:41.000Z | import path from 'path';
import { express, Router } from 'express';
import ExpressRouteBuilder from 'express-route-builder';
import AccountController from 'app/controllers/account';
import jwtAuthorization from 'app/middlewares/jwt-authorization';
export default function(appContext) {
const router = Router();
... | 41.806452 | 115 | 0.688272 |
16a9a8455644f8de61b24ddbfddc267ee8dde0fd | 2,789 | h | C | printscan/faxsrv/exchange/xport/resource.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/faxsrv/exchange/xport/resource.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/faxsrv/exchange/xport/resource.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //////////////////////////////////////////////////////
// //
// MAPI Transport Provider resource ID file //
// It compiles as part of FxsRes.dll //
// All the IDs should be in range //
// ... | 46.483333 | 55 | 0.461814 |
d2de3641a53479211f5d75d91b2a592d89ec6c11 | 2,640 | php | PHP | models/Alumnos.php | comau22/HRProject | 0ad3acfc4a9878556500d58f735b82351a924e6f | [
"BSD-3-Clause"
] | null | null | null | models/Alumnos.php | comau22/HRProject | 0ad3acfc4a9878556500d58f735b82351a924e6f | [
"BSD-3-Clause"
] | null | null | null | models/Alumnos.php | comau22/HRProject | 0ad3acfc4a9878556500d58f735b82351a924e6f | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\models;
use Yii;
/**
* This is the model class for table "alumnos".
*
* @property int $idAlumno
* @property string $nombre
* @property string $aPaterno
* @property string $aMaterno
* @property int $dia_nac
* @property int $mes_nac
* @property int $ano_nac
* @property string $sexo
* @pr... | 25.384615 | 146 | 0.521591 |
5c45cb58d023827665d22385e044c199a753a96d | 18,570 | c | C | src/linux/drivers/net/ks8842.c | wangyan98/linux-lib | f98bbaec0d696b948935939b2d613cd15cd6105f | [
"MIT"
] | 21 | 2021-01-22T06:47:38.000Z | 2022-03-20T14:24:29.000Z | src/linux/drivers/net/ks8842.c | wangyan98/linux-lib | f98bbaec0d696b948935939b2d613cd15cd6105f | [
"MIT"
] | 1 | 2021-08-07T07:14:45.000Z | 2021-08-07T08:24:23.000Z | src/linux/drivers/net/ks8842.c | wangyan98/linux-lib | f98bbaec0d696b948935939b2d613cd15cd6105f | [
"MIT"
] | 12 | 2021-01-22T14:59:28.000Z | 2022-02-22T04:03:31.000Z | /*
* ks8842_main.c timberdale KS8842 ethernet driver
* Copyright (c) 2009 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in... | 25.403557 | 80 | 0.732041 |
85b888ecb16e39ce460945ec4c3098013ca682da | 4,568 | js | JavaScript | doc/html/search/all_69.js | akinaru/radiotap-java-decoder | 3d1b433ad722a632a4e4486c290c4510054b5be5 | [
"MIT"
] | 1 | 2016-05-22T15:25:15.000Z | 2016-05-22T15:25:15.000Z | doc/html/search/all_69.js | network-code/radiotap-decoder-java | 3d1b433ad722a632a4e4486c290c4510054b5be5 | [
"MIT"
] | null | null | null | doc/html/search/all_69.js | network-code/radiotap-decoder-java | 3d1b433ad722a632a4e4486c290c4510054b5be5 | [
"MIT"
] | 2 | 2016-03-15T02:34:28.000Z | 2016-08-30T03:39:55.000Z | var searchData=
[
['iradiotapchannel',['IRadiotapChannel',['../interfacefr_1_1bmartel_1_1protocol_1_1radiotap_1_1inter_1_1_i_radiotap_channel.html',1,'fr::bmartel::protocol::radiotap::inter']]],
['iradiotapdata',['IRadiotapData',['../interfacefr_1_1bmartel_1_1protocol_1_1radiotap_1_1inter_1_1_i_radiotap_data.html',... | 268.705882 | 455 | 0.858363 |
369e3937b36326b61f5a049a8d499a60de0afad2 | 124 | swift | Swift | Tests/LinuxMain.swift | Beyova/SafeDecoder | 7fa3abbe551132f5ac65949a03c3e58b00344e11 | [
"MIT"
] | 3 | 2020-06-26T09:20:01.000Z | 2021-02-10T17:14:43.000Z | Tests/LinuxMain.swift | Beyova/SafeDecoder | 7fa3abbe551132f5ac65949a03c3e58b00344e11 | [
"MIT"
] | 1 | 2020-08-07T01:28:46.000Z | 2020-09-18T14:53:46.000Z | Tests/LinuxMain.swift | Beyova/SafeDecoder | 7fa3abbe551132f5ac65949a03c3e58b00344e11 | [
"MIT"
] | 1 | 2020-09-18T08:11:15.000Z | 2020-09-18T08:11:15.000Z | import XCTest
import SafeDecoderTests
var tests = [XCTestCaseEntry]()
tests += SafeDecoderTests.allTests()
XCTMain(tests)
| 15.5 | 36 | 0.790323 |
fd7c8d9c800fb1f8ba7ad4b9167bf6fb1f5bd47a | 1,246 | h | C | Feather/Feather.h | mpapp/Feather | 48d2e7da93a0ddb5af091e1094b967a40e2d9c1d | [
"Apache-2.0"
] | 12 | 2015-06-05T05:24:49.000Z | 2022-02-28T13:47:36.000Z | Feather/Feather.h | mpapp/Feather | 48d2e7da93a0ddb5af091e1094b967a40e2d9c1d | [
"Apache-2.0"
] | 3 | 2015-06-05T16:40:22.000Z | 2019-08-07T10:30:28.000Z | Feather/Feather.h | mpapp/Feather | 48d2e7da93a0ddb5af091e1094b967a40e2d9c1d | [
"Apache-2.0"
] | null | null | null | //
// Feather.h
// Feather
//
// Created by Matias Piipari on 29/03/2013.
// Copyright (c) 2013 Matias Piipari. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "Mixin.h"
#import "MPManagedObject.h"
#import "MPManagedObjectsController.h"
#import "MPManagedObject+Mixin.h"
#import "MPEmbeddedObjec... | 21.118644 | 59 | 0.778491 |
c4391fd76c6a4bc51747666a45187c8f76ce672e | 4,569 | c | C | features/nanostack/sal-stack-nanostack/source/6LoWPAN/IPHC_Decode/lowpan_context.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 10 | 2019-01-11T08:18:31.000Z | 2022-03-24T01:37:14.000Z | features/nanostack/sal-stack-nanostack/source/6LoWPAN/IPHC_Decode/lowpan_context.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 18 | 2021-01-29T08:36:51.000Z | 2021-02-03T11:53:10.000Z | features/nanostack/sal-stack-nanostack/source/6LoWPAN/IPHC_Decode/lowpan_context.c | pattyolanterns/mbed-os | f05af9a870580a0a81688e4d8f94cf72ca17a4d6 | [
"Apache-2.0"
] | 8 | 2020-01-21T08:44:01.000Z | 2020-03-12T04:50:28.000Z | /*
* Copyright (c) 2015-2017, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/... | 30.059211 | 154 | 0.637339 |
0a2548f22bc800329c8f497cc069b662208e0a34 | 252 | h | C | FitAnalytics-WebWidget/FitAnalyticsWebWidget.h | DigitalInnovation/FitAnalytics-WebWidget-iOS | 01d5b95366ea0990755798f4997b2467afb4093e | [
"MIT"
] | null | null | null | FitAnalytics-WebWidget/FitAnalyticsWebWidget.h | DigitalInnovation/FitAnalytics-WebWidget-iOS | 01d5b95366ea0990755798f4997b2467afb4093e | [
"MIT"
] | 3 | 2021-03-03T10:43:42.000Z | 2021-12-30T15:36:53.000Z | FitAnalytics-WebWidget/FitAnalyticsWebWidget.h | DigitalInnovation/FitAnalytics-WebWidget-iOS | 01d5b95366ea0990755798f4997b2467afb4093e | [
"MIT"
] | 2 | 2021-05-31T13:17:33.000Z | 2022-03-16T14:01:05.000Z |
#ifndef FITAWebwidget_Bridging_Header_h
#define FITAWebwidget_Bridging_Header_h
#import "FITAWebWidget.h"
#import "FITAWebWidgetHandler.h"
#import "FITAPurchaseReport.h"
#import "FITAPurchaseReporter.h"
#endif /* FITAWebwidget_Bridging_Header_h */
| 21 | 44 | 0.829365 |
ef9716b5cd45ac686a83f5b111962502247b014e | 134 | sql | SQL | microservicio/infraestructura/src/main/resources/sql/estado_agendamiento_historico/listar.sql | dagarciah/ceiba-adn-backend | aacd695656c6002ba4473673c31cc59b1d4fd5bd | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/estado_agendamiento_historico/listar.sql | dagarciah/ceiba-adn-backend | aacd695656c6002ba4473673c31cc59b1d4fd5bd | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/estado_agendamiento_historico/listar.sql | dagarciah/ceiba-adn-backend | aacd695656c6002ba4473673c31cc59b1d4fd5bd | [
"Apache-2.0"
] | null | null | null | select id, creacion as ultimo_cambio, nombre as estado
from estado_agendamiento_historico
where agendamiento_id = :agendamientoId | 44.666667 | 54 | 0.835821 |
c00729e0dc08e2b1e58467dafa0cf3dca4faa66a | 262 | sql | SQL | examples/WeatherApp/UIInit/Scripts/add-ts-stations.sql | muzammilkm/test-essentials | 0898b7cd99c67149947a24ef50cde40a6810732a | [
"Apache-2.0"
] | 1 | 2021-04-29T02:44:30.000Z | 2021-04-29T02:44:30.000Z | examples/WeatherApp/UIInit/Scripts/add-ts-stations.sql | muzammilkm/test-essentials | 0898b7cd99c67149947a24ef50cde40a6810732a | [
"Apache-2.0"
] | 7 | 2019-10-06T19:16:24.000Z | 2022-02-12T22:18:14.000Z | examples/WeatherApp/APITEST/Scripts/add-ts-stations.sql | muzammilkm/test-essentials | 0898b7cd99c67149947a24ef50cde40a6810732a | [
"Apache-2.0"
] | 2 | 2020-03-25T15:02:20.000Z | 2020-11-18T17:45:09.000Z | Insert Into Station VALUES('Hyderbad', 'Telangana')
Insert Into Station VALUES('Warangal', 'Telangana')
Insert Into Station VALUES('Karim Nagar', 'Telangana')
Insert Into Station VALUES('Nizambad', 'Telangana')
Insert Into Station VALUES('Khammam', 'Telangana')
| 43.666667 | 54 | 0.767176 |
d2c7a0833bedefa6b85ddc2e79f75d2c3d19e082 | 1,681 | php | PHP | resources/views/admin/users/create.blade.php | MarioGattolla/Project | e788ab7c389d346440a153ae52fa72f60321ddf5 | [
"MIT"
] | null | null | null | resources/views/admin/users/create.blade.php | MarioGattolla/Project | e788ab7c389d346440a153ae52fa72f60321ddf5 | [
"MIT"
] | null | null | null | resources/views/admin/users/create.blade.php | MarioGattolla/Project | e788ab7c389d346440a153ae52fa72f60321ddf5 | [
"MIT"
] | null | null | null | <x-app-layout>
<x-slot name="header">
<x-header>
{{ __('Create: ') }}
</x-header>
</x-slot>
<div class="py-12" name="body">
<x-body-div class="">
<x-div-box>
<x-div-box class="p-2 border-2 border-indigo-100 rounded">
<form meth... | 40.02381 | 145 | 0.469363 |
0ba8bac551a05bebe5ab8cdbe7162fe74234100b | 1,019 | py | Python | 1306_Jump_Game_III.py | imguozr/LC-Solutions | 5e5e7098d2310c972314c9c9895aafd048047fe6 | [
"WTFPL"
] | null | null | null | 1306_Jump_Game_III.py | imguozr/LC-Solutions | 5e5e7098d2310c972314c9c9895aafd048047fe6 | [
"WTFPL"
] | null | null | null | 1306_Jump_Game_III.py | imguozr/LC-Solutions | 5e5e7098d2310c972314c9c9895aafd048047fe6 | [
"WTFPL"
] | null | null | null | from typing import List
class Solution:
"""
BFS
"""
def canReach_1(self, arr: List[int], start: int) -> bool:
"""
Recursively.
"""
seen = set()
def helper(pos):
if not 0 <= pos < len(arr) or pos in seen:
return False
... | 24.261905 | 67 | 0.459274 |
22fe6d1d781cd1241d897ad51eddcd5d88a9f4fb | 718 | asm | Assembly | oeis/137/A137243.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/137/A137243.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/137/A137243.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A137243: Number of coprime pairs (a,b) with -n <= a,b <= n.
; 8,16,32,48,80,96,144,176,224,256,336,368,464,512,576,640,768,816,960,1024,1120,1200,1376,1440,1600,1696,1840,1936,2160,2224,2464,2592,2752,2880,3072,3168,3456,3600,3792,3920,4240,4336,4672,4832,5024,5200,5568,5696,6032,6192,6448,6640,7056,7200,7520,7712,80... | 55.230769 | 500 | 0.736769 |
76db48c63ca6c8fcf224f2d52c61667e65612fb6 | 484 | h | C | src/geometry_msgs/msg/pose_array.h | cndabai/micro_ros | 56676e56ceed07af4dedf1f92b8a4f4768691921 | [
"Apache-2.0"
] | 4 | 2021-07-29T03:01:04.000Z | 2021-12-21T09:12:39.000Z | src/geometry_msgs/msg/pose_array.h | cndabai/micro_ros | 56676e56ceed07af4dedf1f92b8a4f4768691921 | [
"Apache-2.0"
] | null | null | null | src/geometry_msgs/msg/pose_array.h | cndabai/micro_ros | 56676e56ceed07af4dedf1f92b8a4f4768691921 | [
"Apache-2.0"
] | 6 | 2021-06-14T15:55:19.000Z | 2021-11-19T01:18:10.000Z | // generated from rosidl_generator_c/resource/idl.h.em
// with input from geometry_msgs:msg/PoseArray.idl
// generated code does not contain a copyright notice
#ifndef GEOMETRY_MSGS__MSG__POSE_ARRAY_H_
#define GEOMETRY_MSGS__MSG__POSE_ARRAY_H_
#include "geometry_msgs/msg/detail/pose_array__struct.h"
#include ... | 37.230769 | 63 | 0.822314 |
c1729ee67237cffe30e0c0859e1d2298ccf71436 | 3,818 | rs | Rust | query/src/sql/planner/binder/ddl/view.rs | b41sh/databend | 16e1cc5c5d26d14daef753df877a3597469d5812 | [
"Apache-2.0"
] | null | null | null | query/src/sql/planner/binder/ddl/view.rs | b41sh/databend | 16e1cc5c5d26d14daef753df877a3597469d5812 | [
"Apache-2.0"
] | 37 | 2021-10-12T03:11:10.000Z | 2022-01-24T02:46:39.000Z | query/src/sql/planner/binder/ddl/view.rs | b41sh/databend | 16e1cc5c5d26d14daef753df877a3597469d5812 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 Datafuse Labs.
//
// 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 ... | 30.062992 | 75 | 0.564694 |
fc4650b7f74bb8949be6cc38876d6f35398c5929 | 858 | css | CSS | static/assets/css/custom.css | Fudster/python-auth-website | 7960717a217f80557a1593888c3c117e2045232b | [
"MIT"
] | null | null | null | static/assets/css/custom.css | Fudster/python-auth-website | 7960717a217f80557a1593888c3c117e2045232b | [
"MIT"
] | null | null | null | static/assets/css/custom.css | Fudster/python-auth-website | 7960717a217f80557a1593888c3c117e2045232b | [
"MIT"
] | null | null | null | body {
padding-top: 90px;
}
.panel-login {
border-color: #ccc;
-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2);
}
.panel-login>.panel-heading {
color: #00415d;
background-color: #fff;
border-color: #fff;
text-... | 23.833333 | 103 | 0.675991 |
627cfda14b7196b6e1809be2c328e28ad17c7dec | 2,469 | kt | Kotlin | plugins/github/src/org/jetbrains/plugins/github/authentication/ui/BaseLoginDialog.kt | outring/intellij-community | a0ce0176ecae0b7cfedf017aa917f860e3f7262f | [
"Apache-2.0"
] | null | null | null | plugins/github/src/org/jetbrains/plugins/github/authentication/ui/BaseLoginDialog.kt | outring/intellij-community | a0ce0176ecae0b7cfedf017aa917f860e3f7262f | [
"Apache-2.0"
] | null | null | null | plugins/github/src/org/jetbrains/plugins/github/authentication/ui/BaseLoginDialog.kt | outring/intellij-community | a0ce0176ecae0b7cfedf017aa917f860e3f7262f | [
"Apache-2.0"
] | null | null | null | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.github.authentication.ui
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ModalityState
import com.intellij.openapi.pr... | 39.190476 | 140 | 0.786553 |
39f4fdd360048e0db3fbcfd1ab2c0d3f97610c3d | 777 | java | Java | 1.JavaSyntax/task/task09/task0921/Solution.java | vladyslavkarpovych/JavaRushTasks | 614667a0f475e6f413b70682d15b3119139c49d6 | [
"MIT"
] | null | null | null | 1.JavaSyntax/task/task09/task0921/Solution.java | vladyslavkarpovych/JavaRushTasks | 614667a0f475e6f413b70682d15b3119139c49d6 | [
"MIT"
] | null | null | null | 1.JavaSyntax/task/task09/task0921/Solution.java | vladyslavkarpovych/JavaRushTasks | 614667a0f475e6f413b70682d15b3119139c49d6 | [
"MIT"
] | null | null | null | package com.javarush.task.task09.task0921;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.io.IOException;
/*
Метод в try..catch
*/
public class Solution {
public static void main(String[] args) {
readData();
}
publi... | 20.447368 | 81 | 0.615187 |
8e9bbb3eb96e956a1e404d1df21355a42f365b65 | 99 | rb | Ruby | vendor/bundle/ruby/2.6.0/gems/autoprefixer-rails-9.6.5/lib/autoprefixer-rails/version.rb | Noah-Bytelion/web_app_clone | c5b898c49efa68d6cf94b3d1f9336e6a70a3a7ed | [
"Ruby",
"Beerware",
"MIT"
] | 1 | 2019-10-20T06:43:16.000Z | 2019-10-20T06:43:16.000Z | vendor/bundle/ruby/2.4.0/gems/autoprefixer-rails-9.6.5/lib/autoprefixer-rails/version.rb | morimichi1123/sample_app | 4c85ffa2b1ecc973283f9101061dd5b4569d473d | [
"RSA-MD"
] | 8 | 2019-11-08T02:11:37.000Z | 2022-02-26T05:45:32.000Z | vendor/bundle/ruby/2.4.0/gems/autoprefixer-rails-9.6.5/lib/autoprefixer-rails/version.rb | morimichi1123/sample_app | 4c85ffa2b1ecc973283f9101061dd5b4569d473d | [
"RSA-MD"
] | 1 | 2020-11-04T07:56:30.000Z | 2020-11-04T07:56:30.000Z | module AutoprefixerRails
VERSION = "9.6.5".freeze unless defined? AutoprefixerRails::VERSION
end
| 24.75 | 69 | 0.79798 |
48c354f1f8b35a74c0cd90e9b4f2c1b37f00d093 | 6,813 | h | C | Tools/MedusaExport/max9/include/maxnet_manager.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 32 | 2016-05-22T23:09:19.000Z | 2022-03-13T03:32:27.000Z | Tools/MedusaExport/max9/include/maxnet_manager.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 2 | 2016-05-30T19:45:58.000Z | 2018-01-24T22:29:51.000Z | Tools/MedusaExport/max9/include/maxnet_manager.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 17 | 2016-05-27T11:01:42.000Z | 2022-03-13T03:32:30.000Z | //-----------------------------------------------------------------------------
// ---------------------------
// File ....: maxnet_manager.h
// ---------------------------
// Author...: Gus J Grubba
// Date ....: February 2000
// O.S. ....: Windows 2000
//
// History .: Feb, 15 2000 - Created
//
// 3D Studio Max Netwo... | 36.433155 | 117 | 0.642448 |
2a75d91d9e330bfae907fa904a68e87c7993f722 | 1,612 | java | Java | ajah-spring-jdbc/src/main/java/com/ajah/spring/jdbc/err/QuerySyntaxException.java | efsavage/ajah | 8d6c0233061a185194c742c58b6b4158210dc23d | [
"Apache-2.0"
] | 2 | 2015-02-16T00:52:04.000Z | 2015-04-08T06:08:12.000Z | ajah-spring-jdbc/src/main/java/com/ajah/spring/jdbc/err/QuerySyntaxException.java | efsavage/ajah | 8d6c0233061a185194c742c58b6b4158210dc23d | [
"Apache-2.0"
] | null | null | null | ajah-spring-jdbc/src/main/java/com/ajah/spring/jdbc/err/QuerySyntaxException.java | efsavage/ajah | 8d6c0233061a185194c742c58b6b4158210dc23d | [
"Apache-2.0"
] | 2 | 2015-11-10T11:33:43.000Z | 2019-04-23T02:37:42.000Z | /*
* Copyright 2012 Eric F. Savage, code@efsavage.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 require... | 26.866667 | 77 | 0.671836 |
add65866117aee567e7570be8cf6af40eca3accf | 161 | rs | Rust | ecms_inputvalidator/src/lib.rs | extensible-cms/ecms-rs | ed97272518816e96c0485c61405d5131a07c237c | [
"BSD-3-Clause"
] | null | null | null | ecms_inputvalidator/src/lib.rs | extensible-cms/ecms-rs | ed97272518816e96c0485c61405d5131a07c237c | [
"BSD-3-Clause"
] | 7 | 2021-12-07T16:21:15.000Z | 2022-02-15T08:50:41.000Z | ecms_inputvalidator/src/lib.rs | extensible-cms/ecms-rs | ed97272518816e96c0485c61405d5131a07c237c | [
"BSD-3-Clause"
] | null | null | null | #[macro_use]
extern crate derive_builder;
pub mod number;
pub mod text;
pub mod types;
#[cfg(test)]
mod test {
#[test]
fn test_valid_with_no_rules() {}
}
| 11.5 | 34 | 0.689441 |
e8dc347e2e8914b12566e7ce88c38a00dd0fd08d | 540 | py | Python | data_input/__init__.py | uabalabadubdub/ppcd-pec4 | b9b1dfae84fd987c4e9b4ea09c0197ef746b30d7 | [
"CC0-1.0"
] | null | null | null | data_input/__init__.py | uabalabadubdub/ppcd-pec4 | b9b1dfae84fd987c4e9b4ea09c0197ef746b30d7 | [
"CC0-1.0"
] | null | null | null | data_input/__init__.py | uabalabadubdub/ppcd-pec4 | b9b1dfae84fd987c4e9b4ea09c0197ef746b30d7 | [
"CC0-1.0"
] | null | null | null | from pathlib import Path
current_path = Path(".")
datafolder = current_path / "data"
imagefolder = current_path / "images"
if not datafolder.exists():
print(f"Creating {datafolder}/...")
datafolder.mkdir()
if not imagefolder.exists():
print(f"Creating {imagefolder}/...")
imagefolder.mkdir()
print("S... | 24.545455 | 49 | 0.668519 |
742f2afb2a1d938c11c6acd1564aa2a03638962c | 442 | h | C | src/menus.h | usrshare/amptest | 4a88f37b91f1127025c7a8364c123a895de68579 | [
"MIT"
] | null | null | null | src/menus.h | usrshare/amptest | 4a88f37b91f1127025c7a8364c123a895de68579 | [
"MIT"
] | null | null | null | src/menus.h | usrshare/amptest | 4a88f37b91f1127025c7a8364c123a895de68579 | [
"MIT"
] | null | null | null | #ifndef RESOURCES_H
#define RESOURCES_H
#define IDI_APPICON 101
#define IDM_MAINMENU 201
#define IDM_P_OPEN 202
#define IDM_I_OPENFILE 1011
#define IDM_I_OPENLOC 1012
#define IDM_I_OPENURL 1013
#define IDM_I_FILEINFO 1021
#define IDM_I_ABOUT 1098
#define IDM_I_EXIT 1099
#define IDM_O_PREFS 1031
#define IDM_O_INPUT... | 16.37037 | 29 | 0.828054 |
eaf0e4bb1bca5603a0addcfbe28fbd5892788709 | 37 | sql | SQL | migration/sql-files/034-space-owner.sql | pranavgore09/fabric8-wit | d7de30ec49a14b7864f3ea6bab95568c30076a73 | [
"Apache-2.0"
] | 27 | 2016-07-13T20:09:38.000Z | 2017-05-24T06:46:35.000Z | migration/sql-files/034-space-owner.sql | pranavgore09/fabric8-wit | d7de30ec49a14b7864f3ea6bab95568c30076a73 | [
"Apache-2.0"
] | 1,364 | 2016-06-23T16:13:07.000Z | 2017-06-28T08:36:06.000Z | migration/sql-files/034-space-owner.sql | pranavgore09/fabric8-wit | d7de30ec49a14b7864f3ea6bab95568c30076a73 | [
"Apache-2.0"
] | 55 | 2017-07-03T06:57:20.000Z | 2022-03-05T10:46:32.000Z | ALTER TABLE spaces ADD owner_id uuid; | 37 | 37 | 0.837838 |
5c7df99463133d97db8253a21511ce1732459a59 | 1,147 | h | C | LEEThemeDemo/LEEThemeDemo/CommunityDemo/Utility/Tools/YYLabelExtend/YYLabel+Extend.h | ZPP506/LEETheme | 02416f7a20d6fa8274647e2cd575e06f39aefd63 | [
"MIT"
] | 823 | 2016-04-22T08:56:45.000Z | 2022-03-22T01:44:59.000Z | LEEThemeDemo/LEEThemeDemo/CommunityDemo/Utility/Tools/YYLabelExtend/YYLabel+Extend.h | ZPP506/LEETheme | 02416f7a20d6fa8274647e2cd575e06f39aefd63 | [
"MIT"
] | 28 | 2016-06-15T02:20:06.000Z | 2022-02-14T02:43:58.000Z | LEEThemeDemo/LEEThemeDemo/CommunityDemo/Utility/Tools/YYLabelExtend/YYLabel+Extend.h | ZPP506/LEETheme | 02416f7a20d6fa8274647e2cd575e06f39aefd63 | [
"MIT"
] | 144 | 2016-06-21T09:52:17.000Z | 2022-03-16T08:30:49.000Z | //
// YYLabel+Extend.h
// MierMilitaryNews
//
// Created by 李响 on 2016/12/7.
// Copyright © 2016年 miercn. All rights reserved.
//
#import "YYKit.h"
#define faceGreenNameArray @[@"[微笑]",@"[抠鼻]",@"[大笑]",@"[调皮]",@"[阴险]",@"[鼓掌]",@"[抓狂]",@"[大哭]",@"[傲慢]",@"[鄙视]",@"[奋斗]",@"[发怒]"]
#define faceWhiteNameArray @[@"[吐]",@"[得... | 31.861111 | 225 | 0.646905 |
92ca7ead5832e7368364616319baf135dd02f9ad | 16,804 | h | C | structs/RedBlack.h | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | structs/RedBlack.h | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | structs/RedBlack.h | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | #ifndef REDBLACK_H
#define REDBLACK_H
#include <log4cxx/logger.h>
#include <KrisLibrary/Logger.h>
#include <iostream>
#include <assert.h>
#include <KrisLibrary/utils/cmp_func.h>
namespace RedBlack {
enum Color { Black, Red };
//defines the match type for the lookup function
enum Lookup { None, Equal,GTEQ,LTEQ,Less,G... | 19.630841 | 110 | 0.583909 |
133730203e24c201a3954a374d6bccf617ee7303 | 3,665 | h | C | dependencies-include/nxogre/include/NxOgreOgreSceneRenderer.h | bach74/Lisa | 6f79b909f734883cd05a0ccf8679199ae2e301cf | [
"MIT",
"Unlicense"
] | 2 | 2016-06-23T21:20:19.000Z | 2020-03-25T15:01:07.000Z | dependencies-include/nxogre/include/NxOgreOgreSceneRenderer.h | bach74/Lisa | 6f79b909f734883cd05a0ccf8679199ae2e301cf | [
"MIT",
"Unlicense"
] | null | null | null | dependencies-include/nxogre/include/NxOgreOgreSceneRenderer.h | bach74/Lisa | 6f79b909f734883cd05a0ccf8679199ae2e301cf | [
"MIT",
"Unlicense"
] | null | null | null | /** \file NxOgreOgreSceneRenderer.h
* \brief Header for the OgreSceneRenderer class.
* \version 1.0-21
*
* \licence NxOgre a wrapper for the PhysX physics library.
* Copyright (C) 2005-8 Robin Southern of NxOgre.org http://www.nxogre.org
* This library is free software; you can redistr... | 34.904762 | 88 | 0.66985 |
a1f64139b1ae1db4b98679afc8df523c676b15d2 | 12,832 | h | C | emulator/src/devices/cpu/h6280/h6280.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/cpu/h6280/h6280.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/cpu/h6280/h6280.h | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:Bryan McPhail
/*****************************************************************************
h6280.h Portable Hu6280 emulator interface
Copyright Bryan McPhail, mish@tendril.co.uk
This source code is based (with permission!) on the 6502 emulator by
Juergen... | 34.494624 | 100 | 0.655938 |
bdae281ab6c4cc0b1f1376f241baa06cc6a92587 | 1,413 | rs | Rust | src/udp/packet.rs | akitsu-sanae/microps-rs | e217d2110e402a8a49909f08ea26725e2a9350cf | [
"MIT"
] | 4 | 2020-01-13T01:43:45.000Z | 2022-03-06T09:16:34.000Z | src/udp/packet.rs | akitsu-sanae/microps-rs | e217d2110e402a8a49909f08ea26725e2a9350cf | [
"MIT"
] | null | null | null | src/udp/packet.rs | akitsu-sanae/microps-rs | e217d2110e402a8a49909f08ea26725e2a9350cf | [
"MIT"
] | 1 | 2022-02-03T14:24:42.000Z | 2022-02-03T14:24:42.000Z | use crate::{buffer::Buffer, packet, util};
use std::error::Error;
pub struct Packet {
pub src_port: u16,
pub dst_port: u16,
pub sum: u16,
pub payload: Buffer,
}
const HEADER_LEN: usize = 8;
impl Packet {
pub fn dump(&self) {
eprintln!("src port: {}", self.src_port);
eprintln!("dst... | 26.660377 | 81 | 0.547771 |
12e8445adeb03251b19db355cb157886d44e7078 | 436 | html | HTML | po/apps/core/templates/admin/product_form.html | ministryofjustice/po | ff73ace136fc5f24e6b2ccc7b722ae0125d6f2b2 | [
"ADSL"
] | null | null | null | po/apps/core/templates/admin/product_form.html | ministryofjustice/po | ff73ace136fc5f24e6b2ccc7b722ae0125d6f2b2 | [
"ADSL"
] | 2 | 2016-01-21T15:31:41.000Z | 2016-01-21T15:34:40.000Z | po/apps/core/templates/admin/product_form.html | ministryofjustice/po | ff73ace136fc5f24e6b2ccc7b722ae0125d6f2b2 | [
"ADSL"
] | 2 | 2017-11-07T22:48:59.000Z | 2021-04-11T06:58:18.000Z | {% extends "admin/change_form.html" %}
{% block after_related_objects %}
{% load ctx %}
<div class="tabular">
<fieldset class="module">
<h2>Builds</h2>
<table>
<tr><th>Build</th><th>Created</th></tr>
{% for build in original.builds.all %}
<tr><td><a href="{% link_build build %}">{{ build.na... | 25.647059 | 105 | 0.559633 |
6d215d1f59f77ffe1818b024491ba29f9eb3c526 | 1,457 | swift | Swift | CarenetSDK/Classes/controllers/CNWarningViewController.swift | renatocarvalhan1/SDK | 25aa09d69daf998b8ffe9832871d1875fb9f3023 | [
"MIT"
] | null | null | null | CarenetSDK/Classes/controllers/CNWarningViewController.swift | renatocarvalhan1/SDK | 25aa09d69daf998b8ffe9832871d1875fb9f3023 | [
"MIT"
] | null | null | null | CarenetSDK/Classes/controllers/CNWarningViewController.swift | renatocarvalhan1/SDK | 25aa09d69daf998b8ffe9832871d1875fb9f3023 | [
"MIT"
] | null | null | null | //
// CNWarningViewController.swift
// CarenetSDK
//
// Created by Renato Carvalhan on 09/10/17.
//
import UIKit
import VisualEffectView
class CNWarningViewController: CNBaseViewController {
@IBOutlet var centerView: UIView!
@IBOutlet var blurView: VisualEffectView!{
didSet {
blur... | 24.283333 | 78 | 0.575841 |
76ad6f9ca8d8afdc8ae8c40bab14b26d2400137e | 2,364 | swift | Swift | Solutions/SolutionsTests/Easy/Easy_088_Merge_Sorted_Array_Test.swift | htaiwan/LeetCode-Solutions-in-Swift | df8e24b17fbd2e791e56eb0c2d38f07b5c2880b2 | [
"MIT"
] | null | null | null | Solutions/SolutionsTests/Easy/Easy_088_Merge_Sorted_Array_Test.swift | htaiwan/LeetCode-Solutions-in-Swift | df8e24b17fbd2e791e56eb0c2d38f07b5c2880b2 | [
"MIT"
] | null | null | null | Solutions/SolutionsTests/Easy/Easy_088_Merge_Sorted_Array_Test.swift | htaiwan/LeetCode-Solutions-in-Swift | df8e24b17fbd2e791e56eb0c2d38f07b5c2880b2 | [
"MIT"
] | 1 | 2019-06-10T18:26:47.000Z | 2019-06-10T18:26:47.000Z | //
// Easy_088_Merge_Sorted_Array_Test.swift
// Solutions
//
// Created by Di Wu on 10/15/15.
// Copyright © 2015 diwu. All rights reserved.
//
import XCTest
class Easy_088_Merge_Sorted_Array_Test: XCTestCase {
private static let ProblemName: String = "Easy_088_Merge_Sorted_Array"
private static let TimeO... | 42.214286 | 198 | 0.623942 |
e3eecd56cb84e8da5e90c81f8f82db2f666f8191 | 509 | go | Go | generateTypedTranslations_test.go | NSMutableString/typedLocalizable | 0a4fde3a21aa03fded6a634a61a16f20d65206b6 | [
"MIT"
] | null | null | null | generateTypedTranslations_test.go | NSMutableString/typedLocalizable | 0a4fde3a21aa03fded6a634a61a16f20d65206b6 | [
"MIT"
] | null | null | null | generateTypedTranslations_test.go | NSMutableString/typedLocalizable | 0a4fde3a21aa03fded6a634a61a16f20d65206b6 | [
"MIT"
] | null | null | null | package main
import "testing"
func TestExtractKeyFromLineGivenValidLineData(t *testing.T) {
line := "\"lorem\" = \"ipsum\";"
expectedKey := "lorem"
key, _ := extractKeyFromLine(line)
if key != expectedKey {
t.Errorf("Did not get expected result")
}
}
func TestExtractKeyFromLineGivenInvalidLineData(t *testing.... | 24.238095 | 63 | 0.705305 |
2c7f8cb6fd98237a45bd69d3f50fb308aea1da91 | 394 | kt | Kotlin | app/src/main/java/com/szymongrochowiak/androidkotlinstarterpack/di/ApplicationModule.kt | SzymonGrochowiak/Android-Kotlin-Starter-Pack | 5a337fb35c0d51961983f7d5de9bb6e112494231 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/szymongrochowiak/androidkotlinstarterpack/di/ApplicationModule.kt | SzymonGrochowiak/Android-Kotlin-Starter-Pack | 5a337fb35c0d51961983f7d5de9bb6e112494231 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/szymongrochowiak/androidkotlinstarterpack/di/ApplicationModule.kt | SzymonGrochowiak/Android-Kotlin-Starter-Pack | 5a337fb35c0d51961983f7d5de9bb6e112494231 | [
"Apache-2.0"
] | null | null | null | package com.szymongrochowiak.androidkotlinstarterpack.di
import android.app.Application
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
/**
* @author Szymon Grochowiak
*/
@Module
class ApplicationModule(private val application: Application) {
@Provides
@Singleton
fun providesS... | 19.7 | 63 | 0.769036 |
b984a2e41dd2c7ddb1ff6262c073a7f5f9a90668 | 130,615 | c | C | cilk5rts/cilk2c/transform.c | wustl-pctg/cracer | 033f0bc0cee9d77e00c8424b07350d5524f4cef8 | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | cilk5rts/cilk2c/transform.c | wustl-pctg/cracer | 033f0bc0cee9d77e00c8424b07350d5524f4cef8 | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | cilk5rts/cilk2c/transform.c | wustl-pctg/cracer | 033f0bc0cee9d77e00c8424b07350d5524f4cef8 | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | /* -*- c-indentation-style: "k&r"; c-basic-offset: 5 -*- */
/*************************************************************************
*
* C-to-C Translator
*
* Rob Miller
*
*************************************************************************/
/*
* Copyright (c) 1994-2003 Massachusetts Institute of Techn... | 30.248958 | 185 | 0.612334 |
0cb5558fd712cd9664d2840e0dfa1433d69b0ae5 | 7,491 | py | Python | CameraCalibration.py | lsmanoel/StereoVision | 22e9a422a217290e6fb2b71afc663db87e530842 | [
"MIT"
] | null | null | null | CameraCalibration.py | lsmanoel/StereoVision | 22e9a422a217290e6fb2b71afc663db87e530842 | [
"MIT"
] | null | null | null | CameraCalibration.py | lsmanoel/StereoVision | 22e9a422a217290e6fb2b71afc663db87e530842 | [
"MIT"
] | null | null | null |
import numpy as np
import cv2
import glob
from matplotlib import pyplot as plt
class CameraCalibration():
def __init__(self):
pass
# ===========================================================
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@staticmethod
def find_chess(frame... | 39.015625 | 128 | 0.394206 |
954c58dc83cf867d9d2e6bfa6bd9927d54f8c47b | 1,652 | css | CSS | assets/css/country.css | katylorny/table | fe102f8a031ff3973ae6a1fed85021f0ad607040 | [
"BSD-3-Clause"
] | null | null | null | assets/css/country.css | katylorny/table | fe102f8a031ff3973ae6a1fed85021f0ad607040 | [
"BSD-3-Clause"
] | null | null | null | assets/css/country.css | katylorny/table | fe102f8a031ff3973ae6a1fed85021f0ad607040 | [
"BSD-3-Clause"
] | null | null | null | .country-wrapper {
height: 350px;
overflow-y: auto;
position: relative;
/*border-bottom: 1px solid #ddd;*/
border-radius: 8px;
box-shadow: 0 0 13px 5px rgba(0, 0, 0, 0.2);
color: #898A86;
}
.country-wrapper .summary {
display: none;
}
.country-wrapper table {
margin: 0;
}
.country... | 22.026667 | 210 | 0.624092 |
7a3f2214a50f9aceff3edcc5cdfab5f63c23097c | 672 | kt | Kotlin | src/main/kotlin/com/bftcom/democrud/graphql/PersonMutation.kt | Shaposhnikov-Alexey/democrud | 94b094a423b763a05078a8ebcd034124e395b6e7 | [
"MIT"
] | null | null | null | src/main/kotlin/com/bftcom/democrud/graphql/PersonMutation.kt | Shaposhnikov-Alexey/democrud | 94b094a423b763a05078a8ebcd034124e395b6e7 | [
"MIT"
] | null | null | null | src/main/kotlin/com/bftcom/democrud/graphql/PersonMutation.kt | Shaposhnikov-Alexey/democrud | 94b094a423b763a05078a8ebcd034124e395b6e7 | [
"MIT"
] | null | null | null | package com.bftcom.democrud.graphql
import com.bftcom.democrud.model.PersonRepository
import com.expediagroup.graphql.server.operations.Mutation
import org.springframework.stereotype.Component
@Component
class PersonMutation(val personRepository: PersonRepository) : Mutation {
fun addPerson(name: String, lastName... | 37.333333 | 104 | 0.776786 |
c3a7c86be06eaa6d4287fd7885743754fe92afb9 | 4,217 | swift | Swift | Advent2018.playground/Pages/Day 4 - Repose Record.xcplaygroundpage/Contents.swift | dpassage/advent2018 | c22d892a37b532667e5c50a4e16b49c70e38ad51 | [
"BSD-2-Clause"
] | null | null | null | Advent2018.playground/Pages/Day 4 - Repose Record.xcplaygroundpage/Contents.swift | dpassage/advent2018 | c22d892a37b532667e5c50a4e16b49c70e38ad51 | [
"BSD-2-Clause"
] | null | null | null | Advent2018.playground/Pages/Day 4 - Repose Record.xcplaygroundpage/Contents.swift | dpassage/advent2018 | c22d892a37b532667e5c50a4e16b49c70e38ad51 | [
"BSD-2-Clause"
] | null | null | null | //: [Previous](@previous)
import Foundation
import AdventLib
let testInput = """
[1518-11-01 00:00] Guard #10 begins shift
[1518-11-01 00:05] falls asleep
[1518-11-01 00:25] wakes up
[1518-11-01 00:30] falls asleep
[1518-11-01 00:55] wakes up
[1518-11-01 23:58] Guard #99 begins shift
[1518-11-02 00:40] falls asleep
[... | 29.907801 | 110 | 0.631729 |
c7ee31ca44090e6b285a3f692a5e9ebafb790c6a | 1,447 | java | Java | app/src/main/java/com/myhailov/mykola/fishpay/activities/charity/CharitySuccessActivity.java | mykola-myhailov/fishpay-android | e4f74bc7afca303cf547ed09009324d1be052189 | [
"MIT"
] | null | null | null | app/src/main/java/com/myhailov/mykola/fishpay/activities/charity/CharitySuccessActivity.java | mykola-myhailov/fishpay-android | e4f74bc7afca303cf547ed09009324d1be052189 | [
"MIT"
] | null | null | null | app/src/main/java/com/myhailov/mykola/fishpay/activities/charity/CharitySuccessActivity.java | mykola-myhailov/fishpay-android | e4f74bc7afca303cf547ed09009324d1be052189 | [
"MIT"
] | null | null | null | package com.myhailov.mykola.fishpay.activities.charity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.myhailov.mykola.fishpay.R;
import com.myhailov.mykola.fishpay.activities.BaseActivity;
import com.myhailov.mykola.fishpay.activities.Cha... | 30.787234 | 97 | 0.674499 |
4fa814aa1132d79e7ee3bdad430b88ee254ff701 | 2,811 | swift | Swift | ContactSyncing/Helpers/Extensions/RACTerminal.swift | bastienFalcou/ContactSync | 9263e0dbd0e5060c63e29fb58d2fe708b27158c0 | [
"MIT"
] | 3 | 2020-12-13T08:46:19.000Z | 2021-07-09T11:56:55.000Z | ContactSyncing/Helpers/Extensions/RACTerminal.swift | bastienFalcou/ContactSync | 9263e0dbd0e5060c63e29fb58d2fe708b27158c0 | [
"MIT"
] | null | null | null | ContactSyncing/Helpers/Extensions/RACTerminal.swift | bastienFalcou/ContactSync | 9263e0dbd0e5060c63e29fb58d2fe708b27158c0 | [
"MIT"
] | null | null | null | //
// RACTerminal.swift
// Owners
//
// Created by Ravindra Soni on 25/05/2016.
// Copyright © 2016 Fueled. All rights reserved.
//
import UIKit
import ReactiveCocoa
import ReactiveSwift
import DataSource
import Result
extension Reactive where Base: NSObject {
func target<U>(_ action: @escaping (Base, U) -> Void... | 22.853659 | 76 | 0.698684 |
4a4e0d65e47daeca2407284e5e95dfd0a4a5bda7 | 243 | js | JavaScript | lib/dupes/filterDupes.js | jonschlinkert/extract-components | 26909d1073d4aee98bf947e2e5719fabf0f630a1 | [
"MIT"
] | 1 | 2021-04-12T23:10:40.000Z | 2021-04-12T23:10:40.000Z | lib/dupes/filterDupes.js | jonschlinkert/extract-components | 26909d1073d4aee98bf947e2e5719fabf0f630a1 | [
"MIT"
] | null | null | null | lib/dupes/filterDupes.js | jonschlinkert/extract-components | 26909d1073d4aee98bf947e2e5719fabf0f630a1 | [
"MIT"
] | null | null | null | const _ = require('lodash');
module.exports = function(val, arr) {
_.filter(_.keys(val), function (key) {
return val[key] > 1;
});
_.filter(val, function (key) {
return arr[key] && arr[key].length !== 0;
});
return arr;
};
| 18.692308 | 45 | 0.576132 |
4e83dc7ba6d0a1827ad1b150532f20b0b9332bea | 879 | asm | Assembly | oeis/268/A268093.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/268/A268093.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/268/A268093.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A268093: Number of 1 X n 0..2 arrays with every repeated value in every row not one larger and in every column one larger mod 3 than the previous repeated value, and upper left element zero.
; Submitted by Christian Krause
; 1,3,9,26,74,208,580,1608,4440,12224,33584,92128,252448,691200,1891392,5173376,14145920,386713... | 39.954545 | 487 | 0.796359 |
2884eefb2b5268bf40ea0b324c53391d9016c7dd | 322 | rb | Ruby | test/integration/postgresql/serverspec/redis_spec.rb | maoueh/cookbook-gitlab | 4167ec60fcd24bd4143ccdbcb81dbc95043d31af | [
"MIT"
] | null | null | null | test/integration/postgresql/serverspec/redis_spec.rb | maoueh/cookbook-gitlab | 4167ec60fcd24bd4143ccdbcb81dbc95043d31af | [
"MIT"
] | null | null | null | test/integration/postgresql/serverspec/redis_spec.rb | maoueh/cookbook-gitlab | 4167ec60fcd24bd4143ccdbcb81dbc95043d31af | [
"MIT"
] | null | null | null | require 'spec_helper'
describe 'Redis Database' do
describe file('/var/run/redis/sockets/redis.sock') do
it { should be_socket }
it { should be_owned_by('redis') }
it { should be_grouped_into('git') }
end
it 'has a running service named redis0' do
expect(service('redis0')).to be_running
end
en... | 23 | 55 | 0.689441 |