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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23696692e23dfb3eb4a72a18b6e39cff8761118e | 1,806 | css | CSS | source/theme/workshops/Instagram/styles/header.css | nataliasabadysh/react-movies_app | 71d1c03dee0911f8235866f11ef3b60a06ec1ab0 | [
"MIT"
] | null | null | null | source/theme/workshops/Instagram/styles/header.css | nataliasabadysh/react-movies_app | 71d1c03dee0911f8235866f11ef3b60a06ec1ab0 | [
"MIT"
] | null | null | null | source/theme/workshops/Instagram/styles/header.css | nataliasabadysh/react-movies_app | 71d1c03dee0911f8235866f11ef3b60a06ec1ab0 | [
"MIT"
] | null | null | null | .header {
display: flex;
justify-content: space-between;
max-width: 1010px;
margin: 0 auto 0;
padding: 19px 40px 22px;
& .logo {
display: inline-block;
width: 176px;
height: 35px;
background-image: url('../assets/images/instagram-logo.png');
background-re... | 22.575 | 69 | 0.498893 |
ff2dfc570957e1d11b1df390c847ee4f7cfb2b1f | 850 | py | Python | tests/aws/test_ses.py | mchestr/pycbc | c215c1f177fe383ec6e797437fa2d5f4727eb9f3 | [
"Unlicense"
] | null | null | null | tests/aws/test_ses.py | mchestr/pycbc | c215c1f177fe383ec6e797437fa2d5f4727eb9f3 | [
"Unlicense"
] | null | null | null | tests/aws/test_ses.py | mchestr/pycbc | c215c1f177fe383ec6e797437fa2d5f4727eb9f3 | [
"Unlicense"
] | null | null | null | from unittest.mock import patch, MagicMock
import pytest
from pycbc.aws import ses
@pytest.fixture
def mock_ses():
ses_mock = MagicMock()
with patch('pycbc.aws.ses.boto3.client') as mock:
mock.return_value = ses_mock
yield ses_mock
def test_send_email(email, mock_ses):
ses.send_email(e... | 22.972973 | 72 | 0.495294 |
589d2798343aaa776890908fc20b57a7e64fc4e9 | 840 | lua | Lua | scripting.lua | aedifi/edits | e0b6f43ce7cd71c46167c053bdb5de15ba94a0e0 | [
"Apache-2.0"
] | 1 | 2020-06-29T22:32:50.000Z | 2020-06-29T22:32:50.000Z | scripting.lua | aedifi/edits | e0b6f43ce7cd71c46167c053bdb5de15ba94a0e0 | [
"Apache-2.0"
] | null | null | null | scripting.lua | aedifi/edits | e0b6f43ce7cd71c46167c053bdb5de15ba94a0e0 | [
"Apache-2.0"
] | null | null | null | -- scripting.lua
-- Handlers for scripting-related commands.
-- Loads and executes a craftscript.
function HandleCraftScriptCommand(a_Split, a_Player)
local PlayerState = GetPlayerState(a_Player)
if (not a_Split[2]) then
a_Player:SendMessage(cChatColor.LightGray .. "Usage: " .. a_Split[1] .. " <script>")
return... | 27.096774 | 86 | 0.758333 |
b335ee38f9e629274e4f7f2c955038cda98ed7bc | 1,413 | py | Python | lab1/file_client.py | xtutran/python-labs | 252041d26125cfed300905a028f1c72e62a6e048 | [
"BSD-3-Clause"
] | null | null | null | lab1/file_client.py | xtutran/python-labs | 252041d26125cfed300905a028f1c72e62a6e048 | [
"BSD-3-Clause"
] | null | null | null | lab1/file_client.py | xtutran/python-labs | 252041d26125cfed300905a028f1c72e62a6e048 | [
"BSD-3-Clause"
] | null | null | null | from socket import * # Import socket module
import sys
# main method to launch the client
def main():
argv = sys.argv
if len(argv) != 4:
print 'Usage: python file_client.py 192.168.10.1 9090 filename'
sys.exit(1)
if not argv[2].isdigit():
print 'Port must be a number'
sys... | 26.660377 | 71 | 0.562633 |
223e84c23bbc79493597bdac5bc6a7ed34db532d | 326 | kt | Kotlin | src/main/java/com/dystopia/sketch/element/PagesArray.kt | tseylerd/dystopia-model | b85deba8b0517f1a32a6770225384d48651fc534 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/dystopia/sketch/element/PagesArray.kt | tseylerd/dystopia-model | b85deba8b0517f1a32a6770225384d48651fc534 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/dystopia/sketch/element/PagesArray.kt | tseylerd/dystopia-model | b85deba8b0517f1a32a6770225384d48651fc534 | [
"Apache-2.0"
] | null | null | null | package com.dystopia.sketch.element
import com.dystopia.sketch.api.SketchElement
class PagesArray(children: Array<SketchElement>): ArrayElement(children) {
val pages: MutableList<String> = ArrayList()
override fun reproduce(children: Array<SketchElement>): ArrayElement {
return PagesArray(children)
... | 29.636364 | 74 | 0.757669 |
875bba0c1d216ca4fb61992c5a8300c7c2edebfc | 479 | swift | Swift | Chapter03/starter/NBAWatchDraft/NBAWatchDraft WatchKit Extension/Views/DraftList.swift | IsYet1/SwiftUI-Projects | 83c546ad3bb006c3ba5836cd237e4c46d9b1eb31 | [
"MIT"
] | 63 | 2020-06-02T20:37:30.000Z | 2022-03-17T22:12:19.000Z | Chapter03/starter/NBAWatchDraft/NBAWatchDraft WatchKit Extension/Views/DraftList.swift | multitudes/SwiftUI-Projects | 9233823d283d85b0bf00a6696359535f7f037bea | [
"MIT"
] | 2 | 2020-12-29T14:17:28.000Z | 2021-01-29T14:38:35.000Z | Chapter03/starter/NBAWatchDraft/NBAWatchDraft WatchKit Extension/Views/DraftList.swift | multitudes/SwiftUI-Projects | 9233823d283d85b0bf00a6696359535f7f037bea | [
"MIT"
] | 24 | 2019-12-25T17:53:37.000Z | 2022-02-11T02:48:58.000Z | //
// DraftList.swift
// NBAWatchDraft WatchKit Extension
//
// Created by Craig Clayton on 12/19/19.
// Copyright © 2019 Cocoa Academy. All rights reserved.
//
import SwiftUI
struct DraftList: View {
// add properties here
var body: some View {
Text("Draft List")
}
// add topCard... | 15.966667 | 56 | 0.638831 |
4b1d16d82ff3acab9db85dfa0ed3a2182e991653 | 5,928 | swift | Swift | Sources/HCIHoldMode.swift | sbrewin/Bluetooth | 2e0d8ac67b96ab82443aec8ef21de3c522be319c | [
"MIT"
] | 1 | 2019-04-08T05:57:34.000Z | 2019-04-08T05:57:34.000Z | Sources/HCIHoldMode.swift | sbrewin/Bluetooth | 2e0d8ac67b96ab82443aec8ef21de3c522be319c | [
"MIT"
] | null | null | null | Sources/HCIHoldMode.swift | sbrewin/Bluetooth | 2e0d8ac67b96ab82443aec8ef21de3c522be319c | [
"MIT"
] | 1 | 2019-03-31T12:44:32.000Z | 2019-03-31T12:44:32.000Z | //
// HCIHoldMode.swift
// Bluetooth
//
// Created by Alsey Coleman Miller on 6/15/18.
// Copyright © 2018 PureSwift. All rights reserved.
//
import Foundation
/**
Hold Mode Command
The Hold_Mode command is used to alter the behavior of the Link Manager, and have it place the ACL baseband connection associate... | 43.588235 | 1,361 | 0.662449 |
5df3bde3711d7e111f675f2b04d73527f8b74c8a | 2,012 | cpp | C++ | Prim/PrimComToken_Enum.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | Prim/PrimComToken_Enum.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | 2 | 2021-07-07T17:31:49.000Z | 2021-07-16T11:40:38.000Z | Prim/PrimComToken_Enum.cpp | OuluLinux/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | #include <Prim/PrimIncludeAll.h>
#ifndef NO_DATA
TYPEINFO_SINGLE(PrimComToken_Enum, PrimComToken_String);
#endif
#ifndef NO_CODE
//
// Construct an aName token for a string value in theValue as part of aParser, using
// someOptions for parsing, and aUsage as a description of the token.
//
PrimComToken_Enum::P... | 28.338028 | 126 | 0.698807 |
e700ee4d1a98746e432dd828a0c768f5d2468a02 | 2,694 | php | PHP | app/Admin/Forms/ProductActive.php | guojian1039/larastu | 08dcf387369272d256f1a48b907741972a68f033 | [
"MIT"
] | null | null | null | app/Admin/Forms/ProductActive.php | guojian1039/larastu | 08dcf387369272d256f1a48b907741972a68f033 | [
"MIT"
] | 4 | 2021-02-02T21:10:01.000Z | 2022-02-27T09:12:14.000Z | app/Admin/Forms/ProductActive.php | guojian1039/larastu | 08dcf387369272d256f1a48b907741972a68f033 | [
"MIT"
] | null | null | null | <?php
namespace App\Admin\Forms;
use App\Models\Product;
use Carbon\Carbon;
use Dcat\Admin\Widgets\Form;
use Symfony\Component\HttpFoundation\Response;
class ProductActive extends Form
{
protected $product_id;
protected $type;
public function __construct(int $product_id=0,string $type=null)
{
... | 28.659574 | 133 | 0.50928 |
d16519d91f838ab13c2d7b8c8e51b2e9dc9367d6 | 176,428 | sql | SQL | app_server/tl/uploads/GBPCHF_H1.sql | paulpierre/pp_chartvisual | 2b7868d078084e3b8149ba460586027ff93ec614 | [
"Unlicense"
] | null | null | null | app_server/tl/uploads/GBPCHF_H1.sql | paulpierre/pp_chartvisual | 2b7868d078084e3b8149ba460586027ff93ec614 | [
"Unlicense"
] | null | null | null | app_server/tl/uploads/GBPCHF_H1.sql | paulpierre/pp_chartvisual | 2b7868d078084e3b8149ba460586027ff93ec614 | [
"Unlicense"
] | 2 | 2019-07-17T07:36:45.000Z | 2021-08-06T20:51:48.000Z | DROP TABLE IF EXISTS `GBPCHF_H1`;
CREATE TABLE IF NOT EXISTS `GBPCHF_H1`(
`id` int(5) NOT NULL,
`bull` varchar(10) NOT NULL,
`bear` varchar(10) NOT NULL,
`buy` varchar(10) NOT NULL,
`sell` varchar(10) NOT NULL,
`av` varchar(10) NOT NULL,
`mm` varchar(10) NOT NULL,
`time` varchar(30) NOT NULL);
ALTER TABLE `GB... | 173.99211 | 177 | 0.647817 |
e251df2acf05176b16829a0a1aba71f06877d363 | 2,510 | js | JavaScript | algorithms/index.js | kpunith8/javascript-samples | 1c7f6c6c6de92f5d34214e1a5479bd636e85ee85 | [
"MIT"
] | 3 | 2018-10-30T18:43:08.000Z | 2021-03-01T10:06:57.000Z | algorithms/index.js | kpunith8/javascript-samples | 1c7f6c6c6de92f5d34214e1a5479bd636e85ee85 | [
"MIT"
] | 2 | 2021-08-05T04:50:37.000Z | 2022-02-14T09:37:23.000Z | algorithms/index.js | kpunith8/javascript-samples | 1c7f6c6c6de92f5d34214e1a5479bd636e85ee85 | [
"MIT"
] | null | null | null | // Rotate a 2D a array 90 degrees clockwise
const rotateImage = array => {
const n = array.length;
for (let i = 0; i < n; i++) {
for (let j = i; j < n; j++) {
const temp = array[i][j];
array[i][j] = array[j][i];
array[j][i] = temp;
}
}
for (let i = 0; i < n; i++) {
for (let j = 0... | 23.240741 | 127 | 0.548606 |
24c0a6dfbafa86c8a6ad203cc7ab11b6c0b03d8b | 319 | php | PHP | app/Http/Controllers/WelcomeController.php | nikola-171/articles | 3821f7eb3b8ffe84af1df2424b81b7caf15a33f1 | [
"MIT"
] | null | null | null | app/Http/Controllers/WelcomeController.php | nikola-171/articles | 3821f7eb3b8ffe84af1df2424b81b7caf15a33f1 | [
"MIT"
] | null | null | null | app/Http/Controllers/WelcomeController.php | nikola-171/articles | 3821f7eb3b8ffe84af1df2424b81b7caf15a33f1 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Article;
class WelcomeController extends Controller
{
function show_articles(){
$articles = Article::orderBy('id','DESC')->simplePaginate(5);
return view('welcome')->with('articles', $articles);
}
}
| 17.722222 | 69 | 0.667712 |
bb954265e1c8114a553c74b9e0644a30a66a6a2f | 4,922 | lua | Lua | data/BHElib/scenes/stage/stage_transition_callbacks.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | null | null | null | data/BHElib/scenes/stage/stage_transition_callbacks.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | null | null | null | data/BHElib/scenes/stage/stage_transition_callbacks.lua | Karl5766/LuaSTG-x_BHElib | 8f4504fb39d5081016b3b8a123b475a3a8087e07 | [
"MIT"
] | null | null | null | ---------------------------------------------------------------------------------------------------
---stage_transition_callbacks.lua
---author: Karl
---date: 2021.7.8
---desc: implements stage transition callbacks that creates the next scene and clean up the current
--- stage; these functions are supposed to be fe... | 36.731343 | 99 | 0.703373 |
6406b53f842962d5fff052806a51ea4f06e283c9 | 136,735 | py | Python | GP/python/restapi/common_types.py | Bolton-and-Menk-GIS/Geoprocessing-Services-JSAPI-2018 | afb8f9153edc04bd81335b177ff45d895bcfc711 | [
"MIT"
] | 2 | 2018-09-25T19:38:50.000Z | 2019-01-06T14:08:12.000Z | GP/python/restapi/common_types.py | Bolton-and-Menk-GIS/Geoprocessing-Services-JSAPI-2018 | afb8f9153edc04bd81335b177ff45d895bcfc711 | [
"MIT"
] | null | null | null | GP/python/restapi/common_types.py | Bolton-and-Menk-GIS/Geoprocessing-Services-JSAPI-2018 | afb8f9153edc04bd81335b177ff45d895bcfc711 | [
"MIT"
] | null | null | null | # look for arcpy access, otherwise use open source version
from __future__ import print_function
import sqlite3
import base64
import shutil
import contextlib
import urlparse
from rest_utils import *
from .decorator import decorator
import sys
if sys.version_info[0] > 2:
basestring = str
try:
import arcpy
... | 42.267388 | 157 | 0.570278 |
f8bf84cc0c1e8879d56c766e5d1475903a4ab64f | 2,539 | h | C | FitSDKRelease_21.40.00/cpp/FitDecode.h | JoyKuan/ArchitecturalDesign_AI | 71442dcfdba20564a772a6807e43cbb86dafc14d | [
"Apache-2.0"
] | 1 | 2021-02-21T05:24:21.000Z | 2021-02-21T05:24:21.000Z | FitSDKRelease_21.40.00/cpp/MacStaticLib/build/ReleaseiOS-universal/usr/local/include/FitDecode.h | JoyKuan/ArchitecturalDesign_AI | 71442dcfdba20564a772a6807e43cbb86dafc14d | [
"Apache-2.0"
] | null | null | null | FitSDKRelease_21.40.00/cpp/MacStaticLib/build/ReleaseiOS-universal/usr/local/include/FitDecode.h | JoyKuan/ArchitecturalDesign_AI | 71442dcfdba20564a772a6807e43cbb86dafc14d | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Garmin Canada Inc.
// The software is being provided on an "as-is" basis and as an accommodation,
// ... | 33.853333 | 165 | 0.651831 |
5c10101c8c9592412742f322a4ed252df648f882 | 49,905 | lua | Lua | share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua | roman-murashov/hedgewars | 74f633d76bf95674f68f6872472bd21825f1f8c0 | [
"Apache-2.0"
] | null | null | null | --[[
version 1.3n
The expat (MIT) license
Copyright (C) 2012 Vatten
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,... | 33.538306 | 541 | 0.744755 |
af77a10689e2ea2e637a123e83d69c8943b63169 | 378 | dart | Dart | bitsdojo_window_macos/lib/src/app_window.dart | chifandeyu/bitsdojo_window | adad0cd40be3d3e12df11d864f18a96a2d0fb4fb | [
"MIT"
] | 445 | 2020-11-28T16:44:19.000Z | 2022-03-30T07:05:04.000Z | bitsdojo_window_macos/lib/src/app_window.dart | ADRIAN3003/bitsdojo_window | b0ae5c9f3a3afc3666ecad9145bc17f170398794 | [
"MIT"
] | 140 | 2020-12-01T17:14:42.000Z | 2022-03-18T18:14:42.000Z | bitsdojo_window_macos/lib/src/app_window.dart | ADRIAN3003/bitsdojo_window | b0ae5c9f3a3afc3666ecad9145bc17f170398794 | [
"MIT"
] | 101 | 2020-11-28T21:42:49.000Z | 2022-03-31T16:10:46.000Z | library bitsdojo_window_macos;
import './window.dart';
import './native_api.dart';
class MacAppWindow extends MacOSWindow {
MacAppWindow._() {
super.handle = getAppWindow();
if (handle == null) {
print("Could not get Flutter window");
}
}
static final MacAppWindow _instance = MacAppWindow._()... | 18.9 | 57 | 0.674603 |
4ac821ed9923dc78e2bb68325d98e1c9caf681ac | 553 | sql | SQL | user.sql | mz0/tut-hazelcast | 91d8323d07c0528d3427173be3950040ad1e8873 | [
"Apache-2.0"
] | null | null | null | user.sql | mz0/tut-hazelcast | 91d8323d07c0528d3427173be3950040ad1e8873 | [
"Apache-2.0"
] | null | null | null | user.sql | mz0/tut-hazelcast | 91d8323d07c0528d3427173be3950040ad1e8873 | [
"Apache-2.0"
] | null | null | null | -- as DB-root
-- mysql> CREATE USER zyx@localhost IDENTIFIED BY '888';
-- mysql> GRANT ALL PRIVILEGES ON xyz.* to zyx@localhost;
-- $ mysql -uzyx -p888 < user.sql
CREATE DATABASE xyz;
USE xyz;
CREATE TABLE user (
login VARCHAR(255) PRIMARY KEY,
password VARCHAR(255) NOT NULL,
salt VARCHAR(255) NOT NULL
);
INSERT ... | 27.65 | 67 | 0.775769 |
c370030482e0e5a323aef2bf6e448ae5ec97d1e8 | 7,215 | cs | C# | Assets/Mesh Tilesets/Runtime/Tileset.cs | studentutu/unity-mesh-tilesets | bc22e306b50379122a8ce8898fc66e181c833365 | [
"MIT"
] | 50 | 2021-01-02T16:17:33.000Z | 2022-03-08T07:44:32.000Z | Assets/Mesh Tilesets/Runtime/Tileset.cs | elopezga/unity-mesh-tilesets | 3783c376989c0f7416de95a11531bbd39a8e0c5b | [
"MIT"
] | 2 | 2021-01-01T15:10:56.000Z | 2021-01-23T13:38:07.000Z | Assets/Mesh Tilesets/Runtime/Tileset.cs | elopezga/unity-mesh-tilesets | 3783c376989c0f7416de95a11531bbd39a8e0c5b | [
"MIT"
] | 9 | 2021-01-02T16:17:40.000Z | 2021-08-23T05:58:56.000Z | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace MeshTilesets
{
public class Tileset : MonoBehaviour, IEnumerable<Tile>
{
public const int TILESET_FLAGS_COUNT = 16;
[HideInInspector]
[SerializeField] private List<Tile>... | 29.44898 | 118 | 0.496743 |
fcdcd37e0f70dd0cc156ad4ba53193d36c0aa18a | 1,710 | kt | Kotlin | adapty/src/main/java/com/adapty/api/AdaptyCallback.kt | ditansu/AdaptySDK-Android | c16d3c1f32369967b40e7fac31e4be676b08e692 | [
"MIT"
] | null | null | null | adapty/src/main/java/com/adapty/api/AdaptyCallback.kt | ditansu/AdaptySDK-Android | c16d3c1f32369967b40e7fac31e4be676b08e692 | [
"MIT"
] | null | null | null | adapty/src/main/java/com/adapty/api/AdaptyCallback.kt | ditansu/AdaptySDK-Android | c16d3c1f32369967b40e7fac31e4be676b08e692 | [
"MIT"
] | null | null | null | package com.adapty.api
import com.adapty.api.entity.paywalls.DataContainer
import com.adapty.api.entity.paywalls.ProductModel
import com.adapty.api.entity.paywalls.PromoModel
import com.adapty.api.entity.purchaserInfo.AttributePurchaserInfoRes
import com.adapty.api.responses.RestoreReceiptResponse
import com.adapty.ap... | 24.782609 | 110 | 0.8 |
e2b8ee50f7f76de58229f94fa1a7f208500be976 | 6,252 | py | Python | leprikon/admin/refundrequest.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 4 | 2018-10-29T17:46:09.000Z | 2021-12-16T08:57:48.000Z | leprikon/admin/refundrequest.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 68 | 2016-07-11T07:48:54.000Z | 2022-03-18T01:32:06.000Z | leprikon/admin/refundrequest.py | leprikon-cz/leprikon | b1bec36fb6bcf0220bffccca53b6f200f9e95910 | [
"BSD-3-Clause"
] | 2 | 2016-07-12T20:39:53.000Z | 2020-10-10T03:14:42.000Z | from datetime import date
from random import randrange
from bankreader.models import Account
from django import forms
from django.contrib import admin
from django.http import HttpResponse
from django.shortcuts import render
from django.utils.html import format_html
from django.utils.translation import ugettext_lazy as... | 34.733333 | 110 | 0.610845 |
5d2cdb5eed2575ef74e606ac0e99d16af6a15662 | 503 | hpp | C++ | plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/include/sge/opengl/glx/visual/optional_srgb_flag.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_OPENGL_GLX_VISUAL_OPTIONAL_SRGB_FLAG_HPP_INCLUDED
#define SGE_OPENGL_GLX_VISUAL_OPTIONA... | 35.928571 | 61 | 0.781312 |
18755e693113d611df1e98ccb33b45b34f87df02 | 4,098 | tsx | TypeScript | src/pages/OrderDetail.tsx | marco-bertelli/fullstack-ecommerce | e807234c79cde0bc11c2eeab48da1bc229004aa5 | [
"MIT"
] | null | null | null | src/pages/OrderDetail.tsx | marco-bertelli/fullstack-ecommerce | e807234c79cde0bc11c2eeab48da1bc229004aa5 | [
"MIT"
] | null | null | null | src/pages/OrderDetail.tsx | marco-bertelli/fullstack-ecommerce | e807234c79cde0bc11c2eeab48da1bc229004aa5 | [
"MIT"
] | null | null | null | import React from "react";
import { useParams } from "react-router";
import Spinner from "../components/Spinner";
import { formatAmount } from "../helpers";
import { useQueryOrder } from "../hooks/useQuearyOrders";
import PageNotFound from "./PageNotFound";
interface Props {}
const OrderDetail: React.FC<Props> = () =... | 31.523077 | 82 | 0.495364 |
2fc98ce0afd09d5e37cc664784f112d57bdea714 | 7,843 | py | Python | pygenprop/testing/test_results_with_matches.py | G2CView/pygenprop | e3654ec78033d555a877974430d2e9055d514470 | [
"Apache-2.0"
] | 8 | 2019-07-06T00:47:06.000Z | 2022-01-19T05:25:12.000Z | pygenprop/testing/test_results_with_matches.py | Micromeda/pygenprop | c7236e9776305c9787fd1a6ae495992d3ca68084 | [
"Apache-2.0"
] | 16 | 2018-11-16T23:43:22.000Z | 2021-12-15T03:23:56.000Z | pygenprop/testing/test_results_with_matches.py | G2CView/pygenprop | e3654ec78033d555a877974430d2e9055d514470 | [
"Apache-2.0"
] | 3 | 2019-07-05T13:58:25.000Z | 2021-08-25T15:49:58.000Z | #!/usr/bin/env python
"""
Created by: Lee Bergstrand (2018)
Description: A simple unittest for testing the results module.
"""
import unittest
from sqlalchemy import create_engine
from io import StringIO
from pygenprop.assignment_file_parser import parse_interproscan_file_and_fasta_file
from pygenprop.database_file... | 47.246988 | 120 | 0.735305 |
a19be477e36f73bfea17399090f9d9a02958caac | 1,917 | ts | TypeScript | src/app/components/shopping-list/shopping-edit/shopping-edit.component.ts | mrtenketsu/ng-learn | e467c0b3ec34f5033575dcb4384957129002ffee | [
"MIT"
] | null | null | null | src/app/components/shopping-list/shopping-edit/shopping-edit.component.ts | mrtenketsu/ng-learn | e467c0b3ec34f5033575dcb4384957129002ffee | [
"MIT"
] | null | null | null | src/app/components/shopping-list/shopping-edit/shopping-edit.component.ts | mrtenketsu/ng-learn | e467c0b3ec34f5033575dcb4384957129002ffee | [
"MIT"
] | null | null | null | import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
import { NgForm } from '@angular/forms';
import { Ingridient } from '../../../models/ingridient.model';
import { ShoppingListService } from '../../../services/shopping-list.service';
import { Subscription } from "rxjs/Subscription";
@Component({... | 25.56 | 88 | 0.673448 |
e28d7d4ce1d0c9ab33bc88398fd0a1a2e581b476 | 5,892 | py | Python | static/datasets/classifier_build.py | LukaszMalucha/Flask-Wine-Quality | 1b7bbda54ba68bb35baad368008f6c32c52b3f6f | [
"MIT"
] | 4 | 2019-05-06T07:19:57.000Z | 2020-02-20T22:04:43.000Z | static/datasets/classifier_build.py | LukaszMalucha/ML-with-Flask-deployment | 1b7bbda54ba68bb35baad368008f6c32c52b3f6f | [
"MIT"
] | null | null | null | static/datasets/classifier_build.py | LukaszMalucha/ML-with-Flask-deployment | 1b7bbda54ba68bb35baad368008f6c32c52b3f6f | [
"MIT"
] | 1 | 2020-06-05T09:42:30.000Z | 2020-06-05T09:42:30.000Z | import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
### Dataset as df
dataset = pd.read_csv('winequality-red.csv')
### Shuffle data
from sklearn.utils import shuffle
dataset = shuffle(dataset)
### Separate label y from features X
X = dataset.iloc[:,:11].values
y = dataset.iloc[:,11].values
... | 37.528662 | 190 | 0.681602 |
febfb4e4267043756786e048bcc4dcd2824752ce | 117 | lua | Lua | package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/controller/admin/privatewifi.lua | SvenRoederer/freifunk-gluon_core | 1ad629e50305965844335e8e5277b05262cf6268 | [
"BSD-2-Clause"
] | 499 | 2015-01-07T20:06:02.000Z | 2022-03-30T11:56:37.000Z | package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/controller/admin/privatewifi.lua | SvenRoederer/freifunk-gluon_core | 1ad629e50305965844335e8e5277b05262cf6268 | [
"BSD-2-Clause"
] | 1,849 | 2015-01-01T04:20:31.000Z | 2022-03-31T18:40:27.000Z | package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/controller/admin/privatewifi.lua | SvenRoederer/freifunk-gluon_core | 1ad629e50305965844335e8e5277b05262cf6268 | [
"BSD-2-Clause"
] | 518 | 2015-01-04T13:45:27.000Z | 2022-03-30T21:52:50.000Z | package 'gluon-web-private-wifi'
entry({"admin", "privatewifi"}, model("admin/privatewifi"), _("Private WLAN"), 30)
| 29.25 | 82 | 0.700855 |
c5e3b9223f233a7228de23bd7ff2ce77e7a2ce1c | 1,227 | sql | SQL | probes/original/sql/tax_ascendantes.sql | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | null | null | null | probes/original/sql/tax_ascendantes.sql | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | null | null | null | probes/original/sql/tax_ascendantes.sql | sauloal/projects | 79068b20251fd29cadbc80a5de550fc77332788d | [
"MIT"
] | 1 | 2018-10-26T05:13:42.000Z | 2018-10-26T05:13:42.000Z | SELECT include.* FROM taxonomy INNER JOIN taxonomy AS include ON (taxonomy.left_value BETWEEN include.left_value AND include.right_value) WHERE taxonomy.name = "primate" ORDER BY left_value;
SELECT taxonomy.* FROM taxonomy.taxonomy, (SELECT left_value as innerLeft, right_value as innerRight FROM taxonomy.taxonomy WHER... | 245.4 | 374 | 0.817441 |
6b6039ea45ea7e9381de9ba25334125813ad8640 | 20,104 | js | JavaScript | bower_components/angular-validation-ghiscoding/src/validation-rules.js | anhhh11/AngularJS_Form_Postal_Websocket | 771ac339ddf3abdde238f615886008f61ab7ec37 | [
"MIT"
] | null | null | null | bower_components/angular-validation-ghiscoding/src/validation-rules.js | anhhh11/AngularJS_Form_Postal_Websocket | 771ac339ddf3abdde238f615886008f61ab7ec37 | [
"MIT"
] | null | null | null | bower_components/angular-validation-ghiscoding/src/validation-rules.js | anhhh11/AngularJS_Form_Postal_Websocket | 771ac339ddf3abdde238f615886008f61ab7ec37 | [
"MIT"
] | null | null | null | /**
* angular-validation-rules (ghiscoding)
* https://github.com/ghiscoding/angular-validation
*
* @author: Ghislain B.
* @desc: angular-validation rules definition
* Each rule objects must have 3 properties {pattern, message, type}
* and in some cases you could also define a 4th properties {params} to pass extr... | 35.45679 | 478 | 0.480352 |
f477e5bb8fc38f4c28de42f074244d68258dd6d6 | 2,479 | tsx | TypeScript | src/components/layout/Footer.tsx | tbudin/md-consultants | b12fce6004cabaed4fdba5a13d538a79e21a1f44 | [
"MIT"
] | null | null | null | src/components/layout/Footer.tsx | tbudin/md-consultants | b12fce6004cabaed4fdba5a13d538a79e21a1f44 | [
"MIT"
] | 1 | 2022-02-19T12:57:39.000Z | 2022-02-19T12:57:39.000Z | src/components/layout/Footer.tsx | tbudin/md-consultants | b12fce6004cabaed4fdba5a13d538a79e21a1f44 | [
"MIT"
] | null | null | null | import Link from "next/link";
import LinkedIn from "../../assets/linkedin-alt.svg";
import { Lockup } from "../Lockup";
import config from "../../lib/config";
export function Footer() {
return (
<div className="site-container">
<div className="footer-container">
<Lockup fill={"white"} />
<a... | 27.241758 | 181 | 0.428399 |
386ee8790baf0202b67a29ccdad2751ad824c468 | 9,456 | php | PHP | application/controllers/api/Paiement_batiment_moe.php | rltbruce/api_paeb | 04db60945d68de95810e099407dfa91e180e1729 | [
"MIT"
] | null | null | null | application/controllers/api/Paiement_batiment_moe.php | rltbruce/api_paeb | 04db60945d68de95810e099407dfa91e180e1729 | [
"MIT"
] | null | null | null | application/controllers/api/Paiement_batiment_moe.php | rltbruce/api_paeb | 04db60945d68de95810e099407dfa91e180e1729 | [
"MIT"
] | null | null | null | <?php
//harizo
defined('BASEPATH') OR exit('No direct script access allowed');
// afaka fafana refa ts ilaina
require APPPATH . '/libraries/REST_Controller.php';
class Paiement_batiment_moe extends REST_Controller {
public function __construct() {
parent::__construct();
$this->load->model('paieme... | 44.186916 | 130 | 0.465102 |
3882ce39d63ef7b2163ec6ce7f07092aedd94c97 | 1,314 | php | PHP | app/Http/Controllers/HomeController.php | iamoufei/team_matrix | 78bfdb15b6ad71ff80ecaffe74a89d7cec51c9e3 | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | iamoufei/team_matrix | 78bfdb15b6ad71ff80ecaffe74a89d7cec51c9e3 | [
"MIT"
] | null | null | null | app/Http/Controllers/HomeController.php | iamoufei/team_matrix | 78bfdb15b6ad71ff80ecaffe74a89d7cec51c9e3 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\UserProfile;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Crypt;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
// $this->middlewa... | 32.04878 | 90 | 0.584475 |
c3940bd25f9ae7c1490e8580d7bb07ac0075018b | 454 | cs | C# | YoYoProject/Models/GMResourceModel.cs | nkrapivin/YoYoProject | b61cb688f3e05d058e24041d14afe6ab2bc2da27 | [
"MIT"
] | 3 | 2019-03-28T08:04:02.000Z | 2020-05-25T10:18:02.000Z | YoYoProject/Models/GMResourceModel.cs | nkrapivin/YoYoProject | b61cb688f3e05d058e24041d14afe6ab2bc2da27 | [
"MIT"
] | 2 | 2020-06-06T15:09:11.000Z | 2020-06-07T14:17:35.000Z | YoYoProject/Models/GMResourceModel.cs | nkrapivin/YoYoProject | b61cb688f3e05d058e24041d14afe6ab2bc2da27 | [
"MIT"
] | 3 | 2018-01-18T17:31:49.000Z | 2021-01-14T02:17:26.000Z | using System.Runtime.Serialization;
using YoYoProject.Models;
namespace YoYoProject
{
[DataContract]
internal class GMResourceModel : ModelBase
{
[DataMember]
public string name { get; set; }
public GMResourceModel()
: base("GMResource", "1.0")
{
}
... | 18.916667 | 60 | 0.555066 |
1a3687de75b7b7338b2d74235c0f75ddfe44a428 | 4,036 | py | Python | backend_rest/invoices/exports.py | ezrankayamba/twiga_sales | 78ea9a35db7e75f3492f03559662808cb3ad59f3 | [
"MIT"
] | null | null | null | backend_rest/invoices/exports.py | ezrankayamba/twiga_sales | 78ea9a35db7e75f3492f03559662808cb3ad59f3 | [
"MIT"
] | 33 | 2020-03-14T17:29:33.000Z | 2022-03-12T00:19:30.000Z | backend_rest/invoices/exports.py | ezrankayamba/twiga_sales | 78ea9a35db7e75f3492f03559662808cb3ad59f3 | [
"MIT"
] | null | null | null | import io
import xlsxwriter
from . import models
from sales import models as s_models, exports as s_exports
from datetime import datetime
import decimal
def date_parse(str, fmt='%Y-%m-%d %H:%M:%S'):
if str == None:
return None
return datetime.strptime(str, fmt)
def cell(i, j):
char = "A"
cha... | 32.288 | 225 | 0.624628 |
c4df6e50171420d497d76d5afe8636009394b043 | 3,393 | cpp | C++ | mini/tor/circuit_node_crypto_state.cpp | geralltf/mini-tor | 61d58749431fba970e19e0d35a53811956c69b16 | [
"MIT"
] | 380 | 2016-07-20T10:22:37.000Z | 2022-03-30T08:47:44.000Z | mini/tor/circuit_node_crypto_state.cpp | geralltf/mini-tor | 61d58749431fba970e19e0d35a53811956c69b16 | [
"MIT"
] | 24 | 2016-08-13T12:56:03.000Z | 2021-05-26T01:59:17.000Z | mini/tor/circuit_node_crypto_state.cpp | geralltf/mini-tor | 61d58749431fba970e19e0d35a53811956c69b16 | [
"MIT"
] | 105 | 2016-07-20T14:34:52.000Z | 2022-02-17T13:31:25.000Z | #include "circuit_node_crypto_state.h"
#include "relay_cell.h"
#include <mini/stack_buffer.h>
#include <mini/io/memory_stream.h>
#include <mini/io/stream_wrapper.h>
#include <mini/logger.h>
namespace mini::tor {
circuit_node_crypto_state::circuit_node_crypto_state(
const byte_buffer_ref key_material
)
{
io::m... | 28.041322 | 101 | 0.7486 |
0212fd8d9ccbbe2d0104ba2f8912d0cb582aecf8 | 195 | sql | SQL | database/migrations/1599764205766_create_form_types/up.sql | Rocinante32/trm | e8084d680222ae11db1ed5b8a8ab5e23132c6ad6 | [
"MIT"
] | 14 | 2020-11-20T10:57:05.000Z | 2022-03-21T22:58:55.000Z | database/migrations/1599764205766_create_form_types/up.sql | Rocinante32/trm | e8084d680222ae11db1ed5b8a8ab5e23132c6ad6 | [
"MIT"
] | 14 | 2020-11-02T14:35:45.000Z | 2022-02-27T10:03:51.000Z | database/migrations/1599764205766_create_form_types/up.sql | Rocinante32/trm | e8084d680222ae11db1ed5b8a8ab5e23132c6ad6 | [
"MIT"
] | 7 | 2021-01-22T14:06:27.000Z | 2021-11-02T20:16:27.000Z | CREATE TABLE form_types (
value text PRIMARY KEY
);
INSERT INTO form_types VALUES ('APPLICATION');
INSERT INTO form_types VALUES ('PERSONALIZED');
INSERT INTO form_types VALUES ('ANONYMOUS');
| 24.375 | 47 | 0.769231 |
c9c5cad28d00382af188a7ddd5153ac812c676a5 | 4,540 | ts | TypeScript | packages/opencensus-exporter-zpages/src/zpages.ts | dnduffy/opencensus-node | e5222c4a85c430c4472a95fd389ca9e414357a75 | [
"Apache-2.0"
] | 3 | 2018-05-28T12:32:44.000Z | 2018-07-20T18:30:24.000Z | packages/opencensus-exporter-zpages/src/zpages.ts | dnduffy/opencensus-node | e5222c4a85c430c4472a95fd389ca9e414357a75 | [
"Apache-2.0"
] | null | null | null | packages/opencensus-exporter-zpages/src/zpages.ts | dnduffy/opencensus-node | e5222c4a85c430c4472a95fd389ca9e414357a75 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2018 OpenCensus 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 ... | 27.515152 | 90 | 0.639207 |
1ab3458fda0ca2cf926609aeb287684fee977b98 | 2,577 | py | Python | simple_neural_network/wine_test.py | aambrioso1/Classic_CS_Problems | 90ee1093e99db09a81aca777435353082e6a9927 | [
"Apache-2.0"
] | null | null | null | simple_neural_network/wine_test.py | aambrioso1/Classic_CS_Problems | 90ee1093e99db09a81aca777435353082e6a9927 | [
"Apache-2.0"
] | null | null | null | simple_neural_network/wine_test.py | aambrioso1/Classic_CS_Problems | 90ee1093e99db09a81aca777435353082e6a9927 | [
"Apache-2.0"
] | null | null | null | # wine_test.py
# From Classic Computer Science Problems in Python Chapter 7
# Copyright 2018 David Kopec
#
# 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/LIC... | 41.564516 | 100 | 0.678696 |
a35c96017d3a6b332c6d55186f0fa6ee8feadea0 | 1,218 | h | C | Modules/DB/Student.h | AndrewChe7/StudentsDB | 09cea592cfe9cec3d5c28af6fede2e5c427ec1d2 | [
"MIT"
] | null | null | null | Modules/DB/Student.h | AndrewChe7/StudentsDB | 09cea592cfe9cec3d5c28af6fede2e5c427ec1d2 | [
"MIT"
] | null | null | null | Modules/DB/Student.h | AndrewChe7/StudentsDB | 09cea592cfe9cec3d5c28af6fede2e5c427ec1d2 | [
"MIT"
] | null | null | null | //
// Created by godknows on 17.05.2020.
//
#ifndef PROJECT_STUDENT_H
#define PROJECT_STUDENT_H
#include <string>
#include <utility>
#include <iostream>
#include <iomanip>
namespace DB {
class Student {
public:
Student(int i, std::string fn, std::string ln, int g, int c, bool s, std::string ct) :
... | 31.230769 | 210 | 0.538588 |
6db5694e27e5af4b7b5a9b76cd82f8a0f94ed738 | 627 | ts | TypeScript | src/index.ts | home-assistant/whoami.home-assistant.io | 7b6198ed9cc9482abd8ca7270b13ad24aa21344c | [
"Apache-2.0"
] | 5 | 2021-06-30T08:38:16.000Z | 2022-01-19T21:50:44.000Z | src/index.ts | home-assistant/whoami.home-assistant.io | 7b6198ed9cc9482abd8ca7270b13ad24aa21344c | [
"Apache-2.0"
] | 54 | 2021-05-18T08:21:00.000Z | 2022-02-07T07:58:33.000Z | src/index.ts | home-assistant/whoami.home-assistant.io | 7b6198ed9cc9482abd8ca7270b13ad24aa21344c | [
"Apache-2.0"
] | 1 | 2021-07-19T10:18:44.000Z | 2021-07-19T10:18:44.000Z | import Toucan from "toucan-js";
import { handleRequestWrapper } from "./handler";
declare global {
const SENTRY_DSN: string;
const WORKER_ENV: string;
}
const sentryClient = (event: FetchEvent | ScheduledEvent) => {
const client = new Toucan({
dsn: SENTRY_DSN,
allowedHeaders: ["user-agent"],
event,
... | 24.115385 | 80 | 0.676236 |
cdb08610755e5403055c6fe78f576fdfa50d5c2e | 5,980 | cs | C# | SongPlayListEditer/UI/PlaylistEditorFlowCoordinater.cs | denpadokei/SongPlayListEditer | fc4838908e9ad13f0531331f26faef9ea387d4f3 | [
"MIT"
] | 11 | 2020-06-30T13:14:04.000Z | 2022-03-20T01:41:56.000Z | SongPlayListEditer/UI/PlaylistEditorFlowCoordinater.cs | denpadokei/SongPlayListEditer | fc4838908e9ad13f0531331f26faef9ea387d4f3 | [
"MIT"
] | null | null | null | SongPlayListEditer/UI/PlaylistEditorFlowCoordinater.cs | denpadokei/SongPlayListEditer | fc4838908e9ad13f0531331f26faef9ea387d4f3 | [
"MIT"
] | null | null | null | using BeatSaberMarkupLanguage;
using BeatSaberMarkupLanguage.MenuButtons;
using HMUI;
using SongPlayListEditer.Models;
using SongPlayListEditer.UI.Views;
using SongPlayListEditer.Utilites;
using System;
using Zenject;
namespace SongPlayListEditer.UI
{
public class PlaylistEditorFlowCoordinator : FlowCoordinator
... | 39.866667 | 149 | 0.548495 |
0d4179ac33b4e51c9d33cd9b1db3c6102b2edd4d | 78 | cs | C# | ApiGateway/Clients/Models/Basket/BasketCreate.cs | kubilayeldemir/ecommerce-microservices | 13ac6ea9a686e66468bfc672ae8499512df37c70 | [
"MIT"
] | null | null | null | ApiGateway/Clients/Models/Basket/BasketCreate.cs | kubilayeldemir/ecommerce-microservices | 13ac6ea9a686e66468bfc672ae8499512df37c70 | [
"MIT"
] | null | null | null | ApiGateway/Clients/Models/Basket/BasketCreate.cs | kubilayeldemir/ecommerce-microservices | 13ac6ea9a686e66468bfc672ae8499512df37c70 | [
"MIT"
] | null | null | null | namespace Clients.Models.Basket
{
public class BasketCreate
{
}
} | 13 | 32 | 0.653846 |
da7d83b73154c7bc62c86b7b91e1cde0af4af171 | 657 | ts | TypeScript | src/utils.ts | kamiazya/jest-dynamic | 5a38155d3c83825372e7e5d3ff547bd5c9107b68 | [
"MIT"
] | 1 | 2022-01-24T19:38:13.000Z | 2022-01-24T19:38:13.000Z | src/utils.ts | kamiazya/jest-dynamic | 5a38155d3c83825372e7e5d3ff547bd5c9107b68 | [
"MIT"
] | 247 | 2020-01-17T20:37:06.000Z | 2022-03-25T20:03:01.000Z | src/utils.ts | kamiazya/jest-dynamic | 5a38155d3c83825372e7e5d3ff547bd5c9107b68 | [
"MIT"
] | null | null | null | import { Condition, ITestClosures } from './types';
function createTestClosures(mode?: 'skip' | 'only'): ITestClosures {
switch (mode) {
case 'only':
case 'skip':
return {
describe: describe[mode],
test: test[mode],
it: it[mode],
};
default:
return { describe, te... | 25.269231 | 89 | 0.636225 |
4bbbb22a452f0426fcfe69ed5177fd0f3c8d9699 | 987 | h | C | src/src/Container/sorted_observable.h | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | src/src/Container/sorted_observable.h | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | src/src/Container/sorted_observable.h | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #pragma once
#include <Base/Patterns/Observable.h>
#include <Base/Patterns/SubObserver.h>
#include "unique_buffered_priority_indexed_fixed_queue.h"
namespace ska {
struct PriorityObserverGetter {
template<class T>
std::size_t operator()(const T& value) const {
return value->priority;
}
};
template <class... | 28.2 | 114 | 0.751773 |
2550576a45d45865a03b8082418c94cc31e10ff0 | 896 | cs | C# | Exersice/19. Associative Arrays - Lab/02. Odd Occurrences/Program.cs | Neiko7/CSharpFundamentals | eeaa9944680113c05d97683af5c2da6090131371 | [
"MIT"
] | 2 | 2019-10-05T05:46:38.000Z | 2019-11-30T16:07:11.000Z | Exersice/19. Associative Arrays - Lab/02. Odd Occurrences/Program.cs | NeikoGrozev/CSharpFundamentals | eeaa9944680113c05d97683af5c2da6090131371 | [
"MIT"
] | null | null | null | Exersice/19. Associative Arrays - Lab/02. Odd Occurrences/Program.cs | NeikoGrozev/CSharpFundamentals | eeaa9944680113c05d97683af5c2da6090131371 | [
"MIT"
] | null | null | null | namespace OddOccurrences
{
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main()
{
List<string> collection = Console.ReadLine()
.Split(" ")
.Select(x => x.ToLower())
.ToList(... | 22.4 | 73 | 0.371652 |
051162f0037d0981003d577c9db3c8c77ae26735 | 22 | css | CSS | tests/fixtures/sample-functions/sample-functions09/stringify.css | ota-meshi/postcss-styl-parser | 226702c97919d496ca80df2a54996e2778102e62 | [
"MIT"
] | 18 | 2019-08-20T15:52:39.000Z | 2022-01-10T18:46:42.000Z | tests/fixtures/sample-functions/sample-functions09/stringify.css | ota-meshi/postcss-styl-parser | 226702c97919d496ca80df2a54996e2778102e62 | [
"MIT"
] | 8 | 2019-08-24T04:01:48.000Z | 2022-01-17T05:54:05.000Z | tests/fixtures/sample-functions/sample-functions09/stringify.css | ota-meshi/postcss-styl-parser | 226702c97919d496ca80df2a54996e2778102e62 | [
"MIT"
] | 1 | 2020-01-13T09:34:17.000Z | 2020-01-13T09:34:17.000Z | @swap(a, b){
b: a} | 11 | 13 | 0.363636 |
e242ce96c4f633aa115b80147809be972b813c36 | 377 | py | Python | Python/minimum-index-sum-of-two-lists.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | 1 | 2020-04-29T06:19:44.000Z | 2020-04-29T06:19:44.000Z | Python/minimum-index-sum-of-two-lists.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | null | null | null | Python/minimum-index-sum-of-two-lists.py | kuanhungchen/leetcode-practice | b75e773ada60b685da1576ae5f2234b70bc27842 | [
"CNRI-Python"
] | null | null | null | class Solution:
def findRestaurant(self, list1, list2):
mp1, mp2 = {x: i for i, x in enumerate(list1)}, {x: i for i, x in enumerate(list2)}
ans = [10 ** 4, []]
for k, v in mp1.items():
if k in mp2 and v + mp2[k] == ans[0]: ans[1].append(k)
elif k in mp2 and v + mp2[k]... | 41.888889 | 91 | 0.501326 |
b73fe3fb84cd7ea97480fe292288e2d9c0e7664b | 3,788 | cs | C# | packages/simpleauth/src/TeamsFxSimpleAuth/Components/Auth/AadAuthorizationHandler.cs | zhenjiao-ms/TeamsFx | 946cdd5d048f7493629f0ed185b1875df381c89a | [
"MIT"
] | 127 | 2021-05-10T04:59:45.000Z | 2022-03-19T00:25:23.000Z | packages/simpleauth/src/TeamsFxSimpleAuth/Components/Auth/AadAuthorizationHandler.cs | zhenjiao-ms/TeamsFx | 946cdd5d048f7493629f0ed185b1875df381c89a | [
"MIT"
] | 740 | 2021-05-10T06:15:23.000Z | 2022-03-31T07:45:14.000Z | packages/simpleauth/src/TeamsFxSimpleAuth/Components/Auth/AadAuthorizationHandler.cs | zhenjiao-ms/TeamsFx | 946cdd5d048f7493629f0ed185b1875df381c89a | [
"MIT"
] | 73 | 2021-05-10T05:08:45.000Z | 2022-03-29T12:08:43.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
using Microsoft.TeamsFx.SimpleAuth.Components.Auth.Exceptions;
using Microsoft.TeamsFx.SimpleAuth.Components.Auth.Models;
using Newtonsoft.Json;
using System;
using S... | 35.074074 | 148 | 0.64018 |
74cc87c74e840ea54725e8da46514a4b2581892a | 4,813 | css | CSS | styles/header.css | IltaySaeedi/IltayDev-front-end | 110c88084a5018d6dbe77c9a1821deac5ef44bb9 | [
"MIT"
] | null | null | null | styles/header.css | IltaySaeedi/IltayDev-front-end | 110c88084a5018d6dbe77c9a1821deac5ef44bb9 | [
"MIT"
] | null | null | null | styles/header.css | IltaySaeedi/IltayDev-front-end | 110c88084a5018d6dbe77c9a1821deac5ef44bb9 | [
"MIT"
] | null | null | null | header {
background-color: #cccc99;
background-color: var(--secondary-background-color);
height: 8.2rem;
z-index: 2;
position: relative;
margin-bottom: 1rem;
-ms-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
text-align: center;
d... | 22.386047 | 88 | 0.559734 |
4cf7d0d8bc2b874690f5b8ee9ade4c3cf60cf380 | 834 | py | Python | Practica 7/P7E10.py | victoriapenasmiro/python | dbdbbf627b6fde48099cf0184c912472b3b67491 | [
"MIT"
] | null | null | null | Practica 7/P7E10.py | victoriapenasmiro/python | dbdbbf627b6fde48099cf0184c912472b3b67491 | [
"MIT"
] | 2 | 2022-01-12T07:33:52.000Z | 2022-01-12T08:01:58.000Z | Practica 7/P7E10.py | victoriapenasmiro/python | dbdbbf627b6fde48099cf0184c912472b3b67491 | [
"MIT"
] | 1 | 2019-11-25T10:08:31.000Z | 2019-11-25T10:08:31.000Z | """P7E10 VICTORIA PEÑAS
Escribe un programa que te pida una palabra o número, pase por parámetro
estos datos a una función, y ésta te diga si es o no palíndroma o
capicúa. El programa principal imprimirá el resultado de la función:
':: significa dame la totalidad\del elemento, el -1 hacia atras' """
def comprobarPalind... | 36.26087 | 85 | 0.645084 |
3100a93e47378d29cdac866928fca347af782c2c | 1,985 | rs | Rust | src/app_id.rs | RickyLB/algolia-rs | 4a11a5b211d8858318270587a383212aa5c73e40 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/app_id.rs | RickyLB/algolia-rs | 4a11a5b211d8858318270587a383212aa5c73e40 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/app_id.rs | RickyLB/algolia-rs | 4a11a5b211d8858318270587a383212aa5c73e40 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-09T20:25:53.000Z | 2021-11-09T20:25:53.000Z | use std::{
borrow::{Borrow, BorrowMut},
fmt::{self, Display},
ops::{Deref, DerefMut},
};
#[derive(Clone, Debug)]
// TODO: make an invariant that this _must_ be valid visible-ascii
pub struct AppId(String);
impl AppId {
pub fn new(s: String) -> Self {
Self(s)
}
}
impl AsRef<RefAppId> for A... | 19.460784 | 66 | 0.56272 |
a35a4144b4e2a10cdbb0058c48a7f9e984d8430a | 31 | java | Java | InfinityDTHServices/bean/sample1.java | pvsagar/TCSILP | 0fd60fd48bf882c6c7de420c32b6e4d282279b31 | [
"MIT"
] | null | null | null | InfinityDTHServices/bean/sample1.java | pvsagar/TCSILP | 0fd60fd48bf882c6c7de420c32b6e4d282279b31 | [
"MIT"
] | null | null | null | InfinityDTHServices/bean/sample1.java | pvsagar/TCSILP | 0fd60fd48bf882c6c7de420c32b6e4d282279b31 | [
"MIT"
] | null | null | null |
public class sample1 {
}
| 6.2 | 23 | 0.580645 |
dfeb2a77567da8002372ce59ab40a8326a51f044 | 3,502 | cs | C# | WellMeadowClinic/ConsoleWellMeadowHospital/Controllers/IsInController.cs | commentatorboy/WellMeadowClinic | 8738fd1f1b62992287cc7de4487c6f3afb6b85ee | [
"Apache-2.0"
] | null | null | null | WellMeadowClinic/ConsoleWellMeadowHospital/Controllers/IsInController.cs | commentatorboy/WellMeadowClinic | 8738fd1f1b62992287cc7de4487c6f3afb6b85ee | [
"Apache-2.0"
] | null | null | null | WellMeadowClinic/ConsoleWellMeadowHospital/Controllers/IsInController.cs | commentatorboy/WellMeadowClinic | 8738fd1f1b62992287cc7de4487c6f3afb6b85ee | [
"Apache-2.0"
] | null | null | null | using ConsoleWellMeadowHospital.Database;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleWellMeadowHospital.Controllers
{
class IsInController
{
public SqlException Cre... | 33.352381 | 103 | 0.599657 |
8d6adb4bb69ac112ec85712d7167fd7bcdc7ebb8 | 1,441 | js | JavaScript | project/routes/page.js | tedaky/website | b5d1bba42eb9ef9f3fb7f12c2274d97d8fe392bf | [
"MIT"
] | null | null | null | project/routes/page.js | tedaky/website | b5d1bba42eb9ef9f3fb7f12c2274d97d8fe392bf | [
"MIT"
] | null | null | null | project/routes/page.js | tedaky/website | b5d1bba42eb9ef9f3fb7f12c2274d97d8fe392bf | [
"MIT"
] | null | null | null | var express = require('express');
var router = express.Router();
var ga = require('../ga/ga');
var birthdate = require('../extras/birthdate');
var age = require('../extras/birthday')(birthdate);
/* GET page. */
router.get('/:page', function(req, res, next) {
var params = {
title: '',
ga: ga,
age: age
}... | 36.948718 | 145 | 0.623178 |
b186a3fdbf0d1d7bf5fb4784580e2d24462dac6c | 312 | py | Python | docs/assets/greeting.py | pablodevs/StarwarsBlog | 7f491c4a91bbd6145c78e6a404151205cfaca7b9 | [
"OML"
] | null | null | null | docs/assets/greeting.py | pablodevs/StarwarsBlog | 7f491c4a91bbd6145c78e6a404151205cfaca7b9 | [
"OML"
] | null | null | null | docs/assets/greeting.py | pablodevs/StarwarsBlog | 7f491c4a91bbd6145c78e6a404151205cfaca7b9 | [
"OML"
] | null | null | null | def blue(_str):
return f"\033[0;33m{_str}\033[0m"
print(f"""
Hello 😁 ! Use the terminal to code!
1. Start the dev server by running {blue("$ npm run start")}
2. You can find a video tutorial and explanation on the README.md file.
3. Always read the terminal output, it's your best tool for debugging!
""") | 31.2 | 71 | 0.698718 |
fa53792e07b8d514f2c0d921a2c9b24b470b884b | 158 | cc | C++ | src/USBAPI.cc | linda78/arduino-mock | 59bc41d6a92560f64e1419083cb542a658a0f6c7 | [
"ISC"
] | null | null | null | src/USBAPI.cc | linda78/arduino-mock | 59bc41d6a92560f64e1419083cb542a658a0f6c7 | [
"ISC"
] | null | null | null | src/USBAPI.cc | linda78/arduino-mock | 59bc41d6a92560f64e1419083cb542a658a0f6c7 | [
"ISC"
] | null | null | null | /*
* File: USBAPI.cpp
* Author: Linda.Muemken
*
* Created on 21. November 2019, 08:30
*/
#include "arduino-mock/USBAPI.h"
Serial_ SerialUSB; | 15.8 | 39 | 0.626582 |
46d3db3255de71e377112203d843af0995fb6cf3 | 558 | py | Python | Utils/py/exportEdgels/exportEdgels.py | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Utils/py/exportEdgels/exportEdgels.py | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Utils/py/exportEdgels/exportEdgels.py | tarsoly/NaoTH | dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
from naoth.LogReader import LogReader
from naoth.LogReader import Parser
def get_camera_matrix(frame):
cm_bottom = frame["CameraMatrix"]
cm_top = frame["CameraMatrixTop"]
return [frame.number, cm_bottom, cm_top]
def get_edgels(frame):
edgel_percepts = frame["ScanLineEdgelPercep... | 24.26087 | 61 | 0.71147 |
cfef2264d8aebfb7755cf3474c7b3f428b032da7 | 31,875 | sql | SQL | backend/de.metas.contracts/src/main/sql/postgresql/system/50-de.metas.contracts/5493420_sys_gh3999-app_add_assignment_table_and_handler.sql | dram/metasfresh | a1b881a5b7df8b108d4c4ac03082b72c323873eb | [
"RSA-MD"
] | 1,144 | 2016-02-14T10:29:35.000Z | 2022-03-30T09:50:41.000Z | backend/de.metas.contracts/src/main/sql/postgresql/system/50-de.metas.contracts/5493420_sys_gh3999-app_add_assignment_table_and_handler.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 8,283 | 2016-04-28T17:41:34.000Z | 2022-03-30T13:30:12.000Z | backend/de.metas.contracts/src/main/sql/postgresql/system/50-de.metas.contracts/5493420_sys_gh3999-app_add_assignment_table_and_handler.sql | vestigegroup/metasfresh | 4b2d48c091fb2a73e6f186260a06c715f5e2fe96 | [
"RSA-MD"
] | 441 | 2016-04-29T08:06:07.000Z | 2022-03-28T06:09:56.000Z | -- 2018-05-14T10:57:21.868
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Table (AccessLevel,ACTriggerLength,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsAutocomplete,IsChangeLog,IsDeleteable,IsDLM,IsHighVolume,IsSecurityEn... | 97.776074 | 1,312 | 0.801255 |
d043f0dce85f1f9137d6821d5215a3bbe781b19e | 620 | cpp | C++ | src/libtoast/tests/toast_test_env.cpp | jrs584/toast | c0e2a9296348a22075271236457ad5c23713af82 | [
"BSD-2-Clause"
] | 29 | 2017-03-23T04:51:32.000Z | 2022-02-10T13:17:42.000Z | src/libtoast/tests/toast_test_env.cpp | jrs584/toast | c0e2a9296348a22075271236457ad5c23713af82 | [
"BSD-2-Clause"
] | 362 | 2016-05-06T18:26:35.000Z | 2022-03-30T16:39:46.000Z | src/libtoast/tests/toast_test_env.cpp | jrs584/toast | c0e2a9296348a22075271236457ad5c23713af82 | [
"BSD-2-Clause"
] | 37 | 2016-05-20T09:31:03.000Z | 2022-02-24T13:56:27.000Z |
// Copyright (c) 2015-2020 by the parties listed in the AUTHORS file.
// All rights reserved. Use of this source code is governed by
// a BSD-style license that can be found in the LICENSE file.
#include <toast_test.hpp>
TEST_F(TOASTenvTest, print) {
auto & env = toast::Environment::get();
env.print();
}
... | 25.833333 | 69 | 0.670968 |
74f182ff9773655c2291f24822fd221c99251f05 | 1,489 | css | CSS | styles/style.css | uMaguin/Sound-Bar-Loading-Animation | 3b161e63fb61fced7c17917906367db11689b72e | [
"RSA-MD"
] | null | null | null | styles/style.css | uMaguin/Sound-Bar-Loading-Animation | 3b161e63fb61fced7c17917906367db11689b72e | [
"RSA-MD"
] | null | null | null | styles/style.css | uMaguin/Sound-Bar-Loading-Animation | 3b161e63fb61fced7c17917906367db11689b72e | [
"RSA-MD"
] | null | null | null | body {
background: #111;
}
.container {
width: 760px;
height: 1px;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%) scale(0.1);
transform: translate(-50%, -50%) scale(0.1);
}
.dot {
position: absolute;
width: 80px;
height: 80px;
background: gray;
bord... | 17.72619 | 54 | 0.591672 |
82417fd7298fb38d0e24c1dd7e40ec6781780127 | 361,713 | css | CSS | src/CodeMaze.WebApp/wwwroot/assets/default/css/style.css | codemazenet/codemaze.net | ce8c5447d0d146ab4295f64d064b961dd02caf94 | [
"MIT"
] | null | null | null | src/CodeMaze.WebApp/wwwroot/assets/default/css/style.css | codemazenet/codemaze.net | ce8c5447d0d146ab4295f64d064b961dd02caf94 | [
"MIT"
] | null | null | null | src/CodeMaze.WebApp/wwwroot/assets/default/css/style.css | codemazenet/codemaze.net | ce8c5447d0d146ab4295f64d064b961dd02caf94 | [
"MIT"
] | null | null | null | @font-face{font-family:'Open Sans';font-style:italic;font-weight:300;src:local('Open Sans Light Italic'),local('OpenSans-LightItalic'),url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hmIqOjjg.woff2) format('woff2');unicode-range:U+460-52F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@fo... | 41.528473 | 61,192 | 0.639999 |
b8aa40fb72b7d25556db50030c35509d1924e701 | 696 | dart | Dart | Language/Classes/Superclasses/superclass_of_itself_t04.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | Language/Classes/Superclasses/superclass_of_itself_t04.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | Language/Classes/Superclasses/superclass_of_itself_t04.dart | tvolkert/co19 | 435727789062a45da3d20da09024651fdeb8cafe | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion It is a compile-time error if a class C is a superclass of itself.
* @descript... | 27.84 | 80 | 0.716954 |
5d9dbbcbd81496978b9c2a77c8da97ad64cfd84f | 2,631 | sql | SQL | dbv-1/data/schema/fnVendorSippySheet.sql | devatsrs/neon.web | 2ca8024fa58ecb881694b5308ff622468c181765 | [
"MIT"
] | null | null | null | dbv-1/data/schema/fnVendorSippySheet.sql | devatsrs/neon.web | 2ca8024fa58ecb881694b5308ff622468c181765 | [
"MIT"
] | null | null | null | dbv-1/data/schema/fnVendorSippySheet.sql | devatsrs/neon.web | 2ca8024fa58ecb881694b5308ff622468c181765 | [
"MIT"
] | null | null | null | CREATE DEFINER=`neon-user`@`%` PROCEDURE `fnVendorSippySheet`(
IN `p_AccountID` int,
IN `p_Trunks` longtext,
IN `p_Effective` VARCHAR(50)
)
BEGIN
CREATE TEMPORARY TABLE IF NOT EXISTS tmp_VendorSippySheet_(
RateID int,
`Action [A|D|U|S|SA` varchar(50),
id varchar(10),
... | 41.109375 | 222 | 0.594831 |
4d53dde561e3a0c0282b15d593f67cbfea2cbbee | 87 | cs | C# | src/Services/Ordering/Ordering.Application/Class1.cs | bornehill/AspnetMicroservices | ae027b99dac1458c31c5484aae32f7d64884f957 | [
"MIT"
] | null | null | null | src/Services/Ordering/Ordering.Application/Class1.cs | bornehill/AspnetMicroservices | ae027b99dac1458c31c5484aae32f7d64884f957 | [
"MIT"
] | null | null | null | src/Services/Ordering/Ordering.Application/Class1.cs | bornehill/AspnetMicroservices | ae027b99dac1458c31c5484aae32f7d64884f957 | [
"MIT"
] | null | null | null | using System;
namespace Ordering.Application
{
public class Class1
{
}
}
| 9.666667 | 30 | 0.643678 |
2f0c468e1eb719a8e12990f6b81d7e879c4d46f5 | 8,652 | js | JavaScript | src/queryEverbridge.js | sbonnick/everbridge-proxy | d3857ac1beda86aa0b6a37410f8c6294518fda5a | [
"MIT"
] | null | null | null | src/queryEverbridge.js | sbonnick/everbridge-proxy | d3857ac1beda86aa0b6a37410f8c6294518fda5a | [
"MIT"
] | null | null | null | src/queryEverbridge.js | sbonnick/everbridge-proxy | d3857ac1beda86aa0b6a37410f8c6294518fda5a | [
"MIT"
] | null | null | null | var request = require('request-promise');
require('string.format');
var moment = require('moment-timezone');
var cache = require('memory-cache');
//TODO: expose this as env or auto detect
const tz = "America/New_York";
const tzFormat = 'YYYY-MM-DDTHH:mm:ss';
const tdDateFormat = 'YYYY-MM-DD';
const _ebBase... | 26.869565 | 136 | 0.62448 |
b08730524968dd7a9fd18149716d7843be04b85b | 6,455 | swift | Swift | SecureVK/VK.swift | Rubikoid/secure_vk | 7b3f910812b3f11025a620910e7b3f5cdbe915da | [
"BSD-2-Clause"
] | 3 | 2017-01-12T14:32:05.000Z | 2021-12-28T12:32:20.000Z | SecureVK/VK.swift | Rubikoid/secure_vk | 7b3f910812b3f11025a620910e7b3f5cdbe915da | [
"BSD-2-Clause"
] | null | null | null | SecureVK/VK.swift | Rubikoid/secure_vk | 7b3f910812b3f11025a620910e7b3f5cdbe915da | [
"BSD-2-Clause"
] | null | null | null | //
// VK.swift
// SecureVK
//
// Created by Rubikoid on 03.01.17.
// Copyright © 2017 Rubikoid. All rights reserved.
//
import Foundation
import Cocoa
import SwiftyVK
//*global vars
//Не очень красивое решение проблемы обмена данными между контролами, но...
var storadge: AppStoradge = AppStoradge()
var worker: VK... | 37.748538 | 244 | 0.682262 |
f217aaea17f8a57ecb3b96c89935b9862d806b2b | 2,485 | cpp | C++ | src/blinkit/blink/renderer/platform/shared_buffer.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 13 | 2020-04-21T13:14:00.000Z | 2021-11-13T14:55:12.000Z | src/blinkit/blink/renderer/platform/shared_buffer.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | null | null | null | src/blinkit/blink/renderer/platform/shared_buffer.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 4 | 2020-04-21T13:15:43.000Z | 2021-11-13T14:55:00.000Z | // -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
// File Name: shared_buffer.cpp
// Description: SharedBuffer Class
// Author: Ziming Li
// Created: 2019-09-29
// -------------------------------------------------
// Copyrig... | 24.85 | 92 | 0.616901 |
b05daf76fc78b421a39622de700ce91e7647e140 | 2,148 | py | Python | regression-tests/sparktkregtests/testcases/frames/frame_multiclass_classification_test.py | lewisc/spark-tk | 5548fc925b5c278263cbdebbd9e8c7593320c2f4 | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2016-05-20T22:26:05.000Z | 2022-01-21T12:55:13.000Z | regression-tests/sparktkregtests/testcases/frames/frame_multiclass_classification_test.py | aayushidwivedi01/spark-tk-old | fcf25f86498ac416cce77de0db4cf0aa503d20ac | [
"ECL-2.0",
"Apache-2.0"
] | 70 | 2016-06-28T01:11:21.000Z | 2021-03-15T21:40:01.000Z | regression-tests/sparktkregtests/testcases/frames/frame_multiclass_classification_test.py | aayushidwivedi01/spark-tk-old | fcf25f86498ac416cce77de0db4cf0aa503d20ac | [
"ECL-2.0",
"Apache-2.0"
] | 34 | 2016-04-21T22:25:22.000Z | 2020-10-06T09:23:43.000Z | # vim: set encoding=utf-8
# Copyright (c) 2016 Intel Corporation
#
# 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 require... | 42.117647 | 182 | 0.630819 |
cd6f6c4c03c57a2a795dc2c55200336cdcff4576 | 2,088 | cs | C# | playground/Pype.Benchmarks/BackgroundProcessingComparison/BackgroundQueueBenchmark.cs | darjanbogdan/pype | 49bec1e8e664a5185e374e1fe334cb8a059c78c6 | [
"MIT"
] | 10 | 2020-01-24T14:51:59.000Z | 2022-01-08T16:55:03.000Z | playground/Pype.Benchmarks/BackgroundProcessingComparison/BackgroundQueueBenchmark.cs | darjanbogdan/pype | 49bec1e8e664a5185e374e1fe334cb8a059c78c6 | [
"MIT"
] | 2 | 2021-02-02T22:10:53.000Z | 2021-03-11T18:36:17.000Z | playground/Pype.Benchmarks/BackgroundProcessingComparison/BackgroundQueueBenchmark.cs | darjanbogdan/pype | 49bec1e8e664a5185e374e1fe334cb8a059c78c6 | [
"MIT"
] | 1 | 2020-07-01T22:21:01.000Z | 2020-07-01T22:21:01.000Z | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Microsoft.Extensions.Logging;
using Moq;
using Nito.AsyncEx;
using Pype.Background.Queue;
using Pype.Background.Queue.Processing;
using Pype.Notifications;
using SimpleInjector;
using System.Linq;
using System.Threading.Tasks;
namespace Pype.Benchmar... | 30.705882 | 126 | 0.674808 |
a35208c97a04f39f1e0eb317c414c1b6f7ea0406 | 152 | java | Java | src/main/java/dto/AuthDto.java | sabant88/Api_QA11 | 6e5e26f057004a003b15f3aed555bca847c1597d | [
"Apache-2.0"
] | null | null | null | src/main/java/dto/AuthDto.java | sabant88/Api_QA11 | 6e5e26f057004a003b15f3aed555bca847c1597d | [
"Apache-2.0"
] | null | null | null | src/main/java/dto/AuthDto.java | sabant88/Api_QA11 | 6e5e26f057004a003b15f3aed555bca847c1597d | [
"Apache-2.0"
] | null | null | null | package dto;
import lombok.*;
@Setter
@Getter
@ToString
@Builder
@AllArgsConstructor
public class AuthDto {
String email;
String password;
}
| 10.133333 | 22 | 0.723684 |
a1448137ed13f97da7549154f2996292e43c6fad | 827 | ts | TypeScript | src/api/src/resolvers/user/helpers/sendVerificationEmail.ts | mwmouawad/ocean-academy | 756d3afc4072e6988022112ef451baa9270efa1b | [
"MIT"
] | null | null | null | src/api/src/resolvers/user/helpers/sendVerificationEmail.ts | mwmouawad/ocean-academy | 756d3afc4072e6988022112ef451baa9270efa1b | [
"MIT"
] | null | null | null | src/api/src/resolvers/user/helpers/sendVerificationEmail.ts | mwmouawad/ocean-academy | 756d3afc4072e6988022112ef451baa9270efa1b | [
"MIT"
] | null | null | null | import { MailDataRequired } from '@sendgrid/helpers/classes/mail'
import * as sendgrid from '@sendgrid/mail';
interface SendVerificationEmail{
(email: string, verificationToken: string) : Promise<void>
}
export const sendVerificationEmail: SendVerificationEmail = async(email, verificationToken) => {
sendgrid... | 41.35 | 97 | 0.727932 |
e4024958c2079cb446a22609b67fc0d7942153b9 | 3,250 | cs | C# | src/IF.Lastfm.Core/Api/AlbumApi.cs | PCurd/lastfm | 34d6e617ea21fd50d97125c2a83d00fdd866e6bd | [
"MIT"
] | 1 | 2015-01-11T19:46:20.000Z | 2015-01-11T19:46:20.000Z | src/IF.Lastfm.Core/Api/AlbumApi.cs | PCurd/lastfm | 34d6e617ea21fd50d97125c2a83d00fdd866e6bd | [
"MIT"
] | null | null | null | src/IF.Lastfm.Core/Api/AlbumApi.cs | PCurd/lastfm | 34d6e617ea21fd50d97125c2a83d00fdd866e6bd | [
"MIT"
] | null | null | null | using System;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Commands.AlbumApi;
using IF.Lastfm.Core.Api.Helpers;
using IF.Lastfm.Core.Objects;
namespace IF.Lastfm.Core.Api
{
public class AlbumApi : IAlbumApi
{
public ILastAuth Auth { get; private set; }
public AlbumApi(ILastAuth auth... | 34.210526 | 180 | 0.573538 |
25d5f5ece7002531b15e99afb78701ea91a33e81 | 263 | cs | C# | Assets/Scripts/6.OdinToolkit/EditorCoroutine/interface/IYield.cs | dotlive/Odin-Inspector-Chinese-Tutorial | 69e8d9bf988c8ec2fe303f8518f117f75e12e3a4 | [
"Apache-2.0"
] | 163 | 2019-08-29T00:55:01.000Z | 2022-03-29T06:38:23.000Z | Assets/Scripts/6.OdinToolkit/EditorCoroutine/interface/IYield.cs | dotlive/Odin-Inspector-Chinese-Tutorial | 69e8d9bf988c8ec2fe303f8518f117f75e12e3a4 | [
"Apache-2.0"
] | null | null | null | Assets/Scripts/6.OdinToolkit/EditorCoroutine/interface/IYield.cs | dotlive/Odin-Inspector-Chinese-Tutorial | 69e8d9bf988c8ec2fe303f8518f117f75e12e3a4 | [
"Apache-2.0"
] | 49 | 2019-08-29T01:49:31.000Z | 2022-03-25T10:42:25.000Z |
internal interface IYield
{
/// <summary>
/// 判断迭代是否可以跳转下一次迭代
/// </summary>
/// <param name="deltaTime"></param>
/// <param name="frameCount"></param>
/// <returns></returns>
bool IsReadyToYield(double deltaTime, int frameCount);
}
| 21.916667 | 58 | 0.604563 |
b34f1f069756b47ea138f9f0665fda1440591521 | 927 | py | Python | Problems/twoSum.py | vlaksi/algorithms-and-data-structure | 43b2206e919c653c2168d14bb0a9050ee9622a2f | [
"MIT"
] | 5 | 2021-07-17T14:10:02.000Z | 2022-01-02T18:58:36.000Z | Problems/twoSum.py | vlaksi/Algorithms-and-data-structures | 43b2206e919c653c2168d14bb0a9050ee9622a2f | [
"MIT"
] | null | null | null | Problems/twoSum.py | vlaksi/Algorithms-and-data-structures | 43b2206e919c653c2168d14bb0a9050ee9622a2f | [
"MIT"
] | null | null | null | """
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
Example:
Given nums = [2, 7, 11, 15], target = 9,
Because nums[0] + nums[1] = 2 + 7 = 9,
return [0,... | 22.609756 | 107 | 0.560949 |
20eed3246b31f0fa94dde998c5adafa289b2bf4a | 1,388 | cs | C# | LinFu.Loaders/Interfaces/IActionLoader.cs | philiplaureano/LinFu.Loaders | 95621ace7a16293af3a39cf9da973a5f4243e8c4 | [
"MIT"
] | 1 | 2019-04-10T21:02:29.000Z | 2019-04-10T21:02:29.000Z | LinFu.Loaders/Interfaces/IActionLoader.cs | philiplaureano/LinFu.Loaders | 95621ace7a16293af3a39cf9da973a5f4243e8c4 | [
"MIT"
] | null | null | null | LinFu.Loaders/Interfaces/IActionLoader.cs | philiplaureano/LinFu.Loaders | 95621ace7a16293af3a39cf9da973a5f4243e8c4 | [
"MIT"
] | 3 | 2016-01-06T07:57:52.000Z | 2018-12-13T08:13:34.000Z | using System;
using System.Collections.Generic;
namespace LinFu.Loaders
{
/// <summary>
/// Represents a class that can configure
/// a target of type <typeparamref name="TTarget" />
/// using an input type of <typeparamref name="TInput" />.
/// </summary>
/// <typeparam name="TTar... | 46.266667 | 134 | 0.618156 |
d731c9dc8c0f437db614ba2c4dfb56b827314766 | 1,729 | swift | Swift | Sources/Views/MainViewController.swift | bongzniak/reactorKit-karrotFlex-example | bb03f37a52d55368211bf4ee042b37f8d12f78bc | [
"MIT"
] | 10 | 2022-01-21T08:37:23.000Z | 2022-03-14T09:36:44.000Z | Sources/Views/MainViewController.swift | bongzniak/reactorKit-karrotFlex-example | bb03f37a52d55368211bf4ee042b37f8d12f78bc | [
"MIT"
] | null | null | null | Sources/Views/MainViewController.swift | bongzniak/reactorKit-karrotFlex-example | bb03f37a52d55368211bf4ee042b37f8d12f78bc | [
"MIT"
] | null | null | null | //
// MainViewController.swift
// ReactorKit-KarrotFlex-Example
//
// Created Fernando on 2020/09/30.
// Copyright © 2020 tmsae. All rights reserved.
//
import UIKit
import ReactorKit
import RxCocoa
import RxSwift
import RxViewController
final class MainViewController: BaseViewController<MainBodyView>, ReactorKi... | 21.085366 | 83 | 0.551186 |
5aece2fbaec6aaae7a3686cc27740dc9e3c4a6ee | 2,405 | cs | C# | Development/nJupiter.DataAccess.Ldap.Tests.Unit/DirectoryServices/PropertyValueParserTests.cs | twilek/njupiter | 5cd6c8976ddea3639b2956092bfcad17ee944fed | [
"X11",
"MIT"
] | null | null | null | Development/nJupiter.DataAccess.Ldap.Tests.Unit/DirectoryServices/PropertyValueParserTests.cs | twilek/njupiter | 5cd6c8976ddea3639b2956092bfcad17ee944fed | [
"X11",
"MIT"
] | null | null | null | Development/nJupiter.DataAccess.Ldap.Tests.Unit/DirectoryServices/PropertyValueParserTests.cs | twilek/njupiter | 5cd6c8976ddea3639b2956092bfcad17ee944fed | [
"X11",
"MIT"
] | null | null | null | #region Copyright & License
//
// Copyright (c) 2005-2012 nJupiter
//
// 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 rig... | 37 | 83 | 0.731809 |
b75582d23033bd9636bd190462cb22da89e5bd0b | 61,137 | cpp | C++ | vphysics_bullet/Physics_Environment.cpp | SwagSoftware/Kisak-Strike | 7498c886b5199b37cbd156ceac9377ecac73b982 | [
"Unlicense"
] | 252 | 2020-12-16T15:34:43.000Z | 2022-03-31T23:21:37.000Z | vphysics_bullet/Physics_Environment.cpp | SwagSoftware/Kisak-Strike | 7498c886b5199b37cbd156ceac9377ecac73b982 | [
"Unlicense"
] | 23 | 2020-12-20T18:02:54.000Z | 2022-03-28T16:58:32.000Z | vphysics_bullet/Physics_Environment.cpp | SwagSoftware/Kisak-Strike | 7498c886b5199b37cbd156ceac9377ecac73b982 | [
"Unlicense"
] | 42 | 2020-12-19T04:32:33.000Z | 2022-03-30T06:00:28.000Z | #include "StdAfx.h"
#include <cmodel.h>
#include <cstring>
#include "Physics_Environment.h"
#include "Physics.h"
#include "Physics_Object.h"
#include "Physics_ShadowController.h"
#include "Physics_PlayerController.h"
#include "Physics_FluidController.h"
#include "Physics_DragController.h"
#include "Physics_MotionCont... | 36.0053 | 354 | 0.762828 |
392baaf59fc73e26e9e7cb18e53e3e9efda07d70 | 112 | lua | Lua | lua/pl_git_signs.lua | Reicr/nvim | 37d5534d2222e5eef484198634d00522db42b4fc | [
"MIT"
] | null | null | null | lua/pl_git_signs.lua | Reicr/nvim | 37d5534d2222e5eef484198634d00522db42b4fc | [
"MIT"
] | null | null | null | lua/pl_git_signs.lua | Reicr/nvim | 37d5534d2222e5eef484198634d00522db42b4fc | [
"MIT"
] | null | null | null | local gitsigns_ok, gitsigns = pcall(require, 'gitsigns')
if not gitsigns_ok then
return
end
gitsigns.setup()
| 16 | 56 | 0.767857 |
ba208f9415ec0787c2f9cf93ae680095face5075 | 1,119 | go | Go | models/heroesSpellsSpecialty.go | rudnovd/heroes3toolsApi | cc2a7537fee065ea8d5cae0b438c38740cb9089c | [
"MIT"
] | null | null | null | models/heroesSpellsSpecialty.go | rudnovd/heroes3toolsApi | cc2a7537fee065ea8d5cae0b438c38740cb9089c | [
"MIT"
] | null | null | null | models/heroesSpellsSpecialty.go | rudnovd/heroes3toolsApi | cc2a7537fee065ea8d5cae0b438c38740cb9089c | [
"MIT"
] | null | null | null | package models
import (
"database/sql"
"log"
"github.com/rudnovd/heroes3toolsApi/common"
)
type HeroesSpellsSpecialty struct {
ID int8 `json:"id,omitempty"`
SpellID int8 `json:"spellId,omitempty"`
}
func (hss *HeroesSpellsSpecialty) GetAll() []HeroesSpellsSpecialty {
db := common.GetDatabase()
query :=... | 17.761905 | 73 | 0.682752 |
dbcbb06eaeb4f11fba8076d025b27630f125d754 | 2,919 | php | PHP | app/Http/Kernel.php | lwl1989/liuliu | 1b76546e018029798a09352e594ce8d6e8f19423 | [
"MIT"
] | null | null | null | app/Http/Kernel.php | lwl1989/liuliu | 1b76546e018029798a09352e594ce8d6e8f19423 | [
"MIT"
] | null | null | null | app/Http/Kernel.php | lwl1989/liuliu | 1b76546e018029798a09352e594ce8d6e8f19423 | [
"MIT"
] | null | null | null | <?php
namespace App\Http;
use App\Http\Middleware\AuthAdmin;
use App\Http\Middleware\FormatResponse;
use App\Http\Middleware\JsonInput;
use Illuminate\Database\DatabaseManager;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middlewa... | 30.40625 | 85 | 0.615622 |
e7c62a309ce240893c4ce840cbcd34233af74f78 | 193 | go | Go | api/utils/goroutine_utils.go | LegalForceLawRAPC/go-template | 4b18f1bee1bf41f4d186b611eea0b8e8ec697376 | [
"Apache-2.0"
] | null | null | null | api/utils/goroutine_utils.go | LegalForceLawRAPC/go-template | 4b18f1bee1bf41f4d186b611eea0b8e8ec697376 | [
"Apache-2.0"
] | null | null | null | api/utils/goroutine_utils.go | LegalForceLawRAPC/go-template | 4b18f1bee1bf41f4d186b611eea0b8e8ec697376 | [
"Apache-2.0"
] | 1 | 2022-02-09T05:42:57.000Z | 2022-02-09T05:42:57.000Z | package utils
import (
"log"
"runtime/debug"
)
func Recover() {
if r := recover(); r != nil {
log.Println("Recovering from panic:", string(debug.Stack()))
}
}
// defer utils.Recover()
| 12.866667 | 62 | 0.621762 |
8d9ad444906108854b95212447094a34c34df8b9 | 181 | js | JavaScript | svelte-app/scripts/gh-pages.js | endsong/endsong.github.io | 114e5f2aefa28e94af829e9725e317ea3c5f5239 | [
"MIT"
] | null | null | null | svelte-app/scripts/gh-pages.js | endsong/endsong.github.io | 114e5f2aefa28e94af829e9725e317ea3c5f5239 | [
"MIT"
] | null | null | null | svelte-app/scripts/gh-pages.js | endsong/endsong.github.io | 114e5f2aefa28e94af829e9725e317ea3c5f5239 | [
"MIT"
] | null | null | null | var ghpages = require('gh-pages');
ghpages.publish(
'public',
{
branch: 'gh-pages',
message: 'Deploy website'
},
() => {
console.log('Completed deploy!')
}
)
| 13.923077 | 36 | 0.563536 |
9fd2f6260761860d33735593b334dfb3f437918d | 1,010 | py | Python | setup.py | dergraf/slackin-python | 126f5f25ec51807f7bf170a62ee3c0db2e8c027e | [
"MIT"
] | null | null | null | setup.py | dergraf/slackin-python | 126f5f25ec51807f7bf170a62ee3c0db2e8c027e | [
"MIT"
] | null | null | null | setup.py | dergraf/slackin-python | 126f5f25ec51807f7bf170a62ee3c0db2e8c027e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
import sys
import platform
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "slackin-python",
version = "1.0",
packages = ["slackin"],
package_data = {
"slackin": ["... | 28.857143 | 95 | 0.630693 |
f4ed17e9635acb28081e9a7a8cf1c320432d953e | 1,020 | tsx | TypeScript | src/pages/about.tsx | rajatkulkarni95/pretty-news | a57b994d17844560b582794fe90a91ba9f94eb50 | [
"MIT"
] | 21 | 2021-12-11T16:39:11.000Z | 2022-03-03T12:15:24.000Z | src/pages/about.tsx | rajatkulkarni95/pretty-news | a57b994d17844560b582794fe90a91ba9f94eb50 | [
"MIT"
] | 26 | 2021-12-07T17:08:26.000Z | 2022-03-12T14:49:04.000Z | src/pages/about.tsx | rajatkulkarni95/pretty-news | a57b994d17844560b582794fe90a91ba9f94eb50 | [
"MIT"
] | 2 | 2022-01-13T16:05:36.000Z | 2022-03-03T04:09:36.000Z | import { Container } from "styles/";
import { NextPage } from "next";
import { styled } from "../../stitches.config";
const Text = styled("p", {
color: "$primaryText",
margin: "16px 0",
});
const Section = styled("section", {
display: "flex",
flexDirection: "column",
});
const Hyperlink = styled("a", {
tex... | 23.72093 | 78 | 0.598039 |
8fa93cc55c68075ab16ce26472096397c6aace7c | 85 | dart | Dart | lib/repositories/notifications/export.dart | social-game/mooncake | 79ea10dd4a1ba5a5d2684d733c92791175491ba1 | [
"MIT"
] | 42 | 2020-01-17T18:50:00.000Z | 2022-03-14T07:51:10.000Z | lib/repositories/notifications/export.dart | desmos-labs/dwitter | 007c6df3b4b5be65340e9bc29c92a4728021e904 | [
"MIT"
] | 153 | 2020-01-18T04:43:27.000Z | 2021-05-28T11:16:58.000Z | lib/repositories/notifications/export.dart | desmos-labs/dwitter | 007c6df3b4b5be65340e9bc29c92a4728021e904 | [
"MIT"
] | 9 | 2020-02-29T04:35:51.000Z | 2021-09-15T03:51:43.000Z | export 'source_notifications_local.dart';
export 'source_notifications_remote.dart';
| 28.333333 | 42 | 0.858824 |
30d85143248adf3b056fbcd1b30cc7835ac0ff5d | 298 | rs | Rust | src/mscm/cp1num.rs | rv32m1-rust/rv32m1_ri5cy-pac | 1f98f7ab62b6f99f9de0157085ecd09855b6560f | [
"Apache-2.0",
"MIT"
] | 5 | 2019-09-09T17:12:39.000Z | 2021-05-25T10:33:24.000Z | src/mscm/cp1num.rs | rv32m1-rust/rv32m1_ri5cy-pac | 1f98f7ab62b6f99f9de0157085ecd09855b6560f | [
"Apache-2.0",
"MIT"
] | null | null | null | src/mscm/cp1num.rs | rv32m1-rust/rv32m1_ri5cy-pac | 1f98f7ab62b6f99f9de0157085ecd09855b6560f | [
"Apache-2.0",
"MIT"
] | null | null | null | #[doc = "Reader of register CP1NUM"]
pub type R = crate::R<u32, super::CP1NUM>;
#[doc = "Reader of field `CPN`"]
pub type CPN_R = crate::R<bool, bool>;
impl R {
#[doc = "Bit 0 - Processor 1 Number"]
#[inline(always)]
pub fn cpn(&self) -> CPN_R {
CPN_R::new((self.bits & 0x01) != 0)
}
}
| 24.833333 | 42 | 0.590604 |
c99a77102a4d1fa272098d2f8523b0cbca2fb391 | 1,773 | ts | TypeScript | www/src/app/request/back-office/components/procedure/procedure-form/procedure-form-documents/procedure-form-documents.component.ts | narg1s1/gpnmarket | d007dd993ce9fa6afd74a65be6462d1da5f2ada0 | [
"Apache-2.0"
] | null | null | null | www/src/app/request/back-office/components/procedure/procedure-form/procedure-form-documents/procedure-form-documents.component.ts | narg1s1/gpnmarket | d007dd993ce9fa6afd74a65be6462d1da5f2ada0 | [
"Apache-2.0"
] | null | null | null | www/src/app/request/back-office/components/procedure/procedure-form/procedure-form-documents/procedure-form-documents.component.ts | narg1s1/gpnmarket | d007dd993ce9fa6afd74a65be6462d1da5f2ada0 | [
"Apache-2.0"
] | null | null | null | import { AfterContentInit, Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
import { ControlValueAccessor, FormArray, FormBuilder, FormGroup, NG_VALUE_ACCESSOR } from "@angular/forms";
import { RequestDocument } from "../../../../../common/models/request-document";
@Component({
selector: 'a... | 36.9375 | 108 | 0.690355 |
a345ff145978c123ec5b13b728121455882b6f27 | 1,566 | h | C | SmartDeviceLink/public/SDLTextField.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | null | null | null | SmartDeviceLink/public/SDLTextField.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | 2 | 2021-02-03T15:13:18.000Z | 2021-02-04T15:54:25.000Z | SmartDeviceLink/public/SDLTextField.h | codelynx/sdl_ios | 90317e17d408426547b4afed91620bc695a3279c | [
"BSD-3-Clause"
] | null | null | null | // SDLTextField.h
//
#import "SDLRPCMessage.h"
#import "SDLCharacterSet.h"
#import "SDLTextFieldName.h"
NS_ASSUME_NONNULL_BEGIN
/**
* Struct defining the characteristics of a displayed field on the HMI.
*
* @since SDL 1.0
*/
@interface SDLTextField : SDLRPCStruct
/**
* The enumeration identifying the field.... | 27.473684 | 306 | 0.743934 |
03234dceb18937d6e251fffd3cf118b92efc9725 | 3,755 | cpp | C++ | src/WindowsEventListener.cpp | bilmich1/windows-event-listener | 6002dd0f92704cf3fe4d518f764f76012e202358 | [
"MIT"
] | null | null | null | src/WindowsEventListener.cpp | bilmich1/windows-event-listener | 6002dd0f92704cf3fe4d518f764f76012e202358 | [
"MIT"
] | null | null | null | src/WindowsEventListener.cpp | bilmich1/windows-event-listener | 6002dd0f92704cf3fe4d518f764f76012e202358 | [
"MIT"
] | null | null | null | #include "WindowsEventListener.h"
#include <algorithm>
#include <iterator>
#include <sstream>
#include <fstream>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/format.hpp>
// Link with the event lib
#pragma comment(lib, "wevtapi.lib")
DWORD WINAPI eventListene... | 27.610294 | 120 | 0.655659 |
a31a9c18d59c5028e624bb9ae3f896704f5ef333 | 404 | h | C | BLLetBase/Classes/BLLetCore.framework/Headers/BLDeviceTimeResult.h | ibroadlink/appsdk | 376e3d0c9e64fcff84e7a23c46b6eb8027dbb931 | [
"MIT"
] | null | null | null | BLLetBase/Classes/BLLetCore.framework/Headers/BLDeviceTimeResult.h | ibroadlink/appsdk | 376e3d0c9e64fcff84e7a23c46b6eb8027dbb931 | [
"MIT"
] | null | null | null | BLLetBase/Classes/BLLetCore.framework/Headers/BLDeviceTimeResult.h | ibroadlink/appsdk | 376e3d0c9e64fcff84e7a23c46b6eb8027dbb931 | [
"MIT"
] | 1 | 2020-02-12T07:22:54.000Z | 2020-02-12T07:22:54.000Z | //
// DeviceTimeResult.h
// Let
//
// Created by yzm on 16/5/17.
// Copyright © 2016年 BroadLink Co., Ltd. All rights reserved.
//
#import "BLBaseResult.h"
@interface BLDeviceTimeResult : BLBaseResult
/**
Device time string in UTC-8
*/
@property (nonatomic, strong, getter=getTime) NSString *time;
/**
Device ti... | 17.565217 | 62 | 0.69802 |
5be60602eac1d3a067cc2fa47ccf6c0b7bb436cd | 2,829 | css | CSS | src/css/custom.css | esmeraldjs/website-core | ce50e3153085afd737031322acd88674fcb2922f | [
"MIT"
] | 2 | 2022-02-23T21:08:11.000Z | 2022-02-27T21:22:59.000Z | src/css/custom.css | esmeraldjs/website-core | ce50e3153085afd737031322acd88674fcb2922f | [
"MIT"
] | null | null | null | src/css/custom.css | esmeraldjs/website-core | ce50e3153085afd737031322acd88674fcb2922f | [
"MIT"
] | null | null | null | /**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
-... | 24.6 | 81 | 0.680099 |
a156b26d75367054eddb7748da02956f2fbc70d1 | 1,623 | tsx | TypeScript | frontend/src/components/Tape/sidebar/cards/dialog/index.tsx | pashuka/tape | a5adf2faacb726e3f11680b916ac67159ef38115 | [
"MIT"
] | null | null | null | frontend/src/components/Tape/sidebar/cards/dialog/index.tsx | pashuka/tape | a5adf2faacb726e3f11680b916ac67159ef38115 | [
"MIT"
] | null | null | null | frontend/src/components/Tape/sidebar/cards/dialog/index.tsx | pashuka/tape | a5adf2faacb726e3f11680b916ac67159ef38115 | [
"MIT"
] | 2 | 2021-07-16T16:46:32.000Z | 2022-02-24T09:07:26.000Z | import React from 'react';
import { useRecoilValueLoadable } from 'recoil';
import {
dialogMembersSelector,
dialogSelector,
DialogIdType,
DialogType,
instanceOfDialog,
} from '../../../../../hooks/recoil/dialog';
import CardDialogDirect from './direct';
import { UserNameType } from '../../../../../hooks/reco... | 24.590909 | 72 | 0.621688 |
da76bb8fa3023b765771b8cd49b58be6cfcf5ef6 | 3,011 | php | PHP | resources/views/admin/users/manage.blade.php | ipatco/event_app1 | 419d1d464194e065811f19b3028a605116316c98 | [
"MIT"
] | null | null | null | resources/views/admin/users/manage.blade.php | ipatco/event_app1 | 419d1d464194e065811f19b3028a605116316c98 | [
"MIT"
] | null | null | null | resources/views/admin/users/manage.blade.php | ipatco/event_app1 | 419d1d464194e065811f19b3028a605116316c98 | [
"MIT"
] | null | null | null | @extends('admin')
@section('title', 'Users')
@section('css')
<link href="{{ asset('assets/vendor/datatables/dataTables.bootstrap4.min.css') }}" rel="stylesheet">
@endsection
@section('page')
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb... | 40.689189 | 169 | 0.381933 |
33d80ce09b2403449df13b142b7d34f121dd5765 | 205 | h | C | ios/oplayer/View/UITableViewBase.h | citshares/bitshares-mobile-app | ecc2061384f17a5bf9f17aaefe9c036106a765e2 | [
"MIT"
] | null | null | null | ios/oplayer/View/UITableViewBase.h | citshares/bitshares-mobile-app | ecc2061384f17a5bf9f17aaefe9c036106a765e2 | [
"MIT"
] | null | null | null | ios/oplayer/View/UITableViewBase.h | citshares/bitshares-mobile-app | ecc2061384f17a5bf9f17aaefe9c036106a765e2 | [
"MIT"
] | null | null | null | //
// UITableViewBase.h
// oplayer
//
// Created by Aonichan on 16/1/29.
//
//
#import <UIKit/UIKit.h>
@interface UITableViewBase : UITableView
@property (nonatomic, assign) BOOL hideAllLines;
@end
| 12.8125 | 48 | 0.687805 |
540d5534f17e9099073a724c40fb2bf11243e360 | 169 | css | CSS | dist/VueBootstrapTypeahead.css | jhalag/vue-bootstrap-typeahead | a9cfc7ec4a0a7afa866bee14304890b8b26c58d1 | [
"MIT"
] | null | null | null | dist/VueBootstrapTypeahead.css | jhalag/vue-bootstrap-typeahead | a9cfc7ec4a0a7afa866bee14304890b8b26c58d1 | [
"MIT"
] | null | null | null | dist/VueBootstrapTypeahead.css | jhalag/vue-bootstrap-typeahead | a9cfc7ec4a0a7afa866bee14304890b8b26c58d1 | [
"MIT"
] | 1 | 2019-11-16T22:07:51.000Z | 2019-11-16T22:07:51.000Z | .vbt-highlighted[data-v-244e82d6]{font-weight:700}.vbt-autocomplete-list[data-v-3a168738]{max-height:350px;overflow-y:auto;padding-top:5px;position:absolute;z-index:999} | 169 | 169 | 0.810651 |
f2632226f363415cdd99c765903859a37bd9c4c3 | 1,066 | swift | Swift | App/Sources/Networking/DomainErrorFactory.swift | LinkAndreas/Licenses | 32f20f6e274b3017ed4fc26b8e93d7447f5a4517 | [
"MIT"
] | 24 | 2021-03-10T12:47:44.000Z | 2022-03-25T16:18:13.000Z | App/Sources/Networking/DomainErrorFactory.swift | LinkAndreas/Licenses | 32f20f6e274b3017ed4fc26b8e93d7447f5a4517 | [
"MIT"
] | null | null | null | App/Sources/Networking/DomainErrorFactory.swift | LinkAndreas/Licenses | 32f20f6e274b3017ed4fc26b8e93d7447f5a4517 | [
"MIT"
] | 1 | 2022-03-10T02:19:19.000Z | 2022-03-10T02:19:19.000Z | // Copyright © 2021 Andreas Link. All rights reserved.
import Aphrodite
import Foundation
enum DomainError: Error {
case forbidden(HTTPURLResponse, Data)
case serviceCancelled
case notConnectedToInternet
case githubRateLimitExceeded
case unauthorized
case unexpected
}
enum DomainErrorFactory... | 25.380952 | 114 | 0.639775 |
3d9e0f10265ec297346181c6a674bf3e4c761b44 | 47 | ps1 | PowerShell | Chapter03/4.1.18.Select-Object_Unique.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 27 | 2020-04-21T13:28:29.000Z | 2022-03-09T12:19:24.000Z | Chapter03/4.1.18.Select-Object_Unique.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | null | null | null | Chapter03/4.1.18.Select-Object_Unique.ps1 | wagnerhsu/packt-Mastering-Windows-PowerShell-Scripting-Fourth-Edition | be9f5cad2bf28de7c0a250590c65b72994800aeb | [
"MIT"
] | 15 | 2020-05-03T01:24:33.000Z | 2022-01-26T04:57:23.000Z | 1, 1, 1, 3, 5, 2, 2, 4 | Select-Object -Unique
| 23.5 | 46 | 0.553191 |
e27d8e1da38b6a86cff41571fdc556e2598d1c13 | 248 | py | Python | Demo/run.py | pkeech/Docker-Flask-Waitress-Demo | 9fe3f84bb6a24b8c652f40e2d7eaa304e202fbc7 | [
"MIT"
] | null | null | null | Demo/run.py | pkeech/Docker-Flask-Waitress-Demo | 9fe3f84bb6a24b8c652f40e2d7eaa304e202fbc7 | [
"MIT"
] | null | null | null | Demo/run.py | pkeech/Docker-Flask-Waitress-Demo | 9fe3f84bb6a24b8c652f40e2d7eaa304e202fbc7 | [
"MIT"
] | null | null | null | ## IMPORT MODULES
from app import create_app
from waitress import serve
from paste.translogger import TransLogger
## START FLASK APPLICATION WITH WAITRESS
if __name__ == "__main__":
app = create_app()
serve(TransLogger(app), listen='*:80') | 27.555556 | 42 | 0.754032 |
e2b9e4fc59998fe6e7374d4b1ced481763f136fc | 1,106 | py | Python | Chapter02/MyThreadClass_lock_2.py | ayulestarinasution/Python-Pararel_SISTER | 64b63275c795b303de12ca1b20aec5876bb154f7 | [
"MIT"
] | null | null | null | Chapter02/MyThreadClass_lock_2.py | ayulestarinasution/Python-Pararel_SISTER | 64b63275c795b303de12ca1b20aec5876bb154f7 | [
"MIT"
] | null | null | null | Chapter02/MyThreadClass_lock_2.py | ayulestarinasution/Python-Pararel_SISTER | 64b63275c795b303de12ca1b20aec5876bb154f7 | [
"MIT"
] | null | null | null | import threading
import time
import os
from threading import Thread
from random import randint
# Lock Definition
threadLock = threading.Lock()
class MyPasien (Thread):
def _init_(self, name, duration):
Thread._init_(self)
self.name = name
self.duration = duration
def run(self):
#Acquire ... | 18.745763 | 58 | 0.574141 |