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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ebf00a2438aa9fd4d6019c972371090c4a672cd7 | 65 | css | CSS | client/src/components/game/instructions/instruction.component.css | ichikareman2/project-werewolf | a3a8fef401178f5a73faa4d8821b1cff293c3d55 | [
"MIT"
] | 2 | 2020-04-12T21:21:38.000Z | 2020-04-12T23:22:43.000Z | client/src/components/game/instructions/instruction.component.css | ichikareman2/project-werewolf | a3a8fef401178f5a73faa4d8821b1cff293c3d55 | [
"MIT"
] | 2 | 2020-04-24T05:14:53.000Z | 2022-03-02T08:10:06.000Z | client/src/components/game/instructions/instruction.component.css | ichikareman2/project-werewolf | a3a8fef401178f5a73faa4d8821b1cff293c3d55 | [
"MIT"
] | null | null | null | .game-instruction {
display: block;
margin: 12px auto;
}
| 13 | 22 | 0.630769 |
af6502f8ef37bfce8b8fd0684617ab40fb040b5c | 1,118 | sql | SQL | app-core/service/src/main/resources/liquibase/v1/20210317-01-init_main_tables.sql | m1cron/films_catalog | 3f99a86bcd98b4e5fc11da0903a0a9d7e00d9151 | [
"MIT"
] | 2 | 2021-01-02T20:29:51.000Z | 2021-01-03T13:43:05.000Z | app-core/service/src/main/resources/liquibase/v1/20210317-01-init_main_tables.sql | m1cron/films_catalog | 3f99a86bcd98b4e5fc11da0903a0a9d7e00d9151 | [
"MIT"
] | null | null | null | app-core/service/src/main/resources/liquibase/v1/20210317-01-init_main_tables.sql | m1cron/films_catalog | 3f99a86bcd98b4e5fc11da0903a0a9d7e00d9151 | [
"MIT"
] | 1 | 2021-07-30T18:35:14.000Z | 2021-07-30T18:35:14.000Z | CREATE TABLE films (
"id" BIGSERIAL,
"title" VARCHAR(100) NOT NULL,
"year" INTEGER,
"genre" VARCHAR(20),
"watched" BOOLEAN DEFAULT FALSE NOT NULL,
"status" VARCHAR(10) DEFAULT 'ACTIVE' NOT NULL,
"created" TIMESTAMP NOT NULL DEFAULT now(),
"updated" TIMESTAMP NOT NULL DEFAULT now(),
U... | 30.216216 | 56 | 0.647585 |
58af17e5a52dd127fcf79c647e521cd6be91a582 | 4,260 | php | PHP | application/views/student/footer.php | adhilahamed333/campus | 9614dac5a365ff9fc1405a34226a10b7b3870861 | [
"MIT"
] | null | null | null | application/views/student/footer.php | adhilahamed333/campus | 9614dac5a365ff9fc1405a34226a10b7b3870861 | [
"MIT"
] | null | null | null | application/views/student/footer.php | adhilahamed333/campus | 9614dac5a365ff9fc1405a34226a10b7b3870861 | [
"MIT"
] | null | null | null | <!-- footer start here -->
<div class="footer-agile">
<div class="container">
<div class="footer-btm-agileinfo">
<div class="col-md-3 col-xs-3 footer-grid w3social">
<h3>Our Links</h3>
<ul>
<li><a href="">Home</a></li>
<li><a href="" >About</a></li>
<li><a href="">Portfolio</a></li... | 30.869565 | 113 | 0.5723 |
1ba15d861ef6ccb1c47bf13f1b0761d8be6daf03 | 5,790 | rb | Ruby | omf-resctl/ruby/omf-resctl/omf_driver/atheros.rb | nathansamson/OMF | 1e8470d7699a5599bc9ef540b8d569d36595baa5 | [
"MIT"
] | 1 | 2015-06-21T09:50:24.000Z | 2015-06-21T09:50:24.000Z | omf-resctl/ruby/omf-resctl/omf_driver/atheros.rb | nathansamson/OMF | 1e8470d7699a5599bc9ef540b8d569d36595baa5 | [
"MIT"
] | null | null | null | omf-resctl/ruby/omf-resctl/omf_driver/atheros.rb | nathansamson/OMF | 1e8470d7699a5599bc9ef540b8d569d36595baa5 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2006-2009 National ICT Australia (NICTA), Australia
#
# Copyright (c) 2004-2009 WINLAB, Rutgers University, USA
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without res... | 34.260355 | 87 | 0.644905 |
ff372348dda9a78275398d026afaf3cecf36de91 | 4,374 | py | Python | anvage/__main__.py | Grelot/anvage | 3a763d428adbb6c401214fb0fb981ec60ae14f01 | [
"MIT"
] | null | null | null | anvage/__main__.py | Grelot/anvage | 3a763d428adbb6c401214fb0fb981ec60ae14f01 | [
"MIT"
] | null | null | null | anvage/__main__.py | Grelot/anvage | 3a763d428adbb6c401214fb0fb981ec60ae14f01 | [
"MIT"
] | null | null | null |
#!/usr/bin/env python3
#===============================================================================
#INFORMATION
#===============================================================================
# Codes for vcfsynonymous
#
# CEFE - EPHE - RESERVEBENEFIT 2021
# Guerin Pierre-Edouard
#
# ANVAGE is a toolkit to proc... | 39.763636 | 145 | 0.607682 |
5f4e8d6fe7928fd703adaed052d7555810780290 | 372 | sql | SQL | custom/Scripts_DBACA/jobs_status2.sql | omegazip/dba_scripts | 9c7fc8a60cce5f50a4eac3cb9f4da2461fe86267 | [
"FSFAP"
] | null | null | null | custom/Scripts_DBACA/jobs_status2.sql | omegazip/dba_scripts | 9c7fc8a60cce5f50a4eac3cb9f4da2461fe86267 | [
"FSFAP"
] | null | null | null | custom/Scripts_DBACA/jobs_status2.sql | omegazip/dba_scripts | 9c7fc8a60cce5f50a4eac3cb9f4da2461fe86267 | [
"FSFAP"
] | 4 | 2019-07-12T23:22:53.000Z | 2021-06-10T05:07:01.000Z | -- status de job x job
col interval for a30
col what for a80
col user for a20
col THIS_DATE for a19
col last_date for a19
col next_date for a19
alter session set nls_date_format='dd-mm-yyyy hh24:mi:ss';
select job,schema_user "user",FAILURES,last_date,this_date,next_date,broken,interval,what
from dba_jobs where upper ... | 31 | 89 | 0.782258 |
a324378ce46580a33771ef8b4d0bbec173cec121 | 4,887 | c | C | bin/mbus-tcp-raw-send.c | mhei/libmbus | 2dea1b99f3e3f11786a56ffe12780078adfd1112 | [
"BSD-3-Clause"
] | null | null | null | bin/mbus-tcp-raw-send.c | mhei/libmbus | 2dea1b99f3e3f11786a56ffe12780078adfd1112 | [
"BSD-3-Clause"
] | null | null | null | bin/mbus-tcp-raw-send.c | mhei/libmbus | 2dea1b99f3e3f11786a56ffe12780078adfd1112 | [
"BSD-3-Clause"
] | null | null | null | //------------------------------------------------------------------------------
// Copyright (C) 2012, Robert Johansson, Raditex AB
// All rights reserved.
//
// rSCADA
// http://www.rSCADA.se
// info@rscada.se
//
//------------------------------------------------------------------------------
#include <string.h>
#i... | 24.807107 | 138 | 0.508083 |
da9cd9dbf520e07868c6346822b30e5f8eccf394 | 3,913 | rb | Ruby | extensions/admin_ui/classes/httpcontroller.rb | pr0d1r2/beef | dce234197754fe5b736ec4848a2094a178671176 | [
"MIT"
] | null | null | null | extensions/admin_ui/classes/httpcontroller.rb | pr0d1r2/beef | dce234197754fe5b736ec4848a2094a178671176 | [
"MIT"
] | null | null | null | extensions/admin_ui/classes/httpcontroller.rb | pr0d1r2/beef | dce234197754fe5b736ec4848a2094a178671176 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2006-2013 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
module Extension
module AdminUI
#
# Handle HTTP requests and call the relevant functions in the derived classes
#
c... | 36.231481 | 126 | 0.639918 |
829b98ba78951b0d3ed24229de8810aba0c610f6 | 3,308 | rs | Rust | dsa/tests/signature.rs | RustCrypto/signature-algorithms | b8f48bd9de6f533f05f9a90c8596ff8e4be876f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | dsa/tests/signature.rs | RustCrypto/signature-algorithms | b8f48bd9de6f533f05f9a90c8596ff8e4be876f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | dsa/tests/signature.rs | RustCrypto/signature-algorithms | b8f48bd9de6f533f05f9a90c8596ff8e4be876f8 | [
"Apache-2.0",
"MIT"
] | null | null | null | #![allow(deprecated)]
use digest::Digest;
use dsa::{consts::DSA_1024_160, Components, Signature, SigningKey};
use pkcs8::der::{Decode, Encode};
use rand::{CryptoRng, RngCore, SeedableRng};
use rand_chacha::ChaCha8Rng;
use sha2::Sha256;
use signature::{DigestVerifier, RandomizedDigestSigner};
/// Seed used for the Cha... | 36.755556 | 140 | 0.718259 |
544e4fa33b6944396599faea51bf789a5cf06471 | 6,100 | rb | Ruby | lib/asana/resources/workspace.rb | rocco-haro/ruby-asana | f02337260770bf0c438652b8894ecff9954d91cd | [
"MIT"
] | null | null | null | lib/asana/resources/workspace.rb | rocco-haro/ruby-asana | f02337260770bf0c438652b8894ecff9954d91cd | [
"MIT"
] | null | null | null | lib/asana/resources/workspace.rb | rocco-haro/ruby-asana | f02337260770bf0c438652b8894ecff9954d91cd | [
"MIT"
] | 1 | 2020-05-13T02:22:16.000Z | 2020-05-13T02:22:16.000Z | ### WARNING: This file is auto-generated by the asana-api-meta repo. Do not
### edit it manually.
module Asana
module Resources
# A _workspace_ is the highest-level organizational unit in Asana. All projects
# and tasks have an associated workspace.
#
# An _organization_ is a special kind of workspac... | 45.864662 | 145 | 0.658197 |
747caa38962c0b7ca8d388b2da438f9970cd68a8 | 1,267 | css | CSS | src/app/login/login.component.css | Techinnoveta/ngVetaDashboard | eadbe9c66234f861f08ad98ae3369766a9e137be | [
"MIT"
] | null | null | null | src/app/login/login.component.css | Techinnoveta/ngVetaDashboard | eadbe9c66234f861f08ad98ae3369766a9e137be | [
"MIT"
] | null | null | null | src/app/login/login.component.css | Techinnoveta/ngVetaDashboard | eadbe9c66234f861f08ad98ae3369766a9e137be | [
"MIT"
] | null | null | null | div{
text-align: center;
}
h1{
font-size: 50px !important;
font-weight: 300;
}
h2{
font-size: 16px !important;
font-weight: 200;
margin-bottom: 60px;
}
form{
margin-top: 75px;
}
input{
margin-top: 20px;
font-weight: 200;
}
.button_submit{
width: 150px;
margin: 0 auto;
cursor: pointer;
background-colo... | 15.45122 | 49 | 0.63457 |
6d512502b4823dd648144626950d888209ece506 | 5,885 | lua | Lua | gamemode/vgui_helpmenu.lua | tucono/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | 1 | 2021-05-29T22:52:13.000Z | 2021-05-29T22:52:13.000Z | gamemode/vgui_helpmenu.lua | nuke-makes-games/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | null | null | null | gamemode/vgui_helpmenu.lua | nuke-makes-games/thestalker | 23519138a06fe876199075cecd38ce157bb12193 | [
"MIT"
] | 1 | 2021-03-27T13:53:39.000Z | 2021-03-27T13:53:39.000Z | local PANEL = {}
PANEL.Text = { "<html><body style=\"background-color:DimGray;\">",
"<p style=\"font-family:tahoma;color:red;font-size:25;text-align:center\"><b>READ THIS!</b></p>",
"<p style=\"font-family:verdana;color:black;font-size:10px;text-align:left\">",
"<b><u>Unit 8 Gameplay:</u></b> You are part of a team ta... | 57.696078 | 227 | 0.723874 |
821c16894314ac35a2b897be5159a75f94a784fe | 28,096 | rs | Rust | compiler/src/backend/llvm/wrapper.rs | aviansie-ben/yet-another-static-java-compiler | 9207c1579e0f555ff1cd83a09b380f7415270d36 | [
"MIT"
] | 2 | 2020-09-28T18:13:22.000Z | 2020-10-14T20:32:45.000Z | compiler/src/backend/llvm/wrapper.rs | aviansie-ben/yet-another-static-java-compiler | 9207c1579e0f555ff1cd83a09b380f7415270d36 | [
"MIT"
] | null | null | null | compiler/src/backend/llvm/wrapper.rs | aviansie-ben/yet-another-static-java-compiler | 9207c1579e0f555ff1cd83a09b380f7415270d36 | [
"MIT"
] | null | null | null | use std::ffi::{CStr, CString};
use std::marker::PhantomData;
use std::os::raw::c_char;
use itertools::Itertools;
use llvm_sys::{LLVMIntPredicate, LLVMRealPredicate, LLVMModuleFlagBehavior};
use llvm_sys::bit_writer::*;
use llvm_sys::core::*;
use llvm_sys::debuginfo::*;
use llvm_sys::prelude::*;
#[derive(Debug)]
pub s... | 33.093051 | 179 | 0.559226 |
ef166f34144a8efcff2d6fe52ac53a245b73c5d2 | 797 | c | C | test/src/expect.c | dodgez/parce | a873a3518bfc5ec7601d881d6b2eba1e9ee55b2d | [
"MIT"
] | null | null | null | test/src/expect.c | dodgez/parce | a873a3518bfc5ec7601d881d6b2eba1e9ee55b2d | [
"MIT"
] | null | null | null | test/src/expect.c | dodgez/parce | a873a3518bfc5ec7601d881d6b2eba1e9ee55b2d | [
"MIT"
] | null | null | null | #include "expect.h"
void run_suite(char* name) {
printf("\n%s:\n", name);
}
void run_test(char* name) {
TEST_NAME = name;
HAS_TEST_PASSED = TEST_PASSED;
}
void end_test() {
if (HAS_TEST_PASSED == TEST_PASSED) {
printf("\t-/ %s\n", TEST_NAME);
}
}
void end_suite() {
printf("\n");
}... | 19.439024 | 66 | 0.579674 |
28c50fd82e5f5666c99b6393896c67fa61d930a3 | 145 | sql | SQL | testdata/1.0.0/Feature1/FuncViewStoredProcedureTrigger/01_TestFunc.sql | Hviid/DBMigrator | dd0619fea3469623bf44242e02d5668631b02f86 | [
"MIT"
] | 3 | 2019-04-15T05:19:52.000Z | 2021-01-05T05:57:55.000Z | testdata/1.0.0/Feature1/FuncViewStoredProcedureTrigger/01_TestFunc.sql | Hviid/DBMigrator | dd0619fea3469623bf44242e02d5668631b02f86 | [
"MIT"
] | 21 | 2016-09-06T06:38:25.000Z | 2021-11-29T08:51:29.000Z | testdata/1.0.0/Feature1/FuncViewStoredProcedureTrigger/01_TestFunc.sql | Hviid/DBMigrator | dd0619fea3469623bf44242e02d5668631b02f86 | [
"MIT"
] | 4 | 2016-09-07T04:41:52.000Z | 2017-03-12T04:19:18.000Z | CREATE FUNCTION TestFunc (@LastName varchar(255))
RETURNS varchar(255)
AS BEGIN
RETURN @LastName + (SELECT TOP(1) LastName FROM Tester)
END | 29 | 56 | 0.751724 |
a7c9b2b93d82f8a6108f59a6f791571ff7806990 | 3,999 | css | CSS | src/pages/404.css | DarinLevesque/DL-cms | be6204315c90115473159448af8e5f469829d044 | [
"MIT"
] | 1 | 2020-07-27T22:49:43.000Z | 2020-07-27T22:49:43.000Z | src/pages/404.css | DarinLevesque/DL-cms | be6204315c90115473159448af8e5f469829d044 | [
"MIT"
] | null | null | null | src/pages/404.css | DarinLevesque/DL-cms | be6204315c90115473159448af8e5f469829d044 | [
"MIT"
] | null | null | null | @import url(https://fonts.googleapis.com/css?family=Gilda+Display);
html {
background: radial-gradient(#000, #111);
color: white;
overflow: hidden;
height: 100%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.static {
width: 100%;
hei... | 24.090361 | 101 | 0.615154 |
f452c0f3fc0b6ad441f753cd623c569d2cb2968f | 331 | cs | C# | src/LibraryApp.Core/Authorization/PermissionChecker.cs | bartvanhoey/ABP_LibraryApp | 3f419e869195791e7eae95fd41ee57a69337a15c | [
"MIT"
] | null | null | null | src/LibraryApp.Core/Authorization/PermissionChecker.cs | bartvanhoey/ABP_LibraryApp | 3f419e869195791e7eae95fd41ee57a69337a15c | [
"MIT"
] | 9 | 2020-09-06T21:51:37.000Z | 2022-03-02T05:12:15.000Z | src/LibraryApp.Core/Authorization/PermissionChecker.cs | bartvanhoey/ABP_LibraryApp | 3f419e869195791e7eae95fd41ee57a69337a15c | [
"MIT"
] | null | null | null | using Abp.Authorization;
using LibraryApp.Authorization.Roles;
using LibraryApp.Authorization.Users;
namespace LibraryApp.Authorization
{
public class PermissionChecker : PermissionChecker<Role, User>
{
public PermissionChecker(UserManager userManager)
: base(userManager)
{
... | 22.066667 | 66 | 0.700906 |
73923541c0ddcf772ee28279ce381758b2b179d4 | 754 | sql | SQL | chapter05-slick/conf/evolutions/localdb/1.sql | sslee05/playframework | 6165c32fa2380e1fe7be05032b7bcbda45f26c38 | [
"Apache-2.0"
] | null | null | null | chapter05-slick/conf/evolutions/localdb/1.sql | sslee05/playframework | 6165c32fa2380e1fe7be05032b7bcbda45f26c38 | [
"Apache-2.0"
] | null | null | null | chapter05-slick/conf/evolutions/localdb/1.sql | sslee05/playframework | 6165c32fa2380e1fe7be05032b7bcbda45f26c38 | [
"Apache-2.0"
] | null | null | null | # --- !Ups
CREATE TABLE PRODUCTS (
ID LONG PRIMARY KEY AUTO_INCREMENT,
EAN LONG,
NAME VARCHAR,
DESCRIPTION VARCHAR
);
CREATE TABLE WAREHOUSES (
ID LONG,
NAME VARCHAR
);
CREATE TABLE STOCK_ITEMS (
ID LONG,
PRODUCT_ID LONG,
WAREHOUSE_ID LONG,
QUANTITY LONG
);
INSERT INTO PRODUCTS (ID,EAN,NAME,DES... | 25.133333 | 77 | 0.712202 |
27fb5ad96ccfdef9b9c231e307ae5db5d5a42e97 | 475 | sql | SQL | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_1_0_logs/s2s/procfunpacks/dw_get_narr_users_all_mod.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_1_0_logs/s2s/procfunpacks/dw_get_narr_users_all_mod.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_1_0_logs/s2s/procfunpacks/dw_get_narr_users_all_mod.sql | mrudulpolus/kc | 55f529e5ff0985f3bf5247e2a1e63c5dec07f560 | [
"ECL-2.0"
] | null | null | null | -- This procedure selects all users for the proposal from the OSP$NARRATIVE_USERS_RIGHTS
-- Input: Proposal Number
-- Created by Ramesh B NAir
create or replace procedure dw_get_narr_users_all_mod
( AW_PROP_NO IN osp$eps_prop_user_roles.proposal_number%TYPE,
cur_generic IN OUT result_sets.cur_generic) is
beg... | 20.652174 | 88 | 0.783158 |
c79db0a3550b4163bb002a7bdaa08815ceeba97f | 4,561 | dart | Dart | lib/src/generated/google/dataflow/v1beta3/snapshots.pbgrpc.dart | peiffer-innovations/grpc_googleapis | b36cb71289ed0714a7246bc6f8db84ad1551d39a | [
"MIT"
] | null | null | null | lib/src/generated/google/dataflow/v1beta3/snapshots.pbgrpc.dart | peiffer-innovations/grpc_googleapis | b36cb71289ed0714a7246bc6f8db84ad1551d39a | [
"MIT"
] | null | null | null | lib/src/generated/google/dataflow/v1beta3/snapshots.pbgrpc.dart | peiffer-innovations/grpc_googleapis | b36cb71289ed0714a7246bc6f8db84ad1551d39a | [
"MIT"
] | null | null | null | ///
// Generated code. Do not modify.
// source: google/dataflow/v1beta3/snapshots.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fiel... | 40.008772 | 212 | 0.696339 |
05f312519fc5fad1728e3fef8ed06d8f6095b010 | 7,862 | py | Python | silk/tests/openthread/ot_test_multi_hop_traffic.py | tzm41/silk | 7f047547afa847714bb0a57c96a9f387d5f0b1c7 | [
"Apache-2.0"
] | 1 | 2020-03-06T04:02:19.000Z | 2020-03-06T04:02:19.000Z | silk/tests/openthread/ot_test_multi_hop_traffic.py | qilinkang/silk-1 | ab7d3f96f74dd89a1517018f2619cb08190fe2f9 | [
"Apache-2.0"
] | 52 | 2019-08-15T18:20:05.000Z | 2021-11-05T23:02:02.000Z | silk/tests/openthread/ot_test_multi_hop_traffic.py | qilinkang/silk-1 | ab7d3f96f74dd89a1517018f2619cb08190fe2f9 | [
"Apache-2.0"
] | 8 | 2019-07-01T18:57:11.000Z | 2022-03-16T14:41:00.000Z | # Copyright 2020 Google LLC
#
# 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 in writing, ... | 37.980676 | 119 | 0.662808 |
0ed54e2967df278ae0b60296824bf5361374246f | 485 | lua | Lua | game/test_objects/enemy/flying_entity_controller.lua | Saviorium/platformer-framework | c5f7ce2188b86874a032ab171ede10f4562c599c | [
"CC-BY-3.0"
] | null | null | null | game/test_objects/enemy/flying_entity_controller.lua | Saviorium/platformer-framework | c5f7ce2188b86874a032ab171ede10f4562c599c | [
"CC-BY-3.0"
] | 4 | 2020-10-22T22:32:07.000Z | 2021-04-18T22:43:44.000Z | game/test_objects/enemy/flying_entity_controller.lua | Saviorium/platformer-framework | c5f7ce2188b86874a032ab171ede10f4562c599c | [
"CC-BY-3.0"
] | 1 | 2020-09-10T19:37:01.000Z | 2020-09-10T19:37:01.000Z | local Class = require "lib.hump.class"
local ObjectController = require "engine.controls.object_controller"
local FlyingEntityController = Class {
__includes = ObjectController,
init = function(self, entity, inputManager)
ObjectController.init(self, inputManager)
self.entity = entity
se... | 26.944444 | 68 | 0.756701 |
c9b3b576ee9ff8c937e3c9d9feac4f0af22efba9 | 1,512 | tsx | TypeScript | src/components/backdrop.tsx | leosdibella/endure | 62cc594a130fc197a8c4dc4640f11e20a4375ed1 | [
"MIT"
] | null | null | null | src/components/backdrop.tsx | leosdibella/endure | 62cc594a130fc197a8c4dc4640f11e20a4375ed1 | [
"MIT"
] | null | null | null | src/components/backdrop.tsx | leosdibella/endure | 62cc594a130fc197a8c4dc4640f11e20a4375ed1 | [
"MIT"
] | null | null | null | import React, { PureComponent } from 'react';
import { BackdropState } from '../classes/backdropState';
import { IBackdropProps } from '../interfaces/iBackdropProps';
import { Theme } from '../utilities/enum';
import { fillArray } from '../utilities/shared';
import '../styles/backdrop.scss';
export class Backdrop ext... | 36 | 108 | 0.541667 |
f5e4dc2e7463381718bcdab134695c323f4ee132 | 253 | css | CSS | public/stylesheets/front/print.css | Radio/theatres-node | 9116c2b0248a7861706104f2065daf2141eb311b | [
"MIT"
] | 1 | 2017-03-27T09:17:11.000Z | 2017-03-27T09:17:11.000Z | public/stylesheets/front/print.css | Radio/theatres-node | 9116c2b0248a7861706104f2065daf2141eb311b | [
"MIT"
] | null | null | null | public/stylesheets/front/print.css | Radio/theatres-node | 9116c2b0248a7861706104f2065daf2141eb311b | [
"MIT"
] | null | null | null | .no-print{display:none}a{text-decoration:none;border:0 none}a[href]:after{content:none !important}.filters-col{display:none}.scrolled .main-header{position:relative}.scrolled .main-header h1{padding-left:0;padding-right:0}.scrolled .poster{margin-top:0} | 253 | 253 | 0.798419 |
bc214b0d27cc2c70adc2169fe5c51d2d65ba4141 | 182 | sql | SQL | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/pg_twophase/switch_ckpt_b/trigger_sql/sql/create_heap_bitmap_index_template_b0.sql | khuddlefish/gpdb | 2d20bae838c5ed433eecf6ecceca1b8dd5221197 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2017-09-15T06:09:56.000Z | 2017-09-15T06:09:56.000Z | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/pg_twophase/switch_ckpt_b/trigger_sql/sql/create_heap_bitmap_index_template_b0.sql | guofengrichard/gpdb | 29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3 | [
"PostgreSQL",
"Apache-2.0"
] | 6 | 2018-08-04T07:51:37.000Z | 2018-11-26T07:09:44.000Z | src/test/tinc/tincrepo/mpp/gpdb/tests/storage/pg_twophase/switch_ckpt_b/trigger_sql/sql/create_heap_bitmap_index_template_b0.sql | guofengrichard/gpdb | 29bdd6ef38d8d9b9cb04ca31d44e279eb9f640d3 | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2018-12-04T09:13:57.000Z | 2018-12-04T09:13:57.000Z | -- start_ignore
SET gp_create_table_random_default_distribution=off;
-- end_ignore
CREATE INDEX pg2_heap_bitmap_idx1_b0 ON pg2_heap_table_bitmap_index_b0 USING bitmap (numeric_col);
| 36.4 | 98 | 0.873626 |
e70fa76b4f42eb5a5b90829d6db10d0eee931d98 | 1,861 | php | PHP | controllers/AdminCategoryController.php | TomLepsky/testshop | 060eb0d1b55f11ebf6932fcdfcbc50e39af92d75 | [
"Apache-2.0"
] | null | null | null | controllers/AdminCategoryController.php | TomLepsky/testshop | 060eb0d1b55f11ebf6932fcdfcbc50e39af92d75 | [
"Apache-2.0"
] | null | null | null | controllers/AdminCategoryController.php | TomLepsky/testshop | 060eb0d1b55f11ebf6932fcdfcbc50e39af92d75 | [
"Apache-2.0"
] | null | null | null | <?php
class AdminCategoryController extends Admin {
public function actionIndex() {
self::checkAdmin();
$categoriesList = array();
$categoriesList = Category::getCategoriesListAdmin();
require_once(ROOT . '/views/admin_category/index.php');
return true;
}
public function actionUpdate($c... | 18.989796 | 68 | 0.612037 |
4d55bbdca668fcf0e5f786ebf71bd5ea5928c844 | 12,961 | cs | C# | Assets/Scripts/postGame/spawnPeople.cs | IvanNik17/InfectionGame | ab6b56adab3ee26365691ef33a61b0d3df3da47f | [
"MIT"
] | 1 | 2020-11-04T02:16:11.000Z | 2020-11-04T02:16:11.000Z | Assets/Scripts/postGame/spawnPeople.cs | IvanNik17/InfectionGame | ab6b56adab3ee26365691ef33a61b0d3df3da47f | [
"MIT"
] | null | null | null | Assets/Scripts/postGame/spawnPeople.cs | IvanNik17/InfectionGame | ab6b56adab3ee26365691ef33a61b0d3df3da47f | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spawnPeople : MonoBehaviour
{
public GameObject raycasterObj;
public GameObject colliderSpace;
public GameObject personPrefab;
public List<GameObject> allSickPeople;
public float radBetweenPeople = 2f;
... | 24.13594 | 178 | 0.503973 |
4d6959c12dc7cf096b03fb728cb1274d28dc67fe | 1,204 | cs | C# | src/csharp/VoterWatch/VoterWatch/dataclasses/votingdata.cs | SiliconHoller/open-precincts | bf0d9786e4473fd223bbaf0872f10a962550b884 | [
"MIT"
] | null | null | null | src/csharp/VoterWatch/VoterWatch/dataclasses/votingdata.cs | SiliconHoller/open-precincts | bf0d9786e4473fd223bbaf0872f10a962550b884 | [
"MIT"
] | null | null | null | src/csharp/VoterWatch/VoterWatch/dataclasses/votingdata.cs | SiliconHoller/open-precincts | bf0d9786e4473fd223bbaf0872f10a962550b884 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace VoterWatch.dataclasses
{
[DataContract]
public class votemethod
{
[DataMember]
public int methodid { get; set; }
[DataMember]
public string na... | 23.153846 | 44 | 0.55897 |
af3534a2a861870ac487e93e48edfb17b14c485c | 508 | py | Python | hashes.py | sorrge/goviaji | 6a9c1da82c7db2ddfbed374b1950f048d9d72fa3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4 | 2019-02-17T04:14:26.000Z | 2020-11-29T07:23:56.000Z | hashes.py | sorrge/goviaji | 6a9c1da82c7db2ddfbed374b1950f048d9d72fa3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | hashes.py | sorrge/goviaji | 6a9c1da82c7db2ddfbed374b1950f048d9d72fa3 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | import random
hash_mask = 0xffffffffffffffff
combinator_value = 0xa0cf5a622e18b479
def new_hash():
return random.getrandbits(64)
def combine_hashes(h1, h2):
return h1 ^ ((h2 + combinator_value + (h1 << 6) + (h1 >> 2)) & hash_mask)
hashes_for_idx = []
def get_hash_for_idx(idx1, idx2):
while idx1 >= ... | 19.538462 | 77 | 0.685039 |
e73b8826276cacc4424fb83d5ab523ed92ac85e5 | 3,394 | php | PHP | resources/views/inc/navbar.blade.php | KingMike100/getit | 6fac139a9509604bdd5120d7e89a95208a469359 | [
"MIT"
] | null | null | null | resources/views/inc/navbar.blade.php | KingMike100/getit | 6fac139a9509604bdd5120d7e89a95208a469359 | [
"MIT"
] | 6 | 2020-07-17T15:53:51.000Z | 2022-02-26T14:46:51.000Z | resources/views/inc/navbar.blade.php | KingMike100/getit | 6fac139a9509604bdd5120d7e89a95208a469359 | [
"MIT"
] | null | null | null | <nav class="navbar navbar-default navbar-fixed-top">
<div class="navbar-inverse">
<div class="container">
<div class="navbar-header">
<a href="/"> <img src="{{asset('imgt/getit.png')}}" height="53" width="100"></a>
<a class="navbar-brand" href="/">
... | 46.493151 | 117 | 0.362994 |
694256462a1c98d70c9caf4cc0bca97aeb5f007d | 5,017 | dart | Dart | lib/weightvalues.dart | ephrine/Ayurvedic-Unit-Converter | b7762fc0a7030acc55067a35536173e90333f627 | [
"MIT"
] | null | null | null | lib/weightvalues.dart | ephrine/Ayurvedic-Unit-Converter | b7762fc0a7030acc55067a35536173e90333f627 | [
"MIT"
] | null | null | null | lib/weightvalues.dart | ephrine/Ayurvedic-Unit-Converter | b7762fc0a7030acc55067a35536173e90333f627 | [
"MIT"
] | null | null | null | List<String> weightList = [
'Ratti',
'Gunja',
'Masa',
'Karsa',
'Sukti',
'Palam',
'Prasrti',
'Kudava',
'Manika',
'Prastha',
'Adhaka',
'Drona',
'Surpa',
'Droni',
'Tola',
'Vahi',
'Khari',
'Tula',
'Bhara',
'Tak',
'Dhan',
'Jau',
'Siki',
'Kancha',
'Chhattank',
'Seer',
'Pa... | 36.355072 | 267 | 0.676899 |
4bf4297f07aee54ab2165143fd863d5003b02917 | 1,709 | go | Go | server/error.go | wjl198435/doods | 6b409dfc8936adedff24d2713dc342003e9dd9c6 | [
"MIT"
] | 274 | 2019-08-02T16:30:28.000Z | 2022-03-08T14:31:28.000Z | server/error.go | wjl198435/doods | 6b409dfc8936adedff24d2713dc342003e9dd9c6 | [
"MIT"
] | 67 | 2019-09-02T21:14:08.000Z | 2022-01-04T14:13:24.000Z | server/error.go | Raven283/gorestapi | d3c8a62ccf97f7cf7874e20d84912d73de2b705f | [
"MIT"
] | 42 | 2019-10-12T00:08:35.000Z | 2022-01-06T09:23:18.000Z | package server
import (
"net/http"
"github.com/go-chi/render"
)
// ErrResponse is a generic struct for returning a standard error document
type ErrResponse struct {
Err error `json:"-"` // low-level runtime error
HTTPStatusCode int `json:"-"` // http response status code
StatusText string `json:"s... | 29.982456 | 93 | 0.716208 |
b00a46d6fb4cb8d1890e40be553af4147d2cca11 | 485 | py | Python | course-2/session-4/working_with_files_3.py | robmarano/nyu-python | 4406f157e6d6a63e512ed1595f56dcb65c5d8526 | [
"MIT"
] | 2 | 2018-06-01T12:51:10.000Z | 2020-06-02T15:55:00.000Z | course-2/session-4/working_with_files_3.py | robmarano/nyu-python | 4406f157e6d6a63e512ed1595f56dcb65c5d8526 | [
"MIT"
] | null | null | null | course-2/session-4/working_with_files_3.py | robmarano/nyu-python | 4406f157e6d6a63e512ed1595f56dcb65c5d8526 | [
"MIT"
] | 1 | 2018-06-21T23:18:51.000Z | 2018-06-21T23:18:51.000Z | #!/usr/bin/env python3
# how to pickle data
import os
import pickle
a = b'12345678'
b = b'9abcdef'
print('a = {}; b = {}'.format(a,b))
# write data to file
cwd = os.getcwd()
file_name = os.path.join(cwd,'program_state.bin')
with open(file_name,'wb+') as f:
pickle.dump(a,f)
pickle.dump(b,f)
a = b'9abcdef'
b =... | 18.653846 | 49 | 0.597938 |
f47209e065de57482f930c793f9d6a357797a478 | 104 | ts | TypeScript | src/environments/environment.prod.ts | CapeAnnTechnology/sso | b348b85b9086d6c1014337e919e288c72867f8d4 | [
"BSD-3-Clause"
] | null | null | null | src/environments/environment.prod.ts | CapeAnnTechnology/sso | b348b85b9086d6c1014337e919e288c72867f8d4 | [
"BSD-3-Clause"
] | null | null | null | src/environments/environment.prod.ts | CapeAnnTechnology/sso | b348b85b9086d6c1014337e919e288c72867f8d4 | [
"BSD-3-Clause"
] | null | null | null | export const environment = {
production: true,
REGISTER_URI: 'http://172.16.1.25:4200/register',
};
| 20.8 | 51 | 0.692308 |
7aa41a4ead97875b40c149919e7c84854e846197 | 510 | cs | C# | PlannerApp.Shared/Models/PlanRequest.cs | julivanespi/PlannerApp | 8aa3cbc3cad7f5b57451ec2069b06332929446db | [
"MIT"
] | null | null | null | PlannerApp.Shared/Models/PlanRequest.cs | julivanespi/PlannerApp | 8aa3cbc3cad7f5b57451ec2069b06332929446db | [
"MIT"
] | null | null | null | PlannerApp.Shared/Models/PlanRequest.cs | julivanespi/PlannerApp | 8aa3cbc3cad7f5b57451ec2069b06332929446db | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Text;
namespace PlannerApp.Shared.Models
{
public class PlanRequest
{
public string Id { get; set; }
[Required]
[StringLength(100)]
public string Title { ... | 20.4 | 47 | 0.635294 |
df8ff3d644c65318a018f921c09b0c468006d265 | 8,265 | cs | C# | src/LiteWebSocket/Routing/MessageControllerResolver.cs | goldenass/LiteWebSocket | bd0d2937497c992734417ddff2bf835551c3d6da | [
"MIT"
] | null | null | null | src/LiteWebSocket/Routing/MessageControllerResolver.cs | goldenass/LiteWebSocket | bd0d2937497c992734417ddff2bf835551c3d6da | [
"MIT"
] | null | null | null | src/LiteWebSocket/Routing/MessageControllerResolver.cs | goldenass/LiteWebSocket | bd0d2937497c992734417ddff2bf835551c3d6da | [
"MIT"
] | null | null | null | using LiteWebSocket.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LiteWebSocket.Routing;
using LiteWebSocket.Exceptions;
using System.Reflection;
using System.Threading.Tasks;
using LiteWebSocket.Filters;
namespace LiteWebSocket.Routing
{
public class MessageC... | 38.263889 | 157 | 0.588869 |
14d16bd821aec4f86f47ea73d40438c2d6ef4d91 | 1,478 | ts | TypeScript | public/ProvidedServices/providedservices.ts | BPJohn/beauticianApp | 78a31e00e83967d0f247eadfd68e912b9a95b1b9 | [
"MIT"
] | null | null | null | public/ProvidedServices/providedservices.ts | BPJohn/beauticianApp | 78a31e00e83967d0f247eadfd68e912b9a95b1b9 | [
"MIT"
] | null | null | null | public/ProvidedServices/providedservices.ts | BPJohn/beauticianApp | 78a31e00e83967d0f247eadfd68e912b9a95b1b9 | [
"MIT"
] | null | null | null | import express = require('express');
let router = express.Router();
let providedservices =[{
serviceID:1,
shortDescription:"Basic Hair Cut",
fullDescription:"Our Hair Stylest will cut and style your scalp and or facial hair to any style you request",
cost:1500,
ImageUrl:"haircut icon"
},
{
serviceID:2,
s... | 28.423077 | 130 | 0.730717 |
a377ba113a6c87f6bc9b31d6e6720cd10fc0bafe | 1,291 | dart | Dart | lib/src/report/models/test_suite_report.dart | peiffer-innovations/automated_testing_framework_models | 612cdd837576ffae1c6333ebfea55c87f8997901 | [
"MIT"
] | 1 | 2022-01-23T00:08:03.000Z | 2022-01-23T00:08:03.000Z | lib/src/report/models/test_suite_report.dart | peiffer-innovations/automated_testing_framework_models | 612cdd837576ffae1c6333ebfea55c87f8997901 | [
"MIT"
] | null | null | null | lib/src/report/models/test_suite_report.dart | peiffer-innovations/automated_testing_framework_models | 612cdd837576ffae1c6333ebfea55c87f8997901 | [
"MIT"
] | null | null | null | import 'package:automated_testing_framework_models/automated_testing_framework_models.dart';
/// A summary of all the results from all the runs in a single test suite.
class TestSuiteReport {
final List<TestSuiteResult?> _results = [];
/// Returns all the results from the list.
List<TestSuiteResult?> get result... | 33.102564 | 92 | 0.699458 |
aec2ae34ede4b062bd617d24fa4834f81d5cbf42 | 301 | lua | Lua | AzurLaneData/zh-CN/view/level/cell/transportcellview.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/view/level/cell/transportcellview.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | AzurLaneData/zh-CN/view/level/cell/transportcellview.lua | FlandreCirno/AzurLaneWikiUtilitiesManual | b525fd9086dd716bb65848a8cd0635b261ab6fdf | [
"MIT"
] | null | null | null | class("TransportCellView", import(".OniCellView")).Ctor = function (slot0, slot1)
slot0.super.Ctor(slot0, slot1)
slot0.tfHp = slot0.tf:Find("hp")
slot0.tfHpText = slot0.tf:Find("hp/text")
slot0.tfFighting = slot0.tf:Find("fighting")
end
return class("TransportCellView", import(".OniCellView"))
| 30.1 | 81 | 0.727575 |
b915b5e949c529384ce7f04bca8b8933bf6b9dce | 674 | css | CSS | src/pages/Characters.css | thiagomoreirafreitas/react-breaking_bad | 4462c422230b45bcc0f14fb232dcf82e9bc0f2cd | [
"MIT"
] | null | null | null | src/pages/Characters.css | thiagomoreirafreitas/react-breaking_bad | 4462c422230b45bcc0f14fb232dcf82e9bc0f2cd | [
"MIT"
] | 4 | 2020-09-07T09:38:16.000Z | 2022-02-18T11:06:42.000Z | src/pages/Characters.css | thiagomoreirafreitas/react-breaking_bad | 4462c422230b45bcc0f14fb232dcf82e9bc0f2cd | [
"MIT"
] | null | null | null | .banner-characters{
width: 100%;
position: relative;
background-position-x: 50%;
background-image:linear-gradient(to top, #000 0%, transparent 58%), url(../assets/charactersbb.png);
background-size:cover;
background-repeat:no-repeat;
}
@media (min-width: 768px) {
.banner-characters{
... | 24.071429 | 108 | 0.621662 |
a32d4db4d7df9033ce8d9efb2776edaa03deab6a | 9,406 | java | Java | src/main/java/io/github/jonestimd/swing/component/FilterField.java | jonestimd/swing-extensions | 611adcaa4e1910555103a61daae1ccff7c73135a | [
"MIT"
] | 5 | 2021-01-07T20:57:22.000Z | 2022-03-28T02:17:27.000Z | src/main/java/io/github/jonestimd/swing/component/FilterField.java | jonestimd/swing-extensions | 611adcaa4e1910555103a61daae1ccff7c73135a | [
"MIT"
] | 3 | 2019-11-24T02:37:02.000Z | 2021-08-13T20:15:59.000Z | src/main/java/io/github/jonestimd/swing/component/FilterField.java | jonestimd/swing-extensions | 611adcaa4e1910555103a61daae1ccff7c73135a | [
"MIT"
] | null | null | null | // The MIT License (MIT)
//
// Copyright (c) 2019 Timothy D. Jones
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use... | 40.718615 | 120 | 0.680948 |
cda65a999ac40eb84f9d8d2fe57ef97d508f52b7 | 3,282 | cs | C# | src/RestHook.Host/Areas/RestHook/Pages/NewCallbackUrl.cshtml.cs | ghstahl/P7.RestHook | bfa15fa277a733b86d03204b7295ed8a4b242781 | [
"MIT"
] | null | null | null | src/RestHook.Host/Areas/RestHook/Pages/NewCallbackUrl.cshtml.cs | ghstahl/P7.RestHook | bfa15fa277a733b86d03204b7295ed8a4b242781 | [
"MIT"
] | null | null | null | src/RestHook.Host/Areas/RestHook/Pages/NewCallbackUrl.cshtml.cs | ghstahl/P7.RestHook | bfa15fa277a733b86d03204b7295ed8a4b242781 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using P7.RestHook;
using P7.RestHook.ClientManagement;
using ... | 35.290323 | 115 | 0.5844 |
7b0bbf83938edff178ca1e8033caee69984a9893 | 369 | rb | Ruby | db/migrate/20170725064712_create_assignments.rb | Luey-Ny0ike/school_system | 5c1a142cb0e3223e5a81fda8b4c007b60578baca | [
"MIT"
] | 1 | 2021-06-17T09:14:34.000Z | 2021-06-17T09:14:34.000Z | db/migrate/20170725064712_create_assignments.rb | Luey-Ny0ike/school_system | 5c1a142cb0e3223e5a81fda8b4c007b60578baca | [
"MIT"
] | null | null | null | db/migrate/20170725064712_create_assignments.rb | Luey-Ny0ike/school_system | 5c1a142cb0e3223e5a81fda8b4c007b60578baca | [
"MIT"
] | 2 | 2017-07-24T08:40:25.000Z | 2017-07-31T08:29:22.000Z | class CreateAssignments < ActiveRecord::Migration[5.1]
def change
create_table(:assignments) do |t|
t.column(:level, :int)
t.column(:stream, :varchar, :limit=>50)
t.column(:subject, :varchar, :limit=>30)
t.column(:teacher_id,:int)
t.column(:content, :string)
t.column(:due_date,... | 26.357143 | 54 | 0.631436 |
7967c9d4109f1de1dae735a008a5a0582a74acb7 | 3,468 | php | PHP | views/navbar.php | selch9876/Hair-Clinic | db1da7147f9f176832fb7ae13eb85f17fa77cf2b | [
"MIT"
] | null | null | null | views/navbar.php | selch9876/Hair-Clinic | db1da7147f9f176832fb7ae13eb85f17fa77cf2b | [
"MIT"
] | null | null | null | views/navbar.php | selch9876/Hair-Clinic | db1da7147f9f176832fb7ae13eb85f17fa77cf2b | [
"MIT"
] | null | null | null | <?php
session_start();
ob_start();
if (!isset($_SESSION['admin_name'])) {
header("Location: login.php");
}
?>
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HAIR CLINIC ADMIN</title>
<!-- Google Font: Source Sans ... | 38.533333 | 122 | 0.61707 |
5aeb1e469b76d56169d27ffccd7f079a51571ca9 | 4,248 | cs | C# | CrypPlugins/LatticeCrypto/Models/VectorND.cs | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 12 | 2021-09-29T14:50:06.000Z | 2022-03-31T15:01:21.000Z | CrypPlugins/LatticeCrypto/Models/VectorND.cs | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 15 | 2021-12-24T22:53:49.000Z | 2021-12-25T10:03:13.000Z | CrypPlugins/LatticeCrypto/Models/VectorND.cs | ekzyis/CrypTool-2 | 1af234b4f74486fbfeb3b3c49228cc36533a8c89 | [
"Apache-2.0"
] | 10 | 2021-10-17T19:46:51.000Z | 2022-03-18T02:57:57.000Z | using System;
using System.Linq;
using System.Numerics;
namespace LatticeCrypto.Models
{
public class VectorND
{
public readonly BigInteger[] values;
public int dim;
public VectorND(BigInteger[] values)
{
this.values = values;
dim = values.Length;
... | 25.136095 | 128 | 0.448446 |
8513f87b36f5a36a0c4f6166eed1c7d0c8decd20 | 525 | cs | C# | OU Game Jam 2021 - One Enemy/Assets/Scripts/Phase1/Phase1Spawner.cs | Xerner/OU-Game-Jam-2021 | 6164e913c0f6bbba9e52abcec96bc153ebf3e78e | [
"MIT"
] | null | null | null | OU Game Jam 2021 - One Enemy/Assets/Scripts/Phase1/Phase1Spawner.cs | Xerner/OU-Game-Jam-2021 | 6164e913c0f6bbba9e52abcec96bc153ebf3e78e | [
"MIT"
] | null | null | null | OU Game Jam 2021 - One Enemy/Assets/Scripts/Phase1/Phase1Spawner.cs | Xerner/OU-Game-Jam-2021 | 6164e913c0f6bbba9e52abcec96bc153ebf3e78e | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Phase1Spawner : MonoBehaviour
{
private float spawnTimer = 0f;
[SerializeField]
private GameObject projectile;
[SerializeField][Range(1,4)]
private float spawnDelay = 3f;
private void Update()
{
... | 22.826087 | 76 | 0.651429 |
7af5199fa6a22ae91224e6c7e106179bed4b5714 | 531 | cs | C# | source/DasBlog.Tests/UnitTests/UnitTestsConstants.cs | Boldbayar/dasblog-core-master | d0b9dea4ee2c67978afb838d94026c37d8bfa4bf | [
"MIT"
] | null | null | null | source/DasBlog.Tests/UnitTests/UnitTestsConstants.cs | Boldbayar/dasblog-core-master | d0b9dea4ee2c67978afb838d94026c37d8bfa4bf | [
"MIT"
] | null | null | null | source/DasBlog.Tests/UnitTests/UnitTestsConstants.cs | Boldbayar/dasblog-core-master | d0b9dea4ee2c67978afb838d94026c37d8bfa4bf | [
"MIT"
] | 1 | 2019-06-29T18:26:16.000Z | 2019-06-29T18:26:16.000Z | using System.IO;
namespace DasBlog.Tests.UnitTests
{
public class UnitTestsConstants
{
private static readonly DirectoryInfo root = new DirectoryInfo(DasBlog.Tests.Support.Common.Utils.GetProjectBinaryDirectory());
public static string TestContentLocation { get { return new DirectoryInfo(Path.Combine(root.Pare... | 37.928571 | 154 | 0.787194 |
33a1ebd0d2d6a168b03409c9a0a2adfdfb723376 | 2,358 | go | Go | norx.go | Yawning/norx | fa677fda67f007abe6a7ee7d4b5407998f66ec52 | [
"CC0-1.0"
] | 1 | 2018-03-18T22:32:44.000Z | 2018-03-18T22:32:44.000Z | norx.go | Yawning/norx | fa677fda67f007abe6a7ee7d4b5407998f66ec52 | [
"CC0-1.0"
] | null | null | null | norx.go | Yawning/norx | fa677fda67f007abe6a7ee7d4b5407998f66ec52 | [
"CC0-1.0"
] | null | null | null | // norx.go - High-level interface
//
// To the extent possible under law, Yawning Angel has waived all copyright
// and related or neighboring rights to the software, using the Creative
// Commons "CC0" public domain dedication. See LICENSE or
// <http://creativecommons.org/publicdomain/zero/1.0/> for full details.
pa... | 23.117647 | 75 | 0.670483 |
cab78ad89115f67dd34dbe989ce43e3d8df75a43 | 2,465 | cs | C# | src/SysX.Text.Json/Serialization/DelegatingJsonConverter.cs | kevinarthurackerman/SysX | 579ff46a7b071233bbeed2eb65816fe13951c24f | [
"MIT"
] | 1 | 2021-11-22T22:28:38.000Z | 2021-11-22T22:28:38.000Z | src/SysX.Text.Json/Serialization/DelegatingJsonConverter.cs | kevinarthurackerman/SysX | 579ff46a7b071233bbeed2eb65816fe13951c24f | [
"MIT"
] | null | null | null | src/SysX.Text.Json/Serialization/DelegatingJsonConverter.cs | kevinarthurackerman/SysX | 579ff46a7b071233bbeed2eb65816fe13951c24f | [
"MIT"
] | 1 | 2022-02-03T12:56:12.000Z | 2022-02-03T12:56:12.000Z | namespace SysX.Text.Json.Serialization.Identifiers;
/// <summary>
/// Converter to delegate to another converter.
/// </summary>
public class DelegatingJsonConverter<TValue, TSerializableValue> : JsonConverter<TValue>
{
private readonly Func<TValue?, TSerializableValue?> convertToSerializable;
private readonl... | 43.245614 | 191 | 0.746045 |
0b27f58af747f60c625b608d96be3d1c073659cc | 41 | swift | Swift | Playgrounds/SwiftOperators.playground/section-2.swift | johnnyclem/intro-to-ios | 8919a75be6147befc086bd1811f3c8e9622312f7 | [
"MIT"
] | null | null | null | Playgrounds/SwiftOperators.playground/section-2.swift | johnnyclem/intro-to-ios | 8919a75be6147befc086bd1811f3c8e9622312f7 | [
"MIT"
] | null | null | null | Playgrounds/SwiftOperators.playground/section-2.swift | johnnyclem/intro-to-ios | 8919a75be6147befc086bd1811f3c8e9622312f7 | [
"MIT"
] | null | null | null | import UIKit
let b = 10
var a = 5
a = b
| 6.833333 | 12 | 0.585366 |
a362ab7c025d70317de11455d1b11b16501e65f0 | 2,538 | java | Java | app/src/main/java/com/kunzisoft/keepass/database/save/PwDbInnerHeaderOutputV4.java | grimpy/KeePassDX | 88ac2ecf98938dcd42eb3a4c67140ef39ad4ffab | [
"ECL-2.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | app/src/main/java/com/kunzisoft/keepass/database/save/PwDbInnerHeaderOutputV4.java | grimpy/KeePassDX | 88ac2ecf98938dcd42eb3a4c67140ef39ad4ffab | [
"ECL-2.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | app/src/main/java/com/kunzisoft/keepass/database/save/PwDbInnerHeaderOutputV4.java | grimpy/KeePassDX | 88ac2ecf98938dcd42eb3a4c67140ef39ad4ffab | [
"ECL-2.0",
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | /*
* Copyright 2017 Brian Pellin.
*
* This file is part of KeePass DX.
*
* KeePassDroid is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | 35.25 | 91 | 0.70725 |
bb35e1df4fbcc231c2c7584fdcaa0b38ca5f1776 | 287 | cs | C# | SmokeMe/Attributes/IgnoreAttribute.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | 8 | 2020-12-20T22:15:24.000Z | 2022-01-05T18:42:16.000Z | SmokeMe/Attributes/IgnoreAttribute.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | 7 | 2021-03-23T17:02:02.000Z | 2021-05-14T15:29:07.000Z | SmokeMe/Attributes/IgnoreAttribute.cs | 42skillz/SmokeMe | 8ac966af004b330833bc418d0d0d0d6bff9dbc02 | [
"Apache-2.0"
] | null | null | null | using System;
namespace SmokeMe
{
/// <summary>
/// Tell SmokeMe lib to ignore a Smoke Test (i.e.: a <see cref="SmokeTest"/> type).
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class IgnoreAttribute : Attribute
{
}
} | 23.916667 | 87 | 0.641115 |
cb8a5d9a2b94d8e8c87e783861cde23f05e03f40 | 46,821 | html | HTML | src/main/webapp/templates/lizhi/front/tag.html | qiukj/kfcms | 9dad0bf6bb1f034ae0377e3aebb9b52920290a53 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/templates/lizhi/front/tag.html | qiukj/kfcms | 9dad0bf6bb1f034ae0377e3aebb9b52920290a53 | [
"Apache-2.0"
] | null | null | null | src/main/webapp/templates/lizhi/front/tag.html | qiukj/kfcms | 9dad0bf6bb1f034ae0377e3aebb9b52920290a53 | [
"Apache-2.0"
] | null | null | null |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TAG标签-... | 44.804785 | 285 | 0.622605 |
bb8abfe3c30c15e1b933bea7bb12d8e14faff55a | 468 | cs | C# | src/UCenterApi.AspNetCore/UCenterApiMiddlewareExtensions.cs | yiyungent/UCenterApi | 462c8191c23c598b607b0caf661026bd68c9861c | [
"MIT"
] | 1 | 2020-09-10T07:20:46.000Z | 2020-09-10T07:20:46.000Z | src/UCenterApi.AspNetCore/UCenterApiMiddlewareExtensions.cs | yiyungent/UCenterApi | 462c8191c23c598b607b0caf661026bd68c9861c | [
"MIT"
] | null | null | null | src/UCenterApi.AspNetCore/UCenterApiMiddlewareExtensions.cs | yiyungent/UCenterApi | 462c8191c23c598b607b0caf661026bd68c9861c | [
"MIT"
] | 1 | 2020-09-10T07:20:47.000Z | 2020-09-10T07:20:47.000Z | using System;
using Microsoft.AspNetCore.Builder;
namespace UCenterApi.AspNetCore
{
public static class UCenterApiMiddlewareExtensions
{
public static IApplicationBuilder UseUCenterApi(this IApplicationBuilder builder)
{
builder.MapWhen(m => m.Request.Path.StartsWithSegments("/api/... | 29.25 | 173 | 0.715812 |
a7b4d3026a0ec1c72178b5be019575f002d99925 | 15,740 | css | CSS | Front/css/modaal.css | arthurgregoryo/RPGzone | b027b3bc9d843b477c208333418f582dd471ac60 | [
"MIT"
] | 1 | 2020-08-07T14:19:10.000Z | 2020-08-07T14:19:10.000Z | Front/css/modaal.css | arthurgregoryo/RPGzone | b027b3bc9d843b477c208333418f582dd471ac60 | [
"MIT"
] | 1 | 2020-04-12T15:44:03.000Z | 2020-04-12T15:44:03.000Z | Front/css/modaal.css | arthurgregoryo/RPGzone | b027b3bc9d843b477c208333418f582dd471ac60 | [
"MIT"
] | 2 | 2020-04-12T02:44:45.000Z | 2020-05-05T12:02:23.000Z | /*!
Modaal - accessible modals - v0.4.4
by Humaan, for all humans.
http://humaan.com
*/
.modaal-noscroll {
overflow: hidden;
}
.modaal-accessible-hide {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
padding: 0 !important;
border: 0 !important;
he... | 20.025445 | 76 | 0.706163 |
7978e10b6befa838b9bf1d54a2156dde05c0ca56 | 2,006 | php | PHP | application/views/usuarios/usuarios_actualizar_clave_form.php | jhonnycgarcia/proyecto_cuc | ed78ec7ebb44458f6b95a196536db59e9250c77a | [
"MIT"
] | null | null | null | application/views/usuarios/usuarios_actualizar_clave_form.php | jhonnycgarcia/proyecto_cuc | ed78ec7ebb44458f6b95a196536db59e9250c77a | [
"MIT"
] | null | null | null | application/views/usuarios/usuarios_actualizar_clave_form.php | jhonnycgarcia/proyecto_cuc | ed78ec7ebb44458f6b95a196536db59e9250c77a | [
"MIT"
] | null | null | null | <div class="box box-default">
<div class="box-body"> <!-- Box-Body -->
<?php
echo form_open($form_action
,array(
'id' => 'form_usuarios'
,'class' => 'form-horizontal'
)
);
?>
<fieldset>
<div class="form-group" id="c_clave">
<label for="clave_actual" ... | 31.84127 | 117 | 0.519442 |
a44fc6ab4f9cdf7fa7ea3e41f63a2d5bbe616804 | 4,581 | php | PHP | app/ClashApi.php | bll44/coc | 2016809aaaef9470ec41bd996b24ddf38d7686bb | [
"MIT"
] | null | null | null | app/ClashApi.php | bll44/coc | 2016809aaaef9470ec41bd996b24ddf38d7686bb | [
"MIT"
] | null | null | null | app/ClashApi.php | bll44/coc | 2016809aaaef9470ec41bd996b24ddf38d7686bb | [
"MIT"
] | null | null | null | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\Clan;
use App\Member;
use App\League;
use App\Location;
class ClashApi extends Model
{
private $curl;
public $lastResponse;
public function __construct()
{
$this->curl = new \anlutro\cURL\cURL;
}
public function getClanByTag($tag)
{
$... | 28.993671 | 124 | 0.650731 |
3f8d0e75aefee6bf75db44be82ff939cde3f32e8 | 503 | php | PHP | common/behaviors/FormattedError.php | vampir2236/cities.ru | df83d5203aa71f46de49441badd7f3ddd1b829b4 | [
"BSD-3-Clause"
] | null | null | null | common/behaviors/FormattedError.php | vampir2236/cities.ru | df83d5203aa71f46de49441badd7f3ddd1b829b4 | [
"BSD-3-Clause"
] | null | null | null | common/behaviors/FormattedError.php | vampir2236/cities.ru | df83d5203aa71f46de49441badd7f3ddd1b829b4 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace common\behaviors;
use yii\base\Behavior;
use yii\helpers\Html;
class FormattedError extends Behavior
{
/**
* Получение ошибок валидации в нужном формате для отобржения
* на клиенте
* @return array
*/
public function getFormattedError()
{
$result = [];
... | 17.964286 | 74 | 0.600398 |
e75d18a055e9e5c43ea07394de8f040e0ac6bd45 | 5,849 | php | PHP | app/Http/Controllers/PerusahaanController.php | 161710167/lanjutanproject | 42e625ff8b80cc69c36de176934608acb5ff5ba3 | [
"MIT"
] | null | null | null | app/Http/Controllers/PerusahaanController.php | 161710167/lanjutanproject | 42e625ff8b80cc69c36de176934608acb5ff5ba3 | [
"MIT"
] | null | null | null | app/Http/Controllers/PerusahaanController.php | 161710167/lanjutanproject | 42e625ff8b80cc69c36de176934608acb5ff5ba3 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Perusahaan;
use App\User;
use File;
use Illuminate\Http\Request;
use Session;
class PerusahaanController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
public function index()
{
$p = Perusahaan::with(... | 30.149485 | 129 | 0.519747 |
df06a0897590290fa99920804c7165a459a7bec4 | 386 | cs | C# | src/Unrect.Strategies/Offset/OffsetStrategy.cs | jasonmcboyd/Unrect | f129f48fd9e3dabdcb22bbfda458d7e18509863a | [
"MIT"
] | null | null | null | src/Unrect.Strategies/Offset/OffsetStrategy.cs | jasonmcboyd/Unrect | f129f48fd9e3dabdcb22bbfda458d7e18509863a | [
"MIT"
] | null | null | null | src/Unrect.Strategies/Offset/OffsetStrategy.cs | jasonmcboyd/Unrect | f129f48fd9e3dabdcb22bbfda458d7e18509863a | [
"MIT"
] | null | null | null | using Unrect.Core;
namespace Unrect.Strategies
{
internal class OffsetStrategy<TSpace> : IOffsetStrategy<TSpace>
{
public OffsetStrategy(ISizeStrategy<TSpace> strategy)
{
Strategy = strategy;
}
private ISizeStrategy<TSpace> Strategy { get; }
public Offset GetOffset(ISpace<TSpace> avail... | 22.705882 | 107 | 0.722798 |
2cac0da0a49a3e8ee4b606cad9fb9d6ce4f947bc | 4,770 | py | Python | grove/grove_PM2_5_HM3301.py | Hansen0314/grove.py | 8edbf4678d7634623d9279bce5a8b73f32c56325 | [
"MIT"
] | 122 | 2018-12-04T16:42:32.000Z | 2022-03-16T09:15:07.000Z | grove/grove_PM2_5_HM3301.py | Hansen0314/grove.py | 8edbf4678d7634623d9279bce5a8b73f32c56325 | [
"MIT"
] | 28 | 2019-03-27T19:26:25.000Z | 2022-03-30T04:49:54.000Z | grove/grove_PM2_5_HM3301.py | Hansen0314/grove.py | 8edbf4678d7634623d9279bce5a8b73f32c56325 | [
"MIT"
] | 91 | 2018-06-30T06:35:23.000Z | 2022-03-20T14:56:15.000Z |
#
# Library for Grove - PM2.5 PM10 detect sensor (HM3301)
#
'''
## License
The MIT License (MIT)
Copyright (C) 2018 Seeed Technology Co.,Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software w... | 35.073529 | 106 | 0.632285 |
320e745d9580c98dc762f51ab325f6555265dbd3 | 1,870 | dart | Dart | lib/src/messaging/worker_response.dart | mbaumgartenbr/storage_worker | 88a5129b757e0f872e3d419ecf1f8f5e7898a8d9 | [
"MIT"
] | null | null | null | lib/src/messaging/worker_response.dart | mbaumgartenbr/storage_worker | 88a5129b757e0f872e3d419ecf1f8f5e7898a8d9 | [
"MIT"
] | null | null | null | lib/src/messaging/worker_response.dart | mbaumgartenbr/storage_worker | 88a5129b757e0f872e3d419ecf1f8f5e7898a8d9 | [
"MIT"
] | null | null | null | part of messaging;
class WorkerResponse {
const WorkerResponse({
required this.type,
required this.data,
this.message,
});
final String type;
final WorkerData data;
/// If [message] is not null, this response is a FAILURE.
final String? message;
Map<String, dynamic> toMap() => {
't... | 24.605263 | 74 | 0.650267 |
4b039cbbe984c9f537a59e7f0a046e8b073782fc | 1,773 | swift | Swift | MarvelCharacters/MarvelCharacters/Character/CharacterViewController.swift | kerekesmarton/Marvel | afc6d74a725cffefbc2df9ded7988b8812ec8689 | [
"MIT"
] | 1 | 2021-08-13T08:09:15.000Z | 2021-08-13T08:09:15.000Z | MarvelCharacters/MarvelCharacters/Character/CharacterViewController.swift | kerekesmarton/Marvel | afc6d74a725cffefbc2df9ded7988b8812ec8689 | [
"MIT"
] | null | null | null | MarvelCharacters/MarvelCharacters/Character/CharacterViewController.swift | kerekesmarton/Marvel | afc6d74a725cffefbc2df9ded7988b8812ec8689 | [
"MIT"
] | null | null | null | //
// CharacterViewController.swift
// MarvelCharacters
//
// Created by Marton Kerekes on 06/01/2020.
// Copyright © 2020 Marton Kerekes. All rights reserved.
//
import Foundation
import IosCore
import Presentation
class CharacterViewController: SegmentedHeaderViewController, CharacterPresentationOutput {
va... | 28.142857 | 125 | 0.654822 |
0d92faf873bba4f83984eb76caf9372b73451f97 | 18,803 | cs | C# | Sources/Languages/DxTBLang.Designer.cs | daerlnaxe/DxTBoxCore | 41601ce9adf2b9939ed998ecda3a365096d4797d | [
"MIT"
] | 2 | 2021-01-08T16:11:01.000Z | 2021-02-09T10:26:14.000Z | Sources/Languages/DxTBLang.Designer.cs | daerlnaxe/DxTBoxCore | 41601ce9adf2b9939ed998ecda3a365096d4797d | [
"MIT"
] | null | null | null | Sources/Languages/DxTBLang.Designer.cs | daerlnaxe/DxTBoxCore | 41601ce9adf2b9939ed998ecda3a365096d4797d | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code es... | 33.103873 | 173 | 0.518375 |
548a107e54be2929cf633439ab57a01d0d684980 | 638 | lua | Lua | src/states/PlayState.lua | d5f6/minesweeper | f1ac0e3e4277df316a888a5ef64d83cde5730d9d | [
"MIT"
] | null | null | null | src/states/PlayState.lua | d5f6/minesweeper | f1ac0e3e4277df316a888a5ef64d83cde5730d9d | [
"MIT"
] | null | null | null | src/states/PlayState.lua | d5f6/minesweeper | f1ac0e3e4277df316a888a5ef64d83cde5730d9d | [
"MIT"
] | null | null | null | --[[
PlayState Class
]]
PlayState = Class{__includes = BaseState}
function PlayState:init()
self.time = 120
self.gameGrid = GameGrid(GRID_WIDTH, GRID_HEIGHT)
Timer.every(1, function()
self.time = self.time - 1
if self.time == 0 then
gStateMachine:change('game-over', {
gameGrid = self... | 18.764706 | 73 | 0.675549 |
1c3decfc5dd7ec53388eec6cfaaf6c894c83975d | 461 | cql | SQL | input/cql/ANCDT20.cql | workcartersmith/smart-anc | bbcd1026cceae3408e3f548eb46787f4d4c4b45d | [
"CC0-1.0"
] | 7 | 2021-08-13T22:32:16.000Z | 2022-03-23T11:34:00.000Z | input/cql/ANCDT20.cql | workcartersmith/smart-anc | bbcd1026cceae3408e3f548eb46787f4d4c4b45d | [
"CC0-1.0"
] | 14 | 2019-12-02T20:28:15.000Z | 2020-10-13T15:17:42.000Z | input/cql/ANCDT20.cql | workcartersmith/smart-anc | bbcd1026cceae3408e3f548eb46787f4d4c4b45d | [
"CC0-1.0"
] | 3 | 2021-06-22T15:35:01.000Z | 2021-08-11T19:42:07.000Z | library ANCDT20
using FHIR version '4.0.1'
include FHIRHelpers version '4.0.1'
include ANCConfig called Config
include ANCConcepts called Cx
include ANCDataElements called PatientData
include ANCContactDataElements called ContactData
context Patient
/*
"Hepatitis C test result" = "Hepatitis C positive"
*/
define "... | 24.263158 | 90 | 0.802603 |
4fa419ab16ddf1e939747d45bd6608b9cc08e959 | 120 | rb | Ruby | lib/technology/icons.rb | ethirajsrinivasan/technology-icons | 547d0bab87c30a63c45ac5241fe51730bdf2dd40 | [
"MIT"
] | null | null | null | lib/technology/icons.rb | ethirajsrinivasan/technology-icons | 547d0bab87c30a63c45ac5241fe51730bdf2dd40 | [
"MIT"
] | null | null | null | lib/technology/icons.rb | ethirajsrinivasan/technology-icons | 547d0bab87c30a63c45ac5241fe51730bdf2dd40 | [
"MIT"
] | 1 | 2020-10-19T13:27:46.000Z | 2020-10-19T13:27:46.000Z | require "technology/icons/version"
module Technology
module Icons
class Engine < Rails::Engine
end
end
end
| 13.333333 | 34 | 0.725 |
8293660b4f5cc01e42d8b5ee28d952dd09160af4 | 2,203 | kt | Kotlin | shared/src/main/kotlin/security/RequestFilter.kt | auroredea/tock | ab69a38c68aec7004c653fde5951e7aeb1462c59 | [
"Apache-2.0"
] | null | null | null | shared/src/main/kotlin/security/RequestFilter.kt | auroredea/tock | ab69a38c68aec7004c653fde5951e7aeb1462c59 | [
"Apache-2.0"
] | null | null | null | shared/src/main/kotlin/security/RequestFilter.kt | auroredea/tock | ab69a38c68aec7004c653fde5951e7aeb1462c59 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017/2019 e-voyageurs technologies
*
* 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 applicabl... | 33.378788 | 111 | 0.690422 |
4c64d90917578b8c64fee450caf2bfb14524f96e | 8,106 | lua | Lua | client/Classes/Element/DynamicMenu/C_MenuButton.c.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | null | null | null | client/Classes/Element/DynamicMenu/C_MenuButton.c.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | null | null | null | client/Classes/Element/DynamicMenu/C_MenuButton.c.lua | StiviiK/iLife | e4b905260d53b5fea47317c48176c77b30f08195 | [
"MIT"
] | 2 | 2021-02-17T05:19:51.000Z | 2021-02-24T05:31:29.000Z | local screenX, screenY = guiGetScreenSize()
C_MenuButton = {}
C_MenuButton.new = function(_text, _width, _height, _rr, _rg, _rb, _br, _bg, _bb, _tr, _tg, _tb)
assert(type(_text) == "string", "'Text' ist not a valid text!")
assert(type(_width) == "number", "'Width' is not a valid number!")
assert(type(_height) ==... | 29.476364 | 147 | 0.608562 |
5d8526bbc9ca05b3cea9dc75b261669fe244cff1 | 6,971 | hpp | C++ | Code/Foundation/Common/Containers/SlotMap.hpp | WelderUpdates/WelderEngineRevamp | 1c665239566e9c7156926852f7952948d9286d7d | [
"MIT"
] | 3 | 2022-02-11T10:34:33.000Z | 2022-02-24T17:44:17.000Z | Code/Foundation/Common/Containers/SlotMap.hpp | WelderUpdates/WelderEngineRevamp | 1c665239566e9c7156926852f7952948d9286d7d | [
"MIT"
] | null | null | null | Code/Foundation/Common/Containers/SlotMap.hpp | WelderUpdates/WelderEngineRevamp | 1c665239566e9c7156926852f7952948d9286d7d | [
"MIT"
] | null | null | null | // MIT Licensed (see LICENSE.md).
#pragma once
#include "ContainerCommon.hpp"
#include "Memory/Allocator.hpp"
namespace Zero
{
/// Intrusive slot map container. Uses an array of slots combined with
// a unique id. Value Type MUST be a pointer.
template <typename keyType, typename dataType, typename slotPolicy, typen... | 22.130159 | 106 | 0.629465 |
dd241b078200435b791dda8d3216f3cf7d0d4d81 | 959 | lua | Lua | utils/_actions/hue.lua | asmagill/hammerspoon-config-take2 | 53148f9e960eb9d5f3467f16c955f8c256da58a3 | [
"MIT"
] | 27 | 2017-11-05T19:01:44.000Z | 2021-09-17T15:08:57.000Z | utils/_actions/hue.lua | zhangaz1/hammerspoon-config-take2 | 3cf7deadbe010a4890c935b1a48d1037fadfd857 | [
"MIT"
] | 3 | 2018-04-05T08:24:30.000Z | 2020-04-30T05:51:52.000Z | utils/_actions/hue.lua | asmagill/hammerspoon-config-take2 | 53148f9e960eb9d5f3467f16c955f8c256da58a3 | [
"MIT"
] | 3 | 2019-01-13T07:07:05.000Z | 2021-07-04T06:23:48.000Z | local hue = require("hs._asm.hue")
local timer = require("hs.timer")
local module = {}
local waitForDefault = timer.waitUntil(function()
return hue.default ~= nil
end, function(t)
waitForDefault = nil
local _groupMappings = {}
for k,v in pairs(hue.default:get("/groups")) do
_groupMappings[v... | 29.060606 | 100 | 0.600626 |
2c35d47af136555335b19681ee4048483a0676d0 | 1,425 | py | Python | tests/decomposition_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 4 | 2018-11-23T07:45:51.000Z | 2020-12-29T19:32:06.000Z | tests/decomposition_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 18 | 2017-11-16T08:32:42.000Z | 2017-12-27T15:19:58.000Z | tests/decomposition_tests.py | gf712/PyML | 83849ff6e1c1bbcf9b87826ef673fb34622a0539 | [
"MIT"
] | 3 | 2018-10-31T17:09:22.000Z | 2020-03-02T22:40:23.000Z | import unittest
from pyml.decomposition import PCA
from pyml.datasets import load_iris
class PCATest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.X, cls.y = load_iris()
cls.decomposer = PCA()
cls.decomposer.train(X=cls.X)
def test_PCA_n_components(self):
self... | 36.538462 | 103 | 0.705965 |
9290b4cfcd4c4a46667090cd1d26bbe27e588aac | 412 | sql | SQL | db/stored-procedures/SetContextData.sql | amosvoron/edipi | 099c2dc50b312396aa20205c2470ef5b721b6b59 | [
"MIT"
] | null | null | null | db/stored-procedures/SetContextData.sql | amosvoron/edipi | 099c2dc50b312396aa20205c2470ef5b721b6b59 | [
"MIT"
] | null | null | null | db/stored-procedures/SetContextData.sql | amosvoron/edipi | 099c2dc50b312396aa20205c2470ef5b721b6b59 | [
"MIT"
] | null | null | null |
/*
Object: dbo.SetContectData
Description: Sets CONTEXT_INFO variable associated with the current session or connection.
*/
CREATE PROCEDURE [dbo].[SetContextData]
@DATA As varchar(128)
AS
DECLARE @CONTEXT_INFO varbinary(128);
SELECT @CONTEXT_INFO =
Cast(Cast(@DATA As varchar(127)) +
Space(128) As binary(... | 17.166667 | 90 | 0.735437 |
b016e2c584208861ca322d61510efbf05a87efb1 | 5,050 | py | Python | src/market_watcher/common.py | mcf-long-short/ibkr-options-volatility-trading | 2942456b1023618ac3f9741405029d9d3b08be13 | [
"MIT"
] | 28 | 2021-06-05T23:55:50.000Z | 2022-03-30T01:09:22.000Z | src/market_watcher/common.py | sarangab/ibkr-options-volatility-trading | 2942456b1023618ac3f9741405029d9d3b08be13 | [
"MIT"
] | 1 | 2021-06-05T10:45:14.000Z | 2021-06-05T10:45:14.000Z | src/market_watcher/common.py | sarangab/ibkr-options-volatility-trading | 2942456b1023618ac3f9741405029d9d3b08be13 | [
"MIT"
] | 8 | 2021-06-08T06:42:02.000Z | 2021-11-15T18:35:38.000Z | import time
from enum import Enum
import yaml
from yahoofinancials import YahooFinancials
from market_watcher.config import context
class STRATEGIES(Enum):
LONG_STRADDLE = "long straddle"
SHORT_STRADDLE = "short straddle"
def get_terget_stocks(file_path):
"""Reads target stocks for long/short straddl... | 34.827586 | 89 | 0.676634 |
1334a231788bc74cc63e09d821c50403dd9b26ae | 466 | rb | Ruby | app/controllers/projects/builds_controller.rb | smile0913/gitlabhq | a7f114b1368fd11dba036f67b2ef66c2bf39f02a | [
"MIT"
] | 1 | 2021-04-08T12:17:34.000Z | 2021-04-08T12:17:34.000Z | app/controllers/projects/builds_controller.rb | smile0913/gitlabhq | a7f114b1368fd11dba036f67b2ef66c2bf39f02a | [
"MIT"
] | null | null | null | app/controllers/projects/builds_controller.rb | smile0913/gitlabhq | a7f114b1368fd11dba036f67b2ef66c2bf39f02a | [
"MIT"
] | 1 | 2020-11-04T05:26:42.000Z | 2020-11-04T05:26:42.000Z | class Projects::BuildsController < Projects::ApplicationController
before_action :authorize_read_build!
def index
redirect_to namespace_project_jobs_path(project.namespace, project)
end
def show
redirect_to namespace_project_job_path(project.namespace, project, job)
end
def raw
redirect_to ra... | 21.181818 | 79 | 0.770386 |
af657aad155897d3c17e06bce26c4cee7d31f327 | 46 | py | Python | test.py | angel-2022cal/PyPoll_with_Python | d249376f787c131787210fde6e758b2591ea3555 | [
"MIT"
] | null | null | null | test.py | angel-2022cal/PyPoll_with_Python | d249376f787c131787210fde6e758b2591ea3555 | [
"MIT"
] | null | null | null | test.py | angel-2022cal/PyPoll_with_Python | d249376f787c131787210fde6e758b2591ea3555 | [
"MIT"
] | null | null | null | print("test")
type(3)
ballots = 1,342
ballots | 11.5 | 15 | 0.695652 |
4d26a6c3ad8e45515871ef1bc32970e5e8813e38 | 370 | cs | C# | DesignPatternsCore/Program.cs | yellow-dart/DesignPatterns | 2668ed168395f533fa674df5993f2253d3c7be86 | [
"MIT"
] | null | null | null | DesignPatternsCore/Program.cs | yellow-dart/DesignPatterns | 2668ed168395f533fa674df5993f2253d3c7be86 | [
"MIT"
] | null | null | null | DesignPatternsCore/Program.cs | yellow-dart/DesignPatterns | 2668ed168395f533fa674df5993f2253d3c7be86 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using DesignPatternsCore.FactoryPattern;
namespace DesignPatternsCore
{
class Program
{
public static void Main()
{
var player = PlayerFactory.LoadPlayer();
var monster = Monste... | 19.473684 | 63 | 0.667568 |
0de56624e955fc3846080ac34e345421ba80df0e | 543 | cs | C# | Fishing Legends/Assets/Scripts/Login/SignInPageBehaviour.cs | PolyPlus/FishingLegends | 9a210cddcbc9e224be6d6830bf52b88e79b68fdd | [
"Apache-2.0"
] | null | null | null | Fishing Legends/Assets/Scripts/Login/SignInPageBehaviour.cs | PolyPlus/FishingLegends | 9a210cddcbc9e224be6d6830bf52b88e79b68fdd | [
"Apache-2.0"
] | null | null | null | Fishing Legends/Assets/Scripts/Login/SignInPageBehaviour.cs | PolyPlus/FishingLegends | 9a210cddcbc9e224be6d6830bf52b88e79b68fdd | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SignInPageBehaviour : MonoBehaviour
{
[SerializeField]
private InputField username;
[SerializeField]
private InputField password;
[SerializeField]
private Canvas LogInCanvas;
... | 19.392857 | 48 | 0.686924 |
0dbeb9ef94763c1e3f7888d861b8ab0c6b7ca8ee | 1,438 | cs | C# | WinRT XAML Toolkit - 1.3.6.0 - Source.zip/WinRTXamlToolkit.Composition/WriteableBitmapRenderExtensions.cs | prabaprakash/Media_Player | 5fef07ae55295cdc1f684e9151f2ac78f16515f3 | [
"OML"
] | 1 | 2020-04-12T07:26:53.000Z | 2020-04-12T07:26:53.000Z | WinRT XAML Toolkit - 1.3.6.0 - Source.zip/WinRTXamlToolkit.Composition/WriteableBitmapRenderExtensions.cs | prabaprakash/Media-Player | 5fef07ae55295cdc1f684e9151f2ac78f16515f3 | [
"OML"
] | null | null | null | WinRT XAML Toolkit - 1.3.6.0 - Source.zip/WinRTXamlToolkit.Composition/WriteableBitmapRenderExtensions.cs | prabaprakash/Media-Player | 5fef07ae55295cdc1f684e9151f2ac78f16515f3 | [
"OML"
] | null | null | null | using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
namespace WinRTXamlToolkit.Composition
{
// Thanks to Christoph Wille and his WinRT-snippets
// https://github.com/christophwille/winrt-snippets/tree/master/Render... | 32.681818 | 130 | 0.637691 |
72ad59a4f988d4edbfa08762192d52e06e59d315 | 2,157 | cs | C# | UI/Docking/DockingGroupBehavior.cs | Invivoo-software/xcomponent.ui | 3d90ba1003268cbcc11f692cb0d8e6e796e86ebd | [
"Apache-2.0"
] | 2 | 2015-12-22T16:19:20.000Z | 2016-08-02T19:20:32.000Z | UI/Docking/DockingGroupBehavior.cs | xcomponent/xcomponent.ui | 3d90ba1003268cbcc11f692cb0d8e6e796e86ebd | [
"Apache-2.0"
] | 3 | 2015-07-23T09:07:16.000Z | 2015-08-14T13:12:46.000Z | UI/Docking/DockingGroupBehavior.cs | Invivoo-software/xcomponent.ui | 3d90ba1003268cbcc11f692cb0d8e6e796e86ebd | [
"Apache-2.0"
] | null | null | null | using System;
using System.Windows;
using System.Windows.Interactivity;
using Syncfusion.Windows.Tools.Controls;
namespace XComponent.Common.UI.Docking
{
public class DockingGroupBehavior : Behavior<FrameworkElement>
{
protected override void OnAttached()
{
if (!XCDocking.IsLoading... | 39.944444 | 145 | 0.629115 |
0dde5a8bd40a2700b138ea26ec40b6f80051e60f | 1,958 | cs | C# | test/BuildMaster.Net.Tests/Variables/Release/BuildMasterClientShould.cs | lvermeulen/BuildMaster.Net | f9fad0a9480dd7c0dee07a85d59ba877e5ed7085 | [
"MIT"
] | null | null | null | test/BuildMaster.Net.Tests/Variables/Release/BuildMasterClientShould.cs | lvermeulen/BuildMaster.Net | f9fad0a9480dd7c0dee07a85d59ba877e5ed7085 | [
"MIT"
] | 38 | 2017-06-05T11:55:29.000Z | 2017-07-09T17:19:50.000Z | test/BuildMaster.Net.Tests/Variables/Release/BuildMasterClientShould.cs | lvermeulen/BuildMaster.Net | f9fad0a9480dd7c0dee07a85d59ba877e5ed7085 | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using BuildMaster.Net.Common.Models;
using Xunit;
// ReSharper disable CheckNamespace
namespace BuildMaster.Net.Tests
{
public partial class BuildMasterClientShould
{
[Theory]
[InlineData("TestApplication", "0.0.3")]
public async Task GetAllReleaseConfigu... | 39.959184 | 207 | 0.70429 |
a138f9c34b5592e596c9f4fcb5e27f1ecfa469f9 | 6,709 | tsx | TypeScript | gui/src/kg/components/kg/KgHomePage.tsx | tetherless-world/mcs-portal | 740a319916b86c765a117fe08b8f8299930ed5d1 | [
"MIT"
] | 2 | 2020-08-28T01:30:22.000Z | 2021-07-13T20:53:24.000Z | gui/src/kg/components/kg/KgHomePage.tsx | tetherless-world/mcs-apps | 740a319916b86c765a117fe08b8f8299930ed5d1 | [
"MIT"
] | 115 | 2020-07-07T19:38:20.000Z | 2020-12-17T20:10:39.000Z | gui/src/kg/components/kg/KgHomePage.tsx | tetherless-world/mcs-apps | 740a319916b86c765a117fe08b8f8299930ed5d1 | [
"MIT"
] | null | null | null | import * as React from "react";
import {KgSearchBox} from "kg/components/kg/search/KgSearchBox";
import {KgFrame} from "kg/components/frame/KgFrame";
import {
Button,
Container,
createStyles,
Grid,
List,
ListItem,
ListItemText,
makeStyles,
Typography,
} from "@material-ui/core";
import {kgId} from "... | 34.229592 | 82 | 0.463705 |
db796eaef016e85c338aed1447d14b202ce7972b | 6,207 | php | PHP | resources/views/admin/task/form/form.blade.php | alifakbarr/karyawan-app | 99c2be01734ab07f99821413e8418f163bbac160 | [
"MIT"
] | null | null | null | resources/views/admin/task/form/form.blade.php | alifakbarr/karyawan-app | 99c2be01734ab07f99821413e8418f163bbac160 | [
"MIT"
] | null | null | null | resources/views/admin/task/form/form.blade.php | alifakbarr/karyawan-app | 99c2be01734ab07f99821413e8418f163bbac160 | [
"MIT"
] | null | null | null | <div class="mb-3">
<label for="exampleFormControlInput1" class="form-label fw-bold">Nama Proyek</label>
<input type="text" class="form-control" name="judul" id="exampleFormControlInput1" placeholder="Judul proyek" value="{{ old('judul') ?? $task->judul }}">
@error('judul')
<div class="nama text-danger... | 46.320896 | 162 | 0.49122 |
05c8d90271e273d1aff20a7f21b48850767cfc82 | 2,853 | py | Python | NetTrade/Notes/RealNotes.py | zpoint/NetTrade | f05fb674ff4dedc782f53b4b09d6bfae09c215fc | [
"MIT"
] | 27 | 2019-04-30T05:35:07.000Z | 2021-12-09T13:10:44.000Z | NetTrade/Notes/RealNotes.py | zpoint/NetTrade | f05fb674ff4dedc782f53b4b09d6bfae09c215fc | [
"MIT"
] | null | null | null | NetTrade/Notes/RealNotes.py | zpoint/NetTrade | f05fb674ff4dedc782f53b4b09d6bfae09c215fc | [
"MIT"
] | 10 | 2019-03-24T14:03:14.000Z | 2022-02-02T03:06:50.000Z | import time
from ..ExcelDataUtil.xlsxDataGetter import XlsxDataGetter
from ..ExcelDataUtil.xlsxDataWriter import XlsxDataWriter
from ..Util.dateUtil import timestamp2datetime
from ..Variables.Status import Status
class RealNotes(object):
def __init__(self, code, strategy, **kwargs):
self.file_name = code ... | 42.58209 | 112 | 0.651244 |
6dc1ca34162e288236a324338a10b61547f470e6 | 1,894 | h | C | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APLRUDiskCache.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-03-29T12:08:37.000Z | 2021-05-26T05:20:11.000Z | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APLRUDiskCache.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | null | null | null | AliPayForDebug/AliPayForDebug/AlipayWallet_Headers/APLRUDiskCache.h | ceekay1991/AliPayForDebug | 5795e5db31e5b649d4758469b752585e63e84d94 | [
"MIT"
] | 5 | 2020-04-17T03:24:04.000Z | 2022-03-30T05:42:17.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import "APCacheProtocol-Protocol.h"
@class APLRUMemoryCache, NSString;
@protocol APLRUDiskCacheProtocol, O... | 33.22807 | 99 | 0.758712 |
fd6081ef793f46b174ce86168a1892e467e7fb4c | 2,412 | sql | SQL | db/banana-app.sql | ilhamfi27/ctis_banana | 83f26cadb0f761e90e7a8aaa04daf2a13c68c5d7 | [
"MIT"
] | null | null | null | db/banana-app.sql | ilhamfi27/ctis_banana | 83f26cadb0f761e90e7a8aaa04daf2a13c68c5d7 | [
"MIT"
] | null | null | null | db/banana-app.sql | ilhamfi27/ctis_banana | 83f26cadb0f761e90e7a8aaa04daf2a13c68c5d7 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 23 Jan 2019 pada 08.12
-- Versi server: 10.1.34-MariaDB
-- Versi PHP: 7.2.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARA... | 22.333333 | 94 | 0.6534 |
cc8447b30e1212948f75569027fd5bb669e4b17f | 64 | rb | Ruby | config/initializers/mail.rb | zombiepaladin/scoreboard | ca436949e24538d866068632840cf40b001bb7e7 | [
"MIT"
] | null | null | null | config/initializers/mail.rb | zombiepaladin/scoreboard | ca436949e24538d866068632840cf40b001bb7e7 | [
"MIT"
] | null | null | null | config/initializers/mail.rb | zombiepaladin/scoreboard | ca436949e24538d866068632840cf40b001bb7e7 | [
"MIT"
] | null | null | null | ActionMailer::Base.smtp_settings = {
# Set up mailer here
}
| 16 | 36 | 0.6875 |
dfc200cedf84836214017d663ff68875cb19cb8c | 5,090 | rb | Ruby | spec/unit/lib/manifestly/entity/checklist_run_step_spec.rb | firespring/manifestly-ruby | 90b85c18cf1a5bc09055ea9d500904dbfbd5bc72 | [
"Apache-2.0"
] | null | null | null | spec/unit/lib/manifestly/entity/checklist_run_step_spec.rb | firespring/manifestly-ruby | 90b85c18cf1a5bc09055ea9d500904dbfbd5bc72 | [
"Apache-2.0"
] | 1 | 2018-11-13T21:50:30.000Z | 2018-11-13T21:50:30.000Z | spec/unit/lib/manifestly/entity/checklist_run_step_spec.rb | firespring/manifestly-ruby | 90b85c18cf1a5bc09055ea9d500904dbfbd5bc72 | [
"Apache-2.0"
] | 1 | 2019-02-11T15:57:40.000Z | 2019-02-11T15:57:40.000Z | require 'spec_helper'
require 'manifestly'
describe Manifestly::Entity::ChecklistRunStep do
let(:instance) { described_class.new(checklist_run, data) }
let(:checklist_run) { OpenStruct.new(location: run_location, id: run_id) }
let(:run_location) { random }
let(:run_id) { random }
let(:data) { {} }
before ... | 25.969388 | 109 | 0.657171 |
c9b57e679e28dfde04fdb281e7369df2a0b47057 | 2,150 | ts | TypeScript | frontend/src/app/auth/auth-guard.service.ts | manos-mark/restful-prototype-asset-management | 219c37587a4787d940cd2ee090389f0e037030a7 | [
"CC0-1.0"
] | null | null | null | frontend/src/app/auth/auth-guard.service.ts | manos-mark/restful-prototype-asset-management | 219c37587a4787d940cd2ee090389f0e037030a7 | [
"CC0-1.0"
] | null | null | null | frontend/src/app/auth/auth-guard.service.ts | manos-mark/restful-prototype-asset-management | 219c37587a4787d940cd2ee090389f0e037030a7 | [
"CC0-1.0"
] | null | null | null | import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router, CanActivateChild } from '@angular/router';
import { AuthService } from './auth.service';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { WindowPopService } from '../shared/window-pop/window-pop.service';
... | 42.156863 | 117 | 0.572093 |
72b37e6420257a68d5c207625e437e8374ce2252 | 492 | cs | C# | C#1/Loops-Homework/02. NotDivBy3and7/NotDivBy3and7.cs | kaizer04/Telerik-Academy-2013-2014 | f78b20b936b50ab9e4d9b9d87dc04dc8fc524e15 | [
"MIT"
] | null | null | null | C#1/Loops-Homework/02. NotDivBy3and7/NotDivBy3and7.cs | kaizer04/Telerik-Academy-2013-2014 | f78b20b936b50ab9e4d9b9d87dc04dc8fc524e15 | [
"MIT"
] | null | null | null | C#1/Loops-Homework/02. NotDivBy3and7/NotDivBy3and7.cs | kaizer04/Telerik-Academy-2013-2014 | f78b20b936b50ab9e4d9b9d87dc04dc8fc524e15 | [
"MIT"
] | null | null | null | /*Write a program that prints all the numbers from 1 to N, that are not divisible by 3 and 7 at the same time.*/
using System;
class NotDivBy3and7
{
static void Main()
{
Console.Write("Please, enter to which number, you want to print numbers not divisible by 3 and 7\nn = ");
uint n = uint.Par... | 28.941176 | 113 | 0.54878 |
57b811a2166805577593cd4d00b6be883f392fb4 | 599 | kts | Kotlin | mvi-test/build.gradle.kts | MTomczynski/MVI | 7259b2d776152e578d5727f51bb0c718837e2948 | [
"MIT"
] | 5 | 2021-04-14T11:21:32.000Z | 2021-08-06T17:49:24.000Z | mvi-test/build.gradle.kts | mtomczynski/MVI | 7259b2d776152e578d5727f51bb0c718837e2948 | [
"MIT"
] | null | null | null | mvi-test/build.gradle.kts | mtomczynski/MVI | 7259b2d776152e578d5727f51bb0c718837e2948 | [
"MIT"
] | 2 | 2021-10-03T11:10:13.000Z | 2022-02-23T17:38:18.000Z | plugins {
id("android-library-plugin")
id(AndroidConfig.Plugin.mavenPublish)
}
afterEvaluate {
publishing {
publications {
register("release", MavenPublication::class) {
from(components.findByName("release"))
groupId = "com.tomcz.mvi.test"
... | 23.96 | 61 | 0.584307 |
e8308e3475cb6dd0b6c74b644a26c177a8aca18a | 637 | cs | C# | DCISDBManager/DCISDBManager/objLib/MasterMaintenance/Consignee.cs | Ruke45/DLibrary | 13bc4b86176ef15d57a82ed91db7db43813d8949 | [
"Apache-2.0"
] | 1 | 2020-07-19T00:23:37.000Z | 2020-07-19T00:23:37.000Z | DCISDBManager/DCISDBManager/objLib/MasterMaintenance/Consignee.cs | Ruke45/DLibrary | 13bc4b86176ef15d57a82ed91db7db43813d8949 | [
"Apache-2.0"
] | null | null | null | DCISDBManager/DCISDBManager/objLib/MasterMaintenance/Consignee.cs | Ruke45/DLibrary | 13bc4b86176ef15d57a82ed91db7db43813d8949 | [
"Apache-2.0"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DCISDBManager.objLib.MasterMaintenance
{
public class Consignee
{
String Code;
public string Code_
{
get { return Code; }
set { Code = value; }
}
Str... | 18.2 | 48 | 0.525903 |
fdc1fedf98745a197a4d6c6b3f2606e154f6a45a | 1,721 | css | CSS | modules/xerte/parent_templates/Nottingham/common_html5/css/mobileStyles.css | jameshenderson12/xerteonlinetoolkits | 3eca5c76e3982092d5d91676deec2e0069379d29 | [
"Apache-2.0"
] | 49 | 2015-01-06T14:56:00.000Z | 2022-01-26T07:35:16.000Z | modules/xerte/parent_templates/Nottingham/common_html5/css/mobileStyles.css | jameshenderson12/xerteonlinetoolkits | 3eca5c76e3982092d5d91676deec2e0069379d29 | [
"Apache-2.0"
] | 950 | 2015-01-04T20:57:59.000Z | 2022-03-30T09:07:29.000Z | modules/xerte/parent_templates/Nottingham/common_html5/css/mobileStyles.css | jameshenderson12/xerteonlinetoolkits | 3eca5c76e3982092d5d91676deec2e0069379d29 | [
"Apache-2.0"
] | 62 | 2015-02-11T09:00:05.000Z | 2022-03-23T15:28:48.000Z | /**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may ... | 19.781609 | 76 | 0.710633 |
167d30ecb9f1df549a341c2c1567bcb886989e08 | 559 | dart | Dart | lib/features/image_process/domain/use_cases/image_process/get_string_buffer.dart | dhimasdewanto/convert_image_to_ascii | 5e10cdd8acf5f2da539fdd82d6e6367c5f8f6baf | [
"BSD-3-Clause"
] | 8 | 2021-03-14T15:39:51.000Z | 2021-11-03T07:06:47.000Z | lib/features/image_process/domain/use_cases/image_process/get_string_buffer.dart | dhimasdewanto/convert_image_to_ascii | 5e10cdd8acf5f2da539fdd82d6e6367c5f8f6baf | [
"BSD-3-Clause"
] | null | null | null | lib/features/image_process/domain/use_cases/image_process/get_string_buffer.dart | dhimasdewanto/convert_image_to_ascii | 5e10cdd8acf5f2da539fdd82d6e6367c5f8f6baf | [
"BSD-3-Clause"
] | 1 | 2021-11-03T07:06:50.000Z | 2021-11-03T07:06:50.000Z | import 'dart:io';
import 'package:flutter/foundation.dart';
import '../../../../settings/domain/models/settings_model.dart';
import '../../models/image_result_model.dart';
import 'get_string_buffer/process_string_buffer.dart';
class GetStringBuffer {
Future<ImageResultModel> call(GetStringBufferParams params) as... | 22.36 | 69 | 0.751342 |
2da53bb43fd6c6aa78ea7aa06e8650e139441d78 | 4,787 | go | Go | abciapp/service/deliver/begin_block.go | bcbchain/bcbchain | 24d451d160fee58e9bb836f08b943a2108d5dbba | [
"Apache-2.0"
] | 20 | 2019-01-14T09:53:10.000Z | 2021-05-03T21:00:26.000Z | abciapp/service/deliver/begin_block.go | bcbchain/bcbchain | 24d451d160fee58e9bb836f08b943a2108d5dbba | [
"Apache-2.0"
] | null | null | null | abciapp/service/deliver/begin_block.go | bcbchain/bcbchain | 24d451d160fee58e9bb836f08b943a2108d5dbba | [
"Apache-2.0"
] | 5 | 2019-08-22T10:02:00.000Z | 2021-04-10T03:34:02.000Z | package deliver
import (
"github.com/bcbchain/bcbchain/common/statedbhelper"
"github.com/bcbchain/bcbchain/smcrunctl/adapter"
"github.com/bcbchain/sdk/sdk/std"
"github.com/bcbchain/bclib/types"
"bytes"
"github.com/bcbchain/bclib/jsoniter"
"container/list"
"fmt"
abci "github.com/bcbchain/bclib/tendermint/abci... | 32.787671 | 124 | 0.744725 |
2f7663cf5851adfe910ac3646fbfb9a3dbba4c74 | 413 | sql | SQL | dataactvalidator/config/sqlrules/fabs43_detached_award_financial_assistance_1.sql | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | dataactvalidator/config/sqlrules/fabs43_detached_award_financial_assistance_1.sql | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | dataactvalidator/config/sqlrules/fabs43_detached_award_financial_assistance_1.sql | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | -- For foreign places of performance (PrimaryPlaceOfPerformanceCountryCode is not USA),
-- PrimaryPlaceOfPerformanceCongressionalDistrict must be blank.
SELECT
row_number,
place_of_perform_country_c,
place_of_performance_congr
FROM detached_award_financial_assistance
WHERE submission_id = {0}
AND UPPER(... | 37.545455 | 87 | 0.799031 |
a0abdc4c437ab2a14a0afe41482ad1ecc8e97217 | 1,022 | swift | Swift | SafariExtension/SafariExtensionHandler.swift | zhangsp1949/auto-reload | 103197513750eea7010c6d4d9f02b1dddf29a810 | [
"MIT"
] | null | null | null | SafariExtension/SafariExtensionHandler.swift | zhangsp1949/auto-reload | 103197513750eea7010c6d4d9f02b1dddf29a810 | [
"MIT"
] | null | null | null | SafariExtension/SafariExtensionHandler.swift | zhangsp1949/auto-reload | 103197513750eea7010c6d4d9f02b1dddf29a810 | [
"MIT"
] | null | null | null | //
// SafariExtensionHandler.swift
// AutoReload
//
// Created by Garrett Johnson on 9/23/18.
// Copyright © 2018 Garrett Johnson.
//
import SafariServices
class SafariExtensionHandler: SFSafariExtensionHandler {
override func validateToolbarItem(in window: SFSafariWindow, validationHandler: @escaping ((Bool,... | 34.066667 | 136 | 0.741683 |
6061fc098a038147d19fa3f0053ebec5d8edd0b4 | 369 | h | C | hardware/compilateur/parser/ExpressionList.h | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | 3 | 2017-09-24T14:43:04.000Z | 2020-05-28T11:42:54.000Z | hardware/compilateur/parser/ExpressionList.h | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | null | null | null | hardware/compilateur/parser/ExpressionList.h | sebastienhouzet/nabaztag-source-code | 65197ea668e40fadb35d8ebd0aeb512311f9f547 | [
"MIT"
] | 8 | 2016-04-09T03:46:26.000Z | 2021-11-26T21:42:01.000Z | #ifndef __EXPRESSION_LIST__
#define __EXPRESSION_LIST__
#include <iostream>
#include <list>
#include <string>
#include <utility>
#include "Debug.h"
#include "Expression.h"
class ExpressionList : public Expression {
public:
ExpressionList() : Expression() {
}
string toString(void);
void addElt(Expression *e);
pr... | 14.76 | 42 | 0.737127 |
da3cc348002fc04410a75460ebb876cf35e8e2b3 | 983 | php | PHP | fuel/app/config/parser.php | Hung-Phan-Mulodo/Tour-Training | aaca39f2087212b54c5803f632a5bb5d1a6f2dbd | [
"MIT"
] | null | null | null | fuel/app/config/parser.php | Hung-Phan-Mulodo/Tour-Training | aaca39f2087212b54c5803f632a5bb5d1a6f2dbd | [
"MIT"
] | 4 | 2018-03-06T03:51:23.000Z | 2018-03-19T04:01:46.000Z | fuel/app/config/parser.php | Hung-Phan-Mulodo/Tour-Training | aaca39f2087212b54c5803f632a5bb5d1a6f2dbd | [
"MIT"
] | null | null | null | <?php
return array(
'extensions' => array(
'php' => 'View',
// 'smarty' => 'View_Smarty', // we want .tpl, not .smarty
'tpl' => array('class' => 'View_Smarty', 'extension' => 'tpl'),
),
'View_Smarty' => array(
'include' => APPPATH.'vendor'.DS.'Smarty'.DS.'Smart... | 40.958333 | 100 | 0.456765 |
1bbe0c74d509d88047f5fa870d9e6e644792fe29 | 94 | udf | SQL | bifurcatedArtery_files/dp0/FFF/Fluent/libudf/win64/3ddp_node/user_nt.udf | spsvision/bifurcatedArtery | 33d33b011c7707fd496cf77620bb61a2e13fd03a | [
"MIT"
] | null | null | null | bifurcatedArtery_files/dp0/FFF/Fluent/libudf/win64/3ddp_node/user_nt.udf | spsvision/bifurcatedArtery | 33d33b011c7707fd496cf77620bb61a2e13fd03a | [
"MIT"
] | null | null | null | bifurcatedArtery_files/dp0/FFF/Fluent/libudf/win64/3ddp_node/user_nt.udf | spsvision/bifurcatedArtery | 33d33b011c7707fd496cf77620bb61a2e13fd03a | [
"MIT"
] | null | null | null | CSOURCES= $(SRC)vinlet_udf.c
HSOURCES=
VERSION=3ddp_node
PARALLEL_NODE=ibmmpi
GPU_SUPPORT=off
| 15.666667 | 28 | 0.840426 |