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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2d73fd4bec9d891095b8e6a69a2326e9f820cb42 | 12,013 | cpp | C++ | platform/default/src/mbgl/map/map_snapshotter.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 4,234 | 2015-01-09T08:10:16.000Z | 2022-03-30T14:13:55.000Z | platform/default/src/mbgl/map/map_snapshotter.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12,771 | 2015-01-01T20:27:42.000Z | 2022-03-24T18:14:44.000Z | platform/default/src/mbgl/map/map_snapshotter.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1,571 | 2015-01-08T08:24:53.000Z | 2022-03-28T06:30:53.000Z | #include <mbgl/map/map_snapshotter.hpp>
#include <mbgl/actor/actor_ref.hpp>
#include <mbgl/gfx/headless_frontend.hpp>
#include <mbgl/map/map.hpp>
#include <mbgl/map/map_options.hpp>
#include <mbgl/map/transform.hpp>
#include <mbgl/map/transform_state.hpp>
#include <mbgl/renderer/renderer_observer.hpp>
#include <mbgl/r... | 37.540625 | 120 | 0.659619 |
3901b90912c92ecbec531d317c18d9b08a3fe90d | 2,106 | py | Python | molior/molior/utils.py | randombenj/molior | 5f22935a1860c9ab206acfa52ba6206ae1755594 | [
"Apache-2.0"
] | null | null | null | molior/molior/utils.py | randombenj/molior | 5f22935a1860c9ab206acfa52ba6206ae1755594 | [
"Apache-2.0"
] | null | null | null | molior/molior/utils.py | randombenj/molior | 5f22935a1860c9ab206acfa52ba6206ae1755594 | [
"Apache-2.0"
] | null | null | null | """
Provides utilities for molior core.
"""
import re
import os
import shlex
from launchy import Launchy
from molior.aptly import AptlyApi
from .configuration import Configuration
from .logger import get_logger
logger = get_logger()
def get_aptly_connection():
"""
Connects to aptly server and returns aptly
... | 23.931818 | 103 | 0.617759 |
aeeaa34aa466259c0e7351cd90d30fee4b63f984 | 413 | swift | Swift | Sources/App/Models/FederationObject.swift | gaborvass/adatbank-backend | 6f2147ea7b32c4c794a352103264912c5749fd1d | [
"MIT"
] | null | null | null | Sources/App/Models/FederationObject.swift | gaborvass/adatbank-backend | 6f2147ea7b32c4c794a352103264912c5749fd1d | [
"MIT"
] | null | null | null | Sources/App/Models/FederationObject.swift | gaborvass/adatbank-backend | 6f2147ea7b32c4c794a352103264912c5749fd1d | [
"MIT"
] | null | null | null | //
// OrganizationObject.swift
// Adatbank
//
// Created by Vass Gábor on 29/01/16.
// Copyright © 2016 Gabor, Vass. All rights reserved.
//
import Foundation
struct FederationObject : Codable {
let federationId: String
let federationName: String
init(federationId : String, federationName : String) {
... | 17.956522 | 58 | 0.694915 |
586a8fff20dd571d0eafd5430f11f59671831d2a | 947 | sql | SQL | tests/utils/db_drop.sql | fga-eps-mds/2021-2-PUMA-UserService | 6496cc6e4a94148e392dd54207290319f8ac61b8 | [
"MIT"
] | null | null | null | tests/utils/db_drop.sql | fga-eps-mds/2021-2-PUMA-UserService | 6496cc6e4a94148e392dd54207290319f8ac61b8 | [
"MIT"
] | 7 | 2022-02-27T16:34:21.000Z | 2022-03-29T22:37:22.000Z | tests/utils/db_drop.sql | fga-eps-mds/2021-2-PUMA-UserService | 6496cc6e4a94148e392dd54207290319f8ac61b8 | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS lectures CASCADE;
DROP TABLE IF EXISTS is_assigned CASCADE;
DROP TABLE IF EXISTS is_registered CASCADE;
DROP TABLE IF EXISTS participate CASCADE;
DROP TABLE IF EXISTS identifies CASCADE;
DROP TABLE IF EXISTS summarize CASCADE;
DROP TABLE IF EXISTS abstracts CASCADE;
DROP TABLE IF EXISTS TEAM CASCAD... | 35.074074 | 45 | 0.826822 |
25c0f376d9ae58354eed6e30a086ccc6edd4d77f | 821 | js | JavaScript | src/main.js | 1808vue/vue | 9969d3ca1f28a8525207dd2e2c126c988eef533a | [
"MIT"
] | null | null | null | src/main.js | 1808vue/vue | 9969d3ca1f28a8525207dd2e2c126c988eef533a | [
"MIT"
] | null | null | null | src/main.js | 1808vue/vue | 9969d3ca1f28a8525207dd2e2c126c988eef533a | [
"MIT"
] | null | null | null | import "./styls/reset.less"
import Vue from 'vue'
import App from './App'
import Axios from "axios"
// 组件是vue实例的一个子类,所有vue原型链上的属性子类也会继承
Vue.prototype.$axios=Axios
Vue.config.productionTip = false
import router from './router'
// mint-ui的使用
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)... | 19.093023 | 46 | 0.666261 |
a14b21ba302052eadd6c32b54435059e3ccac4e3 | 3,050 | cpp | C++ | src/VkRenderer/MyShaderWriter.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | 2 | 2020-05-31T19:54:19.000Z | 2021-09-14T12:00:12.000Z | src/VkRenderer/MyShaderWriter.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | src/VkRenderer/MyShaderWriter.cpp | WubiCookie/VkRenderer | 87cc5d858591fc976c197ab2834e1ac9a418becd | [
"MIT"
] | null | null | null | #include "MyShaderWriter.hpp"
namespace cdm
{
Ubo::Ubo(VertexWriter& writer, std::string const& name, uint32_t bind,
uint32_t set, ast::type::MemoryLayout layout)
: sdw::Ubo(writer, name, bind, set)
{
VkDescriptorSetLayoutBinding b{};
b.binding = bind;
b.descriptorCount = 1;
b.descriptorType = VK_DESC... | 29.047619 | 88 | 0.757377 |
a190745f009fb9b6db0ebf8453959bbaf15261ac | 283 | ts | TypeScript | src/app/aio-chat/index.ts | gioragutt/angular-socketio-game | ae2fd6f1abd16bdc1786e35c6e674efe219ff035 | [
"MIT"
] | 1 | 2017-05-06T20:07:20.000Z | 2017-05-06T20:07:20.000Z | src/app/aio-chat/index.ts | gioragutt/angular-socketio-game | ae2fd6f1abd16bdc1786e35c6e674efe219ff035 | [
"MIT"
] | 1 | 2017-05-14T15:32:14.000Z | 2017-05-14T17:36:48.000Z | src/app/aio-chat/index.ts | gioragutt/angular-socketio-game | ae2fd6f1abd16bdc1786e35c6e674efe219ff035 | [
"MIT"
] | null | null | null | export { AioChatComponent } from './aio-chat/aio-chat.component';
export { MessageInputComponent } from './message-input/message-input.component';
export { MessagesListComponent } from './messages-list/messages-list.component';
export { AioChatModule } from './aio-chat.module';
| 56.6 | 81 | 0.75265 |
c952cfd9faa6ad1dd06dd669a095cd4a6e21b851 | 115 | ts | TypeScript | app/extend/context.ts | whxaxes/egg-plugin-ts-demo | 3965016ec5293ea221d93f095c2df4a374c0b9a1 | [
"MIT"
] | 9 | 2019-06-24T02:19:48.000Z | 2020-03-18T23:01:40.000Z | app/extend/context.ts | whxaxes/egg-plugin-ts-demo | 3965016ec5293ea221d93f095c2df4a374c0b9a1 | [
"MIT"
] | 1 | 2019-06-24T02:26:03.000Z | 2019-06-24T02:26:03.000Z | app/extend/context.ts | whxaxes/egg-plugin-ts-demo | 3965016ec5293ea221d93f095c2df4a374c0b9a1 | [
"MIT"
] | 1 | 2020-11-23T19:20:19.000Z | 2020-11-23T19:20:19.000Z | import { Context } from 'egg';
export default {
getEnv(this: Context) {
return this.app.config.env;
},
};
| 14.375 | 31 | 0.626087 |
404a4c5e5d205ac864690a0cce8ca1704bcf9de4 | 25,684 | ps1 | PowerShell | dashboard.ps1 | psu-libraries/contentdmtools | 3628caae62c367526f0f2e80948dc262632e6d4b | [
"Apache-2.0"
] | 4 | 2019-08-09T11:14:12.000Z | 2021-01-12T19:08:59.000Z | dashboard.ps1 | psu-libraries/contentdmtools | 3628caae62c367526f0f2e80948dc262632e6d4b | [
"Apache-2.0"
] | null | null | null | dashboard.ps1 | psu-libraries/contentdmtools | 3628caae62c367526f0f2e80948dc262632e6d4b | [
"Apache-2.0"
] | null | null | null | # dashboard.ps1
# Nathan Tallman, August 2019.
# CONTENTdm Tools Dashboard
# Variables
$scriptpath = $MyInvocation.MyCommand.Path
$cdmt_root = Split-Path $scriptpath
function Get-Org-Settings {
Write-Verbose "Get-Org-Settings checking for stored settings."
$Return = @{ }
if (Test-Path settings\org.c... | 66.53886 | 613 | 0.617661 |
7469a7e3352ec5bbfb5d9d23449d82b3f168a148 | 2,022 | css | CSS | public/css/login.css | cheansiven/trivia-track | 7650f9d13f860de0c5e90f2e3f5d5fcea8d54cfb | [
"MIT"
] | null | null | null | public/css/login.css | cheansiven/trivia-track | 7650f9d13f860de0c5e90f2e3f5d5fcea8d54cfb | [
"MIT"
] | null | null | null | public/css/login.css | cheansiven/trivia-track | 7650f9d13f860de0c5e90f2e3f5d5fcea8d54cfb | [
"MIT"
] | null | null | null | body {
background: #2ecc71 url("http://38.media.tumblr.com/d23deac40b06633b79520a8552f40b94/tumblr_nb1uhrRrge1st5lhmo1_1280.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-family: "Roboto";
-webkit-fo... | 22.719101 | 155 | 0.667161 |
5ae11a799c495bdb135f12cf80ee513c6bbd408d | 1,399 | lua | Lua | ld48/app/window.lua | aglitchman/defold-ld48-game | 04844f623adcad675307566b0256d0a0a6145942 | [
"Apache-2.0"
] | 7 | 2021-04-27T12:52:16.000Z | 2021-08-08T19:30:10.000Z | ld48/app/window.lua | aglitchman/defold-ld48-game | 04844f623adcad675307566b0256d0a0a6145942 | [
"Apache-2.0"
] | null | null | null | ld48/app/window.lua | aglitchman/defold-ld48-game | 04844f623adcad675307566b0256d0a0a6145942 | [
"Apache-2.0"
] | null | null | null | local M = {}
function M.resize(game_width, game_height)
if sys.get_sys_info().system_name == "Windows" then
local displays = defos.get_displays()
local current_display_id = defos.get_current_display_id()
local screen_width = displays[current_display_id].bounds.width
local screen_hei... | 31.795455 | 72 | 0.626876 |
7f7ee248b1488b30e1cba6e66066811cce49ba75 | 3,119 | rs | Rust | storage/src/utils.rs | changweige/image-service | ba35a388fd12a9c833d20b48a591d029b6af10b5 | [
"Apache-2.0"
] | 1 | 2021-03-29T12:30:31.000Z | 2021-03-29T12:30:31.000Z | storage/src/utils.rs | changweige/image-service | ba35a388fd12a9c833d20b48a591d029b6af10b5 | [
"Apache-2.0"
] | null | null | null | storage/src/utils.rs | changweige/image-service | ba35a388fd12a9c833d20b48a591d029b6af10b5 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Ant Group. All rights reserved.
//
// SPDX-License-Identifier: Apache-2.0
use std::io::{ErrorKind, Result};
use std::os::unix::io::RawFd;
use std::slice::from_raw_parts_mut;
use libc::off64_t;
use nix::sys::uio::{preadv, IoVec};
use vm_memory::{Bytes, VolatileSlice};
use nydus_utils::{
digest::... | 27.121739 | 100 | 0.543764 |
9ffe2c4da4e9b83401494fcd380eacbfc844a462 | 721 | py | Python | resources/register/swagger_doc.py | Yogev911/sms-service | 18e5c6ba55d354ea59bc0eceed31a0e01ecb5ebb | [
"MIT"
] | null | null | null | resources/register/swagger_doc.py | Yogev911/sms-service | 18e5c6ba55d354ea59bc0eceed31a0e01ecb5ebb | [
"MIT"
] | null | null | null | resources/register/swagger_doc.py | Yogev911/sms-service | 18e5c6ba55d354ea59bc0eceed31a0e01ecb5ebb | [
"MIT"
] | null | null | null | from resources.common_modles import UserModel
register_post = {
'tags': ['register'],
'description': 'register new user',
'parameters': [
{
'name': 'user',
'description': 'Request users credentials',
'in': 'body',
'schema': UserModel,
'req... | 24.033333 | 71 | 0.474341 |
07d80926e716495eb42cc264e3ee393a3d616fa4 | 151 | css | CSS | css/newstyle.css | alanxoc3/pico8-api | 7a63ee68bb0c4c06f3be497e540fa58db30bf15c | [
"CC-BY-4.0"
] | 17 | 2020-05-21T01:12:19.000Z | 2022-01-26T16:21:06.000Z | css/newstyle.css | alanxoc3/pico8-api | 7a63ee68bb0c4c06f3be497e540fa58db30bf15c | [
"CC-BY-4.0"
] | 1 | 2020-06-10T10:10:12.000Z | 2020-06-10T10:10:12.000Z | css/newstyle.css | alanxoc3/pico8-api | 7a63ee68bb0c4c06f3be497e540fa58db30bf15c | [
"CC-BY-4.0"
] | 2 | 2021-01-13T03:51:01.000Z | 2021-02-11T15:20:52.000Z | .izoom img:hover {
transform: scaleX(-1);
-webkit-transform: scaleX(-1);
}
.imgrow {
display: flex;
}
.imgcol {
flex: 50%;
padding: 5px;
}
| 10.785714 | 32 | 0.596026 |
a06455f5036e4e20a5090b6b1cc91c973498d620 | 1,713 | kt | Kotlin | app/src/main/java/com/covidapp/db/LocalCacheManager.kt | abhi1904/CovidApp | f0902aa10a48f79938019ca7b010e4260469e318 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/covidapp/db/LocalCacheManager.kt | abhi1904/CovidApp | f0902aa10a48f79938019ca7b010e4260469e318 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/covidapp/db/LocalCacheManager.kt | abhi1904/CovidApp | f0902aa10a48f79938019ca7b010e4260469e318 | [
"Apache-2.0"
] | null | null | null | package com.covidapp.db
import android.annotation.SuppressLint
import android.content.Context
import androidx.room.Room
import com.covidapp.CovidApplication
import com.covidapp.di.APIComponent
import com.covidapp.services.model.Country
import com.covidapp.util.Constants.Companion.DB_NAME
import io.reactivex.Completabl... | 32.942308 | 85 | 0.692353 |
355d4d7c29f6a165699efb300750a17e0c77ac6a | 2,190 | dart | Dart | lib/txns/screen/txns_choose_account.dart | LeastAuthority/Mina-StakingPower-Wallet | 941b04458d6c3a988d988e63b2c4739a6cedb179 | [
"MIT"
] | 36 | 2021-03-04T13:42:00.000Z | 2022-02-22T08:44:18.000Z | lib/txns/screen/txns_choose_account.dart | LeastAuthority/Mina-StakingPower-Wallet | 941b04458d6c3a988d988e63b2c4739a6cedb179 | [
"MIT"
] | null | null | null | lib/txns/screen/txns_choose_account.dart | LeastAuthority/Mina-StakingPower-Wallet | 941b04458d6c3a988d988e63b2c4739a6cedb179 | [
"MIT"
] | 10 | 2021-03-10T03:59:00.000Z | 2021-12-28T19:52:40.000Z | import 'package:coda_wallet/event_bus/event_bus.dart';
import 'package:coda_wallet/widget/account/account_list.dart';
import 'package:coda_wallet/widget/app_bar/app_bar.dart';
import 'package:coda_wallet/widget/ui/custom_gradient.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_... | 30 | 102 | 0.654795 |
ef6701875e3bfef6960c68c7ab172808f5624875 | 1,223 | js | JavaScript | scripts/app/home/HomeCtrl.js | spaceshipsamurai/samurai-home | 0222034b07bfc6b85111336401ce916ddf4977f9 | [
"Apache-2.0"
] | null | null | null | scripts/app/home/HomeCtrl.js | spaceshipsamurai/samurai-home | 0222034b07bfc6b85111336401ce916ddf4977f9 | [
"Apache-2.0"
] | null | null | null | scripts/app/home/HomeCtrl.js | spaceshipsamurai/samurai-home | 0222034b07bfc6b85111336401ce916ddf4977f9 | [
"Apache-2.0"
] | null | null | null | angular.module('ssHome').controller('HomeCtrl', function($scope, ssYoutubeFeed) {
ssYoutubeFeed.getRecent(3).then(function(videos) {
$scope.videos = videos;
});
$scope.contacts = [
{
id: 1694010657,
name: 'Securitas Protector',
title: 'Alliance Exec.'
... | 21.086207 | 81 | 0.404742 |
e83f3e603553843781e6b6f9e4310b5b6f0162fd | 809 | cs | C# | Source/Scripting/bsfSharp/Serialization/HideInInspector.cs | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Scripting/bsfSharp/Serialization/HideInInspector.cs | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Scripting/bsfSharp/Serialization/HideInInspector.cs | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
namespace bs
{
/** @addtogroup Serialization
... | 35.173913 | 125 | 0.587145 |
c382672f64a157192b6624ef01d2de67c8479339 | 1,442 | sql | SQL | JavaScript/ajax-examples/user.sql | michaeltharper/codelab | 572e3636897be3cfe63ee7e8b658641fe6cddb46 | [
"Apache-2.0"
] | null | null | null | JavaScript/ajax-examples/user.sql | michaeltharper/codelab | 572e3636897be3cfe63ee7e8b658641fe6cddb46 | [
"Apache-2.0"
] | null | null | null | JavaScript/ajax-examples/user.sql | michaeltharper/codelab | 572e3636897be3cfe63ee7e8b658641fe6cddb46 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 3.5.8
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: May 26, 2013 at 02:04 PM
-- Server version: 5.5.30
-- PHP Version: 5.4.14
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT *... | 27.730769 | 83 | 0.651872 |
07e99f3353f3ef9d54716d95befcbe21841aed95 | 2,096 | css | CSS | Aplikasi/cihanjuang/assets/css/print-css/960.css | k-sandi/pkm-poltekpos | d768057a394cf11f1f424efd144a87f243aa2e97 | [
"Apache-2.0"
] | null | null | null | Aplikasi/cihanjuang/assets/css/print-css/960.css | k-sandi/pkm-poltekpos | d768057a394cf11f1f424efd144a87f243aa2e97 | [
"Apache-2.0"
] | null | null | null | Aplikasi/cihanjuang/assets/css/print-css/960.css | k-sandi/pkm-poltekpos | d768057a394cf11f1f424efd144a87f243aa2e97 | [
"Apache-2.0"
] | 2 | 2021-07-22T16:18:19.000Z | 2021-07-22T17:18:56.000Z | /* Containers
----------------------------------------------------------------------------------------------------*/
.container_12 {
margin-left: auto;
margin-right: auto;
width: 560px;
border:1px solid #ddd;
border-radius:4px;
}
/* Grid >> Children (Alpha ~ First, Omega ~ Last)
---------------------------------... | 21.387755 | 102 | 0.363073 |
218e926e193d3bd2e7ec9734eeb57da957037d3e | 309 | js | JavaScript | backend/src/server/actions/save-event.js | marcmenn/ibeacon | bae3749c7f5e4d7320759dc99fcad25d9c53ab31 | [
"MIT"
] | 4 | 2020-03-23T11:06:50.000Z | 2020-04-12T11:03:45.000Z | backend/src/server/actions/save-event.js | marcmenn/ibeacon | bae3749c7f5e4d7320759dc99fcad25d9c53ab31 | [
"MIT"
] | 3 | 2020-03-29T18:49:24.000Z | 2021-05-11T07:40:20.000Z | backend/src/server/actions/save-event.js | marcmenn/ibeacon | bae3749c7f5e4d7320759dc99fcad25d9c53ab31 | [
"MIT"
] | null | null | null | import event from './event.js'
import { json, jsonOnly } from './json.js'
import withBeaconIdFromDatabase from './with-beacon-id-from-database.js'
import withDeviceId from './with-device-id.js'
export default (type) => [
withDeviceId,
json,
jsonOnly,
withBeaconIdFromDatabase(true),
event(type),
]
| 23.769231 | 72 | 0.724919 |
99e532df9beb7587e655ef6e1140fc111900aeb4 | 2,786 | rs | Rust | src/lib.rs | mith-mmk/rust-rect | 48544c09c6320e4413d740f31fc3df2ef7452425 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | mith-mmk/rust-rect | 48544c09c6320e4413d740f31fc3df2ef7452425 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/lib.rs | mith-mmk/rust-rect | 48544c09c6320e4413d740f31fc3df2ef7452425 | [
"Apache-2.0",
"MIT"
] | null | null | null | mod utils;
use wasm_bindgen::prelude::*;
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
extern {
fn alert(s: &str);
#[wasm_bindgen(js_namesp... | 25.559633 | 73 | 0.488155 |
5c15d83c645caf6a9a18e8a2492fcd953f4f973e | 10,087 | rs | Rust | rumqttd/src/lib.rs | Apolexian/rumqtt | d9be4d14e71e8d5e7a783c9b5f8eeb6c8dfef684 | [
"Apache-2.0"
] | null | null | null | rumqttd/src/lib.rs | Apolexian/rumqtt | d9be4d14e71e8d5e7a783c9b5f8eeb6c8dfef684 | [
"Apache-2.0"
] | null | null | null | rumqttd/src/lib.rs | Apolexian/rumqtt | d9be4d14e71e8d5e7a783c9b5f8eeb6c8dfef684 | [
"Apache-2.0"
] | null | null | null | #[macro_use]
extern crate log;
use serde::{Deserialize, Serialize};
use std::time::Duration;
use std::{io, thread};
use std::{net::SocketAddr, sync::Arc};
use mqttbytes::v4::Packet;
use rumqttlog::*;
use tokio::time::error::Elapsed;
use crate::remotelink::RemoteLink;
use tokio::io::{AsyncRead, AsyncWrite};
use toki... | 31.423676 | 104 | 0.618816 |
ea54abf0b94d11c53d2a3b74d2fc1098d6f0b558 | 2,052 | swift | Swift | NavigationBarTransition/Translucent/TranslucentViewController.swift | snownothing/NavigationBarTransition | 9045b5c519163a4d367eafc28bc0b466c654cf23 | [
"MIT"
] | null | null | null | NavigationBarTransition/Translucent/TranslucentViewController.swift | snownothing/NavigationBarTransition | 9045b5c519163a4d367eafc28bc0b466c654cf23 | [
"MIT"
] | null | null | null | NavigationBarTransition/Translucent/TranslucentViewController.swift | snownothing/NavigationBarTransition | 9045b5c519163a4d367eafc28bc0b466c654cf23 | [
"MIT"
] | null | null | null | //
// TranslucentViewController.swift
// NavigationBarTransition
//
// Created by Moch Xiao on 3/27/16.
// Copyright © 2016 Moch. All rights reserved.
//
import UIKit
class TranslucentViewController: UIViewController {
@IBOutlet weak var customNavigationBar: UINavigationBar!
@IBOutlet weak var textView: U... | 30.626866 | 157 | 0.691033 |
dae32a68d1054438c2c880ab4935911ec9323be4 | 12,469 | dart | Dart | lib/ui/bordered_container.dart | ashishbeck/slide_puzzle | e07be4cd82df851b5ce2099322495426a98cb6f5 | [
"MIT"
] | 1 | 2022-03-28T16:25:09.000Z | 2022-03-28T16:25:09.000Z | lib/ui/bordered_container.dart | ashishbeck/slide_puzzle | e07be4cd82df851b5ce2099322495426a98cb6f5 | [
"MIT"
] | null | null | null | lib/ui/bordered_container.dart | ashishbeck/slide_puzzle | e07be4cd82df851b5ce2099322495426a98cb6f5 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
import 'package:provider/provider.dart';
import 'package:slide_puzzle/code/audio.dart';
import 'package:slide_puzzle/code/constants.dart';
import 'package:slide_puzzle/code/providers.dart';
class ... | 32.471354 | 80 | 0.565723 |
257712ee7622da60dafbb7afe27b67fe9866f329 | 8,002 | cs | C# | vendor/nuget/src/VsConsole/PowerShellHost/HostUtilities.cs | SubasishMohapatra/SquirrelDemo | 470feea41f64d99b5c7a967ba1e75035ddc77453 | [
"MIT"
] | null | null | null | vendor/nuget/src/VsConsole/PowerShellHost/HostUtilities.cs | SubasishMohapatra/SquirrelDemo | 470feea41f64d99b5c7a967ba1e75035ddc77453 | [
"MIT"
] | null | null | null | vendor/nuget/src/VsConsole/PowerShellHost/HostUtilities.cs | SubasishMohapatra/SquirrelDemo | 470feea41f64d99b5c7a967ba1e75035ddc77453 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Management.Automation;
using System.Reflection;
using Microsoft.Win32;
namespace NuGetConsole.Host.PowerShell
{
internal enum SuggestionMatchType
{
Command = 0,
Error = 1,
Dynamic = 2
}
/// <summary>
... | 43.021505 | 161 | 0.621595 |
14bc716203b428eaa5bae937e64391a16dfa6668 | 4,419 | ts | TypeScript | src/MesaView.ts | 9sako6/MESA | 5a4f170a132d20410cf554890f5d26d107ca0664 | [
"MIT"
] | 3 | 2019-02-12T10:03:07.000Z | 2020-09-05T07:07:19.000Z | src/MesaView.ts | 9sako6/MESA | 5a4f170a132d20410cf554890f5d26d107ca0664 | [
"MIT"
] | 9 | 2019-02-11T20:11:31.000Z | 2020-01-03T20:35:40.000Z | src/MesaView.ts | 9sako6/MESA | 5a4f170a132d20410cf554890f5d26d107ca0664 | [
"MIT"
] | null | null | null | import $ from "jquery";
import MesaModel, { Attribute, Tag } from "./MesaModel";
export default class MesaView {
writeTextArea(text: string, model: MesaModel): void {
model.editor.session.setValue(text);
}
initUploadButton(): void {
const button: string = `
<form>
<label class="func-btn" for="up... | 30.6875 | 139 | 0.589274 |
da72bfd0f41c52ac19ecce10b5021e7f2609476b | 2,438 | php | PHP | resources/views/admin/changepassword.blade.php | mitulmlakhani/platter | dad2a0e98ff0c99f61c366e23c57727c2fc7ec49 | [
"MIT"
] | null | null | null | resources/views/admin/changepassword.blade.php | mitulmlakhani/platter | dad2a0e98ff0c99f61c366e23c57727c2fc7ec49 | [
"MIT"
] | null | null | null | resources/views/admin/changepassword.blade.php | mitulmlakhani/platter | dad2a0e98ff0c99f61c366e23c57727c2fc7ec49 | [
"MIT"
] | null | null | null | @extends('layouts.admin')
@section('page-title', 'Change Password')
@section('module', 'Change Password')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
@if (\Session::has('success'))
<div class="alert alert-success alert-dismiss... | 47.803922 | 203 | 0.52338 |
148fa05e5b14693b5257d98c8e442f1c68fe7737 | 6,180 | ts | TypeScript | src/modules/cau-notice-watcher/index.ts | paywteam/eodiro-api-mysql | 5276aa32340da11a627bf61dc3b37db63c73ead2 | [
"MIT"
] | 10 | 2020-06-22T11:41:15.000Z | 2021-07-16T02:19:22.000Z | src/modules/cau-notice-watcher/index.ts | paywteam/eodiro-api-mysql | 5276aa32340da11a627bf61dc3b37db63c73ead2 | [
"MIT"
] | 19 | 2020-06-02T11:40:17.000Z | 2021-04-13T23:14:30.000Z | src/modules/cau-notice-watcher/index.ts | paywteam/eodiro-api2 | 5276aa32340da11a627bf61dc3b37db63c73ead2 | [
"MIT"
] | 3 | 2020-10-04T13:02:05.000Z | 2021-01-22T16:05:35.000Z | import prisma from '@/modules/prisma'
import appRoot from 'app-root-path'
import chalk from 'chalk'
import fs from 'fs'
import { JSDOM } from 'jsdom'
import { PendingXHR } from 'pending-xhr-puppeteer'
import puppeteer, { Browser, Page } from 'puppeteer'
import { telegramBot } from '../telegram-bot'
export type TitleBu... | 23.769231 | 80 | 0.628964 |
ef5a29732a4fa4482ab45c0c316d007e1917ac38 | 5,202 | c | C | berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/lib6lowpan_frag.c | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | 1 | 2020-02-28T20:35:09.000Z | 2020-02-28T20:35:09.000Z | berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/lib6lowpan_frag.c | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | berkeley/blip-2.0/support/sdk/c/blip/lib6lowpan/lib6lowpan_frag.c | tinyos-io/tinyos-3.x-contrib | 3aaf036722a2afc0c0aad588459a5c3e00bd3c01 | [
"BSD-3-Clause",
"MIT"
] | null | null | null |
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "6lowpan.h"
#include "Ieee154.h"
#include "ip.h"
#include "lib6lowpan.h"
#include "nwbyte.h"
#include "ip_malloc.h"
#include "iovec.h"
int lowpan_recon_complete(struct lowpan_reconstruct *recon,
struct ip6_packet_headers *... | 28.9 | 112 | 0.621684 |
f35705b36964f57ed3218526b51d3244afdf6a24 | 70 | lua | Lua | modules/express/tests/test-express.lua | czanyou/node.lua | 1711425dd042ff5b6034a866653400fb00bede76 | [
"Apache-2.0"
] | 19 | 2016-05-04T12:22:12.000Z | 2021-11-04T17:36:44.000Z | modules/express/tests/test-express.lua | czanyou/node.lua | 1711425dd042ff5b6034a866653400fb00bede76 | [
"Apache-2.0"
] | 2 | 2015-11-01T12:48:13.000Z | 2018-10-25T09:14:41.000Z | modules/express/tests/test-express.lua | czanyou/node.lua | 1711425dd042ff5b6034a866653400fb00bede76 | [
"Apache-2.0"
] | 6 | 2016-03-30T15:21:06.000Z | 2020-10-27T06:48:48.000Z | local express = require('express')
local path = require('path')
| 23.333333 | 35 | 0.657143 |
da587cc55e36d7c38f24b64ca5e07d17d51434b5 | 1,962 | php | PHP | frontend/views/transactions/_search.php | ArtemBaranovsky/ewallet | 17d240fe55461ca30d7170b37d657c74d3894e65 | [
"BSD-3-Clause"
] | 2 | 2019-11-12T15:14:16.000Z | 2020-02-13T17:39:17.000Z | frontend/views/transactions/_search.php | ArtemBaranovsky/ewallet | 17d240fe55461ca30d7170b37d657c74d3894e65 | [
"BSD-3-Clause"
] | null | null | null | frontend/views/transactions/_search.php | ArtemBaranovsky/ewallet | 17d240fe55461ca30d7170b37d657c74d3894e65 | [
"BSD-3-Clause"
] | 2 | 2019-11-12T15:14:18.000Z | 2021-07-27T14:14:40.000Z | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model backend\models\TransactionsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="transactions-search">
<?php //var_dump("<pre>", $model, "</pre>"); ?>
<?php //yii\helpers\VarDumper::dump($model, ... | 35.035714 | 351 | 0.571865 |
8709087c7c0dc3db3a2519e6d456fc87e26d8952 | 1,019 | rs | Rust | feather/common/src/tick_loop.rs | PauMAVA/feather | f6735af879324a65b04ae176977ba7ac17e70f89 | [
"Apache-2.0"
] | 1,417 | 2019-11-03T14:03:40.000Z | 2022-03-31T23:56:58.000Z | feather/common/src/tick_loop.rs | PauMAVA/feather | f6735af879324a65b04ae176977ba7ac17e70f89 | [
"Apache-2.0"
] | 278 | 2019-11-06T22:22:33.000Z | 2022-03-12T06:01:02.000Z | feather/common/src/tick_loop.rs | PauMAVA/feather | f6735af879324a65b04ae176977ba7ac17e70f89 | [
"Apache-2.0"
] | 189 | 2019-11-03T14:11:34.000Z | 2022-03-21T20:31:36.000Z | use std::time::Instant;
use base::TICK_DURATION;
/// Utility to invoke a function in a tick loop, once
/// every 50ms.
pub struct TickLoop {
function: Box<dyn FnMut() -> bool>,
}
impl TickLoop {
/// Creates a `TickLoop`. The given `function` is called
/// each tick. Returning `true` from `function` cause... | 26.128205 | 66 | 0.523062 |
f46f1833988ed86b65add44bd159a51332bcd4c9 | 1,431 | cs | C# | iFactr.Compact/Menus/MenuButton.cs | Zebra/iFactr-NETCF | dbf30d9591e15fd70ef8230ee3a7492142cf39a3 | [
"MIT"
] | 6 | 2018-01-14T05:19:05.000Z | 2022-02-24T18:17:42.000Z | iFactr.Compact/Menus/MenuButton.cs | Zebra/iFactr-NETCF | dbf30d9591e15fd70ef8230ee3a7492142cf39a3 | [
"MIT"
] | null | null | null | iFactr.Compact/Menus/MenuButton.cs | Zebra/iFactr-NETCF | dbf30d9591e15fd70ef8230ee3a7492142cf39a3 | [
"MIT"
] | 5 | 2017-06-27T17:26:50.000Z | 2021-05-07T17:16:36.000Z | using System;
using System.Windows.Forms;
using iFactr.UI;
using iFactr.Core;
namespace iFactr.Compact
{
class MenuButton : MenuItem, IMenuButton
{
public event EventHandler Clicked;
public string Title
{
get { return Text; }
}
public string ImagePath
... | 23.080645 | 139 | 0.487072 |
32169f04ae9d292e5280ddf0ca978196bb1ba0da | 266 | swift | Swift | CardStyleTableViewExample/PhotoCell.swift | teambition/CardStyleTableViewCell | d9d0179f555cd745b285baeb7d9ceca7dd995c9a | [
"MIT"
] | 33 | 2016-04-29T06:38:20.000Z | 2021-08-16T03:33:27.000Z | CardStyleTableViewExample/PhotoCell.swift | teambition/CardStyleTableViewCell | d9d0179f555cd745b285baeb7d9ceca7dd995c9a | [
"MIT"
] | 2 | 2020-02-14T13:17:02.000Z | 2020-04-10T08:48:03.000Z | CardStyleTableViewExample/PhotoCell.swift | teambition/CardStyleTableViewCell | d9d0179f555cd745b285baeb7d9ceca7dd995c9a | [
"MIT"
] | 9 | 2016-12-10T09:11:34.000Z | 2020-07-27T08:13:15.000Z | //
// PhotoCell.swift
// CardStyleTableViewExample
//
// Created by 洪鑫 on 16/1/20.
// Copyright © 2016年 Teambition. All rights reserved.
//
import UIKit
class PhotoCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
}
}
| 16.625 | 54 | 0.672932 |
c66439f72b275b5d7dda40bc5ea351b65b78d99c | 304 | py | Python | Life2Coding/01-hello-world/main.py | dloperab/Python-GUI | ab71f14c7fbb011af0735f48f5196146de11ea23 | [
"MIT"
] | 2 | 2019-03-17T16:08:09.000Z | 2019-03-29T06:37:16.000Z | Life2Coding/01-hello-world/main.py | dloperab/OpenCV-GUI | ab71f14c7fbb011af0735f48f5196146de11ea23 | [
"MIT"
] | null | null | null | Life2Coding/01-hello-world/main.py | dloperab/OpenCV-GUI | ab71f14c7fbb011af0735f48f5196146de11ea23 | [
"MIT"
] | 2 | 2020-03-14T04:32:19.000Z | 2021-03-09T17:21:33.000Z | import sys
from PyQt5.QtWidgets import QDialog, QApplication
from PyQt5.uic import loadUi
class MainForm(QDialog):
def __init__(self):
super(MainForm, self).__init__()
loadUi('main-form.ui', self)
app = QApplication(sys.argv)
window = MainForm()
window.show()
sys.exit(app.exec_()) | 21.714286 | 49 | 0.713816 |
0dad6a23472f82102a2f5e334a234263fa5fe331 | 807 | cs | C# | Model/IEnumerableUtils.cs | chuongmep/RevitElementBipChecker | d471b2b12f57d0dda1a8b82cdf08d36e5b00e1ce | [
"MIT"
] | 21 | 2021-02-19T07:00:54.000Z | 2022-03-23T10:57:36.000Z | Model/IEnumerableUtils.cs | chuongmep/RevitElementBipChecker | d471b2b12f57d0dda1a8b82cdf08d36e5b00e1ce | [
"MIT"
] | null | null | null | Model/IEnumerableUtils.cs | chuongmep/RevitElementBipChecker | d471b2b12f57d0dda1a8b82cdf08d36e5b00e1ce | [
"MIT"
] | 6 | 2021-02-26T01:00:52.000Z | 2022-01-18T06:17:28.000Z | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevitElementBipChecker.Model
{
public static class IEnumerableUtils
{
/// <summary>
/// Convert From T IEnumerable To ObservableCo... | 26.9 | 99 | 0.607187 |
da48e56de261638bee65bde4582668ae9dbb2bef | 303 | php | PHP | src/Cli/CommandControllers/DatabaseCli.php | SandratraRM/mora | 46eac532766be51ee961494cf85e7c24a3716986 | [
"MIT"
] | 1 | 2019-01-22T06:20:11.000Z | 2019-01-22T06:20:11.000Z | src/Cli/CommandControllers/DatabaseCli.php | SandratraRM/mora-core | 46eac532766be51ee961494cf85e7c24a3716986 | [
"MIT"
] | null | null | null | src/Cli/CommandControllers/DatabaseCli.php | SandratraRM/mora-core | 46eac532766be51ee961494cf85e7c24a3716986 | [
"MIT"
] | null | null | null | <?php
namespace Mora\Core\Cli\CommandControllers;
use Mora\Core\Control\Controller;
class DatabaseCli extends Controller
{
public function index($params)
{
}
public function actionNotFound($actionName, $params)
{
}
public function init($params)
{
}
} | 12.625 | 56 | 0.643564 |
93bee6efd2a24495222ef6b855730a4da9c8595e | 677 | cs | C# | Src/MultiSafepay/Model/ShoppingCartItem.cs | narendrakongara1987/.Net | 8daacaf2188ab8a91604bb0c8b7eaa2538d02396 | [
"MIT"
] | 42 | 2015-05-29T11:38:58.000Z | 2022-02-20T06:48:17.000Z | Src/MultiSafepay/Model/ShoppingCartItem.cs | narendrakongara1987/.Net | 8daacaf2188ab8a91604bb0c8b7eaa2538d02396 | [
"MIT"
] | 16 | 2015-12-16T21:18:58.000Z | 2020-10-15T08:23:04.000Z | Src/MultiSafepay/Model/ShoppingCartItem.cs | narendrakongara1987/.Net | 8daacaf2188ab8a91604bb0c8b7eaa2538d02396 | [
"MIT"
] | 58 | 2015-09-02T14:04:17.000Z | 2022-03-02T03:38:45.000Z | using Newtonsoft.Json;
namespace MultiSafepay.Model
{
public class ShoppingCartItem : ShoppingCartItemObject
{
public ShoppingCartItem(string merchantItemId, string name, double unitPrice, int quantity, string currency)
{
MerchantItemId = merchantItemId;
Name = name;
... | 28.208333 | 116 | 0.593796 |
a3320a79466cf03a051cdb736b715f53afdf5a2c | 827 | java | Java | generators/java-ext-apps/templates/java/pizza-demo/src/main/java/com/symphony/platformsolutions/pizza/bot/IMListenerImpl.java | ChristianSymphony/generator-symphony | 089fee0cc5af18d1c2bc14d9c6bf12f311a6359a | [
"MIT"
] | null | null | null | generators/java-ext-apps/templates/java/pizza-demo/src/main/java/com/symphony/platformsolutions/pizza/bot/IMListenerImpl.java | ChristianSymphony/generator-symphony | 089fee0cc5af18d1c2bc14d9c6bf12f311a6359a | [
"MIT"
] | null | null | null | generators/java-ext-apps/templates/java/pizza-demo/src/main/java/com/symphony/platformsolutions/pizza/bot/IMListenerImpl.java | ChristianSymphony/generator-symphony | 089fee0cc5af18d1c2bc14d9c6bf12f311a6359a | [
"MIT"
] | null | null | null | package com.symphony.platformsolutions.pizza.bot;
import clients.SymBotClient;
import listeners.IMListener;
import model.InboundMessage;
import model.OutboundMessage;
import model.Stream;
public class IMListenerImpl implements IMListener {
private SymBotClient botClient;
public IMListenerImpl(SymBotClient bo... | 29.535714 | 106 | 0.736397 |
652fd2c29cc8274898f1735318be487c0aeb6eb9 | 2,883 | css | CSS | daywise_work/day13_PortfolioImprovements/portfolio/src/App.css | ameshalexk/100DaysOfCodeTracker-Amesh | b72556abd417f222eef50d188e843d62157d7657 | [
"MIT"
] | 1 | 2020-09-27T13:47:16.000Z | 2020-09-27T13:47:16.000Z | daywise_work/day13_PortfolioImprovements/portfolio/src/App.css | ameshalexk/100DaysOfCodeTracker-Amesh | b72556abd417f222eef50d188e843d62157d7657 | [
"MIT"
] | null | null | null | daywise_work/day13_PortfolioImprovements/portfolio/src/App.css | ameshalexk/100DaysOfCodeTracker-Amesh | b72556abd417f222eef50d188e843d62157d7657 | [
"MIT"
] | null | null | null | * {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'PT Sans', sans-serif;
}
.home,
.tapparel,
.coinstance,
.minesweeper,
.covidmapper,
.projects {
display: flex;
height: 90vh;
align-items: center;
justify-content: center;
font-size: 3rem;
}
.about {... | 17.796296 | 44 | 0.560874 |
a323a5890ebdcb6492f81a2baeee7d66de5f5127 | 1,679 | java | Java | admin-web/src/java/org/jppf/admin/web/health/HealthConstants.java | jppf-grid/JPPF | b98ee419e8d6bbf47ebb31e26ad4ef7c8f93c6e8 | [
"Apache-2.0"
] | 44 | 2018-09-13T02:31:00.000Z | 2022-03-24T01:18:49.000Z | admin-web/src/java/org/jppf/admin/web/health/HealthConstants.java | ParaSatellite/JPPF | b6a23dddb0393a8908c71b441fb214b148648cea | [
"Apache-2.0"
] | 18 | 2019-03-17T21:40:53.000Z | 2021-11-20T06:57:32.000Z | admin-web/src/java/org/jppf/admin/web/health/HealthConstants.java | ParaSatellite/JPPF | b6a23dddb0393a8908c71b441fb214b148648cea | [
"Apache-2.0"
] | 14 | 2019-07-02T09:26:50.000Z | 2022-01-12T07:39:57.000Z | /*
* JPPF.
* Copyright (C) 2005-2019 JPPF Team.
* http://www.jppf.org
*
* 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 re... | 26.650794 | 75 | 0.687314 |
64e9fdea42765fa3d36d140d6ccefd66eb7ccdc9 | 132 | cql | SQL | test/data/Cql_for_Cassandra_random_sample_tweet_template.cql | SubhasisDutta/Data-Simulator | 0b8d4856f1d902c8173c99d6166aa757fbc8eac3 | [
"MIT"
] | null | null | null | test/data/Cql_for_Cassandra_random_sample_tweet_template.cql | SubhasisDutta/Data-Simulator | 0b8d4856f1d902c8173c99d6166aa757fbc8eac3 | [
"MIT"
] | null | null | null | test/data/Cql_for_Cassandra_random_sample_tweet_template.cql | SubhasisDutta/Data-Simulator | 0b8d4856f1d902c8173c99d6166aa757fbc8eac3 | [
"MIT"
] | null | null | null | CREATE TABLE "DataSimulator"."TweetTest" (
id uuid,
timestamp timestamp,
authorhandle varchar,
tweet text,
PRIMARY KEY (id)
);
| 16.5 | 42 | 0.734848 |
72fe23457f62cd4d7dc8b68266005929ff2dbcfb | 195 | sql | SQL | apps/server/prisma/migrations/20211115111109_cap_and_image_are_optionals/migration.sql | sairajchouhan/s2media | 396081e149dbe9d53b8811b97a3b319cccacaa95 | [
"MIT"
] | 4 | 2022-01-13T14:13:26.000Z | 2022-03-23T06:49:35.000Z | apps/server/prisma/migrations/20211115111109_cap_and_image_are_optionals/migration.sql | sairajchouhan/s2media | 396081e149dbe9d53b8811b97a3b319cccacaa95 | [
"MIT"
] | 3 | 2021-08-01T14:46:38.000Z | 2021-11-22T08:32:14.000Z | apps/server/prisma/migrations/20211115111109_cap_and_image_are_optionals/migration.sql | sairajchouhan/s2media | 396081e149dbe9d53b8811b97a3b319cccacaa95 | [
"MIT"
] | 2 | 2022-01-14T07:54:51.000Z | 2022-01-18T05:48:31.000Z | -- AlterTable
ALTER TABLE "Post" ALTER COLUMN "url" DROP NOT NULL,
ALTER COLUMN "imagePublicId" DROP NOT NULL;
-- RenameIndex
ALTER INDEX "Profile_userId_unique" RENAME TO "Profile_userId_key";
| 27.857143 | 67 | 0.779487 |
cd867718b7a2502157525748187d245be9daf0f6 | 316 | cs | C# | Assets/Scripts/GameFlow/Utils/Ui/Tutorial/UiOverlayTutorialCommonObject.cs | TheProxor/code-samples-from-pg | e9930f7fe4cf13e082556362db8ccf2172f70906 | [
"Unlicense"
] | null | null | null | Assets/Scripts/GameFlow/Utils/Ui/Tutorial/UiOverlayTutorialCommonObject.cs | TheProxor/code-samples-from-pg | e9930f7fe4cf13e082556362db8ccf2172f70906 | [
"Unlicense"
] | null | null | null | Assets/Scripts/GameFlow/Utils/Ui/Tutorial/UiOverlayTutorialCommonObject.cs | TheProxor/code-samples-from-pg | e9930f7fe4cf13e082556362db8ccf2172f70906 | [
"Unlicense"
] | 2 | 2021-04-14T12:53:52.000Z | 2021-04-24T06:59:52.000Z | using UnityEngine;
namespace Drawmasters.Ui
{
public class UiOverlayTutorialCommonObject : IUiOverlayTutorialObject
{
public UiOverlayTutorialCommonObject(GameObject _gameObject) =>
OverlayTutorialObject = _gameObject;
public GameObject OverlayTutorialObject { get; }
}
}
| 21.066667 | 73 | 0.727848 |
7af09436c74e1572797f8492ac9e4ef7047f9a1a | 325 | cs | C# | src/OrchardCore/OrchardCore.Recipes.Abstractions/Models/ConfigurationContext.cs | protoncm/OrchardCore | 9105b3f23f48badad576973d6716d5fe3fd6d9cf | [
"BSD-3-Clause"
] | 3 | 2018-10-31T14:07:54.000Z | 2019-04-19T23:00:58.000Z | src/OrchardCore/OrchardCore.Recipes.Abstractions/Models/ConfigurationContext.cs | protoncm/OrchardCore | 9105b3f23f48badad576973d6716d5fe3fd6d9cf | [
"BSD-3-Clause"
] | 8 | 2020-07-19T16:45:38.000Z | 2021-05-11T04:43:20.000Z | src/OrchardCore/OrchardCore.Recipes.Abstractions/Models/ConfigurationContext.cs | protoncm/OrchardCore | 9105b3f23f48badad576973d6716d5fe3fd6d9cf | [
"BSD-3-Clause"
] | 6 | 2020-01-16T15:30:37.000Z | 2020-01-17T15:10:06.000Z | using Newtonsoft.Json.Linq;
namespace OrchardCore.Recipes.Models
{
public class ConfigurationContext
{
protected ConfigurationContext(JObject configurationElement)
{
ConfigurationElement = configurationElement;
}
public JObject ConfigurationElement { get; set; }
... | 23.214286 | 68 | 0.683077 |
496ec220de8eda50c62fe56b7394d4fea44824d9 | 2,270 | py | Python | onap_data_provider/resources/owning_entity_resource.py | onap/integration-data-provider | 0565394ecbd96730bf982909693514ab88703708 | [
"Apache-2.0"
] | null | null | null | onap_data_provider/resources/owning_entity_resource.py | onap/integration-data-provider | 0565394ecbd96730bf982909693514ab88703708 | [
"Apache-2.0"
] | null | null | null | onap_data_provider/resources/owning_entity_resource.py | onap/integration-data-provider | 0565394ecbd96730bf982909693514ab88703708 | [
"Apache-2.0"
] | null | null | null | """Owning entity resource module."""
"""
Copyright 2021 Deutsche Telekom AG
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 ... | 29.868421 | 77 | 0.650661 |
c6685f44d8bf347a1349bf04aaa44940bcb0a997 | 13,194 | swift | Swift | SiliconLabsApp/Models/GattConfigurator/SILGattConfiguratorServiceHelper.swift | antam8314/EFRConnect-ios | a8aca8b82335980b7eecc017deec07fe950f7963 | [
"Apache-2.0"
] | null | null | null | SiliconLabsApp/Models/GattConfigurator/SILGattConfiguratorServiceHelper.swift | antam8314/EFRConnect-ios | a8aca8b82335980b7eecc017deec07fe950f7963 | [
"Apache-2.0"
] | null | null | null | SiliconLabsApp/Models/GattConfigurator/SILGattConfiguratorServiceHelper.swift | antam8314/EFRConnect-ios | a8aca8b82335980b7eecc017deec07fe950f7963 | [
"Apache-2.0"
] | null | null | null | //
// SILGattConfiguratorServiceHelper.swift
// BlueGecko
//
// Created by Grzegorz Janosz on 09/03/2021.
// Copyright © 2021 SiliconLabs. All rights reserved.
//
import Foundation
protocol SILGattConfiguratorServiceHelperType : class {
var configuration: SILGattConfigurationEntity! { get set }
init(confi... | 46.621908 | 180 | 0.637335 |
05d38363d3312f9f98526719370f057a55b7b829 | 402 | dart | Dart | widget_test/shared/navigation.dart | tmcmaster/scaffold_widget | 066a0c768402fcd342cd8d24525298ea50813454 | [
"MIT"
] | null | null | null | widget_test/shared/navigation.dart | tmcmaster/scaffold_widget | 066a0c768402fcd342cd8d24525298ea50813454 | [
"MIT"
] | null | null | null | widget_test/shared/navigation.dart | tmcmaster/scaffold_widget | 066a0c768402fcd342cd8d24525298ea50813454 | [
"MIT"
] | null | null | null | import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class Navigation {
static final items = [
BottomNavigationBarItem(
icon: Icon(Icons.home),
label: 'Home',
),
BottomNavigationBarItem(
icon: Icon(Icons.mail),
label: 'Messages',
),
BottomNaviga... | 20.1 | 40 | 0.626866 |
a9e3411edf3b9b6e5bbbbfe0e3d298306f607477 | 273 | php | PHP | resources/views/langpartials/audio_de.blade.php | tripats/kdonline | a3854b1d045d7ebd0d38ca61c9f20cb5f4d6c837 | [
"MIT"
] | null | null | null | resources/views/langpartials/audio_de.blade.php | tripats/kdonline | a3854b1d045d7ebd0d38ca61c9f20cb5f4d6c837 | [
"MIT"
] | null | null | null | resources/views/langpartials/audio_de.blade.php | tripats/kdonline | a3854b1d045d7ebd0d38ca61c9f20cb5f4d6c837 | [
"MIT"
] | null | null | null | <div class="alert alert-info">
<h3>
Audiodateien bitte nur im Standardformat MPEG-1/2 Audio Layer 3, besser bekannt als *.MP3 hochladen.
</h3>
Maximale Dateigröße = 8 MB
Es sind Maximal {{Config::get('application.max_audio_count')}} Dateien pro Bewerbung möglich.
</div>
| 30.333333 | 101 | 0.750916 |
eba4dffbf6076c68d7154801be33459309216870 | 194 | sql | SQL | src/UNStatistic/UNStatistic.DB/dm/views/vw_DimGeography.sql | AndreyQC/UN-statistic | dee3640426855a52d42f36f1bd3dc9b42757b372 | [
"MIT"
] | 1 | 2021-12-18T13:16:01.000Z | 2021-12-18T13:16:01.000Z | src/UNStatistic/UNStatistic.DB/dm/views/vw_DimGeography.sql | AndreyQC/UN-statistic | dee3640426855a52d42f36f1bd3dc9b42757b372 | [
"MIT"
] | 2 | 2020-02-09T17:06:21.000Z | 2020-02-13T09:39:03.000Z | src/UNStatistic/UNStatistic.DB/dm/views/vw_DimGeography.sql | AndreyQC/UN-statistic | dee3640426855a52d42f36f1bd3dc9b42757b372 | [
"MIT"
] | 1 | 2021-12-27T09:34:26.000Z | 2021-12-27T09:34:26.000Z | CREATE VIEW [dm].[vw_DimGeography]
AS
SELECT
[DimGeographyKey]
,[Region]
,[SubRegion]
,[Country]
,[CountryCode]
FROM [dwh].[DimGeography]
| 19.4 | 35 | 0.525773 |
2779004a832a6391a5c5a86e8c2ebd95b38ed38a | 1,255 | kt | Kotlin | generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/PropertyDataFetcher.kt | majerm/graphql-kotlin | b5faccbda2a17fac63a0c79ca5bc3f95d905999f | [
"Apache-2.0"
] | 1,235 | 2019-09-09T16:44:44.000Z | 2022-03-30T11:11:18.000Z | generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/PropertyDataFetcher.kt | majerm/graphql-kotlin | b5faccbda2a17fac63a0c79ca5bc3f95d905999f | [
"Apache-2.0"
] | 628 | 2019-09-06T13:58:07.000Z | 2022-03-30T12:46:56.000Z | generator/graphql-kotlin-schema-generator/src/main/kotlin/com/expediagroup/graphql/generator/execution/PropertyDataFetcher.kt | majerm/graphql-kotlin | b5faccbda2a17fac63a0c79ca5bc3f95d905999f | [
"Apache-2.0"
] | 260 | 2019-09-06T13:50:15.000Z | 2022-03-21T16:13:53.000Z | /*
* Copyright 2021 Expedia, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 33.918919 | 115 | 0.74502 |
cd5115240227833976d3be49cc454c5a6923e363 | 5,502 | cs | C# | Tests/TestingTests.cs | worldbeater/CoreRPC | 7d3dba28119f3514d472b0348742fd07417117a5 | [
"MIT"
] | null | null | null | Tests/TestingTests.cs | worldbeater/CoreRPC | 7d3dba28119f3514d472b0348742fd07417117a5 | [
"MIT"
] | null | null | null | Tests/TestingTests.cs | worldbeater/CoreRPC | 7d3dba28119f3514d472b0348742fd07417117a5 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CoreRPC.AspNetCore;
using CoreRPC.Testing;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.AspNetCore.Http;
using M... | 37.428571 | 118 | 0.569975 |
b0a8026693675c2a22565d6daa5748a1dba33799 | 269 | py | Python | tests/test_import.py | mace-space/histLM | 3f6460f6fad703feb99e48f244396f8ef007c582 | [
"MIT"
] | 6 | 2021-05-24T12:40:30.000Z | 2022-02-09T11:04:07.000Z | tests/test_import.py | mace-space/histLM | 3f6460f6fad703feb99e48f244396f8ef007c582 | [
"MIT"
] | 1 | 2021-09-30T09:11:15.000Z | 2021-09-30T09:11:15.000Z | tests/test_import.py | mace-space/histLM | 3f6460f6fad703feb99e48f244396f8ef007c582 | [
"MIT"
] | 19 | 2021-06-03T12:25:42.000Z | 2021-07-30T13:54:21.000Z | import pytest
def test_import():
from transformers import pipeline
from flair.embeddings import FlairEmbeddings
from flair.data import Sentence
import flair, torch
from gensim.models import FastText
from gensim.models import Word2Vec
| 16.8125 | 48 | 0.739777 |
70b31b47e1f3c138ff8b456b56aaf02884a76073 | 3,553 | lua | Lua | CoreScripts/Modules/PlayerList/Components/PlayerListApp.spec.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/PlayerList/Components/PlayerListApp.spec.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | CoreScripts/Modules/PlayerList/Components/PlayerListApp.spec.lua | jackrestaki/Core-Scripts | 31e68fd04caa585a0a52889aa2efda37ced4203e | [
"Apache-2.0"
] | null | null | null | return function()
local CoreGui = game:GetService("CoreGui")
local CorePackages = game:GetService("CorePackages")
local RobloxReplicatedStorage = game:GetService("RobloxReplicatedStorage")
local Roact = require(CorePackages.Roact)
local RoactRodux = require(CorePackages.RoactRodux)
local Rodux = require(CorePack... | 32.59633 | 95 | 0.780467 |
d03385faa87ef6c1f7ee3dd2530fd7dd722e5ca5 | 487 | sh | Shell | scripts/cleanup-tophat.sh | SilicoSciences/bi-seminar | fc14e10662cc1022d756dd3fa2136e9a7df4e432 | [
"CC0-1.0"
] | null | null | null | scripts/cleanup-tophat.sh | SilicoSciences/bi-seminar | fc14e10662cc1022d756dd3fa2136e9a7df4e432 | [
"CC0-1.0"
] | null | null | null | scripts/cleanup-tophat.sh | SilicoSciences/bi-seminar | fc14e10662cc1022d756dd3fa2136e9a7df4e432 | [
"CC0-1.0"
] | null | null | null | #!/bin/bash
set -e
tophatOut=tophat_out*
function f_doIt {
echo "dollarOne: ${1}"
for f in ${1}/$tophatOut/accepted_hits.bam
do
echo "f: ${f}"
echo "+++++++++++++++++++++++++++++++++++++++++++"
echo "Cleaning $1/$tophatOut/"
echo "-------------------------------------------"
if [[ -f $f ]]; then
echo "hieroglyph: ${f... | 16.233333 | 50 | 0.449692 |
4b8ea7f2aed29595e152b05388b165c9910b2f5b | 9,121 | cc | C++ | base/linux_input.cc | rkb-1/quad | 66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e | [
"Apache-2.0"
] | 64 | 2017-01-18T15:12:05.000Z | 2022-02-16T08:28:11.000Z | base/linux_input.cc | rkb-1/quad | 66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e | [
"Apache-2.0"
] | 2 | 2021-02-11T14:39:38.000Z | 2021-10-03T16:49:57.000Z | base/linux_input.cc | rkb-1/quad | 66ae3bc5ccb6db070bc1e32a3b9386f6d01a049e | [
"Apache-2.0"
] | 14 | 2021-01-11T09:48:34.000Z | 2021-12-16T16:20:35.000Z | // Copyright 2014-2020 Josh Pieper, jjp@pobox.com.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 27.978528 | 82 | 0.609802 |
fae903e9e771cb995eef1156eea6b319c9d36de1 | 8,009 | sql | SQL | src/test/regress/sql/float8.sql | deart2k/gpdb | df0144f8536c34a19e1c0158580e79a3906ace2e | [
"PostgreSQL",
"Apache-2.0"
] | 34 | 2021-01-18T14:25:24.000Z | 2021-06-05T03:21:10.000Z | src/test/regress/sql/float8.sql | deart2k/gpdb | df0144f8536c34a19e1c0158580e79a3906ace2e | [
"PostgreSQL",
"Apache-2.0"
] | 134 | 2018-08-09T09:51:53.000Z | 2022-03-29T03:17:27.000Z | src/test/regress/sql/float8.sql | deart2k/gpdb | df0144f8536c34a19e1c0158580e79a3906ace2e | [
"PostgreSQL",
"Apache-2.0"
] | 8 | 2018-05-21T16:20:39.000Z | 2021-11-01T07:05:39.000Z | --
-- FLOAT8
--
CREATE TABLE FLOAT8_TBL(i INT DEFAULT 1, f1 float8);
INSERT INTO FLOAT8_TBL(f1) VALUES (' 0.0 ');
INSERT INTO FLOAT8_TBL(f1) VALUES ('1004.30 ');
INSERT INTO FLOAT8_TBL(f1) VALUES (' -34.84');
INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
INSERT INTO FLOAT8_TBL(f1) VALUES ('1.234... | 27.334471 | 77 | 0.687601 |
791786d814e55ce29c9d0912752cbe79bd34cd36 | 525 | dart | Dart | app_dart/lib/src/model/appengine/commit.g.dart | xster/cocoon | c9ef7486a6f820d538c59f991f4d8f6811fe4164 | [
"BSD-3-Clause"
] | null | null | null | app_dart/lib/src/model/appengine/commit.g.dart | xster/cocoon | c9ef7486a6f820d538c59f991f4d8f6811fe4164 | [
"BSD-3-Clause"
] | null | null | null | app_dart/lib/src/model/appengine/commit.g.dart | xster/cocoon | c9ef7486a6f820d538c59f991f4d8f6811fe4164 | [
"BSD-3-Clause"
] | null | null | null | // GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: always_specify_types, implicit_dynamic_parameter
part of 'commit.dart';
// **************************************************************************
// JsonSerializableGenerator
// *************************************************************************... | 32.8125 | 79 | 0.518095 |
a42dab7c8e42f61e894f0551ae2f39fdc0271df7 | 3,136 | php | PHP | resources/views/map/edat.blade.php | muhamadanjar/rth | 435e34222f46ce9ae44e41d9ee4f381339130e59 | [
"MIT"
] | null | null | null | resources/views/map/edat.blade.php | muhamadanjar/rth | 435e34222f46ce9ae44e41d9ee4f381339130e59 | [
"MIT"
] | null | null | null | resources/views/map/edat.blade.php | muhamadanjar/rth | 435e34222f46ce9ae44e41d9ee4f381339130e59 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--The viewport meta tag is used to improve the presentation and behavior of the samples
on iOS devices-->
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<titl... | 36.465116 | 150 | 0.607143 |
dd80022805d52f13378334935db0963f802b7513 | 4,671 | java | Java | src/main/java/org/fmgroup/mediator/common/UtilClass.java | xue-xy/Mediator_origin | 431c04e07266a7976ccac31d542fd594b2b27371 | [
"MIT"
] | 1 | 2021-05-21T14:03:03.000Z | 2021-05-21T14:03:03.000Z | src/main/java/org/fmgroup/mediator/common/UtilClass.java | xue-xy/Mediator_origin | 431c04e07266a7976ccac31d542fd594b2b27371 | [
"MIT"
] | null | null | null | src/main/java/org/fmgroup/mediator/common/UtilClass.java | xue-xy/Mediator_origin | 431c04e07266a7976ccac31d542fd594b2b27371 | [
"MIT"
] | 2 | 2018-03-09T07:01:08.000Z | 2018-03-09T09:23:48.000Z | package org.fmgroup.mediator.common;
import org.fmgroup.mediator.plugin.generator.Generator;
import org.fmgroup.mediator.plugin.command.Command;
import org.fmgroup.mediator.plugin.Plugin;
import java.io.File;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.nio.file.Path;
import ja... | 31.993151 | 92 | 0.581674 |
403a9e6c2bffb56e89d4bdb675d9f3d4c1fe8be1 | 2,151 | rb | Ruby | lib/generators/active_record/check_permission_generator.rb | snlkumar/permission | 77a5873c88800f07f8de622a30fcf1dbf58fd7b5 | [
"MIT"
] | null | null | null | lib/generators/active_record/check_permission_generator.rb | snlkumar/permission | 77a5873c88800f07f8de622a30fcf1dbf58fd7b5 | [
"MIT"
] | null | null | null | lib/generators/active_record/check_permission_generator.rb | snlkumar/permission | 77a5873c88800f07f8de622a30fcf1dbf58fd7b5 | [
"MIT"
] | null | null | null | require 'rails/generators/active_record'
require 'generators/check_permission/orm_helpers'
module ActiveRecord
module Generators
class CheckPermissionGenerator < ActiveRecord::Generators::Base
argument :attributes, type: :array, default: [], banner: "field:type field:type"
include CheckPermission::Generator... | 35.262295 | 153 | 0.702929 |
b94b2fc8c9c6020042fe1e1788c104320995b039 | 1,633 | php | PHP | Workflow/src/nodes/variables/increment.php | real-chocopanda/ezComponents-lite | 8d99c82699994d2532fa2b43f3c56e1d507d8a87 | [
"BSD-3-Clause"
] | null | null | null | Workflow/src/nodes/variables/increment.php | real-chocopanda/ezComponents-lite | 8d99c82699994d2532fa2b43f3c56e1d507d8a87 | [
"BSD-3-Clause"
] | null | null | null | Workflow/src/nodes/variables/increment.php | real-chocopanda/ezComponents-lite | 8d99c82699994d2532fa2b43f3c56e1d507d8a87 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* File containing the ezcWorkflowNodeVariableIncrement class.
*
* @package Workflow
* @version 1.4rc1
* @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* This node increments a workflow variable by one when execute... | 20.935897 | 76 | 0.614819 |
0afba7cc4770e6ed7af8f046b96df8c8ee333ece | 4,371 | cpp | C++ | code/common/maibo/Resources/ResourceManager.cpp | iboB/maibo | df43ddf82b3c79e00f3d2c8b38db181e5edae264 | [
"MIT"
] | 4 | 2015-08-07T09:11:15.000Z | 2018-01-03T15:47:04.000Z | code/common/maibo/Resources/ResourceManager.cpp | iboB/maibo | df43ddf82b3c79e00f3d2c8b38db181e5edae264 | [
"MIT"
] | null | null | null | code/common/maibo/Resources/ResourceManager.cpp | iboB/maibo | df43ddf82b3c79e00f3d2c8b38db181e5edae264 | [
"MIT"
] | null | null | null | // MaiBo
// Copyright(c) 2015 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#include "ResourceManager.h"
#include "maibo/Assets/FileManager.h"
#include "maibo/Common/ResourceTask.h"
#include "maibo/Common/Re... | 28.2 | 164 | 0.668268 |
b567c04613ba8741341589c6a821f01d602f97ab | 107 | jbuilder | Ruby | app/views/tt/api/v1/split_details/show.json.jbuilder | HipsterBrown/test_track_rails_client | 10abd4ae94d635bbe6171a753ca155922c316d9b | [
"MIT"
] | 39 | 2016-10-25T22:05:38.000Z | 2020-10-01T16:41:56.000Z | app/views/tt/api/v1/split_details/show.json.jbuilder | HipsterBrown/test_track_rails_client | 10abd4ae94d635bbe6171a753ca155922c316d9b | [
"MIT"
] | 110 | 2016-10-26T02:20:26.000Z | 2021-05-12T20:04:28.000Z | app/views/tt/api/v1/split_details/show.json.jbuilder | bymealpal/test_track_rails_client | 91d514d22c90064230f76686cab78ec62a453702 | [
"MIT"
] | 22 | 2016-10-27T14:49:15.000Z | 2020-09-03T13:29:02.000Z | json.(@split_detail, :name, :hypothesis, :assignment_criteria, :description, :owner, :location, :platform)
| 53.5 | 106 | 0.757009 |
88bc4650d726d168c5b1014a3df5588f17428693 | 1,794 | rs | Rust | raknet/src/protocol/connection_request_accepted.rs | AnvilMC/anvil_bedrock | b22fdfd7aaed7cd9e11eec0aff3a8fad4315d9d8 | [
"Apache-2.0"
] | 3 | 2021-03-29T00:41:29.000Z | 2021-11-26T11:05:07.000Z | raknet/src/protocol/connection_request_accepted.rs | AnvilMC/anvil_bedrock | b22fdfd7aaed7cd9e11eec0aff3a8fad4315d9d8 | [
"Apache-2.0"
] | 2 | 2021-03-29T00:50:14.000Z | 2021-03-29T00:51:03.000Z | raknet/src/protocol/connection_request_accepted.rs | AnvilMC/anvil_bedrock | b22fdfd7aaed7cd9e11eec0aff3a8fad4315d9d8 | [
"Apache-2.0"
] | null | null | null | use std::{convert::TryInto, net::SocketAddr};
use crate::prelude::{Address, RaknetPacket, RaknetPacketData};
use super::ConnectionRequest;
pub struct ConnectionRequestAccepted {
pub client_adress: Address,
pub system_index: i16,
pub internal_ids: [Address; 10],
pub request_time: i64,
pub time: i6... | 28.03125 | 78 | 0.546823 |
0d432a184be9c8a49eff50e31df672e82eb83a1f | 2,057 | cs | C# | mko.Asp.Mvc.Test/Controllers/MathController.cs | mk-prg-net/mk-prg-net.lib | 1636a12de25ed3dfb1ade4ed6bf2bdb60fc05677 | [
"MIT"
] | null | null | null | mko.Asp.Mvc.Test/Controllers/MathController.cs | mk-prg-net/mk-prg-net.lib | 1636a12de25ed3dfb1ade4ed6bf2bdb60fc05677 | [
"MIT"
] | null | null | null | mko.Asp.Mvc.Test/Controllers/MathController.cs | mk-prg-net/mk-prg-net.lib | 1636a12de25ed3dfb1ade4ed6bf2bdb60fc05677 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using mko.Asp.Mvc.Test.Models;
namespace mko.Asp.Mvc.Test.Controllers
{
public class MathController : Controller
{
protected override void OnException(ExceptionContext filterContext)
{
... | 30.25 | 84 | 0.518717 |
b0d35e2080fbbf66b79f264964e717b80be5eb09 | 634 | py | Python | goclean.py | JerrieYuan/DrawItforSublimeText | 0ba8acd030a60bacd4a21227673b9af1005cad50 | [
"MIT"
] | 2 | 2016-02-06T02:15:35.000Z | 2016-02-09T06:59:25.000Z | goclean.py | JerrieYuan/DrawItforSublimeText | 0ba8acd030a60bacd4a21227673b9af1005cad50 | [
"MIT"
] | null | null | null | goclean.py | JerrieYuan/DrawItforSublimeText | 0ba8acd030a60bacd4a21227673b9af1005cad50 | [
"MIT"
] | null | null | null | import sublime, sublime_plugin, os
class GocleanCommand(sublime_plugin.TextCommand):
def run(self, edit):
spl = "/"
filename = self.view.file_name()
filename = filename.replace("\\",spl)
gosrcpath = os.path.join(os.getenv("GOPATH"),"src"+spl)
gosrcpath = gosrcpath.replace("\... | 37.294118 | 63 | 0.616719 |
ae69001a60a880ef66603254580a7971a6c7e865 | 8,736 | cs | C# | src/Analyzers/Core/Analyzers/UseIsNullCheck/AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | src/Analyzers/Core/Analyzers/UseIsNullCheck/AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | src/Analyzers/Core/Analyzers/UseIsNullCheck/AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeSty... | 39.174888 | 187 | 0.555975 |
66471c1bcf910bbfac3a5d1798572d1132da56b2 | 14,811 | py | Python | roverpro/rover_data.py | RoverRobotics/openrover_python | bbbd24596db9f1c4e5a57d92fca048e289b668f0 | [
"BSD-3-Clause"
] | 1 | 2020-05-20T18:43:28.000Z | 2020-05-20T18:43:28.000Z | roverpro/rover_data.py | RoverRobotics/openrover_python | bbbd24596db9f1c4e5a57d92fca048e289b668f0 | [
"BSD-3-Clause"
] | 3 | 2019-04-22T21:48:07.000Z | 2020-06-17T19:10:04.000Z | roverpro/rover_data.py | RoverRobotics/openrover_python | bbbd24596db9f1c4e5a57d92fca048e289b668f0 | [
"BSD-3-Clause"
] | 1 | 2020-08-16T21:40:00.000Z | 2020-08-16T21:40:00.000Z | import abc
import enum
import functools
import re
from typing import NamedTuple, Optional
class ReadDataFormat(abc.ABC):
python_type = None
@abc.abstractmethod
def description(self):
raise NotImplementedError
@abc.abstractmethod
def unpack(self, b: bytes):
raise NotImplementedErr... | 30.85625 | 97 | 0.629735 |
1a3f153b6496e72131bae8cb8f13d77c521410a0 | 42,940 | py | Python | classification/ecrire2.py | kachaloali/m1Stage | 9fd254637dca0aea7f0e930164079fd18c499284 | [
"MIT"
] | null | null | null | classification/ecrire2.py | kachaloali/m1Stage | 9fd254637dca0aea7f0e930164079fd18c499284 | [
"MIT"
] | null | null | null | classification/ecrire2.py | kachaloali/m1Stage | 9fd254637dca0aea7f0e930164079fd18c499284 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import commands
import operator
from optparse import OptionParser
parser = OptionParser(usage="%prog -f FILE, FILE,... -o FILE -l FILE")
parser.add_option("-f", "--files", dest="files",help ="The classification files separated by commas")
parser.add_option("-o", "--out", dest="out",he... | 57.948718 | 156 | 0.437215 |
a92f1496b7763411e2b31b9ea1e93672271cdaca | 3,050 | css | CSS | css/color/color-purple.css | iogit/silkroutefinalci | 07316dda57f492ef753ed8cd5af75d85a2a1ade2 | [
"MIT"
] | null | null | null | css/color/color-purple.css | iogit/silkroutefinalci | 07316dda57f492ef753ed8cd5af75d85a2a1ade2 | [
"MIT"
] | null | null | null | css/color/color-purple.css | iogit/silkroutefinalci | 07316dda57f492ef753ed8cd5af75d85a2a1ade2 | [
"MIT"
] | null | null | null | a, .vc_main-color, .vc_menu .vc_primary-menu > ul > li > a > i,.vc_contact-top i, .vc_address i, .vc_testimonial .icon-caret-down, .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus, .vc_anim .vc_category, .vc_blog-list .blog-row .blog-right h3 a:hover, .vc_pricing-table .price,... | 80.263158 | 788 | 0.71377 |
7d2feac86e578379277416be2a214f8e414779f1 | 6,468 | ps1 | PowerShell | CommonScripts/SqlSsisFunctions.ps1 | DrJohnT/devops-your-dwh | 9c06912b7fd82f2a05f3a2416ea73c509deb0ad9 | [
"MIT"
] | 2 | 2019-08-19T19:27:34.000Z | 2019-12-06T15:44:19.000Z | CommonScripts/SqlSsisFunctions.ps1 | DrJohnT/devops-your-dwh | 9c06912b7fd82f2a05f3a2416ea73c509deb0ad9 | [
"MIT"
] | null | null | null | CommonScripts/SqlSsisFunctions.ps1 | DrJohnT/devops-your-dwh | 9c06912b7fd82f2a05f3a2416ea73c509deb0ad9 | [
"MIT"
] | 4 | 2018-12-31T06:51:16.000Z | 2019-08-19T19:29:18.000Z | #####################################################################################################
# Script written by © Dr. John Tunnicliffe, 2015-2018 https://github.com/DrJohnT/devops-your-dwh
# This PowerShell script is released under the MIT license http://www.opensource.org/licenses/MIT
#
# Functions to build ... | 45.230769 | 203 | 0.69697 |
cc33636f94aaa0c120d5dd6d06d2b574222f3951 | 56,464 | lua | Lua | pandoc-zotxt.lua | odkr/pandoc-zotxt.lua | 068fe8a63c846b946b711062cd6161767b05f192 | [
"MIT"
] | 33 | 2018-07-24T22:03:01.000Z | 2022-03-23T19:33:12.000Z | pandoc-zotxt.lua | odkr/pandoc-zotxt.lua | 068fe8a63c846b946b711062cd6161767b05f192 | [
"MIT"
] | 9 | 2019-08-01T11:12:11.000Z | 2022-03-29T10:07:20.000Z | pandoc-zotxt.lua | odkr/pandoc-zotxt.lua | 068fe8a63c846b946b711062cd6161767b05f192 | [
"MIT"
] | 2 | 2020-12-21T04:48:12.000Z | 2021-04-12T15:18:48.000Z | ---
-- SYNOPSIS
-- --------
--
-- **pandoc** **-L** *pandoc-zotxt.lua* **-C**
--
--
-- DESCRIPTION
-- -----------
--
-- **pandoc-zotxt.lua** looks up sources of citations in Zotero and
-- adds them either to a document's "references" metadata field or
-- to a bibliography file, where Pandoc can pick them up.
--
-- You ... | 31.561766 | 102 | 0.596097 |
c9b51d740ca506f46d6f6272eb571f10a2679f47 | 6,909 | rs | Rust | mqttbytes/src/v5/pubrel.rs | IniterWorker/rumqtt | eb1713241584bf602bf3efe02ecceff0ed1c15d7 | [
"Apache-2.0"
] | 342 | 2020-06-25T01:00:36.000Z | 2022-03-28T21:46:35.000Z | mqttbytes/src/v5/pubrel.rs | IniterWorker/rumqtt | eb1713241584bf602bf3efe02ecceff0ed1c15d7 | [
"Apache-2.0"
] | 209 | 2020-06-30T16:49:01.000Z | 2022-03-31T08:11:37.000Z | mqttbytes/src/v5/pubrel.rs | thin-edge/rumqtt | 73e8ea2d91d3136c02c8eec55c9aa26076fa6ab7 | [
"Apache-2.0"
] | 102 | 2020-07-01T06:33:21.000Z | 2022-03-21T07:28:15.000Z | use super::*;
use bytes::{Buf, BufMut, Bytes, BytesMut};
/// Return code in connack
#[derive(Debug, Clone, Copy, PartialEq)]
#[repr(u8)]
pub enum PubRelReason {
Success = 0,
PacketIdentifierNotFound = 146,
}
/// Acknowledgement to QoS1 publish
#[derive(Debug, Clone, PartialEq)]
pub struct PubRel {
pub pki... | 29.029412 | 92 | 0.549139 |
e701c130bf4c62690d0caf8daf7d49991fcc2956 | 5,974 | php | PHP | storage/framework/views/ee51f4724e1043165f5af5cc8a2b86facf0859da.php | mdsaifulcse/mseab | 4e431534cbb1b9d31a024b1200a879b58c175e08 | [
"MIT"
] | null | null | null | storage/framework/views/ee51f4724e1043165f5af5cc8a2b86facf0859da.php | mdsaifulcse/mseab | 4e431534cbb1b9d31a024b1200a879b58c175e08 | [
"MIT"
] | null | null | null | storage/framework/views/ee51f4724e1043165f5af5cc8a2b86facf0859da.php | mdsaifulcse/mseab | 4e431534cbb1b9d31a024b1200a879b58c175e08 | [
"MIT"
] | null | null | null | <?php $__env->startSection('style'); ?>
<link rel="stylesheet" href="<?php echo e(asset('assets/backend/css/dropzone.css')); ?>">
<link rel="stylesheet" href="<?php echo e(asset('assets/backend/css/media-uploader.css')); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('site-title'); ?>
<?php... | 69.465116 | 288 | 0.436224 |
385554700d440f9ebf8b9432730ed7a29bc11964 | 16,039 | php | PHP | out/pages/terms-conditions.php | ebangali/Elegant | ba055702d8efea59956db008500e3f10e40c45c2 | [
"MIT"
] | null | null | null | out/pages/terms-conditions.php | ebangali/Elegant | ba055702d8efea59956db008500e3f10e40c45c2 | [
"MIT"
] | null | null | null | out/pages/terms-conditions.php | ebangali/Elegant | ba055702d8efea59956db008500e3f10e40c45c2 | [
"MIT"
] | 1 | 2022-03-24T22:44:51.000Z | 2022-03-24T22:44:51.000Z | <?php include_once (dirname(dirname(dirname(__FILE__))).'/initialize.php'); ?>
<?php
include_once(ebbd.'/dbconfig.php');
$adMin = new ebapps\dbconnection\dbconfig();
if(isset($adMin->eBAdminUserIsSet))
{
?>
<?php include_once (eblayout.'/a-common-header-icon.php'); ?>
<?php include_once (eblayout.'/a-common-header-titl... | 114.564286 | 871 | 0.771557 |
da65385464bd8f701299f82de25c802af1b95aef | 1,029 | php | PHP | app/Http/Controllers/UserReceiptsController.php | OmarFaruk20/Laravel_pos | 5a62a91f94f43cf20b4e98ec8e1e0d57303de5e3 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserReceiptsController.php | OmarFaruk20/Laravel_pos | 5a62a91f94f43cf20b4e98ec8e1e0d57303de5e3 | [
"MIT"
] | null | null | null | app/Http/Controllers/UserReceiptsController.php | OmarFaruk20/Laravel_pos | 5a62a91f94f43cf20b4e98ec8e1e0d57303de5e3 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Receipt;
use App\User;
use App\Http\Requests\ReceiptRequest;
use Illuminate\Support\Facades\Auth;
use Illuminate\Http\Request;
class UserReceiptsController extends Controller
{
public function __construct()
{
$this->data['tab_manu'] = 'receipts';
}
... | 26.384615 | 111 | 0.648202 |
5887226b4cee12caa513dfaac0735b43c227c288 | 6,499 | css | CSS | public/css/app.css | BorisKa11/basket | a186aec53a65d8facfd966d4f6c074ce642509d2 | [
"MIT"
] | null | null | null | public/css/app.css | BorisKa11/basket | a186aec53a65d8facfd966d4f6c074ce642509d2 | [
"MIT"
] | null | null | null | public/css/app.css | BorisKa11/basket | a186aec53a65d8facfd966d4f6c074ce642509d2 | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Nunito);*{padding:0;margin:0;box-sizing:border-box}#app{min-height:calc(100vh - 100px);max-width:1024px;width:95%;margin:0 auto}.alert{margin:20px;background-color:#0c5a9b;color:#fff;display:flex;align-items:center;padding:15px 25px;border-radius:12px}.frm_logout{disp... | 6,499 | 6,499 | 0.788737 |
a9eb3fd5d8331cd18db9001994fb0603cb07337d | 7,001 | php | PHP | resources/views/page/lienhe.blade.php | alinh99/laravelBarberShopVer2 | 49f25d5f8dd643498d1b4f4edbe5ab049cf5dce0 | [
"MIT"
] | null | null | null | resources/views/page/lienhe.blade.php | alinh99/laravelBarberShopVer2 | 49f25d5f8dd643498d1b4f4edbe5ab049cf5dce0 | [
"MIT"
] | 3 | 2021-02-02T21:36:42.000Z | 2022-02-27T11:15:45.000Z | resources/views/page/lienhe.blade.php | alinh99/laravelBarberShopVer2 | 49f25d5f8dd643498d1b4f4edbe5ab049cf5dce0 | [
"MIT"
] | null | null | null | @extends('master')
@section('content')
@include('page\modal-booking')
<div class="container">
<!-- Start: Contatti+gmap -->
<div id="page" class="page">
<section
class="padding-110px-tb bg-white builder-bg xs-padding-60px-tb border-none"
id="contact-section17"
>
... | 40.235632 | 254 | 0.41337 |
b69a96b43e4ff514adad4f65f4932b40aab46c57 | 8,982 | swift | Swift | BetterShoppingList/Persistence/Persistence.swift | xaviaracil/better-shopping-list | a9115e7caf2bcf75a6125c766d8f85fd9230b51c | [
"MIT"
] | null | null | null | BetterShoppingList/Persistence/Persistence.swift | xaviaracil/better-shopping-list | a9115e7caf2bcf75a6125c766d8f85fd9230b51c | [
"MIT"
] | null | null | null | BetterShoppingList/Persistence/Persistence.swift | xaviaracil/better-shopping-list | a9115e7caf2bcf75a6125c766d8f85fd9230b51c | [
"MIT"
] | null | null | null | //
// Persistence.swift
// BetterShoppingList
//
// Created by Xavi Aracil on 31/3/22.
//
import CoreData
import CloudKit
import Combine
class PersistenceController {
// MARK: - NSPersistentHistoryToken variables
var lastToken: NSPersistentHistoryToken? = nil {
didSet {
guard let token ... | 36.661224 | 149 | 0.60098 |
d87b4d253b758156a379f72dbe15839b6a140ddc | 59,306 | sql | SQL | create_table_from_word/base_table.sql | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | create_table_from_word/base_table.sql | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | create_table_from_word/base_table.sql | yongli82/CodeGenerator | 4ca9255c3c4c5392e45815fd20f605ccbbfd2325 | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS `FC_AccountingDimensionConfig`;
CREATE TABLE `FC_AccountingDimensionConfig` (
`Id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
`BusinessType` tinyint(4) NOT NULL DEFAULT 0 COMMENT '业务类型: 1团购, 2预约预订, 3结婚亲子, 4储值卡, 5广告, 6闪惠, 7费用, 8闪付, 9电影, 10点菜, 11KTV预订, 12点付宝',
`Dimension` varchar(64) C... | 53.284816 | 136 | 0.70057 |
6d26afd0844323fd8b842dcb7bc984f02c473230 | 208 | ts | TypeScript | jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts | menty44/tutorials | 96c1d20a2136786d4911ed7dd8b74d34c3800362 | [
"MIT"
] | null | null | null | jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts | menty44/tutorials | 96c1d20a2136786d4911ed7dd8b74d34c3800362 | [
"MIT"
] | null | null | null | jhipster/jhipster-monolithic/src/main/webapp/app/entities/comment/comment.model.ts | menty44/tutorials | 96c1d20a2136786d4911ed7dd8b74d34c3800362 | [
"MIT"
] | null | null | null | import {Post} from '../post';
export class Comment {
constructor(
public id?: number,
public text?: string,
public creationDate?: any,
public post?: Post,
) {
}
}
| 17.333333 | 34 | 0.538462 |
a166b46bab2553c6e376cc560b366d67ed401156 | 266 | ts | TypeScript | lib/components/app-sidenav/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 27 | 2017-12-13T19:21:26.000Z | 2022-01-06T10:15:13.000Z | lib/components/app-sidenav/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 383 | 2017-09-28T14:14:00.000Z | 2022-03-31T19:06:09.000Z | lib/components/app-sidenav/index.d.ts | mowcixo/ontimize-web-ngx-compiled | a100031f3fc1a50171a60e795b35aa1a26de9a99 | [
"Apache-2.0"
] | 17 | 2017-09-28T08:46:42.000Z | 2021-02-25T14:46:50.000Z | export * from './image/o-app-sidenav-image.component';
export * from './menu-group/o-app-sidenav-menu-group.component';
export * from './menu-item/o-app-sidenav-menu-item.component';
export * from './o-app-sidenav.component';
export * from './o-app-sidenav.module';
| 44.333333 | 64 | 0.718045 |
38ba6a4ba810998e6e6180d80f4131f1759684f3 | 4,592 | php | PHP | deleteAccounts.php | bradson85/PASCAL | 1d010d9c1f57dbc602742c489c2bd2af09a16485 | [
"BSD-3-Clause"
] | null | null | null | deleteAccounts.php | bradson85/PASCAL | 1d010d9c1f57dbc602742c489c2bd2af09a16485 | [
"BSD-3-Clause"
] | null | null | null | deleteAccounts.php | bradson85/PASCAL | 1d010d9c1f57dbc602742c489c2bd2af09a16485 | [
"BSD-3-Clause"
] | null | null | null | <?php session_start();?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Delete Accounts</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integ... | 32.567376 | 190 | 0.574042 |
10daf7dce7303daa0439194d9399e3926761060a | 384 | kt | Kotlin | math/src/main/java/com/kylecorry/sol/math/analysis/CosineWave.kt | kylecorry31/sol | 435041dc5c4c8f868a2ccc24cb4e1eaafe501a15 | [
"MIT"
] | 1 | 2021-09-24T05:25:57.000Z | 2021-09-24T05:25:57.000Z | math/src/main/java/com/kylecorry/sol/math/analysis/CosineWave.kt | kylecorry31/sol | 435041dc5c4c8f868a2ccc24cb4e1eaafe501a15 | [
"MIT"
] | 19 | 2021-09-04T21:50:36.000Z | 2021-12-07T00:34:46.000Z | math/src/main/java/com/kylecorry/sol/math/analysis/CosineWave.kt | kylecorry31/sol | 435041dc5c4c8f868a2ccc24cb4e1eaafe501a15 | [
"MIT"
] | 2 | 2021-11-11T19:51:26.000Z | 2021-12-11T05:32:18.000Z | package com.kylecorry.sol.math.analysis
import kotlin.math.cos
class CosineWave(
override val amplitude: Float,
override val frequency: Float,
override val horizontalShift: Float,
override val verticalShift: Float
) : Waveform {
override fun calculate(x: Float): Float {
return amplitude *... | 24 | 81 | 0.710938 |
7952149793404ac86afb1507f2416337f2e1d35d | 5,256 | php | PHP | web/2002-1/390/390_09_BackyardEvildoers.php | dww-circle/sw-d8 | 928881308e9f175d681cd0050deacbb22ecd5bb7 | [
"MIT"
] | null | null | null | web/2002-1/390/390_09_BackyardEvildoers.php | dww-circle/sw-d8 | 928881308e9f175d681cd0050deacbb22ecd5bb7 | [
"MIT"
] | 2 | 2021-05-08T22:38:12.000Z | 2022-02-10T17:50:38.000Z | web/2002-1/390/390_09_BackyardEvildoers.php | ISO-tech/sw-d8 | 928881308e9f175d681cd0050deacbb22ecd5bb7 | [
"MIT"
] | null | null | null | <html>
<head>
<title>
Evildoers in his backyard
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<table width=... | 87.6 | 406 | 0.756088 |
ce5a8621f9ca519c327f54da256ef1ebeaaa12e5 | 2,089 | kt | Kotlin | permissionhelper/src/main/java/com/midsizemango/permissionhelper/Permissions.kt | MidsizeMango/Permissions-Handler | 26f1f42db372fef811636bcbea43ff5d4ada494d | [
"MIT"
] | 1 | 2018-11-25T11:04:04.000Z | 2018-11-25T11:04:04.000Z | permissionhelper/src/main/java/com/midsizemango/permissionhelper/Permissions.kt | MidsizeMango/Permissions-Handler | 26f1f42db372fef811636bcbea43ff5d4ada494d | [
"MIT"
] | null | null | null | permissionhelper/src/main/java/com/midsizemango/permissionhelper/Permissions.kt | MidsizeMango/Permissions-Handler | 26f1f42db372fef811636bcbea43ff5d4ada494d | [
"MIT"
] | null | null | null | package com.midsizemango.permissionhelper
import android.Manifest
/**
* Created by prasad on 7/16/17.
*/
object Permissions {
val GROUP_CAMERA = Manifest.permission_group.CAMERA
val GROUP_CONTACTS = Manifest.permission_group.CONTACTS
val GROUP_CALENDAR = Manifest.permission_group.CALENDAR
val GROUP... | 40.173077 | 75 | 0.805649 |
f43faab60a3e52ff9a7afde341c433a0e73f6b7a | 6,580 | ts | TypeScript | storage/src/mem/key_value_store_mem.ts | formuladb/poc2 | 6aff67fd217e6193efcdd97d5ba34193f8ae8254 | [
"MIT"
] | 1 | 2022-02-05T16:07:42.000Z | 2022-02-05T16:07:42.000Z | storage/src/mem/key_value_store_mem.ts | formuladb/poc2 | 6aff67fd217e6193efcdd97d5ba34193f8ae8254 | [
"MIT"
] | null | null | null | storage/src/mem/key_value_store_mem.ts | formuladb/poc2 | 6aff67fd217e6193efcdd97d5ba34193f8ae8254 | [
"MIT"
] | null | null | null | /**
* © 2018 S.C. FORMULA DATABASE S.R.L.
* License TBD
*/
import { RangeQueryOptsI, KeyValueStoreFactoryI, KeyValueStoreI, KeyObjStoreI, kvsKey2Str, KeyTableStoreI, ScalarType, kvsReduceValues } from "@storage/key_value_store_i";
import * as _ from "lodash";
import { KeyValueObj, KeyValueError, KeyValueObjI... | 37.6 | 172 | 0.619149 |
4419ff8b97d4973d38305f9d1db86688eb0ee98f | 158 | py | Python | positive.py | rahul-samal/positive-no-in-a-range | 214e9bc7c31c1e3a72fc25f895914a14842d0f69 | [
"MIT"
] | null | null | null | positive.py | rahul-samal/positive-no-in-a-range | 214e9bc7c31c1e3a72fc25f895914a14842d0f69 | [
"MIT"
] | null | null | null | positive.py | rahul-samal/positive-no-in-a-range | 214e9bc7c31c1e3a72fc25f895914a14842d0f69 | [
"MIT"
] | null | null | null | list1=[12,-7,5,64,-14]
for num in list1:
if num>=0:
print(num,end=" ")
list2=[12,14,-95,3]
for num in list2:
if num>=0:
print(num,end=" ")
| 17.555556 | 24 | 0.537975 |
e5a931cd8c54c15bcc847eec82f7138b77b05af8 | 585 | kt | Kotlin | ecommerce-cart/src/test/kotlin/com/kotato/context/ecommerce/modules/cart/stub/CartCheckedOutEventStub.kt | anjeludo/axon-examples | a3a55431b0de2446c1e0058e22ba68d6baf260bc | [
"MIT"
] | 20 | 2018-02-20T23:48:02.000Z | 2022-01-21T07:56:58.000Z | ecommerce-cart/src/test/kotlin/com/kotato/context/ecommerce/modules/cart/stub/CartCheckedOutEventStub.kt | anjeludo/axon-examples | a3a55431b0de2446c1e0058e22ba68d6baf260bc | [
"MIT"
] | 1 | 2018-02-21T09:28:06.000Z | 2018-02-21T09:28:06.000Z | ecommerce-cart/src/test/kotlin/com/kotato/context/ecommerce/modules/cart/stub/CartCheckedOutEventStub.kt | anjeludo/axon-examples | a3a55431b0de2446c1e0058e22ba68d6baf260bc | [
"MIT"
] | 24 | 2018-02-19T20:06:13.000Z | 2022-03-14T00:28:13.000Z | package com.kotato.context.ecommerce.modules.cart.stub
import com.kotato.context.ecommerce.modules.cart.domain.checkout.CartCheckedOutEvent
import com.kotato.context.ecommerce.modules.order.stub.OrderIdStub
import java.time.ZonedDateTime
class CartCheckedOutEventStub {
companion object {
fun random(aggreg... | 41.785714 | 84 | 0.724786 |
66339ce83f38e414fa9f11177e154a8677ed132f | 8,041 | py | Python | foods3/direct_corn_supply_chain.py | taegon/spatial-scale-lca-us-corn | c76e8477a222e98ff1c28332006447d45b12960f | [
"CNRI-Python"
] | null | null | null | foods3/direct_corn_supply_chain.py | taegon/spatial-scale-lca-us-corn | c76e8477a222e98ff1c28332006447d45b12960f | [
"CNRI-Python"
] | null | null | null | foods3/direct_corn_supply_chain.py | taegon/spatial-scale-lca-us-corn | c76e8477a222e98ff1c28332006447d45b12960f | [
"CNRI-Python"
] | null | null | null | import csv
import os
import numpy as np
from foods3 import util
from gurobipy import *
county_size = 3109
def optimize_gurobi(supply_code, supply_corn, demand_code, demand_corn, dist_mat):
env = Env("gurobi_spatial_lca.log")
model = Model("lp_for_spatiallca")
var = []
# add constraint for corn prod... | 33.644351 | 130 | 0.596443 |
1a636e14697518b751cb3627dbe79d20cd05a390 | 420 | py | Python | Fundamentos de Algoritmos - Python/adivinhador/teste3.py | JuanLiraEst/Labs_Atividades_FEI | a73b31a4b5ebb87de02034b90fbb430afbb7a981 | [
"MIT"
] | null | null | null | Fundamentos de Algoritmos - Python/adivinhador/teste3.py | JuanLiraEst/Labs_Atividades_FEI | a73b31a4b5ebb87de02034b90fbb430afbb7a981 | [
"MIT"
] | null | null | null | Fundamentos de Algoritmos - Python/adivinhador/teste3.py | JuanLiraEst/Labs_Atividades_FEI | a73b31a4b5ebb87de02034b90fbb430afbb7a981 | [
"MIT"
] | null | null | null | lista = [4,14,24,34,44]
q4 = int(input("a soma dos dois dígitos é igual a?"))
numero_final = []
for x in range(len(lista)):
valor = str(lista[x])
dig_um = int(valor[0])
if lista[x]>9:
dig_dois = int(valor[1])
if lista[x]<10:
if dig_um== q4:
numero_final.append(lista[... | 21 | 53 | 0.57381 |
79540e5a8c528eb6be4a0ce92bec4ca21b894303 | 59,672 | php | PHP | commonfunc.php | bee7813993/KaraokeRequestorWeb | 157e789ba259ffb240e807d7089ce9b6404d4df0 | [
"Apache-2.0"
] | 8 | 2016-11-16T16:29:25.000Z | 2021-05-05T17:10:53.000Z | commonfunc.php | bee7813993/KaraokeRequestorWeb | 157e789ba259ffb240e807d7089ce9b6404d4df0 | [
"Apache-2.0"
] | 107 | 2015-01-25T15:41:00.000Z | 2021-12-12T08:56:18.000Z | commonfunc.php | bee7813993/KaraokeRequestorWeb | 157e789ba259ffb240e807d7089ce9b6404d4df0 | [
"Apache-2.0"
] | 3 | 2015-05-03T01:16:21.000Z | 2022-02-11T16:32:23.000Z | <?php
require_once 'kara_config.php';
require_once 'prioritydb_func.php';
//require_once("getid3/getid3.php");
$showsonglengthflag = 0;
$user='normal';
if (isset($_SERVER['PHP_AUTH_USER'])){
if ($_SERVER['PHP_AUTH_USER'] === 'admin'){
// print '管理者ログイン中<br>';
$user=$_SERVER['PHP_AUTH_USER'];
... | 30.679692 | 204 | 0.544476 |
2fd55a9541f3cdf811e93acd233be903776f8c4b | 2,268 | py | Python | spNQueenTheorem/generator.py | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | spNQueenTheorem/generator.py | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | spNQueenTheorem/generator.py | lightofanima/Adventures | efb9d001520ff0b88746d8b3cf024de3307e45c7 | [
"MIT"
] | null | null | null | # This script generates a theorem for them Z3 SAT solver. The output of this program
# is designed to be the input for http://rise4fun.com/z3
# The output of z3 is the coordinates of the queens for a solution to the N Queen problem :)
#Prints an assert statement
def zassert(x):
print("( assert ( {} ) )".format(x)... | 36 | 211 | 0.507055 |
1f00680a4b855af02642eac0a7e207be5c37a587 | 8,438 | cs | C# | src/Compilers/Core/Portable/Symbols/PlatformInvokeInformation.cs | pottereric/roslyn | 4bab250a3730d81264524e65befddb5c5d84e059 | [
"Apache-2.0"
] | 1 | 2021-04-18T03:29:16.000Z | 2021-04-18T03:29:16.000Z | src/Compilers/Core/Portable/Symbols/PlatformInvokeInformation.cs | pottereric/roslyn | 4bab250a3730d81264524e65befddb5c5d84e059 | [
"Apache-2.0"
] | null | null | null | src/Compilers/Core/Portable/Symbols/PlatformInvokeInformation.cs | pottereric/roslyn | 4bab250a3730d81264524e65befddb5c5d84e059 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
using Cci = Microsoft.Cci;
namespace Microsoft.CodeAnalysis... | 33.484127 | 186 | 0.524176 |
b45b17206a4feda670a47fe421b40131ad6858c5 | 76 | sql | SQL | hackerrank/sql/regularExpressions/weather-observation-station-9.sql | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | 1 | 2016-02-11T21:28:22.000Z | 2016-02-11T21:28:22.000Z | hackerrank/sql/regularExpressions/weather-observation-station-9.sql | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | null | null | null | hackerrank/sql/regularExpressions/weather-observation-station-9.sql | civilian/competitive_programing | a6ae7ad0db84240667c1dd6231c51c586ba040c7 | [
"MIT"
] | null | null | null | SELECT DISTINCT city
FROM station
WHERE city RLIKE '^(?![aeiouAEIOU]).*$' | 25.333333 | 40 | 0.697368 |
43c0f9e0722c4164bea18a164420e88131585e06 | 2,091 | sql | SQL | models/staging/edfi/stg_edfi_survey_responses.sql | K12-Analytics-Engineering/dbt | e7863556a148979729855743666737e74ba650d2 | [
"Apache-2.0"
] | 1 | 2022-03-21T13:50:43.000Z | 2022-03-21T13:50:43.000Z | models/staging/edfi/stg_edfi_survey_responses.sql | K12-Analytics-Engineering/dbt | e7863556a148979729855743666737e74ba650d2 | [
"Apache-2.0"
] | null | null | null | models/staging/edfi/stg_edfi_survey_responses.sql | K12-Analytics-Engineering/dbt | e7863556a148979729855743666737e74ba650d2 | [
"Apache-2.0"
] | null | null | null | select NULL as column1
{#
with parsed_data as (
select
date_extracted as date_extracted,
school_year as school_year,
json_value(data, '$.id') as id,
json_value(data, '$.surveyResponseIdentifier') as survey_response_identifier,
... | 41 | 118 | 0.638451 |
4a306eb83d05376c694f57c5e0e9bec82420aaa2 | 656 | swift | Swift | Sources/SwiftYFinance/Classes/DataTypes/RecentStockData.swift | thealpa/SwiftYFinance | 412d3126cbf732fe05584a2952350f63ce5f59dd | [
"MIT"
] | 21 | 2020-08-12T11:11:15.000Z | 2022-02-20T19:38:27.000Z | SwiftYFinance/Classes/DataTypes/RecentStockData.swift | daimajia/SwiftYFinance | e7a32c62d9e6c0d566c04782d98b213f56d6b035 | [
"MIT"
] | 2 | 2020-08-24T09:19:54.000Z | 2021-07-27T10:41:54.000Z | SwiftYFinance/Classes/DataTypes/RecentStockData.swift | daimajia/SwiftYFinance | e7a32c62d9e6c0d566c04782d98b213f56d6b035 | [
"MIT"
] | 5 | 2021-01-07T03:48:05.000Z | 2021-12-17T23:38:30.000Z | //
// RecentStockData.swift
// SwiftYFinance
//
// Created by Александр Дремов on 12.08.2020.
//
import Foundation
public struct RecentStockData{
public var currency: String?
public var symbol: String?
public var exchangeName: String?
public var instrumentType: String?
public var firstTradeDate... | 25.230769 | 46 | 0.721037 |
996a578e4886c8a08006904631008011afcdf2fb | 742 | rs | Rust | src/commands/owner/log.rs | Mishio595/momiji-rust | c9208c85fc47f9b09ffe9b77bd87f7769b04383a | [
"MIT"
] | 4 | 2018-05-31T18:41:05.000Z | 2020-08-26T16:34:19.000Z | src/commands/owner/log.rs | Mishio595/momiji-rust | c9208c85fc47f9b09ffe9b77bd87f7769b04383a | [
"MIT"
] | null | null | null | src/commands/owner/log.rs | Mishio595/momiji-rust | c9208c85fc47f9b09ffe9b77bd87f7769b04383a | [
"MIT"
] | null | null | null | // use momiji::core::consts::*;
use momiji::Context;
use momiji::framework::args::Args;
use momiji::framework::command::{Command, Options};
use twilight_model::channel::Message;
use std::sync::Arc;
use std::error::Error;
pub struct Log;
#[async_trait]
impl Command for Log {
fn options(&self) -> Arc<Options> {
... | 28.538462 | 117 | 0.617251 |