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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
da797e037e68820838a37acf2b6c54b13bbad83e | 808 | php | PHP | src/Entry/IteratorEntry.php | resumenext/container | f14aa08c0a60cc43ad1c6d5f3c0e403dce0e8c36 | [
"MIT"
] | null | null | null | src/Entry/IteratorEntry.php | resumenext/container | f14aa08c0a60cc43ad1c6d5f3c0e403dce0e8c36 | [
"MIT"
] | null | null | null | src/Entry/IteratorEntry.php | resumenext/container | f14aa08c0a60cc43ad1c6d5f3c0e403dce0e8c36 | [
"MIT"
] | null | null | null | <?php
namespace ResumeNext\Container\Entry;
use Interop\Container\ContainerInterface;
use Iterator;
use ResumeNext\Container\Exception\RuntimeException;
use ResumeNext\Container\ResolverInterface;
class IteratorEntry implements ResolverInterface {
/** @var \Iterator */
protected $iterator;
/**
* Constructor
... | 18.363636 | 57 | 0.685644 |
54a34eed4b78e087796361fa7f2a0f77cc49b9f6 | 2,846 | rb | Ruby | lib/spork.rb | zapnap/rdocinfo | 9fc012daee5c8be4686193373a0e732167dbc281 | [
"MIT"
] | 4 | 2016-05-09T12:29:50.000Z | 2019-06-15T17:04:20.000Z | lib/spork.rb | zapnap/rdocinfo | 9fc012daee5c8be4686193373a0e732167dbc281 | [
"MIT"
] | 2 | 2019-03-31T22:02:09.000Z | 2021-04-29T09:52:13.000Z | lib/spork.rb | zapnap/rdocinfo | 9fc012daee5c8be4686193373a0e732167dbc281 | [
"MIT"
] | 1 | 2016-07-24T16:28:26.000Z | 2016-07-24T16:28:26.000Z | # A way to cleanly handle process forking in Sinatra when using Passenger, aka "sporking some code".
# This will allow you to properly execute some code asynchronously, which otherwise does not work correctly.
#
# Written by Ron Evans
# More info at http://deadprogrammersociety.com
#
# Mostly lifted from the Spawn plug... | 34.707317 | 132 | 0.695362 |
6764ddf4697f2d5ff36ba3bd12bc675eb3c6a250 | 427 | sh | Shell | centos-ai/python-kaldiasr/doit.sh | gooofy/zamia-dist | bee79239ea0c56ef2d8c3ab2cb99821f0b19646e | [
"Apache-2.0"
] | 1 | 2020-05-11T19:24:19.000Z | 2020-05-11T19:24:19.000Z | centos-ai/python-kaldiasr/doit.sh | gooofy/zamia-dist | bee79239ea0c56ef2d8c3ab2cb99821f0b19646e | [
"Apache-2.0"
] | 2 | 2020-05-11T19:20:20.000Z | 2020-05-20T13:32:51.000Z | centos-ai/python-kaldiasr/doit.sh | gooofy/zamia-dist | bee79239ea0c56ef2d8c3ab2cb99821f0b19646e | [
"Apache-2.0"
] | 2 | 2019-01-18T10:56:51.000Z | 2021-05-22T05:28:45.000Z | #!/bin/sh
VERSION=0.5.2
rm -rf py-kaldi-asr-${VERSION} py-kaldi-asr-${VERSION}.tar.gz
pushd py-kaldi-asr
make clean README.md
popd
cp -r py-kaldi-asr py-kaldi-asr-${VERSION}
tar cfvz py-kaldi-asr-${VERSION}.tar.gz py-kaldi-asr-${VERSION}
rm -rf py-kaldi-asr-${VERSION}
rm -rf ~/rpmbuild
mkdir -p ~/rpmbuild/SOURCES... | 17.791667 | 63 | 0.700234 |
1aca5354b65e3b709fef9e104be7f5feeb2a1eb2 | 2,959 | py | Python | recordings/delete_recording.py | mickstevens/python3-twilio-sdkv6-examples | aac0403533b35fec4e8483de18d8fde2d783cfb2 | [
"MIT"
] | 1 | 2018-11-23T20:11:27.000Z | 2018-11-23T20:11:27.000Z | recordings/delete_recording.py | mickstevens/python3-twilio-sdkv6-examples | aac0403533b35fec4e8483de18d8fde2d783cfb2 | [
"MIT"
] | null | null | null | recordings/delete_recording.py | mickstevens/python3-twilio-sdkv6-examples | aac0403533b35fec4e8483de18d8fde2d783cfb2 | [
"MIT"
] | null | null | null | # *** Delete a Recording ***
# Code based on https://www.twilio.com/docs/voice/api/recording
# Download Python 3 from https://www.python.org/downloads/
# Download the Twilio helper library from https://www.twilio.com/docs/python/install
import os
from twilio.rest import Client
# from datetime import datetime | not requ... | 45.523077 | 109 | 0.707672 |
7a0759d1bb18fc2f697cbf6d44a31559ba1deb80 | 354 | dart | Dart | lib/yust_store.dart | janneskoehler/yust_web | f587b79206ca57de6157cee31ad39f5cf80a8510 | [
"BSD-3-Clause"
] | 1 | 2019-10-09T10:49:31.000Z | 2019-10-09T10:49:31.000Z | lib/yust_store.dart | janneskoehler/yust_web | f587b79206ca57de6157cee31ad39f5cf80a8510 | [
"BSD-3-Clause"
] | 1 | 2019-09-04T09:38:56.000Z | 2019-09-04T10:40:06.000Z | lib/yust_store.dart | janneskoehler/yust_web | f587b79206ca57de6157cee31ad39f5cf80a8510 | [
"BSD-3-Clause"
] | null | null | null | // import 'package:scoped_model/scoped_model.dart';
import 'models/yust_user.dart';
enum AuthState {
waiting,
signedIn,
signedOut,
}
// class YustStore extends Model { // not supported
class YustStore {
AuthState authState;
YustUser currUser;
void setState(void Function() f) {
f();
// notifyLi... | 16.857143 | 51 | 0.683616 |
ddd19690c741142fe003602779c7515b42efe079 | 470 | java | Java | 018_Object Class/Object.toStringMethod/src/main/java/com/hardik/javase/App.java | hardikhirapara91/java-se-core | 70612e511ca16f5b454ff78a789a07ba3c765656 | [
"MIT"
] | 1 | 2017-07-11T05:22:07.000Z | 2017-07-11T05:22:07.000Z | 018_Object Class/Object.toStringMethod/src/main/java/com/hardik/javase/App.java | hardikhirapara91/java-se-core | 70612e511ca16f5b454ff78a789a07ba3c765656 | [
"MIT"
] | null | null | null | 018_Object Class/Object.toStringMethod/src/main/java/com/hardik/javase/App.java | hardikhirapara91/java-se-core | 70612e511ca16f5b454ff78a789a07ba3c765656 | [
"MIT"
] | null | null | null | package com.hardik.javase;
import com.hardik.javase.model.User;
/**
* Real Use of Object.toString() Method
*
* @author HARDIK HIRAPARA
*/
public class App {
/**
* App Main method
*
* @param args
*/
public static void main(String[] args) {
User user = new User();
user.setUserId(101);
user.setUse... | 16.785714 | 70 | 0.655319 |
817d337a4d6c327cecf03069947d84714710fcdd | 4,310 | php | PHP | app/Http/Controllers/GiftCardController.php | sakibrahmancuet/ezpos | 5183f88e36f3f386a9c2f73f70e4ebde7cde5dac | [
"MIT"
] | null | null | null | app/Http/Controllers/GiftCardController.php | sakibrahmancuet/ezpos | 5183f88e36f3f386a9c2f73f70e4ebde7cde5dac | [
"MIT"
] | 3 | 2020-04-30T12:26:14.000Z | 2021-01-05T15:17:31.000Z | app/Http/Controllers/GiftCardController.php | sakibrahmancuet/ezpos | 5183f88e36f3f386a9c2f73f70e4ebde7cde5dac | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Enumaration\GiftCardStatus;
use App\Model\Customer;
use App\Model\GiftCard;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class GiftCardController extends Controller
{
public function GetGiftCardForm()
{
$customers = Customer::all();
... | 29.319728 | 107 | 0.5529 |
872b9af93450e6063a6621908f1291d4dbafb5cd | 244 | rb | Ruby | app.rb | jeffsdev/rubySinatra-scrabble | 8b07b265bf0f6355f29733001ad2398114a24c57 | [
"MIT"
] | null | null | null | app.rb | jeffsdev/rubySinatra-scrabble | 8b07b265bf0f6355f29733001ad2398114a24c57 | [
"MIT"
] | null | null | null | app.rb | jeffsdev/rubySinatra-scrabble | 8b07b265bf0f6355f29733001ad2398114a24c57 | [
"MIT"
] | null | null | null | require('sinatra')
require('sinatra/reloader')
require('./lib/scrabble.rb')
get('/') do
File.read(File.join('public', 'main.css'))
erb(:index)
end
get('/scrabble') do
@scrabble = params.fetch('scrabble').scrabble()
erb(:scrabble)
end
| 17.428571 | 49 | 0.668033 |
9e2a0ad141398e2e968ca2935b406e192eacee93 | 219 | cs | C# | src/modules/rover/rover.domain/Models/Coordinate.cs | samuele-cozzi/2021-MarsRover | ea6d9ae038baa0ed941a3cb06c4bb5117cbbb94c | [
"MIT"
] | null | null | null | src/modules/rover/rover.domain/Models/Coordinate.cs | samuele-cozzi/2021-MarsRover | ea6d9ae038baa0ed941a3cb06c4bb5117cbbb94c | [
"MIT"
] | 6 | 2021-11-24T22:41:16.000Z | 2021-12-14T00:29:58.000Z | src/modules/rover/rover.domain/Models/Coordinate.cs | samuele-cozzi/2021-marsrover | ea6d9ae038baa0ed941a3cb06c4bb5117cbbb94c | [
"MIT"
] | null | null | null | namespace rover.domain.Models
{
public class Coordinate
{
public double Latitude { get; set; }
public double Longitude { get; set; }
public double AngularPrecision { get; set; }
}
}
| 21.9 | 52 | 0.611872 |
fbb0c28cd9d3fd4b5ff30bf7a85d8e6006686c58 | 10,352 | h | C | driver/umd/include/kmd/armchina_aipu.h | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | driver/umd/include/kmd/armchina_aipu.h | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | driver/umd/include/kmd/armchina_aipu.h | dejsha01/armchina-zhouyi | 5de86bbdb5dc4184df4348d64cd152db0dbf9a96 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* Copyright (c) 2018-2021 Arm Technology (China) Co., Ltd. All rights reserved. */
#ifndef __UAPI_MISC_ARMCHINA_AIPU_H__
#define __UAPI_MISC_ARMCHINA_AIPU_H__
#include <linux/types.h>
#include <linux/ioctl.h>
/*
* In the following member descriptions,
... | 30.994012 | 99 | 0.727685 |
433bf2f4edcffe01f9d587c95cef9a1e697e40da | 1,280 | ts | TypeScript | packages/runtime/container-runtime/src/test/summarizerHandle.spec.ts | jamesbond004/FluidFramework | cab1c1701e0c65c6cacc98f9341d72fbaf7da1c1 | [
"MIT"
] | 3,743 | 2020-09-08T19:18:12.000Z | 2022-03-31T15:09:22.000Z | packages/runtime/container-runtime/src/test/summarizerHandle.spec.ts | jamesbond004/FluidFramework | cab1c1701e0c65c6cacc98f9341d72fbaf7da1c1 | [
"MIT"
] | 4,337 | 2020-09-08T19:55:22.000Z | 2022-03-31T23:06:48.000Z | packages/runtime/container-runtime/src/test/summarizerHandle.spec.ts | FFHixio/FluidFramework | 183216acf0ddeec9d97e503c173e25104bbe1688 | [
"MIT"
] | 379 | 2020-09-08T19:48:36.000Z | 2022-03-31T19:52:50.000Z | /*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
import { strict as assert } from "assert";
import {
IFluidHandleContext,
IFluidHandle,
IFluidLoadable,
} from "@fluidframework/core-interfaces";
import { SummarizerHandle } from "../summa... | 29.090909 | 114 | 0.635156 |
38b12914cc3362e8251a1b9effc1a28d4c7e49eb | 14,675 | php | PHP | resources/views/Corporate/Setting/Function/customer_fee.blade.php | ngonmypro/CALLBACK | 0ead162223c98f94678ecf8a440a13e47c7b08b7 | [
"MIT"
] | null | null | null | resources/views/Corporate/Setting/Function/customer_fee.blade.php | ngonmypro/CALLBACK | 0ead162223c98f94678ecf8a440a13e47c7b08b7 | [
"MIT"
] | null | null | null | resources/views/Corporate/Setting/Function/customer_fee.blade.php | ngonmypro/CALLBACK | 0ead162223c98f94678ecf8a440a13e47c7b08b7 | [
"MIT"
] | null | null | null | {{-- Customer Fee Form --}}
<div id="" class="row mx-auto mb-4">
<div class="col-12 p-0">
<div class="card" style="border: none;">
<form id="customer_fee_form" action="{{ url('Corporate/Setting/CustomerFee') }}" method="POST" class="form">
{{-- {!! json_encode($data->customer_fee... | 51.132404 | 148 | 0.340716 |
b7fdee8ba4a123bb8f6d75080f9429935dc739c1 | 266 | cs | C# | src/FluentCineworld/Listings/GetDates/BodyDto.cs | lewishenson/FluentCineworld | aacf58a6120fb56d30616311bd1045e381a8f1c6 | [
"MIT"
] | null | null | null | src/FluentCineworld/Listings/GetDates/BodyDto.cs | lewishenson/FluentCineworld | aacf58a6120fb56d30616311bd1045e381a8f1c6 | [
"MIT"
] | 20 | 2015-03-20T23:24:29.000Z | 2022-02-21T23:47:46.000Z | src/FluentCineworld/Listings/GetDates/BodyDto.cs | lewishenson/FluentCineworld | aacf58a6120fb56d30616311bd1045e381a8f1c6 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace FluentCineworld.Listings.GetDates
{
internal class BodyDto
{
[JsonPropertyName("dates")]
public IEnumerable<DateTime> Dates { get; set; }
}
} | 22.166667 | 56 | 0.710526 |
836003bfd6218f65c834216c222fda266d2e67e7 | 4,545 | ts | TypeScript | packages/framework-debug-gui/src/app/views/http/request/http-request.component.ts | Rush/deepkit-framework | 60a50d64d553fa2adc316481e1cfeda8873771de | [
"MIT"
] | 467 | 2020-09-15T18:51:20.000Z | 2022-03-31T23:29:15.000Z | packages/framework-debug-gui/src/app/views/http/request/http-request.component.ts | Rush/deepkit-framework | 60a50d64d553fa2adc316481e1cfeda8873771de | [
"MIT"
] | 113 | 2020-09-14T21:03:36.000Z | 2022-03-31T20:02:05.000Z | packages/framework-debug-gui/src/app/views/http/request/http-request.component.ts | Rush/deepkit-framework | 60a50d64d553fa2adc316481e1cfeda8873771de | [
"MIT"
] | 32 | 2020-09-17T22:29:44.000Z | 2022-03-31T14:06:22.000Z | /*
* Deepkit Framework
* Copyright (C) 2021 Deepkit UG, Marc J. Schmidt
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the MIT License.
*
* You should have received a copy of the MIT License along with this program.
*/
import { ChangeDetectorRef, Component } fr... | 36.653226 | 146 | 0.546535 |
c67bdfd28fa559a2c1849bcda9c3209bd53a2a71 | 1,204 | py | Python | dero/pdf.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | null | null | null | dero/pdf.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | 3 | 2020-03-24T17:57:46.000Z | 2021-02-02T22:25:37.000Z | dero/pdf.py | whoopnip/dero | 62e081b341cc711ea8e1578e7c65b581eb74fa3f | [
"MIT"
] | null | null | null |
import os
from typing import Sequence, List
from pdfrw import PdfReader, PdfWriter
from PyPDF2 import PdfFileMerger
def strip_pages_pdf(indir, infile, outdir=None, outfile=None, numpages=1, keep=False):
'''
Deletes the first pages from a PDF. Omit outfile name to replace. Default is one page.
If option k... | 25.617021 | 90 | 0.640365 |
fa42ef4deac58b2d606dbbc6f317092b55bc10da | 689 | swift | Swift | JWTCodable/Extensions/Extensions.swift | knottx/JWTCodable | 37689181969a2df1abe642be41d5163e3a97fa8f | [
"MIT"
] | 2 | 2021-04-06T04:52:27.000Z | 2021-07-07T20:10:49.000Z | JWTCodable/Extensions/Extensions.swift | knottx/JWTCodable | 37689181969a2df1abe642be41d5163e3a97fa8f | [
"MIT"
] | null | null | null | JWTCodable/Extensions/Extensions.swift | knottx/JWTCodable | 37689181969a2df1abe642be41d5163e3a97fa8f | [
"MIT"
] | null | null | null | //
// JWTDecoderExtension.swift
// JWTDecoder
//
// Created by Visarut Tippun on 31/3/21.
// Copyright © 2021 knottx. All rights reserved.
//
import Foundation
extension Array {
func getElement(at index: Int) -> Element? {
let isValidIndex = index >= 0 && index < count
return isValidIndex ? se... | 23.758621 | 89 | 0.66328 |
1724464e5f13bc18b456e1d53729e4887682c41f | 653 | cpp | C++ | CourseContent/construct-destruct/Cat.cpp | ejrach/course-cplusplus | bc646ea3a2294d1d0b897d214845925fca848002 | [
"MIT"
] | null | null | null | CourseContent/construct-destruct/Cat.cpp | ejrach/course-cplusplus | bc646ea3a2294d1d0b897d214845925fca848002 | [
"MIT"
] | null | null | null | CourseContent/construct-destruct/Cat.cpp | ejrach/course-cplusplus | bc646ea3a2294d1d0b897d214845925fca848002 | [
"MIT"
] | null | null | null | //
// Cat.cpp
// construct-destruct
//
// Created by Eric on 7/9/19.
// Copyright © 2019 Eric. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include "Cat.h"
using namespace std;
//Defining the constructor --> ClassName::Constructor
Cat::Cat(){
cout << "Cat created" << endl;
happy =... | 18.657143 | 86 | 0.603369 |
4cd064bd8d8c6222c2b0e95b60ef666a49b368e3 | 3,295 | py | Python | server.py | joonahn/taxonomy-assign-frontend | d1e881892b77f7f05801b9674003e7f6872e5c80 | [
"MIT"
] | null | null | null | server.py | joonahn/taxonomy-assign-frontend | d1e881892b77f7f05801b9674003e7f6872e5c80 | [
"MIT"
] | null | null | null | server.py | joonahn/taxonomy-assign-frontend | d1e881892b77f7f05801b9674003e7f6872e5c80 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import os.path
import shutil
import json
from flask import current_app, request
BASE_DIR = os.path.dirname(__file__)
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
UPLOAD_DIRECTORY = os.path.join(MEDIA_ROOT, 'upload')
CHUNKS_DIRECTORY = os.path.join(MEDIA_ROOT, 'chunks')
# Utils
######... | 31.990291 | 110 | 0.654021 |
3ab4720712e6073dedbedb2ecc1b7c32bc6f819f | 6,144 | dart | Dart | lib/page/kasusDuniaPage.dart | jeprikarel/PantauCovid19 | 52b5635b13d5a0aca34abc5862454aeb07b741fa | [
"MIT"
] | null | null | null | lib/page/kasusDuniaPage.dart | jeprikarel/PantauCovid19 | 52b5635b13d5a0aca34abc5862454aeb07b741fa | [
"MIT"
] | null | null | null | lib/page/kasusDuniaPage.dart | jeprikarel/PantauCovid19 | 52b5635b13d5a0aca34abc5862454aeb07b741fa | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:pantaucovid19/components/customCard.dart';
import 'package:pantaucovid19/components/customDivider.dart';
import 'package:pantaucovid19/components/infoCard.dart';
import 'package:pantaucovid19/connection/pantauCovid19H... | 35.310345 | 188 | 0.477865 |
a108e812e1174b30becd404f2df63e704a440c81 | 2,107 | ts | TypeScript | test/objectSet.spec.ts | KoichiKiyokawa/minidash | d1c8a9f3699b5648fec3b201d9d557ec65995534 | [
"MIT"
] | 9 | 2021-05-07T19:47:24.000Z | 2022-02-16T13:45:08.000Z | test/objectSet.spec.ts | KoichiKiyokawa/minidash | d1c8a9f3699b5648fec3b201d9d557ec65995534 | [
"MIT"
] | 126 | 2021-04-30T01:23:39.000Z | 2022-03-31T18:44:26.000Z | test/objectSet.spec.ts | KoichiKiyokawa/rhodash | d1c8a9f3699b5648fec3b201d9d557ec65995534 | [
"MIT"
] | null | null | null | import { objectSet } from '../src/index'
describe('default use case', () => {
describe('assign to an empty object or array', () => {
it(`objectSet({}, 'a.b.c[0]', 1) is { a: { b: { c: [1] } } }`, () => {
expect(objectSet({}, 'a.b.c[0]', 1)).toEqual({ a: { b: { c: [1] } } })
})
it(`objectSet({}, 'a.... | 38.309091 | 90 | 0.407689 |
da2d45efbe08b6c6f2441474b27307a40ce8ce0b | 908 | php | PHP | src/Urbem/PatrimonialBundle/Controller/HomeController.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/PatrimonialBundle/Controller/HomeController.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/PatrimonialBundle/Controller/HomeController.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | 1 | 2020-01-29T20:35:57.000Z | 2020-01-29T20:35:57.000Z | <?php
namespace Urbem\PatrimonialBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Request;
use Urbem\CoreBundle\Controller\BaseController;
class HomeController extends BaseController
{
/**
* @param Request $request
* @return \Symfony\Co... | 26.705882 | 91 | 0.704846 |
321e7e621d0d0a90bb80b320355e4a9b0afab137 | 4,832 | rs | Rust | src/lib.rs | xarvic/panoramix | db65b4d9cc928baad25aa7bbb9a0a4b7926628ba | [
"MIT"
] | 17 | 2021-03-03T08:55:38.000Z | 2022-03-31T09:31:44.000Z | src/lib.rs | xarvic/panoramix | db65b4d9cc928baad25aa7bbb9a0a4b7926628ba | [
"MIT"
] | 2 | 2021-08-29T12:47:55.000Z | 2022-03-31T17:31:01.000Z | src/lib.rs | xarvic/panoramix | db65b4d9cc928baad25aa7bbb9a0a4b7926628ba | [
"MIT"
] | 2 | 2021-03-04T22:20:44.000Z | 2021-08-29T12:35:32.000Z | //! Panoramix is an experimental GUI framework for the Rust programming language.
//!
//! This framework is **data-driven and declarative**, drawing some inspiration from [React](https://github.com/facebook/react), and implemented on top of the [Druid](https://github.com/linebender/druid) toolkit.
//!
//! It aims to us... | 40.605042 | 379 | 0.679636 |
8c38e535d6fad063f6368a241d8136b1c064c4b7 | 8,988 | sql | SQL | eas .sql | cakecom/eas | c7800131d7669e2165ccfab84a564ba84649fe42 | [
"MIT"
] | null | null | null | eas .sql | cakecom/eas | c7800131d7669e2165ccfab84a564ba84649fe42 | [
"MIT"
] | 2 | 2021-02-02T20:36:46.000Z | 2022-02-19T04:55:12.000Z | eas .sql | cakecom/eas | c7800131d7669e2165ccfab84a564ba84649fe42 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jul 19, 2020 at 08:50 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.2
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 34.045455 | 166 | 0.699488 |
586b85f44ecc77f07d2e9b58cbe5c861039291df | 842 | css | CSS | frontend/modules/user/assets/css/editProfile.css | coodesoft/social.radioalbum | 8d83e506fcc825f66e5373bc61fad1f9c1997455 | [
"BSD-3-Clause"
] | null | null | null | frontend/modules/user/assets/css/editProfile.css | coodesoft/social.radioalbum | 8d83e506fcc825f66e5373bc61fad1f9c1997455 | [
"BSD-3-Clause"
] | null | null | null | frontend/modules/user/assets/css/editProfile.css | coodesoft/social.radioalbum | 8d83e506fcc825f66e5373bc61fad1f9c1997455 | [
"BSD-3-Clause"
] | null | null | null | #editProfile .tab-pane>div{float:none;margin:15px auto 0}#editProfile ul li.active>a{border-top:1px solid transparent}#editProfile ul li>a{color:#222020;padding:10px 22px}#editProfile ul li>a:hover{color:#bbffbb;background:#222020}#personalInfoPanel img{width:100%}#socialInfoPanel textarea{resize:vertical}#visibilityIn... | 842 | 842 | 0.82304 |
c506f85b934642c80a9a8da2e8963345e7fdff37 | 838 | css | CSS | style.css | tf2manu994/manmeetgill.com | 24d797306f1d1ab86e39124ebf46520df78e7fea | [
"MIT"
] | null | null | null | style.css | tf2manu994/manmeetgill.com | 24d797306f1d1ab86e39124ebf46520df78e7fea | [
"MIT"
] | null | null | null | style.css | tf2manu994/manmeetgill.com | 24d797306f1d1ab86e39124ebf46520df78e7fea | [
"MIT"
] | null | null | null | footer {
position: fixed;
bottom: 0;
width: 100%;
max-height: 50px;
color: #fff;
text-align: center;
background: rgba(0, 0, 0, 0.5);
z-index:9999
}
footer img {
opacity: 0.75
}
footer img:hover {
opacity: 1.0
}
footer a {
text-decoration: none
}
.navbar-right {
float: right;
justify-co... | 12.507463 | 33 | 0.610979 |
a12237dab25cd94ec27d16149be371e53fc14f9b | 1,366 | tsx | TypeScript | src/components/pinterest/pinterest-board.tsx | high1/solid-social | 8f88e277eb142ffb5e1c809217c2125571040c02 | [
"MIT"
] | 8 | 2021-12-25T13:16:49.000Z | 2022-03-14T15:04:03.000Z | src/components/pinterest/pinterest-board.tsx | high1/solid-social | 8f88e277eb142ffb5e1c809217c2125571040c02 | [
"MIT"
] | null | null | null | src/components/pinterest/pinterest-board.tsx | high1/solid-social | 8f88e277eb142ffb5e1c809217c2125571040c02 | [
"MIT"
] | 1 | 2022-02-09T09:38:45.000Z | 2022-02-09T09:38:45.000Z | import { JSX, mergeProps } from 'solid-js';
import { GeneralObserver } from 'components/general-observer';
import { handlePinterestBuild } from 'components/pinterest/utilities';
import { createTestId } from 'utilities';
export type PinterestBoardProperties = {
/** Pinterest link */
pinterestLink: string;
/** Wid... | 29.695652 | 86 | 0.642753 |
4bce00ddc28f957aff2df0e4347a3212fea03caa | 5,942 | ps1 | PowerShell | Public/d4c-registration.ps1 | mwilco03/psfalcon | f3702d492bb5dfe37ebca0210e72366d1fdea939 | [
"Unlicense"
] | null | null | null | Public/d4c-registration.ps1 | mwilco03/psfalcon | f3702d492bb5dfe37ebca0210e72366d1fdea939 | [
"Unlicense"
] | null | null | null | Public/d4c-registration.ps1 | mwilco03/psfalcon | f3702d492bb5dfe37ebca0210e72366d1fdea939 | [
"Unlicense"
] | null | null | null | function Get-FalconDiscoverAzureAccount {
[CmdletBinding(DefaultParameterSetName = '/cloud-connect-azure/entities/account/v1:get')]
param(
[Parameter(ParameterSetName = '/cloud-connect-azure/entities/account/v1:get', Mandatory = $true,
Position = 1)]
[ValidatePattern('^\w{8}-\w{4}-\w... | 37.1375 | 108 | 0.579266 |
e23ea09191611c776ca86add869974ab529717e1 | 921 | js | JavaScript | src/Routes.js | gastonpedraza08/frontend-challenge-storydots | a247baaf6787bf9aabff1fe809bd00d2e6b5dc62 | [
"MIT",
"Unlicense"
] | null | null | null | src/Routes.js | gastonpedraza08/frontend-challenge-storydots | a247baaf6787bf9aabff1fe809bd00d2e6b5dc62 | [
"MIT",
"Unlicense"
] | null | null | null | src/Routes.js | gastonpedraza08/frontend-challenge-storydots | a247baaf6787bf9aabff1fe809bd00d2e6b5dc62 | [
"MIT",
"Unlicense"
] | null | null | null | import React from 'react';
import {
BrowserRouter as Router,
Routes,
Route,
} from 'react-router-dom';
import Home from './pages/Home';
import Admin from './pages/Admin';
import EditProduct from './pages/EditProduct';
import AddProduct from './pages/AddProduct';
import Product from './pages/Product';
import Logi... | 29.709677 | 87 | 0.631922 |
ae5382875338f55e4c71b1207fe1ea4bc3c75710 | 4,385 | cs | C# | src/WebWeChat/Im/Actions/WebwxInitAction.cs | h0730303779/WebQQWeChat | cecfd5deb7843ad5a9b0546ae4f073b9a7cd5413 | [
"MIT"
] | 133 | 2016-11-01T06:18:45.000Z | 2022-02-20T05:28:39.000Z | src/WebWeChat/Im/Actions/WebwxInitAction.cs | h0730303779/WebQQWeChat | cecfd5deb7843ad5a9b0546ae4f073b9a7cd5413 | [
"MIT"
] | 11 | 2016-11-02T02:35:51.000Z | 2020-01-07T02:08:09.000Z | src/WebWeChat/Im/Actions/WebwxInitAction.cs | huoshan12345/WebQQWeChat | cecfd5deb7843ad5a9b0546ae4f073b9a7cd5413 | [
"MIT"
] | 75 | 2016-11-08T14:19:36.000Z | 2021-07-03T08:12:25.000Z | using System.ComponentModel;
using System.Threading.Tasks;
using FclEx.Extensions;
using HttpAction.Core;
using HttpAction.Event;
using Newtonsoft.Json.Linq;
using WebWeChat.Im.Core;
namespace WebWeChat.Im.Actions
{
/// <summary>
/// 微信初始化
/// 获取初始化信息(账号头像信息、聊天好友、阅读等)
/// </summary>
[Description("... | 36.239669 | 130 | 0.411174 |
74eb0dc81c59af8701024fa2dc6db479c3ee766a | 786 | swift | Swift | framework/FidzupCMPTests/VendorList/CMPFeatureTests.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | framework/FidzupCMPTests/VendorList/CMPFeatureTests.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | framework/FidzupCMPTests/VendorList/CMPFeatureTests.swift | Fidzup/fidzup-gdpr-cmp-ios | d2fc704daf56f37a3f9cf57ab2062463bbd0db15 | [
"CC-BY-3.0"
] | null | null | null | //
// CMPFeatureTests.swift
// FidzupCMPTests
//
// Created by Loïc GIRON DIT METAZ on 04/05/2018.
// Copyright © 2018 Smart AdServer.
//
// This software is distributed under the Creative Commons Legal Code, Attribution 3.0 Unported license.
// Check the LICENSE file for more information.
//
import XCTest
@test... | 29.111111 | 105 | 0.687023 |
2fe1221279ada81bc4cdeabd08c1041b7e58a591 | 891 | py | Python | scripts/build_tag.py | LaudateCorpus1/coremltools | 777a4460d6823e5e91dea4fa3eacb0b11c7d5dfc | [
"BSD-3-Clause"
] | 2,740 | 2017-10-03T23:19:01.000Z | 2022-03-30T15:16:39.000Z | scripts/build_tag.py | holzschu/coremltools | 5ece9069a1487d5083f00f56afe07832d88e3dfa | [
"BSD-3-Clause"
] | 1,057 | 2017-10-05T22:47:01.000Z | 2022-03-31T23:51:15.000Z | scripts/build_tag.py | holzschu/coremltools | 5ece9069a1487d5083f00f56afe07832d88e3dfa | [
"BSD-3-Clause"
] | 510 | 2017-10-04T19:22:28.000Z | 2022-03-31T12:16:52.000Z | #!/usr/bin/env python
#
# Copyright (c) 2021, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
# Construct a valid wheel build tag with ``git describe``.
#
# We do this with p... | 29.7 | 82 | 0.693603 |
2597616911de717dffc1ad4ca6988e35a68a7db3 | 2,039 | cs | C# | pioneer/js.pioneer.webapi/Services/Class/AuditTrialService.cs | bharathkumarms/pioneer | b52e73837667826d8ff6a555c521646e583b7217 | [
"Apache-2.0"
] | null | null | null | pioneer/js.pioneer.webapi/Services/Class/AuditTrialService.cs | bharathkumarms/pioneer | b52e73837667826d8ff6a555c521646e583b7217 | [
"Apache-2.0"
] | null | null | null | pioneer/js.pioneer.webapi/Services/Class/AuditTrialService.cs | bharathkumarms/pioneer | b52e73837667826d8ff6a555c521646e583b7217 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using js.pioneer.repository;
using js.pioneer.model;
using js.pioneer.utils;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.AspNetCore.Http;
namespace js.pioneer.webapi
{
public class AuditTrialS... | 29.985294 | 99 | 0.597352 |
2ca91b0aa9d3e42d8b32e86e3d6b0212f8923519 | 762 | py | Python | 03. DP/70. Climbing Stairs.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | 1 | 2021-01-22T15:58:32.000Z | 2021-01-22T15:58:32.000Z | 03. DP/70. Climbing Stairs.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | null | null | null | 03. DP/70. Climbing Stairs.py | KLumy/Basic-Algorithm | e52e4200c1955a9062569814ff3418dd06666845 | [
"MIT"
] | null | null | null | from functools import cache
from collections import defaultdict
class Solution:
# Top-Down
# def climbStairs(self, n: int):
# @cache
# def makeSteps(x: int):
# if x == 0:
# return 0
# if x == 1:
# return 1
# if x == 2:
# ... | 20.594595 | 56 | 0.464567 |
9c8c50c956a3238bb8c19435b706758f7666527e | 526 | lua | Lua | scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 6 | 2021-06-01T04:17:10.000Z | 2021-06-01T04:32:21.000Z | scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 5 | 2020-04-10T19:33:53.000Z | 2021-06-27T17:50:05.000Z | scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua | PaulAnthonyReitz/topaz | ffa3a785f86ffdb2f6a5baf9895b649e3e3de006 | [
"FTL"
] | 2 | 2020-04-11T16:56:14.000Z | 2021-06-26T12:21:12.000Z | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Yassi-Possi
-- Type: Item Deliverer
-- !pos 153.992 -0.001 -18.687 94
-----------------------------------
local ID = require("scripts/zones/Windurst_Waters_[S]/IDs")
-----------------------------------
function onTrade(player,npc,trade)
end
fun... | 22.869565 | 59 | 0.596958 |
bb5ef988e1062303a180c23be82038a6b3d63bc0 | 807 | cs | C# | RxFlow/Properties/AssemblyInfo.cs | ugaya40/RxFlow | 02783900f26a974909b03756fd05330a2bdb1b67 | [
"MIT"
] | 21 | 2015-02-26T12:53:51.000Z | 2021-04-27T10:52:06.000Z | RxFlow/Properties/AssemblyInfo.cs | ugaya40/RxFlow | 02783900f26a974909b03756fd05330a2bdb1b67 | [
"MIT"
] | null | null | null | RxFlow/Properties/AssemblyInfo.cs | ugaya40/RxFlow | 02783900f26a974909b03756fd05330a2bdb1b67 | [
"MIT"
] | 4 | 2016-05-18T14:11:25.000Z | 2022-01-22T13:38:17.000Z | using System.Reflection;
using System.Resources;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("RxFlow")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RxFlow")]
... | 26.9 | 77 | 0.71995 |
070301ce043d46046a9d30ad380b888c777d4aed | 4,878 | cc | C++ | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | null | null | null | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | 2 | 2021-05-11T16:29:38.000Z | 2022-01-22T12:28:49.000Z | cpp/data/ops/broadcast.cc | propaganda-gold/deeprev | 0c6ccf83131a879ed858acdb0675e75ebf2f2d3d | [
"BSD-3-Clause"
] | null | null | null | #include "data/ops/broadcast.h"
#include "data/globals.h"
#include "data/ops/resource.h"
#include "data/ops/time.h"
#include "util/cassandra_logging.h"
#include "util/includes.h"
#include "util/mongo_adapter.h"
#include "util/protos.h"
#include "util/re.h"
#include "util/uuid.h"
namespace vectorbook {
using Broadcas... | 29.563636 | 131 | 0.698852 |
15988351a665171339ad1a8a4778acd7c2303cef | 52 | rb | Ruby | app/graphql/types/enum/base.rb | KoolTurnip/kitsu-server | ee6b6ebad06ab9f5af01380c006bf7cec91f56c2 | [
"Apache-2.0"
] | null | null | null | app/graphql/types/enum/base.rb | KoolTurnip/kitsu-server | ee6b6ebad06ab9f5af01380c006bf7cec91f56c2 | [
"Apache-2.0"
] | null | null | null | app/graphql/types/enum/base.rb | KoolTurnip/kitsu-server | ee6b6ebad06ab9f5af01380c006bf7cec91f56c2 | [
"Apache-2.0"
] | null | null | null | class Types::Enum::Base < GraphQL::Schema::Enum
end
| 17.333333 | 47 | 0.730769 |
2c731f5e1e5ba092ea9a2847f22ec68719bf7455 | 1,723 | py | Python | vae.py | alanoMartins/vae_tf2 | b276e0a2cb855bb6b177889d8e7949dce5ccf402 | [
"Apache-2.0"
] | null | null | null | vae.py | alanoMartins/vae_tf2 | b276e0a2cb855bb6b177889d8e7949dce5ccf402 | [
"Apache-2.0"
] | null | null | null | vae.py | alanoMartins/vae_tf2 | b276e0a2cb855bb6b177889d8e7949dce5ccf402 | [
"Apache-2.0"
] | null | null | null | import tensorflow as tf
from tensorflow import keras
from net import encoder, decoder
class VAE(keras.Model):
def __init__(self, input_shape, latent_shape):
super(VAE, self).__init__()
self.latent_shape = latent_shape
self.encoder = encoder(input_shape, latent_shape)
self.decoder =... | 33.134615 | 81 | 0.655252 |
be9d4488e75d13a6bad52facae4a66a8f72cc4f2 | 1,864 | ts | TypeScript | src/logging/analytics.ts | NetanelBrauner/caspion | 9843129d46c87ba0c8d911fb95b6e85b8f916024 | [
"MIT"
] | 53 | 2021-06-27T19:13:26.000Z | 2022-03-17T21:23:54.000Z | src/logging/analytics.ts | NetanelBrauner/caspion | 9843129d46c87ba0c8d911fb95b6e85b8f916024 | [
"MIT"
] | 167 | 2019-06-30T15:12:01.000Z | 2021-04-28T12:22:09.000Z | src/logging/analytics.ts | NetanelBrauner/caspion | 9843129d46c87ba0c8d911fb95b6e85b8f916024 | [
"MIT"
] | 14 | 2020-04-29T10:46:48.000Z | 2021-05-04T15:28:42.000Z | import Analytics from 'analytics-node';
import { machineId } from 'node-machine-id';
import { BudgetTrackingEventEmitter, EventNames } from '@/backend/eventEmitters/EventEmitter';
const analytics = SEGMENT_WRITE_KEY ? new Analytics(SEGMENT_WRITE_KEY) : null;
type EventProperties = Record<string, string | number | boo... | 26.253521 | 94 | 0.728541 |
05bf9c6752c44e7ab5b60ca375c194113e706f0e | 650 | py | Python | Problems/Study Plans/Dynamic Programming/Dynamic Programming I/21_arithmetic_slices.py | andor2718/LeetCode | 59874f49085818e6da751f1cc26867b31079d35d | [
"BSD-3-Clause"
] | 1 | 2022-01-17T19:51:15.000Z | 2022-01-17T19:51:15.000Z | Problems/Study Plans/Dynamic Programming/Dynamic Programming I/21_arithmetic_slices.py | andor2718/LeetCode | 59874f49085818e6da751f1cc26867b31079d35d | [
"BSD-3-Clause"
] | null | null | null | Problems/Study Plans/Dynamic Programming/Dynamic Programming I/21_arithmetic_slices.py | andor2718/LeetCode | 59874f49085818e6da751f1cc26867b31079d35d | [
"BSD-3-Clause"
] | null | null | null | # https://leetcode.com/problems/arithmetic-slices/
class Solution:
def numberOfArithmeticSlices(self, nums: list[int]) -> int:
arithmetic_slices = 0
if len(nums) <= 2:
return arithmetic_slices
last_diff = nums[1] - nums[0]
last_increment = 0
for idx in range(2, l... | 36.111111 | 65 | 0.603077 |
0a66c692867dfd5dc5be0bad9599b0d99ddef9e6 | 1,234 | cs | C# | MOE.Common/Models/DetectorEventCountAggregation.cs | AndreRSanchez/ATSPM | dd282d98148818ff7ac44edce1f26efae27f7ea4 | [
"Apache-2.0"
] | 51 | 2017-08-29T18:14:16.000Z | 2022-02-23T18:28:35.000Z | MOE.Common/Models/DetectorEventCountAggregation.cs | AndreRSanchez/ATSPM | dd282d98148818ff7ac44edce1f26efae27f7ea4 | [
"Apache-2.0"
] | 91 | 2017-08-31T18:38:59.000Z | 2022-03-23T18:42:54.000Z | MOE.Common/Models/DetectorEventCountAggregation.cs | AndreRSanchez/ATSPM | dd282d98148818ff7ac44edce1f26efae27f7ea4 | [
"Apache-2.0"
] | 40 | 2017-08-29T22:35:38.000Z | 2022-03-28T17:46:58.000Z | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CsvHelper.Configuration;
namespace MOE.Common.Models
{
//public class DetectorEventCountAggregation : Aggregation
public class DetectorEventCountAggregation
{
//[Key]
//[... | 29.380952 | 91 | 0.58671 |
41853f85fb7d18d6a35bb93e0f41709e362ef8d6 | 1,736 | ps1 | PowerShell | SharePointDsc/Examples/Resources/SPUserProfileSyncConnection/1-Example.ps1 | Fiander/SharePointDsc | 375ed199e702133c4d29f7bf86944aa5959e1b36 | [
"MIT"
] | 39 | 2019-12-27T12:42:35.000Z | 2022-03-23T11:03:31.000Z | SharePointDsc/Examples/Resources/SPUserProfileSyncConnection/1-Example.ps1 | Fiander/SharePointDsc | 375ed199e702133c4d29f7bf86944aa5959e1b36 | [
"MIT"
] | 250 | 2019-11-27T09:34:32.000Z | 2022-03-31T10:03:29.000Z | SharePointDsc/Examples/Resources/SPUserProfileSyncConnection/1-Example.ps1 | Fiander/SharePointDsc | 375ed199e702133c4d29f7bf86944aa5959e1b36 | [
"MIT"
] | 29 | 2019-12-03T17:18:15.000Z | 2022-02-15T20:48:42.000Z |
<#PSScriptInfo
.VERSION 1.0.0
.GUID 80d306fa-8bd4-4a8d-9f7a-bf40df95e661
.AUTHOR DSC Community
.COMPANYNAME DSC Community
.COPYRIGHT DSC Community contributors. All rights reserved.
.TAGS
.LICENSEURI https://github.com/dsccommunity/SharePointDsc/blob/master/LICENSE
.PROJECTURI https://github.c... | 22.842105 | 79 | 0.599078 |
2fa001f28c15e5ad76c80ee0befd53ed583f7da5 | 1,843 | sql | SQL | db/sql/update/2.8-2.9.sql | kapeels/ohmage-server | 01589b9085a7fbcbba750db27a0f44fa373f673a | [
"Apache-2.0"
] | 13 | 2015-03-30T14:16:25.000Z | 2022-02-01T14:57:45.000Z | db/sql/update/2.8-2.9.sql | kapeels/ohmage-server | 01589b9085a7fbcbba750db27a0f44fa373f673a | [
"Apache-2.0"
] | 113 | 2015-01-30T17:43:48.000Z | 2017-08-03T04:43:35.000Z | db/sql/update/2.8-2.9.sql | kapeels/ohmage-server | 01589b9085a7fbcbba750db27a0f44fa373f673a | [
"Apache-2.0"
] | 30 | 2015-01-26T12:38:55.000Z | 2022-02-01T09:31:07.000Z | -- Update the R server.
UPDATE preference SET p_value = 'http://rdev.mobilizingcs.org/R/call/Mobilize/' WHERE p_key = 'visualization_server_address';
-- Alter the Mobility table by droping the timestamp.
ALTER TABLE mobility DROP COLUMN msg_timestamp;
-- Update the Mobility table by adding the UUID.
ALTER TABLE mobil... | 48.5 | 125 | 0.771026 |
a9e150c759a96ebf65398a3269d6c909f32d8b80 | 4,186 | php | PHP | src/Yuga/Models/Console/MakeScaffoldCommand.php | malibroug/yuga-framework | 7840a0b7656f940bad91faeb663f48fc9bfe389b | [
"MIT"
] | 3 | 2019-04-29T14:18:48.000Z | 2022-01-02T04:18:56.000Z | src/Yuga/Models/Console/MakeScaffoldCommand.php | malibroug/yuga-framework | 7840a0b7656f940bad91faeb663f48fc9bfe389b | [
"MIT"
] | null | null | null | src/Yuga/Models/Console/MakeScaffoldCommand.php | malibroug/yuga-framework | 7840a0b7656f940bad91faeb663f48fc9bfe389b | [
"MIT"
] | 3 | 2019-07-28T14:20:34.000Z | 2021-11-24T05:31:49.000Z | <?php
namespace Yuga\Models\Console;
use Yuga\Console\Command;
use Yuga\Support\FileLocator;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class MakeScaffoldCommand extends Command
{
use CanCreate, CanUpdate, CanShowDetails, CanDelete, CanDisplay, CreateRoutes... | 37.044248 | 226 | 0.561634 |
6e5090281652c46b5f9a14c2a724d74c0238e077 | 207 | sql | SQL | tdc-api/src/main/resources/db/migration/2021/V20210705__Heartbeat.sql | moriya-tech/thedevconf | 67beabaea79ce4211b35e6707308d870039fb274 | [
"Info-ZIP"
] | null | null | null | tdc-api/src/main/resources/db/migration/2021/V20210705__Heartbeat.sql | moriya-tech/thedevconf | 67beabaea79ce4211b35e6707308d870039fb274 | [
"Info-ZIP"
] | null | null | null | tdc-api/src/main/resources/db/migration/2021/V20210705__Heartbeat.sql | moriya-tech/thedevconf | 67beabaea79ce4211b35e6707308d870039fb274 | [
"Info-ZIP"
] | null | null | null | CREATE TABLE `Heartbeat` (
`uuid` char(36) NOT NULL,
`acceptTime` datetime(6) DEFAULT NULL,
`payload` varchar(255) DEFAULT NULL,
`sourceIP` varchar(255) DEFAULT NULL,
PRIMARY KEY (`uuid`)
) ;
| 25.875 | 41 | 0.666667 |
5af4036fb0eb59216ed8685ae04396d4e3f5277e | 9,496 | cs | C# | src/AddIns/Analysis/UnitTesting/Test/Tree/TwoTestClassesInDifferentNamespacesTestFixture.cs | dongdapeng110/SharpDevelopTest | 0339adff83ca9589e700593e6d5d1e7658e7e951 | [
"MIT"
] | 11 | 2015-05-14T08:36:05.000Z | 2021-10-06T06:43:47.000Z | src/AddIns/Analysis/UnitTesting/Test/Tree/TwoTestClassesInDifferentNamespacesTestFixture.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | null | null | null | src/AddIns/Analysis/UnitTesting/Test/Tree/TwoTestClassesInDifferentNamespacesTestFixture.cs | denza/SharpDevelop | 406354bee0e349186868288447f23301a679c95c | [
"MIT"
] | 10 | 2015-04-08T09:02:32.000Z | 2020-03-01T16:03:28.000Z | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using ICSharpCode.SharpDevelop.Dom;
using ICSharp... | 33.55477 | 125 | 0.747578 |
6ae957bb73647cbd55b5a5a3bfcdcf33a77c2d9c | 466 | c | C | img/x.c | mikelovic/MPPT-Charger_Software | d1e5dd32c01e778c4b46ecf73e457780f6f5e4b2 | [
"Apache-2.0"
] | 2 | 2019-10-07T15:04:16.000Z | 2019-11-06T12:04:22.000Z | img/x.c | Abdulkadir-Muhendis/charge-controller-firmware | 987a6d8894f91dc2f930b79eec531a4b551295b6 | [
"Apache-2.0"
] | null | null | null | img/x.c | Abdulkadir-Muhendis/charge-controller-firmware | 987a6d8894f91dc2f930b79eec531a4b551295b6 | [
"Apache-2.0"
] | 2 | 2017-05-18T15:20:27.000Z | 2022-03-11T17:37:16.000Z | //------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------
const unsigned char x [] = {
0x08, 0x08, 0x08, 0x08, 0x00, 0x41, 0x63, 0x36, ... | 46.6 | 95 | 0.44206 |
7fd330a22a1098fa9cab73af19793a3ae45d277e | 8,668 | php | PHP | src/Buseta/BodegaBundle/Entity/Movimiento.php | yainel/cloaked-bear | dd0a697d0ea4ef40843c9d0b37bcbdc8cc619cff | [
"MIT"
] | null | null | null | src/Buseta/BodegaBundle/Entity/Movimiento.php | yainel/cloaked-bear | dd0a697d0ea4ef40843c9d0b37bcbdc8cc619cff | [
"MIT"
] | null | null | null | src/Buseta/BodegaBundle/Entity/Movimiento.php | yainel/cloaked-bear | dd0a697d0ea4ef40843c9d0b37bcbdc8cc619cff | [
"MIT"
] | null | null | null | <?php
namespace Buseta\BodegaBundle\Entity;
use Buseta\BodegaBundle\Interfaces\DateTimeAwareInterface;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Movimiento.
*
* @ORM\Table(name="d_movimiento")
* @ORM\Entity(repositoryClass="Buseta\BodegaBundle\Entity\Repository... | 20.252336 | 125 | 0.580065 |
12c59c7ae54c2e597fd829edee6986fdb29b140a | 596 | cs | C# | _no_namespace/PesronalMotionPlayData.cs | SinsofSloth/RF5-global-metadata | 2bbf6e4a0d2cb91ac5177b20b569c023a1f07949 | [
"MIT"
] | 1 | 2021-06-21T11:34:02.000Z | 2021-06-21T11:34:02.000Z | _no_namespace/PesronalMotionPlayData.cs | SinsofSloth/RF5-global-metadata | 2bbf6e4a0d2cb91ac5177b20b569c023a1f07949 | [
"MIT"
] | null | null | null | _no_namespace/PesronalMotionPlayData.cs | SinsofSloth/RF5-global-metadata | 2bbf6e4a0d2cb91ac5177b20b569c023a1f07949 | [
"MIT"
] | null | null | null | [Serializable]
public class PesronalMotionPlayData // TypeDefIndex: 7024
{
// Fields
[SerializeField] // RVA: 0x162830 Offset: 0x162931 VA: 0x162830
public FaceType FaceType; // 0x10
[SerializeField] // RVA: 0x162840 Offset: 0x162941 VA: 0x162840
public EmotionType EmotionType; // 0x14
[SerializeField] // RVA: 0x... | 29.8 | 64 | 0.743289 |
2d2dd11b4d0db8d591522820c02bd8b23d08b433 | 12,392 | kt | Kotlin | languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/requests/JavaHttpRequestRenderer.kt | nkuehn/rmf-codegen | beb8b25a11be682f3db13ade3e18d8893aeb124c | [
"Apache-2.0"
] | null | null | null | languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/requests/JavaHttpRequestRenderer.kt | nkuehn/rmf-codegen | beb8b25a11be682f3db13ade3e18d8893aeb124c | [
"Apache-2.0"
] | null | null | null | languages/javalang/builder-renderer/java-builder-client/src/main/kotlin/io/vrap/codegen/languages/javalang/client/builder/requests/JavaHttpRequestRenderer.kt | nkuehn/rmf-codegen | beb8b25a11be682f3db13ade3e18d8893aeb124c | [
"Apache-2.0"
] | null | null | null | package io.vrap.codegen.languages.javalang.client.builder.requests
import com.google.inject.Inject
import io.vrap.codegen.languages.extensions.resource
import io.vrap.codegen.languages.extensions.toComment
import io.vrap.codegen.languages.extensions.toRequestName
import io.vrap.codegen.languages.java.base.JavaSubTempl... | 42.731034 | 181 | 0.581908 |
cd0f7108214a06d0b9f1d50451da7ece8a1cba13 | 334 | cs | C# | HackerNewsUwp/Network/Internal/IHackerNewsApi.cs | Fyzxs/HackerNewsReaderUwp | 862247b843f166df7faee9758013b8252e9acb88 | [
"MIT"
] | null | null | null | HackerNewsUwp/Network/Internal/IHackerNewsApi.cs | Fyzxs/HackerNewsReaderUwp | 862247b843f166df7faee9758013b8252e9acb88 | [
"MIT"
] | null | null | null | HackerNewsUwp/Network/Internal/IHackerNewsApi.cs | Fyzxs/HackerNewsReaderUwp | 862247b843f166df7faee9758013b8252e9acb88 | [
"MIT"
] | null | null | null | using System.Net.Http;
using System.Threading.Tasks;
using Refit;
namespace HackerNewsUwp.Network.Internal
{
public interface IHackerNewsApi
{
[Get("/topstories.json")]
Task<HttpResponseMessage> TopStories();
[Get("/item/{itemId}.json")]
Task<HttpResponseMessage> Item(string it... | 22.266667 | 54 | 0.673653 |
14e694164e66153dfa25fc04f8d39d144138024b | 277 | ts | TypeScript | src/entities/treebase.entity.ts | dichakho/roomify-api | 52407338bfebcd300822d2d5168421b18fd362c0 | [
"MIT"
] | null | null | null | src/entities/treebase.entity.ts | dichakho/roomify-api | 52407338bfebcd300822d2d5168421b18fd362c0 | [
"MIT"
] | null | null | null | src/entities/treebase.entity.ts | dichakho/roomify-api | 52407338bfebcd300822d2d5168421b18fd362c0 | [
"MIT"
] | 1 | 2021-01-22T14:31:00.000Z | 2021-01-22T14:31:00.000Z | import { IsOptional, IsInt } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { BaseEntity } from './base.entity';
export abstract class TreeBase extends BaseEntity {
@ApiProperty({ example: 0 })
@IsOptional()
@IsInt()
parentId: number;
}
| 25.181818 | 52 | 0.703971 |
d1531b4adbec4ca75c42cb34a6d6fa7c3a3d7b36 | 318 | html | HTML | controlpanel/frontend/jinja2/includes/datasource-access-form.html | ministryofjustice/analytics-platform-control-panel-public | 289143280ed79a05be470d57dc3b1fd9179758cf | [
"MIT"
] | null | null | null | controlpanel/frontend/jinja2/includes/datasource-access-form.html | ministryofjustice/analytics-platform-control-panel-public | 289143280ed79a05be470d57dc3b1fd9179758cf | [
"MIT"
] | 93 | 2021-08-09T16:09:59.000Z | 2022-03-28T16:13:31.000Z | controlpanel/frontend/jinja2/includes/datasource-access-form.html | ministryofjustice/analytics-platform-control-panel-public | 289143280ed79a05be470d57dc3b1fd9179758cf | [
"MIT"
] | 2 | 2021-03-30T15:13:24.000Z | 2021-04-11T06:26:09.000Z | {% from "includes/list-field.html" import list_field_textarea %}
{% macro data_access_paths_textarea(field) -%}
<div class="govuk-form-group panel panel-border-narrow js-list-field">
{{ list_field_textarea(field.name, field.label, field.help_text, field.value() or "", field.errors) }}
</div>
{%- endmacro %}
| 39.75 | 106 | 0.713836 |
6d184fad6e1d00430b1c789000ef8adb984b2f30 | 1,511 | ts | TypeScript | src/user/user.controller.ts | nesimer/blog-api | 1b9017852424a8240bb4ac2aa8ccd139b5108176 | [
"MIT"
] | 1 | 2019-01-11T07:39:10.000Z | 2019-01-11T07:39:10.000Z | src/user/user.controller.ts | nesimer/blog-api | 1b9017852424a8240bb4ac2aa8ccd139b5108176 | [
"MIT"
] | 5 | 2021-05-07T04:46:15.000Z | 2022-02-12T07:18:22.000Z | src/user/user.controller.ts | nesimer/blog-api | 1b9017852424a8240bb4ac2aa8ccd139b5108176 | [
"MIT"
] | null | null | null | import {
Body,
Controller,
Get,
HttpStatus,
Param,
Post,
Put,
UseGuards,
ValidationPipe,
} from '@nestjs/common';
import {
ApiBearerAuth,
ApiOperation,
ApiResponse,
ApiUseTags,
} from '@nestjs/swagger';
import { JwtAuthGuard } from './../auth/auth.guard';
import { UserPostInDto } from './user-... | 21.898551 | 70 | 0.65321 |
249254423a6614e28118cea95ef86d6cd844bcbe | 8,003 | php | PHP | backend/themes/themes1/layouts/main.php | camiloruizvidal/autonoma | 9781981910d744065800ecabe3a48cbac0263739 | [
"BSD-3-Clause"
] | null | null | null | backend/themes/themes1/layouts/main.php | camiloruizvidal/autonoma | 9781981910d744065800ecabe3a48cbac0263739 | [
"BSD-3-Clause"
] | null | null | null | backend/themes/themes1/layouts/main.php | camiloruizvidal/autonoma | 9781981910d744065800ecabe3a48cbac0263739 | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\helpers\Html;
use yii\widgets\Menu;
use yii\widgets\Breadcrumbs;
use yii\bootstrap\Nav;
use common\widgets\Alert;
use backend\assets\AppAsset;
use yii\bootstrap\NavBar;
/**
* @var $this \yii\base\View
* @var $content string
*/
// $this->registerAssetBundle('app');
AppAsset::register($this);
?>
<?php... | 40.624365 | 172 | 0.482069 |
e729157d64b09145506dac84294d746cf5e70f0f | 7,428 | php | PHP | src/Lunr/Spark/Facebook/Api.php | pprkut/lunr | 6bb94cb6e1a835b8571ba7adf4a731ef30305da4 | [
"MIT"
] | null | null | null | src/Lunr/Spark/Facebook/Api.php | pprkut/lunr | 6bb94cb6e1a835b8571ba7adf4a731ef30305da4 | [
"MIT"
] | null | null | null | src/Lunr/Spark/Facebook/Api.php | pprkut/lunr | 6bb94cb6e1a835b8571ba7adf4a731ef30305da4 | [
"MIT"
] | null | null | null | <?php
/**
* This file contains low level API methods for Facebook.
*
* PHP Version 5.4
*
* @package Lunr\Spark\Facebook
* @author Heinz Wiesinger <heinz@m2mobi.com>
* @copyright 2013-2018, M2Mobi BV, Amsterdam, The Netherlands
* @license http://lunr.nl/LICENSE MIT License
*/
namespace Lunr\Spark\F... | 25.179661 | 139 | 0.52154 |
24c133cf801df67556d291fb7150fbef1d7b6980 | 3,574 | php | PHP | application/views/dashboard/tpl/profile_details.php | lionlone/take | 26d4681a3e4411114d42614dc80eb6ec0db12722 | [
"MIT"
] | null | null | null | application/views/dashboard/tpl/profile_details.php | lionlone/take | 26d4681a3e4411114d42614dc80eb6ec0db12722 | [
"MIT"
] | null | null | null | application/views/dashboard/tpl/profile_details.php | lionlone/take | 26d4681a3e4411114d42614dc80eb6ec0db12722 | [
"MIT"
] | null | null | null | <div class="side-body padding-top">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4">
</div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-4">
<div class="text-center">
<h5 class="content-group">Thông tin tài khoản
</h5></div>
<div class="form-group has-feedback has-feedback... | 48.958904 | 179 | 0.561276 |
385d24463ffe65bbfd90fc32541f89a7a356ef33 | 5,791 | php | PHP | templates/coselectionform.php | ioigoume/simplesamlphp-module-coselection | 2a05e150faecaa83ffff20326037be0a174bd71b | [
"Apache-2.0"
] | null | null | null | templates/coselectionform.php | ioigoume/simplesamlphp-module-coselection | 2a05e150faecaa83ffff20326037be0a174bd71b | [
"Apache-2.0"
] | null | null | null | templates/coselectionform.php | ioigoume/simplesamlphp-module-coselection | 2a05e150faecaa83ffff20326037be0a174bd71b | [
"Apache-2.0"
] | null | null | null | <?php
use SimpleSAML\Module;
/**
* Template form for attribute selection.
*
* Parameters:
* - 'srcMetadata': Metadata/configuration for the source.
* - 'dstMetadata': Metadata/configuration for the destination.
* - 'yesTarget': Target URL for the yes-button. This URL will receive a POST request.
* - 'yesData':... | 35.746914 | 162 | 0.640477 |
d03e365c096704d2170a00459cf6bb1fb6dde5d3 | 557 | cpp | C++ | Implementation/Project/src/AST/ASTSTMT/ASTWhileNode.cpp | migueldingli1997/CPS2000-Compiler-Theory-and-Practice-Assignment | 6843fc5822d6faedb2970ebc260f1adaacb4b3c8 | [
"MIT"
] | null | null | null | Implementation/Project/src/AST/ASTSTMT/ASTWhileNode.cpp | migueldingli1997/CPS2000-Compiler-Theory-and-Practice-Assignment | 6843fc5822d6faedb2970ebc260f1adaacb4b3c8 | [
"MIT"
] | null | null | null | Implementation/Project/src/AST/ASTSTMT/ASTWhileNode.cpp | migueldingli1997/CPS2000-Compiler-Theory-and-Practice-Assignment | 6843fc5822d6faedb2970ebc260f1adaacb4b3c8 | [
"MIT"
] | null | null | null | #include "ASTWhileNode.h"
#include "../ASTExprNode.h"
#include "ASTBlockNode.h"
namespace AST {
ASTWhileNode::ASTWhileNode(const ASTExprNode *expr, const ASTBlockNode *block) : expr(expr), block(block) {}
const ASTExprNode *ASTWhileNode::getExpr() const {
return expr;
}
const ASTBlockNode *A... | 22.28 | 112 | 0.637343 |
070339ac6512dd14de48e3a760cf0b3ef95bbcf1 | 109,674 | css | CSS | images/a24_files/2546fe2f8d7a.css | arfarr35/web | 18c86a70b44c54e37675aada68c7452a6c5a3a68 | [
"CC-BY-3.0"
] | null | null | null | images/a24_files/2546fe2f8d7a.css | arfarr35/web | 18c86a70b44c54e37675aada68c7452a6c5a3a68 | [
"CC-BY-3.0"
] | null | null | null | images/a24_files/2546fe2f8d7a.css | arfarr35/web | 18c86a70b44c54e37675aada68c7452a6c5a3a68 | [
"CC-BY-3.0"
] | null | null | null | .v9tJq{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;margin:0 auto 30px;max-width:935px;width:100%}.VfzDr{margin-bottom:0}.Y2E37{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;margin-top:0}._73Lbs{border-bottom:1px... | 906.396694 | 13,879 | 0.825492 |
1abd860605d762d13b10cd977a2a5115ad48a905 | 11,356 | py | Python | d2r_image/processing.py | mgleed/d2r_image | 0ba5317e65baa3d7e309866ed11a76ad22b30952 | [
"MIT"
] | null | null | null | d2r_image/processing.py | mgleed/d2r_image | 0ba5317e65baa3d7e309866ed11a76ad22b30952 | [
"MIT"
] | null | null | null | d2r_image/processing.py | mgleed/d2r_image | 0ba5317e65baa3d7e309866ed11a76ad22b30952 | [
"MIT"
] | null | null | null | import copy
from typing import Union
import cv2
import numpy as np
from d2r_image import d2data_lookup
from d2r_image.data_models import D2Item, D2ItemList, GroundItemList, HoveredItem, ItemQuality, ItemText, ScreenObject
from d2r_image.nip_helpers import parse_item
from d2r_image.ocr import image_to_text
from d2r_imag... | 46.162602 | 224 | 0.60074 |
05e714c430fd36c6be296166d638907cc9034b4f | 3,202 | py | Python | plantsegtools/evaluation/evaluation_segmentation.py | hci-unihd/plant-seg-tools | 38cef53940e9330e12e74c9ea98035814bde90fc | [
"MIT"
] | null | null | null | plantsegtools/evaluation/evaluation_segmentation.py | hci-unihd/plant-seg-tools | 38cef53940e9330e12e74c9ea98035814bde90fc | [
"MIT"
] | null | null | null | plantsegtools/evaluation/evaluation_segmentation.py | hci-unihd/plant-seg-tools | 38cef53940e9330e12e74c9ea98035814bde90fc | [
"MIT"
] | 2 | 2021-04-24T16:29:22.000Z | 2021-04-24T16:29:38.000Z | import argparse
import time
import warnings
import numpy as np
from scipy.ndimage import zoom
from plantsegtools.evaluation.rand import adapted_rand
from plantsegtools.evaluation.voi import voi
from plantsegtools.utils.io import smart_load
# Add new metrics if needed
metrics = {"voi": (voi, 'Split and Merge Error'),... | 34.804348 | 108 | 0.665522 |
ff5ca95d1da674b6e69ee7744b7be4f66316da3a | 1,987 | py | Python | app.py | namacha/line-bot-starter | 260418755339ed2e616007e686f9e339ac61b843 | [
"MIT"
] | null | null | null | app.py | namacha/line-bot-starter | 260418755339ed2e616007e686f9e339ac61b843 | [
"MIT"
] | null | null | null | app.py | namacha/line-bot-starter | 260418755339ed2e616007e686f9e339ac61b843 | [
"MIT"
] | null | null | null | import os
from flask import Flask, request, abort
from linebot import LineBotApi, WebhookHandler
from linebot.exceptions import InvalidSignatureError
from linebot.models import (
MessageEvent,
TextMessage,
TextSendMessage,
AudioSendMessage,
QuickReply,
QuickReplyButton,
MessageAction,
... | 24.231707 | 113 | 0.691998 |
ffaadd797e2022560dab27118409beabe10929f2 | 1,173 | py | Python | Samples/Python/Digital_Port_In_Out.py | Turta-io/IoTHAT3 | 8b122c147bd792ac133fc308c1a83826d9c535ec | [
"MIT"
] | 1 | 2019-10-07T13:12:27.000Z | 2019-10-07T13:12:27.000Z | Samples/Python/Digital_Port_In_Out.py | Turta-io/IoTHAT3 | 8b122c147bd792ac133fc308c1a83826d9c535ec | [
"MIT"
] | null | null | null | Samples/Python/Digital_Port_In_Out.py | Turta-io/IoTHAT3 | 8b122c147bd792ac133fc308c1a83826d9c535ec | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
#This sample demonstrates digital port read and write.
#Install IoT HAT 3 library with "pip3 install turta-iothat3"
from time import sleep
from turta_iothat3 import Turta_Digital
#Initialize
#Set left digital port as output, right digital port as input
digital = Turta_Digital.DigitalPort(False... | 23 | 81 | 0.588235 |
c4b0cb7be0da45a9827665348569fe4bd3544efa | 3,005 | cpp | C++ | unittests/timer/ExecutionDeferrerTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | 24 | 2015-03-04T16:30:03.000Z | 2022-02-04T15:03:42.000Z | unittests/timer/ExecutionDeferrerTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | null | null | null | unittests/timer/ExecutionDeferrerTest.cpp | zavadovsky/stingraykit | 33e6587535325f08769bd8392381d70d4d316410 | [
"0BSD"
] | 7 | 2015-04-08T12:22:58.000Z | 2018-06-14T09:58:45.000Z | #include <stingraykit/function/bind.h>
#include <stingraykit/timer/Timer.h>
#include <stingraykit/unique_ptr.h>
#include <gtest/gtest.h>
using namespace stingray;
class ExecutionDeferrerTest : public testing::Test
{
protected:
class DeferrerHolder
{
private:
ExecutionDeferrer _deferrer;
public:
DeferrerHold... | 23.294574 | 115 | 0.738769 |
b7ec107c3d16224faf8c6b7b8eed86dc3c35d6c0 | 749 | cs | C# | ASPEntityCore_04_VS_SQL/Pages/Entity03.cshtml.cs | philanderson888/c-sharp | 532481ee11f35f4e25890cf6c3fef6953dca0a4c | [
"MIT"
] | 3 | 2019-04-05T08:38:13.000Z | 2021-11-20T20:41:16.000Z | ASPEntityCore_04_VS_SQL/Pages/Entity03.cshtml.cs | philanderson888/c-sharp | 532481ee11f35f4e25890cf6c3fef6953dca0a4c | [
"MIT"
] | 33 | 2019-11-03T14:20:08.000Z | 2020-02-16T10:24:45.000Z | ASPEntityCore_04_VS_SQL/Pages/Entity03.cshtml.cs | philanderson888/c-sharp | 532481ee11f35f4e25890cf6c3fef6953dca0a4c | [
"MIT"
] | 3 | 2019-02-24T14:57:25.000Z | 2021-11-20T20:41:25.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ASPCoreEntity_03_Data;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace ASPEntityCore_04_VS_SQL.Pages
{
public class Entity03Model : PageModel
{
public IEnumerable<... | 25.827586 | 74 | 0.628838 |
0d893b0ade4cbbf795987cb71c12fbeb6ab65cdd | 61 | cs | C# | UltraStar Play/Packages/playshared/Runtime/UI/Dialogs/IDialogControl.cs | achimmihca/Play | 027d8bb8f20e8f9b78d64bf1672ac9a4526c13f3 | [
"MIT"
] | 1 | 2019-08-28T22:28:55.000Z | 2019-08-28T22:28:55.000Z | UltraStar Play/Packages/playshared/Runtime/UI/Dialogs/IDialogControl.cs | achimmihca/Play | 027d8bb8f20e8f9b78d64bf1672ac9a4526c13f3 | [
"MIT"
] | null | null | null | UltraStar Play/Packages/playshared/Runtime/UI/Dialogs/IDialogControl.cs | achimmihca/Play | 027d8bb8f20e8f9b78d64bf1672ac9a4526c13f3 | [
"MIT"
] | 1 | 2019-09-09T14:43:51.000Z | 2019-09-09T14:43:51.000Z | public interface IDialogControl
{
void CloseDialog();
}
| 12.2 | 32 | 0.721311 |
dc0dd3b64143644996c15faa556061c6aeb4924f | 1,807 | rb | Ruby | lib/search_config.rb | theodi/rummager | ffbcc34e3ebf06ef4b884b609fdb6a0abdc4d8b2 | [
"MIT"
] | 1 | 2016-10-25T16:52:52.000Z | 2016-10-25T16:52:52.000Z | lib/search_config.rb | theodi/rummager | ffbcc34e3ebf06ef4b884b609fdb6a0abdc4d8b2 | [
"MIT"
] | 59 | 2015-08-18T13:09:27.000Z | 2018-05-09T05:12:28.000Z | lib/search_config.rb | theodi/rummager | ffbcc34e3ebf06ef4b884b609fdb6a0abdc4d8b2 | [
"MIT"
] | null | null | null | require "yaml"
require "elasticsearch/search_server"
require "schema_config"
require "plek"
class SearchConfig
def search_server
@server ||= Elasticsearch::SearchServer.new(
ENV['QUIRKAFLEEG_ELASTICSEARCH_LOCATION'] || elasticsearch["base_uri"],
schema_config,
index_names,
content_index_n... | 21.011628 | 78 | 0.750968 |
0a03db5d8f982f253b2c508eeac4ba3d3bdc313e | 1,689 | sql | SQL | query/compute/compute_vm_remote_access_restricted.sql | b-0-x/steampipe-mod-azure-compliance | c271a445bcbff1bdec6463a6a9d6e6d9481e8fe3 | [
"Apache-2.0"
] | 20 | 2021-05-19T22:33:58.000Z | 2022-03-11T22:16:05.000Z | query/compute/compute_vm_remote_access_restricted.sql | b-0-x/steampipe-mod-azure-compliance | c271a445bcbff1bdec6463a6a9d6e6d9481e8fe3 | [
"Apache-2.0"
] | 41 | 2021-05-20T01:10:06.000Z | 2022-01-24T15:42:14.000Z | query/compute/compute_vm_remote_access_restricted.sql | b-0-x/steampipe-mod-azure-compliance | c271a445bcbff1bdec6463a6a9d6e6d9481e8fe3 | [
"Apache-2.0"
] | 3 | 2022-01-20T08:26:14.000Z | 2022-03-26T15:08:08.000Z | with network_sg as (
select
distinct name as sg_name,
network_interfaces
from
azure_network_security_group as nsg,
jsonb_array_elements(security_rules) as sg,
jsonb_array_elements_text(sg -> 'properties' -> 'destinationPortRanges' || (sg -> 'properties' -> 'destinationPortRange') :: jsonb) as dp... | 33.78 | 145 | 0.609236 |
58c4ba9de209208112a04e31e0e82613159721a3 | 1,247 | css | CSS | wp-content/plugins/accordions/assets/global/css/themesTabs.style.css | icebergsal/thetimesharefirm.com | 63656fe8a790938aa4ebfa709929f00b0d9b9410 | [
"MIT"
] | 2 | 2019-03-18T06:44:03.000Z | 2019-03-18T06:45:40.000Z | wp-content/plugins/accordions/assets/global/css/themesTabs.style.css | icebergsal/thetimesharefirm.com | 63656fe8a790938aa4ebfa709929f00b0d9b9410 | [
"MIT"
] | null | null | null | wp-content/plugins/accordions/assets/global/css/themesTabs.style.css | icebergsal/thetimesharefirm.com | 63656fe8a790938aa4ebfa709929f00b0d9b9410 | [
"MIT"
] | 2 | 2019-03-18T06:33:08.000Z | 2019-03-18T07:53:04.000Z | @charset "utf-8";
/* CSS Document */
.accordions-tabs {
border: medium none !important;
border-radius: 0 !important;
}
.accordions-tabs .ui-tabs-nav {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
border: medium none;
border-radius: 0;
margin: 0 !important;
padding: 0 !important;
... | 12.106796 | 62 | 0.587811 |
29acf484fca07a95c60e095dfc5d2a733fab5d27 | 3,406 | sql | SQL | src/test/regress/sql/psql_gp_commands.sql | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2022-02-04T14:18:53.000Z | 2022-02-04T14:18:53.000Z | src/test/regress/sql/psql_gp_commands.sql | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | src/test/regress/sql/psql_gp_commands.sql | gridgentoo/gpdb | f3dc101a7b4fa3d392f79cc5146b20c83894eb19 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | --
-- Test \dx and \dx+, to display extensions.
--
-- We just use gp_inject_fault as an example of an extension here. We don't
-- inject any faults.
-- start_ignore
CREATE EXTENSION IF NOT EXISTS gp_inject_fault;
-- end_ignore
\dx gp_inject*
\dx+ gp_inject*
--
-- Test extended \du flags
--
-- https://github.com/gree... | 32.132075 | 102 | 0.788315 |
be13518cbc60d6173c9645399071d01329f16f99 | 4,764 | tsx | TypeScript | src/components/icons/day.tsx | donaldboulton/publiuslogic.com | 602eac858880c61752a1d7cc156ca37cf015b317 | [
"0BSD"
] | 2 | 2021-12-13T08:27:46.000Z | 2021-12-13T23:22:04.000Z | src/components/icons/day.tsx | donaldboulton/publiuslogic.com | 602eac858880c61752a1d7cc156ca37cf015b317 | [
"0BSD"
] | 1 | 2022-01-21T02:31:49.000Z | 2022-01-21T02:39:54.000Z | src/components/icons/day.tsx | donaldboulton/publiuslogic.com | 602eac858880c61752a1d7cc156ca37cf015b317 | [
"0BSD"
] | null | null | null | import * as React from 'react'
const Day: React.FC = () => {
return (
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="34" viewBox="0 0 51 51">
<g
id="prefix__Group_143"
data-name="Group 143"
transform="translate(-15 -13)"
className="fill-current text-white"
... | 44.111111 | 267 | 0.52246 |
fae039ba1be0a191ef35c781d06d90190d53019b | 2,910 | lua | Lua | samples/hula/watch.lua | jj300426/hsm-statechart | 4ab659a9ccda68c22b9d27514c65d73e2c368898 | [
"BSD-3-Clause"
] | 7 | 2016-06-02T12:02:46.000Z | 2021-12-27T08:17:05.000Z | samples/hula/watch.lua | jj300426/hsm-statechart | 4ab659a9ccda68c22b9d27514c65d73e2c368898 | [
"BSD-3-Clause"
] | 2 | 2016-09-26T23:02:42.000Z | 2016-09-26T23:06:42.000Z | samples/hula/watch.lua | ionous/hsm-statechart | f0424892cac1208fece52af7f7d5a03994522ed2 | [
"BSD-3-Clause"
] | 2 | 2020-06-19T15:47:12.000Z | 2021-01-26T08:07:41.000Z | ----------------------------------------------------------------------------
-- Name: watch.lua
-- Purpose: An command line stop watch that is meant to be run from C.
-- Relies on platform specific functions not included in the rock.
-- See: watch.wx.wlua for a runnable version.... | 30.3125 | 80 | 0.520962 |
4bc3323da969d2e0b764d6a19c6cf7cda8ac9f12 | 168 | cpp | C++ | demos/http_demo.cpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-11T14:53:38.000Z | 2020-07-11T14:53:38.000Z | demos/http_demo.cpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | 1 | 2020-07-04T16:45:49.000Z | 2020-07-04T16:45:49.000Z | demos/http_demo.cpp | nathanmullenax83/rhizome | e7410341fdc4d38ab5aaecc55c94d3ac6efd51da | [
"MIT"
] | null | null | null | #include "http_demo.hpp"
namespace rhizome {
namespace demo {
void http_demo() {
rn::HTTPServer server(8080,10);
}
}
} | 16.8 | 43 | 0.505952 |
6de325c4777311ba0369ae4c7b75daf24d84ed95 | 1,117 | h | C | ZumoBot.cydsn/ZumoLibrary/Accel_magnet.h | HaoZhang95/line-following-robot-car | ad073d7918df8bb10cf6337e1d0e285fcd658fff | [
"Apache-2.0"
] | null | null | null | ZumoBot.cydsn/ZumoLibrary/Accel_magnet.h | HaoZhang95/line-following-robot-car | ad073d7918df8bb10cf6337e1d0e285fcd658fff | [
"Apache-2.0"
] | null | null | null | ZumoBot.cydsn/ZumoLibrary/Accel_magnet.h | HaoZhang95/line-following-robot-car | ad073d7918df8bb10cf6337e1d0e285fcd658fff | [
"Apache-2.0"
] | 1 | 2020-11-10T05:02:57.000Z | 2020-11-10T05:02:57.000Z | /**
* @file Accel_magnet.h
* @brief Accelerometer and Magnetometer header file.
* @details If you want to use Accelerometer methods, you need to include Accel_magnet.h file. Defining register address for basic setting up and reading sensor output values.
*/
#include <project.h>
#include <stdio.h>
#include <math... | 31.027778 | 175 | 0.668756 |
fbf0d88203c31ed0271d5f21b5e7990a6b4df666 | 948 | dart | Dart | ez_listenable_test/test/ez_listenable_test_test.dart | brianegan/ez_listenable | 6dba2f0888592dcbcec4e97f0aa2f8d07273b7c0 | [
"BSD-3-Clause"
] | 3 | 2018-11-30T19:54:03.000Z | 2018-12-03T05:21:00.000Z | ez_listenable_test/test/ez_listenable_test_test.dart | brianegan/ez_listenable | 6dba2f0888592dcbcec4e97f0aa2f8d07273b7c0 | [
"BSD-3-Clause"
] | null | null | null | ez_listenable_test/test/ez_listenable_test_test.dart | brianegan/ez_listenable | 6dba2f0888592dcbcec4e97f0aa2f8d07273b7c0 | [
"BSD-3-Clause"
] | null | null | null | import 'dart:async';
import 'package:ez_listenable/ez_listenable.dart';
import 'package:ez_listenable_test/ez_listenable_test.dart';
import 'package:test/test.dart';
void main() {
group('Ez Test Utils', () {
test('can verify first value that was notified', () {
final ez = EzValue<int>(0);
scheduleM... | 21.545455 | 75 | 0.552743 |
3f92693a458e7c1e0c7a1bf920b1d538ac13d8cc | 6,584 | php | PHP | application/libraries/Inventory.php | winskie/frogims | 700666b33c209bbae3a7cae031956332abdb66bf | [
"MIT"
] | 1 | 2018-06-20T21:39:28.000Z | 2018-06-20T21:39:28.000Z | application/libraries/Inventory.php | winskie/frogims | 700666b33c209bbae3a7cae031956332abdb66bf | [
"MIT"
] | 1 | 2017-10-19T07:51:57.000Z | 2017-10-19T07:51:57.000Z | application/libraries/Inventory.php | winskie/frogims | 700666b33c209bbae3a7cae031956332abdb66bf | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Inventory extends Base_model
{
protected $store_id;
protected $item_id;
protected $parent_item_id;
protected $quantity;
protected $quantity_timestamp;
protected $buffer_level;
protected $reserved;
protected $item;
public function __... | 25.034221 | 131 | 0.617102 |
af7a0870b303972540b6f8525f90c04e975045b3 | 1,933 | py | Python | ecomm/migrations/0001_initial.py | areebbeigh/greenspace-demo | 0754f3b50e845bd5e50239361239f9b0b8aba42b | [
"Apache-2.0"
] | 1 | 2020-07-06T05:53:12.000Z | 2020-07-06T05:53:12.000Z | ecomm/migrations/0001_initial.py | areebbeigh/greenspace-demo | 0754f3b50e845bd5e50239361239f9b0b8aba42b | [
"Apache-2.0"
] | 1 | 2020-06-11T15:51:49.000Z | 2020-06-11T16:10:31.000Z | ecomm/migrations/0001_initial.py | areebbeigh/greenspace-demo | 0754f3b50e845bd5e50239361239f9b0b8aba42b | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.2 on 2020-06-11 11:03
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
opera... | 47.146341 | 168 | 0.629074 |
643d957019a052f5c4aadcbde260636fc78a6929 | 101 | py | Python | game/user.py | luiszun/scrambled | 4293a90e50678b38ecc0d69f2299ba487dbe0c27 | [
"Apache-2.0"
] | null | null | null | game/user.py | luiszun/scrambled | 4293a90e50678b38ecc0d69f2299ba487dbe0c27 | [
"Apache-2.0"
] | null | null | null | game/user.py | luiszun/scrambled | 4293a90e50678b38ecc0d69f2299ba487dbe0c27 | [
"Apache-2.0"
] | null | null | null | from match import Match
class User:
def __init__(self, userId):
self.userId = userId | 20.2 | 32 | 0.653465 |
fd6edc43388d9a032a1f8254ce7c17a9e4fe5dea | 1,840 | css | CSS | mobile.css | boredblue/music-player | 027c44a72d65000039d458b845f7a7332fe64e27 | [
"MIT"
] | null | null | null | mobile.css | boredblue/music-player | 027c44a72d65000039d458b845f7a7332fe64e27 | [
"MIT"
] | null | null | null | mobile.css | boredblue/music-player | 027c44a72d65000039d458b845f7a7332fe64e27 | [
"MIT"
] | null | null | null | @media only screen and (max-width: 700px) {
* {
-webkit-tap-highlight-color: transparent;
}
.progress-bar {
width: 100%;
}
.under-progress {
display: grid;
grid-template-areas: "title navigation";
grid-template-columns: 100px 1fr;
}
.navigation {
display: grid;
grid-area: navig... | 17.037037 | 45 | 0.577174 |
dabfb0c2201c6f6b614652b5d51d8fc6f12dbbf2 | 1,130 | tsx | TypeScript | src/utils/formDataUtils.tsx | Xavyr/masters_of_mechanisms_frontend | 64364f94ab55b5d1bf289ad648af6e1a3f00bc58 | [
"MIT"
] | null | null | null | src/utils/formDataUtils.tsx | Xavyr/masters_of_mechanisms_frontend | 64364f94ab55b5d1bf289ad648af6e1a3f00bc58 | [
"MIT"
] | 4 | 2021-12-09T03:01:03.000Z | 2022-02-27T11:22:08.000Z | src/utils/formDataUtils.tsx | Xavyr/masters_of_mechanisms_frontend | 64364f94ab55b5d1bf289ad648af6e1a3f00bc58 | [
"MIT"
] | null | null | null | export const cleanQuotes = (quotes, name) => {
return quotes
.map(entity => {
if (!entity.message) return;
entity["titan"] = name;
return entity;
})
.filter(el => el);
};
export const cleanPractices = (practices, name) => {
return practices
.map(entity => {
if (!entity.pract... | 22.6 | 62 | 0.573451 |
2bdead8a0de4e206bf37a119741918a6fef93ffb | 760 | rb | Ruby | examples/preapproval/charge_preapproval.rb | leodcs/pagseguro-sdk-ruby | a6b24924ec495f23fec813a3013ae7c6654cefaa | [
"Apache-2.0"
] | 130 | 2015-02-10T02:17:46.000Z | 2020-05-06T15:36:00.000Z | examples/preapproval/charge_preapproval.rb | leodcs/pagseguro-sdk-ruby | a6b24924ec495f23fec813a3013ae7c6654cefaa | [
"Apache-2.0"
] | 82 | 2015-02-18T14:07:44.000Z | 2020-06-25T20:19:22.000Z | examples/preapproval/charge_preapproval.rb | leodcs/pagseguro-sdk-ruby | a6b24924ec495f23fec813a3013ae7c6654cefaa | [
"Apache-2.0"
] | 127 | 2015-02-17T05:47:33.000Z | 2020-06-25T05:04:22.000Z | require_relative '../boot'
# Charge a Manual Subscription.
#
# You also can set your AccountCredentials (EMAIL, TOKEN) in the application
# config.
#
# See the boot file example for more details.
email = 'EMAIL'
token = 'TOKEN'
charger = PagSeguro::ManualSubscriptionCharger.new(
reference: 'REFERENCE',
subscript... | 20.540541 | 76 | 0.731579 |
79f13b0333f68c27be8d97bd4f458983c93c3d72 | 1,215 | php | PHP | database/migrations/2020_07_01_111553__table_order_.php | novianto007/brodewijk | 9874924602517e892dedc312a09d0cc4ec628884 | [
"MIT"
] | null | null | null | database/migrations/2020_07_01_111553__table_order_.php | novianto007/brodewijk | 9874924602517e892dedc312a09d0cc4ec628884 | [
"MIT"
] | 1 | 2021-02-02T16:33:06.000Z | 2021-02-02T16:33:06.000Z | database/migrations/2020_07_01_111553__table_order_.php | novianto007/brodewijk | 9874924602517e892dedc312a09d0cc4ec628884 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TableOrder extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('orders', function (Blue... | 27 | 62 | 0.544033 |
de882c87b7c0d7f6a50f82ba33e6df1366537144 | 1,244 | swift | Swift | PinPoint/Cells/InterestCell.swift | AaronCab/PinPoint | 80a68bbe2c535288c515b971949354624931f164 | [
"MIT"
] | 1 | 2019-05-29T21:12:23.000Z | 2019-05-29T21:12:23.000Z | PinPoint/Cells/InterestCell.swift | AaronCab/PinPoint | 80a68bbe2c535288c515b971949354624931f164 | [
"MIT"
] | 5 | 2019-04-09T20:42:47.000Z | 2019-05-10T15:55:57.000Z | PinPoint/Cells/InterestCell.swift | AaronCab/PinPoint | 80a68bbe2c535288c515b971949354624931f164 | [
"MIT"
] | null | null | null | //
// InterestCell.swift
// PinPoint
//
// Created by Aaron Cabreja on 4/10/19.
// Copyright © 2019 Pursuit. All rights reserved.
//
import UIKit
class InterestCell: UICollectionViewCell {
public lazy var collectionNameLabel: UILabel = {
let label = UILabel()
label.backgroundColor = ... | 28.272727 | 107 | 0.671222 |
0a44ca9977d4b3e2f0120325cb57a52c10e5c0a2 | 816 | cs | C# | JWT/jws/HmacSha512.cs | senzacionale/jwt-portable-dotnet | af7435096c1aca3ca374136c3677c0e547ccda44 | [
"CC0-1.0"
] | 9 | 2015-06-24T17:46:52.000Z | 2020-03-01T09:54:49.000Z | JWT/jws/HmacSha512.cs | senzacionale/jwt-portable-dotnet | af7435096c1aca3ca374136c3677c0e547ccda44 | [
"CC0-1.0"
] | 1 | 2021-11-21T06:00:53.000Z | 2021-11-21T06:29:34.000Z | JWT/jws/HmacSha512.cs | senzacionale/jwt-portable-dotnet | af7435096c1aca3ca374136c3677c0e547ccda44 | [
"CC0-1.0"
] | 6 | 2016-03-14T03:25:54.000Z | 2020-11-24T14:31:18.000Z | using System;
using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Crypto.Macs;
using Org.BouncyCastle.Crypto.Parameters;
namespace JWT.jws
{
public class HmacSha512
{
private readonly HMac _hmac;
public HmacSha512(byte[] key)
{
var sharedKey = Ensure.Type<byte[]>... | 25.5 | 104 | 0.593137 |
bd1e72a3096cee0d7737e641366b12d35e82bb92 | 428 | ps1 | PowerShell | scripts/run-scanner-sonarqube.ps1 | codedesignplus/CodeDesignPlus.Redis | f68924cab2cec0fbedd86bc19e13fc4ef5993eae | [
"MIT"
] | 7 | 2021-05-23T22:45:33.000Z | 2022-03-02T04:19:33.000Z | scripts/run-scanner-sonarqube.ps1 | codedesignplus/CodeDesignPlus.Redis | f68924cab2cec0fbedd86bc19e13fc4ef5993eae | [
"MIT"
] | null | null | null | scripts/run-scanner-sonarqube.ps1 | codedesignplus/CodeDesignPlus.Redis | f68924cab2cec0fbedd86bc19e13fc4ef5993eae | [
"MIT"
] | 2 | 2021-08-08T13:13:01.000Z | 2021-11-19T23:08:49.000Z | cd ..
# Vars
$path = "tests\CodeDesignPlus.Redis.Test"
$project = "$path\CodeDesignPlus.Redis.Test.csproj"
$report = "$path\coverage.opencover.xml"
# Run Sonnar Scanner
dotnet test $project /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
dotnet sonarscanner begin /k:"CodeDesignPlus.Redis" /d:sonar.cs.openc... | 28.533333 | 138 | 0.773364 |
c669997397f32a6f0d04ed462ba6502c9cf9848c | 279 | rs | Rust | diesel_compile_tests/tests/fail/derive/tuple_struct.rs | AlisCode/diesel | a213fe232a122f35a812b0ce0269708a1845a4c9 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-01-12T07:28:45.000Z | 2022-01-12T07:28:45.000Z | diesel_compile_tests/tests/fail/derive/tuple_struct.rs | AlisCode/diesel | a213fe232a122f35a812b0ce0269708a1845a4c9 | [
"Apache-2.0",
"MIT"
] | null | null | null | diesel_compile_tests/tests/fail/derive/tuple_struct.rs | AlisCode/diesel | a213fe232a122f35a812b0ce0269708a1845a4c9 | [
"Apache-2.0",
"MIT"
] | null | null | null | #[macro_use]
extern crate diesel;
table! {
users {
id -> Integer,
name -> Text,
hair_color -> Nullable<Text>,
}
}
#[derive(AsChangeset)]
#[diesel(table_name = users)]
struct User(i32, #[diesel(column_name = name)] String, String);
fn main() {}
| 16.411765 | 63 | 0.591398 |
5b1c148ea232382d6fb90dc3f4dd1486a9e9d22f | 120 | swift | Swift | PokemonDisplay/State/NetworkUtility/PokemonNetwork.swift | hgtlzyc/PokemonDisplay | ac3c15d254e3f18bbc8d408280854beab7b51449 | [
"MIT"
] | null | null | null | PokemonDisplay/State/NetworkUtility/PokemonNetwork.swift | hgtlzyc/PokemonDisplay | ac3c15d254e3f18bbc8d408280854beab7b51449 | [
"MIT"
] | null | null | null | PokemonDisplay/State/NetworkUtility/PokemonNetwork.swift | hgtlzyc/PokemonDisplay | ac3c15d254e3f18bbc8d408280854beab7b51449 | [
"MIT"
] | null | null | null | //
// PokemonNetwork.swift
// PokemonDisplay
//
// Created by lijia xu on 6/13/21.
//
import SwiftUI
import Combine
| 12 | 35 | 0.683333 |
a19a9d655f1b63ccd44f5617d12eed8e3dba1638 | 872 | tsx | TypeScript | src/icons/bed-outline.tsx | justdanallen/chakra-ui-ionicons | 5392d61fc383ebdd1483bf4550eb809b3a9b893c | [
"MIT"
] | 6 | 2021-01-31T09:32:37.000Z | 2021-02-10T16:21:46.000Z | src/icons/bed-outline.tsx | justdanallen/chakra-ui-ionicons | 5392d61fc383ebdd1483bf4550eb809b3a9b893c | [
"MIT"
] | 1 | 2021-02-01T12:11:32.000Z | 2021-02-01T12:11:32.000Z | src/icons/bed-outline.tsx | justdanallen/chakra-ui-ionicons | 5392d61fc383ebdd1483bf4550eb809b3a9b893c | [
"MIT"
] | 2 | 2021-01-31T09:32:40.000Z | 2022-03-25T23:51:52.000Z | import React from 'react';
import { Icon, IconProps } from '@chakra-ui/icon';
export const BedOutlineIcon = (props: IconProps) => (
<Icon
viewBox="0 0 512 512"
fill="currentcolor"
stroke="currentcolor"
{...props}
>
<path
d="M384 240H96V136a40.12 40.12 0 0140-40h240a40.12 40.12 0 0140 40v1... | 30.068966 | 194 | 0.647936 |
b2b772a12384eefae47f7052cc20d59c611576a0 | 1,396 | css | CSS | WordSearch02/wwwroot/css/styles.css | devinmounts/WordSearch02.Solution | 7cf6be99a66a7c18e1657b8f8a25b33a919cc1b8 | [
"MIT"
] | null | null | null | WordSearch02/wwwroot/css/styles.css | devinmounts/WordSearch02.Solution | 7cf6be99a66a7c18e1657b8f8a25b33a919cc1b8 | [
"MIT"
] | null | null | null | WordSearch02/wwwroot/css/styles.css | devinmounts/WordSearch02.Solution | 7cf6be99a66a7c18e1657b8f8a25b33a919cc1b8 | [
"MIT"
] | null | null | null | body {
background-image: url("../images/mar.png");
font-family: serif;
}
.container .jumbotron {
border-radius: 0px 0px 6px 6px;
background-color: #547dc0cf;
}
.panel-body {
background-color: #4b13095e;
font-size: 1em;
}
.panel {
background-color: #ffffff66;
}
.panel-heading h4 {
ba... | 15.173913 | 47 | 0.595272 |
fef07bed0b2f180d6490624f0fd5015f0b56350b | 633 | lua | Lua | Dominos_Progress/localization/localization.it.lua | Swanarog/Dominos | a87bb069e5d98fc72780124d3b4809fe319c98c0 | [
"BSD-3-Clause"
] | 53 | 2015-01-31T12:18:07.000Z | 2022-02-11T06:21:28.000Z | Dominos_Progress/localization/localization.it.lua | Swanarog/Dominos | a87bb069e5d98fc72780124d3b4809fe319c98c0 | [
"BSD-3-Clause"
] | 413 | 2015-01-01T15:48:40.000Z | 2022-03-27T16:14:27.000Z | Dominos_Progress/localization/localization.it.lua | Swanarog/Dominos | a87bb069e5d98fc72780124d3b4809fe319c98c0 | [
"BSD-3-Clause"
] | 40 | 2015-01-12T06:50:54.000Z | 2022-01-06T06:20:04.000Z | --[[Dominos XP Localization - Italian]]
local L = LibStub('AceLocale-3.0'):NewLocale('Dominos-Progress', 'itIT')
if not L then return end
L.Texture = 'Motivo'
L.Width = 'Larghezza'
L.Height = 'Altezza'
L.AlwaysShowText = 'Mostra sempre il testo'
L.Segmented = 'Segmentato'
L.Font = 'Carattere'
L.AutoSwitchModes = 'Sca... | 31.65 | 72 | 0.748815 |
383dc38404b6b101ce12ae393504f8919da0bd63 | 806 | php | PHP | base/application/helpers/contacto_helper.php | JeremyMezon/Tarea-base-de-datos | 6a34e9274ada5491d392294714c6364a1f72ed2a | [
"MIT"
] | null | null | null | base/application/helpers/contacto_helper.php | JeremyMezon/Tarea-base-de-datos | 6a34e9274ada5491d392294714c6364a1f72ed2a | [
"MIT"
] | 3 | 2020-07-17T02:41:15.000Z | 2022-02-12T10:39:57.000Z | base/application/helpers/contacto_helper.php | JeremyMezon/Tarea-base-de-datos | 6a34e9274ada5491d392294714c6364a1f72ed2a | [
"MIT"
] | null | null | null | <?php
class contacto {
static function guardar($persona){
$CI =& get_instance();
if(isset($persona['id']) && $persona['id'] > 0){
$CI->db->where('id',$persona['id']);
$CI->db->update('contactos',$persona);
}else{
$CI->db->insert('contactos',$persona);
... | 24.424242 | 56 | 0.480149 |
2cae829ee97b4b1462c02bc6d4ee498365c91ec4 | 2,133 | py | Python | venv/Lib/site-packages/frontend/events/ui/mouse/mouse.py | mysnyldz/Tez-Analizi-Tarama | 47e149bbd6a9e865e9242e50fb7ca1a18adfc640 | [
"MIT"
] | 1 | 2022-01-18T17:56:51.000Z | 2022-01-18T17:56:51.000Z | venv/Lib/site-packages/frontend/events/ui/mouse/mouse.py | mysnyldz/Tez-Analizi | 47e149bbd6a9e865e9242e50fb7ca1a18adfc640 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/frontend/events/ui/mouse/mouse.py | mysnyldz/Tez-Analizi | 47e149bbd6a9e865e9242e50fb7ca1a18adfc640 | [
"MIT"
] | null | null | null | from __future__ import annotations
from enum import IntEnum
from typing import List, Optional, TYPE_CHECKING
from ..ui import UIEvent
__all__ = ['MouseEvent', 'MouseButton']
class MouseButton(IntEnum):
MAIN_LEFT = 0
AUXILIARY_WHEEL_MIDDLE = 1
SECONDARY_RIGHT = 2
FOURTH_BROWSERBACK = 3
FOURTH_BR... | 21.989691 | 76 | 0.632443 |
1ab04edf3c9e2d0f1e37e055a38bf6a1652d4c09 | 9,355 | py | Python | chronologicon/output.py | rutherfordcraze/chronologicon | 75bca2e76ea7ee085542a736d982994773d0f5fc | [
"MIT"
] | 103 | 2017-08-27T18:36:13.000Z | 2022-02-19T04:08:58.000Z | chronologicon/output.py | rutherfordcraze/chronologicon | 75bca2e76ea7ee085542a736d982994773d0f5fc | [
"MIT"
] | 2 | 2018-11-22T15:07:18.000Z | 2021-04-09T09:20:25.000Z | chronologicon/output.py | rutherfordcraze/chronologicon | 75bca2e76ea7ee085542a736d982994773d0f5fc | [
"MIT"
] | 11 | 2017-08-28T23:55:47.000Z | 2021-12-11T18:19:30.000Z | # -*- coding: utf-8 -*-
# Chronologicon v5.x
# Rutherford Craze
# https://craze.co.uk
# 181028
import operator
import datetime
import chronologicon
from chronologicon.terminalsize import get_terminal_size
from chronologicon.strings import Message
STATS_FILENAME = chronologicon.STATS_FILENAME
STATS = {}
LOGS_FILENAM... | 32.258621 | 121 | 0.549225 |
a00b97b44852e66d62097b7cc9f61da0d83eacaf | 646 | ts | TypeScript | src/parse_examples.ts | ryanatkn/corpus-activity-streams | 8c5a9e835febc2dd0f7f854fdc292727a2512372 | [
"Unlicense"
] | 7 | 2021-03-04T06:42:24.000Z | 2022-01-10T16:25:56.000Z | src/parse_examples.ts | ryanatkn/corpus-activity-streams | 8c5a9e835febc2dd0f7f854fdc292727a2512372 | [
"Unlicense"
] | null | null | null | src/parse_examples.ts | ryanatkn/corpus-activity-streams | 8c5a9e835febc2dd0f7f854fdc292727a2512372 | [
"Unlicense"
] | null | null | null | import type {Tree, ToId} from 'src/tree.js';
import {assign_node_ids} from 'src/tree.js';
import type {VocabularyTerm} from 'src/activity_streams.js';
import {parse} from 'src/parse.js';
// TODO delete this?
export const parse_examples = (examples: VocabularyTerm[], to_id?: ToId): Tree | null => {
if (!examples) retu... | 28.086957 | 90 | 0.660991 |
e240404ce5787a8c85548470f0ba8d10d657c66d | 703 | js | JavaScript | src/ReservedSeats/ReservedSeats.js | AnnaSobczyk/Cinema | ca254c1b9f0d9a35e1db93584fdcd83b91b66847 | [
"MIT"
] | null | null | null | src/ReservedSeats/ReservedSeats.js | AnnaSobczyk/Cinema | ca254c1b9f0d9a35e1db93584fdcd83b91b66847 | [
"MIT"
] | null | null | null | src/ReservedSeats/ReservedSeats.js | AnnaSobczyk/Cinema | ca254c1b9f0d9a35e1db93584fdcd83b91b66847 | [
"MIT"
] | 2 | 2019-09-29T21:47:59.000Z | 2019-10-08T09:33:37.000Z | import React from 'react';
import "./ReservedSeats.css";
class ReservedSeats extends React.Component {
createList(){
const sorted = [...this.props.selected].sort((s1, s2) => { return (s1.row - s2.row) || (s1.column - s2.column) });
sorted.forEach(s => s.stirng = `Row ${s.row + 1} Seat ${s.colum... | 30.565217 | 122 | 0.544808 |
cb71ed134134b654b30aab163293b8d551f0143c | 1,241 | sql | SQL | sql/4reate_view_20200924.sql | gitHubName86/springbootActiviti | b6fcf10dbe03b73f0df981819b3c3fc8dd4caab9 | [
"MIT"
] | null | null | null | sql/4reate_view_20200924.sql | gitHubName86/springbootActiviti | b6fcf10dbe03b73f0df981819b3c3fc8dd4caab9 | [
"MIT"
] | null | null | null | sql/4reate_view_20200924.sql | gitHubName86/springbootActiviti | b6fcf10dbe03b73f0df981819b3c3fc8dd4caab9 | [
"MIT"
] | null | null | null | -- ----------------------------
-- View structure for act_id_group
-- ----------------------------
DROP VIEW IF EXISTS `ACT_ID_GROUP`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `ACT_ID_GROUP` AS select `r`.`post_code` AS `ID_`,NULL AS `REV_`,`r`.`post_name` AS `NAME_`,'assignment' ... | 73 | 334 | 0.607575 |
c3f262607511cac2031d91cb58a8b21407d38368 | 10,524 | cs | C# | Controllers/CartController.cs | darylsonnier/MvcMovie | 4c567fa67377749a8344e9fb69f78547ee561fe6 | [
"MIT"
] | null | null | null | Controllers/CartController.cs | darylsonnier/MvcMovie | 4c567fa67377749a8344e9fb69f78547ee561fe6 | [
"MIT"
] | null | null | null | Controllers/CartController.cs | darylsonnier/MvcMovie | 4c567fa67377749a8344e9fb69f78547ee561fe6 | [
"MIT"
] | null | null | null | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MvcMovie.Data;
using MvcMovie.Helpers;
using MvcMovie.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace MvcMovie.Controllers
{
/// <summary>
/// The CartControlle... | 45.558442 | 167 | 0.573166 |
835267b9b13f5f5e573fc863fd75480740700b81 | 3,085 | ts | TypeScript | packages/sqrl-cli/src/cli/CliRun.ts | jtemps/sqrl-1 | b0002682477e13865f553d21f048406916edd420 | [
"Apache-2.0"
] | null | null | null | packages/sqrl-cli/src/cli/CliRun.ts | jtemps/sqrl-1 | b0002682477e13865f553d21f048406916edd420 | [
"Apache-2.0"
] | null | null | null | packages/sqrl-cli/src/cli/CliRun.ts | jtemps/sqrl-1 | b0002682477e13865f553d21f048406916edd420 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018 Twitter, Inc.
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
// tslint:disable:no-console
// tslint:disable:no-submodule-imports (@TODO)
import Semaphore from "sqrl/lib/jslib/Semaphore";
import * as split2 from "split2";
import { CliActionOutput... | 27.300885 | 90 | 0.616856 |
6b1726c7a780c49b18bb224ddead9ce3156edf14 | 718 | js | JavaScript | src/utils/distance-matrix.js | synesenom/ranjs | f66944dfb2061e83c96cb74821f2c65584f80a30 | [
"MIT"
] | 17 | 2018-09-05T07:40:38.000Z | 2022-02-24T08:27:09.000Z | src/utils/distance-matrix.js | synesenom/ranjs | f66944dfb2061e83c96cb74821f2c65584f80a30 | [
"MIT"
] | 17 | 2018-02-06T11:54:15.000Z | 2021-11-14T13:56:54.000Z | src/utils/distance-matrix.js | synesenom/ranjs | f66944dfb2061e83c96cb74821f2c65584f80a30 | [
"MIT"
] | 4 | 2019-04-16T19:13:20.000Z | 2022-02-24T08:27:13.000Z | import Matrix from '../la/matrix'
import mean from '../location/mean'
/**
* Calculates the [distance matrix for the distance covariance]{@link https://en.wikipedia.org/wiki/Distance_correlation#Distance_covariance}.
*
* @method distanceMatrix
* @memberof ran.dependence
* @param {number[]} values Array of values t... | 32.636364 | 142 | 0.683844 |