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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
884ba8267cd9ac2f5e5de1c6b5518bad418d4728 | 1,470 | dart | Dart | lib/providers/dashboard_provider.dart | devShakib015/wantsbucks_admin | 2c612a0dec0a064825e40ae5d08ded0d04cb2108 | [
"MIT"
] | null | null | null | lib/providers/dashboard_provider.dart | devShakib015/wantsbucks_admin | 2c612a0dec0a064825e40ae5d08ded0d04cb2108 | [
"MIT"
] | null | null | null | lib/providers/dashboard_provider.dart | devShakib015/wantsbucks_admin | 2c612a0dec0a064825e40ae5d08ded0d04cb2108 | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/cupertino.dart';
class DashboardProvider extends ChangeNotifier {
Future<Map<String, int>> getDashBoardInfo() async {
Map<String, int> _dashboard = {
"totalUsers": 0,
"totalPayable": 0,
"totalWithdrawRequest": 0,
... | 29.4 | 79 | 0.571429 |
9cc3a63a681b5192d1cde6ea95932d5e1fa96a7f | 9,418 | rs | Rust | guppy/src/platform/summaries.rs | Guiguiprim/cargo-guppy | 36bc3e1716c1b5b02bab3d70118bec7f30add471 | [
"Apache-2.0",
"MIT"
] | 252 | 2020-04-14T05:54:21.000Z | 2022-03-29T07:34:21.000Z | guppy/src/platform/summaries.rs | Guiguiprim/cargo-guppy | 36bc3e1716c1b5b02bab3d70118bec7f30add471 | [
"Apache-2.0",
"MIT"
] | 145 | 2020-04-07T18:52:06.000Z | 2022-03-29T00:05:05.000Z | guppy/src/platform/summaries.rs | Guiguiprim/cargo-guppy | 36bc3e1716c1b5b02bab3d70118bec7f30add471 | [
"Apache-2.0",
"MIT"
] | 14 | 2020-04-27T23:43:13.000Z | 2022-03-22T17:27:25.000Z | // Copyright (c) The cargo-guppy Contributors
// SPDX-License-Identifier: MIT OR Apache-2.0
use crate::{errors::TargetSpecError, platform::PlatformSpec};
use std::sync::Arc;
pub use target_spec::summaries::{PlatformSummary, TargetFeaturesSummary};
/// A serializable version of [`PlatformSpec`].
///
/// Requires the `... | 37.225296 | 131 | 0.572839 |
dd72ee08531cb9738320fe0f7651bd175b6bb58d | 1,515 | java | Java | myshop-plus-business/business-reg/src/main/java/com/loven/myshop/plus/business/reg/controller/v1/RegisterController.java | Transme/MyshopPlus | cb3fc1611fe9ef97f37b8fee4fbe44b48cc6bb1d | [
"Apache-2.0"
] | 1 | 2020-05-28T05:21:13.000Z | 2020-05-28T05:21:13.000Z | myshop-plus-business/business-reg/src/main/java/com/loven/myshop/plus/business/reg/controller/v1/RegisterController.java | Transme/MyshopPlus | cb3fc1611fe9ef97f37b8fee4fbe44b48cc6bb1d | [
"Apache-2.0"
] | null | null | null | myshop-plus-business/business-reg/src/main/java/com/loven/myshop/plus/business/reg/controller/v1/RegisterController.java | Transme/MyshopPlus | cb3fc1611fe9ef97f37b8fee4fbe44b48cc6bb1d | [
"Apache-2.0"
] | null | null | null | package com.loven.myshop.plus.business.reg.controller.v1;
import com.loven.myshop.plus.business.reg.dto.RegisterInfo;
import com.loven.myshop.plus.common.constant.CodeStatus;
import com.loven.myshop.plus.provider.admin.service.domain.UmsAdmin;
import com.loven.myshop.plus.business.reg.service.RegisterService;
import c... | 34.431818 | 97 | 0.750495 |
145c8c0fd67447c4bec6277f84812afcda0f1574 | 6,181 | ts | TypeScript | src/helpers/incidents.ts | Nirmitjatana/cli | 35bef580627221af8eab446e6f6bb2703b52915b | [
"MIT"
] | null | null | null | src/helpers/incidents.ts | Nirmitjatana/cli | 35bef580627221af8eab446e6f6bb2703b52915b | [
"MIT"
] | null | null | null | src/helpers/incidents.ts | Nirmitjatana/cli | 35bef580627221af8eab446e6f6bb2703b52915b | [
"MIT"
] | null | null | null | import {dump, load} from 'js-yaml'
import {readFile, ensureFile, appendFile, writeFile} from 'fs-extra'
import path from 'path'
import {Incidents, MemoizedIncidents, UppConfig} from '../interfaces'
import slugify from '@sindresorhus/slugify'
import {commit} from './git'
import {getConfig} from './config'
import {infoEr... | 34.530726 | 214 | 0.684841 |
cddf04769d75e0cf6001e3f171a4f609fb193480 | 3,786 | cs | C# | src/L2-foundation/BoSSS.Foundation.XDG/Quadrature/BruteForceSubdivisionStrategy.cs | FDYdarmstadt/BoSSS | 974f3eee826424a213e68d8d456d380aeb7cd7e9 | [
"Apache-2.0"
] | 22 | 2017-06-08T05:53:17.000Z | 2021-05-25T13:12:17.000Z | src/L2-foundation/BoSSS.Foundation.XDG/Quadrature/BruteForceSubdivisionStrategy.cs | leyel/BoSSS | 39f58a1a64a55e44f51384022aada20a5b425230 | [
"Apache-2.0"
] | 1 | 2020-07-20T15:32:56.000Z | 2020-07-20T15:34:22.000Z | src/L2-foundation/BoSSS.Foundation.XDG/Quadrature/BruteForceSubdivisionStrategy.cs | leyel/BoSSS | 39f58a1a64a55e44f51384022aada20a5b425230 | [
"Apache-2.0"
] | 12 | 2018-01-05T19:52:35.000Z | 2021-05-07T07:49:27.000Z | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 39.4375 | 123 | 0.609086 |
842dfb1582173d77f0451a08a309ad9ae0cc076e | 120 | csx | C# | src/FunConcurrency/src/.paket/load/net461/System.Reflection.csx | markpattison/parallel-patterns | 1990be216d0dfaf45a8b8297d3693d1757b5916e | [
"MIT"
] | 14 | 2019-04-29T12:08:01.000Z | 2021-11-15T10:42:19.000Z | src/FunConcurrency/src/.paket/load/net461/System.Reflection.csx | markpattison/parallel-patterns | 1990be216d0dfaf45a8b8297d3693d1757b5916e | [
"MIT"
] | null | null | null | src/FunConcurrency/src/.paket/load/net461/System.Reflection.csx | markpattison/parallel-patterns | 1990be216d0dfaf45a8b8297d3693d1757b5916e | [
"MIT"
] | 5 | 2019-04-29T08:05:29.000Z | 2021-04-30T15:18:17.000Z | namespace PaketLoadScripts
#load "System.IO.csx"
#load "System.Reflection.Primitives.csx"
#load "System.Runtime.csx" | 24 | 41 | 0.775 |
ef776e21c81edd6b02f6962a10ed3a493ac44c71 | 4,025 | h | C | Utilities/LjsFileUtilities.h | jmoody/LJS | 85851d13783e8ec4605c6aa4c01deaa8562c29e6 | [
"BSD-3-Clause"
] | 8 | 2015-04-26T21:34:41.000Z | 2018-04-23T07:40:31.000Z | Utilities/LjsFileUtilities.h | jmoody/LJS | 85851d13783e8ec4605c6aa4c01deaa8562c29e6 | [
"BSD-3-Clause"
] | null | null | null | Utilities/LjsFileUtilities.h | jmoody/LJS | 85851d13783e8ec4605c6aa4c01deaa8562c29e6 | [
"BSD-3-Clause"
] | 2 | 2015-07-17T12:07:58.000Z | 2020-11-04T06:36:29.000Z | // Copyright 2011 The Little Joy Software Company. All rights reserved.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// * Redistributions of source code must retain the above copyrig... | 43.27957 | 115 | 0.728944 |
85a5b557c576420071a6e01995d3e67aec51b2aa | 6,034 | dart | Dart | flutter-hms-site/example/lib/screens/text_search_screen.dart | MilosKarakas/hms-flutter-plugin | 7e08c137a0c4549b7723cf74970ccb6329857539 | [
"Apache-2.0"
] | 1 | 2021-04-02T02:37:54.000Z | 2021-04-02T02:37:54.000Z | flutter-hms-site/example/lib/screens/text_search_screen.dart | MilosKarakas/hms-flutter-plugin | 7e08c137a0c4549b7723cf74970ccb6329857539 | [
"Apache-2.0"
] | null | null | null | flutter-hms-site/example/lib/screens/text_search_screen.dart | MilosKarakas/hms-flutter-plugin | 7e08c137a0c4549b7723cf74970ccb6329857539 | [
"Apache-2.0"
] | 1 | 2022-03-18T18:44:03.000Z | 2022-03-18T18:44:03.000Z | /*
Copyright 2020-2021. Huawei Technologies Co., Ltd. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Un... | 34.284091 | 78 | 0.598774 |
1c04a7d1ae3bf5e8e07dc752a1d116d9b068572a | 440 | sql | SQL | GIPrva/dbo/Views/v_Link_BikeUse.sql | robhubi/GIPrva | d70a1ea94bbf6a2c0c3d26a55161ce7e11819c90 | [
"MIT"
] | 1 | 2021-12-08T10:46:44.000Z | 2021-12-08T10:46:44.000Z | GIPrva/dbo/Views/v_Link_BikeUse.sql | robhubi/GIPrva | d70a1ea94bbf6a2c0c3d26a55161ce7e11819c90 | [
"MIT"
] | null | null | null | GIPrva/dbo/Views/v_Link_BikeUse.sql | robhubi/GIPrva | d70a1ea94bbf6a2c0c3d26a55161ce7e11819c90 | [
"MIT"
] | null | null | null | CREATE VIEW dbo.v_Link_BikeUse
AS
SELECT LINK_ID,
(ACCESS_TOW | ACCESS_BKW & 0x2) / 2 AS cACC_BIKE,
((ACCESS_TOW & 0x2) - (ACCESS_BKW & 0x2)) / 2 AS cACC_BIKE_ONEWAY,
ACCESS_TOW | ACCESS_BKW & 0x1 AS cACC_Hike,
(ACCESS_TOW | ACCESS_BKW & 0x4) / 4 AS cACC_Car,
((ACCESS_TOW & 0x4) - (ACCES... | 40 | 71 | 0.656818 |
3d0d45e84f5fa40d3779539537120723d7ecf9e8 | 12,646 | lua | Lua | src/StarterGui/equipment.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | 91 | 2020-10-28T23:25:05.000Z | 2022-03-20T23:01:32.000Z | src/StarterGui/equipment.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | null | null | null | src/StarterGui/equipment.lua | jordytje1/vesteria | b31879b4fb035d47ed88657481e77ffbeea04be4 | [
"Apache-2.0"
] | 32 | 2020-10-29T00:03:51.000Z | 2022-03-30T00:48:42.000Z | local module = {}
local replicatedStorage = game:GetService("ReplicatedStorage")
local modules = require(replicatedStorage.modules)
local network = modules.load("network")
local utilities = modules.load("utilities")
local mapping = modules.load("mapping")
local enchantment = modules.load("enchantment")
local itemDat... | 34.271003 | 154 | 0.746402 |
c9eb706b9496ec866386aaa68bfbab2e99446b9c | 3,200 | ts | TypeScript | projects/storefrontlib/src/cms-components/misc/icon/icon-component.spec.ts | skyyuweiwen/spa-cloned | 9f0fc77192c9589dd179f59c1d14c7583adc89b0 | [
"Apache-2.0"
] | null | null | null | projects/storefrontlib/src/cms-components/misc/icon/icon-component.spec.ts | skyyuweiwen/spa-cloned | 9f0fc77192c9589dd179f59c1d14c7583adc89b0 | [
"Apache-2.0"
] | null | null | null | projects/storefrontlib/src/cms-components/misc/icon/icon-component.spec.ts | skyyuweiwen/spa-cloned | 9f0fc77192c9589dd179f59c1d14c7583adc89b0 | [
"Apache-2.0"
] | null | null | null | import { Component, Renderer2 } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { IconLoaderService } from './icon-loader.service';
import { IconModule } from './icon.module';
@Component({
selector: 'cx-icon-test',... | 28.318584 | 87 | 0.638438 |
7d6ca647a49a256aef8ed2c2aeb55e0160f9e82b | 1,427 | lua | Lua | gui/textbox.lua | bizzfuzz/house | 03c00ff90e9b8581a493c5b42a229a3ed9104cd9 | [
"MIT"
] | null | null | null | gui/textbox.lua | bizzfuzz/house | 03c00ff90e9b8581a493c5b42a229a3ed9104cd9 | [
"MIT"
] | null | null | null | gui/textbox.lua | bizzfuzz/house | 03c00ff90e9b8581a493c5b42a229a3ed9104cd9 | [
"MIT"
] | null | null | null |
TextBox = Class
{
init = function(self, label,x,y,w,h)
self.x,self.y=x,y
self.label=label
self.width = w or 200
self.height = h or 80
self.value=''
self.set=false
self.active=false
end;
draw = function(self)
if self.active then
rbo... | 28.54 | 73 | 0.553609 |
9fed4bbc78710f68c6a6c129f348d88062a6fdd1 | 887 | py | Python | core/preprocessing/base.py | mamalmaleki/machine-learning-a-z | 22d812c72e3d1790e7b9d0979a5b07f249168a5f | [
"MIT"
] | null | null | null | core/preprocessing/base.py | mamalmaleki/machine-learning-a-z | 22d812c72e3d1790e7b9d0979a5b07f249168a5f | [
"MIT"
] | null | null | null | core/preprocessing/base.py | mamalmaleki/machine-learning-a-z | 22d812c72e3d1790e7b9d0979a5b07f249168a5f | [
"MIT"
] | null | null | null | import pandas as pd
from sklearn.model_selection import train_test_split
class BasePreprocessor():
def __init__(self, file_name):
self._dataset = pd.read_csv(file_name)
self._x = self._dataset.iloc[:, :-1].values
self._y = self._dataset.iloc[:, -1].values
def get_dataset(self):
... | 22.74359 | 69 | 0.655017 |
e82f4676635e8b0699c81bc751ca2c702afcb145 | 9,469 | cs | C# | Assets/scripts/GenerateMesh.cs | rystills/procedural-mesh-generator | f9177fb4650126c4bb1c2ee405d580e27369cd37 | [
"Apache-2.0"
] | 8 | 2017-05-15T20:08:18.000Z | 2021-06-24T04:52:00.000Z | Assets/scripts/GenerateMesh.cs | rystills/procedural-mesh-generator | f9177fb4650126c4bb1c2ee405d580e27369cd37 | [
"Apache-2.0"
] | 9 | 2017-02-09T07:28:36.000Z | 2017-02-23T03:48:35.000Z | Assets/scripts/GenerateMesh.cs | rystills/procedural-mesh-generator | f9177fb4650126c4bb1c2ee405d580e27369cd37 | [
"Apache-2.0"
] | 2 | 2017-10-25T11:44:56.000Z | 2021-11-14T14:51:43.000Z | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class GenerateMesh : MonoBehaviour {
public Material material;
public Material material2;
public List<int> triangles;
public VertexDict vertDict;
public List<Vector3> vertices;
public List<Vector2> uvs;
pub... | 39.128099 | 213 | 0.718555 |
38ad43c3d3bedc8d7afb60fe711b943dd4b2acfb | 1,261 | php | PHP | src/Model/Validator/InValidator.php | Stratafw/strata | 5ce649779471ebc5aa7d70b21ce74ab48457c57f | [
"MIT"
] | null | null | null | src/Model/Validator/InValidator.php | Stratafw/strata | 5ce649779471ebc5aa7d70b21ce74ab48457c57f | [
"MIT"
] | 1 | 2015-04-28T19:09:54.000Z | 2015-04-28T19:09:54.000Z | src/Model/Validator/InValidator.php | Stratafw/strata | 5ce649779471ebc5aa7d70b21ce74ab48457c57f | [
"MIT"
] | null | null | null | <?php
namespace Strata\Model\Validator;
use Exception;
class InValidator extends Validator
{
/**
* {@inheritdoc}
*/
public function init()
{
$this->setMessage(__("This is not a valid selection.", $this->getTextdomain()));
}
/**
* {@inheritdoc}
*/
public function ... | 22.517857 | 89 | 0.565424 |
0364b167b5aa155d9e7277d875610bc905f49d52 | 5,574 | rb | Ruby | lib/msfrpc-simple/module_mapper.rb | pwnieexpress/msfrpc-simple | 751460d0eceb23c486ca7113928a13525a8a1311 | [
"BSD-3-Clause"
] | 2 | 2016-01-12T17:54:37.000Z | 2020-03-25T05:21:41.000Z | lib/msfrpc-simple/module_mapper.rb | pentestify/msfrpc-simple | 24e4f1536ef8facddaf08e304a340c0903762a37 | [
"BSD-3-Clause"
] | null | null | null | lib/msfrpc-simple/module_mapper.rb | pentestify/msfrpc-simple | 24e4f1536ef8facddaf08e304a340c0903762a37 | [
"BSD-3-Clause"
] | 2 | 2015-09-17T03:29:17.000Z | 2020-03-25T05:21:42.000Z | module Msf
module RPC
module Simple
module ModuleMapper
# Public: Get all discovery modules, given a host endpoint
#
# This method may seem poorly abstracted but you must pass in an IP address
# in order to compensate for the different ways that modules ... | 37.409396 | 106 | 0.518299 |
0db91720d5a279b2cd5cf5663f449ed0aeffe48f | 2,063 | dart | Dart | test/hydrated_bloc_storage_test.dart | misterfourtytwo/hydrated_bloc | ff623a2f975a35d99049a3e7ef132c50434ecdbe | [
"MIT"
] | null | null | null | test/hydrated_bloc_storage_test.dart | misterfourtytwo/hydrated_bloc | ff623a2f975a35d99049a3e7ef132c50434ecdbe | [
"MIT"
] | null | null | null | test/hydrated_bloc_storage_test.dart | misterfourtytwo/hydrated_bloc | ff623a2f975a35d99049a3e7ef132c50434ecdbe | [
"MIT"
] | null | null | null | import 'dart:io';
import 'dart:convert';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
void main() {
group('HydratedBlocStorage', () {
const MethodChannel channel =
MethodChannel('plugins.flutter.io/path_provide... | 31.257576 | 80 | 0.614639 |
c6b714b1307ffae42b91d2acf7253e138b1d3278 | 16,500 | py | Python | sppas/sppas/src/anndata/anndataexc.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/anndata/anndataexc.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | sppas/sppas/src/anndata/anndataexc.py | mirfan899/MTTS | 3167b65f576abcc27a8767d24c274a04712bd948 | [
"MIT"
] | null | null | null | # -*- coding: UTF-8 -*-
"""
..
---------------------------------------------------------------------
___ __ __ __ ___
/ | \ | \ | \ / the automatic
\__ |__/ |__/ |___| \__ annotation and
\ | | | | \ ... | 26.066351 | 79 | 0.464667 |
f9acb47ead73f73361d30cd6648ed347c78c3214 | 939 | html | HTML | towel_foundation/templates/towel/_form_item.html | barseghyanartur/towel-foundation | a2bcb066ff321a13b7cb6284bb09945a837156c1 | [
"BSD-3-Clause"
] | 1 | 2019-02-11T14:55:08.000Z | 2019-02-11T14:55:08.000Z | towel_foundation/templates/towel/_form_item.html | barseghyanartur/towel-foundation | a2bcb066ff321a13b7cb6284bb09945a837156c1 | [
"BSD-3-Clause"
] | 1 | 2019-02-11T18:39:46.000Z | 2019-02-11T18:39:46.000Z | towel_foundation/templates/towel/_form_item.html | barseghyanartur/towel-foundation | a2bcb066ff321a13b7cb6284bb09945a837156c1 | [
"BSD-3-Clause"
] | 2 | 2015-09-07T09:19:50.000Z | 2019-02-11T14:54:17.000Z | {% load foundation_tags %}
<div
class="{{ additional_classes|default:'' }} {{ item.field.required|yesno:'required,' }} {{ item.errors|yesno:'error,' }} type-{{ type_class }} field-{{ item.name }}"
{% if 'date' in type_class %}data-date-format="{% date_format %}"{% endif %}
>
{% if "hidden" in type_class %}
... | 30.290323 | 166 | 0.518637 |
e29ffbca8d4642949bec32a2f586fdd560922189 | 1,864 | js | JavaScript | v1.js | alpcoskun/nduuid | b24deeb5af853a43090720ddfc2562dbbf38731e | [
"MIT"
] | 2 | 2019-08-12T13:38:06.000Z | 2021-01-26T15:22:31.000Z | v1.js | alpcoskun/nduuid | b24deeb5af853a43090720ddfc2562dbbf38731e | [
"MIT"
] | null | null | null | v1.js | alpcoskun/nduuid | b24deeb5af853a43090720ddfc2562dbbf38731e | [
"MIT"
] | null | null | null | const { randomBytes } = require('crypto');
const hexBytes = require('./hexBytes');
let id;
let _clockseq;
let prevMSecs = 0;
let prevNSecs = 0;
// Inspired by https://github.com/kelektiv/node-uuid
/**
* @returns {String} uuid v1 without dashes
*/
function v1() {
const r = [];
let i = 0;
let node = id;
l... | 20.26087 | 67 | 0.513948 |
79e0b727f3d68d5a32f3a7fce8854be43fb05c68 | 5,775 | php | PHP | resources/views/layouts/navigation.blade.php | rodrixcornell/webapp-laravel | f4782eb3262d954047758f2972574ae116953637 | [
"MIT"
] | null | null | null | resources/views/layouts/navigation.blade.php | rodrixcornell/webapp-laravel | f4782eb3262d954047758f2972574ae116953637 | [
"MIT"
] | null | null | null | resources/views/layouts/navigation.blade.php | rodrixcornell/webapp-laravel | f4782eb3262d954047758f2972574ae116953637 | [
"MIT"
] | null | null | null | <nav class="navbar navbar-expand-md navbar-dark bg-dark shadow-sm">
<div class="container">
<a class="navbar-brand" href="{{ url('/') }}">
<svg viewBox="0 0 316 316" xmlns="http://www.w3.org/2000/svg" width="30" height="30"
class="d-inline-block align-top">
<path
d="M305.8 81.125C305.77 80.995 305.69... | 72.1875 | 2,952 | 0.670649 |
5bd45961f53eca9ba6e10c1c146a5efe816d156d | 93 | dart | Dart | lib/services/measures/main.dart | google-dsc-comp/tailor_made | f9abdfd24554fc52cf52c6f8fc6b1341b5f00d63 | [
"MIT"
] | 260 | 2018-04-14T18:05:49.000Z | 2022-03-23T06:34:09.000Z | lib/services/measures/main.dart | jahanzeb-j/tailor_made | f9abdfd24554fc52cf52c6f8fc6b1341b5f00d63 | [
"MIT"
] | 10 | 2018-07-14T07:20:51.000Z | 2020-04-09T05:38:47.000Z | lib/services/measures/main.dart | jahanzeb-j/tailor_made | f9abdfd24554fc52cf52c6f8fc6b1341b5f00d63 | [
"MIT"
] | 97 | 2018-05-03T10:36:18.000Z | 2022-03-24T22:10:43.000Z | export './measures.dart';
export './measures_impl.dart';
export './measures_mock_impl.dart';
| 23.25 | 35 | 0.741935 |
05ab679cdaaa5f7af0c0934683e01ee3b70733ac | 251 | rb | Ruby | app/models/landing_tool/concerns/archivable.rb | pokrovskyy/landing-tool | 7d0c6de1d3d9d845d558e085434da063d6447562 | [
"MIT"
] | null | null | null | app/models/landing_tool/concerns/archivable.rb | pokrovskyy/landing-tool | 7d0c6de1d3d9d845d558e085434da063d6447562 | [
"MIT"
] | null | null | null | app/models/landing_tool/concerns/archivable.rb | pokrovskyy/landing-tool | 7d0c6de1d3d9d845d558e085434da063d6447562 | [
"MIT"
] | null | null | null | module LandingTool
module Concerns::Archivable
def archive!
update_attribute(:archived_at, DateTime.now)
end
def unarchive!
update_attribute(:archived_at, nil)
end
def archived?
!!archived_at
end
end
end | 16.733333 | 50 | 0.669323 |
79abf6dda325429b10a277268298b7eba44eb986 | 2,352 | php | PHP | database/seeds/GallerySeeder.php | agusID/ZooQ | 44464d242a8deb5403a6e7aa0e790b3438297e9c | [
"MIT"
] | 2 | 2019-07-21T17:04:52.000Z | 2019-07-22T01:54:33.000Z | database/seeds/GallerySeeder.php | agusID/ZooQ | 44464d242a8deb5403a6e7aa0e790b3438297e9c | [
"MIT"
] | null | null | null | database/seeds/GallerySeeder.php | agusID/ZooQ | 44464d242a8deb5403a6e7aa0e790b3438297e9c | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
use App\Gallery;
use Carbon\Carbon;
class GallerySeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$gallery = new Gallery();
$arr = [
[
'title' => '... | 30.947368 | 85 | 0.36352 |
ed6eabb11b410208a9433bc45f0c107ae3b608a7 | 215 | c | C | uReverseNum.c | CajjadCodes/OS-xv6 | b4893c8b4ecd3e41f0d3437ebd38f7c12cc25077 | [
"MIT-0"
] | null | null | null | uReverseNum.c | CajjadCodes/OS-xv6 | b4893c8b4ecd3e41f0d3437ebd38f7c12cc25077 | [
"MIT-0"
] | null | null | null | uReverseNum.c | CajjadCodes/OS-xv6 | b4893c8b4ecd3e41f0d3437ebd38f7c12cc25077 | [
"MIT-0"
] | null | null | null | #include "types.h"
#include "stat.h"
#include "user.h"
int
main(int argc, char* argv[])
{
int num = atoi(argv[argc - 1]);
asm volatile("movl %0, %%edi"::"r"(num));
printf(1, "%d\n", reverse_number());
exit();
} | 17.916667 | 42 | 0.595349 |
ff84b1e4e49d98416de0e15742ea8bea0e9b413f | 3,142 | py | Python | lesson05/lesson05_hard.py | Liar-Ziro/Python.Basics_of_language | c5f9c0f7e0681df57653014038316b8b837a3ee4 | [
"MIT"
] | null | null | null | lesson05/lesson05_hard.py | Liar-Ziro/Python.Basics_of_language | c5f9c0f7e0681df57653014038316b8b837a3ee4 | [
"MIT"
] | 1 | 2019-04-08T13:53:27.000Z | 2019-04-08T13:54:34.000Z | lesson05/lesson05_hard.py | Liar-Ziro/Python.Basics_of_language | c5f9c0f7e0681df57653014038316b8b837a3ee4 | [
"MIT"
] | 2 | 2021-05-09T09:40:42.000Z | 2022-01-06T01:49:19.000Z | '''Задание-1:
Доработайте реализацию программы из примера examples/5_with_args.py,
добавив реализацию следующих команд (переданных в качестве аргументов):
cp <file_name> - создает копию указанного файла
rm <file_name> - удаляет указанный файл (запросить подтверждение операции)
cd <full_path or relative_path> - ме... | 26.854701 | 76 | 0.663908 |
eb95442a7bcf88e224450153c6bed079e06c217d | 1,858 | css | CSS | data/usercss/141722.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 118 | 2020-08-28T19:59:28.000Z | 2022-03-26T16:28:40.000Z | data/usercss/141722.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 38 | 2020-09-02T01:08:45.000Z | 2022-01-23T02:47:24.000Z | data/usercss/141722.user.css | 33kk/uso-archive | 2c4962d1d507ff0eaec6dcca555efc531b37a9b4 | [
"MIT"
] | 21 | 2020-08-19T01:12:43.000Z | 2022-03-15T21:55:17.000Z | /* ==UserStyle==
@name Seasonal Brick-Hill themes
@namespace USO Archive
@author Nelots
@description `The original Brick-Hill seasonal themes (Summer and Winter).Note: The Summer style is still accessible by using inspect element (along with an extra autumn theme I haven't uploaded), I just up... | 30.459016 | 295 | 0.623251 |
e30d03c1141b9ad0ebaaba52f8e0e636ae093849 | 299 | rb | Ruby | apps/api/db/migrate/20210508215333_relation_task_users.rb | andronedev/checkmark | 5901996b55cc3ee3fa75eccefbfcbe28fd1e7d97 | [
"MIT"
] | 3 | 2021-08-01T09:52:29.000Z | 2021-11-07T20:49:00.000Z | apps/api/db/migrate/20210508215333_relation_task_users.rb | andronedev/checkmark | 5901996b55cc3ee3fa75eccefbfcbe28fd1e7d97 | [
"MIT"
] | 6 | 2021-08-01T12:31:11.000Z | 2021-08-07T15:59:39.000Z | apps/api/db/migrate/20210508215333_relation_task_users.rb | andronedev/checkmark | 5901996b55cc3ee3fa75eccefbfcbe28fd1e7d97 | [
"MIT"
] | 2 | 2021-08-01T10:01:48.000Z | 2021-08-01T10:09:47.000Z | # frozen_string_literal: true
class RelationTaskUsers < ActiveRecord::Migration[6.1]
def up
create_table :task_mentions, id: false do |t|
t.belongs_to :user, foreign_key: true
t.belongs_to :task, foreign_key: true
end
end
def down
drop_table :task_mentions
end
end
| 19.933333 | 54 | 0.70903 |
ef6a98459b7102bd79554c5ce3ae3e8733d122d6 | 61 | js | JavaScript | src/Options/selectors.js | ganong/sudoku | 495c9300d7dda16d128e89920ad13d6d3fa1fae1 | [
"MIT"
] | null | null | null | src/Options/selectors.js | ganong/sudoku | 495c9300d7dda16d128e89920ad13d6d3fa1fae1 | [
"MIT"
] | 4 | 2021-09-01T19:49:54.000Z | 2022-02-26T15:49:37.000Z | src/Options/selectors.js | ganong/sudoku | 495c9300d7dda16d128e89920ad13d6d3fa1fae1 | [
"MIT"
] | null | null | null |
export const getEasyMode = state => state.options.easyMode;
| 20.333333 | 59 | 0.770492 |
23f2d2a36a9514ba2fae5c1599cdcae935ecfb70 | 440 | js | JavaScript | src/utils.js | m-yoshiro/DesignToken2Code | 3a303f179d13457740572578e81b3741073396a9 | [
"MIT"
] | 13 | 2018-11-27T20:19:08.000Z | 2020-05-06T17:04:20.000Z | src/utils.js | m-yoshiro/DesignToken2Code | 3a303f179d13457740572578e81b3741073396a9 | [
"MIT"
] | 4 | 2018-09-17T23:16:33.000Z | 2019-01-16T14:35:18.000Z | src/utils.js | m-yoshiro/DesignToken2Code | 3a303f179d13457740572578e81b3741073396a9 | [
"MIT"
] | 1 | 2019-02-06T18:09:13.000Z | 2019-02-06T18:09:13.000Z | /**
* Utilities.
* @module Utils
*/
/**
* Escape special characters in a variable for using RegExp.
* See {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions}
* @param {string} pattern - the pattern of RegExp.
* @return {regexp} regexp escaped special characters.
*/
module.... | 31.428571 | 96 | 0.670455 |
33c856c69dcaa7c32877d0a3471aaeaa9ad64da7 | 3,893 | h | C | lib/xml/XmlReader.h | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | 1 | 2018-12-17T08:41:19.000Z | 2018-12-17T08:41:19.000Z | lib/xml/XmlReader.h | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | null | null | null | lib/xml/XmlReader.h | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | 1 | 2019-09-24T05:52:54.000Z | 2019-09-24T05:52:54.000Z | /* ----------------------------------------------------------------- */
/* The HMM-Based Singing Voice Synthesis System "Sinsy" */
/* developed by Sinsy Working Group */
/* http://sinsy.sourceforge.net/ */
/* -----------------------------... | 38.166667 | 71 | 0.520678 |
5887ca639189231c6f4ba8c5be2b4a0452c3dbfb | 7,031 | php | PHP | resources/views/admin/merchants/fixed/content.blade.php | icaterall/ezeat | bf250bbea0dd3c744565df9bdce06e52236619eb | [
"MIT"
] | 1 | 2021-08-01T11:05:22.000Z | 2021-08-01T11:05:22.000Z | resources/views/admin/merchants/fixed/content.blade.php | icaterall/ezeat | bf250bbea0dd3c744565df9bdce06e52236619eb | [
"MIT"
] | null | null | null | resources/views/admin/merchants/fixed/content.blade.php | icaterall/ezeat | bf250bbea0dd3c744565df9bdce06e52236619eb | [
"MIT"
] | null | null | null | <style type="text/css">
.pl-8, .px-8 {
padding-left: 0rem !important;
}
</style>
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
<!--begin::Subheader-->
<div class="subheader py-2 py-lg-6 subheader-transparent" id="kt_subheader">
... | 65.101852 | 221 | 0.281752 |
43e33c1a24f4dec79cde810404eeb21682733a57 | 4,739 | tsx | TypeScript | src/WebUI/ClientApp/src/pages/BookPage.tsx | smirnov-coder/skills-test-3 | 4f6e0daed52984748f93ebcc25b1dff96fd9f2ac | [
"MIT"
] | null | null | null | src/WebUI/ClientApp/src/pages/BookPage.tsx | smirnov-coder/skills-test-3 | 4f6e0daed52984748f93ebcc25b1dff96fd9f2ac | [
"MIT"
] | 1 | 2020-06-25T15:47:57.000Z | 2020-06-25T15:47:57.000Z | src/WebUI/ClientApp/src/pages/BookPage.tsx | smirnov-coder/skills-test-3 | 4f6e0daed52984748f93ebcc25b1dff96fd9f2ac | [
"MIT"
] | null | null | null | import React, { useState, SyntheticEvent, useEffect } from 'react';
import { useParams } from 'react-router-dom';
import { useSelector } from "react-redux";
import { RootState } from '../store';
import { useBooksAPI } from "../hooks/useBooksAPI";
import { Book } from '../models/book';
export interface BookPageProps {
... | 37.912 | 113 | 0.560878 |
e484e5069685784fe412415f959a8ce08cac9bcb | 1,458 | swift | Swift | ArcherHelper/ImageCell.swift | YaxinCheng/ArcherHelper | d8108aa0e127a1799daaff0aac856c2c6d5b2da6 | [
"Apache-2.0"
] | 1 | 2017-08-26T10:12:53.000Z | 2017-08-26T10:12:53.000Z | ArcherHelper/ImageCell.swift | YaxinCheng/ArcherHelper | d8108aa0e127a1799daaff0aac856c2c6d5b2da6 | [
"Apache-2.0"
] | null | null | null | ArcherHelper/ImageCell.swift | YaxinCheng/ArcherHelper | d8108aa0e127a1799daaff0aac856c2c6d5b2da6 | [
"Apache-2.0"
] | null | null | null | //
// ImageCell.swift
// ArcherHelper
//
// Created by Yaxin Cheng on 2017-02-11.
// Copyright © 2017 Yaxin Cheng. All rights reserved.
//
import UIKit
class ImageCell: UICollectionViewCell {
@IBOutlet weak var imageView: UIImageView!
@IBOutlet weak var syncIndicator: UIImageView!
private lazy var animation: C... | 27 | 77 | 0.731139 |
f5de0e99e6afd5d6d9cd71f0d5664a26be08cb37 | 160 | css | CSS | pages/styles.css | ld000/wechat-analysis | 047fd17b8c96315855cde49d28b61eb1e33f3430 | [
"MIT"
] | null | null | null | pages/styles.css | ld000/wechat-analysis | 047fd17b8c96315855cde49d28b61eb1e33f3430 | [
"MIT"
] | null | null | null | pages/styles.css | ld000/wechat-analysis | 047fd17b8c96315855cde49d28b61eb1e33f3430 | [
"MIT"
] | null | null | null | body {
background-color: #3b3e45;
color: #feffff
}
.main {
width: 1000px;
}
/*#7fd3ef
#8c8ff6
#d074f9
#f182fa
#ff79ab
#f8816d
#f8816d
#fec55e
#f8ff75*/
| 8.421053 | 28 | 0.65625 |
492fc7357bc1d7320bd35cb616cbe96dbacbb860 | 919 | swift | Swift | EssentialDeveloper/EssentialDeveloper/Feed Feature/FeedViewController.swift | ahmad-atef/essentialdeveloper | dd50579622c1849b0a0c2bb9c940bd8ed376e301 | [
"MIT"
] | null | null | null | EssentialDeveloper/EssentialDeveloper/Feed Feature/FeedViewController.swift | ahmad-atef/essentialdeveloper | dd50579622c1849b0a0c2bb9c940bd8ed376e301 | [
"MIT"
] | null | null | null | EssentialDeveloper/EssentialDeveloper/Feed Feature/FeedViewController.swift | ahmad-atef/essentialdeveloper | dd50579622c1849b0a0c2bb9c940bd8ed376e301 | [
"MIT"
] | null | null | null | //
// FeedViewController.swift
// EssentialDeveloper
//
// Created by Ahmed Atef Ali Ahmed on 23.04.21.
//
import UIKit
struct FeedItem { }
protocol FeedLoader {
func loadFeed(completion: @escaping (_ feedItems: [FeedItem]) -> ())
}
class FeedViewController: UIViewController {
private let feedLoader: Fe... | 19.145833 | 78 | 0.632209 |
ba2062c8e79a70251726c57a462fa917fe4dd802 | 2,337 | go | Go | pkg/conf/config.go | jayunit100/e2e-framework | 78d05b49aa2ad5e5886d41df4351e4acbb323bc0 | [
"Apache-2.0"
] | null | null | null | pkg/conf/config.go | jayunit100/e2e-framework | 78d05b49aa2ad5e5886d41df4351e4acbb323bc0 | [
"Apache-2.0"
] | null | null | null | pkg/conf/config.go | jayunit100/e2e-framework | 78d05b49aa2ad5e5886d41df4351e4acbb323bc0 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 21.638889 | 72 | 0.730852 |
6db5dbc7aa615e44159a392e4732f2c7387849e8 | 68 | c | C | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/geekos/PaxHeader/pfat.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/geekos/PaxHeader/pfat.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/src/geekos/PaxHeader/pfat.c | Pintulalmeena/Projects | 4d5d5e80aa8cbad47b6d5d9c407147429568d277 | [
"MIT"
] | null | null | null | 14 uid=311598
27 mtime=1430738578.019251
27 atime=1430738578.016251
| 17 | 26 | 0.838235 |
af90a36e73077a074570313ea207f7fe272f2698 | 13,919 | py | Python | goodchat/management/commands/usage.py | red-and-black/friendly | f453344ad1e9173ad3545e4ea0c825b65190b3c5 | [
"Apache-2.0"
] | 2 | 2020-01-28T12:56:56.000Z | 2021-07-02T03:07:39.000Z | goodchat/management/commands/usage.py | red-and-black/friendly | f453344ad1e9173ad3545e4ea0c825b65190b3c5 | [
"Apache-2.0"
] | 5 | 2021-03-18T23:02:11.000Z | 2021-09-17T11:02:08.000Z | goodchat/management/commands/usage.py | red-and-black/goodchat | 1a391a04d4edfbcefaf87663f08308dd58578634 | [
"Apache-2.0"
] | null | null | null | from collections import (
Counter,
OrderedDict,
)
from datetime import (
datetime,
timedelta,
)
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand
from django.db.models import F
from behaviour.models import BehaviourReport
from conferences.models import Con... | 34.45297 | 79 | 0.565486 |
f449b95f48c2c995716d46be7233ede64305c6e3 | 465 | cs | C# | Services/GarageManager.Services/Contracts/IDepartmentService.cs | TodorChapkanov/Garage-Manager | fed75c78d0622b9312fb83fa640a746a49e466ff | [
"MIT"
] | null | null | null | Services/GarageManager.Services/Contracts/IDepartmentService.cs | TodorChapkanov/Garage-Manager | fed75c78d0622b9312fb83fa640a746a49e466ff | [
"MIT"
] | null | null | null | Services/GarageManager.Services/Contracts/IDepartmentService.cs | TodorChapkanov/Garage-Manager | fed75c78d0622b9312fb83fa640a746a49e466ff | [
"MIT"
] | null | null | null | using GarageManager.Services.Models.Charts;
using GarageManager.Services.Models.Department;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GarageManager.Services.Contracts
{
public interface IDepartmentService
{
Task<IEnumerable<DepartmentAll>> AllDepartmentsAsync();
... | 24.473684 | 72 | 0.774194 |
b05a1e81c5952b682875fa31214c16b3c913f10e | 7,509 | py | Python | model/recognition_model/HARN/models/.ipynb_checkpoints/morn-checkpoint.py | JinGyeSetBirdsFree/FudanOCR | e6b18b0eefaf832b2eb7198f5df79e00bd4cee36 | [
"MIT"
] | 25 | 2020-02-29T12:14:10.000Z | 2020-04-24T07:56:06.000Z | model/recognition_model/HARN/models/.ipynb_checkpoints/morn-checkpoint.py | dun933/FudanOCR | fd79b679044ea23fd9eb30691453ed0805d2e98b | [
"MIT"
] | 33 | 2020-12-10T19:15:39.000Z | 2022-03-12T00:17:30.000Z | model/recognition_model/HARN/models/.ipynb_checkpoints/morn-checkpoint.py | dun933/FudanOCR | fd79b679044ea23fd9eb30691453ed0805d2e98b | [
"MIT"
] | 4 | 2020-02-29T12:14:18.000Z | 2020-04-12T12:26:50.000Z | import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
class MORN(nn.Module):
def __init__(self, nc, targetH, targetW, inputDataType='torch.cuda.FloatTensor', maxBatch=256, CUDA=True, log=None):
super(MORN, self).__init__()
self.targetH = targetH
self.tar... | 46.639752 | 124 | 0.575975 |
45d3e0f145101a54ab55b0e4207413bc1749d153 | 379 | py | Python | lewis_emulators/neocera_ltc21/constants.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 2 | 2020-10-20T16:49:13.000Z | 2021-02-19T10:41:44.000Z | lewis_emulators/neocera_ltc21/constants.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 9 | 2019-03-22T15:35:15.000Z | 2021-07-28T11:05:43.000Z | lewis_emulators/neocera_ltc21/constants.py | ISISComputingGroup/EPICS-DeviceEmulator | 026c2a14a16bb204ea7527e3765daa182cafa814 | [
"BSD-3-Clause"
] | 1 | 2020-10-21T17:02:44.000Z | 2020-10-21T17:02:44.000Z | """
Constants associated with the NEOCERA.
"""
# Index in the arrays of the heater output
HEATER_INDEX = 0
# Index in the arrays of the analog output
ANALOG_INDEX = 1
# Minimum allowed output control type for the output index (see self.control)
CONTROL_TYPE_MIN = [0, 3]
# Maximum allowed output control type for the... | 23.6875 | 77 | 0.751979 |
43f77a2db430ffcedc51c4705891b2f948cded79 | 780 | ts | TypeScript | src/app/app.component.ts | imscaradh/angular-rdash | d4adbf55734eba9c9271dcafea9600ba284e0b68 | [
"MIT"
] | null | null | null | src/app/app.component.ts | imscaradh/angular-rdash | d4adbf55734eba9c9271dcafea9600ba284e0b68 | [
"MIT"
] | null | null | null | src/app/app.component.ts | imscaradh/angular-rdash | d4adbf55734eba9c9271dcafea9600ba284e0b68 | [
"MIT"
] | null | null | null | import {Component} from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
mobileView: number = 992;
toggle: boolean = false;
constructor() {
this.attachEvents();
}
attachEvents() {
window... | 19.5 | 59 | 0.578205 |
d6764f4755920644809c96d6e74605dbf6cfb6ce | 5,301 | cs | C# | ToasterWpf/App.xaml.cs | mhorrall/Toaster | 95e4a822dd3f8a694ede3266bab0a28dd98e80c3 | [
"MIT"
] | 4 | 2018-05-29T15:16:37.000Z | 2020-06-13T03:23:59.000Z | ToasterWpf/App.xaml.cs | mhorrall/Toaster | 95e4a822dd3f8a694ede3266bab0a28dd98e80c3 | [
"MIT"
] | null | null | null | ToasterWpf/App.xaml.cs | mhorrall/Toaster | 95e4a822dd3f8a694ede3266bab0a28dd98e80c3 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
using NLog;
using ToasterWpf.Model;
using ToasterWpf.Services;
namespace ToasterWpf
{
/// <summar... | 41.740157 | 116 | 0.357857 |
a0035bbecd07e8c30c7f18dcfae516ca9e4acc96 | 726 | ts | TypeScript | src/commands/upload/upload.ts | getmeli/meli-cli | 4107cb309d0bab54e6c774682233f44f2c4d8832 | [
"MIT"
] | null | null | null | src/commands/upload/upload.ts | getmeli/meli-cli | 4107cb309d0bab54e6c774682233f44f2c4d8832 | [
"MIT"
] | null | null | null | src/commands/upload/upload.ts | getmeli/meli-cli | 4107cb309d0bab54e6c774682233f44f2c4d8832 | [
"MIT"
] | 1 | 2021-02-02T13:45:35.000Z | 2021-02-02T13:45:35.000Z | import { tmpdir } from 'os';
import { join } from 'path';
import { Logger } from '../../commons/logger/logger';
import { UploadOptions } from './upload-options';
import { uploadArchive } from './upload-archive';
import { archiveFiles } from './archive-files';
import { v4 as uuid } from 'uuid';
const logger = new Logge... | 33 | 69 | 0.695592 |
9b05a2e633a3abfb4c2f9cf96bc13b6ff27f2768 | 327 | sql | SQL | sql/updates/0.15/8930_01_mangos_spell_proc_event.sql | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | sql/updates/0.15/8930_01_mangos_spell_proc_event.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | sql/updates/0.15/8930_01_mangos_spell_proc_event.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | ALTER TABLE db_version CHANGE COLUMN required_8929_01_mangos_gossip_scripts required_8930_01_mangos_spell_proc_event bit;
DELETE FROM `spell_proc_event` WHERE `entry` IN (58597);
INSERT INTO `spell_proc_event` VALUES
(58597, 0x00000000, 10, 0x40000000, 0x00000000, 0x00000000, 0x00008000, 0x00000000, 0.000000, 100.0000... | 54.5 | 121 | 0.831804 |
05a790fbafb31c5c06905d3d054894d6b9089b78 | 3,001 | py | Python | main.py | msarmad17/Sports-Goods-Website | 06aef86267a1df57acd0d4814939b1018e2f4799 | [
"MIT"
] | null | null | null | main.py | msarmad17/Sports-Goods-Website | 06aef86267a1df57acd0d4814939b1018e2f4799 | [
"MIT"
] | null | null | null | main.py | msarmad17/Sports-Goods-Website | 06aef86267a1df57acd0d4814939b1018e2f4799 | [
"MIT"
] | null | null | null | import os
import urllib.parse
import pyodbc
from flask import Flask, render_template, request, url_for, redirect
app = Flask(__name__)
app.config['SECRET_KEY'] = ''
server = ''
database = ''
username = ''
password = ''
driver= '{ODBC Driver 17 for SQL Server}'
cnxn = pyodbc.connect('DRIVER='+driver+';SERVER='+server... | 28.311321 | 211 | 0.608464 |
58e67bd045106e4b68b931e96c5d8a266e7357cc | 3,790 | kt | Kotlin | app/src/main/java/io/skytreasure/kotlingroupchat/MainActivity.kt | GhodelApps/Kotlin-Firebase-Group-Chat | 58dd5c79dde927ca430b4ec7a58b1b19fcd649cd | [
"MIT"
] | 60 | 2017-11-04T06:47:58.000Z | 2022-03-15T04:21:48.000Z | app/src/main/java/io/skytreasure/kotlingroupchat/MainActivity.kt | GhodelApps/Kotlin-Firebase-Group-Chat | 58dd5c79dde927ca430b4ec7a58b1b19fcd649cd | [
"MIT"
] | null | null | null | app/src/main/java/io/skytreasure/kotlingroupchat/MainActivity.kt | GhodelApps/Kotlin-Firebase-Group-Chat | 58dd5c79dde927ca430b4ec7a58b1b19fcd649cd | [
"MIT"
] | 40 | 2017-11-17T07:20:04.000Z | 2022-03-15T04:21:49.000Z | package io.skytreasure.kotlingroupchat
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*
import android.view.View
import android.widget.Toast
import com.google.firebase.database.DatabaseReference
import com.googl... | 39.072165 | 108 | 0.704485 |
864c5cd8e083674c0d47cb982ece1ce7831e9b6b | 472 | sql | SQL | data/sql/hackernews/subdomains.sql | gprime31/commonspeak2 | ba241100335281873f14f4e6cdaba6dd10cd669b | [
"Apache-2.0"
] | 443 | 2018-08-12T14:43:34.000Z | 2022-03-30T22:07:47.000Z | data/sql/hackernews/subdomains.sql | gprime31/commonspeak2 | ba241100335281873f14f4e6cdaba6dd10cd669b | [
"Apache-2.0"
] | 13 | 2018-08-13T15:49:02.000Z | 2022-02-21T08:18:12.000Z | data/sql/hackernews/subdomains.sql | gprime31/commonspeak2 | ba241100335281873f14f4e6cdaba6dd10cd669b | [
"Apache-2.0"
] | 75 | 2018-08-22T21:32:35.000Z | 2022-03-29T21:32:51.000Z | CREATE TEMPORARY FUNCTION getSubdomain(x STRING)
RETURNS STRING
LANGUAGE js AS """
function getSubdomain(s) {
try {
return URI(s).subdomain();
} catch (ex) {
return s;
}
}
return getSubdomain(x);
"""
OPTIONS (
library="gs://commonspeak-udf/URI.min.js"
);
SELECT
getSubdomain(... | 17.481481 | 50 | 0.650424 |
05a63268f7ba62ddc8e53b1892c17870b64734e1 | 359 | py | Python | tests/test_csv.py | andriyor/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | 2 | 2019-12-16T07:55:00.000Z | 2020-04-21T14:55:18.000Z | tests/test_csv.py | andriyor/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | 1 | 2018-12-31T14:43:49.000Z | 2019-01-04T12:11:23.000Z | tests/test_csv.py | andriyor/amalgama-pq | 9b3478ca22080fc612fb40cda488a8538b2624dc | [
"MIT"
] | null | null | null | import csv
import pytest
from amalgama import amalgama
with open("tests/tests_data/test.csv") as f:
records = csv.DictReader(f)
csv_data = [(row["artist"], row["title"], row["url"]) for row in records]
@pytest.mark.parametrize("artist,title,url", csv_data)
def test_amalgama(artist, title, url):
assert ... | 23.933333 | 77 | 0.710306 |
af5bd306de6c33f70c171eb8e16cdfe18c1a30f3 | 784 | py | Python | Scripts/website_online_alarm.py | GokulVSD/ScratchPad | 53dee2293a2039186b00c7a465c7ef28e2b8e291 | [
"Unlicense"
] | null | null | null | Scripts/website_online_alarm.py | GokulVSD/ScratchPad | 53dee2293a2039186b00c7a465c7ef28e2b8e291 | [
"Unlicense"
] | null | null | null | Scripts/website_online_alarm.py | GokulVSD/ScratchPad | 53dee2293a2039186b00c7a465c7ef28e2b8e291 | [
"Unlicense"
] | null | null | null | import urllib.request as req
import ssl
import time
# A simple script that beeps or sounds an alarm when a URL or website responds to a request or is online
print("\n\nGokul's \"Is the website online yet?\" alarm\n")
url = input("Enter a website to ping (with http / https tag): ")
context = ssl._create_unverified_c... | 23.058824 | 104 | 0.625 |
f2c958fdb10b4ba54efb0266705a6433f9d6bc2a | 1,851 | ps1 | PowerShell | DHSTIGChecker/STIG/Server2019/205746.ps1 | hollinrakedp/DHSTIGChecker | 585486f6c954a16415be617970854f3aa3d42a70 | [
"MIT"
] | null | null | null | DHSTIGChecker/STIG/Server2019/205746.ps1 | hollinrakedp/DHSTIGChecker | 585486f6c954a16415be617970854f3aa3d42a70 | [
"MIT"
] | null | null | null | DHSTIGChecker/STIG/Server2019/205746.ps1 | hollinrakedp/DHSTIGChecker | 585486f6c954a16415be617970854f3aa3d42a70 | [
"MIT"
] | null | null | null | <#
Rule Title: Windows Server 2019 must only allow administrators responsible for the member server or standalone system to have Administrator rights on the system.
Severity: high
Vuln ID: V-205746
STIG ID: WN19-MS-000010
Discussion:
An account that does not have Administrator duties must not have Administrator rights... | 48.710526 | 335 | 0.817396 |
e28dc1737276a508ab6fd73f6656e9ffeec3f419 | 4,889 | py | Python | server/comments/views.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | 1 | 2021-04-06T22:35:53.000Z | 2021-04-06T22:35:53.000Z | server/comments/views.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | null | null | null | server/comments/views.py | amy-xiang/CMPUT404_PROJECT | cbcea0cd164d6377ede397e934f960505e8f347a | [
"W3C-20150513"
] | null | null | null | from django.http import Http404
from django.core.paginator import Paginator
from django.shortcuts import render
from .serializers import CommentSerializer
from .models import Comment
from posts.models import Post
from main.models import Author, Followers
from inbox.models import Inbox
from rest_framework import generi... | 43.651786 | 114 | 0.622622 |
59344ef4c3308b57e75fcb09a03088a6cb7346a6 | 268,119 | dart | Dart | lib/internal/locales/locales.g.dart | pagdot/Leaflet | 6f428dcae05f9acf44e87a09f5d31181e5057f00 | [
"MIT"
] | 175 | 2020-09-11T08:07:18.000Z | 2022-03-30T16:29:14.000Z | lib/internal/locales/locales.g.dart | Fxztam/Leaflet | f9bbfbae34c3f52b86cedd6c099b0fcb48d61f05 | [
"MIT"
] | 36 | 2019-10-06T18:44:20.000Z | 2020-08-15T22:48:07.000Z | lib/internal/locales/locales.g.dart | Fxztam/Leaflet | f9bbfbae34c3f52b86cedd6c099b0fcb48d61f05 | [
"MIT"
] | 30 | 2019-10-07T03:04:16.000Z | 2020-08-31T14:20:43.000Z | // @dart=2.12
import 'dart:ui';
// ignore_for_file: avoid_escaping_inner_quotes
class Locales {
Locales._();
static List<Locale> get supported => [
const Locale("ar", "AR"),
const Locale("de", "DE"),
const Locale("el", "EL"),
const Locale("en", "US"),
const Locale("es", "ES"),
const Local... | 56.481778 | 312 | 0.718297 |
4202074f6646efd3f81332eb8886449da70a1b9f | 6,145 | sql | SQL | marc21_dataclean.sql | 300000kms/pg-tml | 2a350ec4d90e461f36e5a48b67a29834852d509a | [
"Apache-2.0"
] | null | null | null | marc21_dataclean.sql | 300000kms/pg-tml | 2a350ec4d90e461f36e5a48b67a29834852d509a | [
"Apache-2.0"
] | null | null | null | marc21_dataclean.sql | 300000kms/pg-tml | 2a350ec4d90e461f36e5a48b67a29834852d509a | [
"Apache-2.0"
] | null | null | null | /*
INSTALL plpython3u - IT IS IMPORTANT TO ADD IN THE COMMAND LINE THE VERSION OF PLPYTHON AND OF PG
sudo apt-get install postgresql-plpython3-11
INTALL UNIDECODE
pip install unidecode
*/
CREATE TYPE tm_fecha AS (
fecha1 integer,
fecha1q Varchar,
fecha2 integer,
fecha2q Varchar
);
CREATE OR REPLACE FUNCTION t... | 28.317972 | 167 | 0.561269 |
c93d47375fe4c41c019451b032236f3bd3f3894c | 2,616 | ts | TypeScript | common/platform/tools/tools.promises.holder.ts | DmitryAstafyev/ceres | f1458ea474b1aff302e8b31171f50ec9ba170e6f | [
"Apache-2.0"
] | 3 | 2019-03-04T11:12:32.000Z | 2022-01-17T08:39:27.000Z | common/platform/tools/tools.promises.holder.ts | DmitryAstafyev/ceres | f1458ea474b1aff302e8b31171f50ec9ba170e6f | [
"Apache-2.0"
] | null | null | null | common/platform/tools/tools.promises.holder.ts | DmitryAstafyev/ceres | f1458ea474b1aff302e8b31171f50ec9ba170e6f | [
"Apache-2.0"
] | null | null | null | import * as Types from './tools.primitivetypes';
import inspect from './tools.inspect';
export type TId = string;
export type TResolve = (...args: any[]) => any;
export type TReject = (error: Error) => any;
export type THolder = {
resolve: TResolve,
reject: TReject,
created: number,
};
export type TStora... | 29.393258 | 111 | 0.563838 |
2d451608b9d5dac36396628f48dfea120d98b21b | 4,380 | css | CSS | ll/fs.css | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 48 | 2016-10-11T06:07:02.000Z | 2022-03-02T16:26:25.000Z | ll/fs.css | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 7 | 2017-02-13T09:14:34.000Z | 2019-01-18T06:06:29.000Z | docs/enju-manual/fs.css | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 18 | 2016-11-13T23:14:28.000Z | 2022-01-12T15:21:44.000Z | /**
* Copyright (c) 2001-2005, MIYAO Yusuke
* You may distribute this file under the terms of the Artistic License.
*
* Name: fs.css
* Author: MIYAO Yusuke (yusuke@is.s.u-tokyo.ac.jp)
* Stylesheet for browsing feature structures & trees
*
*/
/***** Basic types *****/
type {
font-style: ita... | 14.747475 | 75 | 0.63653 |
8826aaa22dddf9956caf3fd2aa4d6ddbe5f3099d | 1,954 | css | CSS | public/static/css/user/game/setstart.css | chendongqin/basketball_club | 99f743c67a8f44e92f06eae3094457b46dfb90b5 | [
"Apache-2.0"
] | 1 | 2021-01-03T11:06:19.000Z | 2021-01-03T11:06:19.000Z | public/static/css/user/game/setstart.css | asdlijinquan/basketball_club | 99f743c67a8f44e92f06eae3094457b46dfb90b5 | [
"Apache-2.0"
] | null | null | null | public/static/css/user/game/setstart.css | asdlijinquan/basketball_club | 99f743c67a8f44e92f06eae3094457b46dfb90b5 | [
"Apache-2.0"
] | 1 | 2021-01-03T09:14:45.000Z | 2021-01-03T09:14:45.000Z |
.clearfix {
zoom: 1;
}
.clearfix:after {
content: "";
height: 0;
visibility: hidden;
display: block;
clear: both;
}
.fl {
float: left;
_display: inline;
}
.fr {
float: right;
_display: inline;
}
.lineup__list {
zoom: 1;
}
.lineup__list:after {
content: "";
height: 0;
visibility: hidden... | 15.147287 | 39 | 0.641249 |
b17114cb0e4ede806a1cb1903e3e8ddea9bf6b3b | 4,145 | py | Python | pyuppaal/pyuppaal/ulp/lexer.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | pyuppaal/pyuppaal/ulp/lexer.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | pyuppaal/pyuppaal/ulp/lexer.py | sen-uni-kn/tartar | 5148f8737ab39c09aa0ca4907b1af7c44cf8b8a0 | [
"MIT"
] | null | null | null | """
Copyright (C) 2009
Andreas Engelbredt Dalsgaard <andreas.dalsgaard@gmail.com>
Mads Chr. Olesen <mchro@cs.aau.dk>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ve... | 20.725 | 77 | 0.567189 |
4684424ecd860fd51e3a5dd26b8f77f032758152 | 9,954 | lua | Lua | nelua/cemitter.lua | eerimoq/nelua-lang | 82d25edeb055779229fdc5bb484ef32d0d2ffd4a | [
"MIT"
] | null | null | null | nelua/cemitter.lua | eerimoq/nelua-lang | 82d25edeb055779229fdc5bb484ef32d0d2ffd4a | [
"MIT"
] | null | null | null | nelua/cemitter.lua | eerimoq/nelua-lang | 82d25edeb055779229fdc5bb484ef32d0d2ffd4a | [
"MIT"
] | null | null | null | local class = require 'nelua.utils.class'
local Emitter = require 'nelua.emitter'
local traits = require 'nelua.utils.traits'
local typedefs = require 'nelua.typedefs'
local errorer = require 'nelua.utils.errorer'
local pegger = require 'nelua.utils.pegger'
local bn = require 'nelua.utils.bn'
local CEmitter = class(Emi... | 28.685879 | 97 | 0.686458 |
e388febb778df49aaffd782feaa0b411faa799c4 | 2,627 | rb | Ruby | lib/onix/core/code.rb | natebeaty/onix | d714448a5f36faec77ba62c17fd54ee6bbf355b6 | [
"MIT"
] | null | null | null | lib/onix/core/code.rb | natebeaty/onix | d714448a5f36faec77ba62c17fd54ee6bbf355b6 | [
"MIT"
] | null | null | null | lib/onix/core/code.rb | natebeaty/onix | d714448a5f36faec77ba62c17fd54ee6bbf355b6 | [
"MIT"
] | 3 | 2015-07-29T22:30:25.000Z | 2018-09-22T17:30:09.000Z | # coding: utf-8
module ONIX
class Code
attr_reader :key, :value, :list, :list_number
# Note re: key type. For backwards compatibility, code keys that are
# all-digits are passed around in this gem as Fixnums.
#
# The actual code list hashes have string-based keys for consistency. If
# you... | 24.551402 | 78 | 0.595737 |
96c3498d5e8fadeda5efb2d5c0ac72a5e569908d | 1,561 | cs | C# | Angular/LogClientSide/Controllers/ProductsController.cs | pandazzurro/LogClientSideFull | 74782fd4987f62c05f9bc4de4d9ba68f0d4aa88c | [
"MIT"
] | null | null | null | Angular/LogClientSide/Controllers/ProductsController.cs | pandazzurro/LogClientSideFull | 74782fd4987f62c05f9bc4de4d9ba68f0d4aa88c | [
"MIT"
] | null | null | null | Angular/LogClientSide/Controllers/ProductsController.cs | pandazzurro/LogClientSideFull | 74782fd4987f62c05f9bc4de4d9ba68f0d4aa88c | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using LogClientSide.Services;
using LogClientSide.Models;
namespace LogClientSide.Controllers
{
[Route("api/[controller]")]
public class ProductsController : Controller
{
... | 27.385965 | 102 | 0.578475 |
238e026831e8dff612a0c8b33670de097e31f969 | 322 | js | JavaScript | react-app/simple-gantt-timeline/src/components/DragDependencyBox/DragDependencyBox.js | AdrKacz/simple-gantt-timeline | 377e602b506467bfc44b74fa8b532fc4bdb3318e | [
"MIT"
] | null | null | null | react-app/simple-gantt-timeline/src/components/DragDependencyBox/DragDependencyBox.js | AdrKacz/simple-gantt-timeline | 377e602b506467bfc44b74fa8b532fc4bdb3318e | [
"MIT"
] | null | null | null | react-app/simple-gantt-timeline/src/components/DragDependencyBox/DragDependencyBox.js | AdrKacz/simple-gantt-timeline | 377e602b506467bfc44b74fa8b532fc4bdb3318e | [
"MIT"
] | null | null | null | import "./DragDependencyBox.css";
function DragDependencyBox({positionX, positionY}) {
if (!positionX || !positionY) {
return <></>;
}
return (
<div
className="DragDependencyBox"
style={{
top: positionY,
left: positionX,
}}
/>
)
};
export default DragDependencyBox... | 16.947368 | 52 | 0.590062 |
e229ca507912407b3798d92f3f54d5a039d086e1 | 3,286 | py | Python | src/oled-ssd1306.py | dooley-ch/microbit-grove | e25213de74d982b8ab49412e6f8b2dbe205ca932 | [
"MIT"
] | null | null | null | src/oled-ssd1306.py | dooley-ch/microbit-grove | e25213de74d982b8ab49412e6f8b2dbe205ca932 | [
"MIT"
] | null | null | null | src/oled-ssd1306.py | dooley-ch/microbit-grove | e25213de74d982b8ab49412e6f8b2dbe205ca932 | [
"MIT"
] | null | null | null | # ------------------------------------------------------------------------------------------
# Copyright James A. Dooley 2021.
#
# Distributed under the MIT License.
# (See accompanying file license.md file or copy at http://opensource.org/licenses/MIT)
#
# --------------------------------------------------------------... | 28.573913 | 92 | 0.469264 |
05d9d330a525dcae7cc7ade8715707e81f33d648 | 714 | sql | SQL | schema/deploy/computed_columns/application_submission_date.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 9 | 2019-10-09T20:57:34.000Z | 2020-11-19T15:32:32.000Z | schema/deploy/computed_columns/application_submission_date.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 1,282 | 2019-08-21T20:43:34.000Z | 2022-03-30T16:46:46.000Z | schema/deploy/computed_columns/application_submission_date.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 2 | 2019-10-16T22:27:43.000Z | 2021-01-26T20:05:13.000Z | -- Deploy ggircs-portal:computed_columns/application_submission_date to pg
-- requires: computed_columns/application_application_revision_status
begin;
create or replace function ggircs_portal.application_submission_date(app ggircs_portal.application)
returns timestamptz
as $$
select (ggircs_portal.applicatio... | 47.6 | 276 | 0.845938 |
b286a2d02e9444c04d23721a15a7a2b3316cdedc | 15 | css | CSS | examples/ofuelux_all/css/javascript.css | skylark-integration/skylark-fuelux | fb062096f2f629a7c2be39793d8dc37221fb6635 | [
"MIT"
] | 1 | 2019-06-08T13:32:12.000Z | 2019-06-08T13:32:12.000Z | examples/ofuelux_all/css/javascript.css | skylark-integration/skylark-fuelux | fb062096f2f629a7c2be39793d8dc37221fb6635 | [
"MIT"
] | null | null | null | examples/ofuelux_all/css/javascript.css | skylark-integration/skylark-fuelux | fb062096f2f629a7c2be39793d8dc37221fb6635 | [
"MIT"
] | null | null | null | /*
* Blank
*/ | 5 | 8 | 0.333333 |
c7058a488b95bae7f9ad8a1ca0e58259fdee2128 | 148 | sql | SQL | req4.sql | jordane-quincy/TP1_BDOR | 89add86497b5ff1a341b1628daa0f568fbf9b1d3 | [
"MIT"
] | 1 | 2015-12-07T12:29:11.000Z | 2015-12-07T12:29:11.000Z | req4.sql | jordane-quincy/TP1_BDOR | 89add86497b5ff1a341b1628daa0f568fbf9b1d3 | [
"MIT"
] | null | null | null | req4.sql | jordane-quincy/TP1_BDOR | 89add86497b5ff1a341b1628daa0f568fbf9b1d3 | [
"MIT"
] | null | null | null | select distinct t.Filiere
from table (select ev.Intervenants
from Evenement ev
where Nom_E = 'Evenement 1'
) t;
| 24.666667 | 39 | 0.587838 |
af0ce50724e9f82b6c5199a85e1090237ad6dd76 | 4,597 | lua | Lua | http/parser.lua | Neopallium/lua-http-tokenizer | 5fb43f8c569062c35a28a19bc01bbbea99350d12 | [
"MIT"
] | 1 | 2017-11-03T14:44:17.000Z | 2017-11-03T14:44:17.000Z | http/parser.lua | Neopallium/lua-http-tokenizer | 5fb43f8c569062c35a28a19bc01bbbea99350d12 | [
"MIT"
] | null | null | null | http/parser.lua | Neopallium/lua-http-tokenizer | 5fb43f8c569062c35a28a19bc01bbbea99350d12 | [
"MIT"
] | null | null | null | -- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.com>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to u... | 24.848649 | 95 | 0.738308 |
a9e3614e641698f6ba850188e7342dac85ba6dad | 550 | php | PHP | app/Route/RouteInterface.php | veridu/idos-api | abcdfa6f45991b08a0e2a2c127ecc311649802f9 | [
"MIT"
] | null | null | null | app/Route/RouteInterface.php | veridu/idos-api | abcdfa6f45991b08a0e2a2c127ecc311649802f9 | [
"MIT"
] | null | null | null | app/Route/RouteInterface.php | veridu/idos-api | abcdfa6f45991b08a0e2a2c127ecc311649802f9 | [
"MIT"
] | 3 | 2018-03-01T10:25:54.000Z | 2019-04-03T11:17:42.000Z | <?php
/*
* Copyright (c) 2012-2017 Veridu Ltd <https://veridu.com>
* All rights reserved.
*/
declare(strict_types = 1);
namespace App\Route;
use Slim\App;
/**
* Route Interface.
*/
interface RouteInterface {
/**
* Registers the Routes on the Application Route Manager.
*
* @param \Slim\App $a... | 17.1875 | 61 | 0.6 |
394ac5e2dfe3a5a2e60fb574f8be712ace4a49c8 | 13,942 | py | Python | cpmpy/expressions/globalconstraints.py | vishalbelsare/cpmpy | 42b1795d268c4e634d49d6d6aa2bb243aea67b0c | [
"Apache-2.0"
] | null | null | null | cpmpy/expressions/globalconstraints.py | vishalbelsare/cpmpy | 42b1795d268c4e634d49d6d6aa2bb243aea67b0c | [
"Apache-2.0"
] | null | null | null | cpmpy/expressions/globalconstraints.py | vishalbelsare/cpmpy | 42b1795d268c4e634d49d6d6aa2bb243aea67b0c | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#-*- coding:utf-8 -*-
##
## globalconstraints.py
##
"""
Global constraints conveniently express non-primitive constraints.
Using global constraints
------------------------
Solvers can have specialised implementations for global constraints. CPMpy has GlobalConstraint
express... | 35.748718 | 126 | 0.64008 |
36d0690b3cadbcd83922be3d9f613db56b3e5e82 | 2,092 | lua | Lua | engine/libraries/utils.lua | smezzy/SL1CRX | 7eaca88d394b2532bd7992fb8d62e0be8fad22ce | [
"MIT"
] | 1 | 2022-01-17T00:41:03.000Z | 2022-01-17T00:41:03.000Z | engine/libraries/utils.lua | smezzy/SL1CRX | 7eaca88d394b2532bd7992fb8d62e0be8fad22ce | [
"MIT"
] | null | null | null | engine/libraries/utils.lua | smezzy/SL1CRX | 7eaca88d394b2532bd7992fb8d62e0be8fad22ce | [
"MIT"
] | null | null | null | function uid()
local fn = function(x)
local r = love.math.random(16) - 1
r = (x == "x") and (r + 1) or (r % 4) + 9
return ("0123456789abcdef"):sub(r, r)
end
return (("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"):gsub("[xy]", fn))
end
function require_files(files)
for _, file in ipairs(... | 22.021053 | 70 | 0.630975 |
eadb9041eafcfdce0e52e5e8448b0a0f4ab3748c | 679 | sql | SQL | Databse/PasswordKeeper.sql | kckotcherlakota/workindia_passwordkeeper | 4168dc8310073588029359d2ede380d435e592ba | [
"Apache-2.0"
] | null | null | null | Databse/PasswordKeeper.sql | kckotcherlakota/workindia_passwordkeeper | 4168dc8310073588029359d2ede380d435e592ba | [
"Apache-2.0"
] | null | null | null | Databse/PasswordKeeper.sql | kckotcherlakota/workindia_passwordkeeper | 4168dc8310073588029359d2ede380d435e592ba | [
"Apache-2.0"
] | null | null | null | CREATE DATABASE `password_manager`;
USE `password_manager`;
-- create user table --
DROP TABLE IF EXISTS `User`;
CREATE TABLE `User`(
`id` INT AUTO_INCREMENT PRIMARY KEY,
`username` VARCHAR(20) UNIQUE,
`password` VARCHAR(100) NOT NULL);
-- create account table --
DROP TABLE IF EXISTS `Account`;
C... | 27.16 | 49 | 0.63623 |
bad8f1a093c9f4f8455f0dec0a2d564b1c6e5ef6 | 2,228 | lua | Lua | examples/copas-example.lua | dvv/luamqtt | 18335884917aa9e5df0ee1a2febd299443949a8e | [
"MIT"
] | null | null | null | examples/copas-example.lua | dvv/luamqtt | 18335884917aa9e5df0ee1a2febd299443949a8e | [
"MIT"
] | null | null | null | examples/copas-example.lua | dvv/luamqtt | 18335884917aa9e5df0ee1a2febd299443949a8e | [
"MIT"
] | null | null | null | -- example of using luamqtt inside copas ioloop: http://keplerproject.github.io/copas/index.html
local mqtt = require("mqtt")
local copas = require("copas")
local mqtt_ioloop = require("mqtt.ioloop")
local num_pings = 10 -- total number of ping-pongs
local timeout = 1 -- timeout between ping-pongs
local suffix = tost... | 24.217391 | 114 | 0.704219 |
05928b90a71aef462a8a98f8c609d5a0f68764ec | 191 | rb | Ruby | app/models/direction.rb | twilliamsark/aiki2 | e1d74c8e1c82970bd04951c406647c88daff4a72 | [
"MIT"
] | null | null | null | app/models/direction.rb | twilliamsark/aiki2 | e1d74c8e1c82970bd04951c406647c88daff4a72 | [
"MIT"
] | null | null | null | app/models/direction.rb | twilliamsark/aiki2 | e1d74c8e1c82970bd04951c406647c88daff4a72 | [
"MIT"
] | null | null | null | class Direction < ActiveRecord::Base
include HasVideos
include Filterable
include SeedFuSerializeable
has_many :wazas, inverse_of: :direction
has_many :videos, through: :wazas
end
| 21.222222 | 41 | 0.78534 |
62da23d302d2116b46dee4cdfc528aba4471b5e2 | 2,153 | dart | Dart | lib/tools/shared_util.dart | liberalman/wechat | 903c828ea6ede26d1aa2bf281e4fbce525bfb6a7 | [
"Apache-2.0"
] | 1 | 2020-10-11T01:09:41.000Z | 2020-10-11T01:09:41.000Z | lib/tools/shared_util.dart | liberalman/wechat | 903c828ea6ede26d1aa2bf281e4fbce525bfb6a7 | [
"Apache-2.0"
] | null | null | null | lib/tools/shared_util.dart | liberalman/wechat | 903c828ea6ede26d1aa2bf281e4fbce525bfb6a7 | [
"Apache-2.0"
] | null | null | null | import '../config/keys.dart';
import '../config/storage_manager.dart';
class SharedUtil {
static SharedUtil _instance;
//factory SharedUtil() => getInstance();
static SharedUtil getInstance() {
if (_instance == null) {
_instance = new SharedUtil();
}
return _instance;
}
Future<String> ge... | 32.621212 | 77 | 0.706456 |
5b7288e60c53d90207778b081a874742d99a3203 | 76 | ps1 | PowerShell | PDQ Example Scan Profiles/PDQ Inventory Scan Request Client.ps1 | twist3dimages/PowerShell-Scanners | a1d7b11f813356d221c3b85854e64c28625baf86 | [
"MIT"
] | null | null | null | PDQ Example Scan Profiles/PDQ Inventory Scan Request Client.ps1 | twist3dimages/PowerShell-Scanners | a1d7b11f813356d221c3b85854e64c28625baf86 | [
"MIT"
] | null | null | null | PDQ Example Scan Profiles/PDQ Inventory Scan Request Client.ps1 | twist3dimages/PowerShell-Scanners | a1d7b11f813356d221c3b85854e64c28625baf86 | [
"MIT"
] | null | null | null | Invoke-RestMethod "http://$YourPDQServer:$Port/ScanRequest/$env:COMPUTERNAME | 76 | 76 | 0.828947 |
b75db28dcc6b6916fed3f4795f33108cf16c366d | 6,005 | kt | Kotlin | ok-propertysale-be-app-ktor/src/main/kotlin/ru/otus/otuskotlin/propertysale/be/app/ktor/Application.kt | otuskotlin/otuskotlin-202012-propertysale-ks | ed9a38627e64ed36131280ca7449547ba1d06829 | [
"MIT"
] | 1 | 2021-03-15T18:33:08.000Z | 2021-03-15T18:33:08.000Z | ok-propertysale-be-app-ktor/src/main/kotlin/ru/otus/otuskotlin/propertysale/be/app/ktor/Application.kt | otuskotlin/otuskotlin-202012-propertysale-ks | ed9a38627e64ed36131280ca7449547ba1d06829 | [
"MIT"
] | null | null | null | ok-propertysale-be-app-ktor/src/main/kotlin/ru/otus/otuskotlin/propertysale/be/app/ktor/Application.kt | otuskotlin/otuskotlin-202012-propertysale-ks | ed9a38627e64ed36131280ca7449547ba1d06829 | [
"MIT"
] | null | null | null | package ru.otus.otuskotlin.propertysale.be.app.ktor
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.http.content.*
import io.ktor.response.*
import io.ktor.routing.*
import ru.otus.otuskotlin.propertysale.backend.repository.cassandra.flat.FlatRepositoryCassandra
import ru.otus.otuskotlin.propertysale... | 41.130137 | 107 | 0.727227 |
077800ff059652cb9007cf924ebd9051e7f2eb04 | 251 | css | CSS | src/css/index.css | PROPHESSOR/EduOrg-Module-IDE | b42767dc6d2e97b07711266a1e94d7dcfff64dc5 | [
"BSD-3-Clause"
] | null | null | null | src/css/index.css | PROPHESSOR/EduOrg-Module-IDE | b42767dc6d2e97b07711266a1e94d7dcfff64dc5 | [
"BSD-3-Clause"
] | null | null | null | src/css/index.css | PROPHESSOR/EduOrg-Module-IDE | b42767dc6d2e97b07711266a1e94d7dcfff64dc5 | [
"BSD-3-Clause"
] | null | null | null | @import url("App.css");
@import url("Sidebar.css");
@import url("Topbar.css");
@import url("Icons.css");
@import url("Code.css");
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
* {
user-select: none;
-webkit-user-select: none;
} | 14.764706 | 28 | 0.625498 |
dc2faa81c63839dc5a71aa646454e892ce83ec83 | 4,114 | tsx | TypeScript | 0-notes/my-notes/REACT/REPOS/material-components-web-react-master/packages/select/icon/index.tsx | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 2,120 | 2018-03-06T20:01:52.000Z | 2022-03-25T08:09:43.000Z | 0-notes/my-notes/REACT/REPOS/material-components-web-react-master/packages/select/icon/index.tsx | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 1,000 | 2018-03-07T04:03:22.000Z | 2022-03-02T02:29:51.000Z | 0-notes/my-notes/REACT/REPOS/material-components-web-react-master/packages/select/icon/index.tsx | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | 345 | 2018-03-29T00:26:03.000Z | 2022-03-30T01:15:04.000Z | // The MIT License
//
// Copyright (c) 2019 Google, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mo... | 31.891473 | 83 | 0.66772 |
fc7b49f213e482fe3465b9d7c73cb414ea13c5be | 471 | sql | SQL | db/migrations/postgres/000057_upgrade_command_webhooks_v6.0.up.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 1 | 2022-03-14T07:07:43.000Z | 2022-03-14T07:07:43.000Z | db/migrations/postgres/000057_upgrade_command_webhooks_v6.0.up.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 2 | 2022-02-13T03:34:57.000Z | 2022-03-01T03:39:21.000Z | db/migrations/postgres/000057_upgrade_command_webhooks_v6.0.up.sql | vicky-demansol/mattermost-server | 770f7a8e5ad2694fda349a9c48339594df8f21fe | [
"Apache-2.0"
] | 1 | 2022-01-02T00:37:14.000Z | 2022-01-02T00:37:14.000Z | DO $$
<<migrate_root_id_command_webhooks>>
DECLARE
parentid_exist boolean := false;
BEGIN
SELECT count(*) != 0 INTO parentid_exist
FROM information_schema.columns
WHERE table_name = 'commandwebhooks'
AND column_name = 'parentid';
IF parentid_exist THEN
UPDATE commandwebhooks SET rootid = parentid W... | 29.4375 | 90 | 0.764331 |
dffa1a77dff363991ba67978413383a89d7c4651 | 87,986 | sql | SQL | sql/avril_20200916.sql | ykyh-arch/Avril-Lavigne | c1d500011bd022db82f93b3202e11a171dddf412 | [
"MIT"
] | null | null | null | sql/avril_20200916.sql | ykyh-arch/Avril-Lavigne | c1d500011bd022db82f93b3202e11a171dddf412 | [
"MIT"
] | null | null | null | sql/avril_20200916.sql | ykyh-arch/Avril-Lavigne | c1d500011bd022db82f93b3202e11a171dddf412 | [
"MIT"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : 127.0.0.1
Source Server Version : 80021
Source Host : 127.0.0.1:3306
Source Database : ry
Target Server Type : MYSQL
Target Server Version : 80021
File Encoding : 65001
Date: 2020-09-16 16:25:28
*/
SET FOREIGN_KEY_CHECKS=0;
-- ------... | 86.430255 | 2,114 | 0.654877 |
c9ca5d80b2685a90c6401e1c05908dfaebfd6465 | 2,712 | ts | TypeScript | test/spec/api/bodyguard/get-readable-relations.spec.ts | StatelessStudio/pointyapi | ddb7999f75fffdbef215177f7843e95400483935 | [
"MIT"
] | 4 | 2019-09-13T16:13:41.000Z | 2022-02-15T20:30:39.000Z | test/spec/api/bodyguard/get-readable-relations.spec.ts | StatelessStudio/pointyapi | ddb7999f75fffdbef215177f7843e95400483935 | [
"MIT"
] | 163 | 2018-11-10T15:15:17.000Z | 2021-12-25T22:39:42.000Z | test/spec/api/bodyguard/get-readable-relations.spec.ts | StatelessStudio/pointyapi | ddb7999f75fffdbef215177f7843e95400483935 | [
"MIT"
] | 1 | 2022-01-21T17:56:09.000Z | 2022-01-21T17:56:09.000Z | import { User } from '../../../examples/chat/models/user';
import { ChatMessage } from '../../../examples/chat/models/chat-message';
import {
getReadableRelations,
CanReadRelation
} from '../../../../src/bodyguard';
import { BaseModel, ExampleUser } from '../../../../src/models';
import { UserRole } from '../../../..... | 28.25 | 73 | 0.687684 |
79ac5148bf129d312eb74096bfe0b7c7a8b19de4 | 12,474 | sql | SQL | sisbiblio.sql | christian45p/proyectoBiblioteca | f9f94dc9f04c34b634da918c5e07212b9bc49fd2 | [
"MIT"
] | null | null | null | sisbiblio.sql | christian45p/proyectoBiblioteca | f9f94dc9f04c34b634da918c5e07212b9bc49fd2 | [
"MIT"
] | 1 | 2019-12-04T16:31:58.000Z | 2019-12-04T16:51:32.000Z | sisbiblio.sql | christian45p/proyectoBiblioteca | f9f94dc9f04c34b634da918c5e07212b9bc49fd2 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 05-11-2019 a las 04:42:46
-- Versión del servidor: 10.4.6-MariaDB
-- Versión de PHP: 7.3.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";... | 31.185 | 263 | 0.68278 |
ebace485d85c45f5d62b518e5d4d79a54f980c7b | 13,175 | css | CSS | dsg/tema-padrao.css | gruhh/Biblioteca.cc | 2cb8111234302ec4d8ac19d0e8494acf72451a7c | [
"MIT"
] | null | null | null | dsg/tema-padrao.css | gruhh/Biblioteca.cc | 2cb8111234302ec4d8ac19d0e8494acf72451a7c | [
"MIT"
] | null | null | null | dsg/tema-padrao.css | gruhh/Biblioteca.cc | 2cb8111234302ec4d8ac19d0e8494acf72451a7c | [
"MIT"
] | null | null | null | body{font-family:Arial,Helvetica,sans-serif;font-weight:300}a{color:#0699d0;text-decoration:none}a:hover,a:focus{color:#0286b9;text-decoration:underline}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14p... | 13,175 | 13,175 | 0.793169 |
af2acdfbf6cbbe46551c5cb31d154e309ae604ca | 473 | py | Python | metroclima/__version__.py | jonathadv/metroclima-cli | 1511c3495e4f7c2808eabf6f969d0a067002cc02 | [
"MIT"
] | null | null | null | metroclima/__version__.py | jonathadv/metroclima-cli | 1511c3495e4f7c2808eabf6f969d0a067002cc02 | [
"MIT"
] | null | null | null | metroclima/__version__.py | jonathadv/metroclima-cli | 1511c3495e4f7c2808eabf6f969d0a067002cc02 | [
"MIT"
] | null | null | null | """
Metroclima database CLI tool
Project information
"""
__title__ = 'metroclima'
__description__ = 'A simple Python tool to retrieve information from ' \
'the Porto Alegre city\'s Metroclima database.'
__url__ = 'https://github.com/jonathadv/metroclima-dump'
__version__ = '1.0.0'
__author__ = 'Jona... | 29.5625 | 72 | 0.744186 |
c862be6c5159bba2064f6ab471d2c3a2b96b3866 | 8,890 | swift | Swift | CavernSeer/Models/Serializations/ProjectFile.swift | skgrush/CavernSeer | 0571b7dd93e1515641726d03a93cb6a3218904d5 | [
"MIT"
] | 15 | 2021-01-03T17:30:00.000Z | 2022-03-21T23:06:32.000Z | CavernSeer/Models/Serializations/ProjectFile.swift | skgrush/CavernSeer | 0571b7dd93e1515641726d03a93cb6a3218904d5 | [
"MIT"
] | 26 | 2020-11-01T01:17:12.000Z | 2021-12-27T15:04:59.000Z | CavernSeer/Models/Serializations/ProjectFile.swift | skgrush/CavernSeer | 0571b7dd93e1515641726d03a93cb6a3218904d5 | [
"MIT"
] | 4 | 2021-06-21T02:44:33.000Z | 2022-03-22T10:28:43.000Z | //
// ProjectFile.swift
// CavernSeer
//
// Created by Samuel Grush on 7/13/20.
// Copyright © 2020 Samuel K. Grush. All rights reserved.
//
import Foundation
import ARKit /// simd_float4x4
final class ProjectFile : NSObject, StoredFileProtocol {
typealias CacheType = ProjectCacheFile
static let filePrefi... | 36.285714 | 92 | 0.595726 |
f9370f561bcb2e1cbcc3fe08d94b8e4d6fe4d3b7 | 93 | go | Go | version.go | sourya-deepsource/stopwatch | 46e3f3537b82c716e6d7dae1d1ba409d2f5128c3 | [
"BSD-3-Clause"
] | 14 | 2015-04-22T17:30:39.000Z | 2021-01-17T22:10:33.000Z | version.go | sourya-deepsource/stopwatch | 46e3f3537b82c716e6d7dae1d1ba409d2f5128c3 | [
"BSD-3-Clause"
] | 4 | 2017-04-17T18:55:40.000Z | 2018-04-30T16:33:53.000Z | version.go | sourya-deepsource/stopwatch | 46e3f3537b82c716e6d7dae1d1ba409d2f5128c3 | [
"BSD-3-Clause"
] | 6 | 2015-04-20T20:52:32.000Z | 2020-11-23T06:33:10.000Z | package stopwatch
// VERSION represents the version of this library
const VERSION = "1.0.0"
| 18.6 | 49 | 0.763441 |
7e9a46d0726f37e217e87324383afe246ec34957 | 3,405 | kt | Kotlin | src/main/java/com/sayzen/campfiresdk/controllers/ControllerAlive.kt | ZeonXX/CampfireSDKKotlin | f35704dd1b362a631055fa64768decc0d612a46c | [
"Apache-2.0"
] | null | null | null | src/main/java/com/sayzen/campfiresdk/controllers/ControllerAlive.kt | ZeonXX/CampfireSDKKotlin | f35704dd1b362a631055fa64768decc0d612a46c | [
"Apache-2.0"
] | null | null | null | src/main/java/com/sayzen/campfiresdk/controllers/ControllerAlive.kt | ZeonXX/CampfireSDKKotlin | f35704dd1b362a631055fa64768decc0d612a46c | [
"Apache-2.0"
] | 4 | 2019-10-27T09:31:52.000Z | 2021-12-31T13:26:22.000Z | package com.sayzen.campfiresdk.controllers
import android.content.Intent
import com.dzen.campfire.api.models.notifications.project.NotificationAlive
import com.dzen.campfire.api.requests.project.RProjectVersionGet
import com.dzen.campfire.api_media.requests.RResourcesGet
import com.sayzen.campfiresdk.R
import com.sayz... | 40.535714 | 220 | 0.628781 |
b36600c0007234d96ffbd2c16850a8d03bde32b5 | 1,988 | py | Python | pushNotification/pushNotification/pushNotification.py | mkalioby/Python_Notifications | 56d1e404fbc7496febc2955edc1359438718cc75 | [
"MIT"
] | 1 | 2015-10-10T12:41:17.000Z | 2015-10-10T12:41:17.000Z | pushNotification/pushNotification/pushNotification.py | mkalioby/Python_Notifications | 56d1e404fbc7496febc2955edc1359438718cc75 | [
"MIT"
] | null | null | null | pushNotification/pushNotification/pushNotification.py | mkalioby/Python_Notifications | 56d1e404fbc7496febc2955edc1359438718cc75 | [
"MIT"
] | null | null | null | #! /usr/bin/python
from __future__ import print_function
try:
import ConfigParser
except:
import configparser as ConfigParser
import os
import simplejson,sys
from future.standard_library import install_aliases
install_aliases()
from urllib.parse import urlparse, urlencode
from urllib.request import urlopen, Request... | 28.811594 | 103 | 0.732897 |
d5b73a8c53e0bb8add0f8bf46aa92ea1df3931ad | 1,100 | lua | Lua | questions/numbers/q00081/init.lua | bradunov/shkola | 6ef057f5bd483318bf5763392972d48de481d0fb | [
"MIT"
] | 2 | 2019-08-25T09:37:27.000Z | 2021-01-25T20:22:30.000Z | questions/numbers/q00081/init.lua | bradunov/shkola | 6ef057f5bd483318bf5763392972d48de481d0fb | [
"MIT"
] | 28 | 2019-07-04T19:53:36.000Z | 2020-10-24T13:27:56.000Z | questions/numbers/q00081/init.lua | bradunov/shkola | 6ef057f5bd483318bf5763392972d48de481d0fb | [
"MIT"
] | null | null | null | addition_table = function()
columns = 8
min_range = 101
max_range = 499
adder = min_range + math.random(max_range - min_range);
substr = min_range + math.random(adder - min_range);
q = {}
for i=0,columns-1 do
q[i] = {}
q[i][1] = min_range + math.random(899 - adder)
q[i][2] = q[i][1] + adder
... | 22.916667 | 69 | 0.56 |
515e860cf3b0bcd1e09b2f9da64d5577b1e6f251 | 3,146 | rs | Rust | src/pool/tests.rs | BusyJay/yatp | 6dc4a84646868c51104bc8ba8860d7b6cd0464c3 | [
"Apache-2.0"
] | null | null | null | src/pool/tests.rs | BusyJay/yatp | 6dc4a84646868c51104bc8ba8860d7b6cd0464c3 | [
"Apache-2.0"
] | null | null | null | src/pool/tests.rs | BusyJay/yatp | 6dc4a84646868c51104bc8ba8860d7b6cd0464c3 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
use crate::pool::*;
use crate::queue;
use crate::task::callback::{Handle, Runner};
use rand::seq::SliceRandom;
use std::sync::mpsc;
use std::thread;
use std::time::*;
#[test]
fn test_basic() {
let r = Runner::new(3);
let mut builder = Builder:... | 30.843137 | 81 | 0.587095 |
797741b73416f679662ff7b1780b36f7d3be3b41 | 144,880 | cc | C++ | xconv/src/mainWS.cc | scattering-central/CCP13 | e78440d34d0ac80d2294b131ca17dddcf7505b01 | [
"BSD-3-Clause"
] | null | null | null | xconv/src/mainWS.cc | scattering-central/CCP13 | e78440d34d0ac80d2294b131ca17dddcf7505b01 | [
"BSD-3-Clause"
] | null | null | null | xconv/src/mainWS.cc | scattering-central/CCP13 | e78440d34d0ac80d2294b131ca17dddcf7505b01 | [
"BSD-3-Clause"
] | 3 | 2017-09-05T15:15:22.000Z | 2021-01-15T11:13:45.000Z |
/*******************************************************************************
mainWS.cc
Associated Header file: mainWS.h
*******************************************************************************/
#include <stdio.h>
#include<iostream.h>
#ifdef MOTIF
#include <Xm/Xm.h>
#include <Xm/MwmUtil.h>
#include ... | 26.544522 | 144 | 0.639301 |
4d9350675667ce3f37d3c8f4b7621b4f12aec221 | 623 | cs | C# | src/Server/Application/Users/FindById/FindUserByIdQueryHandler.cs | afgalvan/Tilia | 4137679b5cfce56fd2920cf387fad32dd2957486 | [
"MIT"
] | 4 | 2021-09-08T19:30:29.000Z | 2022-03-24T11:56:12.000Z | src/Server/Application/Users/FindById/FindUserByIdQueryHandler.cs | afgalvan/Tilia | 4137679b5cfce56fd2920cf387fad32dd2957486 | [
"MIT"
] | 46 | 2021-10-20T16:45:43.000Z | 2022-03-21T22:30:13.000Z | src/Server/Application/Users/FindById/FindUserByIdQueryHandler.cs | afgalvan/Tilia | 4137679b5cfce56fd2920cf387fad32dd2957486 | [
"MIT"
] | 1 | 2021-09-11T17:17:29.000Z | 2021-09-11T17:17:29.000Z | using System.Threading;
using System.Threading.Tasks;
using Domain.Users;
using SharedLib.Domain.Bus.Query;
namespace Application.Users.FindById
{
public class FindUserByIdQueryHandler : IQueryHandler<FindUserByIdQuery, User>
{
private readonly UserFinder _userFinder;
public FindUserByIdQuery... | 27.086957 | 102 | 0.707865 |
dd880178849dc60258db558f492f717d3fdf11fc | 2,827 | java | Java | src/main/java/com/codnos/dbgp/api/DBGpFactory.java | Codnos/dbgp-interfaces | 8d15f35e7496163aac41e8451e851a6847e1741d | [
"Apache-2.0"
] | 1 | 2016-11-16T23:47:30.000Z | 2016-11-16T23:47:30.000Z | src/main/java/com/codnos/dbgp/api/DBGpFactory.java | Codnos/dbgp-interfaces | 8d15f35e7496163aac41e8451e851a6847e1741d | [
"Apache-2.0"
] | null | null | null | src/main/java/com/codnos/dbgp/api/DBGpFactory.java | Codnos/dbgp-interfaces | 8d15f35e7496163aac41e8451e851a6847e1741d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016 Codnos Ltd.
*
* 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... | 32.494253 | 113 | 0.6682 |
e70aece5e5cc683e697e0fb332b7bc2de8c5b9d3 | 732 | go | Go | len/main.go | qshuai/Tools | 1f7ed7c8af0fb5a78035496bf87a9b5e17705488 | [
"MIT"
] | 3 | 2018-08-23T15:43:37.000Z | 2018-10-15T15:34:08.000Z | len/main.go | qshuai/commandlineTool | 1f7ed7c8af0fb5a78035496bf87a9b5e17705488 | [
"MIT"
] | null | null | null | len/main.go | qshuai/commandlineTool | 1f7ed7c8af0fb5a78035496bf87a9b5e17705488 | [
"MIT"
] | 1 | 2018-10-15T08:20:06.000Z | 2018-10-15T08:20:06.000Z | //this program will calculate the length of input string.
//you can build a executable file and move it to your path.
//usage: go build -o len main.go
//commandline: len input your string
package main
import (
"fmt"
"os"
)
func main() {
args := os.Args
length := len(args)
if length < 2 {
fmt.Println(" \033[... | 24.4 | 69 | 0.610656 |
8dab1882e53eb319f5ec444109d43bdc044548f7 | 1,857 | js | JavaScript | bg_client/src/component/banner.js | sluggard6/bgirl | 3c9fa895189ef16442694830d0c05cf60ee5187b | [
"Apache-2.0"
] | null | null | null | bg_client/src/component/banner.js | sluggard6/bgirl | 3c9fa895189ef16442694830d0c05cf60ee5187b | [
"Apache-2.0"
] | null | null | null | bg_client/src/component/banner.js | sluggard6/bgirl | 3c9fa895189ef16442694830d0c05cf60ee5187b | [
"Apache-2.0"
] | null | null | null | // @flow
import React, {Component} from 'react';
import {
StyleSheet,
View,
Image,
Text,
TouchableOpacity
} from 'react-native';
import Global from '../utils/global'
import FullViewTab from '../page/full_view_tab'
export default class Banner extends Component {
constructor(props) {
super(props);
... | 20.406593 | 121 | 0.616586 |
623b06fcbf9cf128fe5da03335e677117d93ad78 | 2,160 | py | Python | services/catalog/tests/unit/with_dbs/test_entrypoint_dags.py | KZzizzle/osparc-simcore | 981bc8d193f3f5d507e3225f857e0308c339e163 | [
"MIT"
] | null | null | null | services/catalog/tests/unit/with_dbs/test_entrypoint_dags.py | KZzizzle/osparc-simcore | 981bc8d193f3f5d507e3225f857e0308c339e163 | [
"MIT"
] | null | null | null | services/catalog/tests/unit/with_dbs/test_entrypoint_dags.py | KZzizzle/osparc-simcore | 981bc8d193f3f5d507e3225f857e0308c339e163 | [
"MIT"
] | null | null | null | # pylint:disable=unused-variable
# pylint:disable=unused-argument
# pylint:disable=redefined-outer-name
from typing import Dict, List
import pytest
from starlette.testclient import TestClient
from simcore_service_catalog.__version__ import api_version
from simcore_service_catalog.models.schemas.meta import Meta
cor... | 28.421053 | 63 | 0.710648 |
cd40de9135b5452ac76074fcecb7e88df4bd86b4 | 1,197 | cs | C# | Source/Inixe.CoinManagement.Bitso.Api/BalanceUpdate.cs | ingemarparra/Inixe.Coinmanager | d92824f82bd51df91a45cfab859769e2bf710401 | [
"MIT"
] | null | null | null | Source/Inixe.CoinManagement.Bitso.Api/BalanceUpdate.cs | ingemarparra/Inixe.Coinmanager | d92824f82bd51df91a45cfab859769e2bf710401 | [
"MIT"
] | null | null | null | Source/Inixe.CoinManagement.Bitso.Api/BalanceUpdate.cs | ingemarparra/Inixe.Coinmanager | d92824f82bd51df91a45cfab859769e2bf710401 | [
"MIT"
] | 2 | 2019-06-27T22:10:22.000Z | 2019-06-27T22:25:46.000Z | // -----------------------------------------------------------------------
// <copyright file="BalanceUpdate.cs" company="Inixe">
// Copyright (c) Inixe 2017. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Inixe.CoinManagement.Bitso.Api
{
... | 33.25 | 75 | 0.572264 |
a4a17c11297da27205f1c90d80641de24d729d4b | 1,191 | php | PHP | resources/views/admin/category/index.blade.php | TichShowers/Character-Repository | ba492c1b33e5db886d2c844bd7f60e475f0f663b | [
"Apache-2.0"
] | null | null | null | resources/views/admin/category/index.blade.php | TichShowers/Character-Repository | ba492c1b33e5db886d2c844bd7f60e475f0f663b | [
"Apache-2.0"
] | null | null | null | resources/views/admin/category/index.blade.php | TichShowers/Character-Repository | ba492c1b33e5db886d2c844bd7f60e475f0f663b | [
"Apache-2.0"
] | null | null | null | @extends('shared/_adminlayout')
@section('title')
Categories
@endsection
@section('content')
<a href="{{ route('admin.category.create') }}" class="btn btn-primary btn-lg"><i class="glyphicon glyphicon-plus"></i> Create new Category</a>
<hr/>
@if($categories->count())
<ul class="list-group">... | 33.083333 | 146 | 0.502099 |
660327d3d857a7a801d952dbaba10accab85b02a | 418 | py | Python | testRegression.py | hongzhenwei/Recognition | 5ce88c3c09b0894330c692bb84c04327bc930885 | [
"Apache-2.0"
] | 6 | 2020-04-14T04:54:30.000Z | 2021-12-04T08:14:17.000Z | testRegression.py | hongzhenwei/Recognition | 5ce88c3c09b0894330c692bb84c04327bc930885 | [
"Apache-2.0"
] | null | null | null | testRegression.py | hongzhenwei/Recognition | 5ce88c3c09b0894330c692bb84c04327bc930885 | [
"Apache-2.0"
] | 1 | 2022-02-14T00:42:29.000Z | 2022-02-14T00:42:29.000Z |
import tensorflow as tf
x = tf.placeholder("float", [None, 784])
sess = tf.Session()
#获取模型参数
W = tf.Variable(tf.zeros([784, 10]), name='W')
b = tf.Variable(tf.zeros([10]), name='b')
y = tf.nn.softmax(tf.matmul(x, W) + b)
saver = tf.train.Saver([W, b])
saver.restore(sess, 'mnist/data/regresstion.ckpt')
def regres... | 19 | 64 | 0.650718 |