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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fb7bdfc261a4dbe816905c006eec0dd28bbf2280 | 288 | java | Java | Design Patterns/AbstractFactory/src/factory/AbstractMazeFactory.java | larissacauane/Design-Patterns | 9000d86e34909f84a34fb624fe1799f720189c5c | [
"MIT"
] | null | null | null | Design Patterns/AbstractFactory/src/factory/AbstractMazeFactory.java | larissacauane/Design-Patterns | 9000d86e34909f84a34fb624fe1799f720189c5c | [
"MIT"
] | null | null | null | Design Patterns/AbstractFactory/src/factory/AbstractMazeFactory.java | larissacauane/Design-Patterns | 9000d86e34909f84a34fb624fe1799f720189c5c | [
"MIT"
] | null | null | null | package factory;
import model.Door;
import model.Maze;
import model.Room;
import model.Wall;
public abstract class AbstractMazeFactory {
public abstract Maze makeMaze();
public abstract Door makeDoor();
public abstract Room makeRoom();
public abstract Wall makeWall();
}
| 14.4 | 43 | 0.75 |
bb921093c747a0c24ee33dd4bd10ad81406bd146 | 15,815 | kt | Kotlin | app/src/main/java/a98apps/lyricsedge/network/LyricsRequest.kt | Jonathan2332/98-apps-lyrics-edge | 9f015ad6276a615f571264da80e432aa1242b12c | [
"blessing"
] | null | null | null | app/src/main/java/a98apps/lyricsedge/network/LyricsRequest.kt | Jonathan2332/98-apps-lyrics-edge | 9f015ad6276a615f571264da80e432aa1242b12c | [
"blessing"
] | null | null | null | app/src/main/java/a98apps/lyricsedge/network/LyricsRequest.kt | Jonathan2332/98-apps-lyrics-edge | 9f015ad6276a615f571264da80e432aa1242b12c | [
"blessing"
] | null | null | null | package a98apps.lyricsedge.network
import a98apps.lyricsedge.constants.Constants
import a98apps.lyricsedge.edge.Cocktail
import a98apps.lyricsedge.helper.dao.artist.ArtistDAO
import a98apps.lyricsedge.helper.dao.cache.CacheDAO
import a98apps.lyricsedge.helper.dao.music.MusicDAO
import a98apps.lyricsedge.model.Artist
i... | 40.971503 | 168 | 0.525261 |
9ed6b50551a991f95f73d0e4889db27f6c1c0bbf | 3,950 | sql | SQL | reports_manager/report_manager_database/action_functions/action_load_report_list_jstree.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | reports_manager/report_manager_database/action_functions/action_load_report_list_jstree.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | reports_manager/report_manager_database/action_functions/action_load_report_list_jstree.sql | james-cantrill/funda_components | 23ce9cfbd7b70544544b8d9278c21e86fe31da45 | [
"Apache-2.0"
] | null | null | null | -- The function report_manager_schema.action_load_report_list_jstree produces
-- a list of all reports visible to a user in the json format used by the
-- jQujery widget jsTree
-- Alternative format of the node (id & parent are required)
-- {
-- id : "string" // required
-- parent : "string" // requir... | 28.417266 | 123 | 0.647848 |
b923107afd7984700add963ad8ef464b3c9164ed | 314 | go | Go | fsnfs_shares_resp.go | xsky-storage/go-sdk | 2f9373726b4130089ed67418dfce68df611101f2 | [
"Net-SNMP"
] | null | null | null | fsnfs_shares_resp.go | xsky-storage/go-sdk | 2f9373726b4130089ed67418dfce68df611101f2 | [
"Net-SNMP"
] | null | null | null | fsnfs_shares_resp.go | xsky-storage/go-sdk | 2f9373726b4130089ed67418dfce68df611101f2 | [
"Net-SNMP"
] | null | null | null | /*
* XMS API
*
* XMS is the controller of distributed storage system
*
* API version: SDS_4.2.000.0.200302
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package xmsclient
type FsnfsSharesResp struct {
// share
FsNfsShares []FsnfsShare `json:"fs_nfs_shares"`
}
| 18.470588 | 85 | 0.719745 |
c582b54e436d5db27b5d201827c6cc3e98b2de95 | 1,605 | cpp | C++ | src/YSASA.cpp | yingyulou/YSASA | f117debf8f3e6f74ba00b7755d45e974648b668e | [
"MIT"
] | null | null | null | src/YSASA.cpp | yingyulou/YSASA | f117debf8f3e6f74ba00b7755d45e974648b668e | [
"MIT"
] | null | null | null | src/YSASA.cpp | yingyulou/YSASA | f117debf8f3e6f74ba00b7755d45e974648b668e | [
"MIT"
] | null | null | null | /*
DESCRIPTION
YSASA
Yingyulou's SASA calculate tools.
See README file for full description and examples.
VERSION
1.0.0
LATEST UPDATE
2020.4.29
*/
#include <string>
#include <vector>
#include <PDBToolsCpp/PDBTools>
#include "ArgumentParser.hpp"
#include "AtomBall.hpp"
#include "Calculate.hpp... | 23.955224 | 87 | 0.558255 |
b98b53f2be6941ee704456b6daafe252863542b5 | 1,971 | h | C | PoseLab/PoseLab.h | vishwaphansal7/tf-cpp-pose-detect | aad54ee0234d94c1cf7e54252ec875e22cd2ad23 | [
"MIT"
] | 1 | 2021-05-03T15:06:54.000Z | 2021-05-03T15:06:54.000Z | PoseLab/PoseLab.h | vishwaphansal7/tf-cpp-pose-detect | aad54ee0234d94c1cf7e54252ec875e22cd2ad23 | [
"MIT"
] | null | null | null | PoseLab/PoseLab.h | vishwaphansal7/tf-cpp-pose-detect | aad54ee0234d94c1cf7e54252ec875e22cd2ad23 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <opencv2/opencv.hpp>
#include <QFile>
#include <QThread>
#include <QButtonGroup>
#include <QToolButton>
#include <PoseEstimation/PoseEstimator.h>
#include <PoseEstimation/StopWatch.h>
#include <PoseEstimation/TensorMat.h>
#include "OverlayPainter.h"
#include "OverlayText.... | 21.659341 | 129 | 0.795028 |
4dafa1c401e560a78365477c8f2444a371a2d106 | 34,221 | html | HTML | docs/html/classScheduler.html | manuhalo/PLACeS | 1574a34a2a98468e72d072cc9d1f2b32fcee38f2 | [
"Apache-2.0"
] | null | null | null | docs/html/classScheduler.html | manuhalo/PLACeS | 1574a34a2a98468e72d072cc9d1f2b32fcee38f2 | [
"Apache-2.0"
] | 1 | 2015-04-24T10:10:51.000Z | 2015-06-18T08:32:16.000Z | docs/html/classScheduler.html | manuhalo/PLACeS | 1574a34a2a98468e72d072cc9d1f2b32fcee38f2 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | 57.514286 | 820 | 0.691038 |
0c8847174acdfd2671d2c0087618bdb2bd48ce9b | 987 | html | HTML | app/templates/_modules/snippets/email.html | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | 1 | 2022-03-18T19:25:55.000Z | 2022-03-18T19:25:55.000Z | app/templates/_modules/snippets/email.html | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | null | null | null | app/templates/_modules/snippets/email.html | pd-Shah/FlaskRecycle | 54060aa5c0eacefc0874ea01cbe6545000b416e0 | [
"MIT"
] | null | null | null | <form method="POST" action="/account/t/email/send">
{{ form.csrf_token }}
<div class="field">
<label class="label">{{ form.toEmail.label }}</label>
<div class="control">
{{ form.toEmail(class_="input", value=entry.data.email) }}
</div>
</div>
<div class="field">
<label class="label">{{ f... | 25.307692 | 106 | 0.564336 |
2dcaebc33734ab6b9535b896a47a17f630456533 | 3,881 | html | HTML | HTML5Application/public_html/index.html | Rehzinhaster/fatec.github.io2 | db0314a08342e92fefaddbed03e389be7de58c45 | [
"MIT"
] | 1 | 2017-09-21T23:46:43.000Z | 2017-09-21T23:46:43.000Z | HTML5Application/public_html/index.html | Rehzinhaster/renata.github.io | db0314a08342e92fefaddbed03e389be7de58c45 | [
"MIT"
] | null | null | null | HTML5Application/public_html/index.html | Rehzinhaster/renata.github.io | db0314a08342e92fefaddbed03e389be7de58c45 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML>
<!--
Elemental by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
<title>fatec senai</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="descr... | 44.609195 | 700 | 0.631796 |
f43b01a9f0463fc5ab55d1b8db1aef2caab3e8fe | 905 | go | Go | app/service/main/archive/service/service_test.go | 78182648/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | 22 | 2019-04-27T06:44:41.000Z | 2022-02-04T16:54:14.000Z | app/service/main/archive/service/service_test.go | YouthAge/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | null | null | null | app/service/main/archive/service/service_test.go | YouthAge/blibli-go | 7c717cc07073ff3397397fd3c01aa93234b142e3 | [
"MIT"
] | 34 | 2019-05-07T08:22:27.000Z | 2022-03-25T08:14:56.000Z | package service
import (
"context"
"flag"
"path/filepath"
"testing"
"go-common/app/service/main/archive/conf"
. "github.com/smartystreets/goconvey/convey"
)
var (
s *Service
)
func init() {
dir, _ := filepath.Abs("../cmd/archive-service-test.toml")
flag.Set("conf", dir)
conf.Init()
s = New(conf.Conf)
}
... | 17.403846 | 59 | 0.648619 |
9c0216bda1f1c883b9a8e285e01cee83c7b1ede3 | 2,385 | js | JavaScript | src/Screens/ToDo.js | Augustin-Marmus/ToDoL | 8deefa61c550eb796fd23d2c047ca5312912df65 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | src/Screens/ToDo.js | Augustin-Marmus/ToDoL | 8deefa61c550eb796fd23d2c047ca5312912df65 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | src/Screens/ToDo.js | Augustin-Marmus/ToDoL | 8deefa61c550eb796fd23d2c047ca5312912df65 | [
"CC-BY-3.0",
"Apache-2.0"
] | null | null | null | import React from 'react';
import {
Text,
View,
TextInput,
CheckBox,
Button,
} from 'react-native';
class ToDoScreen extends React.Component {
static navigationOptions = {
title: 'ToDo details',
}
constructor(props) {
super(props);
this.state = {
name: '',
complete: false,
... | 25.105263 | 96 | 0.540042 |
9c6fb79be9a8e78fa8b42e12f274aea179815e0f | 1,949 | js | JavaScript | element-from-absolute-point.js | kylewelsby/element-from-absolute-point | 6a79a36a98bcf5772227de591d1bd891c27f35ba | [
"MIT"
] | 4 | 2019-07-09T17:48:12.000Z | 2021-07-05T04:16:46.000Z | element-from-absolute-point.js | kylewelsby/element-from-absolute-point | 6a79a36a98bcf5772227de591d1bd891c27f35ba | [
"MIT"
] | 1 | 2015-06-03T01:41:49.000Z | 2015-06-05T16:40:11.000Z | element-from-absolute-point.js | kylewelsby/element-from-absolute-point | 6a79a36a98bcf5772227de591d1bd891c27f35ba | [
"MIT"
] | null | null | null | /**!
* @file Support for finding element using absolute X/Y coordinates
* @version 0.0.4
* @copyright 2015 Kyle Welsby
* @license MIT
* @author Kyle Welsby <kyle@mekyle.com>
*/
(function() {
'use strict';
function closestFixed(elm) {
if (window.getComputedStyle(elm).position === 'fixed') {
return e... | 29.530303 | 92 | 0.646485 |
b858055579fc154a2050445b5358ee7cd744ffdc | 794 | kt | Kotlin | app/src/main/java/igrek/forceawaken/persistence/ParcelableUtil.kt | igrek51/force-awakening-alarm | 53777988a008e6dc44b27e2154e4c8024c8469e4 | [
"MIT"
] | null | null | null | app/src/main/java/igrek/forceawaken/persistence/ParcelableUtil.kt | igrek51/force-awakening-alarm | 53777988a008e6dc44b27e2154e4c8024c8469e4 | [
"MIT"
] | 1 | 2018-06-28T01:06:55.000Z | 2018-06-28T01:06:55.000Z | app/src/main/java/igrek/forceawaken/persistence/ParcelableUtil.kt | igrek51/force-awekening-alarm | 53777988a008e6dc44b27e2154e4c8024c8469e4 | [
"MIT"
] | null | null | null | package igrek.forceawaken.persistence
import android.os.Parcel
import android.os.Parcelable
object ParcelableUtil {
fun marshall(parceable: Parcelable): ByteArray {
val parcel = Parcel.obtain()
parceable.writeToParcel(parcel, 0)
val bytes = parcel.marshall()
parcel.recycle()
... | 28.357143 | 77 | 0.653652 |
bb0d44f4a7633429fc6dafbb315cbe15c1f18353 | 1,069 | dart | Dart | lib/business_logic/blocs/converter/converter_event.dart | mwakicodes/Cryptoboard | 53a2911eed1e55e873a98d4a8df752a29c64c8f5 | [
"MIT"
] | 16 | 2021-02-15T11:23:09.000Z | 2022-01-29T09:05:09.000Z | lib/business_logic/blocs/converter/converter_event.dart | webclinic017/Cryptoboard | 53a2911eed1e55e873a98d4a8df752a29c64c8f5 | [
"MIT"
] | null | null | null | lib/business_logic/blocs/converter/converter_event.dart | webclinic017/Cryptoboard | 53a2911eed1e55e873a98d4a8df752a29c64c8f5 | [
"MIT"
] | 3 | 2021-04-30T08:15:41.000Z | 2021-11-16T20:04:43.000Z | part of 'converter_bloc.dart';
abstract class ConverterEvent extends Equatable {
final int num;
final String decimal;
const ConverterEvent({this.num, this.decimal});
}
class onChanged extends ConverterEvent {
final int num;
final TextEditingController priceTextContoller;
onChanged({this.priceTextContolle... | 19.796296 | 58 | 0.724977 |
57819de615ea141d4f524c97c287182fa2ff1a4e | 634 | h | C | Example/YIMios/config/DKSKeyBoard/DKSTextView.h | funnybluecat/YIMios | c973c42819d808310ccad2b7127a24c0c7008247 | [
"MIT"
] | 1 | 2021-07-14T01:51:23.000Z | 2021-07-14T01:51:23.000Z | Example/YIMios/config/DKSKeyBoard/DKSTextView.h | funnybluecat/YIMios | c973c42819d808310ccad2b7127a24c0c7008247 | [
"MIT"
] | null | null | null | Example/YIMios/config/DKSKeyBoard/DKSTextView.h | funnybluecat/YIMios | c973c42819d808310ccad2b7127a24c0c7008247 | [
"MIT"
] | null | null | null | //
// DKSTextView.h
// DKSChatKeyboard
//
// Created by aDu on 2017/9/6.
// Copyright © 2017年 DuKaiShun. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^TextHeightChangedBlock)(CGFloat textHeight);
@interface DKSTextView : UITextView
/**
* textView最大行数
*/
@property (nonatomic, assign) NSUInteger... | 18.647059 | 70 | 0.722397 |
98e0201f6f16c489c058e8cae902fbd2a004d90f | 2,319 | html | HTML | project/component/icon/navigation/pivot-table-chart.html | desech/material-design-project | c04a7cc3e46e9fbaed0275f43553f4eb3f9ee027 | [
"MIT"
] | 1 | 2021-12-23T21:06:36.000Z | 2021-12-23T21:06:36.000Z | project/component/icon/navigation/pivot-table-chart.html | desech/material-design | c04a7cc3e46e9fbaed0275f43553f4eb3f9ee027 | [
"MIT"
] | null | null | null | project/component/icon/navigation/pivot-table-chart.html | desech/material-design | c04a7cc3e46e9fbaed0275f43553f4eb3f9ee027 | [
"MIT"
] | null | null | null | <svg class="e000icon" viewBox="0 0 24 24" data-ss-component="{"variants":{"type":{"outlined":{"e000icon":{"inner":"<path d=\"M0,0h24v24H0V0z\" fill=\"none\"/><path d=\"M21,5c0-1.1-0.9-2-2-2h-9v5h11V5z M3,19c0,1.1,0.9,2,2,2h3V10H3V19z M3,5v3... | 2,319 | 2,319 | 0.660198 |
d037198b350c7d948dd2ceba5c3d34de36091ac3 | 462 | css | CSS | css/gabon.css | EduardoNicacio/flags | d87392a5ea0864c89e1eb2e29a88ade088d3e89c | [
"MIT"
] | null | null | null | css/gabon.css | EduardoNicacio/flags | d87392a5ea0864c89e1eb2e29a88ade088d3e89c | [
"MIT"
] | null | null | null | css/gabon.css | EduardoNicacio/flags | d87392a5ea0864c89e1eb2e29a88ade088d3e89c | [
"MIT"
] | null | null | null | #gabon {
background-image: -webkit-linear-gradient(#009e60 33.3333%,#fcd116 33.3333%,#fcd116 66%,#3a75c4 66%);
background-image: -o-linear-gradient(#009e60 33.3333%,#fcd116 33.3333%,#fcd116 66%,#3a75c4 66%);
background-image: -moz-linear-gradient(#009e60 33.3333%,#fcd116 33.3333%,#fcd116 66%,#3a75c4 66%)... | 51.333333 | 106 | 0.670996 |
81c1ff21ffd25bc6f301d660c1e8ae88ee114d9a | 1,952 | dart | Dart | lib/controllers/message_controller.dart | crowjambo/software_engineering_project | 517b763817ad1d28238dd45ce48528a0a30897e5 | [
"MIT"
] | 1 | 2021-04-22T07:58:20.000Z | 2021-04-22T07:58:20.000Z | lib/controllers/message_controller.dart | crowjambo/software_engineering_project | 517b763817ad1d28238dd45ce48528a0a30897e5 | [
"MIT"
] | 21 | 2020-09-29T18:46:20.000Z | 2020-10-31T21:05:49.000Z | lib/controllers/message_controller.dart | crowjambo/software_engineering_project | 517b763817ad1d28238dd45ce48528a0a30897e5 | [
"MIT"
] | 1 | 2020-10-02T06:24:39.000Z | 2020-10-02T06:24:39.000Z | import 'package:software_engineering_project/utility/globals.dart' as globals;
import 'package:cloud_firestore/cloud_firestore.dart';
import '../models/message_model.dart';
import '../models/user_model.dart';
import '../utility/crypto.dart';
import '../utility/json_help.dart';
void saveMessageListToJson(User receiverD... | 39.04 | 141 | 0.735656 |
ae621d366d60079d4ddef5c2524224e59448e078 | 435 | rs | Rust | blinker06/src/gpio.rs | kjaleshire/raspberry-pi-rs | 28b4cde6731b38f659d4bcb5a4f8fe6bce64afb3 | [
"MIT"
] | null | null | null | blinker06/src/gpio.rs | kjaleshire/raspberry-pi-rs | 28b4cde6731b38f659d4bcb5a4f8fe6bce64afb3 | [
"MIT"
] | null | null | null | blinker06/src/gpio.rs | kjaleshire/raspberry-pi-rs | 28b4cde6731b38f659d4bcb5a4f8fe6bce64afb3 | [
"MIT"
] | null | null | null | use core::intrinsics::{volatile_store, volatile_load};
const GPIO_BASE: u32 = 0x3F00_0000;
pub fn write_register(address: u32, value: u32) {
assert!(address & GPIO_BASE == GPIO_BASE);
unsafe {
volatile_store::<u32>(address as *mut u32, value);
}
}
pub fn read_register(address: u32) -> u32 {
... | 21.75 | 58 | 0.648276 |
aabfaa8bf809ed0f6653d0b03b734b2cdc38d467 | 5,722 | swift | Swift | IvyLifts/Workout/Workout/SessionCollectionCell.swift | maikeuu/IvyLifts | 3985b3a2f3a11bc5935f13730193695ae29331e4 | [
"MIT"
] | null | null | null | IvyLifts/Workout/Workout/SessionCollectionCell.swift | maikeuu/IvyLifts | 3985b3a2f3a11bc5935f13730193695ae29331e4 | [
"MIT"
] | null | null | null | IvyLifts/Workout/Workout/SessionCollectionCell.swift | maikeuu/IvyLifts | 3985b3a2f3a11bc5935f13730193695ae29331e4 | [
"MIT"
] | null | null | null | //
// SessionCollectionCell.swift
// IvyLifts
//
// Created by Mike Chu on 12/24/18.
// Copyright © 2018 Mike Lin. All rights reserved.
//
import UIKit
class SessionCollectionCell: UICollectionViewCell {
var model: FitnessGoal? {
didSet {
guard let model = model else { return }
... | 33.658824 | 175 | 0.64453 |
24008143dd311649a452dfed0c83f9c6fe16bfff | 473 | dart | Dart | lib/src/services/seed_respository.dart | Nagadivyabikkina/mobile-test | e61b1d45fb7f2c48ecf5f20149cc5c04b5fd6a1b | [
"MIT"
] | null | null | null | lib/src/services/seed_respository.dart | Nagadivyabikkina/mobile-test | e61b1d45fb7f2c48ecf5f20149cc5c04b5fd6a1b | [
"MIT"
] | null | null | null | lib/src/services/seed_respository.dart | Nagadivyabikkina/mobile-test | e61b1d45fb7f2c48ecf5f20149cc5c04b5fd6a1b | [
"MIT"
] | 1 | 2021-07-21T03:16:05.000Z | 2021-07-21T03:16:05.000Z | import 'package:mobile_test/src/model/seed.dart';
import 'package:mobile_test/src/services/seed_api_provider.dart';
class SeedRepository {
factory SeedRepository() {
singleton ??= SeedRepository._internal();
return singleton;
}
SeedRepository._internal();
static SeedRepository singleton;
Future<See... | 26.277778 | 69 | 0.756871 |
f4b398228e2a7d0effe6b7b7eaa337d4c66b02f8 | 33,541 | go | Go | pathing/hpf/entrance_test.go | downflux/pathing | f88b513c9589645b4ea5d10a81606a305e89fd9d | [
"MIT"
] | 4 | 2021-01-29T06:16:57.000Z | 2021-12-26T14:14:09.000Z | pathing/hpf/entrance_test.go | downflux/pathing | f88b513c9589645b4ea5d10a81606a305e89fd9d | [
"MIT"
] | 6 | 2020-09-26T00:50:29.000Z | 2020-09-30T19:13:51.000Z | pathing/hpf/entrance_test.go | downflux/pathing | f88b513c9589645b4ea5d10a81606a305e89fd9d | [
"MIT"
] | null | null | null | package entrance
import (
"math"
"testing"
"github.com/downflux/game/map/utils"
"github.com/downflux/game/pathing/hpf/cluster"
"github.com/golang/protobuf/proto"
"github.com/google/go-cmp/cmp"
"google.golang.org/protobuf/testing/protocmp"
gdpb "github.com/downflux/game/api/data_go_proto"
mcpb "github.com/do... | 42.031328 | 173 | 0.675919 |
fbf85384f8023922052e9c0961b4b59ee70f41b4 | 208 | asm | Assembly | src/test/resources/data/generationtests/sjasm-macro3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 36 | 2020-06-29T06:52:26.000Z | 2022-02-10T19:41:58.000Z | src/test/resources/data/generationtests/sjasm-macro3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 39 | 2020-07-02T18:19:34.000Z | 2022-03-27T18:08:54.000Z | src/test/resources/data/generationtests/sjasm-macro3.asm | cpcitor/mdlz80optimizer | 75070d984e1f08474e6d397c7e0eb66d8be0c432 | [
"Apache-2.0"
] | 7 | 2020-07-02T06:00:05.000Z | 2021-11-28T17:31:13.000Z | ; Test case:
macro mymacro 1..*
repeat @0
ld a,high @1
ld (var),a
or a
jr nz,1f
ld a,low @1
ld (var),a
1:
rotate 1
endrepeat
endmacro
mymacro #0102, #0304, #0506
loop:
jr loop
var:
db 0
| 9.454545 | 28 | 0.596154 |
c4a9526232d4bf19aa59327ec1c1623fa0a932d2 | 189,511 | h | C | freertos_examples/2-1.led_sample/BSP/Hardware/LCD/os_logo.h | QinYUN575/FreeRTOS_STM32L4 | 37f927b2c52ef12a22406f6ff8c971846238b5e4 | [
"MIT"
] | null | null | null | freertos_examples/2-1.led_sample/BSP/Hardware/LCD/os_logo.h | QinYUN575/FreeRTOS_STM32L4 | 37f927b2c52ef12a22406f6ff8c971846238b5e4 | [
"MIT"
] | null | null | null | freertos_examples/2-1.led_sample/BSP/Hardware/LCD/os_logo.h | QinYUN575/FreeRTOS_STM32L4 | 37f927b2c52ef12a22406f6ff8c971846238b5e4 | [
"MIT"
] | 1 | 2020-08-10T00:44:39.000Z | 2020-08-10T00:44:39.000Z | const unsigned char os_logo[36960] = { /* 0X10,0X10,0X00,0XDC,0X00,0X54,0X01,0X1B, */
0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XF7,0XFE,0XE7,0XFD,0XC7,0XF9,0X97,0XF3,
0X6F,0X8E,0X47,0X0A,0X3E,0XE8,0X3E,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8,
0X36,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8,0X36,0XE8... | 81.932987 | 86 | 0.780435 |
8c901b5ef4165027ad0b0d785862c535b0239ca3 | 2,032 | dart | Dart | lib/ui/article_item.dart | ntoson66/FlutterTimes | d7edab2bdb6102b154360c71c519c9dfbf8abb2c | [
"Apache-2.0"
] | 2 | 2018-12-05T08:52:05.000Z | 2019-01-16T04:34:29.000Z | lib/ui/article_item.dart | ntoson66/FlutterTimes | d7edab2bdb6102b154360c71c519c9dfbf8abb2c | [
"Apache-2.0"
] | null | null | null | lib/ui/article_item.dart | ntoson66/FlutterTimes | d7edab2bdb6102b154360c71c519c9dfbf8abb2c | [
"Apache-2.0"
] | 2 | 2020-09-21T22:10:01.000Z | 2020-12-22T14:03:52.000Z | import 'package:flutter/material.dart';
import 'package:flutter_times/model/ny_times_model.dart';
import 'package:flutter_times/ui/article_screen.dart';
import 'package:transparent_image/transparent_image.dart';
class CompactArticleItem extends StatelessWidget {
final NyTimesArticle article;
const CompactArticleI... | 23.090909 | 65 | 0.646161 |
1729e076c163c8b7a9140ce92fa8faa662150045 | 4,674 | ps1 | PowerShell | Source/Public/Register-DSACLRightsMapVariable.ps1 | SimonWahlin/DSACL | a2b0d112d262632473dde8a0c184cedbecc12274 | [
"MIT"
] | 16 | 2018-02-13T22:59:10.000Z | 2021-06-17T15:38:58.000Z | Source/Public/Register-DSACLRightsMapVariable.ps1 | SimonWahlin/DSACL | a2b0d112d262632473dde8a0c184cedbecc12274 | [
"MIT"
] | 1 | 2021-01-20T15:18:22.000Z | 2021-01-20T21:18:32.000Z | Source/Public/Register-DSACLRightsMapVariable.ps1 | SimonWahlin/DSACL | a2b0d112d262632473dde8a0c184cedbecc12274 | [
"MIT"
] | 3 | 2019-05-03T07:35:16.000Z | 2022-01-27T02:59:33.000Z | function Register-DSACLRightsMapVariable {
[CmdletBinding()]
param(
[Parameter(DontShow)]
[String]
$Scope = 'Global'
)
$rootDSE = New-Object -TypeName System.DirectoryServices.DirectoryEntry -ArgumentList 'LDAP://RootDSE'
# Create empty hash-tables
$ClassName = @{}
$... | 51.362637 | 192 | 0.698331 |
9bc8e313d71c69dbf0814271ffeba7b9d868b296 | 249 | js | JavaScript | OOP/lesson2.js | mjbenefiel/tutorials | 32b0f4099e62e0fd837f508b695b42fbdc7ce7a4 | [
"Apache-2.0"
] | null | null | null | OOP/lesson2.js | mjbenefiel/tutorials | 32b0f4099e62e0fd837f508b695b42fbdc7ce7a4 | [
"Apache-2.0"
] | null | null | null | OOP/lesson2.js | mjbenefiel/tutorials | 32b0f4099e62e0fd837f508b695b42fbdc7ce7a4 | [
"Apache-2.0"
] | null | null | null | // encapsulation
var userOne = {
email: "sample@ninja.com",
name: "Ryu",
login(){
console.log(this.email, 'has logged in');
},
logout(){
console.log(this.email, 'has logged out')
}
};
userOne.age = 25
console.log(userOne)
| 15.5625 | 47 | 0.60241 |
1aa6e8f0016c7ea0931b55fe689ae958a9605de0 | 110 | cql | SQL | src/main/resources/cql/drop_schema.cql | DataStax-Examples/geospatial-demo | d870824cb699c881b13b4a99000c546059e55361 | [
"Apache-2.0"
] | null | null | null | src/main/resources/cql/drop_schema.cql | DataStax-Examples/geospatial-demo | d870824cb699c881b13b4a99000c546059e55361 | [
"Apache-2.0"
] | null | null | null | src/main/resources/cql/drop_schema.cql | DataStax-Examples/geospatial-demo | d870824cb699c881b13b4a99000c546059e55361 | [
"Apache-2.0"
] | 1 | 2021-01-02T07:29:53.000Z | 2021-01-02T07:29:53.000Z | use datastax_postcode_demo;
truncate postcodes;
drop table postcodes;
drop keyspace datastax_postcode_demo; | 18.333333 | 37 | 0.854545 |
80534cb20717169df346d58ff62684cea89a633e | 39,710 | java | Java | cache2k-api/src/main/java/org/cache2k/Cache.java | txodds/cache2k | 9b5a9828a207a47df9a22e9ce43ba3860e22d895 | [
"Apache-2.0"
] | null | null | null | cache2k-api/src/main/java/org/cache2k/Cache.java | txodds/cache2k | 9b5a9828a207a47df9a22e9ce43ba3860e22d895 | [
"Apache-2.0"
] | null | null | null | cache2k-api/src/main/java/org/cache2k/Cache.java | txodds/cache2k | 9b5a9828a207a47df9a22e9ce43ba3860e22d895 | [
"Apache-2.0"
] | null | null | null | package org.cache2k;
/*
* #%L
* cache2k API
* %%
* Copyright (C) 2000 - 2021 headissue GmbH, Munich
* %%
* 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.o... | 43.878453 | 100 | 0.699924 |
f02bfeeedc763134eda5d9bb6d6b69f7c04e9bb5 | 3,550 | js | JavaScript | template/conf.js | azure-contrib/azure-node-tuneup | 666a69abdccdef204223a67cc5ccd444630fab17 | [
"Apache-2.0"
] | 3 | 2015-01-27T01:11:24.000Z | 2015-09-08T22:18:19.000Z | conf.js | glennblock/azure-node-runtime-selector | 9734df91cd2ca439c77e6067cd80e6ca999f7acc | [
"Apache-2.0"
] | 1 | 2015-09-25T18:00:45.000Z | 2015-09-25T18:00:45.000Z | template/conf.js | azure-contrib/azure-node-tuneup | 666a69abdccdef204223a67cc5ccd444630fab17 | [
"Apache-2.0"
] | null | null | null | var fs=require('fs');
var path=require('path');
var npmVersion='latest';
var nodeVersion='latest';
var nodeVersionSetting=null;
var npmVersionSetting=null;
var util = require('util');
var path=require('path');
var fs = require('fs');
var sitePath = process.env.DEPLOYMENT_TARGET
var packageJson;
var packageJsonPath = p... | 31.981982 | 105 | 0.64338 |
4b29c211ae515abc041f7a8fbb1f369f81c1043d | 2,580 | ps1 | PowerShell | Databases/VSSTester/DiskShadow/Invoke-RemoveExposedDrives.ps1 | dpaulson45/CSS-Exchange | 16154ff8217a61694b56c8d46a136aa09e03187c | [
"MIT"
] | 1 | 2021-06-09T12:58:21.000Z | 2021-06-09T12:58:21.000Z | Databases/VSSTester/DiskShadow/Invoke-RemoveExposedDrives.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | Databases/VSSTester/DiskShadow/Invoke-RemoveExposedDrives.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | function Invoke-RemoveExposedDrives {
function Out-removeDHSFile {
param ([string]$fileline)
$fileline | Out-File -FilePath "$path\removeSnapshot.dsh" -Encoding ASCII -Append
}
" "
Get-Date
Write-Host "Diskshadow Snapshots" -ForegroundColor Green $nl
Write-Host "--------------... | 44.482759 | 158 | 0.64186 |
d515bb8de19e53af55901cac58b0498c1c76deea | 1,045 | ps1 | PowerShell | build.ps1 | jnm2/YouTubeDownloadTool | 7f8f40045389ea26a65ca0b6133c70ba757f5c3c | [
"MIT"
] | 3 | 2021-04-26T14:38:19.000Z | 2021-11-28T10:46:21.000Z | build.ps1 | jnm2/YouTubeDownloadTool | 7f8f40045389ea26a65ca0b6133c70ba757f5c3c | [
"MIT"
] | null | null | null | build.ps1 | jnm2/YouTubeDownloadTool | 7f8f40045389ea26a65ca0b6133c70ba757f5c3c | [
"MIT"
] | null | null | null | Param(
[switch] $Release
)
$ErrorActionPreference = 'Stop'
# Options
$configuration = 'Release'
$artifactsDir = Join-Path (Resolve-Path .) 'artifacts'
$binDir = Join-Path $artifactsDir 'Bin'
$logsDir = Join-Path $artifactsDir 'Logs'
# Detection
. $PSScriptRoot\build\Get-DetectedCiVersion.ps1
$versionInfo = Get-D... | 29.027778 | 106 | 0.74067 |
9bad1adcf8e38617591801c9c39cad05238ff395 | 17,382 | js | JavaScript | nebuloids.js | Jakeman582/Nebuloids | 5c4e838e21eb83d2e7b5fd6da5002241ee44b58e | [
"MIT"
] | null | null | null | nebuloids.js | Jakeman582/Nebuloids | 5c4e838e21eb83d2e7b5fd6da5002241ee44b58e | [
"MIT"
] | null | null | null | nebuloids.js | Jakeman582/Nebuloids | 5c4e838e21eb83d2e7b5fd6da5002241ee44b58e | [
"MIT"
] | null | null | null | /* Ship variables */
var shipWidth = 60;
var shipHeight = 60;
var shipYOffset = 10;
var shipColor = "#777777";
var shipVelocity = 350;
/* Nebuloid variables */
var nebuloidWidth = 30;
var nebuloidHeight = 30;
var nebuloidVelocity = 50;
var nebuloidRows = 5;
var nebuloidColumns = 10;
var nebuloidsAlive = n... | 23.552846 | 118 | 0.628869 |
5032ac270c3244dd3c2c3550f2d61710bcb9dae2 | 1,919 | go | Go | database.go | ederoyd46/osmimport-go | 6b1da0ed2091872da43cba3b72b6c0e6bc3a0d54 | [
"MIT"
] | 4 | 2016-08-01T15:12:50.000Z | 2017-11-22T21:20:00.000Z | database.go | ederoyd46/osmimport-go | 6b1da0ed2091872da43cba3b72b6c0e6bc3a0d54 | [
"MIT"
] | null | null | null | database.go | ederoyd46/osmimport-go | 6b1da0ed2091872da43cba3b72b6c0e6bc3a0d54 | [
"MIT"
] | null | null | null | package main
import r "github.com/dancannon/gorethink"
var (
host string
databaseName string
nodeTable = "node"
wayTable = "way"
relationTable = "relation"
)
func checkDatabase() {
session := connect()
defer killSession(session)
databases, err := r.DBList().Run(session)
var result string... | 20.634409 | 86 | 0.718603 |
8b24adb67ccd569b94fef2969fe576a410bbd359 | 18,751 | lua | Lua | spec/multipart_spec.lua | LuaDist-testing/multipart | d3a3f76ab11766615977381ca6275b0ad9ee3fb1 | [
"MIT"
] | null | null | null | spec/multipart_spec.lua | LuaDist-testing/multipart | d3a3f76ab11766615977381ca6275b0ad9ee3fb1 | [
"MIT"
] | null | null | null | spec/multipart_spec.lua | LuaDist-testing/multipart | d3a3f76ab11766615977381ca6275b0ad9ee3fb1 | [
"MIT"
] | null | null | null | local Multipart = require "multipart"
local function table_size(t)
local res = 0
if t then
for _,_ in pairs(t) do
res = res + 1
end
end
return res
end
describe("Multipart Tests", function()
it("should not fail with request that don't have a body", function()
local content_type = "multipar... | 32.273666 | 158 | 0.676177 |
b334ac8ea204a8f640c9000af68af48fffa52f16 | 216 | rb | Ruby | app/models/task.rb | mkopsho/yapa | 12de6c5bd3be6010d0487398e011499a65386360 | [
"MIT"
] | null | null | null | app/models/task.rb | mkopsho/yapa | 12de6c5bd3be6010d0487398e011499a65386360 | [
"MIT"
] | 7 | 2021-09-28T05:13:09.000Z | 2022-02-27T09:01:44.000Z | app/models/task.rb | mkopsho/yapa | 12de6c5bd3be6010d0487398e011499a65386360 | [
"MIT"
] | null | null | null | class Task < ApplicationRecord
belongs_to :list
accepts_nested_attributes_for :list
validates_presence_of :summary
# scope :created_today, -> { where("created_at < ?", Time.zone.now.beginning_of_day) }
end
| 24 | 88 | 0.759259 |
5b67e0ec36c6ff2dfa0f9c471adfa9edabd902ed | 1,429 | hpp | C++ | src/algorithms/data_structures/array/find_max_product_of_two_elements.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2020-07-31T14:13:56.000Z | 2021-02-03T09:51:43.000Z | src/algorithms/data_structures/array/find_max_product_of_two_elements.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 28 | 2015-09-22T07:38:21.000Z | 2018-10-02T11:00:58.000Z | src/algorithms/data_structures/array/find_max_product_of_two_elements.hpp | iamantony/CppNotes | 2707db6560ad80b0e5e286a04b2d46e5c0280b3f | [
"MIT"
] | 2 | 2018-10-11T14:10:50.000Z | 2021-02-27T08:53:50.000Z | #ifndef FIND_MAX_PRODUCT_OF_TWO_ELEMENTS_HPP
#define FIND_MAX_PRODUCT_OF_TWO_ELEMENTS_HPP
/*
Coursera: Algorithmic Toolbox
Find the maximum product of two distinct numbers in a sequence of non-negative
integers.
Input: A sequence of non-negative integers.
Output: The maximum value that can be obtained by multiplying ... | 24.637931 | 78 | 0.560532 |
98c637d86d185e110f59e7febe5bf6c32ad168c8 | 325 | html | HTML | fsdump/help/honour.pt_BR.auto.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,863 | 2015-01-04T21:45:45.000Z | 2022-03-30T09:10:50.000Z | fsdump/help/honour.pt_BR.auto.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,233 | 2015-01-03T12:45:51.000Z | 2022-03-31T02:39:58.000Z | fsdump/help/honour.pt_BR.auto.html | GalaxyGFX/webmin | 134311032e3e69a6f7386648733a3a65c9a3ba1d | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 546 | 2015-01-05T13:07:28.000Z | 2022-03-25T21:47:51.000Z | <header> Sempre excluir arquivos marcados? </header> Se essa opção estiver configurada, os backups sempre ignoram os arquivos que foram marcados com o comando <tt>chattr</tt> ou o Gerenciador de arquivos, mesmo ao fazer um backup de nível 0. Normalmente, eles são ignorados apenas para backups de nível 1 ou superior. <p... | 325 | 325 | 0.787692 |
f739bc8be467ae436bed4df6322ef7e15ec130f4 | 202 | sql | SQL | src/main/resources/schema.sql | simonellistonball/syslog-storm-sample | 45f4c4c8520f328f385e9d77492440bf987fc1bc | [
"Apache-2.0"
] | 1 | 2017-03-07T07:17:58.000Z | 2017-03-07T07:17:58.000Z | src/main/resources/schema.sql | simonellistonball/syslog-storm-sample | 45f4c4c8520f328f385e9d77492440bf987fc1bc | [
"Apache-2.0"
] | null | null | null | src/main/resources/schema.sql | simonellistonball/syslog-storm-sample | 45f4c4c8520f328f385e9d77492440bf987fc1bc | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `syslog_events`(
`timestamp` string,
`host` string,
`message` string)
PARTITIONED BY (`date` string, `hour` string)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
STORED AS textfile
| 25.25 | 45 | 0.727723 |
3038aad1ac9ea58050fbe1dfd919a2859be452f1 | 1,852 | dart | Dart | test/widget_test.dart | rrousselGit/meetup-18-10-18 | a40ad3046d93bcfeb14cf60d1439e241e259b2ec | [
"MIT"
] | 2 | 2018-10-18T21:15:32.000Z | 2019-09-15T21:34:36.000Z | test/widget_test.dart | rrousselGit/meetup-18-10-18 | a40ad3046d93bcfeb14cf60d1439e241e259b2ec | [
"MIT"
] | null | null | null | test/widget_test.dart | rrousselGit/meetup-18-10-18 | a40ad3046d93bcfeb14cf60d1439e241e259b2ec | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:meetup/one-feature-one-widget/good-mock.dart';
import 'package:meetup/one-feature-one-widget/good-usage_test.dart';
import 'package:meetup/test_sample/widget.dart';
void main() {
testWidgets('Foo', (tester) async... | 28.9375 | 82 | 0.654428 |
3aded011ffb6baa179e18ba1305dfdcc0e8f6830 | 983 | swift | Swift | Tests/BallcapTests/DisposeBagTests.swift | scottfister/Ballcap-iOS | e08cf47506de0217b5bc1ce87e14336fb8432653 | [
"MIT"
] | 242 | 2018-09-20T12:15:03.000Z | 2022-03-30T03:25:16.000Z | Tests/BallcapTests/DisposeBagTests.swift | scottfister/Ballcap-iOS | e08cf47506de0217b5bc1ce87e14336fb8432653 | [
"MIT"
] | 21 | 2019-04-02T03:01:07.000Z | 2021-01-20T12:58:19.000Z | Tests/BallcapTests/DisposeBagTests.swift | scottfister/Ballcap-iOS | e08cf47506de0217b5bc1ce87e14336fb8432653 | [
"MIT"
] | 29 | 2019-05-06T05:48:50.000Z | 2022-01-29T15:09:40.000Z | //
// DisposeBagTests.swift
// BallcapTests
//
// Created by 1amageek on 2019/05/17.
// Copyright © 2019 Stamp Inc. All rights reserved.
//
import XCTest
import FirebaseFirestore
import FirebaseStorage
@testable import Ballcap
class DisposeBagTests: XCTestCase {
override func setUp() {
super.setUp()
... | 22.340909 | 59 | 0.559512 |
254ab1e8a53f04524b4131544e02f9f8b5dbb352 | 69 | dart | Dart | lib/src/message_state_mixin.dart | quantosapplications/riverpod_messages | 81d4bc5c147a71e86771f31508070385f2ff1811 | [
"MIT"
] | 1 | 2022-02-18T09:23:13.000Z | 2022-02-18T09:23:13.000Z | lib/src/message_state_mixin.dart | quantosapplications/riverpod_messages | 81d4bc5c147a71e86771f31508070385f2ff1811 | [
"MIT"
] | null | null | null | lib/src/message_state_mixin.dart | quantosapplications/riverpod_messages | 81d4bc5c147a71e86771f31508070385f2ff1811 | [
"MIT"
] | null | null | null | mixin MessageStateMixin {
String? get error;
String? get info;
}
| 13.8 | 25 | 0.710145 |
5eb30e5cf7bf77cd47e80a28dd828547ba57361d | 145 | lua | Lua | lua/config/core/globals.lua | dtr2300/nvim | 1a8fb5cb07eb8721b468fb6fbdee0ce6e7c661f2 | [
"MIT"
] | 6 | 2021-11-07T18:09:36.000Z | 2022-03-17T16:38:04.000Z | lua/config/core/globals.lua | dtr2300/nvim | 1a8fb5cb07eb8721b468fb6fbdee0ce6e7c661f2 | [
"MIT"
] | null | null | null | lua/config/core/globals.lua | dtr2300/nvim | 1a8fb5cb07eb8721b468fb6fbdee0ce6e7c661f2 | [
"MIT"
] | 2 | 2021-11-24T23:12:27.000Z | 2022-01-03T01:41:55.000Z | function _G.RELOAD(...)
return require("plenary.reload").reload_module(...)
end
function _G.R(name)
RELOAD(name)
return require(name)
end
| 16.111111 | 53 | 0.710345 |
057a5ee6c8f4669455b612f78ff0c11ef0632699 | 4,604 | ps1 | PowerShell | SANS/SEC505-Scripts/Day5-IPSec/Wireless/Who-Can-Escape.ps1 | cyWisp/powershell | ba8e6edad4e82bbc8a663e10877a52d1882d63a3 | [
"MIT"
] | 3 | 2020-05-30T07:28:07.000Z | 2021-07-31T18:51:21.000Z | SANS/SEC505-Scripts/Day5-IPSec/Wireless/Who-Can-Escape.ps1 | cyWisp/powershell | ba8e6edad4e82bbc8a663e10877a52d1882d63a3 | [
"MIT"
] | null | null | null | SANS/SEC505-Scripts/Day5-IPSec/Wireless/Who-Can-Escape.ps1 | cyWisp/powershell | ba8e6edad4e82bbc8a663e10877a52d1882d63a3 | [
"MIT"
] | null | null | null | <# #############################################################################
This script just demos some code which can be used to try to detect which
computers can bypass your authorized perimeter routers to gain Internet access
by some other method, e.g., a personal VPN or tethering through a mobile device.... | 39.689655 | 142 | 0.706777 |
68010e4dd8bd8acf10d3b1a3e66a6a449f1a5d8e | 2,457 | hh | C++ | cc/session.hh | acorg/acmacs-api | 17aa618661748ad3959c5df61fc63b25b4f67904 | [
"MIT"
] | null | null | null | cc/session.hh | acorg/acmacs-api | 17aa618661748ad3959c5df61fc63b25b4f67904 | [
"MIT"
] | null | null | null | cc/session.hh | acorg/acmacs-api | 17aa618661748ad3959c5df61fc63b25b4f67904 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <thread>
#include <mutex>
#include "acmacs-api/mongo-access.hh"
#include "acmacs-api/session-id.hh"
// ----------------------------------------------------------------------
class Session : public StoredInMongodb
{
public:
class Error : public std::runtime_error { public... | 33.202703 | 145 | 0.641026 |
166763ef14b72f05e66ec7abe263c080123d494c | 1,506 | sql | SQL | product.sql | imNK2204/simplecrud-laravel | 9a3a8877c2bff1faad920a206202f65057f65fd4 | [
"MIT"
] | null | null | null | product.sql | imNK2204/simplecrud-laravel | 9a3a8877c2bff1faad920a206202f65057f65fd4 | [
"MIT"
] | null | null | null | product.sql | imNK2204/simplecrud-laravel | 9a3a8877c2bff1faad920a206202f65057f65fd4 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 05, 2022 at 08:44 PM
-- Server version: 10.4.21-MariaDB
-- PHP Version: 8.0.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 22.147059 | 67 | 0.671315 |
4cfc74f77e867cedef33461bf296d35da1bb6253 | 764 | dart | Dart | example/lib/second_screen.dart | onuohasilver/flexible_router | 6c44bbcacb572e80437b9de0a10a35ee5713180a | [
"MIT"
] | null | null | null | example/lib/second_screen.dart | onuohasilver/flexible_router | 6c44bbcacb572e80437b9de0a10a35ee5713180a | [
"MIT"
] | null | null | null | example/lib/second_screen.dart | onuohasilver/flexible_router | 6c44bbcacb572e80437b9de0a10a35ee5713180a | [
"MIT"
] | null | null | null | import 'package:baserouter/baserouter.dart';
import 'package:flutter/material.dart';
class Second extends StatelessWidget {
const Second({Key key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
height: 500,
width: 500,
color: Colors.red,
child: C... | 24.645161 | 63 | 0.531414 |
1abc7e7729de8682d50d6158b6c0076394aecc35 | 1,246 | rs | Rust | src/prelude.rs | jmagnuson/mlua | 30af045c6f60f329aa47188be4ab39f150767508 | [
"MIT"
] | null | null | null | src/prelude.rs | jmagnuson/mlua | 30af045c6f60f329aa47188be4ab39f150767508 | [
"MIT"
] | null | null | null | src/prelude.rs | jmagnuson/mlua | 30af045c6f60f329aa47188be4ab39f150767508 | [
"MIT"
] | null | null | null | //! Re-exports most types with an extra `Lua*` prefix to prevent name clashes.
#[doc(no_inline)]
pub use crate::{
AnyUserData as LuaAnyUserData, Chunk as LuaChunk, Error as LuaError,
ExternalError as LuaExternalError, ExternalResult as LuaExternalResult, FromLua, FromLuaMulti,
Function as LuaFunction, GCMo... | 44.5 | 99 | 0.778491 |
2427750375f07042e4da234e2d95bdfaea428fc4 | 5,368 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1752.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1752.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1752.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x177ef, %r15
nop
sub %rbp, %rbp
mov (%r15), %cx
nop
nop
nop
and %r14, %r14
lea addresses_WC_ht+0xfce9, %rdi
nop
sub $20439, %r11
movb $0x61, (%rdi)
nop
nop
nop
sub $55596, %r... | 42.603175 | 2,999 | 0.659836 |
a11c7e30c00335b26d9ce3de9ea5b86dd313e7eb | 259 | ps1 | PowerShell | SETUP/innerWIN.ps1 | DanArmor/CF-parser-cross-platform | 40c09378f55b6afa4d6e21a691b82b0d7482db96 | [
"MIT"
] | 2 | 2021-10-30T11:03:27.000Z | 2021-11-10T19:51:53.000Z | SETUP/innerWIN.ps1 | DanArmor/CF-parser-cross-platform | 40c09378f55b6afa4d6e21a691b82b0d7482db96 | [
"MIT"
] | null | null | null | SETUP/innerWIN.ps1 | DanArmor/CF-parser-cross-platform | 40c09378f55b6afa4d6e21a691b82b0d7482db96 | [
"MIT"
] | null | null | null | [Environment]::SetEnvironmentVariable("PATHEXT", "$ENV:PATHEXT;.PY", "USER")
$mypath = $MyInvocation.MyCommand.Path
$mypath = Split-Path $mypath -Parent
cd $mypath
cd ..
$mypath = $pwd
[Environment]::SetEnvironmentVariable("PATH", "$ENV:PATH;$mypath", "USER") | 37 | 76 | 0.722008 |
4064c66f21d094b333011f2ee7695d7e3bb717d2 | 581 | swift | Swift | ExposureApp/CRExposureNotification/Views/ShadowViewContainer.swift | armensimon/covidapp | f012a302fc8293154265252f975a32d063a18be5 | [
"Apache-2.0"
] | 8 | 2020-07-27T18:23:36.000Z | 2022-02-09T19:24:52.000Z | ExposureApp/CRExposureNotification/Views/ShadowViewContainer.swift | armensimon/covidapp | f012a302fc8293154265252f975a32d063a18be5 | [
"Apache-2.0"
] | null | null | null | ExposureApp/CRExposureNotification/Views/ShadowViewContainer.swift | armensimon/covidapp | f012a302fc8293154265252f975a32d063a18be5 | [
"Apache-2.0"
] | 10 | 2020-07-28T02:24:49.000Z | 2022-02-09T19:24:58.000Z | import UIKit
class ShadowViewContainer: UIView {
@IBInspectable var cornerRadius: CGFloat = 0
@IBInspectable var shadowRadius: CGFloat = 2.5
@IBInspectable var shadowOpacity: Float = 0.2
override func draw(_ rect: CGRect) {
super.draw(rect)
clipsToBounds = false
layer.... | 30.578947 | 95 | 0.685026 |
c6a8a945dff573187e9fdf38d38e5992514d54a1 | 1,555 | lua | Lua | src/main.lua | al1020119/cocos2dx-lua-Tetris | 764d06f54e821e2e44336d9a497375aa07fcc07a | [
"Apache-2.0"
] | 2 | 2018-10-16T06:17:06.000Z | 2020-04-04T06:15:28.000Z | src/main.lua | al1020119/cocos2dx-lua-Tetris | 764d06f54e821e2e44336d9a497375aa07fcc07a | [
"Apache-2.0"
] | null | null | null | src/main.lua | al1020119/cocos2dx-lua-Tetris | 764d06f54e821e2e44336d9a497375aa07fcc07a | [
"Apache-2.0"
] | 5 | 2019-09-05T12:30:07.000Z | 2021-10-14T04:51:30.000Z |
cc.FileUtils:getInstance():setPopupNotify(false)
require "config"
require "cocos.init"
local function main()
require("app.MyApp"):create():run()
end
---- 针对于lua的错误,一般分为编译时错误和运行时错误;
---
---
--- 针对于运行错误,一般情况下,你可以参考如下代码:
-- lua提供,调用其他函数,可以捕捉到错误,第一个参数为要调用的函数, 第二个参数为捕捉到错误时所调用的函数
-- 返回的参数status为错误状态, msg为错误信息
local ... | 25.916667 | 95 | 0.646302 |
16817e6406382d976830dfe6f5193de273a2fa0e | 10,070 | h | C | defines.h | codesmith-fi/saladir | 03b4f51d380b059d4106f5b9e963406c1896cea8 | [
"MIT"
] | 2 | 2020-06-22T14:26:13.000Z | 2021-05-07T22:52:10.000Z | defines.h | codesmith-fi/saladir | 03b4f51d380b059d4106f5b9e963406c1896cea8 | [
"MIT"
] | 1 | 2019-05-31T09:46:18.000Z | 2021-05-08T14:15:58.000Z | defines.h | codesmith-fi/saladir | 03b4f51d380b059d4106f5b9e963406c1896cea8 | [
"MIT"
] | null | null | null | /* defines
*/
#include "saladir.h"
#include "types.h"
#include "items.h"
#include "creature.h"
#include "skills.h"
#include "hitpoint.h"
#include "status.h"
#include "quest.h"
#include "pathfind.h"
#ifndef _DEFINES_H_DEFINED
#define _DEFINES_H_DEFINED
/* needed macros */
#define ABS(u) ( (u) >= 0 ? (u) : -(u))
#... | 23.310185 | 76 | 0.653128 |
aba2acabfd77baf6d889ca919e99f966ba81b55f | 123 | rb | Ruby | db/migrate/20180923070454_change_column_name.rb | OlgaCoskun/Articles | bac0267d17bc3c6e514c3db7978d40ec00deb175 | [
"MIT"
] | null | null | null | db/migrate/20180923070454_change_column_name.rb | OlgaCoskun/Articles | bac0267d17bc3c6e514c3db7978d40ec00deb175 | [
"MIT"
] | null | null | null | db/migrate/20180923070454_change_column_name.rb | OlgaCoskun/Articles | bac0267d17bc3c6e514c3db7978d40ec00deb175 | [
"MIT"
] | null | null | null | class ChangeColumnName < ActiveRecord::Migration[5.2]
def change
rename_column :comments, :body, :com_body
end
end
| 20.5 | 53 | 0.747967 |
906a6e2f367837f2666c1453f9a5d04e8a090d6c | 4,896 | py | Python | psdaq/psdaq/tests/test_json2xtc.py | ZhenghengLi/lcls2 | 94e75c6536954a58c8937595dcac295163aa1cdf | [
"BSD-3-Clause-LBNL"
] | 16 | 2017-11-09T17:10:56.000Z | 2022-03-09T23:03:10.000Z | psdaq/psdaq/tests/test_json2xtc.py | ZhenghengLi/lcls2 | 94e75c6536954a58c8937595dcac295163aa1cdf | [
"BSD-3-Clause-LBNL"
] | 6 | 2017-12-12T19:30:05.000Z | 2020-07-09T00:28:33.000Z | psdaq/psdaq/tests/test_json2xtc.py | ZhenghengLi/lcls2 | 94e75c6536954a58c8937595dcac295163aa1cdf | [
"BSD-3-Clause-LBNL"
] | 25 | 2017-09-18T20:02:43.000Z | 2022-03-27T22:27:42.000Z | from psdaq.configdb.typed_json import *
from psana import DataSource, container
import numpy as np
import subprocess
import os, re
class Test_JSON2XTC:
def check(self, co, cl, base=""):
result = True
for n in dir(co):
if n[0] != '_':
v = co.__getattribute__(n)
... | 36.266667 | 90 | 0.445261 |
04610c904b712447436ce31938841ad0254da83a | 2,452 | java | Java | reposilite-backend/src/main/java/org/panda_lang/reposilite/repository/LookupController.java | insertt/Reposilite | d310424bbc1754562da313cc27936e98667698c8 | [
"Apache-2.0"
] | null | null | null | reposilite-backend/src/main/java/org/panda_lang/reposilite/repository/LookupController.java | insertt/Reposilite | d310424bbc1754562da313cc27936e98667698c8 | [
"Apache-2.0"
] | null | null | null | reposilite-backend/src/main/java/org/panda_lang/reposilite/repository/LookupController.java | insertt/Reposilite | d310424bbc1754562da313cc27936e98667698c8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Dzikoysk
*
* 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... | 37.723077 | 139 | 0.703915 |
405e20a9f2ecb089c8560be7dea97ae80e9b5ae8 | 3,101 | py | Python | code/lib/helpers/tester_helper.py | yfthu/GUPNet | 12474476f5a00ad34f7dfe1d0c6b1e266e326f85 | [
"MIT"
] | 53 | 2021-08-16T01:20:01.000Z | 2022-03-22T14:05:55.000Z | code/lib/helpers/tester_helper.py | yfthu/GUPNet | 12474476f5a00ad34f7dfe1d0c6b1e266e326f85 | [
"MIT"
] | 17 | 2021-09-08T05:15:21.000Z | 2022-03-09T06:57:45.000Z | code/lib/helpers/tester_helper.py | yfthu/GUPNet | 12474476f5a00ad34f7dfe1d0c6b1e266e326f85 | [
"MIT"
] | 8 | 2021-10-09T05:36:52.000Z | 2022-03-28T09:20:46.000Z | import os
import tqdm
import torch
import numpy as np
from lib.helpers.save_helper import load_checkpoint
from lib.helpers.decode_helper import extract_dets_from_outputs
from lib.helpers.decode_helper import decode_detections
class Tester(object):
def __init__(self, cfg, model, data_loader, logger):
self.... | 37.361446 | 101 | 0.577878 |
693fdb7e768be123063126fc76f5ee05de3f60c5 | 1,464 | dart | Dart | lib/activities/done-button.dart | suhrmann/IchMacheEsRichtig-ODER | 2e2faaea9e356926d86d6fa24e1e303d442eb952 | [
"MIT"
] | 2 | 2020-03-24T13:06:41.000Z | 2020-04-20T08:40:58.000Z | lib/activities/done-button.dart | suhrmann/IchMacheEsRichtig-ODER | 2e2faaea9e356926d86d6fa24e1e303d442eb952 | [
"MIT"
] | null | null | null | lib/activities/done-button.dart | suhrmann/IchMacheEsRichtig-ODER | 2e2faaea9e356926d86d6fa24e1e303d442eb952 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:scoped_model/scoped_model.dart';
import '../scoped-model/main-model.dart';
import '../model/activity.dart';
class DoneButton extends StatelessWidget {
final Activity activityToAdd;
final Function onTap;
Color color;
DoneButton({this.activityToAdd, this.o... | 29.877551 | 79 | 0.574454 |
5d61ee223dd2a7d3dcba7edc8318190a0e4f2932 | 2,093 | go | Go | messages/line.go | volons/ground-station | 7818d9cb4dc5697da7cedf74bc4074f5226a4307 | [
"MIT"
] | 1 | 2020-02-07T19:40:27.000Z | 2020-02-07T19:40:27.000Z | messages/line.go | volons/ground-station | 7818d9cb4dc5697da7cedf74bc4074f5226a4307 | [
"MIT"
] | null | null | null | messages/line.go | volons/ground-station | 7818d9cb4dc5697da7cedf74bc4074f5226a4307 | [
"MIT"
] | 1 | 2020-12-12T20:20:03.000Z | 2020-12-12T20:20:03.000Z | package messages
import (
"errors"
"log"
"sync"
"time"
"github.com/volons/hive/libs"
)
type Line struct {
lock sync.RWMutex
closeOnDisconnect bool
Name string
receive chan Message
peer *Line
done libs.Done
}
func NewLine(name string, closeOnDisconnect bool) *Line {
return &Line{
Name: ... | 16.1 | 93 | 0.638318 |
84337300a35cd50854c33abef6ea571e82aa5bfc | 1,978 | html | HTML | Basic_Html/scoreboard.html | imnik-45/frontend-libraries-certification | ddb249a9db36088c3e3ecfd8eed9487380ec1247 | [
"MIT"
] | 1 | 2020-08-31T18:42:51.000Z | 2020-08-31T18:42:51.000Z | Basic_Html/scoreboard.html | imnik-45/frontend-libraries-certification | ddb249a9db36088c3e3ecfd8eed9487380ec1247 | [
"MIT"
] | null | null | null | Basic_Html/scoreboard.html | imnik-45/frontend-libraries-certification | ddb249a9db36088c3e3ecfd8eed9487380ec1247 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Scoreboard</title>
<style>
h3 {
text-align: center;
}
.leg {
text-align: center;
font-size: larger;
}
t... | 22.477273 | 76 | 0.40546 |
3253c4a00363297c211ffcd1654acd43f9643064 | 225 | sql | SQL | quests/data-science-on-gcp-edition1_tf2/03_sqlstudio/create_views.sql | Glairly/introduction_to_tensorflow | aa0a44d9c428a6eb86d1f79d73f54c0861b6358d | [
"Apache-2.0"
] | 2 | 2022-01-06T11:52:57.000Z | 2022-01-09T01:53:56.000Z | quests/data-science-on-gcp-edition1_tf2/03_sqlstudio/create_views.sql | Glairly/introduction_to_tensorflow | aa0a44d9c428a6eb86d1f79d73f54c0861b6358d | [
"Apache-2.0"
] | null | null | null | quests/data-science-on-gcp-edition1_tf2/03_sqlstudio/create_views.sql | Glairly/introduction_to_tensorflow | aa0a44d9c428a6eb86d1f79d73f54c0861b6358d | [
"Apache-2.0"
] | null | null | null | use bts;
CREATE VIEW delayed_10 AS SELECT * FROM flights WHERE dep_delay > 10;
CREATE VIEW delayed_15 AS SELECT * FROM flights WHERE dep_delay > 15;
CREATE VIEW delayed_20 AS SELECT * FROM flights WHERE dep_delay > 20;
| 37.5 | 70 | 0.76 |
aa932e7bd171862d7222eaa75230607e46811dda | 145,119 | sql | SQL | h2si3.sql | AyymericM/H2_SI3 | c38c4468382f408072ce211d71d10c074826bc3d | [
"MIT"
] | null | null | null | h2si3.sql | AyymericM/H2_SI3 | c38c4468382f408072ce211d71d10c074826bc3d | [
"MIT"
] | null | null | null | h2si3.sql | AyymericM/H2_SI3 | c38c4468382f408072ce211d71d10c074826bc3d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.6deb4
-- https://www.phpmyadmin.net/
--
-- Client : localhost:3306
-- Généré le : Jeu 11 Avril 2019 à 19:28
-- Version du serveur : 10.1.37-MariaDB-0+deb9u1
-- Version de PHP : 7.0.33-0+deb9u3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OL... | 175.688862 | 273 | 0.555034 |
3750a5451109e98fb3f14c41e3b382c2ddb8b26a | 7,113 | swift | Swift | Puzzle15/Managers/TilesManager.swift | cybersamx/ios-puzzle15 | c1ee6b447cf09a122c5cc459b1ec5887da46ebd1 | [
"MIT"
] | null | null | null | Puzzle15/Managers/TilesManager.swift | cybersamx/ios-puzzle15 | c1ee6b447cf09a122c5cc459b1ec5887da46ebd1 | [
"MIT"
] | null | null | null | Puzzle15/Managers/TilesManager.swift | cybersamx/ios-puzzle15 | c1ee6b447cf09a122c5cc459b1ec5887da46ebd1 | [
"MIT"
] | null | null | null | //
// TilesManager.swift
// Puzzle15
//
// Created by Samuel Chow on 7/23/18.
// Copyright © 2018 Samuel Chow. All rights reserved.
//
import Foundation
import UIKit
func sqrtInt(_ x: Int) -> Int {
return Int(sqrt(Double(x)))
}
class TilesManager {
// Configuration.
var count: Int // Number of ti... | 27.677043 | 112 | 0.62449 |
aa20cabcc9852f1a14cf894a0efa4e0f3af07bc3 | 244 | lua | Lua | wow7.0/oUF_OrbsConfig/focus.lua | bailingzhl/rothui | fc2a07b7e62572b8c6b1a9a6a12d86620e670705 | [
"MIT"
] | 118 | 2015-08-22T19:02:45.000Z | 2022-03-14T04:21:17.000Z | wow7.0/oUF_OrbsConfig/focus.lua | Allenhorst/rothui | cecb35dddb3caffb7c18aa1762722a30b4f10caa | [
"MIT"
] | 63 | 2015-08-22T19:05:26.000Z | 2020-07-13T21:05:28.000Z | wow7.0/oUF_OrbsConfig/focus.lua | Allenhorst/rothui | cecb35dddb3caffb7c18aa1762722a30b4f10caa | [
"MIT"
] | 74 | 2015-09-27T08:01:15.000Z | 2022-02-04T19:08:37.000Z |
-- oUF_OrbsConfig: focus
-- zork, 2018
-----------------------------
-- Variables
-----------------------------
local A, L = ...
-----------------------------
-- Focus Config
-----------------------------
L.C.focus = {
enabled = false,
} | 14.352941 | 29 | 0.29918 |
bc7ff1c658bea6dc8229591ef60b09540eba9cb0 | 2,069 | dart | Dart | examples/github_client/lib/filter/filter.dart | p69/flip_flop | e4617e795d8b52d55c552ceb2da485a951b632b2 | [
"MIT"
] | 117 | 2018-05-16T04:21:12.000Z | 2022-03-27T02:58:35.000Z | examples/github_client/lib/filter/filter.dart | p69/flip_flop | e4617e795d8b52d55c552ceb2da485a951b632b2 | [
"MIT"
] | 21 | 2018-08-20T06:57:46.000Z | 2021-11-14T09:09:03.000Z | examples/github_client/lib/filter/filter.dart | p69/flip_flop | e4617e795d8b52d55c552ceb2da485a951b632b2 | [
"MIT"
] | 22 | 2018-08-04T04:41:47.000Z | 2021-12-17T10:40:49.000Z | library filter;
import 'package:dartea/dartea.dart';
import 'package:flutter/material.dart';
import 'package:github_client/api.dart';
import 'package:github_client/helpers/router.dart';
import 'package:github_client/trending/trending.dart';
part 'filter_state.dart';
part 'filter_view.dart';
class Language... | 27.959459 | 85 | 0.713388 |
dd3dcf3a750ca8cf33ed2952c9228019372b757e | 1,617 | go | Go | vendor/k8s.io/kubernetes/pkg/proxy/healthcheck/http.go | MarkDeMaria/origin | da8083ad7d4a5f27525a18ab5a450b4405b84d6e | [
"Apache-2.0"
] | 173 | 2015-10-21T20:24:52.000Z | 2021-09-22T08:30:32.000Z | vendor/k8s.io/kubernetes/pkg/proxy/healthcheck/http.go | MarkDeMaria/origin | da8083ad7d4a5f27525a18ab5a450b4405b84d6e | [
"Apache-2.0"
] | 455 | 2015-07-28T11:14:25.000Z | 2018-06-20T14:10:35.000Z | vendor/k8s.io/kubernetes/pkg/proxy/healthcheck/http.go | MarkDeMaria/origin | da8083ad7d4a5f27525a18ab5a450b4405b84d6e | [
"Apache-2.0"
] | 90 | 2015-08-26T15:52:13.000Z | 2021-05-19T12:19:34.000Z | /*
Copyright 2016 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 34.404255 | 103 | 0.779839 |
dfc331b31ac1be55a90eeaf43a13dcff7360e465 | 1,419 | tsx | TypeScript | src/components/ErrorBoundary/ReportButton/index.tsx | nionis99/intercom | 97c61da90c44dfede90f63fcd9e611ede90bc8db | [
"Apache-2.0"
] | null | null | null | src/components/ErrorBoundary/ReportButton/index.tsx | nionis99/intercom | 97c61da90c44dfede90f63fcd9e611ede90bc8db | [
"Apache-2.0"
] | null | null | null | src/components/ErrorBoundary/ReportButton/index.tsx | nionis99/intercom | 97c61da90c44dfede90f63fcd9e611ede90bc8db | [
"Apache-2.0"
] | null | null | null | import React, { useState } from 'react';
import { useTranslation } from 'react-i18next';
import { Report } from '@styled-icons/material-rounded';
import Button from 'react-bootstrap/Button';
import Modal from 'react-bootstrap/Modal';
import FeedbackForm from 'components/ErrorBoundary/ReportForm';
interface Props {
... | 32.25 | 108 | 0.665257 |
c12c9c017256552ebe7f33933b79d0c2b38f60f8 | 1,365 | rs | Rust | tests/number_literals.rs | DoNotDoughnut/rhai | 83648f36bea5c787df2996d7bb736306c467cb0e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/number_literals.rs | DoNotDoughnut/rhai | 83648f36bea5c787df2996d7bb736306c467cb0e | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/number_literals.rs | DoNotDoughnut/rhai | 83648f36bea5c787df2996d7bb736306c467cb0e | [
"Apache-2.0",
"MIT"
] | null | null | null | use quad_compat_rhai::{Engine, EvalAltResult, INT};
#[test]
fn test_number_literal() -> Result<(), Box<EvalAltResult>> {
let engine = Engine::new();
assert_eq!(engine.eval::<INT>("42")?, 42);
#[cfg(not(feature = "no_object"))]
assert_eq!(
engine.eval::<String>("42.type_of()")?,
if cfg... | 23.947368 | 64 | 0.542125 |
df814329d8d07f9e1171d9b030aa68a221d6f00e | 552 | dart | Dart | movie/test/helpers/test_helper.dart | attalariq123/flutter-movie-database-app | 9fd42b87e3ccc50e334997f2715d30bfc605c76a | [
"Apache-2.0"
] | 18 | 2022-01-05T11:48:19.000Z | 2022-03-27T19:07:07.000Z | movie/test/helpers/test_helper.dart | attalariq123/flutter-movie-database-app | 9fd42b87e3ccc50e334997f2715d30bfc605c76a | [
"Apache-2.0"
] | 25 | 2022-01-07T01:57:45.000Z | 2022-03-14T05:14:21.000Z | movie/test/helpers/test_helper.dart | attalariq123/flutter-movie-database-app | 9fd42b87e3ccc50e334997f2715d30bfc605c76a | [
"Apache-2.0"
] | 11 | 2022-01-06T14:00:35.000Z | 2022-03-31T03:33:35.000Z | import 'package:http/http.dart' as http;
import 'package:mockito/annotations.dart';
import 'package:movie/data/datasources/db/movie_database_helper.dart';
import 'package:movie/data/datasources/movie_local_data_source.dart';
import 'package:movie/data/datasources/movie_remote_data_source.dart';
import 'package:movie/do... | 32.470588 | 70 | 0.804348 |
a7ca5d70fb3184d45c8ad417012d26f2bd09d12d | 751 | asm | Assembly | oeis/204/A204090.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/204/A204090.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/204/A204090.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A204090: The number of 1 X n Haunted Mirror Maze puzzles with a unique solution where mirror orientation is fixed.
; Submitted by Jamie Morken(s2)
; 1,2,8,34,134,498,1786,6274,21778,75074,257762,882946,3020354,10323714,35270530,120467458,411394306,1404773378,4796567042,16377245698,55916897282,190915194882,65183117926... | 44.176471 | 480 | 0.816245 |
7776dd1823cb995ffbcdd56eabfaf714c2d0f63b | 2,636 | html | HTML | src/pages/status/status.html | CASAN-TH/bitebite | e39793562eb7370ebfe8ef3bfec219d2c5464c4e | [
"MIT"
] | null | null | null | src/pages/status/status.html | CASAN-TH/bitebite | e39793562eb7370ebfe8ef3bfec219d2c5464c4e | [
"MIT"
] | 1 | 2021-03-09T21:45:44.000Z | 2021-03-09T21:45:44.000Z | src/pages/status/status.html | CASAN-TH/bitebite | e39793562eb7370ebfe8ef3bfec219d2c5464c4e | [
"MIT"
] | null | null | null | <ion-header>
<ion-navbar color="bite">
<ion-buttons start *ngIf="user && user.profileImageURL">
<button ion-button clear (click)="goToProfile()">
<ion-avatar class="avatar-profile">
<preload-image class="preload-profile-image" [ratio]="{w:1, h:1}" [src]="user.profileImageURL" [isIcon]="tr... | 27.747368 | 137 | 0.508346 |
3e94a4416bd074f40103ffe68e3d833394d1a84e | 2,197 | h | C | ReactNativeFrontend/ios/Pods/Flipper-RSocket/rsocket/ConnectionAcceptor.h | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 217 | 2017-04-29T14:44:39.000Z | 2022-03-29T04:06:17.000Z | ReactNativeFrontend/ios/Pods/Flipper-RSocket/rsocket/ConnectionAcceptor.h | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 270 | 2017-04-28T04:12:23.000Z | 2022-03-11T20:39:33.000Z | ReactNativeFrontend/ios/Pods/Flipper-RSocket/rsocket/ConnectionAcceptor.h | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 83 | 2017-04-28T02:06:16.000Z | 2022-03-11T20:35:16.000Z | // 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 applicabl... | 30.09589 | 77 | 0.731907 |
e8282522eae79c0cbbe7483dcbd3dbfa2c97e242 | 1,026 | hpp | C++ | antlr4cpp/antlr/v4/runtime/atn/atn_deserialization_options.hpp | antlr/antlr4-cpp | 20b0421010863d6c2644bbc89cf027f90834784d | [
"BSD-3-Clause"
] | 77 | 2015-05-12T07:02:07.000Z | 2022-03-12T01:06:28.000Z | antlr4cpp/antlr/v4/runtime/atn/atn_deserialization_options.hpp | seanwallawalla-forks/antlr4-cpp | 20b0421010863d6c2644bbc89cf027f90834784d | [
"BSD-3-Clause"
] | 6 | 2015-09-28T01:36:32.000Z | 2021-12-19T15:44:21.000Z | antlr4cpp/antlr/v4/runtime/atn/atn_deserialization_options.hpp | seanwallawalla-forks/antlr4-cpp | 20b0421010863d6c2644bbc89cf027f90834784d | [
"BSD-3-Clause"
] | 48 | 2015-05-13T17:53:20.000Z | 2022-03-12T01:09:43.000Z | // Copyright (c) Terence Parr, Sam Harwell. Licensed under the BSD license. See LICENSE in the project root for license information.
#pragma once
namespace antlr4 {
namespace atn {
class atn_deserialization_options
{
private:
bool _verify_atn;
bool _generate_rule_bypass_transitions;
bool _optimize;
public:... | 16.548387 | 132 | 0.723197 |
874a93e2740f88e032e58966aec3c19b0988122e | 969 | html | HTML | manuscript/page-750/body.html | marvindanig/broken-to-harness | 67aaa4734392557da1916eec71bbf4d3bf34adaa | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-750/body.html | marvindanig/broken-to-harness | 67aaa4734392557da1916eec71bbf4d3bf34adaa | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | manuscript/page-750/body.html | marvindanig/broken-to-harness | 67aaa4734392557da1916eec71bbf4d3bf34adaa | [
"BlueOak-1.0.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | <div class="leaf flex"><div class="inner justify"><p class="no-indent ">and as he spoke he struck the palm of his hand with the handle of his hunting-whip in an unmistakably vicious manner. "Dunno waät's coom to her to-day," he continued, after a pause; "haven't set eyes on her all the morning. Hasn't been in t'yard, ... | 969 | 969 | 0.731682 |
56c020ff3ab56bbcb26c120a3fa1e72c90a84263 | 337 | tsx | TypeScript | src/index.tsx | zsajjad/react-native-mathematics | a60cb4b62d5e06a4506fc2877344371b5243da9e | [
"MIT"
] | 1 | 2021-08-12T16:19:52.000Z | 2021-08-12T16:19:52.000Z | src/index.tsx | zsajjad/react-native-mathematics | a60cb4b62d5e06a4506fc2877344371b5243da9e | [
"MIT"
] | null | null | null | src/index.tsx | zsajjad/react-native-mathematics | a60cb4b62d5e06a4506fc2877344371b5243da9e | [
"MIT"
] | null | null | null | import { NativeModules } from 'react-native';
type MathematicsType = {
calculate(
formulae: Record<
string,
{
formula: string;
values: Record<string, number>;
}
>
): Promise<Record<string, number>>;
};
const { Mathematics } = NativeModules;
export default Mathematics as ... | 18.722222 | 46 | 0.635015 |
802b4c22cb497eaaf3c92671a8f6e2532b8b28e9 | 3,933 | swift | Swift | Sources/TuistEnvKit/Installer/Installer.swift | ryantstone/tuist | 057d96fe54be7428729e6da3ade76f827d4f5353 | [
"MIT"
] | 1 | 2021-09-17T12:50:04.000Z | 2021-09-17T12:50:04.000Z | Sources/TuistEnvKit/Installer/Installer.swift | ryantstone/tuist | 057d96fe54be7428729e6da3ade76f827d4f5353 | [
"MIT"
] | null | null | null | Sources/TuistEnvKit/Installer/Installer.swift | ryantstone/tuist | 057d96fe54be7428729e6da3ade76f827d4f5353 | [
"MIT"
] | null | null | null | import Foundation
import RxBlocking
import TSCBasic
import TuistSupport
/// Protocol that defines the interface of an instance that can install versions of Tuist.
protocol Installing: AnyObject {
/// It installs a version of Tuist in the local environment.
///
/// - Parameters:
/// - version: Version... | 36.082569 | 135 | 0.661836 |
b9a1087f08210527cc768d92ba440fea0eaf4ce6 | 471 | swift | Swift | Cards/Sources/Cards/Model/Suit.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | 2 | 2022-01-30T05:45:01.000Z | 2022-02-03T08:12:30.000Z | Cards/Sources/Cards/Model/Suit.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | null | null | null | Cards/Sources/Cards/Model/Suit.swift | Oliver-Binns/cards | 9c44c048f43122778395f5e75426215aad934bd2 | [
"MIT"
] | null | null | null | public enum Suit: String, CaseIterable, Equatable, Codable {
case spades
case clubs
case diamonds
case hearts
}
extension Suit: Comparable {
public static func < (lhs: Suit, rhs: Suit) -> Bool {
lhs.compareValue < rhs.compareValue
}
private var compareValue: Int {
switch... | 22.428571 | 60 | 0.59448 |
75fd29b46bfb44d8145f91e425ec4085d1f336dd | 2,301 | java | Java | app/src/main/java/com/lfork/a98620/lfree/main/myinfo/MyInfoFragmentViewModel.java | dongzhixuanyuan/E_business | 3ec52bf65d6dfc6d902d0d98d1f9e84b41d9c893 | [
"Apache-2.0"
] | 16 | 2019-05-22T08:24:25.000Z | 2022-03-13T15:22:14.000Z | app/src/main/java/com/lfork/a98620/lfree/main/myinfo/MyInfoFragmentViewModel.java | dongzhixuanyuan/E_business | 3ec52bf65d6dfc6d902d0d98d1f9e84b41d9c893 | [
"Apache-2.0"
] | 3 | 2018-04-23T11:59:15.000Z | 2018-06-18T05:16:53.000Z | app/src/main/java/com/lfork/a98620/lfree/main/myinfo/MyInfoFragmentViewModel.java | dongzhixuanyuan/E_business | 3ec52bf65d6dfc6d902d0d98d1f9e84b41d9c893 | [
"Apache-2.0"
] | 4 | 2019-02-25T04:02:36.000Z | 2020-01-08T02:53:22.000Z | package com.lfork.a98620.lfree.main.myinfo;
import android.text.TextUtils;
import com.lfork.a98620.lfree.base.viewmodel.UserViewModel;
import com.lfork.a98620.lfree.data.DataSource;
import com.lfork.a98620.lfree.data.base.entity.User;
import com.lfork.a98620.lfree.data.user.UserDataRepository;
import com.lfork.a98620... | 23.721649 | 76 | 0.613646 |
b30218f0f4ed80498f2dd1ba328298092342b2c4 | 2,924 | swift | Swift | Sources/ModelsSTU3/CodeSystemUsageContextType.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 117 | 2020-06-26T17:12:32.000Z | 2022-03-20T18:34:05.000Z | Sources/ModelsSTU3/CodeSystemUsageContextType.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 14 | 2020-06-30T14:55:50.000Z | 2022-03-18T20:30:19.000Z | Sources/ModelsSTU3/CodeSystemUsageContextType.swift | GrandLarseny/FHIRModels | d4acbcf08376af10d20c1df808e6f943d2033912 | [
"Apache-2.0"
] | 24 | 2020-08-19T15:48:58.000Z | 2022-03-26T11:20:14.000Z | //
// CodeSystems.swift
// HealthRecords
//
// Generated from FHIR 3.0.1.11917
// Copyright 2020 Apple 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.apac... | 45.6875 | 116 | 0.74487 |
4d223d945b8587b2555bdf03eb603d148a8f0b21 | 3,526 | lua | Lua | resources/[FAROESTE]/[SYSTEM]/frp_jail/server/main.lua | redharlow2614/frp-lua-rdr3 | 29c8595dd55a318576f970ef34d234e6c7645c84 | [
"MIT"
] | null | null | null | resources/[FAROESTE]/[SYSTEM]/frp_jail/server/main.lua | redharlow2614/frp-lua-rdr3 | 29c8595dd55a318576f970ef34d234e6c7645c84 | [
"MIT"
] | null | null | null | resources/[FAROESTE]/[SYSTEM]/frp_jail/server/main.lua | redharlow2614/frp-lua-rdr3 | 29c8595dd55a318576f970ef34d234e6c7645c84 | [
"MIT"
] | 1 | 2021-12-15T03:30:41.000Z | 2021-12-15T03:30:41.000Z | local Tunnel = module("_core", "lib/Tunnel")
local Proxy = module("_core", "lib/Proxy")
API = Proxy.getInterface("API")
cAPI = Tunnel.getInterface("API")
RegisterCommand(
"jail",
function(source, args, rawCommand)
local User = API.getUserFromSource(source)
local Character = User:getCharacter()
if ... | 27.984127 | 138 | 0.719229 |
f29930c3e233c4169f21418d395708311b1d293d | 4,932 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_816.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_816.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_816.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rbx
push %rdx
push %rsi
lea addresses_normal_ht+0x13777, %rsi
nop
and $62283, %rbx
mov $0x6162636465666768, %r11
movq %r11, %xmm3
vmovups %ymm3, (%rsi)
nop
xor %r8, %r8
lea addresses_normal_ht+0x14eb7, %r9
add $52504, %rdx
movups (... | 44.035714 | 2,999 | 0.660787 |
c54099e5eb58a54c80c6a3246ed2d1f88ce26b2c | 1,546 | cpp | C++ | example/private-claims.cpp | mind-owner/jwt-cpp | 9d1a010fea3ed3293112edec9745dc435a85a849 | [
"MIT"
] | null | null | null | example/private-claims.cpp | mind-owner/jwt-cpp | 9d1a010fea3ed3293112edec9745dc435a85a849 | [
"MIT"
] | 7 | 2020-12-24T01:55:59.000Z | 2022-01-30T05:59:42.000Z | example/private-claims.cpp | mind-owner/jwt-cpp | 9d1a010fea3ed3293112edec9745dc435a85a849 | [
"MIT"
] | 1 | 2020-02-16T12:53:10.000Z | 2020-02-16T12:53:10.000Z | #include <jwt-cpp/jwt.h>
#include <iostream>
#include <sstream>
using sec = std::chrono::seconds;
using min = std::chrono::minutes;
int main() {
jwt::claim from_raw_json;
std::istringstream iss{R"##({"api":{"array":[1,2,3],"null":null}})##"};
iss >> from_raw_json;
jwt::claim::set_t list{"once", "twice"};
std::... | 32.893617 | 97 | 0.651358 |
5057864bc5d42882a5ba3c6a527b252b33fd550e | 277 | html | HTML | test.html | MujurID/smanega | da0293b256ac3dac74e7adadbbd416ca03697116 | [
"CC-BY-3.0"
] | null | null | null | test.html | MujurID/smanega | da0293b256ac3dac74e7adadbbd416ca03697116 | [
"CC-BY-3.0"
] | null | null | null | test.html | MujurID/smanega | da0293b256ac3dac74e7adadbbd416ca03697116 | [
"CC-BY-3.0"
] | null | null | null | <div data-video="wF57YRbxzlU"
data-autoplay="1"
data-loop="1"
id="youtube-audio">
</div>
<script src="https://www.youtube.com/iframe_api"></script>
<script src="https://cdn.rawgit.com/labnol/files/master/yt.js"></script> | 39.571429 | 74 | 0.570397 |
bc846973cd7c377b352945b638505c5218fedcdd | 4,176 | sql | SQL | backend/de.metas.handlingunits.base/src/main/sql/postgresql/system/5462431_cli_gh1502_DropM_HU_PI_Item_Product_For_NoHU_Fixed_2.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.handlingunits.base/src/main/sql/postgresql/system/5462431_cli_gh1502_DropM_HU_PI_Item_Product_For_NoHU_Fixed_2.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.handlingunits.base/src/main/sql/postgresql/system/5462431_cli_gh1502_DropM_HU_PI_Item_Product_For_NoHU_Fixed_2.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | drop table if exists PIP_ToDelete;
create temporary table PIP_ToDelete as
select *
from M_HU_PI_Item_Product pip
where exists (select * from M_HU_PI_Item i where i.M_HU_PI_Item_ID=pip.M_HU_PI_Item_ID and i.M_HU_PI_Version_ID=100);
UPDATE M_ProductPrice SET M_HU_PI_Item_Product_ID = 101 WHERE M_HU_PI_Item_Product_ID ... | 90.782609 | 167 | 0.869971 |
cc386fc35ded5775612395713ac395545eeff783 | 481 | swift | Swift | WooKeyWallet/Extension/NSMutableString + Ext.swift | WookeyWallet/wookey-wallet-ios-app | e78c1f722ec36f0e0b8dc14977bcebbf2babf753 | [
"MIT"
] | 10 | 2019-04-15T09:40:08.000Z | 2019-05-24T08:13:48.000Z | WooKeyWallet/Extension/NSMutableString + Ext.swift | WookeyWallet/wookey-wallet-ios-app | e78c1f722ec36f0e0b8dc14977bcebbf2babf753 | [
"MIT"
] | 3 | 2020-01-22T02:57:58.000Z | 2022-03-30T14:38:30.000Z | WooKeyWallet/Extension/NSMutableString + Ext.swift | WookeyWallet/wookey-wallet-ios-app | e78c1f722ec36f0e0b8dc14977bcebbf2babf753 | [
"MIT"
] | 8 | 2019-09-16T23:40:03.000Z | 2022-01-24T14:33:52.000Z | //
// NSMutableString + Ext.swift
import UIKit
extension NSMutableAttributedString {
func add(_ text: String, color: UIColor? = nil, font: UIFont? = nil) {
var attributes: [NSAttributedString.Key: Any] = [:]
if let color = color {
attributes[.foregroundColor] = color
}
... | 25.315789 | 82 | 0.600832 |
a50c5e40f0b73a3590736a963d2041c1ffe46f96 | 501 | lua | Lua | foundation_kdl/kdl.lua | IceDragon200/mt-foundation | 970baf8460137f0949cc84cc3a87a00b90de3ad6 | [
"Apache-2.0"
] | null | null | null | foundation_kdl/kdl.lua | IceDragon200/mt-foundation | 970baf8460137f0949cc84cc3a87a00b90de3ad6 | [
"Apache-2.0"
] | null | null | null | foundation_kdl/kdl.lua | IceDragon200/mt-foundation | 970baf8460137f0949cc84cc3a87a00b90de3ad6 | [
"Apache-2.0"
] | null | null | null | local mod = foundation_kdl
-- @namespace foundation.com.KDL
local KDL = {}
foundation_kdl.KDL = KDL
mod:require("kdl/node.lua")
mod:require("kdl/lexer.lua")
-- @spec tokenize(String): (true, Table) | (false, Table, String)
KDL.tokenize = KDL.Lexer.tokenize
mod:require("kdl/decoder.lua")
-- @spec decode(String): (Bo... | 22.772727 | 65 | 0.716567 |
24b01ffaab57fcba1157cebd84be6f8448ba5d57 | 28,679 | swift | Swift | martkurly/martkurly/Utils/KurlyService.swift | KasRoid/martkurly-ios | d4c3cc6b4503f8b6756b51ceb21f9dfaffe679ec | [
"MIT"
] | 4 | 2020-09-22T06:37:08.000Z | 2020-10-11T19:59:01.000Z | martkurly/martkurly/Utils/KurlyService.swift | KasRoid/martkurly-ios | d4c3cc6b4503f8b6756b51ceb21f9dfaffe679ec | [
"MIT"
] | 28 | 2020-08-19T17:17:32.000Z | 2020-10-11T19:51:40.000Z | martkurly/martkurly/Utils/KurlyService.swift | KasRoid/martkurly-ios | d4c3cc6b4503f8b6756b51ceb21f9dfaffe679ec | [
"MIT"
] | 5 | 2020-08-17T06:16:35.000Z | 2020-10-11T20:03:37.000Z | //
// CurlyService.swift
// martkurly
//
// Created by 천지운 on 2020/09/08.
// Copyright © 2020 Team3x3. All rights reserved.
//
import Alamofire
import Foundation
struct KurlyService {
static let shared = KurlyService()
private init() { }
private let decoder = JSONDecoder()
// MARK: - [추천] 데이터 상품... | 38.18775 | 176 | 0.569127 |
4c0f39e084625e7f7b81029a3b47a931724819ea | 3,289 | php | PHP | haidao/haidao_install/system/module/goods/model/table/goods_spu_table.class.php | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | 3 | 2016-07-25T03:47:06.000Z | 2019-11-18T08:42:00.000Z | haidao/haidao_install/system/module/goods/model/table/goods_spu_table.class.php | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | null | null | null | haidao/haidao_install/system/module/goods/model/table/goods_spu_table.class.php | gavin2lee/incubator-gl | c95623af811195c3e89513ec30e52862d6562add | [
"Apache-2.0"
] | 2 | 2019-11-18T08:41:53.000Z | 2020-09-11T08:53:18.000Z | <?php
/**
* 商品数据层
* [Haidao] (C)2013-2099 Dmibox Science and technology co., LTD.
* This is NOT a freeware, use is subject to license terms
*
* http://www.haidao.la
* tel:400-600-2042
*/
class goods_spu_table extends table {
protected $result = array();
protected $_valid... | 39.626506 | 179 | 0.5564 |
abb73b2ec9529ed704405224cd89fe0884c38ae6 | 217 | swift | Swift | Example/Player Example/UIView+DMAdditions.swift | snibblecorp/dailymotion-swift-player-sdk-ios | 492aa073de4c54d8f0a5803df76e6cfb135fa87c | [
"MIT"
] | 30 | 2017-01-09T17:42:05.000Z | 2021-05-20T12:18:49.000Z | Example/Player Example/UIView+DMAdditions.swift | snibblecorp/dailymotion-swift-player-sdk-ios | 492aa073de4c54d8f0a5803df76e6cfb135fa87c | [
"MIT"
] | 45 | 2017-01-16T04:00:17.000Z | 2022-01-26T15:41:59.000Z | Example/Player Example/UIView+DMAdditions.swift | snibblecorp/dailymotion-swift-player-sdk-ios | 492aa073de4c54d8f0a5803df76e6cfb135fa87c | [
"MIT"
] | 18 | 2017-02-08T13:40:24.000Z | 2022-01-31T17:21:52.000Z | //
// Copyright © 2017 Dailymotion. All rights reserved.
//
import UIKit
extension UIView {
func usesAutolayout(_ usesAutolayout: Bool) {
translatesAutoresizingMaskIntoConstraints = !usesAutolayout
}
}
| 15.5 | 63 | 0.732719 |
67bc348083b41e2f9f445d3808fe79905b24efde | 422 | dart | Dart | lib/screens/second.dart | dorontal/split_view_named_routes | 5fa3ca9eb9b22fa2bbd5b104b22ee4a5ce7f2c3f | [
"MIT"
] | null | null | null | lib/screens/second.dart | dorontal/split_view_named_routes | 5fa3ca9eb9b22fa2bbd5b104b22ee4a5ce7f2c3f | [
"MIT"
] | null | null | null | lib/screens/second.dart | dorontal/split_view_named_routes | 5fa3ca9eb9b22fa2bbd5b104b22ee4a5ce7f2c3f | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import '../widgets/split_view_scaffold.dart';
class Second extends StatelessWidget {
const Second({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return SplitViewScaffold(
title: 'Second Page',
body: Center(
chil... | 24.823529 | 80 | 0.64218 |
04f42b5831fa0f6c02f15591244e3b9e8ffe1fe0 | 1,506 | java | Java | mockserver-core/src/main/java/org/mockserver/model/XmlBody.java | micst96/mockserver | 99df09db2dd2c7fe73dd1d7678ed483c53195fb9 | [
"Apache-2.0"
] | null | null | null | mockserver-core/src/main/java/org/mockserver/model/XmlBody.java | micst96/mockserver | 99df09db2dd2c7fe73dd1d7678ed483c53195fb9 | [
"Apache-2.0"
] | null | null | null | mockserver-core/src/main/java/org/mockserver/model/XmlBody.java | micst96/mockserver | 99df09db2dd2c7fe73dd1d7678ed483c53195fb9 | [
"Apache-2.0"
] | null | null | null | package org.mockserver.model;
import java.nio.charset.Charset;
import static org.mockserver.mappers.ContentTypeMapper.DEFAULT_HTTP_CHARACTER_SET;
/**
* @author jamesdbloom
*/
public class XmlBody extends BodyWithContentType<String> {
public static final MediaType DEFAULT_CONTENT_TYPE = MediaType.create("appli... | 25.1 | 110 | 0.65073 |
8a0241d9d560a2c576c3e6d54f55e6325b5b582c | 9,214 | rs | Rust | crates/rplugin_macros/src/lib.rs | maxxcs/swc | a2a0b63c6297de039a5703a549eae62ae20b48c8 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-12-02T03:27:41.000Z | 2021-12-02T07:44:13.000Z | crates/rplugin_macros/src/lib.rs | maxxcs/swc | a2a0b63c6297de039a5703a549eae62ae20b48c8 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-22T01:58:45.000Z | 2021-11-22T01:58:45.000Z | crates/rplugin_macros/src/lib.rs | maxxcs/swc | a2a0b63c6297de039a5703a549eae62ae20b48c8 | [
"Apache-2.0",
"MIT"
] | null | null | null | extern crate proc_macro;
use pmutil::{q, ToTokensExt};
use swc_macros_common::{
call_site,
prelude::{BindedField, VariantBinder},
};
use syn::{
parse, punctuated::Punctuated, Arm, Attribute, Expr, ExprMatch, ExprStruct, Field, FieldValue,
Fields, Index, Item, ItemEnum, ItemImpl, ItemMod, ItemStruct, Me... | 26.707246 | 98 | 0.47634 |
cb6be69d05de599f4fcab4f1c555a9be1df4a6ab | 93,219 | html | HTML | docs/ml-cfa-parameter-anova-relative-bias.html | noah-padgett/mcfa-para-est | dd5f179a974fc9c13459cfea3de391d356b5e257 | [
"MIT"
] | null | null | null | docs/ml-cfa-parameter-anova-relative-bias.html | noah-padgett/mcfa-para-est | dd5f179a974fc9c13459cfea3de391d356b5e257 | [
"MIT"
] | null | null | null | docs/ml-cfa-parameter-anova-relative-bias.html | noah-padgett/mcfa-para-est | dd5f179a974fc9c13459cfea3de391d356b5e257 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="date" content="2020-06-01" />
<title>Design Effects on Relative Bias of Parameter Estimates</title>
<script src="site_libs/jquery-1.11.3/jquery.mi... | 37.242909 | 696 | 0.635428 |
7f172dd2460cc42c7b1775560ef4ffbc68f781ce | 119 | kt | Kotlin | postgresql-async/src/main/java/com/github/jasync/sql/db/postgresql/messages/backend/AuthenticationOkMessage.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | 1,366 | 2018-08-23T20:04:52.000Z | 2022-03-29T13:00:03.000Z | postgresql-async/src/main/java/com/github/jasync/sql/db/postgresql/messages/backend/AuthenticationOkMessage.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | 238 | 2018-09-04T18:13:05.000Z | 2022-03-29T15:47:10.000Z | postgresql-async/src/main/java/com/github/jasync/sql/db/postgresql/messages/backend/AuthenticationOkMessage.kt | andy-yx-chen/jasync-sql | 1936057a0f12845814cd801eadaa578c2b9528e2 | [
"Apache-2.0"
] | 124 | 2018-08-27T08:28:32.000Z | 2022-03-06T14:01:17.000Z | package com.github.jasync.sql.db.postgresql.messages.backend
object AuthenticationOkMessage : AuthenticationMessage()
| 29.75 | 60 | 0.857143 |
acef2ab87a2c24f22998fce44cffc4170731046f | 459 | cpp | C++ | C_C++_problems/Strings/swap_case.cpp | santoshgawande/DS-Algorithms | eb1de229fd3336d862bd4787295f208a4424d0bb | [
"Apache-2.0"
] | null | null | null | C_C++_problems/Strings/swap_case.cpp | santoshgawande/DS-Algorithms | eb1de229fd3336d862bd4787295f208a4424d0bb | [
"Apache-2.0"
] | null | null | null | C_C++_problems/Strings/swap_case.cpp | santoshgawande/DS-Algorithms | eb1de229fd3336d862bd4787295f208a4424d0bb | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
char st[] = "WelCome";
int n = sizeof(st)/sizeof(st[0]);
cout<<n<<endl;
for(int i=0;st[i]!='\0';i++){
if(st[i]>=97 && st[i] <= 122){
// if char is small then convert into capital letter
st[i] = st[i]-32;
}... | 21.857143 | 64 | 0.477124 |
74f5aab8b3b04c187f0aad4dfaf2baa86028d8d7 | 776 | ps1 | PowerShell | tools/extract_key.ps1 | esbullington/cct | 1a89d346c76236a9710177a208730584ecb65c02 | [
"MIT"
] | null | null | null | tools/extract_key.ps1 | esbullington/cct | 1a89d346c76236a9710177a208730584ecb65c02 | [
"MIT"
] | null | null | null | tools/extract_key.ps1 | esbullington/cct | 1a89d346c76236a9710177a208730584ecb65c02 | [
"MIT"
] | null | null | null |
$jsonObject = Get-Content $args[0] | Out-String | ConvertFrom-Json
$toolsPath = Join-Path -Path $pwd -ChildPath 'tools'
$tempfile = Join-Path -Path $toolsPath -ChildPath "temp_rsa_key.pem"
Set-Content -Path $tempfile -Value $jsonObject.private_key.Trim()
$pythonFile = Join-Path -Path $toolsPath -ChildPath "extract... | 33.73913 | 103 | 0.753866 |
74dcdb3a0980929122a7fb178e74c7d40d67ad57 | 399 | js | JavaScript | index.js | gregmortaud/reportParser | 37018d3c16901d2b7d663aa5ab3a12ac5dcb04e2 | [
"MIT"
] | null | null | null | index.js | gregmortaud/reportParser | 37018d3c16901d2b7d663aa5ab3a12ac5dcb04e2 | [
"MIT"
] | null | null | null | index.js | gregmortaud/reportParser | 37018d3c16901d2b7d663aa5ab3a12ac5dcb04e2 | [
"MIT"
] | null | null | null | const ReportParser = require('./reportParser');
const report_parser = new ReportParser();
const parser_config = {
'working_dir': __dirname,
'remove_after_parse' : false,
'filename' : 'qa.report',
'target_field': 'report_status'
};
report_parser.parse(parser_config, (err, parsed_value) => {
console... | 26.6 | 59 | 0.681704 |
19c3f06d67ca4a75e68c37cdb6d7648a438fc58c | 67 | sql | SQL | tests/sql/select_query3.sql | openx/ox-bqpipeline | e850edce125c234ebf2b2e4199a55c6c6d97d16d | [
"Apache-2.0"
] | 1 | 2019-07-25T13:08:15.000Z | 2019-07-25T13:08:15.000Z | tests/sql/select_query3.sql | openx/ox-bqpipeline | e850edce125c234ebf2b2e4199a55c6c6d97d16d | [
"Apache-2.0"
] | 6 | 2019-06-27T22:29:26.000Z | 2019-08-07T22:54:58.000Z | tests/sql/select_query3.sql | openx/ox-bqpipeline | e850edce125c234ebf2b2e4199a55c6c6d97d16d | [
"Apache-2.0"
] | 1 | 2019-06-28T23:41:35.000Z | 2019-06-28T23:41:35.000Z | WITH test AS (
SELECT 1 AS a, 'one' as b
)
SELECT
*
FROM
test
| 8.375 | 26 | 0.597015 |
7b13dc18568ee2465b4ce74053621c3bc7036134 | 285 | lua | Lua | ID.lua | rointep/mtalibs | 334a8972355ab055a1b51979bbb9226883c554c8 | [
"MIT"
] | null | null | null | ID.lua | rointep/mtalibs | 334a8972355ab055a1b51979bbb9226883c554c8 | [
"MIT"
] | null | null | null | ID.lua | rointep/mtalibs | 334a8972355ab055a1b51979bbb9226883c554c8 | [
"MIT"
] | null | null | null |
ID = {}
ID.instances = {}
function ID.CreateFactory()
local o = {
_id_ = 0
}
setmetatable(o, { __index = ID })
table.insert(ID.instances, o)
return o
end
function ID:Obtain()
local id = self._id_
self._id_ = id + 1
return id
end
function ID:Reset()
self._id_ = 0
end
| 10.961538 | 34 | 0.638596 |
3e1e1165fea53720c4316158c55521dad94643ae | 998 | h | C | src/1.0/ucci.h | DinoMax00/AlphaCat | 2269c2d7453a8827b152a6fcfd7b976d8514a70a | [
"MIT"
] | 4 | 2021-06-07T05:57:42.000Z | 2022-01-01T10:52:47.000Z | src/1.0/ucci.h | DinoMax00/AlphaCat | 2269c2d7453a8827b152a6fcfd7b976d8514a70a | [
"MIT"
] | 1 | 2021-06-07T05:58:25.000Z | 2021-06-07T06:00:11.000Z | src/1.0/ucci.h | DinoMax00/AlphaCat | 2269c2d7453a8827b152a6fcfd7b976d8514a70a | [
"MIT"
] | 1 | 2021-07-23T01:36:05.000Z | 2021-07-23T01:36:05.000Z | /*****************************************************************//**
* \file ucci.h
* \brief ucci协议头文件
*
* \author AlphaCat
* \date March 2021
*********************************************************************/
#ifndef UCCI_H
#define UCCI_H
#include <iostream>
#include <string.h>
#include <vector>
#... | 14.676471 | 71 | 0.443888 |