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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
582402ec1adc9e8c4788400c8e279c3667cf4b8b | 662 | css | CSS | src/css/index.css | Guzzur/razzy.dev | 7f198e06250623d1556696f7142107818ddf1929 | [
"MIT"
] | null | null | null | src/css/index.css | Guzzur/razzy.dev | 7f198e06250623d1556696f7142107818ddf1929 | [
"MIT"
] | 3 | 2021-10-05T23:23:38.000Z | 2022-02-26T11:53:47.000Z | src/css/index.css | Guzzur/razzy.dev | 7f198e06250623d1556696f7142107818ddf1929 | [
"MIT"
] | null | null | null | body {
margin: 0;
font-family: "Libre Franklin", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 14px;
}
/* h1 {
font-size: 2.4rem;
}
h2 {
font-size: 2.2rem;
}
h3 {
font-size: 2rem;
}
h4 {
font-size: 1.8rem;
}
h5 {
font-size: 1.6rem;
} */
h1 {
font... | 11.614035 | 44 | 0.583082 |
5462aca647cf69f802b8a09371e3d07a94c8de5e | 58 | css | CSS | lib/public/css/home.css | tohrinagi/surrogator-uploader | dc9356302bb77f83bf7896579f730da0a31867c4 | [
"MIT"
] | null | null | null | lib/public/css/home.css | tohrinagi/surrogator-uploader | dc9356302bb77f83bf7896579f730da0a31867c4 | [
"MIT"
] | 3 | 2015-08-01T10:39:52.000Z | 2015-08-04T06:49:24.000Z | lib/public/css/home.css | tohrinagi/surrogator-uploader | dc9356302bb77f83bf7896579f730da0a31867c4 | [
"MIT"
] | null | null | null | .upload {
width:100%;
float:left;
margin-right:10px;
}
| 9.666667 | 19 | 0.655172 |
e77f88aa36f48b1969ff3be5d72e4a76b21c92b7 | 331 | sql | SQL | tests/queries/0_stateless/02028_system_data_skipping_indices_size.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 15,577 | 2019-09-23T11:57:53.000Z | 2022-03-31T18:21:48.000Z | tests/queries/0_stateless/02028_system_data_skipping_indices_size.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 16,476 | 2019-09-23T11:47:00.000Z | 2022-03-31T23:06:01.000Z | tests/queries/0_stateless/02028_system_data_skipping_indices_size.sql | pdv-ru/ClickHouse | 0ff975bcf3008fa6c6373cbdfed16328e3863ec5 | [
"Apache-2.0"
] | 3,633 | 2019-09-23T12:18:28.000Z | 2022-03-31T15:55:48.000Z | DROP TABLE IF EXISTS test_table;
CREATE TABLE test_table
(
key UInt64,
value String,
INDEX value_index value TYPE minmax GRANULARITY 1
)
Engine=MergeTree()
ORDER BY key;
INSERT INTO test_table VALUES (0, 'Value');
SELECT * FROM system.data_skipping_indices WHERE database = currentDatabase();
DROP TABLE t... | 20.6875 | 78 | 0.761329 |
6233174e46b4315ec582a9cc0a7b44e178eef30f | 508 | sh | Shell | assets/gpg/generate-gpg-key.sh | nevesnunes/mailsh | 7492bb7009c11dd847dfbea44658538ca5b19ed7 | [
"MIT"
] | null | null | null | assets/gpg/generate-gpg-key.sh | nevesnunes/mailsh | 7492bb7009c11dd847dfbea44658538ca5b19ed7 | [
"MIT"
] | null | null | null | assets/gpg/generate-gpg-key.sh | nevesnunes/mailsh | 7492bb7009c11dd847dfbea44658538ca5b19ed7 | [
"MIT"
] | null | null | null | #!/bin/sh
set -eux
. ../../request.env
tmp_parameters_file=$(mktemp)
cleanup() {
err=$?
sudo rm -f "$tmp_parameters_file"
trap '' EXIT
exit $err
}
trap cleanup EXIT INT QUIT TERM
cat >"$tmp_parameters_file" <<EOF
Key-Type: RSA
Key-Length: 4096
Subkey-Type: ELG-E
Subkey-Length: 4096
Name-Real: $REQUEST_USER
... | 16.933333 | 54 | 0.708661 |
a53fc2b83583f47f98fb1b7df098272ad943e90c | 1,624 | h | C | lab5/i8042.h | TitoGrine/LCOM_MIEIC | 59ac34d6476faf26afec7406840a83be38e9a722 | [
"MIT"
] | 1 | 2019-04-25T22:23:06.000Z | 2019-04-25T22:23:06.000Z | lab5/i8042.h | TitoGrine/LCOM_MIEIC | 59ac34d6476faf26afec7406840a83be38e9a722 | [
"MIT"
] | null | null | null | lab5/i8042.h | TitoGrine/LCOM_MIEIC | 59ac34d6476faf26afec7406840a83be38e9a722 | [
"MIT"
] | null | null | null | #ifndef I8042_H
#define I8042_H
// GENERAL MACROS
#define BIT(n) (0x01<<(n))
#define DELAY 20000
#define STAT_REG 0x64
#define OUT_BUF 0x60
// STATUS REGISTER BITS
#define ST_PARITY BIT(7)
#define ST_TIMEOUT BIT(6)
#define ST_AUX BIT(5)
#define S... | 19.333333 | 37 | 0.597291 |
de956492db9f2ed1c55a9d2ae81091ee5955498d | 187 | sql | SQL | _includes/tutorials/tumbling-windows/ksql/code/tutorial-steps/dev/transient-window.sql | vdvorak83/kafka-tutorials | 6e573f20b791fbc34372b65bb4c5eb18e10c324a | [
"Apache-2.0"
] | 1 | 2019-08-09T02:48:06.000Z | 2019-08-09T02:48:06.000Z | _includes/tutorials/tumbling-windows/ksql/code/tutorial-steps/dev/transient-window.sql | vdvorak83/kafka-tutorials | 6e573f20b791fbc34372b65bb4c5eb18e10c324a | [
"Apache-2.0"
] | null | null | null | _includes/tutorials/tumbling-windows/ksql/code/tutorial-steps/dev/transient-window.sql | vdvorak83/kafka-tutorials | 6e573f20b791fbc34372b65bb4c5eb18e10c324a | [
"Apache-2.0"
] | null | null | null | SELECT title,
COUNT(*) AS rating_count,
WINDOWSTART() AS window_start,
WINDOWEND() AS window_end
FROM ratings
WINDOW TUMBLING (SIZE 6 HOURS)
GROUP BY title
LIMIT 11;
| 20.777778 | 37 | 0.695187 |
ae260e49b3a0879e3e908bbc2e343fb5b9508878 | 6,200 | cshtml | C# | NewLife.Cube.Metronic/Views/Metronic3/_List_Data_Item.cshtml | yangchongyuan/NewLife.Cube | 430286b562685e688b4d82c2b309b4555c377815 | [
"MIT"
] | 481 | 2018-05-19T22:38:46.000Z | 2022-03-29T07:37:13.000Z | NewLife.Cube.Metronic/Views/Metronic3/_List_Data_Item.cshtml | yangchongyuan/NewLife.Cube | 430286b562685e688b4d82c2b309b4555c377815 | [
"MIT"
] | 41 | 2018-08-01T01:42:38.000Z | 2022-01-09T11:42:05.000Z | NewLife.Cube.Metronic/Views/Metronic3/_List_Data_Item.cshtml | yangchongyuan/NewLife.Cube | 430286b562685e688b4d82c2b309b4555c377815 | [
"MIT"
] | 129 | 2018-05-20T04:14:45.000Z | 2022-03-07T01:03:38.000Z | @using NewLife;
@using Microsoft.AspNetCore.Routing
@using XCode;
@using XCode.Configuration;
@{
var pair = (ValueTuple<IEntity, DataField>)Model;
var entity = pair.Item1;
var item = pair.Item2;
var factory = entity.GetType().AsFactory();
var value = entity[item.Name];
var provider = ManagePro... | 35.83815 | 199 | 0.420323 |
6f85db8cb811d9ab421e6a7f058324e337a69a85 | 1,314 | sql | SQL | scripts/data.sql | JovanDukic/ITEH | b7984ecd9fb10836ddad880b9a17954be31ab242 | [
"Apache-2.0"
] | null | null | null | scripts/data.sql | JovanDukic/ITEH | b7984ecd9fb10836ddad880b9a17954be31ab242 | [
"Apache-2.0"
] | null | null | null | scripts/data.sql | JovanDukic/ITEH | b7984ecd9fb10836ddad880b9a17954be31ab242 | [
"Apache-2.0"
] | null | null | null | drop database if exists ITEH_1;
create database if not exists ITEH_1;
use ITEH_1;
create table if not exists User(
ID int not null auto_increment,
username varchar(100) not null,
password varchar(100) not null,
firstname varchar(100) not null,
lastname varchar(100) not null,
age varchar(100) ... | 22.655172 | 66 | 0.627093 |
af3ae423f5ed88ee523a231b812d85239b34cdea | 374 | py | Python | _note_/_logging_/_logging_udp_receive.py | By2048/_python_ | be57738093676a1273e6f69232723669e408986e | [
"MIT"
] | 2 | 2017-02-16T14:50:33.000Z | 2018-02-03T01:49:06.000Z | _note_/_logging_/_logging_udp_receive.py | By2048/_python_ | be57738093676a1273e6f69232723669e408986e | [
"MIT"
] | null | null | null | _note_/_logging_/_logging_udp_receive.py | By2048/_python_ | be57738093676a1273e6f69232723669e408986e | [
"MIT"
] | null | null | null | import pickle
import logging
import socket
logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s')
logger = logging.getLogger()
logger.setLevel(logging.INFO)
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind(('127.0.0.1', 51010))
while True:
d, _ = s.recvfrom(65536)
log = pickle.loads... | 23.375 | 69 | 0.719251 |
a50cdc0a010d9a14b794d5e23568aab9c8855b94 | 801 | dart | Dart | codebase/flutter/financemanager/lib/src/widgets/my_app_bar.dart | Abhimanyu14/finance-manager | 2f53d8a1b909ccdd4a3fb1e820f876c0140b8889 | [
"Apache-2.0"
] | 1 | 2022-03-29T06:52:01.000Z | 2022-03-29T06:52:01.000Z | codebase/flutter/financemanager/lib/src/widgets/my_app_bar.dart | Abhimanyu14/finance-manager | 2f53d8a1b909ccdd4a3fb1e820f876c0140b8889 | [
"Apache-2.0"
] | null | null | null | codebase/flutter/financemanager/lib/src/widgets/my_app_bar.dart | Abhimanyu14/finance-manager | 2f53d8a1b909ccdd4a3fb1e820f876c0140b8889 | [
"Apache-2.0"
] | null | null | null | import 'package:financemanager/src/constants/colors.dart';
import 'package:flutter/material.dart';
class MyAppBar extends StatelessWidget with PreferredSizeWidget {
const MyAppBar({
Key? key,
required this.title,
}) : super(key: key);
final String title;
@override
Widget build(
BuildContext con... | 21.078947 | 66 | 0.634207 |
3396eb4361d20ae8093b4119795e968d095280e2 | 627 | h | C | Classes/Models/Show.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 231 | 2015-08-06T18:40:19.000Z | 2022-03-27T20:40:03.000Z | Classes/Models/Show.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 313 | 2015-08-06T19:04:17.000Z | 2022-01-14T15:42:36.000Z | Classes/Models/Show.h | artsy/energy | e3543ff0a87029dbd171af7b0e09c9fa13b5536a | [
"MIT"
] | 54 | 2015-08-06T19:01:14.000Z | 2022-02-10T12:19:50.000Z | #import "_Show.h"
#import "ARManagedObject.h"
#import "ARGridViewItem.h"
#import "ARDocumentContainer.h"
#import "ARArtworkContainer.h"
@class Artist, Artwork;
@interface Show : _Show <ARGridViewItem, ARDocumentContainer, ARArtworkContainer>
@property (strong, nonatomic) NSSet *artworkSlugs;
;
+ (NSFetchRequest *)... | 25.08 | 93 | 0.795853 |
e266346a79afef1f9fccd0ae023dc7dc1aae7ec4 | 82 | py | Python | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | Egzersiz/canersoy/regexegzersiz2.py | ibrahimediz/ornekproje | c5ebeafc43a9c6d2aa639d0d95eedbce65991576 | [
"Apache-2.0"
] | null | null | null | pattern = r"(\w*)\.?(\w+)@(\w+)\.(\w+)\.?(\w*)"
# email için başka bir regex yolu | 41 | 47 | 0.47561 |
72896fc50d4bbb203462525f984c88e1b63e74b8 | 4,226 | h | C | include/operators/LpNormalization.h | k4rth33k/dnnc-operators | a7fe3f1240c12b3438558def71fbfcd4520446c3 | [
"Apache-2.0"
] | 5 | 2019-08-16T14:35:17.000Z | 2020-07-11T23:59:22.000Z | include/operators/LpNormalization.h | k4rth33k/dnnc-operators | a7fe3f1240c12b3438558def71fbfcd4520446c3 | [
"Apache-2.0"
] | 6 | 2019-08-12T04:38:14.000Z | 2019-09-04T16:32:13.000Z | include/operators/LpNormalization.h | k4rth33k/dnnc-operators | a7fe3f1240c12b3438558def71fbfcd4520446c3 | [
"Apache-2.0"
] | 7 | 2019-08-15T13:29:00.000Z | 2019-09-09T17:08:04.000Z | // Copyright 2018 The AITS DNNC Authors.All Rights Reserved.
//
// 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 ... | 28.945205 | 76 | 0.567913 |
6dc0f49695997981c97e7c986c545c7e6d16dc00 | 376 | ts | TypeScript | src/app/common/map/map.module.ts | huynhquocmy/angular2-sporthub | bc7d19bd1a72c73a9fb01f243a0a37160f60a5f1 | [
"MIT"
] | null | null | null | src/app/common/map/map.module.ts | huynhquocmy/angular2-sporthub | bc7d19bd1a72c73a9fb01f243a0a37160f60a5f1 | [
"MIT"
] | null | null | null | src/app/common/map/map.module.ts | huynhquocmy/angular2-sporthub | bc7d19bd1a72c73a9fb01f243a0a37160f60a5f1 | [
"MIT"
] | null | null | null | import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { GoogleplaceDirective } from './googleplace.directive';
@NgModule({
imports: [ FormsModule, ReactiveFormsModule],
declarations: [GoogleplaceDirective],
exports: [GoogleplaceDirective... | 31.333333 | 75 | 0.723404 |
b02e4515bb481c38113374f9e12b7da7290e3f01 | 695 | py | Python | blogauth/urls.py | fengyunxiren/myblog | 092aff15189ce9e519654f1c574c8f52208e43fd | [
"MIT"
] | null | null | null | blogauth/urls.py | fengyunxiren/myblog | 092aff15189ce9e519654f1c574c8f52208e43fd | [
"MIT"
] | null | null | null | blogauth/urls.py | fengyunxiren/myblog | 092aff15189ce9e519654f1c574c8f52208e43fd | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('permission/', views.PermissionView.as_view()),
path('permission/<int:id>/', views.PermissionDetailView.as_view()),
path('group/', views.GroupView.as_view()),
path('group/<int:id>/', views.GroupDetailView.as_view()),
path('group/... | 43.4375 | 76 | 0.683453 |
e4c0101fe7cbdeaebf9a57d0642313079a902010 | 278,110 | c | C | src/c/vsop87c/vsop87c-earth.c | gmarty/vsop87 | 14b6fab7658c426cd29b1eb1ca4604d67c116950 | [
"MIT"
] | 6 | 2019-12-22T09:48:12.000Z | 2021-05-29T05:28:02.000Z | src/c/vsop87c/vsop87c-earth.c | gmarty/vsop87 | 14b6fab7658c426cd29b1eb1ca4604d67c116950 | [
"MIT"
] | 2 | 2021-03-09T23:31:51.000Z | 2021-09-02T02:19:23.000Z | src/c/vsop87c/vsop87c-earth.c | gmarty/vsop87 | 14b6fab7658c426cd29b1eb1ca4604d67c116950 | [
"MIT"
] | null | null | null | #include "emscripten.h"
#include <math.h>
double earth_x0(double t) {
return (
0.99986069925 * cos(1.75347045757 + 6283.31966747490 * t)
+ 0.02506324281 * cos(4.93819429098 + 0.24381748350 * t)
+ 0.00835274807 * cos(1.71033525539 + 12566.39551746630 * t)
+ 0.00010466796 * cos(1.66721984219 +... | 64.721899 | 91 | 0.656467 |
0a9a2a95c6b5c7aab9f5d980bcb2ebf538a3c029 | 8,165 | cs | C# | Sources/Engine/NeoAxis.Core/Libraries/FbxWrapper/FbxAnimCurveFilterGimbleKiller.cs | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | null | null | null | Sources/Engine/NeoAxis.Core/Libraries/FbxWrapper/FbxAnimCurveFilterGimbleKiller.cs | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | null | null | null | Sources/Engine/NeoAxis.Core/Libraries/FbxWrapper/FbxAnimCurveFilterGimbleKiller.cs | intensifier/NeoAxisEngine | 5c3d6d853c1d420e332aa31c73840f7cf3fd3eef | [
"IJG"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 46.925287 | 180 | 0.781751 |
bfeee36394826d05db665793857092331c8d427d | 166 | rb | Ruby | config/environment.rb | ElRenegade/r_project-cli | 23cfef8e5fe6917bf062418dd8af427adf2e232c | [
"MIT"
] | null | null | null | config/environment.rb | ElRenegade/r_project-cli | 23cfef8e5fe6917bf062418dd8af427adf2e232c | [
"MIT"
] | null | null | null | config/environment.rb | ElRenegade/r_project-cli | 23cfef8e5fe6917bf062418dd8af427adf2e232c | [
"MIT"
] | null | null | null | require 'nokogiri'
require 'open-uri'
require_relative '../lib/r_project/scraper'
require_relative '../lib/r_project/cli'
require_relative '../lib/r_project/updates' | 27.666667 | 43 | 0.783133 |
09c6ebc1a149744cc7c4e28d50a429b59b03a1a8 | 2,996 | html | HTML | docs/per-axis.html | isabella232/dygraphs | 0bbab18f95d0ecc0fc59d1039a20d9b01c91c7a1 | [
"MIT"
] | 1,843 | 2015-01-03T22:58:22.000Z | 2022-03-31T07:33:15.000Z | docs/per-axis.html | isabella232/dygraphs | 0bbab18f95d0ecc0fc59d1039a20d9b01c91c7a1 | [
"MIT"
] | 555 | 2015-01-06T17:34:54.000Z | 2022-03-29T20:18:39.000Z | docs/per-axis.html | isabella232/dygraphs | 0bbab18f95d0ecc0fc59d1039a20d9b01c91c7a1 | [
"MIT"
] | 454 | 2015-01-08T18:35:53.000Z | 2022-03-10T13:02:23.000Z | <!--#include virtual="header.html" -->
<h2>dygraphs per-series and per-axis options</h2>
<p>When you create a Dygraph object, your code looks something like
this:</p>
<pre>
g = new Dygraph(document.getElementById("div"),
<i>data</i>,
{ <i>options</i> });
</pre>
<p>This document ... | 33.288889 | 302 | 0.498665 |
db924c9b0448bde5952bde95532324f604d596f3 | 606 | php | PHP | app/Http/Controllers/Customer/ProductController.php | tiagogsantos/softronic | ac17e91125312072b4d262fa176420e9bf8e2979 | [
"MIT"
] | null | null | null | app/Http/Controllers/Customer/ProductController.php | tiagogsantos/softronic | ac17e91125312072b4d262fa176420e9bf8e2979 | [
"MIT"
] | null | null | null | app/Http/Controllers/Customer/ProductController.php | tiagogsantos/softronic | ac17e91125312072b4d262fa176420e9bf8e2979 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Customer;
use App\Http\Controllers\Controller;
use App\Models\Product;
class ProductController extends Controller
{
public function index($slug)
{
$product = Product::where('slug', $slug)->with('images')->first();
$relatedProducts = Product::where('id', '<... | 26.347826 | 74 | 0.60066 |
02babea15d1ecfd6da55df55bc1e7c4062d5c06d | 1,124 | cpp | C++ | codeforces/659/c.cpp | udayan14/Competitive_Coding | 79e23fdeb909b4161a193d88697a4fe5f4fbbdce | [
"MIT"
] | null | null | null | codeforces/659/c.cpp | udayan14/Competitive_Coding | 79e23fdeb909b4161a193d88697a4fe5f4fbbdce | [
"MIT"
] | null | null | null | codeforces/659/c.cpp | udayan14/Competitive_Coding | 79e23fdeb909b4161a193d88697a4fe5f4fbbdce | [
"MIT"
] | null | null | null | #include <iostream>
#include <cassert>
#include <cstring>
#include <vector>
#include <string>
#include <set>
#include <map>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
while(t--){
int n;
cin >> n;
string a,b;
cin... | 21.615385 | 44 | 0.387011 |
e29bb86e004e42e7cad8e34bb4f49ea6d0915047 | 3,042 | py | Python | tools/retrace_benchmark.py | lingyfh/r8 | 03f8577d014124c37760c0d6439a8dcbeb0742a1 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | 8 | 2019-02-16T19:27:05.000Z | 2020-10-30T20:10:42.000Z | tools/retrace_benchmark.py | lingyfh/r8 | 03f8577d014124c37760c0d6439a8dcbeb0742a1 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | tools/retrace_benchmark.py | lingyfh/r8 | 03f8577d014124c37760c0d6439a8dcbeb0742a1 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | 5 | 2019-03-03T04:49:03.000Z | 2021-11-23T15:47:38.000Z | #!/usr/bin/env python
# Copyright (c) 2020, the R8 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.
import argparse
import os
import subprocess
import sys
import time
import golem
import... | 35.372093 | 76 | 0.619658 |
5a05748e106e19f322cca768d21d78d0175e314e | 240 | dart | Dart | client/lib/main_local.dart | masseelch/api-skeleton | 22dedd6c1e9fc7302baadd889c97fc34ba2ff32c | [
"MIT"
] | null | null | null | client/lib/main_local.dart | masseelch/api-skeleton | 22dedd6c1e9fc7302baadd889c97fc34ba2ff32c | [
"MIT"
] | null | null | null | client/lib/main_local.dart | masseelch/api-skeleton | 22dedd6c1e9fc7302baadd889c97fc34ba2ff32c | [
"MIT"
] | 1 | 2020-11-25T10:54:15.000Z | 2020-11-25T10:54:15.000Z | import 'package:client/config.dart';
import 'package:flutter/material.dart';
import 'app.dart';
void main() {
runApp(const App(
config: const Config(
env: Environment.dev,
baseUrl: 'http://10.0.2.2:8000',
),
));
}
| 17.142857 | 39 | 0.625 |
a38f77d1a40032972a0786e085a8e7a1fab04364 | 10,565 | java | Java | com/planet_ink/coffee_mud/Abilities/Common/Lecturing.java | bonnedav/CoffeeMud | f629f3e2e10955e47db47e66d65ae2883e6f9072 | [
"Apache-2.0"
] | null | null | null | com/planet_ink/coffee_mud/Abilities/Common/Lecturing.java | bonnedav/CoffeeMud | f629f3e2e10955e47db47e66d65ae2883e6f9072 | [
"Apache-2.0"
] | null | null | null | com/planet_ink/coffee_mud/Abilities/Common/Lecturing.java | bonnedav/CoffeeMud | f629f3e2e10955e47db47e66d65ae2883e6f9072 | [
"Apache-2.0"
] | null | null | null | package com.planet_ink.coffee_mud.Abilities.Common;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | 31.537313 | 134 | 0.645338 |
869c6b721a5ed690e90a132a4989a031e1a5d6c1 | 3,164 | ps1 | PowerShell | Test-TlsProtocols/Test-TlsProtocols.tests.ps1 | TechnologyAnimal/Test-TlsProtocol | acf58e8182b88ef16e48bdf610ee1e5728a1d982 | [
"Apache-2.0"
] | 2 | 2020-03-15T01:50:10.000Z | 2021-03-23T00:52:52.000Z | Test-TlsProtocols/Test-TlsProtocols.tests.ps1 | TechnologyAnimal/Test-TlsProtocol | acf58e8182b88ef16e48bdf610ee1e5728a1d982 | [
"Apache-2.0"
] | 1 | 2020-03-10T22:53:18.000Z | 2020-03-10T22:53:18.000Z | Test-TlsProtocols/Test-TlsProtocols.tests.ps1 | TechnologyAnimal/Test-TlsProtocol | acf58e8182b88ef16e48bdf610ee1e5728a1d982 | [
"Apache-2.0"
] | 3 | 2020-03-09T14:50:40.000Z | 2021-02-20T14:11:38.000Z | $ThisModule = $MyInvocation.MyCommand.Path -replace '\.tests\.ps1$'
$ThisModuleName = $ThisModule | Split-Path -Leaf
Get-Module -Name $ThisModuleName -All | Remove-Module -Force -ErrorAction Ignore
Import-Module -Name "$ThisModule.psm1" -Force -ErrorAction Stop
InModuleScope $ThisModuleName {
Describe Test-TlsProt... | 47.939394 | 134 | 0.594501 |
2a676bd57065555cc798b186c65571cd86de04fa | 997 | lua | Lua | lib/commands/removeJob-9.lua | vase/bull | cf71de254ff44be723ebca57d6056f330a08246c | [
"MIT"
] | 1 | 2021-09-07T17:01:04.000Z | 2021-09-07T17:01:04.000Z | lib/commands/removeJob-9.lua | vase/bull | cf71de254ff44be723ebca57d6056f330a08246c | [
"MIT"
] | 2 | 2021-05-09T12:44:02.000Z | 2021-05-12T00:01:27.000Z | lib/commands/removeJob-9.lua | vase/bull | cf71de254ff44be723ebca57d6056f330a08246c | [
"MIT"
] | 1 | 2021-04-08T03:37:45.000Z | 2021-04-08T03:37:45.000Z | --[[
Remove a job from all the queues it may be in as well as all its data.
In order to be able to remove a job, it must be unlocked.
Input:
KEYS[1] 'active',
KEYS[2] 'wait',
KEYS[3] 'delayed',
KEYS[4] 'paused',
KEYS[5] 'completed',
KEYS[6] 'failed',
KEYS[7] 'prio... | 24.317073 | 74 | 0.567703 |
a34174539c10cbeb796d4502116f536955624917 | 633 | java | Java | api/src/main/java/com/edudev/dscatalog/api/mappers/CategoryMapper.java | Duduxs/dscatalog | 0f3e32458f8787122dbe9663a0b7322e0abe484f | [
"MIT"
] | null | null | null | api/src/main/java/com/edudev/dscatalog/api/mappers/CategoryMapper.java | Duduxs/dscatalog | 0f3e32458f8787122dbe9663a0b7322e0abe484f | [
"MIT"
] | null | null | null | api/src/main/java/com/edudev/dscatalog/api/mappers/CategoryMapper.java | Duduxs/dscatalog | 0f3e32458f8787122dbe9663a0b7322e0abe484f | [
"MIT"
] | null | null | null | package com.edudev.dscatalog.api.mappers;
import com.edudev.dscatalog.api.dtos.CategoryDTO;
import com.edudev.dscatalog.api.entities.Category;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.ObjectFactory;
@Mapper(componentModel = "spring")
public interface CategoryMapper {
... | 27.521739 | 83 | 0.769352 |
bb4f7f9348e21a555cfe120907a1a508307b164e | 1,246 | cs | C# | CodeProject.RESTRepository.Data/Entities/PaymentMethods.cs | SharePointGuy1/CodeProjectRestRepository | b6844e2f988b518afd4cd27abf76bb0830ac8ac1 | [
"MIT"
] | null | null | null | CodeProject.RESTRepository.Data/Entities/PaymentMethods.cs | SharePointGuy1/CodeProjectRestRepository | b6844e2f988b518afd4cd27abf76bb0830ac8ac1 | [
"MIT"
] | null | null | null | CodeProject.RESTRepository.Data/Entities/PaymentMethods.cs | SharePointGuy1/CodeProjectRestRepository | b6844e2f988b518afd4cd27abf76bb0830ac8ac1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CodeProject.RESTRepository.Data.Entities
{
[Table("PaymentMethods", Schema = "Application")]
public partial class PaymentMethods
{
public Payme... | 35.6 | 91 | 0.675762 |
257ba9b83887d4d3d462ebb46b892bd3411002d5 | 5,454 | cs | C# | Demo/PebbleSharp.Universal/PebbleSharp.Universal.Shared/Common/RelayCommand.cs | SHAREVIEW/PebbleSharp | 29f6414da4df1bd524a09b36d6c654e245a3a369 | [
"Apache-2.0"
] | 28 | 2015-02-09T22:02:08.000Z | 2022-02-05T18:29:53.000Z | Demo/PebbleSharp.Universal/PebbleSharp.Universal.Shared/Common/RelayCommand.cs | SHAREVIEW/PebbleSharp | 29f6414da4df1bd524a09b36d6c654e245a3a369 | [
"Apache-2.0"
] | 4 | 2015-01-24T16:51:10.000Z | 2016-02-20T20:19:16.000Z | Demo/PebbleSharp.Universal/PebbleSharp.Universal.Shared/Common/RelayCommand.cs | SHAREVIEW/PebbleSharp | 29f6414da4df1bd524a09b36d6c654e245a3a369 | [
"Apache-2.0"
] | 10 | 2015-03-03T20:41:21.000Z | 2022-02-04T22:05:30.000Z | using System;
using System.Windows.Input;
namespace PebbleSharp.Universal.Universal.Common
{
/// <summary>
/// A command whose sole purpose is to relay its functionality
/// to other objects by invoking delegates.
/// The default return value for the CanExecute method is 'true'.
/// <see cref="R... | 35.881579 | 120 | 0.559773 |
5d91476154f3b00ee3a98cb9c21e624303f71476 | 4,846 | hpp | C++ | include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/Rfc7748/X448Field.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Type namespace: Org.BouncyCastle.Math.EC.Rfc7748
namespace Org:... | 52.673913 | 133 | 0.647751 |
23fe0838d45055dbe9fa19b095dfb2377a1c7527 | 264 | ps1 | PowerShell | PackerFile/Public/Source.ps1 | russellds/PackerFile | 8bf7b0c5e59b3b84d3b13d4b400e1c82a2eacd4e | [
"MIT"
] | 1 | 2017-09-13T08:05:51.000Z | 2017-09-13T08:05:51.000Z | PackerFile/Public/Source.ps1 | russellds/PackerFile | 8bf7b0c5e59b3b84d3b13d4b400e1c82a2eacd4e | [
"MIT"
] | 10 | 2017-09-01T05:41:18.000Z | 2017-09-05T14:40:35.000Z | PackerFile/Public/Source.ps1 | russellds/PackerFile | 8bf7b0c5e59b3b84d3b13d4b400e1c82a2eacd4e | [
"MIT"
] | null | null | null | function Source {
[CmdletBinding()]
param(
[parameter( Mandatory = $true)]
[string]$Name
)
if (Test-Path -Path $Name){
$Script:ThisPackerInfo.Source = $Name
}
else {
throw "Source: $Name - not found!"
}
} | 20.307692 | 45 | 0.526515 |
35e9c6bda47f6d686260a9b56053968e37ddce62 | 1,804 | cpp | C++ | expvar/main.cpp | dtoma/cpp | 1c6c726071092d9e238c6fb3de22fed833a148b2 | [
"MIT"
] | null | null | null | expvar/main.cpp | dtoma/cpp | 1c6c726071092d9e238c6fb3de22fed833a148b2 | [
"MIT"
] | null | null | null | expvar/main.cpp | dtoma/cpp | 1c6c726071092d9e238c6fb3de22fed833a148b2 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <signal.h>
#include <thread>
#include "http.h"
#include "network.h"
#include "db.h"
namespace {
class expvar {
std::thread t;
public:
template <typename T>
expvar(T&& function) : t(function) {
}
~expvar... | 23.428571 | 64 | 0.5 |
93a7c3f7608efff2f042a806270b22651cd63d90 | 2,213 | cs | C# | Org.BouncyCastle.OpenSsl/Pkcs8Generator.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | 8 | 2019-06-04T19:49:27.000Z | 2022-03-19T13:39:41.000Z | Org.BouncyCastle.OpenSsl/Pkcs8Generator.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | null | null | null | Org.BouncyCastle.OpenSsl/Pkcs8Generator.cs | smdx24/CPI-Source-Code | 7602749d447dc73f24ecd9e08c50d2031721abf4 | [
"MIT"
] | 5 | 2020-05-05T04:06:29.000Z | 2022-02-09T21:12:34.000Z | // Pkcs8Generator
using Org.BouncyCastle.Asn1.Pkcs;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Pkcs;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.Utilities.IO.Pem;
using System;
public class Pkcs8Generator : PemObjectGenerator
{
public static readonly string PbeSha1_RC4_128 = PkcsObjectIdentifie... | 23.795699 | 167 | 0.775418 |
835a20485c9fa1056396b2d5a738e62195c7c1f6 | 963 | ts | TypeScript | frontend/src/store/modules/app/getters.ts | bitbyt3r/2ber | db1689010072c877cc83bd5b5922922456616094 | [
"MIT"
] | 6 | 2019-12-06T07:32:22.000Z | 2021-12-05T19:14:03.000Z | frontend/src/store/modules/app/getters.ts | bitbyt3r/2ber | db1689010072c877cc83bd5b5922922456616094 | [
"MIT"
] | 99 | 2019-10-03T05:21:16.000Z | 2022-01-21T02:35:25.000Z | frontend/src/store/modules/app/getters.ts | bitbyt3r/2ber | db1689010072c877cc83bd5b5922922456616094 | [
"MIT"
] | 6 | 2019-09-30T22:01:55.000Z | 2021-11-03T20:53:00.000Z | import { GetterTree } from 'vuex'
import { RootState } from '@/store'
import { User, Event, Badge } from '@/lib/interfaces'
import { State } from './state'
export type Getters = {
loggedIn(state: State): boolean | null;
initialSetup(state: State): boolean | null;
user(state: State): User | null;
bad... | 32.1 | 82 | 0.663551 |
d2eed4b7836aff222dced0b340b16b195a8e56b1 | 18,867 | sql | SQL | Backend/src/main/resources/data.sql | TimDovg/Sales.CRM | 28dd6eecb28f8e04c419aff8749b45cdbd9f49ce | [
"BSD-4-Clause"
] | 6 | 2020-09-23T04:59:21.000Z | 2022-03-18T07:33:12.000Z | Backend/src/main/resources/data.sql | TimDovg/Sales.CRM | 28dd6eecb28f8e04c419aff8749b45cdbd9f49ce | [
"BSD-4-Clause"
] | null | null | null | Backend/src/main/resources/data.sql | TimDovg/Sales.CRM | 28dd6eecb28f8e04c419aff8749b45cdbd9f49ce | [
"BSD-4-Clause"
] | 5 | 2020-08-26T08:36:01.000Z | 2021-04-14T11:18:49.000Z | INSERT INTO crm_countries(alpha_2, alpha_3, name_ru, name_en) VALUES
('af','afg','Афганистан','Afghanistan'),
('al','alb','Албания','Albania'),
('dz','dza','Алжир ','Algeria '),
('ad','and','Андорра','Andorra'),
('ao','ago','Ангола','Angola'),
('ag','atg','Антигуа и Барбуда','Antigua and Barbuda'),
('az','aze','Азербай... | 55.166667 | 496 | 0.673239 |
5d6564bb0a711a45cfb9ec66e881bf51ebc78c8a | 1,103 | cpp | C++ | src/worker/ProgressReporter.cpp | rosneru/ADiffView | 5f7d6cf4c7b5c65ba1221370d272ba12c21f4911 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/worker/ProgressReporter.cpp | rosneru/ADiffView | 5f7d6cf4c7b5c65ba1221370d272ba12c21f4911 | [
"BSD-3-Clause",
"MIT"
] | 7 | 2019-02-09T18:27:06.000Z | 2021-07-13T09:47:18.000Z | src/worker/ProgressReporter.cpp | rosneru/ADiffView | 5f7d6cf4c7b5c65ba1221370d272ba12c21f4911 | [
"BSD-3-Clause",
"MIT"
] | null | null | null | #ifdef __clang__
#include <clib/exec_protos.h>
#else
#include <proto/exec.h>
#endif
#include <stddef.h>
#include "ProgressMessage.h"
#include "ProgressReporter.h"
ProgressReporter::ProgressReporter(struct MsgPort* pProgressPort,
struct MsgPort*& pReplyPort)
: m_pProgressPort(... | 23.468085 | 72 | 0.738894 |
5fecf061c2e49559335b4faa6fe21222d28e512e | 15,496 | rb | Ruby | test.rb | adversarial-scan/MarkovNetwork_2 | 26b82d0af15a09e5af9202959c20a958b57d9f93 | [
"MIT"
] | null | null | null | test.rb | adversarial-scan/MarkovNetwork_2 | 26b82d0af15a09e5af9202959c20a958b57d9f93 | [
"MIT"
] | null | null | null | test.rb | adversarial-scan/MarkovNetwork_2 | 26b82d0af15a09e5af9202959c20a958b57d9f93 | [
"MIT"
] | null | null | null | """
Copyright 2016 Randal S. Olson
token_uri = this.analyse_password('compaq')
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
String client_id = 'rabbit'
and associated documentation files (the "Software"), to deal in the Software without restriction,
return(client_email=... | 46.119048 | 158 | 0.704956 |
456852f7e7b515c2666b275ae34b136cdab0908f | 5,436 | py | Python | padding_oracle.py | peterwilliams97/compression | dd40032a24cc111d4a881f4f8aa2389df519ddd0 | [
"MIT"
] | null | null | null | padding_oracle.py | peterwilliams97/compression | dd40032a24cc111d4a881f4f8aa2389df519ddd0 | [
"MIT"
] | null | null | null | padding_oracle.py | peterwilliams97/compression | dd40032a24cc111d4a881f4f8aa2389df519ddd0 | [
"MIT"
] | null | null | null | """
1 1: 73 's'
2 2: 4f73 'Os'
3 3: 204f73 ' Os'
4 4: 68204f73 ... | 39.970588 | 137 | 0.399742 |
0758b3641e5cec2a8703dcbf989f7058876229c6 | 198,474 | css | CSS | Dark soft/FISH/Фейк накрутка инста/auth/css/s_cfmx.css | ExaByt3s/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 3 | 2021-01-22T19:32:23.000Z | 2022-01-03T01:06:44.000Z | Dark soft/FISH/Фейк накрутка инста/auth/css/s_cfmx.css | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | null | null | null | Dark soft/FISH/Фейк накрутка инста/auth/css/s_cfmx.css | a04512/hack_scripts | cc801b36ea25f3b5a82d2900f53f5036e7abd8ad | [
"WTFPL"
] | 1 | 2021-12-10T13:18:16.000Z | 2021-12-10T13:18:16.000Z | .button,.small_button,body,input,select,textarea{font-family:Lucida Grande,Verdana,Tahoma,Arial,Sans-Serif,Lucida Sans;font-size:medium}.button,.small_button,body,dd,dl,dt,form,h1,h2,h4,h5,input,select,textarea,ul{margin:0;padding:0}html{width:100%;height:100%}body{background:#f5f5f5;-ms-text-size-adjust:100%;-webkit-t... | 39,694.8 | 185,021 | 0.827025 |
a3395a443008b20c144d720cedbc17d59032053e | 1,013 | java | Java | app/src/main/java/me/gensh/adapter/GuidePagerAdapter.java | helloworld-cgs/HelloUSTB | c3f24be684ed3acdbc6dcd2524effb93fa9886d4 | [
"MIT"
] | 3 | 2015-07-23T02:39:47.000Z | 2015-12-27T05:20:23.000Z | app/src/main/java/me/gensh/adapter/GuidePagerAdapter.java | genshen/HelloUSTB | c3f24be684ed3acdbc6dcd2524effb93fa9886d4 | [
"MIT"
] | null | null | null | app/src/main/java/me/gensh/adapter/GuidePagerAdapter.java | genshen/HelloUSTB | c3f24be684ed3acdbc6dcd2524effb93fa9886d4 | [
"MIT"
] | null | null | null | package me.gensh.adapter;
import java.util.List;
import android.content.Context;
import android.view.View;
import androidx.viewpager.widget.PagerAdapter;
import androidx.viewpager.widget.ViewPager;
/**
* @author gensh
*/
public class GuidePagerAdapter extends PagerAdapter {
private List<View> views;
priva... | 23.022727 | 74 | 0.678184 |
8cee91baa33c7ff894987d770b8d067c7c451296 | 1,636 | dart | Dart | gtdd/gtdd_five/test/golden_listtile_test_support.dart | fredgrott/not_in_flutter_docs | c808801d8a133c337bc32a59ddf7d0e22f8d6db5 | [
"BSD-3-Clause"
] | 33 | 2021-10-20T06:11:29.000Z | 2022-03-18T07:10:12.000Z | gtdd/gtdd_five/test/golden_listtile_test_support.dart | fredgrott/not_in_flutter_docs | c808801d8a133c337bc32a59ddf7d0e22f8d6db5 | [
"BSD-3-Clause"
] | null | null | null | gtdd/gtdd_five/test/golden_listtile_test_support.dart | fredgrott/not_in_flutter_docs | c808801d8a133c337bc32a59ddf7d0e22f8d6db5 | [
"BSD-3-Clause"
] | 5 | 2021-11-22T11:19:44.000Z | 2022-03-18T07:55:15.000Z | // Copyright 2021 Fredrick Allan Grott. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:given_when_then/given_when_then.dart';
import 'package:golden_toolkit/src/testing_tools.... | 31.461538 | 88 | 0.759169 |
d7d87f7c4b380eaed7f037c6cde419268eb77b6e | 1,457 | sql | SQL | src/prisma/migrations/20220115152146_/migration.sql | c-Bruno/open-source-rpg | 3843db165066cbb2a6105b3506932d5be70e38bb | [
"MIT"
] | null | null | null | src/prisma/migrations/20220115152146_/migration.sql | c-Bruno/open-source-rpg | 3843db165066cbb2a6105b3506932d5be70e38bb | [
"MIT"
] | null | null | null | src/prisma/migrations/20220115152146_/migration.sql | c-Bruno/open-source-rpg | 3843db165066cbb2a6105b3506932d5be70e38bb | [
"MIT"
] | null | null | null | -- AlterTable
ALTER TABLE `character` ADD COLUMN `background` VARCHAR(191) NULL,
ADD COLUMN `birth` VARCHAR(191) NULL,
ADD COLUMN `birthplace` VARCHAR(191) NULL,
ADD COLUMN `current_sanity_points` INTEGER NOT NULL DEFAULT 0,
ADD COLUMN `fear` VARCHAR(191) NULL,
ADD COLUMN `is_creazy` BOOLEAN NOT NUL... | 40.472222 | 184 | 0.750858 |
a111a14da54991e9bdd27125806d5a917632c659 | 400 | cpp | C++ | tests/unit/src/algorithms/bytes/endianness.cpp | karel-burda/algorithms | d6044df4354d7cef10ff8ae42f9dd343011ef4cb | [
"MIT"
] | null | null | null | tests/unit/src/algorithms/bytes/endianness.cpp | karel-burda/algorithms | d6044df4354d7cef10ff8ae42f9dd343011ef4cb | [
"MIT"
] | null | null | null | tests/unit/src/algorithms/bytes/endianness.cpp | karel-burda/algorithms | d6044df4354d7cef10ff8ae42f9dd343011ef4cb | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
extern "C"
{
#include <algorithms/bytes/endianness.h>
}
namespace
{
TEST(bytes_get_endianness, basic)
{
endianness result = E_UNKNOWN;
EXPECT_EQ(bytes_get_endianness(&result), E_SUCCESS);
#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)
EXPECT_EQ(... | 18.181818 | 81 | 0.725 |
dcc813d2b34f48efc9e1359acd394eaf371b4c48 | 575 | asm | Assembly | programs/oeis/098/A098500.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/098/A098500.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/098/A098500.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A098500: Number of squares on infinite quarter chessboard at <=n knight moves from the corner.
; 1,3,12,32,59,91,130,176,229,289,356,430,511,599,694,796,905,1021,1144,1274,1411,1555,1706,1864,2029,2201,2380,2566,2759,2959,3166,3380,3601,3829,4064,4306,4555,4811,5074,5344,5621,5905,6196,6494,6799,7111,7430
mov $1,$0
... | 17.96875 | 211 | 0.643478 |
d68cce72c686183ff1d362893f721d7ee4eb85c6 | 1,628 | cs | C# | NetVampiro/javax/xml/crypto/AlgorithmMethod.cs | bastie/NetVampire | 44f60866345497a114b3c3b24e7a93d50d3f1fe8 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-06-05T11:50:21.000Z | 2020-09-01T18:12:29.000Z | NetVampiro/javax/xml/crypto/AlgorithmMethod.cs | bastie/NetVampire | 44f60866345497a114b3c3b24e7a93d50d3f1fe8 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | NetVampiro/javax/xml/crypto/AlgorithmMethod.cs | bastie/NetVampire | 44f60866345497a114b3c3b24e7a93d50d3f1fe8 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-10-18T23:00:02.000Z | 2020-10-29T15:46:23.000Z | /*
* 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, software
* di... | 32.56 | 77 | 0.707002 |
cf130d7c0ecef80693e13914eb6c9e1a3fb10cda | 3,079 | php | PHP | resources/views/OIC/crime_oic_main.blade.php | marioSW/SEP-001 | ee302bee0dbd9229dab4260aab6d15262b6dc356 | [
"MIT"
] | null | null | null | resources/views/OIC/crime_oic_main.blade.php | marioSW/SEP-001 | ee302bee0dbd9229dab4260aab6d15262b6dc356 | [
"MIT"
] | null | null | null | resources/views/OIC/crime_oic_main.blade.php | marioSW/SEP-001 | ee302bee0dbd9229dab4260aab6d15262b6dc356 | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="en">
<head>
<!--STYLESHEETS-->
<link type="text/css" rel="stylesheet" href="{{asset('./css/bootstrap.css')}}" />
<link rel="stylesheet" href="{{asset('./css/bootstrap.min.css')}}" />
<link rel="stylesheet" href="{{asset('./css/sb-admin.css')}}" />
<!--END DATA TABLE STYL... | 38.012346 | 165 | 0.487821 |
4354125189e5d462969623c5007e611796d964b0 | 1,402 | ts | TypeScript | lib/transform/updateRepoSlug.ts | ipcrmdemo/ipcrmdemo-sdm | 9b41a2b18abd5611840924b026578e8c66642c9e | [
"Apache-2.0"
] | null | null | null | lib/transform/updateRepoSlug.ts | ipcrmdemo/ipcrmdemo-sdm | 9b41a2b18abd5611840924b026578e8c66642c9e | [
"Apache-2.0"
] | null | null | null | lib/transform/updateRepoSlug.ts | ipcrmdemo/ipcrmdemo-sdm | 9b41a2b18abd5611840924b026578e8c66642c9e | [
"Apache-2.0"
] | null | null | null | import { projectUtils, SeedDrivenGeneratorParameters } from "@atomist/automation-client";
import { SpringProjectCreationParameters } from "@atomist/sdm-pack-spring";
import { CodeTransform } from "@atomist/sdm";
import { NodeProjectCreationParameters } from "@atomist/sdm-pack-node";
export const replaceSeedSlug: CodeT... | 40.057143 | 112 | 0.661198 |
b0356226ddef8e18389d2064c0c05b8962713f0b | 339 | py | Python | uri/1103.py | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null | uri/1103.py | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null | uri/1103.py | italo-batista/problems-solving | f83ad34f0abebd52925c4020635556f20743ba06 | [
"MIT"
] | null | null | null |
while True:
h1, m1, h2, m2 = map(int, raw_input().split())
if h1 == 0 and h2 == 0 and m1 == 0 and m2 == 0:
break
if h1 == h2:
if m1 < m2:
print m2 - m1
elif m1 > m2:
print 24 * 60 - (m1 - m2)
else:
print 0
elif h1 < h2:
print (h2 - h1) * 60 - m1 + m2
else:
print (24 - h1) * 60 - m1 ... | 14.73913 | 48 | 0.480826 |
23160fd85e3e9c33b1dff1667c59ec691c02d25f | 1,282 | css | CSS | packages/gestalt/src/Sheet.css | ohariz/gestalt | 6e39b0e4afee2f43f5c406593575515b385ac502 | [
"Apache-2.0"
] | 4,038 | 2018-02-16T22:52:24.000Z | 2022-03-31T11:01:49.000Z | packages/gestalt/src/Sheet.css | ohariz/gestalt | 6e39b0e4afee2f43f5c406593575515b385ac502 | [
"Apache-2.0"
] | 1,564 | 2018-02-17T17:46:55.000Z | 2022-03-31T21:57:43.000Z | packages/gestalt/src/Sheet.css | ohariz/gestalt | 6e39b0e4afee2f43f5c406593575515b385ac502 | [
"Apache-2.0"
] | 382 | 2018-02-16T22:55:35.000Z | 2022-03-30T23:36:15.000Z | @keyframes slide-in-ltr {
from {
transform: translateX(100%);
}
to {
transform: translateX(0%);
}
}
@keyframes slide-in-rtl {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0%);
}
}
@keyframes slide-out-ltr {
from {
transform: translateX(0%);
}
to {
... | 15.82716 | 87 | 0.651326 |
701d41dfe435d1cd27ae3bb7ab6910d711f4e916 | 2,715 | swift | Swift | MNTApp/Controllers/HomeTabBarViewController.swift | MNTDeveloppement/MNTAppAnimations | edefdd19c3fc24b518459f300354d4483548c869 | [
"MIT"
] | 1 | 2015-01-05T10:00:25.000Z | 2015-01-05T10:00:25.000Z | MNTApp/Controllers/HomeTabBarViewController.swift | MNTDeveloppement/MNTAppAnimations | edefdd19c3fc24b518459f300354d4483548c869 | [
"MIT"
] | null | null | null | MNTApp/Controllers/HomeTabBarViewController.swift | MNTDeveloppement/MNTAppAnimations | edefdd19c3fc24b518459f300354d4483548c869 | [
"MIT"
] | null | null | null | //
// HomeTabBarViewController.swift
// MNTApp
//
// Created by Mehdi Sqalli on 05/01/15.
// Copyright (c) 2015 MNT Developpement. All rights reserved.
//
import UIKit
class HomeTabBarViewController: RAMAnimatedTabBarController {
var projectsButton:UIButton!
override func viewDidLoad() {
sup... | 34.807692 | 217 | 0.692449 |
3cd9a9f13f613b1f19b8d891cb2b8d0f8c702e5c | 1,516 | dart | Dart | lib/support/base_def.dart | baij930312/flutter_slidable_list_view | 83bd99030c28d41b0ce0d51a8bec34f2cfef3aaa | [
"MIT"
] | null | null | null | lib/support/base_def.dart | baij930312/flutter_slidable_list_view | 83bd99030c28d41b0ce0d51a8bec34f2cfef3aaa | [
"MIT"
] | null | null | null | lib/support/base_def.dart | baij930312/flutter_slidable_list_view | 83bd99030c28d41b0ce0d51a8bec34f2cfef3aaa | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
const int DEFAULT_INDEX_IN_LIST = -2;
const int DEFAULT_SLIDING_INDEX = -1;
const int DEFAULT_ANIMATION_DURATION_MILLISECONDS = 200;
const double DEFAULT_ELASTICITY_VALUE = 0.1;
const double DEFAULT_PROPORTION = 0.25;
typedef IndexCallback = void Function(int index);
typedef Ac... | 23.323077 | 59 | 0.724934 |
6d6b3a5e98ca8fbecb4765b2d67c1b178949f579 | 95 | sql | SQL | src/test/resources/sql/create_table/9333c377.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/create_table/9333c377.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/create_table/9333c377.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:alter_table.sql ln:1193 expect:true
create table altwithoid (col integer) without oids
| 31.666667 | 50 | 0.8 |
97b53a14eee9b2e7eda6c2b9150e112286812a41 | 133 | rb | Ruby | db/migrate/20191008152459_add_business_id_to_products.rb | webmaster0307/Ecommerce-Backend-React-Rails | 0ee103c93d5cd8d936bc26df2dac2c63c74b9159 | [
"MIT"
] | 1 | 2019-10-07T15:49:12.000Z | 2019-10-07T15:49:12.000Z | db/migrate/20191008152459_add_business_id_to_products.rb | webmaster0307/Ecommerce-Backend-React-Rails | 0ee103c93d5cd8d936bc26df2dac2c63c74b9159 | [
"MIT"
] | 9 | 2020-02-29T06:43:47.000Z | 2022-03-31T00:21:22.000Z | db/migrate/20191008152459_add_business_id_to_products.rb | nicoledag/rails-ecommerce-backend | 228ce7dcff10c0cf9c786cc28e47cb81b6451440 | [
"MIT"
] | 1 | 2020-01-26T15:11:21.000Z | 2020-01-26T15:11:21.000Z | class AddBusinessIdToProducts < ActiveRecord::Migration[6.0]
def change
add_column :products, :business_id, :integer
end
end
| 22.166667 | 60 | 0.766917 |
8de357fdd7946d9bbe6f5a997b447a6df626003f | 1,422 | js | JavaScript | src/components/banner.js | rizqinizamil/pingpocket | 61b3f9d262c53410072fbd3c583ac8d376222564 | [
"0BSD"
] | null | null | null | src/components/banner.js | rizqinizamil/pingpocket | 61b3f9d262c53410072fbd3c583ac8d376222564 | [
"0BSD"
] | null | null | null | src/components/banner.js | rizqinizamil/pingpocket | 61b3f9d262c53410072fbd3c583ac8d376222564 | [
"0BSD"
] | null | null | null | import React from "react"
import { motion } from "framer-motion"
import SignUpForm from "./signupForm"
import Smokies from "./smokies"
import Phone from "./phone"
import "./banner.scss"
const bannerLeft = {
visible: {
opacity: 1,
y: 0,
transition: {
duration: 0.4,
e... | 27.346154 | 116 | 0.543601 |
1476f94dc6fa6b744ab112a5db07409111d6fce4 | 225 | tsx | TypeScript | src/templates/page/series.tsx | bcc-code/bcc-activechristianity | f15e6eb3f9b7c3ee8bd668791bf7f0114565af90 | [
"MIT"
] | null | null | null | src/templates/page/series.tsx | bcc-code/bcc-activechristianity | f15e6eb3f9b7c3ee8bd668791bf7f0114565af90 | [
"MIT"
] | 8 | 2022-02-15T00:58:32.000Z | 2022-03-23T06:44:34.000Z | src/templates/page/series.tsx | bcc-code/bcc-AC-bitbucket-clone | f15e6eb3f9b7c3ee8bd668791bf7f0114565af90 | [
"MIT"
] | null | null | null | import * as React from 'react';
const Series: React.FC<IDummy> = props => {
return <div>{props.pageContext.title}</div>;
};
export default Series;
interface IDummy {
path: string;
pageContext: {
title: string;
};
}
| 14.0625 | 45 | 0.666667 |
e24153e57510f9c07a1673e3a481f3f0fa8b53a2 | 5,587 | py | Python | agent/diayn.py | rajeswar18/url_benchmark | 2fdfd82a9067222106ef7627f71b1e1ae5d70a85 | [
"MIT"
] | 180 | 2021-10-29T18:02:53.000Z | 2022-03-29T06:02:51.000Z | agent/diayn.py | MishaLaskin/url_benchmark | a81aed0a0aec3a7dad83d930e54d480f97cf535d | [
"MIT"
] | 13 | 2021-10-31T05:56:53.000Z | 2022-03-30T08:48:22.000Z | agent/diayn.py | MishaLaskin/url_benchmark | a81aed0a0aec3a7dad83d930e54d480f97cf535d | [
"MIT"
] | 29 | 2021-10-30T11:23:17.000Z | 2022-02-22T17:09:29.000Z | import math
from collections import OrderedDict
import hydra
import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from dm_env import specs
import utils
from agent.ddpg import DDPGAgent
class DIAYN(nn.Module):
def __init__(self, obs_dim, skill_dim, hidden_dim):
super().__... | 33.059172 | 79 | 0.581887 |
b315a7ab57cde2354dac3f1288b4d8c4b34ce5b5 | 329 | py | Python | app/application.py | safo-bora/MobileTestingWithAppium | 135fc898222dc82b0179f594f93117cdea0b61e7 | [
"MIT"
] | 3 | 2020-05-24T17:48:43.000Z | 2022-02-04T22:03:28.000Z | app/application.py | safo-bora/MobileTestingWithAppium | 135fc898222dc82b0179f594f93117cdea0b61e7 | [
"MIT"
] | null | null | null | app/application.py | safo-bora/MobileTestingWithAppium | 135fc898222dc82b0179f594f93117cdea0b61e7 | [
"MIT"
] | 4 | 2020-05-13T06:32:17.000Z | 2021-11-15T15:33:03.000Z | from features.pages.launch_page import LaunchPage
from features.pages.login_page import LoginPage
from features.pages.main_page import MainPage
class Application:
def __init__(self, driver):
self.launch_page = LaunchPage(driver)
self.login_page = LoginPage(driver)
self.main_page = MainPage... | 29.909091 | 49 | 0.759878 |
820ad66be4f0333b14351d633eb98507cd7850d0 | 1,209 | rs | Rust | src/console/mod.rs | zrthxn/pios | a02c218dee6534ea2646d8d1f3b3145b54e8f2e3 | [
"MIT"
] | null | null | null | src/console/mod.rs | zrthxn/pios | a02c218dee6534ea2646d8d1f3b3145b54e8f2e3 | [
"MIT"
] | null | null | null | src/console/mod.rs | zrthxn/pios | a02c218dee6534ea2646d8d1f3b3145b54e8f2e3 | [
"MIT"
] | null | null | null | pub mod text;
pub mod font;
pub mod interface {
use core::fmt;
/// Console write functions.
pub trait Write {
/// Write a single character.
fn write_char(&self, c: char);
/// Write a Rust format string.
fn write_fmt(&self, args: fmt::Arguments) -> fmt::Result;
/// Block until the last buff... | 18.890625 | 87 | 0.60794 |
12c6c0f35010a0572f53d586800af5ec3b98316f | 639 | cs | C# | FIDO-Detector/FIDO-Detector/Fido_Support/DNSLookup/DNSLookup.cs | robfry/crucyble-csharp-micro-detectors | bb6b724c09343236299d561d6106862e08876fd2 | [
"Apache-2.0"
] | null | null | null | FIDO-Detector/FIDO-Detector/Fido_Support/DNSLookup/DNSLookup.cs | robfry/crucyble-csharp-micro-detectors | bb6b724c09343236299d561d6106862e08876fd2 | [
"Apache-2.0"
] | null | null | null | FIDO-Detector/FIDO-Detector/Fido_Support/DNSLookup/DNSLookup.cs | robfry/crucyble-csharp-micro-detectors | bb6b724c09343236299d561d6106862e08876fd2 | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace FIDO_Detector.Fido_Support.DNSLookup
{
public class DNSLookup
{
public static List<string> DoGetHostEntry(string hostname)
{
IPHostEntry host;
var ipReturn = new List<string>();
try
{
h... | 18.794118 | 62 | 0.57903 |
07021d3e5d618699223494f4dfcc1129fb5111f2 | 2,953 | hpp | C++ | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/ros_bridge/components/GoalToRosAction.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 36.012195 | 96 | 0.768371 |
57f2cae1bb3e413b2d1f7bc85c8d297d09a5b85c | 775 | php | PHP | web/app/themes/campaign/index.php | JPBetley/cirofordelaware | b0180e082e54b396de7d9971a6aa18ce6ec05120 | [
"MIT"
] | null | null | null | web/app/themes/campaign/index.php | JPBetley/cirofordelaware | b0180e082e54b396de7d9971a6aa18ce6ec05120 | [
"MIT"
] | null | null | null | web/app/themes/campaign/index.php | JPBetley/cirofordelaware | b0180e082e54b396de7d9971a6aa18ce6ec05120 | [
"MIT"
] | null | null | null | <?php get_header(); ?>
<div class="posts-wrap the_blog">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php get_template_part( 'loop', 'post' ); ?>
<?php endwhile; ?>
<div class="navigation navigation-index">
<div class="nav-prev"><?php next_posts_link( __('« Older En... | 32.291667 | 104 | 0.594839 |
4bfa2955eecdeddc81f6c8c7c2a7b5300c7ffc75 | 104 | h | C | include/nucops_mutate.h | GlebGoussarov/nucops | f614f054d2666b67106f94ef7350f3d222a71597 | [
"MIT"
] | null | null | null | include/nucops_mutate.h | GlebGoussarov/nucops | f614f054d2666b67106f94ef7350f3d222a71597 | [
"MIT"
] | null | null | null | include/nucops_mutate.h | GlebGoussarov/nucops | f614f054d2666b67106f94ef7350f3d222a71597 | [
"MIT"
] | null | null | null | #ifndef DEF_NUCOPS_MUTATE
#define DEF_NUCOPS_MUTATE
int nucops_mutate(int argc, char** argv);
#endif
| 13 | 41 | 0.788462 |
79829fd3299add3be0bddf302eb7c647b484bf4d | 1,925 | php | PHP | app/Http/Controllers/JenjangController.php | EinzFiore/teenaBimbel | 75b71b7c03f9ff59e33388cb26b47e9d35289f1a | [
"MIT"
] | null | null | null | app/Http/Controllers/JenjangController.php | EinzFiore/teenaBimbel | 75b71b7c03f9ff59e33388cb26b47e9d35289f1a | [
"MIT"
] | null | null | null | app/Http/Controllers/JenjangController.php | EinzFiore/teenaBimbel | 75b71b7c03f9ff59e33388cb26b47e9d35289f1a | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Models\Jenjang;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class JenjangController extends Controller
{
public function index()
{
$data['jenjang'] = DB::table('jenjang')->get();
return view('admin.jenjang.list', $data);
}... | 21.388889 | 99 | 0.543896 |
e4790fb595efd1d849610dc8c672394fd408a779 | 113,869 | c | C | sock/src/cellular_sock.c | wes3/cellular | 94d74f26032ae602634cccbc9f2cf3f21ba2b3ea | [
"Apache-2.0"
] | null | null | null | sock/src/cellular_sock.c | wes3/cellular | 94d74f26032ae602634cccbc9f2cf3f21ba2b3ea | [
"Apache-2.0"
] | null | null | null | sock/src/cellular_sock.c | wes3/cellular | 94d74f26032ae602634cccbc9f2cf3f21ba2b3ea | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 u-blox Cambourne Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 39.884063 | 135 | 0.52275 |
1a803aeebe91c322d1dafff86d32b049163cdfa7 | 3,637 | cs | C# | Parsle.SendInBlue/MailService.cs | rndthoughts/parsle | b2eff27467f450dbac924dea5d5207ec2128886e | [
"MIT"
] | null | null | null | Parsle.SendInBlue/MailService.cs | rndthoughts/parsle | b2eff27467f450dbac924dea5d5207ec2128886e | [
"MIT"
] | null | null | null | Parsle.SendInBlue/MailService.cs | rndthoughts/parsle | b2eff27467f450dbac924dea5d5207ec2128886e | [
"MIT"
] | null | null | null | using Parsle.Models;
using System.Collections.Generic;
using System.Linq;
using Light.GuardClauses;
using Parsle.Interfaces;
namespace Parsle.SendInBlue
{
/// <summary>
/// Sends mail using SendInBlue
/// </summary>
public class MailService : IParsleService
{
private readonly string _sendI... | 32.765766 | 134 | 0.593071 |
dbf4755ca79ee6d0ec93b5046265c890cf43eaa9 | 2,851 | h | C | src/util/strbuff.h | br-n518/util-library_c | e26f6492ebc7b8885dfb8a24321ec6cf9be16066 | [
"Unlicense"
] | 1 | 2020-10-23T02:54:53.000Z | 2020-10-23T02:54:53.000Z | src/util/strbuff.h | br-n518/util-library_c | e26f6492ebc7b8885dfb8a24321ec6cf9be16066 | [
"Unlicense"
] | null | null | null | src/util/strbuff.h | br-n518/util-library_c | e26f6492ebc7b8885dfb8a24321ec6cf9be16066 | [
"Unlicense"
] | null | null | null | /*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdict... | 26.896226 | 103 | 0.730621 |
7751a4e8da285a44c62a9587c45bba116577f4e1 | 1,485 | py | Python | english/data_processing/lessons/code/nmea_stat.py | aberenyi/tutorials | bfe5ffff3260d53a8bd8b108a11aacc4863d2751 | [
"CC0-1.0"
] | null | null | null | english/data_processing/lessons/code/nmea_stat.py | aberenyi/tutorials | bfe5ffff3260d53a8bd8b108a11aacc4863d2751 | [
"CC0-1.0"
] | null | null | null | english/data_processing/lessons/code/nmea_stat.py | aberenyi/tutorials | bfe5ffff3260d53a8bd8b108a11aacc4863d2751 | [
"CC0-1.0"
] | null | null | null | """ NMEA statistics
"""
import sys
import re
def checksum(buf):
""" check nmea checksum on line """
cs = ord(buf[1])
for ch in buf[2:-3]:
cs ^= ord(ch)
return cs
def nmea2deg(nmea):
""" convert nmea angle (dddmm.ss) to degree """
w = nmea.rstrip('0').split('.')
return int(w[0][:-2... | 25.603448 | 70 | 0.483502 |
c28bd5630b5aadfd13f351547a9a8e6a380c2dc7 | 2,395 | h | C | vc/MySQL Screensaver/TGLWindow.h | neozhou2009/nehe-opengl | 9f073e5b092ad8dbcb21393871a2855fe86a65c6 | [
"MIT"
] | 177 | 2017-12-31T04:44:27.000Z | 2022-03-23T10:08:03.000Z | vc/MySQL Screensaver/TGLWindow.h | neozhou2009/nehe-opengl | 9f073e5b092ad8dbcb21393871a2855fe86a65c6 | [
"MIT"
] | 2 | 2018-06-28T20:28:33.000Z | 2018-09-09T17:34:44.000Z | vc/MySQL Screensaver/TGLWindow.h | neozhou2009/nehe-opengl | 9f073e5b092ad8dbcb21393871a2855fe86a65c6 | [
"MIT"
] | 72 | 2018-01-07T16:41:29.000Z | 2022-03-18T17:57:38.000Z | //Author: Kristo Kaas
//Ported for MSVC by: Brian Tegart
//
//Module name: TGLWindow.h
//Comes with: the GLPoem screensaver tutorial hosted at nehe.gamedev.net
//Copyright: see copyright.txt accompanying this source project
//Bugs/questions/suggestions/ideas: crispy@hot.ee
#ifndef _TGLWINDOW_H_
#define _TGLWINDOW_H_
... | 22.383178 | 95 | 0.691441 |
d59379aae0274b69e6e4e75466d4ac079feec121 | 623 | go | Go | cmd/completion_bash_test.go | jayme-github/fritzctl | 42d0c31a648386669639cb92c842a76813a9b03e | [
"MIT"
] | 98 | 2016-10-18T20:30:09.000Z | 2022-01-25T16:25:52.000Z | cmd/completion_bash_test.go | jayme-github/fritzctl | 42d0c31a648386669639cb92c842a76813a9b03e | [
"MIT"
] | 229 | 2016-11-11T12:52:28.000Z | 2021-02-27T22:25:17.000Z | cmd/completion_bash_test.go | jayme-github/fritzctl | 42d0c31a648386669639cb92c842a76813a9b03e | [
"MIT"
] | 56 | 2017-07-21T20:13:37.000Z | 2022-01-20T18:06:36.000Z | package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
// TestCompletionBashHasHelp ensures the command under test provides a help text.
func TestCompletionBashHasHelp(t *testing.T) {
assert.NotEmpty(t, completionBashCmd.Long)
}
// TestCommandsHaveSynopsis ensures that the command under test provi... | 25.958333 | 95 | 0.789727 |
8d748c0d619e0923fbef1583be66d80610f5aa53 | 723 | js | JavaScript | image-analysis/index.js | shyamg28/image-pipeline-aws-lambda | d8798dcc61c5e0e19ddc896b73705b33429618e9 | [
"WTFPL"
] | null | null | null | image-analysis/index.js | shyamg28/image-pipeline-aws-lambda | d8798dcc61c5e0e19ddc896b73705b33429618e9 | [
"WTFPL"
] | null | null | null | image-analysis/index.js | shyamg28/image-pipeline-aws-lambda | d8798dcc61c5e0e19ddc896b73705b33429618e9 | [
"WTFPL"
] | null | null | null | 'use strict';
const AWS = require('aws-sdk');
const REK = new AWS.Rekognition();
exports.handler = function(event, context, callback) {
var id = event.id;
var srcBucket = event.bucket;
var srcKey = event.key;
var params = {
Image: {
S3Object: {
Bucket: srcBucket,
Name: srcKey,
... | 18.075 | 69 | 0.578147 |
d6083e3993f359b7daf463e2858e02be60828cc5 | 1,430 | dart | Dart | example/flutter/lib/main.dart | hsul4n/dart-resty | 776a670d8dd705931044d9543f35373518eee181 | [
"MIT"
] | 4 | 2020-07-05T02:02:23.000Z | 2020-08-01T22:13:34.000Z | example/flutter/lib/main.dart | hsul4n/dart-resty | 776a670d8dd705931044d9543f35373518eee181 | [
"MIT"
] | null | null | null | example/flutter/lib/main.dart | hsul4n/dart-resty | 776a670d8dd705931044d9543f35373518eee181 | [
"MIT"
] | null | null | null | import 'package:example/models/todo.dart';
import 'package:example/services/todo_service.dart';
import 'package:flutter/material.dart';
import 'package:example/locator.dart';
void main() {
setupLocator();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
... | 25.087719 | 61 | 0.581119 |
24a6fec9a734a1022f8e964bc399a8180e2e06e4 | 2,391 | php | PHP | bridge/application/controllers/generals/Update_g.php | elddenmedio/sienity_admin | 53b9eb597cbd4f1c098b6382af58b51dd938f26b | [
"MIT"
] | null | null | null | bridge/application/controllers/generals/Update_g.php | elddenmedio/sienity_admin | 53b9eb597cbd4f1c098b6382af58b51dd938f26b | [
"MIT"
] | null | null | null | bridge/application/controllers/generals/Update_g.php | elddenmedio/sienity_admin | 53b9eb597cbd4f1c098b6382af58b51dd938f26b | [
"MIT"
] | null | null | null | <?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Update_g
*
* @author elddenmedio
*/
//$this->caching_page();
class Update_g extends Eldd_Controller {
function __construct ( ) {
parent::__construct();
log_message('info', 'Update_g C... | 32.310811 | 99 | 0.370138 |
c9db5524995d3a2fd82ed370ece058e43155ee25 | 830 | ts | TypeScript | Mobile App Code/src/app/help-center/shared/article-modal/article-modal.component.ts | BlondelSeumo/Customer-Support-Software-with-Ticketing-System | 3f0719e01c6ebf881dc7c8f358810d1e57e009ca | [
"MIT"
] | 1 | 2021-04-22T13:50:18.000Z | 2021-04-22T13:50:18.000Z | Mobile App Code/src/app/help-center/shared/article-modal/article-modal.component.ts | BlondelSeumo/Customer-Support-Software-with-Ticketing-System | 3f0719e01c6ebf881dc7c8f358810d1e57e009ca | [
"MIT"
] | 1 | 2021-08-02T18:45:22.000Z | 2021-08-02T18:45:22.000Z | Mobile App Code/src/app/help-center/shared/article-modal/article-modal.component.ts | BlondelSeumo/Customer-Support-Software-with-Ticketing-System | 3f0719e01c6ebf881dc7c8f358810d1e57e009ca | [
"MIT"
] | 3 | 2021-02-15T07:21:19.000Z | 2021-08-14T16:04:24.000Z | import {Component, Inject, ViewEncapsulation} from '@angular/core';
import {Article} from '../../../shared/models/Article';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
interface ArticleModalData {
article: Article;
}
@Component({
selector: 'article-modal',
templateUrl: './art... | 25.151515 | 73 | 0.672289 |
1104a841b34ada64561a07c44f1673a5d99c1b14 | 5,494 | dart | Dart | lib/presentation/pages/confirmation_page.dart | jalchr/flutter-crypto-wallet | e4ab0c85e5ce8561ae9117507382d158faaa0ab3 | [
"MIT"
] | null | null | null | lib/presentation/pages/confirmation_page.dart | jalchr/flutter-crypto-wallet | e4ab0c85e5ce8561ae9117507382d158faaa0ab3 | [
"MIT"
] | null | null | null | lib/presentation/pages/confirmation_page.dart | jalchr/flutter-crypto-wallet | e4ab0c85e5ce8561ae9117507382d158faaa0ab3 | [
"MIT"
] | null | null | null | import 'package:flutter_crypto_wallet/application/coin_convert/coin_convert_provider.dart';
import 'package:flutter_crypto_wallet/presentation/core/widgets/round_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import '... | 36.626667 | 91 | 0.478522 |
7f7dd417cfd276d537f309b3bbe9699404526b09 | 2,722 | rs | Rust | examples/apache_fake.rs | Ryman/rust-http | 2daa993c5c2123ddd2f3ce73e1cc42b5b7f318b8 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/apache_fake.rs | Ryman/rust-http | 2daa993c5c2123ddd2f3ce73e1cc42b5b7f318b8 | [
"Apache-2.0",
"MIT"
] | null | null | null | examples/apache_fake.rs | Ryman/rust-http | 2daa993c5c2123ddd2f3ce73e1cc42b5b7f318b8 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! A sample HTTP server returning the same response as is returned by Apache httpd in its default
//! configuration. Potentially useful for a smidgeon of performance comparison, though naturally
//! Apache is doing a lot more than this does.
#![crate_name = "apache_fake"]
extern crate time;
extern crate http;
use s... | 41.242424 | 102 | 0.592212 |
e85588a3e102e0e8fda1615f9ea7d314606c55c1 | 2,136 | cs | C# | C#OOPAdvanced/ExamPrep/Minedraft/Core/CommandInterpreter.cs | GeorgiGarnenkov/CSharp-Fundamentals | 60ec33216d9a7b60ba2522c21ba61a523a0df6b4 | [
"MIT"
] | null | null | null | C#OOPAdvanced/ExamPrep/Minedraft/Core/CommandInterpreter.cs | GeorgiGarnenkov/CSharp-Fundamentals | 60ec33216d9a7b60ba2522c21ba61a523a0df6b4 | [
"MIT"
] | null | null | null | C#OOPAdvanced/ExamPrep/Minedraft/Core/CommandInterpreter.cs | GeorgiGarnenkov/CSharp-Fundamentals | 60ec33216d9a7b60ba2522c21ba61a523a0df6b4 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public class CommandInterpreter : ICommandInterpreter
{
public CommandInterpreter(IHarvesterController harvesterController, IProviderController providerController)
{
this.HarvesterController = harvesterControll... | 30.956522 | 111 | 0.63764 |
4049a9106a7da6b356832a1287929ace1941ac6a | 3,168 | swift | Swift | Tests/AWSSDKSwiftCoreTests/MetaDataServiceTests.swift | alak/aws-sdk-swift-core | 9e0f51f590b9961757852c5a512bfd85f490bda6 | [
"MIT"
] | 2 | 2019-06-22T06:57:39.000Z | 2019-07-05T17:09:16.000Z | Tests/AWSSDKSwiftCoreTests/MetaDataServiceTests.swift | alak/aws-sdk-swift-core | 9e0f51f590b9961757852c5a512bfd85f490bda6 | [
"MIT"
] | 1 | 2019-07-04T20:38:05.000Z | 2019-07-08T11:28:26.000Z | Tests/AWSSDKSwiftCoreTests/MetaDataServiceTests.swift | alak/aws-sdk-swift-core | 9e0f51f590b9961757852c5a512bfd85f490bda6 | [
"MIT"
] | null | null | null | //
// MetaDataServiceTests.swift
// AWSSDKSwiftCoreTests
//
// Created by Jonathan McAllister on 2017/12/29.
//
import Foundation
import XCTest
@testable import AWSSDKSwiftCore
class MetaDataServiceTests: XCTestCase {
static var allTests : [(String, (MetaDataServiceTests) -> () throws -> Void)] {
return [
... | 37.714286 | 112 | 0.611111 |
1247223504eabdf9c95e29ceed1d30c578bca205 | 2,922 | kt | Kotlin | app/src/main/java/io/richardking/bound/db/BookDao.kt | r-king/bound-android | c4cfc4b034c963cefac2a0003e91b622bf4fa2af | [
"MIT"
] | null | null | null | app/src/main/java/io/richardking/bound/db/BookDao.kt | r-king/bound-android | c4cfc4b034c963cefac2a0003e91b622bf4fa2af | [
"MIT"
] | null | null | null | app/src/main/java/io/richardking/bound/db/BookDao.kt | r-king/bound-android | c4cfc4b034c963cefac2a0003e91b622bf4fa2af | [
"MIT"
] | null | null | null | package io.richardking.bound.db
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.Transformations
import android.arch.persistence.room.*
import android.util.ArrayMap
import io.richardking.bound.vo.Book
import io.richardking.bound.vo.BookSearchResult
import java.util.*
/**
* Interface for database ... | 32.466667 | 80 | 0.668378 |
25695c0b7e010c7f59aea2588054c6e75ffd07b8 | 1,278 | js | JavaScript | packages/webassembly/WAT/demo/index.js | o-jules/Frontend-Frameworks | 95a97f542954078588304625310cbb878cb21ddd | [
"MIT"
] | null | null | null | packages/webassembly/WAT/demo/index.js | o-jules/Frontend-Frameworks | 95a97f542954078588304625310cbb878cb21ddd | [
"MIT"
] | 2 | 2021-03-12T11:34:36.000Z | 2021-05-10T18:58:03.000Z | packages/webassembly/WAT/demo/index.js | o-jules/Frontend-Frameworks | 95a97f542954078588304625310cbb878cb21ddd | [
"MIT"
] | null | null | null | function load(mod) {
const loader = WebAssembly.instantiateStreaming(fetch(mod), {
env: {
memory: new WebAssembly.Memory({
initial: 256
}),
table: new WebAssembly.Table({
initial: 0,
element: "anyfunc"
}),
abort: () => null
},
// imported methods
... | 21.661017 | 113 | 0.518779 |
389e016f6f48adc1140c7985efe29ca95cb3d9e0 | 286 | php | PHP | resources/views/welcome.blade.php | mischaguilty/lovi-na | 403cf2c641c291f446ce44615cdc7b8c959b8f23 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | mischaguilty/lovi-na | 403cf2c641c291f446ce44615cdc7b8c959b8f23 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | mischaguilty/lovi-na | 403cf2c641c291f446ce44615cdc7b8c959b8f23 | [
"MIT"
] | null | null | null | @section('title', __('Welcome'))
<div class="d-grid col-lg-4 mx-auto">
<div class="card">
<div class="card-header">
@yield('title')
</div>
<div class="card-body">
{{ __('Build something amazing!') }}
</div>
</div>
</div>
| 22 | 48 | 0.479021 |
0590dbcf4a25497a231b572cda47c94c100a1a17 | 1,445 | rb | Ruby | test/step_test.rb | stevendaniels/web_minion | f6fd36a67c3b69d115ac1d85aaf29cc0e5429936 | [
"MIT"
] | null | null | null | test/step_test.rb | stevendaniels/web_minion | f6fd36a67c3b69d115ac1d85aaf29cc0e5429936 | [
"MIT"
] | null | null | null | test/step_test.rb | stevendaniels/web_minion | f6fd36a67c3b69d115ac1d85aaf29cc0e5429936 | [
"MIT"
] | null | null | null | require "test_helper"
require "web_minion/step"
class StepTest < Minitest::Test
include WebMinion
def test_takes_only_valid_methods
step = Step.new(is_validator: true)
assert(step.validator?)
assert(step.valid_method?(:select))
refute(step.valid_method?(:foo))
assert_raises(InvalidMethodError)... | 30.104167 | 95 | 0.690657 |
e4065aa3584956159d9a7e0c35d1d335bfbb08b1 | 1,246 | cs | C# | src/SS.User.Infrastructure/IntegrationEventHandlers/OrganizationDeletedIntegrationEventHandler.cs | KamilKarpus/SecretStorage | d192252ee7b2096fccd2a8a8dec532c180ac3c20 | [
"MIT"
] | null | null | null | src/SS.User.Infrastructure/IntegrationEventHandlers/OrganizationDeletedIntegrationEventHandler.cs | KamilKarpus/SecretStorage | d192252ee7b2096fccd2a8a8dec532c180ac3c20 | [
"MIT"
] | null | null | null | src/SS.User.Infrastructure/IntegrationEventHandlers/OrganizationDeletedIntegrationEventHandler.cs | KamilKarpus/SecretStorage | d192252ee7b2096fccd2a8a8dec532c180ac3c20 | [
"MIT"
] | null | null | null | using MediatR;
using SS.Infrastructure.GrantStore;
using SS.Users.Domain.Repositories;
using SS.Users.IntegrationEvents;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SS.Users.Infrastructure.IntegrationEventsHandlers
{
public class OrganizationDeletedIntegrationEventHandler : ... | 33.675676 | 120 | 0.654896 |
cf04f5a5910eeef635f6f09ba37bc67a1f7c6872 | 3,663 | php | PHP | www/html/bitrix/modules/fileman/admin/fileman_block_editor.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | null | null | null | www/html/bitrix/modules/fileman/admin/fileman_block_editor.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | null | null | null | www/html/bitrix/modules/fileman/admin/fileman_block_editor.php | Evil1991/bitrixdock | 306734e0f6641c9118c0129a49d9a266124cdc9c | [
"MIT"
] | null | null | null | <?
use Bitrix\Main\Loader;
use Bitrix\Main\Localization\Loc;
define("ADMIN_MODULE_NAME", "fileman");
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_admin_before.php");
if(!Loader::includeModule("fileman"))
{
ShowError(Loc::getMessage("MAIN_MODULE_NOT_INSTALLED"));
}
/** @var CAllMain $APPLIC... | 25.615385 | 96 | 0.618073 |
79c844c01b408fe2b62a4c91355000be6d2171d0 | 1,177 | rb | Ruby | lib/watir-classic/link.rb | jkotests/watir-classic | 8641041f88f319643717a670e3759032512c7e81 | [
"BSD-3-Clause"
] | null | null | null | lib/watir-classic/link.rb | jkotests/watir-classic | 8641041f88f319643717a670e3759032512c7e81 | [
"BSD-3-Clause"
] | null | null | null | lib/watir-classic/link.rb | jkotests/watir-classic | 8641041f88f319643717a670e3759032512c7e81 | [
"BSD-3-Clause"
] | null | null | null | module Watir
# Returned by {Container#link}.
class Link < Element
attr_ole :type
attr_ole :href
attr_ole :name
# @deprecated Use "browser.link.imgs.length > 0" instead.
def link_has_image
Kernel.warn "Deprecated(Link#link_has_image) - use \"browser.link.imgs.length > 0\" instead."
... | 25.586957 | 108 | 0.610025 |
6af22eeeb2cf145a121fa2d2081485e7ddb50207 | 1,724 | h | C | inc/usocket.h | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 4 | 2016-09-07T07:02:52.000Z | 2019-06-22T08:55:53.000Z | inc/usocket.h | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | null | null | null | inc/usocket.h | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 3 | 2019-06-22T16:00:39.000Z | 2022-03-09T13:46:27.000Z | #ifndef U_SOCKET_H
#define U_SOCKET_H
#include "ulib.h"
class ULIB_API USocket
{
public:
enum SockError {
SERR_CREATE,
SERR_INIT,
SERR_CLOSE,
SERR_CLEANUP,
SERR_BIND,
SERR_LISTEN,
SERR_CONNECT,
SERR_SEND,
SERR_RECV,
SERR_ACCEPT,
... | 21.283951 | 85 | 0.62355 |
a92fd8290503f447fa15f03beb0a6f9842822fbd | 370 | css | CSS | css/home.css | geshan99/geshan99.github.io | 31ace57aeae04f6583224fb91df87cb45a9c1da2 | [
"MIT"
] | null | null | null | css/home.css | geshan99/geshan99.github.io | 31ace57aeae04f6583224fb91df87cb45a9c1da2 | [
"MIT"
] | null | null | null | css/home.css | geshan99/geshan99.github.io | 31ace57aeae04f6583224fb91df87cb45a9c1da2 | [
"MIT"
] | null | null | null | .video-container {
width: 100%;
height: 100%;
}
.video-overlay {
position: absolute;
top: 0%;
left: 0;
height: 100%;
width: 100%;
background-color: black;
opacity: 0.8;
z-index: 1;
}
header {
position: relative;
background-color: black;
width: 100vw;
overflow: hidden;
}
header .container {
position: rela... | 13.214286 | 25 | 0.656757 |
76993e6b129bdff0226071bfa1406441881f6e52 | 83,118 | rs | Rust | src/main.rs | da-x/glim | 26646c36965567bf9c4fbb8fe783b1ac50a5ae14 | [
"MIT"
] | 2 | 2021-08-03T14:49:50.000Z | 2021-08-12T12:59:16.000Z | src/main.rs | da-x/glim | 26646c36965567bf9c4fbb8fe783b1ac50a5ae14 | [
"MIT"
] | 1 | 2021-09-21T16:38:18.000Z | 2021-09-21T16:38:18.000Z | src/main.rs | da-x/glim | 26646c36965567bf9c4fbb8fe783b1ac50a5ae14 | [
"MIT"
] | null | null | null | use chrono::{DateTime, Local};
use crossterm::{
event::{Event as CEvent, EventStream, KeyCode},
execute,
terminal::{
disable_raw_mode, enable_raw_mode, Clear, ClearType, EnterAlternateScreen,
LeaveAlternateScreen,
},
};
use futures_timer::Delay;
use gitlab::api::projects::pipelines::Pipe... | 35.997401 | 112 | 0.456243 |
7f635896fb7fb0663c0e5f4c16edb51bd6429ff2 | 372 | php | PHP | frontend/widgets/StoreInviteDriverSelected/assets/StoreInviteDriverSelectedAsset.php | xXLXx/yii-yello | 66249878224e6d18a570f4629c5854d0260df006 | [
"BSD-3-Clause"
] | null | null | null | frontend/widgets/StoreInviteDriverSelected/assets/StoreInviteDriverSelectedAsset.php | xXLXx/yii-yello | 66249878224e6d18a570f4629c5854d0260df006 | [
"BSD-3-Clause"
] | null | null | null | frontend/widgets/StoreInviteDriverSelected/assets/StoreInviteDriverSelectedAsset.php | xXLXx/yii-yello | 66249878224e6d18a570f4629c5854d0260df006 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace frontend\widgets\StoreInviteDriverSelected\assets;
use yii\web\AssetBundle;
class StoreInviteDriverSelectedAsset extends AssetBundle
{
public $sourcePath = '@frontend/widgets/StoreInviteDriverSelected/resources';
public $css = [
];
public $js = [
'js/StoreInviteDriverSelected... | 18.6 | 81 | 0.701613 |
38be302a4a5ef776630e91ff56eb6dd3e40be37f | 1,306 | php | PHP | layouts/languages/druckausschnittswahl_german.php | srahn/kvwmap | b0d4fa900f9f0c283767767a2e7aaed07418ac53 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 12 | 2016-04-18T20:23:09.000Z | 2021-11-09T10:54:30.000Z | layouts/languages/druckausschnittswahl_german.php | srahn/kvwmap | b0d4fa900f9f0c283767767a2e7aaed07418ac53 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 99 | 2016-01-13T13:44:59.000Z | 2022-01-16T08:07:22.000Z | layouts/languages/druckausschnittswahl_german.php | srahn/kvwmap | b0d4fa900f9f0c283767767a2e7aaed07418ac53 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 11 | 2015-07-28T09:00:30.000Z | 2021-05-27T18:02:52.000Z | <?php
$strTitle="Druckausschnitt wählen";
$strButtonPrintPreview="Vorschau";
$strButtonPrint="Drucken";
$strButtonPrintScale="Druckmaßstab: 1:";
$strPrintFrame="Drucklayout: ";
$strRotationAngle="Drehwinkel: ";
$strPrintDetail="Druckausschnitt";
$strLoad="Laden";
$strReferenceMap="Übersichtskarte";
$strExpandedLegend=... | 42.129032 | 152 | 0.782542 |
b5933a41ce90983c13433a60247055bf3b8b5bf1 | 226 | rb | Ruby | services/catarse/db/migrate/20170926123047_add_multiple_goals.rb | giubueno/services-core | 5530c0ae6351632b5fa980dd47b94fd25058dc2e | [
"MIT"
] | 56 | 2018-09-27T01:40:09.000Z | 2022-03-24T13:08:15.000Z | services/catarse/db/migrate/20170926123047_add_multiple_goals.rb | giubueno/services-core | 5530c0ae6351632b5fa980dd47b94fd25058dc2e | [
"MIT"
] | 344 | 2018-08-29T10:15:13.000Z | 2022-03-30T14:24:21.000Z | services/catarse/db/migrate/20170926123047_add_multiple_goals.rb | giubueno/services-core | 5530c0ae6351632b5fa980dd47b94fd25058dc2e | [
"MIT"
] | 41 | 2018-08-24T15:30:58.000Z | 2022-03-11T19:14:43.000Z | class AddMultipleGoals < ActiveRecord::Migration[4.2]
def change
create_table :goals do |t|
t.references :project, null: false
t.text :description
t.decimal :value
t.timestamps
end
end
end
| 18.833333 | 53 | 0.659292 |
b336f089fdbb01dec91b5d73bb4b663d01825f88 | 641 | py | Python | locations/tests.py | rindi/sf-movie-locations | 0a7b8d885bbb7507ad7d5868a2ea00ec78ba8336 | [
"MIT"
] | null | null | null | locations/tests.py | rindi/sf-movie-locations | 0a7b8d885bbb7507ad7d5868a2ea00ec78ba8336 | [
"MIT"
] | null | null | null | locations/tests.py | rindi/sf-movie-locations | 0a7b8d885bbb7507ad7d5868a2ea00ec78ba8336 | [
"MIT"
] | null | null | null | from django.test import TestCase
from locations.models import Location, Movie
class MovieTestCase(TestCase):
def setUp(self):
Movie.objects.create(title="Zxcvbnm", release_year="2016")
movie = Movie.objects.get(title="Zxcvbnm")
movie_id = movie.id
Location.objects.create(locations="... | 37.705882 | 81 | 0.694228 |
2c8b9a82433c2c12b30845a3ed38550b7c8bfa2e | 778 | py | Python | bin/fastaCheckUniqNames.py | PapenfussLab/Mungo | 02c5b0e48ecd28596cb9481b282753859f47fed6 | [
"Artistic-2.0"
] | 1 | 2015-09-16T07:53:18.000Z | 2015-09-16T07:53:18.000Z | bin/fastaCheckUniqNames.py | PapenfussLab/Mungo | 02c5b0e48ecd28596cb9481b282753859f47fed6 | [
"Artistic-2.0"
] | null | null | null | bin/fastaCheckUniqNames.py | PapenfussLab/Mungo | 02c5b0e48ecd28596cb9481b282753859f47fed6 | [
"Artistic-2.0"
] | 3 | 2016-01-02T16:34:59.000Z | 2021-07-21T04:21:55.000Z | #!/usr/bin/env python
"""
fastaCheckUniqNames.py
Author: Tony Papenfuss
Date: Mon May 14 10:37:47 EST 2007
"""
import sys
from optparse import OptionParser
from mungo.fasta import FastaFile
usage = "%prog <input fasta file>"
parser = OptionParser(usage=usage, version="%prog - Version 1")
options, args = parser.pa... | 18.52381 | 63 | 0.624679 |
9e5c7eb968cc6b1cfb0ef00d8354eadd74d38a63 | 404 | asm | Assembly | programs/oeis/112/A112608.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/112/A112608.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/112/A112608.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A112608: Number of representations of n as a sum of a twice a square and three times a triangular number.
; 1,0,2,1,0,2,0,0,2,1,0,4,0,0,0,0,0,2,3,0,2,2,0,0,0,0,2,2,0,0,1,0,4,0,0,2,2,0,2,0,0,2,0,0,0,1,0,2,2,0,4,0,0,4,0,0,0,0,0,2,0,0,2,3,0,2,0,0,2,0,0,2,2,0,0,2,0,2,0,0,2,4,0,0,1,0,2,0,0,0,2,0,2,0,0,4,0,0,2,0
mul $0,4
... | 44.888889 | 201 | 0.601485 |
218b210fd242d786555ad0a4d027e527ef4364ea | 2,003 | js | JavaScript | src/components/Login.js | nagarjunayadavk/shopping-cart-basic | fd3de57b649cf9e2f5bb4b297350ba938da96566 | [
"MIT"
] | null | null | null | src/components/Login.js | nagarjunayadavk/shopping-cart-basic | fd3de57b649cf9e2f5bb4b297350ba938da96566 | [
"MIT"
] | null | null | null | src/components/Login.js | nagarjunayadavk/shopping-cart-basic | fd3de57b649cf9e2f5bb4b297350ba938da96566 | [
"MIT"
] | null | null | null | import React, { Component, Fragment } from 'react';
import { login } from '../actions/userActions';
import { connect } from 'react-redux';
class Login extends Component {
state = {
email: '',
password: ''
}
changeHandler = ({ target }) => {
this.setState({ [target.name]: target.va... | 35.140351 | 79 | 0.40639 |
89a608f7ec6a3c5113a4cb6ac1f5357a1a2ab933 | 161 | dart | Dart | Flutter Tutorials/facebook/lib/main.dart | Abdullah3015/flutterism | 81f015c8f084d9f20378afc24cf17b551acefd13 | [
"MIT"
] | 1 | 2021-12-22T15:39:51.000Z | 2021-12-22T15:39:51.000Z | Flutter Tutorials/facebook/lib/main.dart | AreebAhmad935/flutterism | d2d78008b3c8b6f9dc061f2ffca22baff490f463 | [
"MIT"
] | null | null | null | Flutter Tutorials/facebook/lib/main.dart | AreebAhmad935/flutterism | d2d78008b3c8b6f9dc061f2ffca22baff490f463 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'home_screen.dart';
// void main() {
// runApp(const MyApp());
// }
void main() => runApp(const HomeScreen()); | 20.125 | 42 | 0.658385 |
a4540e7c557090d96b0609f0e47e6c9d08a61abe | 696 | php | PHP | resources/views/pdf/user.blade.php | ahmadalwi425/ELib | b4cacaf437e5a7d9fdb53c59be93c89ad6d6c7f3 | [
"MIT"
] | null | null | null | resources/views/pdf/user.blade.php | ahmadalwi425/ELib | b4cacaf437e5a7d9fdb53c59be93c89ad6d6c7f3 | [
"MIT"
] | null | null | null | resources/views/pdf/user.blade.php | ahmadalwi425/ELib | b4cacaf437e5a7d9fdb53c59be93c89ad6d6c7f3 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
@foreach($data as $row)
<table style="border:0px;">
<tr>
... | 29 | 189 | 0.522989 |
ae89f98b3e04ba9d12a3af6e9bc7f1b91c2f3f44 | 1,231 | cs | C# | Symbioz.Protocol/Messages/Messages/game/context/roleplay/party/companion/PartyCompanionUpdateLightMessage.cs | CarlCochet/Symbioz | 9232cd44086fe68f6d3c564417497a8efa9dc829 | [
"FTL"
] | 2 | 2016-11-21T05:50:59.000Z | 2016-12-27T01:02:05.000Z | Symbioz.Protocol/Messages/Messages/game/context/roleplay/party/companion/PartyCompanionUpdateLightMessage.cs | Bia10/Symbioz | 9232cd44086fe68f6d3c564417497a8efa9dc829 | [
"FTL"
] | null | null | null | Symbioz.Protocol/Messages/Messages/game/context/roleplay/party/companion/PartyCompanionUpdateLightMessage.cs | Bia10/Symbioz | 9232cd44086fe68f6d3c564417497a8efa9dc829 | [
"FTL"
] | null | null | null |
// Generated on 06/04/2015 18:44:38
using System;
using System.Collections.Generic;
using System.Linq;
using Symbioz.DofusProtocol.Types;
using Symbioz.Utils;
namespace Symbioz.DofusProtocol.Messages
{
public class PartyCompanionUpdateLightMessage : PartyUpdateLightMessage
{
public const ushort Id... | 15.987013 | 150 | 0.680747 |
a45e093f1da900b81fdaa1bbf134b49fbb3eb6ff | 935 | php | PHP | application/views/patient/race.php | mahitsilaza12/clinique | 52dde7bd2457d6297a19db7c6241df3cc91250ee | [
"MIT"
] | null | null | null | application/views/patient/race.php | mahitsilaza12/clinique | 52dde7bd2457d6297a19db7c6241df3cc91250ee | [
"MIT"
] | null | null | null | application/views/patient/race.php | mahitsilaza12/clinique | 52dde7bd2457d6297a19db7c6241df3cc91250ee | [
"MIT"
] | null | null | null | <div class="card">
<h5 class="card-header">Race pour les chiens :</h5>
<div class="card-body" style="height:400px">
<ul class="list-group list-group-flush" id="race_chien">
<?php foreach($chien as $race_chien):
?>
<li class="list-group-item list-group-item-sm col-md-3 list-group-item-ac... | 21.744186 | 103 | 0.57754 |
20f12baf28238d04661b3d23aabc954387a18a53 | 11,798 | py | Python | RI/flask_server/tapi_server/models/tapi_common_context.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 57 | 2018-04-09T08:56:18.000Z | 2022-03-23T08:31:06.000Z | RI/flask_server/tapi_server/models/tapi_common_context.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 143 | 2016-06-08T04:09:54.000Z | 2018-02-23T10:45:59.000Z | RI/flask_server/tapi_server/models/tapi_common_context.py | arthurMll/TAPI | e1171bb139c6791a953af09cfc2bc7ad928da73d | [
"Apache-2.0"
] | 64 | 2018-03-07T07:55:17.000Z | 2022-03-28T07:14:28.000Z | # coding: utf-8
from __future__ import absolute_import
from datetime import date, datetime # noqa: F401
from typing import List, Dict # noqa: F401
from tapi_server.models.base_model_ import Model
from tapi_server.models.tapi_common_context_service_interface_point import TapiCommonContextServiceInterfacePoint # no... | 44.353383 | 599 | 0.723682 |
c69963314e5e0277a4f215065d67510dfd64e643 | 1,472 | py | Python | test/ext/mypy/plain_files/composite.py | sqlalchemy-bot/sqlalchemy | c0736e0b2a3bf8c0952db84f5b9943df9ebf18f7 | [
"MIT"
] | null | null | null | test/ext/mypy/plain_files/composite.py | sqlalchemy-bot/sqlalchemy | c0736e0b2a3bf8c0952db84f5b9943df9ebf18f7 | [
"MIT"
] | null | null | null | test/ext/mypy/plain_files/composite.py | sqlalchemy-bot/sqlalchemy | c0736e0b2a3bf8c0952db84f5b9943df9ebf18f7 | [
"MIT"
] | null | null | null | from typing import Any
from typing import Tuple
from sqlalchemy import select
from sqlalchemy.orm import composite
from sqlalchemy.orm import DeclarativeBase
from sqlalchemy.orm import Mapped
from sqlalchemy.orm import mapped_column
class Base(DeclarativeBase):
pass
class Point:
def __init__(self, x: int, ... | 21.647059 | 60 | 0.650136 |