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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be538ac3e7f28199476c1049edf9fc29cd742244 | 648 | ps1 | PowerShell | Powershell/Windows/DeleteOSTFileForAllUsers.ps1 | kimmelsg/scripts | 15e8fe9e5f602488addeb77b0198fe57b97a2417 | [
"MIT"
] | 6 | 2019-09-20T03:17:01.000Z | 2021-01-10T12:52:02.000Z | Powershell/Windows/DeleteOSTFileForAllUsers.ps1 | kimmelsg/scripts | 15e8fe9e5f602488addeb77b0198fe57b97a2417 | [
"MIT"
] | null | null | null | Powershell/Windows/DeleteOSTFileForAllUsers.ps1 | kimmelsg/scripts | 15e8fe9e5f602488addeb77b0198fe57b97a2417 | [
"MIT"
] | 5 | 2020-01-05T02:11:16.000Z | 2022-02-24T20:21:28.000Z | $Users = Get-ChildItem 'C:\Users' | Where-Object { $_.Name -notlike "Administrator" -and $_.Name -ne "Public" -and $_.Name -ne "Default"}
Foreach ($User in $Users) {
$Folder = "C:\users\" + $User + "\AppData\Local\Microsoft\Outlook"
$Folderpath = Test-Path -Path $Folder
if ($FolderPath) {
Get-... | 36 | 181 | 0.634259 |
0a4226a3e3773ff26e1751a73ac6ca080cb32209 | 2,008 | cs | C# | Core/Program.cs | ThxSkeleton/Uriel | 511609c9f31d894b8ec67299ea2a249c9fe8b134 | [
"MIT"
] | null | null | null | Core/Program.cs | ThxSkeleton/Uriel | 511609c9f31d894b8ec67299ea2a249c9fe8b134 | [
"MIT"
] | 2 | 2018-11-22T05:49:25.000Z | 2018-11-25T02:32:47.000Z | Core/Program.cs | ThxSkeleton/Uriel | 511609c9f31d894b8ec67299ea2a249c9fe8b134 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Khronos;
using Uriel.DataTypes;
namespace Uriel
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... | 32.387097 | 170 | 0.576693 |
e02bab88e4fc278917b2b3da80a2d4543f475093 | 39,833 | c | C | src/parser.c | coderstephen/walrus | ea2309c7ebcec513ffbad42ea6b7599e81dddf11 | [
"MIT"
] | 3 | 2016-12-07T12:42:11.000Z | 2021-06-03T07:16:32.000Z | src/parser.c | coderstephen/walrus | ea2309c7ebcec513ffbad42ea6b7599e81dddf11 | [
"MIT"
] | null | null | null | src/parser.c | coderstephen/walrus | ea2309c7ebcec513ffbad42ea6b7599e81dddf11 | [
"MIT"
] | 1 | 2016-12-07T12:42:14.000Z | 2016-12-07T12:42:14.000Z | #include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ast.h"
#include "error.h"
#include "lexer.h"
#include "parser.h"
#include "symbol_table.h"
/**
* Parses the tokens yielded by a given lexer.
*/
ASTNode* parser_parse(Lexer* lexer)
{
// the source file should contain a sing... | 29.181685 | 126 | 0.626516 |
81494a6f6e77bf847298c0628868681b057a7ff2 | 1,703 | rb | Ruby | spec/spec_helper.rb | AirspaceTechnologies/strong_resources | 0e650aa82d327a59c52d6ded4f8ed4b7bf689272 | [
"MIT"
] | 7 | 2017-06-09T09:57:49.000Z | 2020-05-04T08:35:19.000Z | spec/spec_helper.rb | AirspaceTechnologies/strong_resources | 0e650aa82d327a59c52d6ded4f8ed4b7bf689272 | [
"MIT"
] | 10 | 2017-05-17T11:01:34.000Z | 2018-12-04T20:31:51.000Z | spec/spec_helper.rb | AirspaceTechnologies/strong_resources | 0e650aa82d327a59c52d6ded4f8ed4b7bf689272 | [
"MIT"
] | 14 | 2016-09-26T20:39:59.000Z | 2021-01-04T09:50:38.000Z | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'jsonapi_compliable'
require 'action_pack'
require 'action_controller'
module ActionController
SharedTestRoutes = ActionDispatch::Routing::RouteSet.new
SharedTestRoutes.draw do
resources :people
end
class Base
include ActionController... | 20.035294 | 61 | 0.736348 |
57eb97c7b5064d2bf0b639caab9ea7a25e812629 | 8,745 | php | PHP | inc/customize-theme.php | haqueamirul/medical-wordpress-theme | 9d5686188f9c904a0d05b0316f029f2b752baa8c | [
"MIT"
] | null | null | null | inc/customize-theme.php | haqueamirul/medical-wordpress-theme | 9d5686188f9c904a0d05b0316f029f2b752baa8c | [
"MIT"
] | null | null | null | inc/customize-theme.php | haqueamirul/medical-wordpress-theme | 9d5686188f9c904a0d05b0316f029f2b752baa8c | [
"MIT"
] | null | null | null | <?php
/**
* medisoft.2 functions and definitions
*
* @link https://soft-theme.com/medisoft/medisoft-2/
*
* @package medisoft-2
*/
function soft_prefix_custom_register( $wp_customize ) {
$wp_customize->add_panel( 'panel_id', array(
'priority' => 10,
'capability' => 'edit_theme_options',
'them... | 29.053156 | 94 | 0.573128 |
52f158e76fb6ecf170da90fd321a9a5c778ea598 | 682 | rb | Ruby | lib/serialize_fu.rb | bumi/serializefu | 7a7902f55e774cf74c51f2e1cce68fa29f1ba173 | [
"MIT"
] | 1 | 2016-05-08T11:12:57.000Z | 2016-05-08T11:12:57.000Z | lib/serialize_fu.rb | bumi/serializefu | 7a7902f55e774cf74c51f2e1cce68fa29f1ba173 | [
"MIT"
] | null | null | null | lib/serialize_fu.rb | bumi/serializefu | 7a7902f55e774cf74c51f2e1cce68fa29f1ba173 | [
"MIT"
] | null | null | null | module Railslove
module Plugins
module SerializeFu
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def serialize_fu(options={})
class_inheritable_accessor :serialize_options
self.serialize_options = options
... | 22 | 65 | 0.590909 |
0ada0575ef0d9366d4f92331dd325d1e1b3b8703 | 305 | cs | C# | Photography/WebSite/Photography/Repositories/CategoryRepository.cs | sebastian-ilari/Photography | 14e17414db48449109ff73267272f62032012033 | [
"MIT"
] | null | null | null | Photography/WebSite/Photography/Repositories/CategoryRepository.cs | sebastian-ilari/Photography | 14e17414db48449109ff73267272f62032012033 | [
"MIT"
] | null | null | null | Photography/WebSite/Photography/Repositories/CategoryRepository.cs | sebastian-ilari/Photography | 14e17414db48449109ff73267272f62032012033 | [
"MIT"
] | null | null | null | using Photography.Interfaces;
using Photography.Models;
namespace Photography.Repositories
{
public class CategoryRepository : BaseRepository<Category>
{
public CategoryRepository(IPhotographyContext photographyContext) : base(photographyContext)
{
}
}
} | 23.461538 | 101 | 0.701639 |
e2957bcbe391aa579ff4f6357b5b1063474c6561 | 159 | rs | Rust | easy_scan_backend/src/metadata.rs | Linus045/easy_scan | 55f237ec0e17b4e5dbcd927411a45b1782dc9683 | [
"MIT"
] | null | null | null | easy_scan_backend/src/metadata.rs | Linus045/easy_scan | 55f237ec0e17b4e5dbcd927411a45b1782dc9683 | [
"MIT"
] | null | null | null | easy_scan_backend/src/metadata.rs | Linus045/easy_scan | 55f237ec0e17b4e5dbcd927411a45b1782dc9683 | [
"MIT"
] | null | null | null | use serde::Serialize;
#[derive(Serialize)]
pub struct PDFMetadata {
pub name: String,
pub preview_filenames: Vec<String>,
pub page_count: i32
}
| 14.454545 | 39 | 0.691824 |
a46bfe3ba44197007edddd59cc0cd42e21d818a2 | 7,851 | php | PHP | resources/views/Actividades/evaluado/actividadesAsignadasComentar.blade.php | Rddiazolivos/capitalHumano | f338b83b36e403e471d2575480c68b9024a37185 | [
"MIT"
] | null | null | null | resources/views/Actividades/evaluado/actividadesAsignadasComentar.blade.php | Rddiazolivos/capitalHumano | f338b83b36e403e471d2575480c68b9024a37185 | [
"MIT"
] | null | null | null | resources/views/Actividades/evaluado/actividadesAsignadasComentar.blade.php | Rddiazolivos/capitalHumano | f338b83b36e403e471d2575480c68b9024a37185 | [
"MIT"
] | null | null | null | @extends('layouts.menu')
@section('contenido')
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-md-8"><strong>Nombre: </strong>{{$actividad->nombre}}</div>... | 50.006369 | 169 | 0.466692 |
dc86cabac6639bd5452f913f477ae6c6c746a868 | 1,923 | rb | Ruby | spec/system/user_account_registration_spec.rb | C-gyorfi/govuk-front-end-rails-app | e2cc598e03ec6605b2e0d138b632d18ab1800e9f | [
"MIT"
] | null | null | null | spec/system/user_account_registration_spec.rb | C-gyorfi/govuk-front-end-rails-app | e2cc598e03ec6605b2e0d138b632d18ab1800e9f | [
"MIT"
] | null | null | null | spec/system/user_account_registration_spec.rb | C-gyorfi/govuk-front-end-rails-app | e2cc598e03ec6605b2e0d138b632d18ab1800e9f | [
"MIT"
] | null | null | null | require 'rails_helper'
RSpec.feature 'User account registration' do
scenario 'User signs up' do
when_i_visit_the_root_page
and_i_click_on_the_registration_tab
then_i_can_see_the_registration_page
when_i_fill_up_the_form_by_omitting_fields
and_i_click_on_the_registration
the_i_can_see_field_... | 25.64 | 59 | 0.782631 |
16d897da721fed59a9a583b079525822dd075760 | 96 | dart | Dart | pkgs/test/test/common.dart | willdrach-wk/test | c075b7017f980f1634b8bbd55a73723150f431fa | [
"BSD-3-Clause"
] | 1 | 2019-01-04T22:51:27.000Z | 2019-01-04T22:51:27.000Z | pkgs/test/test/common.dart | willdrach-wk/test | c075b7017f980f1634b8bbd55a73723150f431fa | [
"BSD-3-Clause"
] | null | null | null | pkgs/test/test/common.dart | willdrach-wk/test | c075b7017f980f1634b8bbd55a73723150f431fa | [
"BSD-3-Clause"
] | null | null | null | import 'package:test/test.dart';
myTest(String name, Function() testFn) => test(name, testFn);
| 24 | 61 | 0.71875 |
7aabc9e6e9140b95805085449d31f087034893e4 | 263 | cs | C# | ME/Model/OrderPointer.cs | kumarshekharroy/ME | 0ef581dab2751c5f38746451b4ef561ef4573702 | [
"Apache-2.0"
] | null | null | null | ME/Model/OrderPointer.cs | kumarshekharroy/ME | 0ef581dab2751c5f38746451b4ef561ef4573702 | [
"Apache-2.0"
] | null | null | null | ME/Model/OrderPointer.cs | kumarshekharroy/ME | 0ef581dab2751c5f38746451b4ef561ef4573702 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ME.Model
{
class OrderPointer
{
public decimal Rate { get; set; }
public OrderSide Side { get; set; }
}
}
| 17.533333 | 44 | 0.669202 |
e2887c2704e2d21ccb0a8db4f7b94c52ca40a7a9 | 448 | py | Python | app/api/models.py | Arkaikus/MarvelFavsApi | 8977bbd5a5cba7a1fecc9ceaed541112befb3540 | [
"MIT"
] | null | null | null | app/api/models.py | Arkaikus/MarvelFavsApi | 8977bbd5a5cba7a1fecc9ceaed541112befb3540 | [
"MIT"
] | null | null | null | app/api/models.py | Arkaikus/MarvelFavsApi | 8977bbd5a5cba7a1fecc9ceaed541112befb3540 | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class Favorites(models.Model):
user = models.ForeignKey(User, on_delete=models.CASCADE)
comicId = models.CharField(max_length=255, primary_key=True)
title = models.CharField(max_length=255)
thumbnail = models.URLField()
descr... | 34.461538 | 70 | 0.723214 |
1ac7fc86a1e90f2887bfcdff057a6dcd7b522374 | 2,133 | py | Python | pylabs/extensions/arakoon_ext/server/RemoteControlProtocol.py | Incubaid/arakoon | 43a8d0b26e4876ef91d9657149f105c7e57e0cb0 | [
"Apache-2.0"
] | 41 | 2015-02-11T03:23:36.000Z | 2020-12-27T12:13:52.000Z | ovs/extensions/db/arakoon/arakoon/RemoteControlProtocol.py | rootfs-analytics/openvstorage | 6184822340faea1d2927643330a7aaa781d92d36 | [
"Apache-2.0"
] | 36 | 2015-01-04T16:58:51.000Z | 2020-11-12T12:05:37.000Z | ovs/extensions/db/arakoon/arakoon/RemoteControlProtocol.py | rootfs-analytics/openvstorage | 6184822340faea1d2927643330a7aaa781d92d36 | [
"Apache-2.0"
] | 7 | 2015-07-10T08:04:01.000Z | 2021-09-28T08:09:23.000Z | """
Copyright (2010-2014) INCUBAID BVBA
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, so... | 22.935484 | 72 | 0.672761 |
7be6ea2e235a3c7e1f21663f18f5768eefa94172 | 1,936 | cpp | C++ | Source/FactoryGame/Buildables/FGBuildableTradingPost.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/Buildables/FGBuildableTradingPost.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/Buildables/FGBuildableTradingPost.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | // This file has been automatically generated by the Unreal Header Implementation tool
#include "FGBuildableTradingPost.h"
AFGBuildableTradingPost::AFGBuildableTradingPost(){ }
void AFGBuildableTradingPost::GetLifetimeReplicatedProps( TArray<FLifetimeProperty>& OutLifetimeProps) const{ }
void AFGBuildableTradingPost:... | 69.142857 | 112 | 0.845558 |
c4887840eda54fb39ad0b0b401ccf2d928813001 | 2,945 | cpp | C++ | src/test_hierarchical_clustering.cpp | UM-ARM-Lab/arc_utilities | e21bd5062983b25e61e33f832ec66b937540ba10 | [
"BSD-2-Clause"
] | 10 | 2017-01-09T14:37:14.000Z | 2022-03-16T08:02:08.000Z | src/test_hierarchical_clustering.cpp | UM-ARM-Lab/arc_utilities | e21bd5062983b25e61e33f832ec66b937540ba10 | [
"BSD-2-Clause"
] | 62 | 2017-05-25T16:52:38.000Z | 2022-03-08T20:05:09.000Z | src/test_hierarchical_clustering.cpp | UM-ARM-Lab/arc_utilities | e21bd5062983b25e61e33f832ec66b937540ba10 | [
"BSD-2-Clause"
] | 7 | 2017-08-04T13:06:17.000Z | 2022-03-16T08:02:11.000Z | #include <stdio.h>
#include <stdlib.h>
#include <arc_utilities/abb_irb1600_145_fk_fast.hpp>
#include <arc_utilities/arc_helpers.hpp>
#include <arc_utilities/eigen_helpers.hpp>
#include <arc_utilities/pretty_print.hpp>
#include <arc_utilities/simple_hierarchical_clustering.hpp>
#include <chrono>
#include <fstream>
#inc... | 46.746032 | 118 | 0.678778 |
7f44287e8409f1f4551d98d3be52f4d84c9775df | 701 | asm | Assembly | oeis/164/A164311.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/164/A164311.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/164/A164311.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A164311: a(n) = 12*a(n-1) - 33*a(n-2) for n > 1; a(0) = 4, a(1) = 27.
; Submitted by Jamie Morken(s1)
; 4,27,192,1413,10620,80811,619272,4764501,36738036,283627899,2191179600,16934434533,130904287596,1012015111563,7824339848088,60495579495477,467743738958820,3616570744155099,27963305544220128,216212831973523269,16717... | 41.235294 | 476 | 0.793153 |
3539e33e3673284aff0c9fc054e1c62e0fa691d9 | 797 | swift | Swift | Rocket.Chat/Views/Cells/Chat/ChatMessageAttachmentView.swift | VladimirBabiy/Rocket.Chat.iOS | 3bcbdb42cde51bc90905ebbc051616b5020fcc38 | [
"MIT"
] | 1 | 2018-03-12T03:46:29.000Z | 2018-03-12T03:46:29.000Z | Rocket.Chat/Views/Cells/Chat/ChatMessageAttachmentView.swift | VladimirBabiy/Rocket.Chat.iOS | 3bcbdb42cde51bc90905ebbc051616b5020fcc38 | [
"MIT"
] | null | null | null | Rocket.Chat/Views/Cells/Chat/ChatMessageAttachmentView.swift | VladimirBabiy/Rocket.Chat.iOS | 3bcbdb42cde51bc90905ebbc051616b5020fcc38 | [
"MIT"
] | null | null | null | //
// ChatMessageAttachmentView.swift
// Rocket.Chat
//
// Created by Luca Justin Zimmermann on 01/02/18.
// Copyright © 2018 Rocket.Chat. All rights reserved.
//
class ChatMessageAttachmentView: UIView {
class var defaultHeight: CGFloat {
return 0
}
static func heightFor(withText description:... | 31.88 | 145 | 0.68256 |
2c6711884bcb1fbbc60a02a02db113f3442f39ee | 645 | py | Python | operations/functions/normalize_segmentation.py | zylamarek/dataset-tools | d0f446a6da20b7394bab86bf2253de866dbfc7be | [
"MIT"
] | null | null | null | operations/functions/normalize_segmentation.py | zylamarek/dataset-tools | d0f446a6da20b7394bab86bf2253de866dbfc7be | [
"MIT"
] | 6 | 2021-03-19T01:18:16.000Z | 2022-03-11T23:49:18.000Z | operations/functions/normalize_segmentation.py | zylamarek/dataset-tools | d0f446a6da20b7394bab86bf2253de866dbfc7be | [
"MIT"
] | null | null | null | from PIL import Image
import numpy as np
from .function import Function
class NormalizeSegmentation(Function):
def __init__(self, n_categories, *args, **kwargs):
self.n_categories = int(n_categories)
super(NormalizeSegmentation, self).__init__(do_analysis=False, *args, **kwargs)
def apply_si... | 32.25 | 87 | 0.672868 |
24b6991b0d1f7681f458f3e6f3218903a4811fd9 | 1,202 | php | PHP | resources/views/parqueadero/listar.blade.php | Paula717/Sprint-1--Parqueadero-capshi | 1e9549599d8458c2fc54759319bb39413db67c8f | [
"MIT"
] | 2 | 2021-02-14T19:09:28.000Z | 2021-02-14T19:13:43.000Z | resources/views/parqueadero/listar.blade.php | Paula717/Sprint-1--Parqueadero-capshi | 1e9549599d8458c2fc54759319bb39413db67c8f | [
"MIT"
] | null | null | null | resources/views/parqueadero/listar.blade.php | Paula717/Sprint-1--Parqueadero-capshi | 1e9549599d8458c2fc54759319bb39413db67c8f | [
"MIT"
] | null | null | null | @extends('layout.master')
@section('content')
<h2><font color="black"><center>Listado de Clientes </center></font></h2>
<div class="card-tittle">
</br><h2><center>Listado de Clientes</center></h2>
</div>
<br>
<div class ="container">
<div class ="row">
@forea... | 37.5625 | 102 | 0.396839 |
d0a2463f0d982a1d4d8d8dbacb94b42da77542bd | 791 | lua | Lua | Modules/Shared/IK/Arm/FABRIKElbowConstraint.lua | Cuyler36/NevermoreEngine | 863c1b673d0986819b0228f324fb8e18e616c8c9 | [
"MIT"
] | null | null | null | Modules/Shared/IK/Arm/FABRIKElbowConstraint.lua | Cuyler36/NevermoreEngine | 863c1b673d0986819b0228f324fb8e18e616c8c9 | [
"MIT"
] | null | null | null | Modules/Shared/IK/Arm/FABRIKElbowConstraint.lua | Cuyler36/NevermoreEngine | 863c1b673d0986819b0228f324fb8e18e616c8c9 | [
"MIT"
] | null | null | null | ---
-- @classmod FABRIKElbowConstraint
-- @author Quenty
local FABRIKElbowConstraint = {}
FABRIKElbowConstraint.ClassName = "FABRIKElbowConstraint"
FABRIKElbowConstraint.__index = FABRIKElbowConstraint
function FABRIKElbowConstraint.new()
local self = setmetatable({}, FABRIKElbowConstraint)
return self
end
functi... | 20.815789 | 60 | 0.687737 |
2486fa5dbc54f4bacb30152633f0df762fd1b572 | 1,098 | rs | Rust | examples/sender-udp.rs | mkindahl/tokio-examples | 8a391bbe3c3935cc4a82e642fd7d83f2b528e382 | [
"Apache-2.0"
] | 2 | 2020-09-22T07:21:36.000Z | 2021-01-24T12:26:27.000Z | examples/sender-udp.rs | mkindahl/tokio-examples | 8a391bbe3c3935cc4a82e642fd7d83f2b528e382 | [
"Apache-2.0"
] | null | null | null | examples/sender-udp.rs | mkindahl/tokio-examples | 8a391bbe3c3935cc4a82e642fd7d83f2b528e382 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Mats Kindahl
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may not use this file except in compliance with the License. You
// may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | 35.419355 | 70 | 0.679417 |
a431e7ae36201ebecd40ee285b6b33ed4b0eab7d | 470 | php | PHP | framework/php/auto/load_html.php | davidosborn/portfolio-old | a8ce077726f6beee5de712fb52637622d79eb03b | [
"MIT"
] | null | null | null | framework/php/auto/load_html.php | davidosborn/portfolio-old | a8ce077726f6beee5de712fb52637622d79eb03b | [
"MIT"
] | null | null | null | framework/php/auto/load_html.php | davidosborn/portfolio-old | a8ce077726f6beee5de712fb52637622d79eb03b | [
"MIT"
] | null | null | null | <?php
include_once 'file.php'; // resolve_file
/**
* Includes an external HTML file, if it exists.
*
* @return TRUE if the file was included.
*/
function load_html_if_exists($file)
{
$file = resolve_file($file, HTML_EXTENSIONS);
if ($file === FALSE)
return FALSE;
include SITE_ROOT_DIR . '/' . $file;
return T... | 17.407407 | 48 | 0.665957 |
91dde396a0e145426f86cf550d3afbc8a3c654d2 | 59,419 | html | HTML | images/2019-12-30/https_www.bromsgrove.gov.uk_council_policy-and-strategy_planning-policies_brownfield-land-register.aspx.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | images/2019-12-30/https_www.bromsgrove.gov.uk_council_policy-and-strategy_planning-policies_brownfield-land-register.aspx.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | images/2019-12-30/https_www.bromsgrove.gov.uk_council_policy-and-strategy_planning-policies_brownfield-land-register.aspx.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | <!DOCTYPE html><html lang="en" style="height: 100%;"><head><script type="text/javascript" src="https://static.quantcast.mgr.consensu.org/v27/cmpui-banner.js" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href=... | 71.848851 | 9,604 | 0.680792 |
c954b8dbf55d4c35ff14ea98ed36b55d3a00de39 | 49 | ts | TypeScript | src/store/Unsubscriber.ts | ctx-core/svelte | 01909e085196d04969f02a8dc296b0a0a1cf0749 | [
"Apache-2.0"
] | 1 | 2021-07-09T10:07:30.000Z | 2021-07-09T10:07:30.000Z | src/store/Unsubscriber.ts | ctx-core/svelte | 01909e085196d04969f02a8dc296b0a0a1cf0749 | [
"Apache-2.0"
] | null | null | null | src/store/Unsubscriber.ts | ctx-core/svelte | 01909e085196d04969f02a8dc296b0a0a1cf0749 | [
"Apache-2.0"
] | null | null | null | export type { Unsubscriber } from 'svelte/store'
| 24.5 | 48 | 0.755102 |
f1e384211924e296aec2a3e47365b4230983ac64 | 798 | rb | Ruby | lib/quake/log/entities/kill.rb | joffilyfe/quake-log-parser | 3faf2eb340ad5aa3e146bf81487ad888eab2fc57 | [
"MIT"
] | null | null | null | lib/quake/log/entities/kill.rb | joffilyfe/quake-log-parser | 3faf2eb340ad5aa3e146bf81487ad888eab2fc57 | [
"MIT"
] | null | null | null | lib/quake/log/entities/kill.rb | joffilyfe/quake-log-parser | 3faf2eb340ad5aa3e146bf81487ad888eab2fc57 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module Quake
module Log
module Entities
class Kill
attr_reader :data
def initialize(data)
@data = data
end
def by_player?
@data[:assassin] != '<world>'
end
def by_world?
@data[:assassin] == '<worl... | 16.625 | 43 | 0.508772 |
c670d9a8cef9291181abf4b9e304e9946b66a81a | 766 | rb | Ruby | samples/opengl/opengl.rb | mvz/ray | 6f17a04cc60152cb02916dec56ddf2206f84aff5 | [
"Zlib"
] | 29 | 2015-03-18T00:03:25.000Z | 2022-01-10T17:32:17.000Z | samples/opengl/opengl.rb | mvz/ray | 6f17a04cc60152cb02916dec56ddf2206f84aff5 | [
"Zlib"
] | 10 | 2015-01-25T15:42:04.000Z | 2020-02-14T20:10:46.000Z | samples/opengl/opengl.rb | mvz/ray | 6f17a04cc60152cb02916dec56ddf2206f84aff5 | [
"Zlib"
] | 8 | 2015-03-25T09:36:31.000Z | 2020-02-26T22:08:01.000Z | $:.unshift File.expand_path(File.dirname(__FILE__) + "/../../lib")
$:.unshift File.expand_path(File.dirname(__FILE__) + "/../../ext")
require 'ray'
class CustomDrawable < Ray::Drawable
include Ray::GL
def initialize
super
self.vertex_count = 3
end
def fill_vertices
[Ray::Vertex.new([0, 0], Ra... | 18.682927 | 66 | 0.627937 |
3f455a118772b8a44ff13e119875cc80c6bcc318 | 9,029 | php | PHP | addproduct.php | asifsyed487/PointOfSaleSystem | e50f5f6800311b1aaef1ad4e3ced0d2f8ba993d5 | [
"MIT"
] | 1 | 2022-01-09T13:13:37.000Z | 2022-01-09T13:13:37.000Z | addproduct.php | asifsyed487/PointOfSaleSystem | e50f5f6800311b1aaef1ad4e3ced0d2f8ba993d5 | [
"MIT"
] | null | null | null | addproduct.php | asifsyed487/PointOfSaleSystem | e50f5f6800311b1aaef1ad4e3ced0d2f8ba993d5 | [
"MIT"
] | null | null | null | <?php
include_once "connectdb.php";
session_start();
if($_SESSION['useremail'] == "" OR $_SESSION['role'] == "User") {
header("location: index.php");
}
include_once "header.php";
if(isset($_POST['addproduct'])) {
$productname = $_POST["productname"];
$productcategory = $_POST["productcat... | 36.703252 | 306 | 0.450991 |
2c834044cc093ac43764eb2a113e01de63eb410c | 4,742 | py | Python | predict_utils/prepare_notalign.py | ndkgit339/FastSpeech2-filled_pause_speech_synthesis | dc8742704df20be325570f3c497f36815e0d72f2 | [
"MIT"
] | null | null | null | predict_utils/prepare_notalign.py | ndkgit339/FastSpeech2-filled_pause_speech_synthesis | dc8742704df20be325570f3c497f36815e0d72f2 | [
"MIT"
] | null | null | null | predict_utils/prepare_notalign.py | ndkgit339/FastSpeech2-filled_pause_speech_synthesis | dc8742704df20be325570f3c497f36815e0d72f2 | [
"MIT"
] | null | null | null | from pathlib import Path
from tqdm import tqdm
import subprocess
def get_textname_list(text_list_path, textname_list_path):
with open(text_list_path, "r") as f:
text_list = [l.strip() for l in f if l.strip()]
textname_list = [t.split(":")[0] for t in text_list if len(t.split(":")[1]) > 0]
with... | 32.040541 | 117 | 0.609237 |
c6d854e58d3b334bcb880d02fa7cd26e5f46fbaa | 1,994 | py | Python | src/xr_events/services.py | xr-web-de/xr-web | 63269e26a8752564b63e84bfc0ce180198577d35 | [
"MIT"
] | 4 | 2019-03-28T20:49:59.000Z | 2019-08-11T19:31:35.000Z | src/xr_events/services.py | xr-web-de/xr-web | 63269e26a8752564b63e84bfc0ce180198577d35 | [
"MIT"
] | 4 | 2019-05-08T18:07:45.000Z | 2021-05-08T17:29:46.000Z | src/xr_events/services.py | xr-web-de/xr-web | 63269e26a8752564b63e84bfc0ce180198577d35 | [
"MIT"
] | 5 | 2019-03-28T20:50:15.000Z | 2020-01-17T21:16:57.000Z | import datetime
from django.utils.timezone import localdate
from xr_pages.services import (
get_home_page,
MODERATORS_PAGE_PERMISSIONS,
EDITORS_PAGE_PERMISSIONS,
)
EVENT_MODERATORS_SUFFIX = "Event Moderators"
EVENT_EDITORS_SUFFIX = "Event Editors"
EVENT_AUTH_GROUP_TYPES = [EVENT_MODERATORS_SUFFIX, EVENT_... | 29.323529 | 90 | 0.72016 |
60f11be3eee303ea39cf076931c47e7bef9a182f | 870 | lua | Lua | LordOfTheWastes/data/scripts/entity/missionbulletins.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | LordOfTheWastes/data/scripts/entity/missionbulletins.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | LordOfTheWastes/data/scripts/entity/missionbulletins.lua | Sathaerz/Avorion-Mods | 524893d792284fd00689e2f4a2ae6cec0189501c | [
"Unlicense"
] | null | null | null | local LOTW_getPossibleMissions = MissionBulletins.getPossibleMissions
function MissionBulletins.getPossibleMissions()
local station = Entity()
local stationTitle = station.title
local scripts = LOTW_getPossibleMissions()
if stationTitle == "Military Outpost" then
local _AddBulletins = true
local _Players = {S... | 30 | 97 | 0.758621 |
f95f171a2469bf9ae2f00761ab67cae71f2b1579 | 29,952 | lua | Lua | AI/decks/Blackwing.lua | Snarkie/YGOProAIScript | 1f57db863fb9b5a46e5fe17b7285bde82032e6e4 | [
"MIT"
] | 18 | 2015-04-26T00:40:04.000Z | 2022-02-27T16:55:30.000Z | AI/decks/Blackwing.lua | Snarkie/YGOProAIScript | 1f57db863fb9b5a46e5fe17b7285bde82032e6e4 | [
"MIT"
] | 5 | 2016-04-26T16:23:06.000Z | 2018-06-28T13:41:15.000Z | AI/decks/Blackwing.lua | Snarkie/YGOProAIScript | 1f57db863fb9b5a46e5fe17b7285bde82032e6e4 | [
"MIT"
] | 14 | 2015-01-11T00:08:32.000Z | 2017-08-20T02:54:55.000Z | function BlackwingPriority()
AddPriority({
[81105204] = {7,1,1,1,3,1,1,1,8,1,KrisCond}, -- Kris
[58820853] = {5,3,1,1,1,1,1,1,5,1,ShuraCond}, -- Shura
[49003716] = {4,1,1,1,4,1,1,1,8,1,BoraCond}, -- Bora
[14785765] = {3,1,1,1,6,4,1,1,1,1,ZephCond}, -- Zephyros
[85215458] = {9,4,1,1,3,1,1,1,5,1,KalutCond}, ... | 27.328467 | 118 | 0.715912 |
a9971018c7239ca6b77454dadd0a07eef35c09f6 | 1,730 | swift | Swift | Marshall Connect/UI/ShadowLayer.swift | fregante/MarshallConnect | e0953ac6d46b00e9ab12302655fc35a9f863a6ec | [
"MIT"
] | 2 | 2019-03-28T09:37:00.000Z | 2020-10-05T05:40:15.000Z | Marshall Connect/UI/ShadowLayer.swift | fregante/MarshallConnect | e0953ac6d46b00e9ab12302655fc35a9f863a6ec | [
"MIT"
] | 1 | 2019-01-15T21:00:18.000Z | 2019-01-15T21:00:18.000Z | Marshall Connect/UI/ShadowLayer.swift | fregante/MarshallConnect | e0953ac6d46b00e9ab12302655fc35a9f863a6ec | [
"MIT"
] | 2 | 2019-12-02T19:39:23.000Z | 2020-10-05T05:50:46.000Z | //
// ShadowLayer.swift
// Marshall Connect
//
// Created by Vahagn Mkrtchyan on 12/8/18.
// Copyright © 2018 Vahagn Mkrtchyan. All rights reserved.
//
import Cocoa
extension NSBezierPath {
var cgPath: CGPath {
get { return self.transformToCGPath() }
}
/// Transforms the NSBezierPath... | 29.322034 | 180 | 0.499422 |
41433a633a5c4dc2ac0b6c6bda6756e77a64b9d3 | 55 | css | CSS | public/css/post.css | kojimadaiki/practice-menu | a87ad4fb7b3d8498ea7a6ae15d8daafe7933500f | [
"MIT"
] | null | null | null | public/css/post.css | kojimadaiki/practice-menu | a87ad4fb7b3d8498ea7a6ae15d8daafe7933500f | [
"MIT"
] | null | null | null | public/css/post.css | kojimadaiki/practice-menu | a87ad4fb7b3d8498ea7a6ae15d8daafe7933500f | [
"MIT"
] | null | null | null | .top {
display: flex;
}
p input {
width: 200px;
} | 6.875 | 16 | 0.545455 |
79c2850a23d5734de46be29a2d3197017d06721b | 379 | php | PHP | app/Http/Controllers/UserController.php | KaptainMidnight/pixel_backend | 1c37ab135c3dbea6e7e29ff370dc4f4fe54138aa | [
"MIT"
] | null | null | null | app/Http/Controllers/UserController.php | KaptainMidnight/pixel_backend | 1c37ab135c3dbea6e7e29ff370dc4f4fe54138aa | [
"MIT"
] | 1 | 2021-02-02T18:03:08.000Z | 2021-02-02T18:03:08.000Z | app/Http/Controllers/UserController.php | KaptainMidnight/pixel_backend | 1c37ab135c3dbea6e7e29ff370dc4f4fe54138aa | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class UserController extends Controller
{
/**
* Response all users
*
* @return JsonResponse
*/
public function list()
{
return response()->json(User::query... | 18.047619 | 93 | 0.617414 |
da53c9d9e54cb977bb6f36cd58f850c3ef83a2f3 | 414 | php | PHP | app/Bitacora.php | EGiadans/BitacorasGasIslo | 108a05ed853b8f17c07c156a450ea7b35cd08e4c | [
"MIT"
] | null | null | null | app/Bitacora.php | EGiadans/BitacorasGasIslo | 108a05ed853b8f17c07c156a450ea7b35cd08e4c | [
"MIT"
] | null | null | null | app/Bitacora.php | EGiadans/BitacorasGasIslo | 108a05ed853b8f17c07c156a450ea7b35cd08e4c | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Bitacora extends Model
{
protected $table = 'bitacoras';
protected $primaryKey = 'ID_Bitacora';
public $timestamps = false;
public function gerente() {
return $this->belongsTo('App\Gerente', 'ID_Gerente');
}
public f... | 18.818182 | 63 | 0.654589 |
3951e01a0d645933dd78ef6458d65a392952a5cf | 510 | py | Python | tests/getnet/services/utils/test_device.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 2 | 2021-04-09T20:17:41.000Z | 2021-04-09T20:18:06.000Z | tests/getnet/services/utils/test_device.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 5 | 2019-11-24T16:24:11.000Z | 2021-02-22T16:10:05.000Z | tests/getnet/services/utils/test_device.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 3 | 2020-07-25T23:00:59.000Z | 2022-02-15T02:37:27.000Z | import ipaddress
import pytest
from getnet.services.utils import Device
class TestDevice:
def test_invalid_device_id(self):
with pytest.raises(TypeError):
Device("127.0.0.1", "A" * 81)
def test_invalid_ipaddress(self):
with pytest.raises(ipaddress.AddressValueError):
... | 25.5 | 82 | 0.637255 |
a9e4c96d568f24826bc41720d63192eaee62409e | 307 | php | PHP | resources/views/admin/orders.blade.php | seohomeless/dom4 | ffc77bab29f7da0fab259779e44d727b5a839c5f | [
"MIT"
] | null | null | null | resources/views/admin/orders.blade.php | seohomeless/dom4 | ffc77bab29f7da0fab259779e44d727b5a839c5f | [
"MIT"
] | null | null | null | resources/views/admin/orders.blade.php | seohomeless/dom4 | ffc77bab29f7da0fab259779e44d727b5a839c5f | [
"MIT"
] | null | null | null | @extends('layouts.main')
@section('content')
<div>
<h3>Заказы</h3>
<ul class="adminmenu">
<li><a href="/admin/addtovar">+ Добавить товар</a></li>
<li><a href="/admin/tovari">Управление товарами</a></li>
<li><a href="/admin/orders">Заказы</a></li>
</ul>
</div>
@endsection
| 13.347826 | 58 | 0.579805 |
f431fcdef5be69ad35151055f614685327846d8c | 71 | ts | TypeScript | src/Model/ConnectionPriority.ts | MrDockal/react-native-ble-manager | 3675562d2d2e8619f70464808811989d7b777785 | [
"Apache-2.0"
] | null | null | null | src/Model/ConnectionPriority.ts | MrDockal/react-native-ble-manager | 3675562d2d2e8619f70464808811989d7b777785 | [
"Apache-2.0"
] | null | null | null | src/Model/ConnectionPriority.ts | MrDockal/react-native-ble-manager | 3675562d2d2e8619f70464808811989d7b777785 | [
"Apache-2.0"
] | null | null | null | export enum ConnectionPriority {
BALANCED = 0,
HIGH = 1,
LOW = 2,
}
| 11.833333 | 32 | 0.647887 |
389180edd4a58e32b87373748c9f4892f6559284 | 862 | php | PHP | pages/home.php | rohscx/simple-php-website | 312057eeaecb3a4fa11d18d5f7c48c9dc5eff82f | [
"MIT"
] | null | null | null | pages/home.php | rohscx/simple-php-website | 312057eeaecb3a4fa11d18d5f7c48c9dc5eff82f | [
"MIT"
] | null | null | null | pages/home.php | rohscx/simple-php-website | 312057eeaecb3a4fa11d18d5f7c48c9dc5eff82f | [
"MIT"
] | null | null | null | <p>Welcome to the <b>home</b> page.</p>
<p>This is the initial release of the portal, updates, and changes will be included to increase functionality at a later date.</p>
<p><b>Whats New!</b></p>
<ul>
<li>A new Version has been relased! 17.<font color="red">1</font>.<font color="red">0</font>!</li>
<li>Branching 17... | 57.466667 | 131 | 0.725058 |
24f57c8a0c55e313dfda3b39c57dfdbe0eeab567 | 127 | sql | SQL | scripts/plugins/storage/sqlite/upgrade/28.sql | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | 69 | 2019-12-03T17:54:33.000Z | 2022-03-13T07:05:23.000Z | scripts/plugins/storage/sqlite/upgrade/28.sql | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | 125 | 2020-02-13T15:11:28.000Z | 2022-03-29T14:42:36.000Z | scripts/plugins/storage/sqlite/upgrade/28.sql | doug-dianomic/fledge | cab620d1f31e6dca8e31ca8e483adaad7ce94834 | [
"Apache-2.0"
] | 24 | 2019-12-27T07:48:45.000Z | 2022-03-13T07:05:28.000Z | -- Add audit log key NTFCL
INSERT INTO fledge.log_codes ( code, description )
VALUES ( 'NTFCL', 'Notification Cleared' );
| 31.75 | 50 | 0.700787 |
e149413ab2e775299c770ea49ce64375b2858027 | 896 | sql | SQL | queries/stackoverflow/q16/ae013d4fafab6acff1cde17161da595b510627c7.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | queries/stackoverflow/q16/ae013d4fafab6acff1cde17161da595b510627c7.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | queries/stackoverflow/q16/ae013d4fafab6acff1cde17161da595b510627c7.sql | christophanneser/Bao-for-Presto | b1d93689025d51cdea1a2e81edb8f077df8afcc1 | [
"MIT"
] | null | null | null | SELECT COUNT(*)
FROM site AS s,
so_user AS u1,
tag AS t1,
tag_question AS tq1,
question AS q1,
badge AS b1,
account AS acc
WHERE s.site_id = u1.site_id
AND s.site_id = b1.site_id
AND s.site_id = t1.site_id
AND s.site_id = tq1.site_id
AND s.site_id = q1.site_id
AND t1.id = tq1.tag... | 28 | 46 | 0.526786 |
7b34c076123240063ce080384f82cf4d3e2bb4a5 | 643 | rb | Ruby | spec/omniauth/fedid_oauth_spec.rb | justcodeio/omniauth-fedid | 210e6159a9cfd228287d9aa7a56d32df7bc41a0f | [
"MIT"
] | 1 | 2020-04-30T12:43:27.000Z | 2020-04-30T12:43:27.000Z | spec/omniauth/fedid_oauth_spec.rb | justcodeio/omniauth-fedid | 210e6159a9cfd228287d9aa7a56d32df7bc41a0f | [
"MIT"
] | 2 | 2019-12-19T05:33:36.000Z | 2020-06-25T02:47:06.000Z | spec/omniauth/fedid_oauth_spec.rb | justcodeio/omniauth-fedid | 210e6159a9cfd228287d9aa7a56d32df7bc41a0f | [
"MIT"
] | null | null | null | require "spec_helper"
describe OmniAuth::Strategies::FedidOauth do
subject do
OmniAuth::Strategies::FedidOauth.new({})
end
it "has a version number" do
expect(Omniauth::Fedid::VERSION).not_to be nil
end
context "client options" do
it 'should have correct name' do
expect(subject.options.na... | 24.730769 | 92 | 0.707621 |
e2a207d1255dc46d8924003d8a7acb528258d368 | 2,521 | py | Python | ima_control/scripts/plot.py | RCPRG-ros-pkg/turtlebot3_ima | 7a267177741fc9fe3552ed3a97170012f4bb377a | [
"Apache-2.0"
] | null | null | null | ima_control/scripts/plot.py | RCPRG-ros-pkg/turtlebot3_ima | 7a267177741fc9fe3552ed3a97170012f4bb377a | [
"Apache-2.0"
] | null | null | null | ima_control/scripts/plot.py | RCPRG-ros-pkg/turtlebot3_ima | 7a267177741fc9fe3552ed3a97170012f4bb377a | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# encoding: utf8
import rospy
import datetime
from gazebo_msgs.msg import ModelStates
from std_msgs.msg import Float64
import numpy as np
import matplotlib
from matplotlib import pyplot as plt
GAZEBO_SCALE=1
def callback(data):
global plot_omega, plot_vu, ros_time, plot_time
vu = data.... | 35.507042 | 113 | 0.704879 |
ce8c88a2c3475032df22b132a242daedfe9aa3ba | 1,546 | rs | Rust | src/format/fourcc.rs | Maxung/libv4l-rs | 2e4139fa49137595a2f86e5656ed4a21513cb33b | [
"MIT"
] | null | null | null | src/format/fourcc.rs | Maxung/libv4l-rs | 2e4139fa49137595a2f86e5656ed4a21513cb33b | [
"MIT"
] | null | null | null | src/format/fourcc.rs | Maxung/libv4l-rs | 2e4139fa49137595a2f86e5656ed4a21513cb33b | [
"MIT"
] | null | null | null | use std::{fmt, str};
#[derive(Debug, Default, Copy, Clone, Eq)]
/// Four character code representing a pixelformat
pub struct FourCC {
pub repr: [u8; 4],
}
impl FourCC {
#[allow(clippy::trivially_copy_pass_by_ref)]
/// Returns a pixelformat as four character code
///
/// # Arguments
///
//... | 22.735294 | 68 | 0.52652 |
27a02a69334d3e8803fff928959fd9f991f4fc24 | 2,836 | sql | SQL | dbpatch/1480478466.sql | naldz/cyberden | 14fd41701880b03cf5557f859f3ecd4e501075d2 | [
"MIT"
] | null | null | null | dbpatch/1480478466.sql | naldz/cyberden | 14fd41701880b03cf5557f859f3ecd4e501075d2 | [
"MIT"
] | 6 | 2016-12-31T10:36:11.000Z | 2016-12-31T10:40:11.000Z | dbpatch/1480478466.sql | naldz/cyberden | 14fd41701880b03cf5557f859f3ecd4e501075d2 | [
"MIT"
] | null | null | null | -- MySQL Script generated by MySQL Workbench
-- Sun Dec 4 10:21:30 2016
-- Model: New Model Version: 1.0
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- ----... | 35.012346 | 135 | 0.587094 |
edd3dc5557c2e3aa012319f3de2583715185f13c | 8,128 | swift | Swift | MHW/Controller/HighlightGemsViewController.swift | jeffeom/MHW | e4d36b0e27e318a1323dd5e985842e433feca3d6 | [
"Apache-2.0"
] | null | null | null | MHW/Controller/HighlightGemsViewController.swift | jeffeom/MHW | e4d36b0e27e318a1323dd5e985842e433feca3d6 | [
"Apache-2.0"
] | null | null | null | MHW/Controller/HighlightGemsViewController.swift | jeffeom/MHW | e4d36b0e27e318a1323dd5e985842e433feca3d6 | [
"Apache-2.0"
] | null | null | null | //
// HighlightGemsViewController.swift
// MHW
//
// Created by Jeff Eom on 2018-04-21.
// Copyright © 2018 Jeff Eom. All rights reserved.
//
import UIKit
import CoreData
import GoogleMobileAds
class HighlightGemsViewController: UIViewController {
static let identifier = "highlightGemsVC"
@IBOutlet weak var g... | 38.521327 | 161 | 0.688361 |
e322860fb0a3969c53408348b308e3830c0fe994 | 179 | sql | SQL | db/schema.sql | MJ-0001/tech-blog | 4b9f22a378307361fe606dacc760bdb683236e04 | [
"MIT"
] | null | null | null | db/schema.sql | MJ-0001/tech-blog | 4b9f22a378307361fe606dacc760bdb683236e04 | [
"MIT"
] | null | null | null | db/schema.sql | MJ-0001/tech-blog | 4b9f22a378307361fe606dacc760bdb683236e04 | [
"MIT"
] | null | null | null | -- If this db already exists, drop it
DROP DATABASE IF EXISTS tech_blog_db;
-- Create a new db
CREATE DATABASE tech_blog_db;
-- Select the db for use in mysql
USE tech_blog_db;
| 19.888889 | 37 | 0.759777 |
df1e7c0df712bda9d9890bcfb1f1a7940e1edab8 | 75 | gemspec | Ruby | dpl-pages.gemspec | djpohly/dpl | 000fc083115abc6cd96771bcfe3dc43cb4f1e391 | [
"MIT"
] | 1 | 2018-10-20T19:32:47.000Z | 2018-10-20T19:32:47.000Z | dpl-pages.gemspec | djpohly/dpl | 000fc083115abc6cd96771bcfe3dc43cb4f1e391 | [
"MIT"
] | null | null | null | dpl-pages.gemspec | djpohly/dpl | 000fc083115abc6cd96771bcfe3dc43cb4f1e391 | [
"MIT"
] | 1 | 2018-10-20T19:32:50.000Z | 2018-10-20T19:32:50.000Z | require './gemspec_helper'
gemspec_for 'pages', [['octokit', '~> 4.6.2']]
| 18.75 | 46 | 0.626667 |
1e3477b1e3422075c4fcc687ed88a20e918eae4e | 403 | dart | Dart | lib/src/base_cluster.dart | androidmaven/fluster | 42361da0f91e8ce70faf0818a2e50c17b7422a52 | [
"MIT"
] | null | null | null | lib/src/base_cluster.dart | androidmaven/fluster | 42361da0f91e8ce70faf0818a2e50c17b7422a52 | [
"MIT"
] | null | null | null | lib/src/base_cluster.dart | androidmaven/fluster | 42361da0f91e8ce70faf0818a2e50c17b7422a52 | [
"MIT"
] | null | null | null | /*
* Created by Alfonso Cejudo, Sunday, July 21st 2019.
*/
class BaseCluster {
double x;
double y;
int zoom;
int pointsSize;
int parentId;
int index;
int id;
bool isCluster = false;
/// For PointCluster instances that are standalone (i.e. not cluster) items.
String markerId;
/// For clusters ... | 19.190476 | 78 | 0.69727 |
a686ae95ef5bec6a5bd7204859db603ee0f8a72f | 2,796 | sql | SQL | banco.sql | mateusschwede/Manutech | 5636374b94e4999d665984e4cdbaf1060ddc96b0 | [
"MIT"
] | null | null | null | banco.sql | mateusschwede/Manutech | 5636374b94e4999d665984e4cdbaf1060ddc96b0 | [
"MIT"
] | null | null | null | banco.sql | mateusschwede/Manutech | 5636374b94e4999d665984e4cdbaf1060ddc96b0 | [
"MIT"
] | null | null | null | CREATE DATABASE oficina CHARSET = utf8;
USE oficina;
CREATE TABLE usuario (
id INTEGER NOT NULL AUTO_INCREMENT,
nome VARCHAR(50) NOT NULL,
senha VARCHAR(5) NOT NULL,
PRIMARY KEY(id)
) CHARSET=utf8;
CREATE TABLE fornecedor (
cnpj BIGINT(14) NOT NULL,
nome VARCHAR(50) NOT NULL,
telefone BIGI... | 39.942857 | 324 | 0.728898 |
fa33c7e062e7c5ed1374704d895628d0627ec2a1 | 2,474 | hpp | C++ | include/rcppmath/clamp.hpp | shumov-ag/rcpputils | a7898d98ab684bb5d0cb2c20c823a1b4014fa0dc | [
"Apache-2.0"
] | 14 | 2019-05-05T06:36:41.000Z | 2022-02-11T06:43:37.000Z | include/rcppmath/clamp.hpp | shumov-ag/rcpputils | a7898d98ab684bb5d0cb2c20c823a1b4014fa0dc | [
"Apache-2.0"
] | 125 | 2019-02-26T18:38:18.000Z | 2022-01-21T20:18:59.000Z | include/rcppmath/clamp.hpp | shumov-ag/rcpputils | a7898d98ab684bb5d0cb2c20c823a1b4014fa0dc | [
"Apache-2.0"
] | 39 | 2019-02-26T18:12:29.000Z | 2022-03-11T15:23:01.000Z | // Copyright 2020 PAL Robotics S.L.
//
// 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 ... | 35.342857 | 98 | 0.710994 |
eb591f75b1d84ed69ccde4f663c2d583b79f321e | 1,692 | swift | Swift | Instories/Models/MailControllerPresenter.swift | yakovlevvl/Instories | 44bfe4fadf20eaacc80e1b498448360802dd2d5f | [
"Apache-2.0"
] | 37 | 2019-03-08T21:51:19.000Z | 2021-09-08T13:23:51.000Z | Instories/Models/MailControllerPresenter.swift | mohsinalimat/Instories | e6217c0121d6627c3c1d13b106155d99dba65c6d | [
"Apache-2.0"
] | 4 | 2020-01-23T07:05:30.000Z | 2020-08-04T01:45:31.000Z | Instories/Models/MailControllerPresenter.swift | mohsinalimat/Instories | e6217c0121d6627c3c1d13b106155d99dba65c6d | [
"Apache-2.0"
] | 14 | 2019-04-03T20:59:41.000Z | 2021-08-06T14:36:15.000Z | //
// MailControllerPresenter.swift
// Instories
//
// Created by Vladyslav Yakovlev on 25.07.2018.
// Copyright © 2018 Vladyslav Yakovlev. All rights reserved.
//
import MessageUI
final class MailControllerPresenter: NSObject {
func present(from сontroller: UIViewController) {
let device = UIDev... | 40.285714 | 160 | 0.693262 |
b95122194b2f276382ba5f4c88950110ccf44ae9 | 4,414 | swift | Swift | Mongli/Mongli/Source/Flows/MoreFlow.swift | Furkanus/Mongli | 61b6dcddec36733d656b8eecaf671fc3077c7b06 | [
"MIT"
] | 9 | 2019-12-11T11:02:15.000Z | 2021-05-27T00:32:08.000Z | Mongli/Mongli/Source/Flows/MoreFlow.swift | Furkanus/Mongli | 61b6dcddec36733d656b8eecaf671fc3077c7b06 | [
"MIT"
] | 2 | 2020-02-06T18:13:44.000Z | 2021-09-01T03:06:33.000Z | Mongli/Mongli/Source/Flows/MoreFlow.swift | Furkanus/Mongli | 61b6dcddec36733d656b8eecaf671fc3077c7b06 | [
"MIT"
] | 4 | 2020-02-09T16:09:19.000Z | 2021-09-06T12:38:39.000Z | //
// MoreFlow.swift
// Mongli
//
// Created by DaEun Kim on 2020/03/20.
// Copyright © 2020 DaEun Kim. All rights reserved.
//
import UIKit
import Carte
import RxCocoa
import RxFlow
import RxSwift
// MARK: Flow
final class MoreFlow: Flow {
var root: Presentable {
return self.rootViewController
}
la... | 31.528571 | 120 | 0.708881 |
bf566a833ddfb6582a9a8e31c2f5ce975b67f29a | 5,365 | swift | Swift | Lendr/Lendr/Model Controllers/NetworkingController.swift | Build-Week-Lendr/iOS | 217df22b302b92f54021c85f742a121246c1276a | [
"MIT"
] | null | null | null | Lendr/Lendr/Model Controllers/NetworkingController.swift | Build-Week-Lendr/iOS | 217df22b302b92f54021c85f742a121246c1276a | [
"MIT"
] | null | null | null | Lendr/Lendr/Model Controllers/NetworkingController.swift | Build-Week-Lendr/iOS | 217df22b302b92f54021c85f742a121246c1276a | [
"MIT"
] | null | null | null | //
// NetworkingController.swift
// Lendr
//
// Created by Isaac Lyons on 11/18/19.
// Copyright © 2019 Lambda School. All rights reserved.
//
import Foundation
enum HeaderNames: String {
case auth = "Authorization"
case contentType = "Content-Type"
}
class NetworkingController {
let baseURL = URL(s... | 30.310734 | 119 | 0.56589 |
da538b5980d44e3e8283777e6ae11925acda0b2f | 17,523 | php | PHP | src/Client/Client.php | nadirhamid/zoho-recruit-api | 6b03590783f109db57de9c1bffa8b6c072b91b2c | [
"MIT"
] | null | null | null | src/Client/Client.php | nadirhamid/zoho-recruit-api | 6b03590783f109db57de9c1bffa8b6c072b91b2c | [
"MIT"
] | null | null | null | src/Client/Client.php | nadirhamid/zoho-recruit-api | 6b03590783f109db57de9c1bffa8b6c072b91b2c | [
"MIT"
] | null | null | null | <?php
namespace Humantech\Zoho\Recruit\Api\Client;
use GuzzleHttp\Psr7\Response;
use Humantech\Zoho\Recruit\Api\Formatter\RequestFormatter;
use Humantech\Zoho\Recruit\Api\Formatter\ResponseFormatter;
use Humantech\Zoho\Recruit\Api\Formatter\ResponseListFormatter;
use Humantech\Zoho\Recruit\Api\Formatter\ResponseRowFo... | 32.814607 | 164 | 0.611996 |
a327c4778435beb884246002f32bfbf131655086 | 1,185 | tsx | TypeScript | docs/_react/intro.story.tsx | onfido/castor | aca7ac3c26750e2e2853e0a7d2b60e63c90b39d6 | [
"Apache-2.0"
] | 19 | 2020-11-30T18:12:17.000Z | 2022-03-07T18:57:27.000Z | docs/_react/intro.story.tsx | onfido/castor | aca7ac3c26750e2e2853e0a7d2b60e63c90b39d6 | [
"Apache-2.0"
] | 1,472 | 2020-11-30T11:08:13.000Z | 2022-03-30T05:15:56.000Z | docs/_react/intro.story.tsx | onfido/castor | aca7ac3c26750e2e2853e0a7d2b60e63c90b39d6 | [
"Apache-2.0"
] | 2 | 2020-12-12T22:45:06.000Z | 2020-12-28T17:22:58.000Z | import { Source } from '@storybook/components';
import React from 'react';
export const Intro = () => (
<>
<h1>Castor React</h1>
<p>
<i>Castor React</i> is Onfido's design system addition. It provides
React component library.
</p>
<h2>Install</h2>
<p>
You can install with <... | 20.789474 | 79 | 0.502954 |
fb1d2be2f26a213eaedaab4daba488cebcdbba2e | 2,005 | c | C | open-vm-tools/services/plugins/deployPkg/deployPkgPlugin.c | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 1,816 | 2015-01-23T17:21:48.000Z | 2022-03-31T07:36:28.000Z | open-vm-tools/services/plugins/deployPkg/deployPkgPlugin.c | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 576 | 2015-02-06T14:11:34.000Z | 2022-03-31T13:25:48.000Z | open-vm-tools/services/plugins/deployPkg/deployPkgPlugin.c | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 438 | 2015-02-03T09:57:57.000Z | 2022-03-26T01:12:43.000Z | /*********************************************************
* Copyright (C) 2008-2016 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation version 2.1 an... | 29.057971 | 84 | 0.673815 |
550cc52f67e969cf0a2e72d61ad90e3a2e3efab6 | 3,902 | lua | Lua | PurchaseConfirmation/Locale/deDE.lua | scscgit/scsc_wildstar_addons | b07d8bb3bdfbd0ac661cfcf3d91f4c52a1094f14 | [
"MIT"
] | null | null | null | PurchaseConfirmation/Locale/deDE.lua | scscgit/scsc_wildstar_addons | b07d8bb3bdfbd0ac661cfcf3d91f4c52a1094f14 | [
"MIT"
] | null | null | null | PurchaseConfirmation/Locale/deDE.lua | scscgit/scsc_wildstar_addons | b07d8bb3bdfbd0ac661cfcf3d91f4c52a1094f14 | [
"MIT"
] | 2 | 2019-11-30T13:08:53.000Z | 2021-02-07T00:06:04.000Z | local L = Apollo.GetPackage("Gemini:Locale-1.0").tPackage:NewLocale("PurchaseConfirmation", "deDE")
if not L then return end
--[[ Proper Translations ]]--
--[[ Google Translations ]]--
--[[ CONFIRMATION DIALOG ]]
-- Main window labels
L["Dialog_ButtonDetails"] = "Detail"
-- Detail window foldout labels
L["Dialog... | 52.72973 | 230 | 0.792158 |
93c5c0d5580da736c1a331ade837fbe48a28291e | 1,351 | cs | C# | Therapp/FiapCoin/FiapCoin/ViewModel/ConsultaDetalheViewModel.cs | gabrielpfc/produto-therapp | 8d32770b1ee3f9729fc552c5658d5c2e6ec85947 | [
"MIT"
] | null | null | null | Therapp/FiapCoin/FiapCoin/ViewModel/ConsultaDetalheViewModel.cs | gabrielpfc/produto-therapp | 8d32770b1ee3f9729fc552c5658d5c2e6ec85947 | [
"MIT"
] | null | null | null | Therapp/FiapCoin/FiapCoin/ViewModel/ConsultaDetalheViewModel.cs | gabrielpfc/produto-therapp | 8d32770b1ee3f9729fc552c5658d5c2e6ec85947 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Windows.Input;
using THERAPP.Views.Components;
using Xamarin.Forms;
namespace THERAPP.ViewModel
{
public class ConsultaDetalheViewModel
{
public ConsultaDetalheViewModel()
{
Evento = Model.Global.Evento;
Canc... | 26.490196 | 155 | 0.571429 |
795f1625de270fc5e2c6c1985e6b6499a6eef7d4 | 742 | php | PHP | app/Http/Requests/VideoRequest.php | jona04/RiveracLaravel | f5ad620c7732d4ae39ecbb449dd991de7ebb5aa1 | [
"MIT"
] | 1 | 2016-12-11T19:56:58.000Z | 2016-12-11T19:56:58.000Z | app/Http/Requests/VideoRequest.php | jona04/RiveracLaravel | f5ad620c7732d4ae39ecbb449dd991de7ebb5aa1 | [
"MIT"
] | null | null | null | app/Http/Requests/VideoRequest.php | jona04/RiveracLaravel | f5ad620c7732d4ae39ecbb449dd991de7ebb5aa1 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class VideoRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
public function mes... | 17.255814 | 64 | 0.52965 |
f4185cfcb4486b93d790d392a6f8c15a08507661 | 1,042 | cs | C# | ARMeilleure/Decoders/OpCodeT16MemMult.cs | 2579768776/Ryujinx | f2087ca29e37e08b9e55250fe1b9cfd27287bae2 | [
"MIT"
] | 6 | 2022-01-29T13:13:16.000Z | 2022-03-16T12:12:06.000Z | ARMeilleure/Decoders/OpCodeT16MemMult.cs | 2579768776/Ryujinx | f2087ca29e37e08b9e55250fe1b9cfd27287bae2 | [
"MIT"
] | 8 | 2022-03-23T02:24:07.000Z | 2022-03-24T19:17:53.000Z | ARMeilleure/Decoders/OpCodeT16MemMult.cs | zandm7/Ryujinx | b1484e3e1822796802ac4d0a7784172a05ff9e34 | [
"MIT"
] | 1 | 2021-12-04T12:19:43.000Z | 2021-12-04T12:19:43.000Z | using ARMeilleure.Instructions;
using System;
using System.Numerics;
namespace ARMeilleure.Decoders
{
class OpCodeT16MemMult : OpCodeT16, IOpCode32MemMult
{
public int Rn { get; }
public int RegisterMask { get; }
public int PostOffset { get; }
public bool IsLoad { get; }
... | 29.771429 | 135 | 0.579655 |
c50626ea5a3e7ed12c29ae48b6be6e8a1889f279 | 171 | css | CSS | talk/resi_est/reveal.js/dist/reveal-override.css | zs-li/zs-li.github.io | fd002db258289d4ab2b170be42949c94fad1a0fa | [
"MIT"
] | 1 | 2020-03-21T02:09:26.000Z | 2020-03-21T02:09:26.000Z | talk/resi_est/reveal.js/dist/reveal-override.css | zs-li/zs-li.github.io | fd002db258289d4ab2b170be42949c94fad1a0fa | [
"MIT"
] | null | null | null | talk/resi_est/reveal.js/dist/reveal-override.css | zs-li/zs-li.github.io | fd002db258289d4ab2b170be42949c94fad1a0fa | [
"MIT"
] | null | null | null | body:after {
content: url(../../figures/raw/small_tsinghua.png);
position: fixed;
top: 2em;
right: 3em;
width: 3em;
width: 3em;
height: auto;
} | 19 | 55 | 0.578947 |
f4f03cca359e4c059dc451bc20e2099cc6553569 | 7,330 | swift | Swift | ios/Classes/SwiftClevertapFlutterPlugin.swift | NandanSatheesh/clevertap_flutter | ed1165080d28130277b18e9c2c634534fc2cf275 | [
"BSD-2-Clause"
] | 3 | 2019-09-16T11:42:32.000Z | 2020-05-23T03:51:53.000Z | ios/Classes/SwiftClevertapFlutterPlugin.swift | NandanSatheesh/clevertap_flutter | ed1165080d28130277b18e9c2c634534fc2cf275 | [
"BSD-2-Clause"
] | 5 | 2019-09-24T08:55:21.000Z | 2021-07-15T16:00:35.000Z | ios/Classes/SwiftClevertapFlutterPlugin.swift | NandanSatheesh/clevertap_flutter | ed1165080d28130277b18e9c2c634534fc2cf275 | [
"BSD-2-Clause"
] | 2 | 2019-09-17T05:30:47.000Z | 2019-12-11T08:23:05.000Z | import Flutter
import UIKit
import CleverTapSDK
public class SwiftClevertapFlutterPlugin: NSObject, FlutterPlugin {
private var cleverTap = CleverTap.sharedInstance()
private var deviceDetailsDict = [String : Any]()
public static func register(with registrar: FlutterPluginRegistrar) {
let channel = F... | 43.117647 | 105 | 0.537926 |
d7e1b65a1482b6fb3a0fd5cb5c40302f16e98699 | 739 | rb | Ruby | app/models/ship/model/line.rb | work-design/rails_ship | e0ae67b164085ceab6d2eacafb9bed8888ee239f | [
"MIT"
] | 1 | 2021-12-22T06:28:28.000Z | 2021-12-22T06:28:28.000Z | app/models/ship/model/line.rb | work-design/rails_ship | e0ae67b164085ceab6d2eacafb9bed8888ee239f | [
"MIT"
] | 7 | 2020-02-09T15:58:08.000Z | 2021-10-07T12:33:10.000Z | app/models/ship/model/line.rb | work-design/rails_ship | e0ae67b164085ceab6d2eacafb9bed8888ee239f | [
"MIT"
] | null | null | null | module Ship
module Model::Line
extend ActiveSupport::Concern
included do
attribute :name, :string
attribute :start_name, :string
attribute :finish_name, :string
attribute :locations_count, :integer, default: 0
belongs_to :user, class_name: 'Auth::User'
has_many :location... | 25.482759 | 98 | 0.686062 |
f4a579c7457ee7a0a9d64b1a32e4acc0ad4dd7de | 4,481 | tsx | TypeScript | packages/react/src/components/Ogre.tsx | azurystudios/twemazing | ea9e3677909042b6afc23286e761085b368b5efc | [
"Apache-2.0"
] | 6 | 2021-08-14T00:35:43.000Z | 2021-08-22T12:35:00.000Z | packages/react/src/components/Ogre.tsx | twemazing/twemazing | ea9e3677909042b6afc23286e761085b368b5efc | [
"Apache-2.0"
] | null | null | null | packages/react/src/components/Ogre.tsx | twemazing/twemazing | ea9e3677909042b6afc23286e761085b368b5efc | [
"Apache-2.0"
] | null | null | null | import React from 'react'
const Ogre = ({ size, rem }: {
size: number | string,
rem?: boolean
}) => {
const width = (typeof size === 'string') ? size : rem ? `${size}rem` : `${size}px`
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" style={{ width: width }}><path fill="#292F33" d="M32... | 298.733333 | 4,249 | 0.646061 |
b2f8a70beefce60cea39602036b022a8fbc32570 | 913 | rb | Ruby | spec/routing/scenarios_routing_spec.rb | Jubke/wyvis | 23694b33a83404398d14bfd12b6a2caa2bdad130 | [
"MIT"
] | null | null | null | spec/routing/scenarios_routing_spec.rb | Jubke/wyvis | 23694b33a83404398d14bfd12b6a2caa2bdad130 | [
"MIT"
] | null | null | null | spec/routing/scenarios_routing_spec.rb | Jubke/wyvis | 23694b33a83404398d14bfd12b6a2caa2bdad130 | [
"MIT"
] | null | null | null | require "rails_helper"
RSpec.describe ScenariosController, :type => :routing do
describe "routing" do
it "routes to #index" do
expect(:get => "/scenarios").to route_to("scenarios#index")
end
it "routes to #new" do
expect(:get => "/scenarios/new").to route_to("scenarios#new")
end
it... | 25.361111 | 84 | 0.600219 |
2c84e904cc3b848675e7fbffbcd7bf280569228a | 6,818 | cpp | C++ | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | pin-3.22-98547-g7a303a835-gcc-linux/source/tools/AttachDetach/tls_app_ia32.cpp | ArthasZhang007/15418FinalProject | a71f698ea48ebbc446111734c198f16a55633669 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2009-2021 Intel Corporation.
* SPDX-License-Identifier: MIT
*/
/*! @file
* We test two aspects:
- tls value before and after PIN_Detach()
- creation new threads while PIN is detached from application
*/
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
#incl... | 29.772926 | 128 | 0.560135 |
c94f10dfdbbfb4944caa7184777fd95089f41274 | 576 | ts | TypeScript | src/app/about/about-routing.module.ts | luchob/homepagev2 | 835da859faa151cefa3d2bd42cc65d2bd46afd50 | [
"Unlicense"
] | null | null | null | src/app/about/about-routing.module.ts | luchob/homepagev2 | 835da859faa151cefa3d2bd42cc65d2bd46afd50 | [
"Unlicense"
] | 8 | 2019-02-08T19:05:28.000Z | 2019-03-21T19:35:16.000Z | src/app/about/about-routing.module.ts | luchob/homepagev2 | 835da859faa151cefa3d2bd42cc65d2bd46afd50 | [
"Unlicense"
] | null | null | null | import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {AboutPageComponent} from './about-page/about-page.component';
const routes: Routes = [
{
path: '',
component: AboutPageComponent,
data: {
title: 'Lachezar Balev - About',
description: 'L... | 25.043478 | 97 | 0.668403 |
851d0b5a5ed6b27d12f14a109f4aa9c7d6909603 | 99 | cs | C# | DotNetRuServer.Comon.BL/Config/IFlatEntity.cs | b-a-x/Server | b2f127dc3dd7b063b9df8c9bc40fa58a2492db8a | [
"MIT"
] | 1 | 2019-11-17T18:15:16.000Z | 2019-11-17T18:15:16.000Z | DotNetRuServer.Comon.BL/Config/IFlatEntity.cs | b-a-x/Server | b2f127dc3dd7b063b9df8c9bc40fa58a2492db8a | [
"MIT"
] | null | null | null | DotNetRuServer.Comon.BL/Config/IFlatEntity.cs | b-a-x/Server | b2f127dc3dd7b063b9df8c9bc40fa58a2492db8a | [
"MIT"
] | null | null | null | namespace DotNetRuServer.Comon.BL.Config
{
public interface IFlatEntity : IEntity
{
}
} | 16.5 | 42 | 0.69697 |
c69d3cbcd2f2e6a6975cf761fbdd8c68b2bb34f6 | 833 | py | Python | setup.py | notpeter/legiscrape | f90375dbfffa8aef62807ba34e9225b3f0b3776e | [
"MIT"
] | 3 | 2019-01-03T16:33:45.000Z | 2020-07-24T00:42:53.000Z | setup.py | notpeter/legiscrape | f90375dbfffa8aef62807ba34e9225b3f0b3776e | [
"MIT"
] | 1 | 2018-09-12T16:46:47.000Z | 2018-09-12T16:46:47.000Z | setup.py | notpeter/legiscrape | f90375dbfffa8aef62807ba34e9225b3f0b3776e | [
"MIT"
] | null | null | null | from setuptools import setup
setup(name='legiscrape',
version='0.1.0',
description='Legistar Scraper',
long_description=(
'Legiscrape - Download Video from Legistar Meetings / Granicus Video Toolbox.'
),
classifiers=[
'Development Status :: 3 - Alpha',
'License... | 30.851852 | 86 | 0.605042 |
b74aa047fc0e3dc4c0e19150f3f1a085c1121459 | 9,684 | cs | C# | SQMGagagu_source/SQMGagagu/sqmfile/Vehicles.cs | gagagu/SQMGagagu | 1ea589add8084d161383cd321b9162ba7f325555 | [
"MIT"
] | null | null | null | SQMGagagu_source/SQMGagagu/sqmfile/Vehicles.cs | gagagu/SQMGagagu | 1ea589add8084d161383cd321b9162ba7f325555 | [
"MIT"
] | null | null | null | SQMGagagu_source/SQMGagagu/sqmfile/Vehicles.cs | gagagu/SQMGagagu | 1ea589add8084d161383cd321b9162ba7f325555 | [
"MIT"
] | null | null | null | /*
* SQLGagagu created by A.Eckers
*
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQMGagagu.sqmfile.datatypes;
namespace SQMGagagu.sqmfile
{
/// <summary>
/// Vehicle class
/// Exists inside Group class and as main ... | 39.048387 | 226 | 0.486886 |
8c0f0067eca0d4bf0e65494014462bf02503af24 | 546 | cs | C# | src/BotOperate/Models/MicrosoftGraph/TeamsTabConfiguration.cs | kamalanathan82/BotOperate | 06a073edc1e16b6214c32d1fcdefae01117ceb9c | [
"MIT"
] | null | null | null | src/BotOperate/Models/MicrosoftGraph/TeamsTabConfiguration.cs | kamalanathan82/BotOperate | 06a073edc1e16b6214c32d1fcdefae01117ceb9c | [
"MIT"
] | null | null | null | src/BotOperate/Models/MicrosoftGraph/TeamsTabConfiguration.cs | kamalanathan82/BotOperate | 06a073edc1e16b6214c32d1fcdefae01117ceb9c | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
namespace BotOperate.Models.MicrosoftGraph
{
public sealed class TeamsTabConfiguration
{
[JsonProperty(PropertyName = "entityId")]
public string EntityId { get; set; }
[JsonProperty(PropertyName = "contentUrl")]
public string ContentUrl { get; se... | 28.736842 | 51 | 0.619048 |
e0569430842e97492b62d71dd6cb6d4d61eab042 | 3,388 | h | C | code-readpad/kernel-schema/fs_xfs_xfs_aops.c.h | r4b3rt/kde | b02669373eeae9b836ba83f004ad2f2b642ffac1 | [
"MIT"
] | 6 | 2022-03-10T12:04:18.000Z | 2022-03-29T03:34:26.000Z | code-readpad/kernel-schema/fs_xfs_xfs_aops.c.h | r4b3rt/kde | b02669373eeae9b836ba83f004ad2f2b642ffac1 | [
"MIT"
] | 125 | 2017-06-16T08:00:28.000Z | 2017-11-23T07:08:00.000Z | code-readpad/kernel-schema/fs_xfs_xfs_aops.c.h | lkml-likexu/kde | 8d650a838db6660c5fe01139cb5edb8640abd01a | [
"MIT"
] | null | null | null |
\n
struct block_device * xfs_find_bdev_for_inode(struct inode*inode)
struct dax_device * xfs_find_daxdev_for_inode(struct inode*inode)
static void xfs_finish_page_writeback(struct inode*inode, struct bio_vec*bvec, int error)
STATIC void xfs_destroy_ioend(struct xfs_ioend *ioend, int error)
static inline bool xfs_ioend... | 52.123077 | 195 | 0.789256 |
13f679a0c170077b245c4e399085823c03601bce | 756 | rb | Ruby | app/models/user/academics/term_plans/queries.rb | SusanaParker/calcentral | e2c2fdf53052cc56659ee1171a04e6c0a9c214ae | [
"ECL-2.0"
] | 9 | 2019-03-15T23:40:17.000Z | 2021-07-17T02:29:51.000Z | app/models/user/academics/term_plans/queries.rb | SusanaParker/calcentral | e2c2fdf53052cc56659ee1171a04e6c0a9c214ae | [
"ECL-2.0"
] | 214 | 2019-03-15T22:39:57.000Z | 2020-11-12T18:43:32.000Z | app/models/user/academics/term_plans/queries.rb | SusanaParker/calcentral | e2c2fdf53052cc56659ee1171a04e6c0a9c214ae | [
"ECL-2.0"
] | 21 | 2019-03-14T22:53:15.000Z | 2020-10-31T16:33:53.000Z | module User
module Academics
module TermPlans
class Queries < ::EdoOracle::Connection
include ActiveRecordHelper
include Concerns::QueryHelper
def self.get_student_term_cpp(student_id)
query = <<-SQL
SELECT
TERM_ID as term_id,
ACAD_C... | 26.068966 | 53 | 0.572751 |
1a59aa211f09b01a7e358c3944681e10a291e26d | 890 | py | Python | 100 Days Python/day003/src/logicalOperators.py | AiseKaise/100DaysPython | 6deba07b3b79bd4fbc11379878ba4f1c2887d315 | [
"MIT"
] | null | null | null | 100 Days Python/day003/src/logicalOperators.py | AiseKaise/100DaysPython | 6deba07b3b79bd4fbc11379878ba4f1c2887d315 | [
"MIT"
] | null | null | null | 100 Days Python/day003/src/logicalOperators.py | AiseKaise/100DaysPython | 6deba07b3b79bd4fbc11379878ba4f1c2887d315 | [
"MIT"
] | null | null | null | # In "and" operator if ONE is false the whole is false
# in "or" operator if ONE is true the whole is true
print("Welcome to the rollercoaster!")
height = int(input("What is your height in cms? "))
bill = 0
if height >= 120:
print("You can ride the rollercoaster")
age = int(input("What is your age... | 27.8125 | 68 | 0.570787 |
07d73bd4d30b616f7a7dbc6e65ac50d51438856e | 1,287 | css | CSS | static/css/style.css | DhyanilMehta/Resume-Screening-ML-Project | 8fe050ef024b7fba381cffc497ec255c473cee0e | [
"MIT"
] | null | null | null | static/css/style.css | DhyanilMehta/Resume-Screening-ML-Project | 8fe050ef024b7fba381cffc497ec255c473cee0e | [
"MIT"
] | null | null | null | static/css/style.css | DhyanilMehta/Resume-Screening-ML-Project | 8fe050ef024b7fba381cffc497ec255c473cee0e | [
"MIT"
] | null | null | null | * {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
background: #535c68;
}
.wrapper {
margin: auto;
max-width: 640px;
padding-top: 60px;
text-align: center;
}
.my-container {
background-color: #f9f9f9;
padding:... | 17.875 | 52 | 0.622378 |
b72fcf1fa68c97dc768e7a1736da51362b6394f4 | 2,950 | cs | C# | EasyReportServiceTests/Services/EasyReportServiceTests.cs | bchuang/EasyReportService | 138c72ba55b61b7b99640edeb52619e2bd9aa909 | [
"MIT"
] | null | null | null | EasyReportServiceTests/Services/EasyReportServiceTests.cs | bchuang/EasyReportService | 138c72ba55b61b7b99640edeb52619e2bd9aa909 | [
"MIT"
] | null | null | null | EasyReportServiceTests/Services/EasyReportServiceTests.cs | bchuang/EasyReportService | 138c72ba55b61b7b99640edeb52619e2bd9aa909 | [
"MIT"
] | null | null | null | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using EasyReportService.Entities;
using System.Configuration;
using System.IO;
namespace EasyReportService.Services.Tests
{
[TestClass()]
public class EasyReportServiceTests
{
[TestMethod()]
public void RunTest()
{
... | 49.166667 | 159 | 0.648136 |
0fe61cd60e5d830f5e58f7d431e12bffcd088dc9 | 1,763 | sql | SQL | DB/todo_list_app.sql | mhmiton/ToDo_list_app_ci | 781cacee83672f89eb95bbe7d39a3e7fef6dbb83 | [
"MIT"
] | null | null | null | DB/todo_list_app.sql | mhmiton/ToDo_list_app_ci | 781cacee83672f89eb95bbe7d39a3e7fef6dbb83 | [
"MIT"
] | null | null | null | DB/todo_list_app.sql | mhmiton/ToDo_list_app_ci | 781cacee83672f89eb95bbe7d39a3e7fef6dbb83 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 22, 2018 at 11:17 AM
-- Server version: 5.6.16
-- PHP Version: 5.5.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;... | 25.550725 | 67 | 0.651163 |
93ed0d51cc342d9e3938a284672c05f91600d39e | 2,645 | cs | C# | EventSubExample/Models/Subscriptions/ChannelSubscriptions/ChannelPointsCustomRewardRedemptionAddNotification.cs | Saschanski/EventSubExample | 8ec4510c297114e42797d73a794fd09399c4c7ce | [
"MIT"
] | 1 | 2021-07-22T16:05:00.000Z | 2021-07-22T16:05:00.000Z | EventSubExample/Models/Subscriptions/ChannelSubscriptions/ChannelPointsCustomRewardRedemptionAddNotification.cs | Saschanski/EventSubExample | 8ec4510c297114e42797d73a794fd09399c4c7ce | [
"MIT"
] | null | null | null | EventSubExample/Models/Subscriptions/ChannelSubscriptions/ChannelPointsCustomRewardRedemptionAddNotification.cs | Saschanski/EventSubExample | 8ec4510c297114e42797d73a794fd09399c4c7ce | [
"MIT"
] | null | null | null | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EventSubExample.Models.Subscriptions.ChannelSubscriptions
{
/// <summary>
/// The channel.channel_points_custom_reward_redemption.add subscription type sends a notification when a ... | 31.117647 | 186 | 0.671834 |
b192605b525578d6c9fe07cb2aed9dd6e6fe98f3 | 299 | py | Python | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | xv_leak_tools/test_device/router_device.py | RDTCREW/expressvpn_leak_testing | da710573ccbe6472c4e4588058d9ec887e61e0a9 | [
"MIT"
] | null | null | null | from xv_leak_tools.log import L
from xv_leak_tools.test_device.device import Device
class RouterDevice(Device):
def os_name(self):
# TODO: Make this dynamic
return 'linux'
def os_version(self):
L.warning("TODO: Linux version")
return 'TODO: Linux version'
| 23 | 51 | 0.67893 |
c68152cd50cdad7a8061d4413c8cf518b5742931 | 1,153 | py | Python | plaso/containers/errors.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | plaso/containers/errors.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | plaso/containers/errors.py | ir4n6/plaso | 010f9cbdfc82e21ed6658657fd09a7b44115c464 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Error attribute containers."""
from __future__ import unicode_literals
from plaso.containers import interface
from plaso.containers import manager
# TODO: add AnalysisError.
class ExtractionError(interface.AttributeContainer):
"""Extraction error attribute container.
Attributes:
... | 28.825 | 78 | 0.732871 |
bb05ee9e1fa7254889f8dae1535beeb85cf9d5ef | 833 | cs | C# | src/VisualStudio/VisualStudioDiagnosticsToolWindow/OptionPages/InternalComponentsOnOffPage.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | src/VisualStudio/VisualStudioDiagnosticsToolWindow/OptionPages/InternalComponentsOnOffPage.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | src/VisualStudio/VisualStudioDiagnosticsToolWindow/OptionPages/InternalComponentsOnOffPage.cs | belav/roslyn | 01124c8bbeacb560271261e97c10317114836299 | [
"MIT"
] | null | null | null | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis.Editor.Shared.O... | 33.32 | 96 | 0.753902 |
46e0b4be89c4b3e5247b42d56d79015ba012896f | 2,472 | py | Python | tests/test_emulation.py | NeuralMMO/neural-mmo | 5cde906245b015a7b7c7d0d1fb4b30a70b3b1a8b | [
"MIT"
] | 27 | 2021-12-15T12:10:06.000Z | 2022-03-31T13:59:47.000Z | tests/test_emulation.py | NeuralMMO/neural-mmo | 5cde906245b015a7b7c7d0d1fb4b30a70b3b1a8b | [
"MIT"
] | null | null | null | tests/test_emulation.py | NeuralMMO/neural-mmo | 5cde906245b015a7b7c7d0d1fb4b30a70b3b1a8b | [
"MIT"
] | 4 | 2021-12-23T16:05:49.000Z | 2022-03-22T01:54:30.000Z | from pdb import set_trace as T
import numpy as np
import nmmo
def init_env(config_cls=nmmo.config.Small):
env = nmmo.Env(config_cls())
obs = env.reset()
return env, obs
def test_emulate_flat_obs():
... | 29.082353 | 82 | 0.620955 |
43fecf70276c102b4badd2f979121760065ba3ac | 153 | ts | TypeScript | src/interfaces/batching.interface.ts | strandls/ecocert-ui | 642bb243c911e82d47c691995f4d196979ed64a6 | [
"Apache-2.0"
] | null | null | null | src/interfaces/batching.interface.ts | strandls/ecocert-ui | 642bb243c911e82d47c691995f4d196979ed64a6 | [
"Apache-2.0"
] | null | null | null | src/interfaces/batching.interface.ts | strandls/ecocert-ui | 642bb243c911e82d47c691995f4d196979ed64a6 | [
"Apache-2.0"
] | null | null | null | export interface IBatching {
collectionData,
nonSelectable
}
export interface IBatchingFuncs {
getCollectionData;
createBatchfromCollections;
}
| 15.3 | 33 | 0.803922 |
0db2871dd24261c04dfbd8f0152940ce83d47029 | 2,998 | cs | C# | Program.cs | borisgr04/jsreport-dotnet-example-consoleapp | 73a1de797b1b480241c2d8bff58bc2ad24c42b58 | [
"MIT"
] | null | null | null | Program.cs | borisgr04/jsreport-dotnet-example-consoleapp | 73a1de797b1b480241c2d8bff58bc2ad24c42b58 | [
"MIT"
] | null | null | null | Program.cs | borisgr04/jsreport-dotnet-example-consoleapp | 73a1de797b1b480241c2d8bff58bc2ad24c42b58 | [
"MIT"
] | null | null | null | using jsreport.Binary;
using jsreport.Local;
using jsreport.Types;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Initializing local jsreport.exe utility");
... | 32.945055 | 122 | 0.512342 |
7287eb3a1305d14b45c5958e3dd56021bc21d6ba | 757 | cs | C# | Czar.Cms/Czar.Cms.Core/Repository/IUnitOfWork.cs | jcsoft-net/Czar.Cms | 6a6e686e707775aa1b05044b212d6c61f50b19da | [
"MIT"
] | null | null | null | Czar.Cms/Czar.Cms.Core/Repository/IUnitOfWork.cs | jcsoft-net/Czar.Cms | 6a6e686e707775aa1b05044b212d6c61f50b19da | [
"MIT"
] | null | null | null | Czar.Cms/Czar.Cms.Core/Repository/IUnitOfWork.cs | jcsoft-net/Czar.Cms | 6a6e686e707775aa1b05044b212d6c61f50b19da | [
"MIT"
] | 2 | 2019-07-23T09:49:21.000Z | 2019-11-29T13:40:31.000Z | namespace Czar.Cms.Core.Repository
{
/// <summary>
/// 工作单元接口
/// </summary>
public interface IUnitOfWork
{
// <summary>
/// 注册新增操作
/// </summary>
/// <param name="entity">实体</param>
void Add<TEntity>(TEntity entity) where TEntity : class;
/// <summa... | 23.65625 | 67 | 0.484808 |
dd9cde79f686a9d5d450660225e7834f52d09e39 | 1,725 | py | Python | models.py | mazzamani/bike-sharing | 61019741541925ef0623fd0ca472c2028582c2d4 | [
"MIT"
] | null | null | null | models.py | mazzamani/bike-sharing | 61019741541925ef0623fd0ca472c2028582c2d4 | [
"MIT"
] | null | null | null | models.py | mazzamani/bike-sharing | 61019741541925ef0623fd0ca472c2028582c2d4 | [
"MIT"
] | null | null | null | import torch
from torch import nn
class GRUmodel(nn.Module):
def __init__(self, args, input_dim, val_test_batch, class_num):
super(GRUmodel, self).__init__()
self.args = args
self.hidden_dim = args.hidden_dim
self.num_layers = args.num_layers
self.batch_size = args.batch_si... | 33.173077 | 104 | 0.636522 |
87268a58d509e08ae37b77518ee9467cf1603b23 | 2,245 | sql | SQL | data_sources/sqlite/03-imagestorage.sql | unification-com/haiku-node-prototype | ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b | [
"MIT"
] | 3 | 2018-06-15T18:02:05.000Z | 2018-07-06T02:32:18.000Z | data_sources/sqlite/03-imagestorage.sql | unification-com/haiku-node-prototype | ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b | [
"MIT"
] | 4 | 2018-08-17T06:51:34.000Z | 2018-08-17T08:39:24.000Z | data_sources/sqlite/03-imagestorage.sql | unification-com/haiku-node-prototype | ea77aa90f6b3f08d004be1c24e6b8d62e83bc66b | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS `Imagestorage`;
create database Imagestorage;
--CREATE USER 'imgstore_user'@'%' IDENTIFIED BY 'password';
--GRANT ALL PRIVILEGES ON * . * TO 'imgstore_user'@'%';
use Imagestorage;
--CREATE USER 'imagestorage_user'@'%' IDENTIFIED BY 'password';
--GRANT ALL PRIVILEGES ON * . * TO 'imagestorage_... | 32.536232 | 71 | 0.613808 |
ffb0aaa362594441e1c7683440b365d525b6912d | 278 | py | Python | fameTkinter.py | sairam1318/GUI | bd1892a2162993129008fccae0bfccfc11a90f2d | [
"Unlicense"
] | null | null | null | fameTkinter.py | sairam1318/GUI | bd1892a2162993129008fccae0bfccfc11a90f2d | [
"Unlicense"
] | null | null | null | fameTkinter.py | sairam1318/GUI | bd1892a2162993129008fccae0bfccfc11a90f2d | [
"Unlicense"
] | null | null | null | from tkinter import *
root = Tk()
root.geometry('500x900')
f1 = Frame(root, bg = 'pink')
f1.pack(side = LEFT)
label = Label(f1, text = "hai All")
label.pack()
f2 = Frame(root, bg = 'grey')
f1.pack(side = "top")
label = Label(f2, text = "hai All")
label.pack()
root.mainloop() | 18.533333 | 35 | 0.636691 |
999bb5614f433f1469046a3f3087e81cce1d79da | 409 | sql | SQL | scripts/schema/ccpv1/094-byway-type-4wd.sql | lbouma/Cyclopath | d09d927a1e6f9e07924007fd39e8e807cd9c0f8c | [
"Apache-2.0"
] | 15 | 2015-05-06T05:11:48.000Z | 2021-12-03T14:56:58.000Z | scripts/schema/ccpv1/094-byway-type-4wd.sql | landonb/Cyclopath | d09d927a1e6f9e07924007fd39e8e807cd9c0f8c | [
"Apache-2.0"
] | null | null | null | scripts/schema/ccpv1/094-byway-type-4wd.sql | landonb/Cyclopath | d09d927a1e6f9e07924007fd39e8e807cd9c0f8c | [
"Apache-2.0"
] | 8 | 2015-05-06T05:11:36.000Z | 2020-11-04T05:11:22.000Z | /* Copyright (c) 2006-2012 Regents of the University of Minnesota.
For licensing terms, see the file LICENSE. */
/* Add "4WD Road" byway type to support importing Colorado data. This is not
quite right, I think; see bug 1805. */
BEGIN TRANSACTION;
SET CONSTRAINTS ALL DEFERRED;
insert into byway_type (code, dra... | 29.214286 | 76 | 0.674817 |
30ecade0ed9b6212255279036ae2c74950a1cde1 | 271 | sql | SQL | databases/6-relational-calculus/41.sql | nothingelsematters/university | 5561969b1b11678228aaf7e6660e8b1a93d10294 | [
"WTFPL"
] | 1 | 2018-06-03T17:48:50.000Z | 2018-06-03T17:48:50.000Z | databases/6-relational-calculus/41.sql | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | null | null | null | databases/6-relational-calculus/41.sql | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | 14 | 2019-04-07T21:27:09.000Z | 2021-12-05T13:37:25.000Z | select distinct Students.StudentId
from Students, Marks, Plan, Lecturers
where Students.StudentId = Marks.StudentId
and Students.GroupId = Plan.GroupId
and Marks.CourseId = Plan.CourseId
and Plan.LecturerId = Lecturers.LecturerId
and LecturerName = :LecturerName
| 33.875 | 44 | 0.800738 |
a3bceec9a96a77d79663051be4447529d98cef8e | 24,202 | java | Java | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java | SuanChen/hadoop | 5b09ba75eccab4c2f1850bcc4cd8e60241cb500e | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause"
] | 1 | 2021-09-30T05:53:41.000Z | 2021-09-30T05:53:41.000Z | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java | Gaoyubo1/hadoop | 0d78d73973cf8643c4120678ebeea9cde473a2c4 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | null | null | null | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DirectoryScanner.java | Gaoyubo1/hadoop | 0d78d73973cf8643c4120678ebeea9cde473a2c4 | [
"Apache-2.0",
"BSD-2-Clause",
"MIT",
"ECL-2.0",
"BSD-3-Clause"
] | null | null | null | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 33.017735 | 120 | 0.67044 |
0652c6998b3eb95f952d55bff43cd8228e4b396d | 1,680 | sql | SQL | laundry-jt/db_script/merchant_ddl.sql | yinxiaoer/jietu-laundry | 742bede1a834068edd732ac9f9fa9b7b06b4d7ba | [
"MIT"
] | 9 | 2021-11-18T06:06:26.000Z | 2022-02-25T09:09:48.000Z | laundry-jt/db_script/merchant_ddl.sql | yinxiaoer/jietu-laundry | 742bede1a834068edd732ac9f9fa9b7b06b4d7ba | [
"MIT"
] | 1 | 2022-02-25T09:15:24.000Z | 2022-02-25T09:15:24.000Z | laundry-jt/db_script/merchant_ddl.sql | yinxiaoer/jietu-laundry | 742bede1a834068edd732ac9f9fa9b7b06b4d7ba | [
"MIT"
] | null | null | null | CREATE TABLE `mt_merchant` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '名称',
`info` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '简介',
`province` char(6) CHARACTER SET utf8 COLLATE utf8_genera... | 73.043478 | 111 | 0.760119 |
e414f08259f44244f572fcb503475ad17517c607 | 764 | cs | C# | src/EntryPoint/Common/CustomExtensions.cs | TheColonel2688/EntryPoint | 3db363a901bcb0b6170630c1f8272d9b03c3b0e3 | [
"MIT"
] | 152 | 2016-12-26T22:28:28.000Z | 2021-07-25T14:40:37.000Z | src/EntryPoint/Common/CustomExtensions.cs | TheColonel2688/EntryPoint | 3db363a901bcb0b6170630c1f8272d9b03c3b0e3 | [
"MIT"
] | 53 | 2016-12-25T19:43:54.000Z | 2019-07-22T20:47:17.000Z | src/EntryPoint/Common/CustomExtensions.cs | TheColonel2688/EntryPoint | 3db363a901bcb0b6170630c1f8272d9b03c3b0e3 | [
"MIT"
] | 13 | 2017-03-12T10:27:37.000Z | 2021-04-22T17:46:52.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EntryPoint.Common {
internal static class CustomExtensions {
internal static List<T> Duplicates<T>(this IEnumerable<T> items, IEqualityComparer<T> comparer = null) {
HashSet<T> hash = ne... | 25.466667 | 112 | 0.530105 |
31024244df142a69eee330048e165e1f49e426b8 | 184 | sql | SQL | service/src/main/resources/db/migration/V202003201445__jira_csv.sql | CTY-git/sapling | 2e9919e51158ce7682a70f4271d67b857b9cad84 | [
"MIT"
] | 36 | 2020-03-14T22:36:51.000Z | 2021-11-09T11:05:03.000Z | service/src/main/resources/db/migration/V202003201445__jira_csv.sql | CTY-git/sapling | 2e9919e51158ce7682a70f4271d67b857b9cad84 | [
"MIT"
] | 9 | 2020-06-27T11:54:01.000Z | 2020-07-25T03:42:41.000Z | service/src/main/resources/db/migration/V202003201445__jira_csv.sql | CTY-git/sapling | 2e9919e51158ce7682a70f4271d67b857b9cad84 | [
"MIT"
] | 5 | 2020-03-24T01:19:06.000Z | 2021-05-05T17:48:45.000Z | CREATE TABLE jira_csv
(
board_id BIGINT NOT NULL,
csv TEXT NOT NULL,
PRIMARY KEY (board_id),
FOREIGN KEY (board_id) REFERENCES boards (id) ON DELETE CASCADE
);
| 20.444444 | 67 | 0.668478 |
33e86e973e113dc737747b3a14e65be681968635 | 683 | h | C | Utilities/include/Utilities/Logger.h | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | Utilities/include/Utilities/Logger.h | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | Utilities/include/Utilities/Logger.h | MotoLegacy/Stardust-Engine | 1dafed3913b033935336883e663186d0fc07fba2 | [
"MIT"
] | null | null | null | #pragma once
#include <Platform/Platform.h>
#include <string>
#include <fstream>
#include <sstream>
namespace Stardust::Utilities {
enum LoggerLevel {
LOGGER_LEVEL_TRACE = -2,
LOGGER_LEVEL_DEBUG = -1,
LOGGER_LEVEL_INFO = 0,
LOGGER_LEVEL_WARN = 1,
LOGGER_LEVEL_ERROR = 2,
};
class Logger {
public:
Log... | 18.459459 | 71 | 0.710102 |
e11e2235587e080e233547e7e4fa3f1795fcb161 | 1,156 | go | Go | config.go | motopig/sendsms | ce71964b6cea9f436d3de3a4d402e955dab75903 | [
"Apache-2.0"
] | 1 | 2017-04-28T12:36:35.000Z | 2017-04-28T12:36:35.000Z | config.go | motopig/sendsms | ce71964b6cea9f436d3de3a4d402e955dab75903 | [
"Apache-2.0"
] | null | null | null | config.go | motopig/sendsms | ce71964b6cea9f436d3de3a4d402e955dab75903 | [
"Apache-2.0"
] | null | null | null | package smservice
import (
"io/ioutil"
"gopkg.in/yaml.v2"
)
type Config struct {
ServiceList map[string]*ServiceConfig `yaml:"servicelist"`
Errormsg map[string]string `yaml:"errormsg"`
RedisConf map[string]string `yaml:"redisconf"`
MysqlConf map[string]string `yaml:"mysqlconf"`
... | 21.811321 | 59 | 0.66609 |
5dce530424b87c168b126ff86d52f7deab82eb32 | 375 | hpp | C++ | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | src/texture.hpp | Honeybunch/raycaster | 7fc70e1cae2a4959fec6e99a94ccf57f36420c88 | [
"MIT"
] | null | null | null | #pragma once
#include "texture_types.hpp"
namespace raycaster {
texture load_texture(const char *filepath);
const uint8_t *texture_get_image(texture t);
uint32_t texture_get_width(texture t);
uint32_t texture_get_height(texture t);
uint32_t texture_get_channels(texture t);
uint32_t texture_get_size(texture t);
voi... | 22.058824 | 44 | 0.810667 |
c97e82a6c15135ce6ad92dbc0f5b258bb31b6660 | 1,431 | ts | TypeScript | saleor/static/dashboard-next/orders/views/OrderDetails/urls.ts | johnchendev/urbanradder | aab7d2a3e84c1a14a27b2039e120de1e7cdd28cc | [
"BSD-3-Clause"
] | null | null | null | saleor/static/dashboard-next/orders/views/OrderDetails/urls.ts | johnchendev/urbanradder | aab7d2a3e84c1a14a27b2039e120de1e7cdd28cc | [
"BSD-3-Clause"
] | null | null | null | saleor/static/dashboard-next/orders/views/OrderDetails/urls.ts | johnchendev/urbanradder | aab7d2a3e84c1a14a27b2039e120de1e7cdd28cc | [
"BSD-3-Clause"
] | null | null | null | import * as urlJoin from "url-join";
import { orderUrl } from "../../urls";
export const orderCancelUrl = (id: string) => urlJoin(orderUrl(id), "cancel");
export const orderMarkAsPaidUrl = (id: string) =>
urlJoin(orderUrl(id), "markAsPaid");
export const orderPaymentVoidUrl = (id: string) =>
urlJoin(orderUrl(id),... | 42.088235 | 80 | 0.728861 |