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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c681168a14ecbbc4686265ffe6e0f165f7f2d5ca | 3,480 | py | Python | tests/test_command_history.py | pmann84/PythonInteractiveInterpreter | ce1adcae35d9ee1a8cd2bb8402ff3a411f31fc4c | [
"MIT"
] | null | null | null | tests/test_command_history.py | pmann84/PythonInteractiveInterpreter | ce1adcae35d9ee1a8cd2bb8402ff3a411f31fc4c | [
"MIT"
] | null | null | null | tests/test_command_history.py | pmann84/PythonInteractiveInterpreter | ce1adcae35d9ee1a8cd2bb8402ff3a411f31fc4c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import os
import sys
import unittest
# Add the pii module to the path
sys.path.insert(0, os.path.abspath(".."))
# Import the pii module
from pii import piilib
# Setup class for history tests
class PiiCommandHistoryTestSetup(unittest.TestCase):
CMDS = ["foo", "blah", "test", "hello", "yes... | 36.631579 | 83 | 0.65 |
2ca54f8e96eb4fa755341211c9fb094048967794 | 140 | py | Python | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 11 | 2020-01-28T15:40:25.000Z | 2021-01-02T23:09:05.000Z | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 30 | 2019-12-14T12:11:07.000Z | 2020-01-29T10:56:13.000Z | cherry/agents/algorithms.py | vishalbelsare/cherry-pytorch | 7a05b488de1f4a5de52fe7d0f5e639b381da42d4 | [
"MIT"
] | 1 | 2020-01-29T13:15:46.000Z | 2020-01-29T13:15:46.000Z | from cherry.agents.dqn import DQN
from cherry.agents.ddqn import DDQN
from cherry.agents.vpg import VPG
from cherry.agents.ddpg import DDPG
| 28 | 35 | 0.828571 |
22ca36e02b6914326e85e58a1a38425507916754 | 5,575 | sql | SQL | src/main/resources/db/2020-09-10.sql | wxclaude/jjzdpt | 2a2cc1b9f2ff1671fe2f80f13fb3eb34941b2281 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/2020-09-10.sql | wxclaude/jjzdpt | 2a2cc1b9f2ff1671fe2f80f13fb3eb34941b2281 | [
"Apache-2.0"
] | null | null | null | src/main/resources/db/2020-09-10.sql | wxclaude/jjzdpt | 2a2cc1b9f2ff1671fe2f80f13fb3eb34941b2281 | [
"Apache-2.0"
] | null | null | null | DROP TABLE IF EXISTS `df_sjfn`;
CREATE TABLE `df_sjfn` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(50) DEFAULT NULL,
`dept` varchar(50) DEFAULT NULL,
`dept_id` varchar(50) DEFAULT NULL,
`df_month` varchar(50) DEFAULT NULL,
`create_by` varchar(50) DEFAULT NULL,
`create_time` datetime DEFAULT CUR... | 85.769231 | 3,407 | 0.477848 |
c36acf9d55961a71c67a788f9d2bcf17e7685f2f | 2,978 | cs | C# | Data/FileSystemProvider.cs | Sagleft/FundTracking | 2042c0554b21fd8f0fd96d25822ab55e4725ea48 | [
"MIT"
] | null | null | null | Data/FileSystemProvider.cs | Sagleft/FundTracking | 2042c0554b21fd8f0fd96d25822ab55e4725ea48 | [
"MIT"
] | null | null | null | Data/FileSystemProvider.cs | Sagleft/FundTracking | 2042c0554b21fd8f0fd96d25822ab55e4725ea48 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using Newtonsoft.Json;
namespace FundTracking.Data
{
/// <summary>
/// File System Provider
/// </summary>
public class FileSystemProvider
{
private string dataPath = "finance.ftf";
//от bson выйг... | 29.485149 | 71 | 0.651444 |
b9400d5e2b897cb110995fb96c084c4c45fbbc77 | 372 | css | CSS | betterbuttons/css/betterbuttons_nested_form.css | ByronMorley/silverstripe_master_template | 84d721de82fd2039d0e48b346e34e54bda683175 | [
"MIT"
] | null | null | null | betterbuttons/css/betterbuttons_nested_form.css | ByronMorley/silverstripe_master_template | 84d721de82fd2039d0e48b346e34e54bda683175 | [
"MIT"
] | null | null | null | betterbuttons/css/betterbuttons_nested_form.css | ByronMorley/silverstripe_master_template | 84d721de82fd2039d0e48b346e34e54bda683175 | [
"MIT"
] | null | null | null | .betterbuttons-nested-form form label.left {float:none;}
.betterbuttons-nested-form form .middleColumn {margin-left:0;}
.betterbuttons-nested-form form input.action {
display: block;
width: 50%;
background: #15659C;
border: 0;
padding: 10px;
color: #fff;
margin: 0 auto;
cursor:pointer;
}
.betterbuttons-nested... | 28.615385 | 73 | 0.744624 |
d8c737177c7a374d8262dab45270d056526d8b9d | 1,360 | sql | SQL | dfc-coursedirectory/Identity/Tables/AspNetUsers.sql | SkillsFundingAgency/dfc-providerportal-database | 86bfec34eab07256d37a6e74452cacb4da9ac384 | [
"MIT"
] | null | null | null | dfc-coursedirectory/Identity/Tables/AspNetUsers.sql | SkillsFundingAgency/dfc-providerportal-database | 86bfec34eab07256d37a6e74452cacb4da9ac384 | [
"MIT"
] | 1 | 2019-10-10T07:15:35.000Z | 2019-10-10T07:15:35.000Z | dfc-coursedirectory/Identity/Tables/AspNetUsers.sql | SkillsFundingAgency/dfc-providerportal-database | 86bfec34eab07256d37a6e74452cacb4da9ac384 | [
"MIT"
] | 1 | 2021-04-11T08:45:46.000Z | 2021-04-11T08:45:46.000Z | CREATE TABLE [Identity].[AspNetUsers](
[Id] [nvarchar](450) NOT NULL,
[Email] [nvarchar](256) NULL,
[EmailConfirmed] [bit] NOT NULL,
[PasswordHash] [nvarchar](max) NULL,
[SecurityStamp] [nvarchar](max) NULL,
[PhoneNumber] [nvarchar](max) NULL,
[PhoneNumberConfirmed] [bit] NOT NULL,
[TwoFactorEnabled] [bit] NOT... | 35.789474 | 133 | 0.726471 |
dbeb5b9393b08e896829088387c979fe041bbcef | 245 | cs | C# | API/DataAccess/Concrete/ClientDal.cs | jovasoft/JoEmpty.Api | 0f7d7dfd27b7102b0c8408b671b54fdb1a6ad9ba | [
"MIT"
] | null | null | null | API/DataAccess/Concrete/ClientDal.cs | jovasoft/JoEmpty.Api | 0f7d7dfd27b7102b0c8408b671b54fdb1a6ad9ba | [
"MIT"
] | null | null | null | API/DataAccess/Concrete/ClientDal.cs | jovasoft/JoEmpty.Api | 0f7d7dfd27b7102b0c8408b671b54fdb1a6ad9ba | [
"MIT"
] | null | null | null | using DataAccess.Abstract;
using Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace DataAccess.Concrete
{
public class ClientDal : EntityRepositoryBase<Client, PostgresContext>, IClientDal
{
}
}
| 18.846154 | 86 | 0.771429 |
76f69b86fba92c4936224f3e65560b5f8416c45c | 411 | h | C | pred_code/fake_header.h | songjiguo/c3idl | a4b92a347618d66ad6295385412a9465550135f2 | [
"BSD-3-Clause"
] | 1 | 2016-03-16T05:57:40.000Z | 2016-03-16T05:57:40.000Z | pred_code/fake_header.h | songjiguo/c3idl | a4b92a347618d66ad6295385412a9465550135f2 | [
"BSD-3-Clause"
] | null | null | null | pred_code/fake_header.h | songjiguo/c3idl | a4b92a347618d66ad6295385412a9465550135f2 | [
"BSD-3-Clause"
] | null | null | null | /* This file is temporarily used for gcc debug only. gcc can not
* understand c3idl key words. It does not matter for parsing. Remove
* this later. */
#ifndef _cos_fake_header_h
#define _cos_fake_header_h
#include <stdlib.h>
#include <stdio.h>
int fault;
int uc;
int ret;
int param_sz;
int IDL_desc_saved_params; /... | 19.571429 | 69 | 0.744526 |
8a199d386244d4ba54887e20b1622459b373b70d | 12,597 | rs | Rust | src/core/index_meta.rs | ngi-nix/tantivy | f6cf6e889b1f8595dbd6b62f30c71562c1465d01 | [
"MIT"
] | null | null | null | src/core/index_meta.rs | ngi-nix/tantivy | f6cf6e889b1f8595dbd6b62f30c71562c1465d01 | [
"MIT"
] | 9 | 2021-09-16T20:29:27.000Z | 2022-03-01T20:29:19.000Z | src/core/index_meta.rs | ngi-nix/tantivy | f6cf6e889b1f8595dbd6b62f30c71562c1465d01 | [
"MIT"
] | 1 | 2021-08-13T15:11:02.000Z | 2021-08-13T15:11:02.000Z | use super::SegmentComponent;
use crate::schema::Schema;
use crate::Opstamp;
use crate::{core::SegmentId, store::Compressor};
use census::{Inventory, TrackedObject};
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use std::{collections::HashSet, sync::atomic::AtomicBool};
use std::{fmt, sync::Arc};
#[deriv... | 31.4925 | 262 | 0.610145 |
459164f40f31987a93c7b77cb184b573ba599b70 | 1,510 | py | Python | DockerFeed/Stores/FolderStore.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | 3 | 2019-11-18T14:23:42.000Z | 2020-04-29T08:24:25.000Z | DockerFeed/Stores/FolderStore.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | null | null | null | DockerFeed/Stores/FolderStore.py | DIPSAS/DockerFeed | 64ad9e491112b70c2a50ad8c62cc3865d4908d2e | [
"MIT"
] | null | null | null | import os
import glob
import shutil
from DockerFeed.Stores.AbstractStore import AbstractStore
class FolderStore(AbstractStore):
def __init__(self, \
sourceFolder ='stacks'):
self.__sourceFolder = sourceFolder
os.makedirs(self.__sourceFolder, exist_ok=True)
def GetSource(self... | 31.458333 | 129 | 0.711921 |
bdc1e67d43a55228f97aad70e212dffd8abee600 | 4,723 | dart | Dart | lib/absinthe_socket.dart | anu788/absinthe_socket | 055bc30c29c232acedefa2edddb27d639917e427 | [
"MIT"
] | null | null | null | lib/absinthe_socket.dart | anu788/absinthe_socket | 055bc30c29c232acedefa2edddb27d639917e427 | [
"MIT"
] | null | null | null | lib/absinthe_socket.dart | anu788/absinthe_socket | 055bc30c29c232acedefa2edddb27d639917e427 | [
"MIT"
] | 1 | 2022-03-01T21:14:03.000Z | 2022-03-01T21:14:03.000Z | library absinthe_socket;
import 'package:phoenix_wings/phoenix_wings.dart';
export 'package:phoenix_wings/phoenix_wings.dart';
import 'get_socket_by_platform/get_socket_by_platform_abstract.dart'
if (dart.library.io) 'get_socket_by_platform/get_socket_by_mobile.dart'
if (dart.library.js) 'get_socket_by_platfo... | 26.835227 | 80 | 0.687275 |
7e49514a116b9962430ca3bd829dca32fd1ae1e8 | 9,740 | rs | Rust | src/frontend/buttons.rs | jrmo14/Desktopper | 1b7b42cffa8db573b3374a169fbc9816792121ac | [
"MIT"
] | null | null | null | src/frontend/buttons.rs | jrmo14/Desktopper | 1b7b42cffa8db573b3374a169fbc9816792121ac | [
"MIT"
] | null | null | null | src/frontend/buttons.rs | jrmo14/Desktopper | 1b7b42cffa8db573b3374a169fbc9816792121ac | [
"MIT"
] | null | null | null | use gpio_cdev::EventType::{FallingEdge, RisingEdge};
use gpio_cdev::{Chip, EventRequestFlags, EventType, LineEventHandle, LineRequestFlags};
use nix::poll::{poll, PollFd, PollFlags};
use parking_lot::Mutex;
use serde::export::Formatter;
use std::fmt::Display;
use std::os::unix::io::AsRawFd;
use std::sync::mpsc::Sender;... | 40.92437 | 108 | 0.429261 |
a324c230b2301c9e89ee42622da0e96404f394a6 | 1,921 | java | Java | src/main/java/com/boundlessgeo/GeoHeatmapPlugin.java | o19s/elasticsearch-heatmap | d7e4f0a0edbeb2b96ae037f8f4d81e165a0c60da | [
"Apache-2.0"
] | 2 | 2017-05-11T11:51:14.000Z | 2018-01-15T09:08:42.000Z | src/main/java/com/boundlessgeo/GeoHeatmapPlugin.java | o19s/elasticsearch-heatmap | d7e4f0a0edbeb2b96ae037f8f4d81e165a0c60da | [
"Apache-2.0"
] | null | null | null | src/main/java/com/boundlessgeo/GeoHeatmapPlugin.java | o19s/elasticsearch-heatmap | d7e4f0a0edbeb2b96ae037f8f4d81e165a0c60da | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2015-2016 Boundless, http://boundlessgeo.com
*
* 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 appl... | 31.491803 | 100 | 0.735554 |
6de39255bead752ef1b59e3536e483a2e850b422 | 906 | ts | TypeScript | client/src/api/LocationService.ts | jmartinezgdev/quicargo-trucks-system | 69eacc38a32fb049d0813586ab23b7fab2115ce4 | [
"Xnet",
"X11"
] | null | null | null | client/src/api/LocationService.ts | jmartinezgdev/quicargo-trucks-system | 69eacc38a32fb049d0813586ab23b7fab2115ce4 | [
"Xnet",
"X11"
] | null | null | null | client/src/api/LocationService.ts | jmartinezgdev/quicargo-trucks-system | 69eacc38a32fb049d0813586ab23b7fab2115ce4 | [
"Xnet",
"X11"
] | null | null | null | import httpClient from "./http";
import { Location } from "../interfaces";
const LOCATIONS_PATH = '/locations';
const getAll = (): Promise<Location[]> => {
return httpClient.get(LOCATIONS_PATH);
}
const getById = (id: number): Promise<Location> => {
return httpClient.get(`${LOCATIONS_PATH}/${id}`);
}
const ... | 25.885714 | 87 | 0.666667 |
0d44bf560838c27f46d4f5e3b94d82a6d181aaad | 80 | rb | Ruby | spec/faraday/response/decode_tradevan_spec.rb | abookyun/einvoice | 872b51a83e31231d36eba47f9c949da3aadecc21 | [
"MIT"
] | 12 | 2016-01-18T09:54:06.000Z | 2021-03-02T16:56:44.000Z | spec/faraday/response/decode_tradevan_spec.rb | abookyun/einvoice | 872b51a83e31231d36eba47f9c949da3aadecc21 | [
"MIT"
] | 13 | 2016-01-21T02:09:54.000Z | 2021-02-17T04:32:32.000Z | spec/faraday/response/decode_tradevan_spec.rb | abookyun/einvoice | 872b51a83e31231d36eba47f9c949da3aadecc21 | [
"MIT"
] | 2 | 2016-08-02T11:04:05.000Z | 2018-06-11T09:50:55.000Z | require 'spec_helper'
RSpec.describe Faraday::Response::DecodeTradevan do
end
| 13.333333 | 51 | 0.8125 |
a32076093d2b4bcd039e05646cdab521d28a3b23 | 21,353 | java | Java | src/main/java/com/hpb/bc/service/impl/TransactionServiceImpl.java | hpb-project/hpb-wallet-middleware | 4a9eb3ebc6e8db3ba300908c6da829285a18983d | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hpb/bc/service/impl/TransactionServiceImpl.java | hpb-project/hpb-wallet-middleware | 4a9eb3ebc6e8db3ba300908c6da829285a18983d | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hpb/bc/service/impl/TransactionServiceImpl.java | hpb-project/hpb-wallet-middleware | 4a9eb3ebc6e8db3ba300908c6da829285a18983d | [
"Apache-2.0"
] | 1 | 2020-09-15T06:33:56.000Z | 2020-09-15T06:33:56.000Z | /*
* Copyright 2020 HPB Foundation.
*
* 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 agre... | 46.218615 | 155 | 0.638458 |
afe027afc39b16290f240f40dc5b69f1bd0733e0 | 2,433 | rs | Rust | src/builtins.rs | nonk123/bloodbath | 7d5ca5e5bbe70a96dd6aa6f414860637a5fe552e | [
"MIT"
] | null | null | null | src/builtins.rs | nonk123/bloodbath | 7d5ca5e5bbe70a96dd6aa6f414860637a5fe552e | [
"MIT"
] | null | null | null | src/builtins.rs | nonk123/bloodbath | 7d5ca5e5bbe70a96dd6aa6f414860637a5fe552e | [
"MIT"
] | null | null | null | use crate::object::Object;
pub fn add(args: Vec<Object>) -> Object {
if let Some(a) = args[0].get_integer() {
if let Some(b) = args[1].get_integer() {
return Object::Integer(a + b);
} else if let Some(b) = args[1].get_float() {
return Object::Float(a as f64 + b);
}
... | 31.192308 | 58 | 0.495684 |
b2f494dbc658ae0c5f3fa06881bc5c83d74ee99e | 78 | css | CSS | wp-content/themes/ElegantEstate3.6/includes/meta-box/css/checkbox.css | WebModerna/18._Inmobiliariadelassierras | 86730cdafbdce35d1820b8b681cc777df0c919c0 | [
"MIT"
] | null | null | null | wp-content/themes/ElegantEstate3.6/includes/meta-box/css/checkbox.css | WebModerna/18._Inmobiliariadelassierras | 86730cdafbdce35d1820b8b681cc777df0c919c0 | [
"MIT"
] | null | null | null | wp-content/themes/ElegantEstate3.6/includes/meta-box/css/checkbox.css | WebModerna/18._Inmobiliariadelassierras | 86730cdafbdce35d1820b8b681cc777df0c919c0 | [
"MIT"
] | null | null | null | .rwmb-checkbox-wrapper .description {
display: inline;
font-style: normal;
} | 19.5 | 37 | 0.74359 |
8c131a926ecddca45958dd35691aa8d1e8fdfd63 | 1,203 | cs | C# | GroceryBagBlitzUnity/Assets/Scripts/TitleScreenSpawner.cs | AriTAF/Grocery-Bag-Blitz | 0a4623d75cf073942ef3834180a0559c9d993731 | [
"MIT"
] | null | null | null | GroceryBagBlitzUnity/Assets/Scripts/TitleScreenSpawner.cs | AriTAF/Grocery-Bag-Blitz | 0a4623d75cf073942ef3834180a0559c9d993731 | [
"MIT"
] | null | null | null | GroceryBagBlitzUnity/Assets/Scripts/TitleScreenSpawner.cs | AriTAF/Grocery-Bag-Blitz | 0a4623d75cf073942ef3834180a0559c9d993731 | [
"MIT"
] | null | null | null |
/****
* Created by: Krieger
* Date Created: Mar 7, 2022
*
* Last Edited by: Krieger
* Last Edited: March 7, 2022
*
* Description: Script that spawns a rain of random items on the Title Screen
****/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TitleScreenSpawne... | 23.134615 | 77 | 0.630091 |
ee9c6434dc87bdf3b45a02b1a5075db6b1fddbd4 | 2,176 | go | Go | fmd_examples_test.go | biztos/frostedmd | 321a9f4511c9173bf9552004db7927d39cc09af5 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | fmd_examples_test.go | biztos/frostedmd | 321a9f4511c9173bf9552004db7927d39cc09af5 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | fmd_examples_test.go | biztos/frostedmd | 321a9f4511c9173bf9552004db7927d39cc09af5 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | // frostedmd/fmd_examples_test.go -- examples for Frosted Markdown.
// ------------------------------
package frostedmd_test
import (
"fmt"
"github.com/biztos/frostedmd"
)
func Example() {
// NOTE: due to a godoc bug, the following text may not appear correctly.
// The "# Meta" line and the "Tags" line are bot... | 23.652174 | 74 | 0.616268 |
641913ee547c57a23701ac912d4cbe44560c4175 | 32,054 | py | Python | RepCRec/TransactionManager.py | apsdehal/RepCRec | 82f5d062752be5643ad6dbab10bf5d51cbdc9f97 | [
"MIT"
] | null | null | null | RepCRec/TransactionManager.py | apsdehal/RepCRec | 82f5d062752be5643ad6dbab10bf5d51cbdc9f97 | [
"MIT"
] | null | null | null | RepCRec/TransactionManager.py | apsdehal/RepCRec | 82f5d062752be5643ad6dbab10bf5d51cbdc9f97 | [
"MIT"
] | null | null | null | """
Authors:
Amanpreet Singh
Sharan Agrawal
"""
import logging
from collections import defaultdict
from .Transaction import Transaction
from .Lock import Lock
from .LockTable import LockTable
from .enums.LockAcquireStatus import LockAcquireStatus
from .enums.LockType import LockType
from .enums.TransactionStatus impo... | 35.340684 | 79 | 0.574905 |
5d8b1ce3715d8e1a087ecdf5f9b21b0583e24786 | 514 | cpp | C++ | src/core/features/skyboxchanger.cpp | marius137/gamesneeze | 00c03179bb5a7f171c20635b1b2db36edcdd77a3 | [
"MIT"
] | 1 | 2021-05-08T13:20:00.000Z | 2021-05-08T13:20:00.000Z | src/core/features/skyboxchanger.cpp | cstles/gamesneeze | dcf6b70b69be8851479cf79cba00184291c86bc4 | [
"MIT"
] | null | null | null | src/core/features/skyboxchanger.cpp | cstles/gamesneeze | dcf6b70b69be8851479cf79cba00184291c86bc4 | [
"MIT"
] | null | null | null | #include "features.hpp"
#include <cstring>
void Features::SkyboxChanger::frameStageNotify(FrameStage frame) {
if (frame == FRAME_NET_UPDATE_POSTDATAUPDATE_END && CONFIGINT("Visuals>World>World>Skybox")) {
Offsets::setNamedSkybox((CONFIGINT("Visuals>World>World>Skybox") != 1) ? skyboxes[CONFIGINT("Visuals>W... | 42.833333 | 156 | 0.678988 |
2d4a154ae6724ad582f679f5e9c0affea64842fa | 1,205 | css | CSS | Public/scene/static/css/index.css | zhaochong/wp_online | bc2bd519d5ab1fb330f71a6712add14270d65569 | [
"Apache-2.0"
] | 2 | 2016-02-24T11:04:15.000Z | 2016-11-10T10:42:42.000Z | Public/scene/static/css/index.css | zhaochong/wp_online | bc2bd519d5ab1fb330f71a6712add14270d65569 | [
"Apache-2.0"
] | null | null | null | Public/scene/static/css/index.css | zhaochong/wp_online | bc2bd519d5ab1fb330f71a6712add14270d65569 | [
"Apache-2.0"
] | null | null | null | body{margin:auto;text-align:center;overflow:hidden;background-image:url("/static/img/3.jpg");background-size:100% 100%;}
.topButton{width:100%;height:50px;background-color:rgba(255,255,255,0.4);position:absolute;top:0;left:0;z-index:2;box-shadow:0 0 15px black;}
.toptable{width:1140px;height:50px;color:white;font-siz... | 24.591837 | 142 | 0.713693 |
fdc925b96e324496de42bd75870c9d75f45bcfea | 8,845 | css | CSS | public/css/component/searchPan.css | kiavash25/koochitaTv | d7e9fe6078b0c54c7f6b81970f9260290bde81a6 | [
"MIT"
] | null | null | null | public/css/component/searchPan.css | kiavash25/koochitaTv | d7e9fe6078b0c54c7f6b81970f9260290bde81a6 | [
"MIT"
] | 4 | 2021-02-02T19:07:29.000Z | 2022-02-27T05:49:57.000Z | public/css/component/searchPan.css | kiavash25/kkTv | d7e9fe6078b0c54c7f6b81970f9260290bde81a6 | [
"MIT"
] | null | null | null |
.stateName {
font-size: 12px;
padding-right: 21px;
}
.mainDivSearchInputPhonePage > div {
position: absolute;
top: 44%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 100;
}
.mainDivSearchInputPhonePage > div:nth-child(1) {
width: 45%;
}
.mainDivSearchInputPhonePage > div:not(... | 18.660338 | 88 | 0.622046 |
1469ea7402920a73b3db2747d02cfb69bf4a742f | 1,660 | ts | TypeScript | @types/jdk/javax.print.PrintService.d.ts | wizawu/1c | b8b3c5d915de264347f42c438493e6a948de6d5c | [
"MIT"
] | 126 | 2017-05-01T01:58:18.000Z | 2020-09-14T01:17:51.000Z | @types/jdk/javax.print.PrintService.d.ts | wizawu/1c | b8b3c5d915de264347f42c438493e6a948de6d5c | [
"MIT"
] | 17 | 2017-07-18T21:33:13.000Z | 2020-09-01T15:00:57.000Z | @types/jdk/javax.print.PrintService.d.ts | wizawu/1c | b8b3c5d915de264347f42c438493e6a948de6d5c | [
"MIT"
] | 6 | 2018-06-26T13:10:22.000Z | 2020-05-14T21:34:19.000Z | declare namespace javax {
namespace print {
interface PrintService {
getName(): java.lang.String
createPrintJob(): javax.print.DocPrintJob
addPrintServiceAttributeListener(arg0: javax.print.event.PrintServiceAttributeListener | javax.print.event.PrintServiceAttributeListener$$lambda): void
... | 63.846154 | 178 | 0.78012 |
cc01753d839c13356180d7652288c28043049878 | 937 | kt | Kotlin | src/commonMain/kotlin/data/itemsets/JusticarArmor.kt | borbrunpagle/tbcsim | 7d75fd456632c357ce3bbee40013306e023bc59c | [
"MIT"
] | null | null | null | src/commonMain/kotlin/data/itemsets/JusticarArmor.kt | borbrunpagle/tbcsim | 7d75fd456632c357ce3bbee40013306e023bc59c | [
"MIT"
] | 12 | 2021-09-09T23:16:21.000Z | 2021-09-26T20:56:39.000Z | src/commonMain/kotlin/data/itemsets/JusticarArmor.kt | CyberQuackGames/tbcsim | 98a22924d4634ac4dc5358182cff1c90e88d7637 | [
"MIT"
] | null | null | null | package data.itemsets
import character.Buff
import data.model.ItemSet
class JusticarArmor : ItemSet() {
companion object {
const val TWO_SET_BUFF_NAME = "Justicar Armor (2 set)"
const val FOUR_SET_BUFF_NAME = "Justicar Armor (4 set)"
}
override val id: Int = 625
// TODO: SoR, SoV, SoB... | 29.28125 | 69 | 0.642476 |
88e913fe4c8f47aaae773a9138aadff3bc9bca1e | 19,244 | cs | C# | src/unity/Assets/Scripts/Content.cs | SeokbinKang/PrototypAR | fa6ba2e15887b446d88a6196ff2d077681c132cb | [
"MIT"
] | null | null | null | src/unity/Assets/Scripts/Content.cs | SeokbinKang/PrototypAR | fa6ba2e15887b446d88a6196ff2d077681c132cb | [
"MIT"
] | null | null | null | src/unity/Assets/Scripts/Content.cs | SeokbinKang/PrototypAR | fa6ba2e15887b446d88a6196ff2d077681c132cb | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
using OpenCvSharp;
using OpenCvSharp.Blob;
using OpenCvSharp.CPlusPlus;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System;
public class Content {
private static List<KeyValuePair<BehaviorCategory,string>> behavi... | 35.375 | 152 | 0.600811 |
cdf5056e9525316c9253dfcfa6ae7f8fe8545ab4 | 7,265 | dart | Dart | lib/flutter_audio_as_service.dart | dmlzj/flutter_audio_as_service | d698577d5dd98db8307746bc96bbcd42722c743f | [
"BSD-3-Clause"
] | null | null | null | lib/flutter_audio_as_service.dart | dmlzj/flutter_audio_as_service | d698577d5dd98db8307746bc96bbcd42722c743f | [
"BSD-3-Clause"
] | null | null | null | lib/flutter_audio_as_service.dart | dmlzj/flutter_audio_as_service | d698577d5dd98db8307746bc96bbcd42722c743f | [
"BSD-3-Clause"
] | null | null | null | //
// Flutter plugin for audio playback on Android
// Created by Karol Wąsowski (wasowski02@gmail.com) on June 23rd 2019
// Licensed under the BSD License
//
import 'dart:async';
import 'package:flutter/services.dart';
import 'AudioInfoClass.dart';
/// A library to simply start an Android audio service with notif... | 33.022727 | 125 | 0.701032 |
39b3b920ce0164fb1f3b98ef70bb785a821c811b | 4,856 | swift | Swift | MyOmer/Classes/Models/OmerSettings.swift | darshanpanchal/MyOmer | c896b65cf8dd872336c11d702355fc48dde4ce0d | [
"MIT"
] | null | null | null | MyOmer/Classes/Models/OmerSettings.swift | darshanpanchal/MyOmer | c896b65cf8dd872336c11d702355fc48dde4ce0d | [
"MIT"
] | null | null | null | MyOmer/Classes/Models/OmerSettings.swift | darshanpanchal/MyOmer | c896b65cf8dd872336c11d702355fc48dde4ce0d | [
"MIT"
] | null | null | null | //
// OmerSettings.swift
// MyOmer
//
// Created by Aftab Akhtar on 3/16/18.
// Copyright © 2018 Aftab Akhtar. All rights reserved.
//
import UIKit
fileprivate struct Keys {
internal struct Nightfall {
static let hour = "nightfall.hour"
static let minute = "nightfall.minute"
}
internal... | 39.16129 | 92 | 0.62953 |
e850eacfb4510f98bbf2a270019df4b079439bb8 | 349 | cs | C# | adminlte/Areas/Manager/Controllers/ManagerHomeController.cs | SergtoUn/GunSudexDoc | fef4e17672e19b483d44d86598a149ed00e6ba4a | [
"MIT"
] | null | null | null | adminlte/Areas/Manager/Controllers/ManagerHomeController.cs | SergtoUn/GunSudexDoc | fef4e17672e19b483d44d86598a149ed00e6ba4a | [
"MIT"
] | null | null | null | adminlte/Areas/Manager/Controllers/ManagerHomeController.cs | SergtoUn/GunSudexDoc | fef4e17672e19b483d44d86598a149ed00e6ba4a | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WeaponDoc.Areas.Manager.Controllers
{
public class ManagerHomeController : Controller
{
// GET: Manager/ManagerHome
public ActionResult Index()
{
return View... | 16.619048 | 51 | 0.638968 |
e41bcf9a5a1a863f80746c118e74cc8d86f0ac21 | 2,829 | cshtml | C# | Views/Home/StartAPetition.cshtml | Goslenator7/Assessment2---Final | 93bd4787fe03e79fdcd50726652d6a24d03e37bb | [
"Apache-2.0"
] | null | null | null | Views/Home/StartAPetition.cshtml | Goslenator7/Assessment2---Final | 93bd4787fe03e79fdcd50726652d6a24d03e37bb | [
"Apache-2.0"
] | null | null | null | Views/Home/StartAPetition.cshtml | Goslenator7/Assessment2---Final | 93bd4787fe03e79fdcd50726652d6a24d03e37bb | [
"Apache-2.0"
] | null | null | null | @model Assessment2___Final.Models.Cause
@{
ViewBag.Title = "Start a Cause";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1> Start a Cause</h1>
<hr />
<div class="row">
<div class="col-lg-6">
<img src="~/Content/images/create.jpg" class="img-fluid" id="createImage" />
</div>
<div class="... | 44.203125 | 125 | 0.485684 |
bd5d6cbf906007f8ab707655ef2c73cc74a05b0e | 1,005 | rb | Ruby | src/instrumentation/validators/instrument_only_once_validator.rb | sanderblue/demo-deployer | b17cfd9a0caef30fa4ac3641733d94d3ec0ce2a0 | [
"Apache-2.0"
] | 7 | 2020-08-25T19:08:36.000Z | 2021-11-11T16:24:20.000Z | src/instrumentation/validators/instrument_only_once_validator.rb | sanderblue/demo-deployer | b17cfd9a0caef30fa4ac3641733d94d3ec0ce2a0 | [
"Apache-2.0"
] | 62 | 2020-08-19T23:36:34.000Z | 2022-01-24T22:17:40.000Z | src/instrumentation/validators/instrument_only_once_validator.rb | sanderblue/demo-deployer | b17cfd9a0caef30fa4ac3641733d94d3ec0ce2a0 | [
"Apache-2.0"
] | 7 | 2020-08-20T13:38:28.000Z | 2021-05-21T06:24:12.000Z | module Instrumentation
module Validators
class InstrumentOnlyOnceValidator
def initialize(key_name, error_message = nil)
@key_name = key_name
@error_message = error_message || "Instrumentation defined more than once: "
end
def execute(parsed_instrumentors, ids)
... | 27.162162 | 101 | 0.558209 |
c93a7866ac9a1e999cf6dd8ed10854a9c4fb59c3 | 326 | ts | TypeScript | src/modules/Invoice.ts | Rohan-Shakya/finance-logger | c11c0c19c7998c25746c94e7a80ed2644c90a41c | [
"MIT"
] | 1 | 2021-09-09T16:10:09.000Z | 2021-09-09T16:10:09.000Z | src/modules/Invoice.ts | Rohan-Shakya/finance-logger | c11c0c19c7998c25746c94e7a80ed2644c90a41c | [
"MIT"
] | null | null | null | src/modules/Invoice.ts | Rohan-Shakya/finance-logger | c11c0c19c7998c25746c94e7a80ed2644c90a41c | [
"MIT"
] | null | null | null | import { HasFormatter } from '../interfaces/HasFormatter';
export class Invoice implements HasFormatter {
constructor(
readonly type: string,
public client: string,
public details: string,
public amount: number
) {}
format() {
return `${this.client} owes ${this.amount} for ${this.details}`;
... | 21.733333 | 68 | 0.668712 |
df033812e828759ae1ba1f567d256e61640f668b | 729 | rb | Ruby | lib/vmdb/gettext/debug.rb | rvalente/manageiq | 470e8b425d08432ddb785819c60e83815ac7954c | [
"Apache-2.0"
] | 1,243 | 2015-01-13T12:29:36.000Z | 2022-03-25T12:03:03.000Z | lib/vmdb/gettext/debug.rb | rvalente/manageiq | 470e8b425d08432ddb785819c60e83815ac7954c | [
"Apache-2.0"
] | 20,415 | 2015-01-01T10:37:18.000Z | 2022-03-31T21:52:44.000Z | lib/vmdb/gettext/debug.rb | rvalente/manageiq | 470e8b425d08432ddb785819c60e83815ac7954c | [
"Apache-2.0"
] | 1,053 | 2015-01-07T17:54:15.000Z | 2022-03-29T19:10:50.000Z | require 'fast_gettext'
# include this module to see translations in the UI
module Vmdb
module Gettext
module Debug
DL = "\u00BB".encode("UTF-8")
DR = "\u00AB".encode("UTF-8")
# modified copy of fast_gettext _ method
def _(key)
"#{DL}#{FastGettext._(key)}#{DR}"
end
# ... | 22.78125 | 53 | 0.578875 |
ef2e8fdce2646f783bb2146523a3a86e5b9a1d97 | 2,868 | c | C | plugins/fec/fec_scheme_protoops/rlc_fec_scheme_generate_gf256.c | ap300/pquic | 55db7a8af2fa6057c2932188480b99ed7101873a | [
"MIT"
] | 98 | 2019-06-27T11:54:39.000Z | 2022-03-19T07:40:24.000Z | plugins/fec/fec_scheme_protoops/rlc_fec_scheme_generate_gf256.c | ap300/pquic | 55db7a8af2fa6057c2932188480b99ed7101873a | [
"MIT"
] | 31 | 2019-08-29T07:41:25.000Z | 2022-01-04T17:11:39.000Z | plugins/fec/fec_scheme_protoops/rlc_fec_scheme_generate_gf256.c | ap300/pquic | 55db7a8af2fa6057c2932188480b99ed7101873a | [
"MIT"
] | 21 | 2019-08-05T08:40:49.000Z | 2022-03-28T03:48:01.000Z | #include <picoquic.h>
#include "../fec.h"
#include "../gf256/swif_symbol.c"
#include "../../helpers.h"
#include "../prng/tinymt32.c"
#include "rlc_fec_scheme_gf256.h"
static inline void get_coefs(picoquic_cnx_t *cnx, tinymt32_t *prng, uint32_t seed, int n, uint8_t coefs[n]) {
tinymt32_init(prng, seed);
int i;... | 36.769231 | 199 | 0.6447 |
24955ff19e9cb4e29a9d958e2c42885538aed297 | 1,372 | php | PHP | resources/views/pages/location.blade.php | sudo-dev-urandom/briotest | e6751177d710c5d2ccf87cd126a8d1f643b15aa3 | [
"MIT"
] | null | null | null | resources/views/pages/location.blade.php | sudo-dev-urandom/briotest | e6751177d710c5d2ccf87cd126a8d1f643b15aa3 | [
"MIT"
] | null | null | null | resources/views/pages/location.blade.php | sudo-dev-urandom/briotest | e6751177d710c5d2ccf87cd126a8d1f643b15aa3 | [
"MIT"
] | null | null | null | @extends('layout')
@section('content')
<div class="container-fluid" style="padding-top: 98px; background: #F7F8F9;">
<div class="row justify-content-center">
<div class="col-lg-12">
<iframe
src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d15868.113745... | 42.875 | 248 | 0.452624 |
095ea2fda7e711a5fae6acbc18fa291363849705 | 876 | swift | Swift | Sources/Enums/DateTimeInterval.swift | swaromik/ZamzamKit | 3f2ccbcedb4868ee3b8c1e10f64332eff60a6bab | [
"MIT"
] | null | null | null | Sources/Enums/DateTimeInterval.swift | swaromik/ZamzamKit | 3f2ccbcedb4868ee3b8c1e10f64332eff60a6bab | [
"MIT"
] | null | null | null | Sources/Enums/DateTimeInterval.swift | swaromik/ZamzamKit | 3f2ccbcedb4868ee3b8c1e10f64332eff60a6bab | [
"MIT"
] | null | null | null | //
// DateTimeInterval.swift
// ZamzamKit
//
// Created by Basem Emara on 2018-11-22.
// Copyright © 2018 Zamzam Inc. All rights reserved.
//
import Foundation
/// Represents a specified number of a calendar component unit. You use `DateTimeInterval` values to do date calculations.
public enum DateTimeInterval {
... | 27.375 | 149 | 0.719178 |
b646463db774bef8b5888a46cfee4204d7c2351f | 636 | rb | Ruby | spec/feature/f00/f00_b02_spec.rb | utarsuno/ruuuby | affb51a30166067121799aed8aeea9cefa31c010 | [
"MIT"
] | 3 | 2020-01-01T00:14:20.000Z | 2020-10-22T04:37:33.000Z | spec/feature/f00/f00_b02_spec.rb | utarsuno/ruuuby | affb51a30166067121799aed8aeea9cefa31c010 | [
"MIT"
] | null | null | null | spec/feature/f00/f00_b02_spec.rb | utarsuno/ruuuby | affb51a30166067121799aed8aeea9cefa31c010 | [
"MIT"
] | null | null | null | # encoding: UTF-8
RSpec.describe 'f00_b02' do
context 'functionality' do
end # end: {functionality}
context 'audit', :audit do
context 'funcs provided are defined in correct location' do
it 'for ENV' do
expect_∃⨍(:∃?, ENV)
expect_∃⨍(:∄?, ENV)
end
it 'for IO classes' do
... | 23.555556 | 63 | 0.581761 |
b28b8b455b7b7f97d04584f2a3f8a93f5c4317a1 | 26,209 | css | CSS | src/main/resources/css/light.css | fakegit/Subtitles-View | 1a0bddadace8c25c6dbf00cb58a7ac2792f41270 | [
"MIT"
] | 331 | 2020-04-12T13:25:31.000Z | 2021-08-22T18:59:31.000Z | src/main/resources/css/light.css | JunhaoHuang0615/subtitles-view | cd628806d237ede28f8781ebda7923678c1f3f26 | [
"MIT"
] | 9 | 2020-04-26T16:18:30.000Z | 2021-08-14T03:20:24.000Z | src/main/resources/css/light.css | JunhaoHuang0615/subtitles-view | cd628806d237ede28f8781ebda7923678c1f3f26 | [
"MIT"
] | 44 | 2020-04-26T06:59:28.000Z | 2021-08-19T14:13:20.000Z |
.content,
.bottom-round{
-fx-background-color: #dedede;
}
.titlesBar #closed {
-fx-background-image: url("/images/public/close_light.png");
}
.root_normal .titlesBar #maximize{
-fx-background-image: url("/images/public/max_light.png");
}
.side{
-fx-background-color: #2D2D2D;
}
.root_full .titlesB... | 21.482787 | 91 | 0.687283 |
05fa6682ff71f93d5deae4d3b1655f5650b8d8fe | 1,753 | rb | Ruby | test/controllers/iconly/projects_controller_test.rb | lugolabs/iconly | a3270926e13ecb501aacfeb97a633abaaa04341f | [
"MIT"
] | 10 | 2017-02-22T19:06:22.000Z | 2021-05-10T01:12:53.000Z | test/controllers/iconly/projects_controller_test.rb | lugolabs/iconly | a3270926e13ecb501aacfeb97a633abaaa04341f | [
"MIT"
] | null | null | null | test/controllers/iconly/projects_controller_test.rb | lugolabs/iconly | a3270926e13ecb501aacfeb97a633abaaa04341f | [
"MIT"
] | null | null | null | require 'test_helper'
module Iconly
class ProjectsControllerTest < ActionDispatch::IntegrationTest
include Engine.routes.url_helpers
setup do
@project = iconly_projects(:one)
ApplicationController.any_instance.stubs(:current_user).returns(@project.user)
end
test 'should get index' do
... | 24.690141 | 84 | 0.675414 |
0376be0360c588a22dad478b90e2226d6b7239ce | 13,183 | dart | Dart | lib/tocheckndel/widget3.dart | Brain-up/mobile | 6a5a6daf913d510b5ce833b6bec9638aa8484703 | [
"CC0-1.0"
] | null | null | null | lib/tocheckndel/widget3.dart | Brain-up/mobile | 6a5a6daf913d510b5ce833b6bec9638aa8484703 | [
"CC0-1.0"
] | null | null | null | lib/tocheckndel/widget3.dart | Brain-up/mobile | 6a5a6daf913d510b5ce833b6bec9638aa8484703 | [
"CC0-1.0"
] | null | null | null | import 'package:flutter/material.dart';
class GroupSc1WidgetSTF extends StatefulWidget {
@override
_GroupSc1WidgetSTFState createState() => _GroupSc1WidgetSTFState();
}
class _GroupSc1WidgetSTFState extends State<GroupSc1WidgetSTF> {
@override
Widget build(BuildContext context) {
// Figma Flutter Generato... | 55.158996 | 386 | 0.324509 |
24bbda056a498ec0aa50e659a13dd1ce174102f1 | 2,041 | php | PHP | Dbm v 1.0.0/staff_pro.php | raniatuh/DBM-v1.0.0 | 5e34a21b66a7cf3b1164cfe1d972261a86f8db70 | [
"MIT"
] | null | null | null | Dbm v 1.0.0/staff_pro.php | raniatuh/DBM-v1.0.0 | 5e34a21b66a7cf3b1164cfe1d972261a86f8db70 | [
"MIT"
] | null | null | null | Dbm v 1.0.0/staff_pro.php | raniatuh/DBM-v1.0.0 | 5e34a21b66a7cf3b1164cfe1d972261a86f8db70 | [
"MIT"
] | null | null | null | <?php
//include connection
include 'conn.php';
// We don't have the password or email info stored in sessions so instead we can get the results from the database.
$stmt = $con->prepare('SELECT phone, name, stafflevel FROM staff WHERE id = ?');
// In this case we can use the account ID to get the account info.
$stmt->b... | 29.57971 | 160 | 0.591377 |
b3299bc3bacf034ab8ee52995b3ef3e5b089f3f2 | 5,707 | py | Python | fileprocessor.py | Akshay-Thakare/cctv | 62bfaa23d8284527ed24ae038d68695a893b829a | [
"Apache-2.0"
] | null | null | null | fileprocessor.py | Akshay-Thakare/cctv | 62bfaa23d8284527ed24ae038d68695a893b829a | [
"Apache-2.0"
] | null | null | null | fileprocessor.py | Akshay-Thakare/cctv | 62bfaa23d8284527ed24ae038d68695a893b829a | [
"Apache-2.0"
] | null | null | null | import logging
from googledrive import GoogleDrive
import redisqueue as qm
import logging
import time
from os import listdir, remove
from os.path import isfile, join
from threading import Thread
# Constants
FOLDER_PATH_MAC = "/Users/ast/Desktop/test_data"
FOLDER_PATH_PI_OLD = "/home/pi/test_data"
FOLDER_PATH_CCTV = "... | 30.356383 | 94 | 0.701595 |
93e2d36aa91fd00861c56089fda6a6e044bb850a | 14,519 | sql | SQL | tp5.sql | lau1998/MyWorks | 95e9b8cf91705c2d6c4c295d76cb83359c038d18 | [
"Apache-2.0"
] | null | null | null | tp5.sql | lau1998/MyWorks | 95e9b8cf91705c2d6c4c295d76cb83359c038d18 | [
"Apache-2.0"
] | null | null | null | tp5.sql | lau1998/MyWorks | 95e9b8cf91705c2d6c4c295d76cb83359c038d18 | [
"Apache-2.0"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 2018-08-15 15:11:26
-- 服务器版本: 10.1.31-MariaDB
-- PHP Version: 7.2.3
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET... | 49.552901 | 595 | 0.629382 |
459f1dc8944ded4218b69a3b14559e8899ca35f9 | 5,748 | swift | Swift | TestFoundation/TestNSCharacterSet.swift | Bhaskers-Blu-Org2/swift-corelibs-foundation | 4b7ee5a9a3f90b14b0fbca57758d05efdd66d049 | [
"Apache-2.0"
] | 3 | 2020-05-09T14:34:53.000Z | 2021-11-11T19:43:39.000Z | TestFoundation/TestNSCharacterSet.swift | rajsesh-msft/swift-corelibs-foundation | 4b7ee5a9a3f90b14b0fbca57758d05efdd66d049 | [
"Apache-2.0"
] | null | null | null | TestFoundation/TestNSCharacterSet.swift | rajsesh-msft/swift-corelibs-foundation | 4b7ee5a9a3f90b14b0fbca57758d05efdd66d049 | [
"Apache-2.0"
] | 5 | 2019-11-02T20:53:10.000Z | 2021-11-10T10:14:18.000Z | // This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the l... | 43.877863 | 252 | 0.693633 |
ab0aaef59d15fadc146ecdc991296c299a32302a | 523 | sql | SQL | l2j_datapack/dist/sql/game/updates/20090131update.sql | RollingSoftware/L2J_HighFive_Hardcore | a3c794c82c32b5afca49416119b4aafa8fb9b6d4 | [
"MIT"
] | null | null | null | l2j_datapack/dist/sql/game/updates/20090131update.sql | RollingSoftware/L2J_HighFive_Hardcore | a3c794c82c32b5afca49416119b4aafa8fb9b6d4 | [
"MIT"
] | 38 | 2018-02-06T17:11:29.000Z | 2018-06-05T20:47:59.000Z | l2j_datapack/dist/sql/game/updates/20090131update.sql | RollingSoftware/L2J_HighFive_Hardcore | a3c794c82c32b5afca49416119b4aafa8fb9b6d4 | [
"MIT"
] | null | null | null | ALTER TABLE `fort` ADD COLUMN `fortType` int(1) NOT NULL DEFAULT 0;
ALTER TABLE `fort` ADD COLUMN `state` int(1) NOT NULL DEFAULT 0;
ALTER TABLE `fort` ADD COLUMN `castleId` int(1) NOT NULL DEFAULT 0;
UPDATE `fort` SET `fortType` = '1' WHERE id IN (102,104,107,109,110,112,113,116,117,118);
ALTER TABLE `fortsiege_clans`... | 58.111111 | 89 | 0.722753 |
dbcf1f2c34b103b75e24db59799e12d5b21b0146 | 325 | php | PHP | app/Model/AdditionalBenifits.php | 116312/Nucleus-PHP-Code | 3aea920baa3262b1935f3f909ea4540ea8c75caa | [
"MIT"
] | null | null | null | app/Model/AdditionalBenifits.php | 116312/Nucleus-PHP-Code | 3aea920baa3262b1935f3f909ea4540ea8c75caa | [
"MIT"
] | null | null | null | app/Model/AdditionalBenifits.php | 116312/Nucleus-PHP-Code | 3aea920baa3262b1935f3f909ea4540ea8c75caa | [
"MIT"
] | null | null | null | <?php
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
class AdditionalBenifits extends Model
{
protected $table ='additional_benifits';
public function subscriptionplandetails()
{
return $this->belongsTo('App\Model\SubscriptionPlanDetails','subscription_plan_details_id');
... | 18.055556 | 100 | 0.729231 |
12b05558faa42588d43417376df649dd6d71dd7a | 1,410 | lua | Lua | MMOCoreORB/bin/scripts/mobile/dungeon/warren/warren_stormtrooper.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/mobile/dungeon/warren/warren_stormtrooper.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/mobile/dungeon/warren/warren_stormtrooper.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | warren_stormtrooper = Creature:new {
objectName = "@mob/creature_names:warren_stormtrooper",
randomNameType = NAME_STORMTROOPER,
randomNameTag = true,
socialGroup = "warren_imperial",
faction = "",
level = 26,
chanceHit = 0.360000,
damageMin = 240,
damageMax = 250,
baseXp = 2730,
baseHAM = 7200,
baseHAMmax ... | 27.647059 | 81 | 0.676596 |
39380a3e09015b90e86dbf884c4ce97d19e6ef4b | 364 | py | Python | all_index.py | michaelwinn/python | e811c654f949b020aee5e10c5e2740d564fbc407 | [
"MIT"
] | null | null | null | all_index.py | michaelwinn/python | e811c654f949b020aee5e10c5e2740d564fbc407 | [
"MIT"
] | null | null | null | all_index.py | michaelwinn/python | e811c654f949b020aee5e10c5e2740d564fbc407 | [
"MIT"
] | null | null | null |
def all_index(array, num):
indx = []
for i in range(0,len(array)):
for j in range(0,array[i].count(num)):
if j == 0:
indx.append([i, array[i].index(num)])
else:
indx.append([i, array[i].index(num,indx[j-1][1]+1)])
return indx
tic = [[1,1,0]... | 21.411765 | 68 | 0.483516 |
dd6e94c5979c2c06d9d3fbe3472f705574ccbc39 | 2,555 | java | Java | engine-jdk8-tests/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/JavaFXClassLoadingTest.java | fenrhil/hibernate-validator | ef9e0abdba01deb13a0013ef7254b54b4ad23159 | [
"Apache-2.0"
] | null | null | null | engine-jdk8-tests/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/JavaFXClassLoadingTest.java | fenrhil/hibernate-validator | ef9e0abdba01deb13a0013ef7254b54b4ad23159 | [
"Apache-2.0"
] | null | null | null | engine-jdk8-tests/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/JavaFXClassLoadingTest.java | fenrhil/hibernate-validator | ef9e0abdba01deb13a0013ef7254b54b4ad23159 | [
"Apache-2.0"
] | null | null | null | /*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.test.internal.engine.valuehandling;
import java.security.AccessContro... | 37.573529 | 120 | 0.783562 |
4ccaf094764b07b4d3672dc38961946e45b23350 | 1,859 | swift | Swift | Domain/Domain/Cache/MemoryCache.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | 1 | 2020-03-18T19:15:28.000Z | 2020-03-18T19:15:28.000Z | Sources/Domain/Cache/MemoryCache.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | null | null | null | Sources/Domain/Cache/MemoryCache.swift | Pointwelve/Bitpal-iOS | ac1eff918db0b28ab8990b0f7de4dee49bfe0d17 | [
"Apache-2.0"
] | 1 | 2020-05-19T05:24:34.000Z | 2020-05-19T05:24:34.000Z | //
// MemoryCache.swift
// Domain
//
// Created by Ryne Cheow on 17/4/17.
// Copyright © 2017 Pointwelve. All rights reserved.
//
import Foundation
import RxSwift
public class MemoryCache<K, V>: Cache where K: Hashable {
public typealias Key = K
public typealias Value = V
public init() {}
let semaph... | 20.88764 | 70 | 0.570737 |
ffb4e937b189889baf4ddf451c748b769601bea2 | 291 | py | Python | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:55:29.000Z | 2021-04-29T14:55:29.000Z | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | null | null | null | mindhome_alpha/erpnext/patches/v12_0/rename_account_type_doctype.py | Mindhome/field_service | 3aea428815147903eb9af1d0c1b4b9fc7faed057 | [
"MIT"
] | 1 | 2021-04-29T14:39:01.000Z | 2021-04-29T14:39:01.000Z | from __future__ import unicode_literals
import frappe
def execute():
frappe.rename_doc('DocType', 'Account Type', 'Bank Account Type', force=True)
frappe.rename_doc('DocType', 'Account Subtype', 'Bank Account Subtype', force=True)
frappe.reload_doc('accounts', 'doctype', 'bank_account') | 41.571429 | 84 | 0.766323 |
6daa1d33a6742895fe8652a84d3d9c980d45e97a | 320 | kt | Kotlin | src/main/kotlin/com/github/hotm/auranet/RenderedDependableAuraNode.kt | Heart-of-the-Machine/heart-of-the-machine | 2e44dd9074df0dd91e8b7b92ed854dcd9a6f7963 | [
"MIT"
] | 4 | 2020-07-05T01:24:33.000Z | 2020-09-14T13:46:33.000Z | src/main/kotlin/com/github/hotm/auranet/RenderedDependableAuraNode.kt | Heart-of-the-Machine/heart-of-the-machine | 2e44dd9074df0dd91e8b7b92ed854dcd9a6f7963 | [
"MIT"
] | 41 | 2020-07-11T19:18:15.000Z | 2021-08-09T04:33:42.000Z | src/main/kotlin/com/github/hotm/auranet/RenderedDependableAuraNode.kt | Heart-of-the-Machine/heart-of-the-machine | 2e44dd9074df0dd91e8b7b92ed854dcd9a6f7963 | [
"MIT"
] | null | null | null | package com.github.hotm.auranet
import net.minecraft.util.math.BlockPos
import java.util.stream.Stream
interface RenderedDependableAuraNode : DependableAuraNode {
fun getChildrenForRender(): Stream<BlockPos>
fun getSuppliedAuraForRender(pos: BlockPos): Float
fun getCrownRollSpeed(pos: BlockPos): Float
} | 26.666667 | 59 | 0.8 |
58bd42af770b7cc951d35f6c7a05a88fe084d341 | 8,680 | css | CSS | css/about.css | Mathenge-Alex/Rent-A-Hand | 1f987f815cc4158c9d1535e442dfcb7ba7be876a | [
"MIT"
] | null | null | null | css/about.css | Mathenge-Alex/Rent-A-Hand | 1f987f815cc4158c9d1535e442dfcb7ba7be876a | [
"MIT"
] | null | null | null | css/about.css | Mathenge-Alex/Rent-A-Hand | 1f987f815cc4158c9d1535e442dfcb7ba7be876a | [
"MIT"
] | null | null | null | @import url('https://fonts.googleapis.com/css?family=Open+Sans');
body{
background-color:#52ab98;
background-image: linear-gradient(#52ab98 ,#ffffff);
font-family: "Open Sans", sans-serif;
}
/* header styling - austin
header{
background-color: #0F1010;
height: 10vh;
display: flex;
color: white;
just... | 16.377358 | 65 | 0.590092 |
c4c5967a1fdc234c240577ee2dc274dfb50c5df2 | 9,922 | cpp | C++ | OcularCore/src/Scene/Routines/FreeFlyController.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 8 | 2017-01-27T01:06:06.000Z | 2020-11-05T20:23:19.000Z | OcularCore/src/Scene/Routines/FreeFlyController.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 39 | 2016-06-03T02:00:36.000Z | 2017-03-19T17:47:39.000Z | OcularCore/src/Scene/Routines/FreeFlyController.cpp | ssell/OcularEngine | c80cc4fcdb7dd7ce48d3af330bd33d05312076b1 | [
"Apache-2.0"
] | 4 | 2019-05-22T09:13:36.000Z | 2020-12-01T03:17:45.000Z | /**
* Copyright 2014-2017 Steven T Sell (ssell@vertexfragment.com)
*
* 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 requir... | 31.398734 | 159 | 0.395586 |
2f16f1fec55019324517489d756a558b37245e3f | 390,010 | js | JavaScript | index.js | halfnelson/svelte-component-parser | 6d75dc48791c25825a0bf7e3fb44db1117320913 | [
"MIT"
] | 1 | 2019-03-19T06:38:31.000Z | 2019-03-19T06:38:31.000Z | index.js | halfnelson/svelte-component-parser | 6d75dc48791c25825a0bf7e3fb44db1117320913 | [
"MIT"
] | null | null | null | index.js | halfnelson/svelte-component-parser | 6d75dc48791c25825a0bf7e3fb44db1117320913 | [
"MIT"
] | null | null | null | 'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
// Reserved word lists for various dialects of the language
var reservedWords = {
3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected publi... | 28.112881 | 4,351 | 0.62314 |
da8a9868ca3808b4337f9e30d70d93cdaa94991b | 219 | php | PHP | classes/report/fields/test.php | adityazad/atoum | 52b632b57d3c535b2910968bbef92190c769ae36 | [
"BSD-3-Clause"
] | 1 | 2021-03-12T08:38:17.000Z | 2021-03-12T08:38:17.000Z | classes/report/fields/test.php | adityazad/atoum | 52b632b57d3c535b2910968bbef92190c769ae36 | [
"BSD-3-Clause"
] | null | null | null | classes/report/fields/test.php | adityazad/atoum | 52b632b57d3c535b2910968bbef92190c769ae36 | [
"BSD-3-Clause"
] | 1 | 2021-10-31T05:12:58.000Z | 2021-10-31T05:12:58.000Z | <?php
namespace mageekguy\atoum\report\fields;
use
mageekguy\atoum,
mageekguy\atoum\report
;
abstract class test extends report\field
{
public abstract function setWithTest(atoum\test $test, $event = null);
}
?>
| 13.6875 | 71 | 0.753425 |
560ef11c28354ccd5f7542f0c6cabbc292ce5c04 | 2,661 | rs | Rust | src/clkg0_clk/ctl1.rs | Colin-Suckow/ADuCM302x | f0d62f2b527184e1f192d4f2153f5827fd57fe3c | [
"Unlicense"
] | null | null | null | src/clkg0_clk/ctl1.rs | Colin-Suckow/ADuCM302x | f0d62f2b527184e1f192d4f2153f5827fd57fe3c | [
"Unlicense"
] | null | null | null | src/clkg0_clk/ctl1.rs | Colin-Suckow/ADuCM302x | f0d62f2b527184e1f192d4f2153f5827fd57fe3c | [
"Unlicense"
] | null | null | null | #[doc = "Reader of register CTL1"]
pub type R = crate::R<u32, super::CTL1>;
#[doc = "Writer for register CTL1"]
pub type W = crate::W<u32, super::CTL1>;
#[doc = "Register CTL1 `reset()`'s with value 0x0010_0404"]
impl crate::ResetValue for super::CTL1 {
type Type = u32;
#[inline(always)]
fn reset_value() ->... | 29.898876 | 86 | 0.570086 |
a33251536b39193730e2057f858c0ce1597ee0f7 | 3,862 | java | Java | kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/preauth/builtin/EncTsPreauth.java | dwalluck/directory-kerby | bac1ba2db016775856ed1e1fd94b56026c57817c | [
"Apache-2.0"
] | 97 | 2015-03-17T08:47:38.000Z | 2022-03-25T09:39:56.000Z | kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/preauth/builtin/EncTsPreauth.java | dwalluck/directory-kerby | bac1ba2db016775856ed1e1fd94b56026c57817c | [
"Apache-2.0"
] | 29 | 2015-11-18T16:10:40.000Z | 2021-08-30T13:05:15.000Z | kerby-kerb/kerb-client/src/main/java/org/apache/kerby/kerberos/kerb/client/preauth/builtin/EncTsPreauth.java | nikosnikolaidis/directory-kerby | dd78ce66ba792b919f9afa3d1a3b6fd95956679b | [
"Apache-2.0"
] | 82 | 2015-03-17T08:01:49.000Z | 2022-03-21T08:13:19.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... | 33.582609 | 91 | 0.683066 |
7be979dfabcaa1cc5ae07508bda5294b6be43860 | 2,123 | cc | C++ | misc/wcc_check.cc | rox906/libgrape-lite | a0af7ebde9eb44cd83ecb79ee6c3ed958e647741 | [
"Apache-2.0"
] | 255 | 2020-07-16T11:25:25.000Z | 2022-03-30T08:45:07.000Z | misc/wcc_check.cc | rox906/libgrape-lite | a0af7ebde9eb44cd83ecb79ee6c3ed958e647741 | [
"Apache-2.0"
] | 67 | 2020-07-22T02:00:40.000Z | 2022-03-23T02:30:52.000Z | misc/wcc_check.cc | rox906/libgrape-lite | a0af7ebde9eb44cd83ecb79ee6c3ed958e647741 | [
"Apache-2.0"
] | 69 | 2020-07-20T13:02:01.000Z | 2022-03-31T06:29:24.000Z | /** Copyright 2020 Alibaba Group Holding Limited.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 27.217949 | 80 | 0.606689 |
7ad5083ebc9c706a472fb7a802d1393b2ceb8f47 | 567 | cs | C# | sample/Jobs/InjectSampleJob.cs | khanhna/SilkierQuartz | 03f7340d6148128af55998edc01f379273465ad7 | [
"MIT"
] | 200 | 2020-06-06T12:10:39.000Z | 2022-03-26T20:38:59.000Z | sample/Jobs/InjectSampleJob.cs | khanhna/SilkierQuartz | 03f7340d6148128af55998edc01f379273465ad7 | [
"MIT"
] | 77 | 2020-06-22T03:32:50.000Z | 2022-03-23T11:40:27.000Z | sample/Jobs/InjectSampleJob.cs | khanhna/SilkierQuartz | 03f7340d6148128af55998edc01f379273465ad7 | [
"MIT"
] | 37 | 2020-06-19T05:43:07.000Z | 2022-03-24T00:13:54.000Z | using Microsoft.Extensions.Options;
using Quartz;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SilkierQuartz.Example.Jobs
{
public class InjectSampleJob : IJob
{
InjectProperty _options;
public InjectSampleJob(IOptions<InjectProper... | 22.68 | 64 | 0.664903 |
d16c0ce738cb805486e3514375d473e8899ce32e | 3,912 | cs | C# | src/BuildSoft.OscCore.Test/Runtime/TestUtil.cs | ChanyaVRC/OscCore | 46f1a3b61d66cef321150e0fabbfb64a59dd30e9 | [
"MIT"
] | null | null | null | src/BuildSoft.OscCore.Test/Runtime/TestUtil.cs | ChanyaVRC/OscCore | 46f1a3b61d66cef321150e0fabbfb64a59dd30e9 | [
"MIT"
] | 1 | 2022-02-22T00:40:57.000Z | 2022-02-23T15:40:33.000Z | src/BuildSoft.OscCore.Test/Runtime/TestUtil.cs | ChanyaVRC/OscCore | 46f1a3b61d66cef321150e0fabbfb64a59dd30e9 | [
"MIT"
] | null | null | null | using System;
namespace BuildSoft.OscCore.Tests;
public static class TestUtil
{
static readonly byte[] k_Swap32 = new byte[4];
static readonly byte[] k_Swap64 = new byte[8];
public static int ReverseBytes(this int self)
{
k_Swap32[0] = (byte)(self >> 24);
k_Swap32[1] = (byte)(self >>... | 28.977778 | 65 | 0.518405 |
384937a4fe03461b231ee2ceb80ad3af41baf81a | 450 | cs | C# | AndroidEntryKeyboardTest/AndroidEntryKeyboardTestPage.xaml.cs | Depechie/XamarinFormsAndroidSoftKeyboardToggle | 923c62cbee051792b86faebf0fedf6c4fc295d7b | [
"MIT"
] | null | null | null | AndroidEntryKeyboardTest/AndroidEntryKeyboardTestPage.xaml.cs | Depechie/XamarinFormsAndroidSoftKeyboardToggle | 923c62cbee051792b86faebf0fedf6c4fc295d7b | [
"MIT"
] | null | null | null | AndroidEntryKeyboardTest/AndroidEntryKeyboardTestPage.xaml.cs | Depechie/XamarinFormsAndroidSoftKeyboardToggle | 923c62cbee051792b86faebf0fedf6c4fc295d7b | [
"MIT"
] | 1 | 2020-01-21T03:12:06.000Z | 2020-01-21T03:12:06.000Z | using Xamarin.Forms;
namespace AndroidEntryKeyboardTest
{
public partial class AndroidEntryKeyboardTestPage : ContentPage
{
public AndroidEntryKeyboardTestPage()
{
InitializeComponent();
}
private void OnShowKeyboardClicked(object sender, System.EventArgs e)
{
BarcodeEntry.IsSoftKeyboardEnabled = t... | 19.565217 | 71 | 0.764444 |
8da3b8ba1fcd03b933f517c69eec1b4cc5c498ac | 541 | js | JavaScript | src/useWindowSize.js | oven425/Web_Study | 64db5204362422d0f145268879d1c7ae00373226 | [
"MIT"
] | null | null | null | src/useWindowSize.js | oven425/Web_Study | 64db5204362422d0f145268879d1c7ae00373226 | [
"MIT"
] | null | null | null | src/useWindowSize.js | oven425/Web_Study | 64db5204362422d0f145268879d1c7ae00373226 | [
"MIT"
] | null | null | null | import { useEffect, useState } from "react";
export const useWindowSize=()=>{
const [size, setSize]=useState({width:0,height:0});
useEffect(()=>{
function onResize(){
setSize({width:window.innerWidth,height:window.innerHeight});
//console.log(`useWindowSize width:${window.innerW... | 31.823529 | 99 | 0.604436 |
cdd12707ead4a83ea7d4e1f6f2c039b470d832a8 | 2,810 | cs | C# | SP_ASPNET_1/SP_ASPNET_1/DbFiles/Operations/BlogPostOperations.cs | Feelav/SP_ASPNET | 4c043505d26702daf61979aede246ab2fb54d21d | [
"MIT"
] | null | null | null | SP_ASPNET_1/SP_ASPNET_1/DbFiles/Operations/BlogPostOperations.cs | Feelav/SP_ASPNET | 4c043505d26702daf61979aede246ab2fb54d21d | [
"MIT"
] | null | null | null | SP_ASPNET_1/SP_ASPNET_1/DbFiles/Operations/BlogPostOperations.cs | Feelav/SP_ASPNET | 4c043505d26702daf61979aede246ab2fb54d21d | [
"MIT"
] | null | null | null | using SP_ASPNET_1.DbFiles.UnitsOfWork;
using SP_ASPNET_1.Models;
using SP_ASPNET_1.ViewModels;
using SP_ASPNET_1.BusinessLogic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace SP_ASPNET_1.DbFiles.Operations
{
public class BlogPostOperati... | 30.543478 | 161 | 0.560498 |
b03aadfdbbb56089c9f71534a4007b8d00fee687 | 4,545 | py | Python | test_discretization/test_svm.py | wsgan001/AnomalyDetection | 397673dc6ce978361a3fc6f2fd34879f69bc962a | [
"MIT"
] | null | null | null | test_discretization/test_svm.py | wsgan001/AnomalyDetection | 397673dc6ce978361a3fc6f2fd34879f69bc962a | [
"MIT"
] | null | null | null | test_discretization/test_svm.py | wsgan001/AnomalyDetection | 397673dc6ce978361a3fc6f2fd34879f69bc962a | [
"MIT"
] | 1 | 2020-03-16T21:50:52.000Z | 2020-03-16T21:50:52.000Z | import pandas as pd
import math
import random
from sklearn import svm
headerfile = './nslkdd/data/kddcup.names'
datfile = './nslkdd/data/KDDTrain+_20Percent.txt'
headers=open(headerfile,'r').readlines()[1:]
headers = [h.split(':')[0] for h in headers]
headers.append('attack')
headers.append('attack_idx')
df = pd.re... | 34.172932 | 224 | 0.480088 |
c52b423ddde87143633c3b01cd761394aa931e12 | 292 | css | CSS | src/css/imports/_footer.css | higginbg/ncm-inc-2 | ecee5f8fa50b926b80e1ff425284da08d5e026da | [
"MIT"
] | null | null | null | src/css/imports/_footer.css | higginbg/ncm-inc-2 | ecee5f8fa50b926b80e1ff425284da08d5e026da | [
"MIT"
] | 2 | 2021-08-11T23:30:20.000Z | 2022-02-26T22:10:03.000Z | src/css/imports/_footer.css | higginbg/ncm-inc | 2285bc1907c68275bdbbaf1dd64befd7d429f633 | [
"MIT"
] | null | null | null | footer {
height: var(--footer-height);
margin-top: calc(-1 * var(--footer-height));
box-shadow: var(--footer-shadow);
}
.neg-margin {
margin-top: calc(-0.75 * var(--neg-margin));
}
@media (--breakpoint-large) {
.neg-margin {
margin-top: calc(-0.75 * var(--neg-margin));
}
}
| 18.25 | 48 | 0.59589 |
f4139c009e5a25f1163601cec2123bbb86fa5a77 | 1,624 | cs | C# | PossumLabs.Specflow.Core.UnitTests/FluidDataCreation/SetupUnitTestObjectFactory.cs | BasHamer/PossumLabs.Specflow.Core | ba5574f7e4a0c83187f22295abe62b912927d8c1 | [
"MIT"
] | 1 | 2019-10-29T15:07:03.000Z | 2019-10-29T15:07:03.000Z | PossumLabs.Specflow.Core.UnitTests/FluidDataCreation/SetupUnitTestObjectFactory.cs | BasHamer/PossumLabs.Specflow.Core | ba5574f7e4a0c83187f22295abe62b912927d8c1 | [
"MIT"
] | 14 | 2019-02-04T05:03:48.000Z | 2020-01-21T00:19:58.000Z | PossumLabs.Specflow.Core.UnitTests/FluidDataCreation/SetupUnitTestObjectFactory.cs | BasHamer/PossumLabs.Specflow.Core | ba5574f7e4a0c83187f22295abe62b912927d8c1 | [
"MIT"
] | null | null | null | using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace PossumLabs.Specflow.Core.UnitTests.FluidDataCreation
{
[TestClass]
public class SetupUnitTestObjectFactory
{
public Data... | 36.088889 | 127 | 0.68165 |
20cb7aea0ed08e8f30a790ee37dd5f5c5b48b6b7 | 25,699 | cs | C# | tests/Meziantou.Framework.DependencyScanning.Tests/ScannerTests.cs | DomLatr/Meziantou.Framework | d21820b39ec19b833b759881311d10ffa917abab | [
"MIT"
] | null | null | null | tests/Meziantou.Framework.DependencyScanning.Tests/ScannerTests.cs | DomLatr/Meziantou.Framework | d21820b39ec19b833b759881311d10ffa917abab | [
"MIT"
] | 74 | 2021-06-21T19:05:18.000Z | 2022-03-21T19:09:07.000Z | tests/Meziantou.Framework.DependencyScanning.Tests/ScannerTests.cs | aTiKhan/Meziantou.Framework | bf0ba9dd2db78516a93bb8b029f35f4ab6973843 | [
"MIT"
] | null | null | null | #pragma warning disable MA0101
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using LibGit2Sharp;
using Meziantou.Framework.DependencyScanning.Scanners;
using Meziantou.Framework.Globbing;
using TestUtilities;... | 37.137283 | 247 | 0.594342 |
eca242410c3f7365228bfa53cdb4a295070d10aa | 1,510 | sql | SQL | storage/cockroach/migrations/000001_tables.up.sql | arcadium-dev/arcade | 02621a1ab887baf794043cea41ce9fc4778d4f5d | [
"Apache-2.0"
] | null | null | null | storage/cockroach/migrations/000001_tables.up.sql | arcadium-dev/arcade | 02621a1ab887baf794043cea41ce9fc4778d4f5d | [
"Apache-2.0"
] | 1 | 2021-11-06T17:09:46.000Z | 2021-11-06T17:09:46.000Z | storage/cockroach/migrations/000001_tables.up.sql | arcadium-dev/arcade | 02621a1ab887baf794043cea41ce9fc4778d4f5d | [
"Apache-2.0"
] | null | null | null | BEGIN;
CREATE TABLE IF NOT EXISTS players (
player_id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
name TEXT UNIQUE NOT NULL,
description TEXT NOT NULL,
created TIMESTAMP NOT NULL DEFAULT (now() AT TIME ZONE 'utc'),
updated TIMESTAMP NOT NULL DEFAULT (now() AT TIME ZONE 'utc')
);
CREATE TABLE IF N... | 26.034483 | 64 | 0.705298 |
cd35c6aa3cc21c9de993da29657dd6271d64077b | 2,051 | dart | Dart | lib/widgets/settings.dart | irfanrev/trex-markicabs_fluttergame | dd83b2f07a9c753ec4a1f42d5d97721fd8fe99d0 | [
"MIT"
] | null | null | null | lib/widgets/settings.dart | irfanrev/trex-markicabs_fluttergame | dd83b2f07a9c753ec4a1f42d5d97721fd8fe99d0 | [
"MIT"
] | null | null | null | lib/widgets/settings.dart | irfanrev/trex-markicabs_fluttergame | dd83b2f07a9c753ec4a1f42d5d97721fd8fe99d0 | [
"MIT"
] | null | null | null | import 'package:dino_run/game/audio_manager.dart';
import 'package:flutter/material.dart';
/// This class displays the settings menu on [MainMenu].
class Settings extends StatelessWidget {
final Function onBackPressed;
const Settings({
Key key,
@required this.onBackPressed,
}) : assert(onBackPressed !=... | 29.724638 | 73 | 0.511945 |
ab66e312d9f6c59052aa8c944a60c460c44e496c | 6,073 | dart | Dart | lib/utils/geometry/radial_menu_collisions.dart | dungnv2602/flutter_ui_challenges | 09d1fdc14120de10f39ca57da01aa02166a4e3a1 | [
"Apache-2.0"
] | null | null | null | lib/utils/geometry/radial_menu_collisions.dart | dungnv2602/flutter_ui_challenges | 09d1fdc14120de10f39ca57da01aa02166a4e3a1 | [
"Apache-2.0"
] | null | null | null | lib/utils/geometry/radial_menu_collisions.dart | dungnv2602/flutter_ui_challenges | 09d1fdc14120de10f39ca57da01aa02166a4e3a1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020. Joe Ng - dungnv2602. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* This class is a modified version from the original authored by Matt Carroll/Fluttery
* Credit goes to Matt Carroll/Fluttery
*/
import 'dart:... | 29.769608 | 87 | 0.671991 |
50b30f01b7df254c8db68a4fccc15ade29e20ce9 | 1,127 | dart | Dart | lib/bloc/signup/sign_up_event.dart | vibeus-con/Vibeus | 6fb4b77bc639b6df20388b815d92f03b0c7f05eb | [
"MIT"
] | 1 | 2021-08-06T09:39:50.000Z | 2021-08-06T09:39:50.000Z | lib/bloc/signup/sign_up_event.dart | vibeus-con/Vibeus | 6fb4b77bc639b6df20388b815d92f03b0c7f05eb | [
"MIT"
] | null | null | null | lib/bloc/signup/sign_up_event.dart | vibeus-con/Vibeus | 6fb4b77bc639b6df20388b815d92f03b0c7f05eb | [
"MIT"
] | 1 | 2021-08-06T09:39:55.000Z | 2021-08-06T09:39:55.000Z | import 'package:equatable/equatable.dart';
import 'package:flutter/cupertino.dart';
@immutable
abstract class SignUpEvent extends Equatable {
const SignUpEvent();
@override
List<Object> get props => [];
}
class EmailChanged extends SignUpEvent {
final String email;
EmailChanged({@required this.email});
... | 20.490909 | 80 | 0.726708 |
58bd7d9875f7feebc3d89f2c2bdf9236842f0d17 | 1,088 | css | CSS | src/OneGit.Web/wwwroot/css/site.css | olegburov/Auth0-Coding-Project | 7e724d429e86db27ff850c856dce4ef36ef1350a | [
"MIT"
] | 11 | 2018-07-04T00:39:32.000Z | 2020-04-21T13:19:08.000Z | src/OneGit.Web/wwwroot/css/site.css | olegburov/Auth0-Coding-Project | 7e724d429e86db27ff850c856dce4ef36ef1350a | [
"MIT"
] | 1 | 2018-09-26T03:38:00.000Z | 2018-09-26T03:38:00.000Z | src/OneGit.Web/wwwroot/css/site.css | olegburov/Auth0 | 7e724d429e86db27ff850c856dce4ef36ef1350a | [
"MIT"
] | null | null | null | body {
padding-top: 50px;
padding-bottom: 20px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px;
}
/* Carousel */
.carousel-caption p {
font-size: 20px;
line-height: 1.4;
}
/* Make .svg files... | 16.738462 | 72 | 0.643382 |
af5fb10d412f2b358040690ce3c5b5ad1ef7391c | 2,193 | py | Python | disc/disc03.py | FyisFe/UCB-CS61A-20Fall | 40312a939e17c3de6735df7fc2eb2d66286f87ad | [
"MIT"
] | 3 | 2022-01-21T15:52:32.000Z | 2022-03-06T11:02:34.000Z | disc/disc03.py | FyisFe/UCB-CS61A-20Fall | 40312a939e17c3de6735df7fc2eb2d66286f87ad | [
"MIT"
] | null | null | null | disc/disc03.py | FyisFe/UCB-CS61A-20Fall | 40312a939e17c3de6735df7fc2eb2d66286f87ad | [
"MIT"
] | 1 | 2022-02-13T08:28:27.000Z | 2022-02-13T08:28:27.000Z | def multiply(m, n):
if n > m:
m, n = n, m
if n == 0:
return 0
return m + multiply(m, n - 1)
# print(multiply(3, 5))
def rec(x, y): # x ^ y
if y > 0:
return x * rec(x, y - 1)
return 1
# print(rec(3, 5))
def hailstone(n):
# n is even: n = n / 2
# n is odd: n =... | 19.936364 | 77 | 0.50114 |
eb37747a67c83d7ce16611d6e1ef98f7f5d09646 | 1,064 | css | CSS | public/css/preloader.css | biohazardhome/dps | 435cc7c6459f88d0ba88278f59de2c1577f7d8ed | [
"MIT"
] | null | null | null | public/css/preloader.css | biohazardhome/dps | 435cc7c6459f88d0ba88278f59de2c1577f7d8ed | [
"MIT"
] | null | null | null | public/css/preloader.css | biohazardhome/dps | 435cc7c6459f88d0ba88278f59de2c1577f7d8ed | [
"MIT"
] | null | null | null |
.preloader {
display: none;
text-align: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(128, 128, 128, 0.53);
}
.cp-spinner {
width:48px;
height:48px;
display:inline-block;
box-sizing:border-box;
position:relative;
}
.cp-round:before... | 17.16129 | 52 | 0.684211 |
181e0acc75c4adf262cdc7bd6ee77cc19b7ce428 | 483 | sql | SQL | alembic/backport_instances.sql | BrianJKoopman/librarian | 2d4164b60fe41d1a192f03d8baad12c0d11d0394 | [
"BSD-2-Clause"
] | 5 | 2016-02-17T17:51:05.000Z | 2021-12-09T19:08:17.000Z | alembic/backport_instances.sql | BrianJKoopman/librarian | 2d4164b60fe41d1a192f03d8baad12c0d11d0394 | [
"BSD-2-Clause"
] | 60 | 2016-01-29T20:40:04.000Z | 2021-05-28T14:13:18.000Z | alembic/backport_instances.sql | simonsobs/librarian | 188370d84a988f898bb9de4593078c1868602f08 | [
"BSD-2-Clause"
] | 6 | 2017-11-13T10:40:34.000Z | 2020-07-10T00:42:57.000Z | -- Copyright 2016 the HERA Collaboration
-- Licensed under the 2-clause BSD License
--
-- Use this script to seed the "alembic_version" table on instances
-- of the Librarian database that have already been deployed. The
-- magic hex number is the Alembic revision identifier of the
-- "initial schema" that these deploy... | 43.909091 | 67 | 0.784679 |
45a1d01de991db1f3c078db5c2a68149a65d0023 | 28,450 | py | Python | hello.py | DevrisOfStar/SW | 27fffb10d7a853875d8bd5a2579af9331be371ef | [
"MIT"
] | null | null | null | hello.py | DevrisOfStar/SW | 27fffb10d7a853875d8bd5a2579af9331be371ef | [
"MIT"
] | null | null | null | hello.py | DevrisOfStar/SW | 27fffb10d7a853875d8bd5a2579af9331be371ef | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import string
reload(sys)
sys.setdefaultencoding('utf8')
from flask import Flask, request, url_for, redirect, session, flash
from flask import render_template
from flaskext.mysql import MySQL
app = Flask(__name__)
app.secret_key = '#ekd@aA/3g... | 37.044271 | 145 | 0.587979 |
58c0278cd816d57c9b7f341d7bfb795caccd85da | 1,501 | css | CSS | server-core/src/main/java/io/onedev/server/web/component/savedquery/saved-queries.css | parampavar/onedev | d1e2417d0e06ee6abfc2fcb75497cbf9af7eaad1 | [
"MIT"
] | 1 | 2020-05-22T16:25:13.000Z | 2020-05-22T16:25:13.000Z | server-core/src/main/java/io/onedev/server/web/component/savedquery/saved-queries.css | parampavar/onedev | d1e2417d0e06ee6abfc2fcb75497cbf9af7eaad1 | [
"MIT"
] | null | null | null | server-core/src/main/java/io/onedev/server/web/component/savedquery/saved-queries.css | parampavar/onedev | d1e2417d0e06ee6abfc2fcb75497cbf9af7eaad1 | [
"MIT"
] | 1 | 2022-03-15T19:33:12.000Z | 2022-03-15T19:33:12.000Z | .saved-queries>.head {
white-space: nowrap;
}
.saved-queries>.head>* {
display: inline-block;
}
.saved-queries>.head>.actions {
margin: 8px 0 0 12px;
}
.saved-queries>.head>.actions>a {
color: #444;
opacity: 100;
margin-right: 8px;
font-size: 16px;
}
.saved-queries>.head>.actions .close-saved-queries {
font-siz... | 19.24359 | 54 | 0.69487 |
d16855827d2bf5e4b77688fdfa60f6ac259eb3c5 | 101 | sh | Shell | test/Identity.Dapper.Tests.Integration/MySQL/restart.sh | sinangun/Identity.Dapper | db494657483080c6c81c304cd83986793f7efc20 | [
"MIT"
] | 266 | 2016-06-17T05:23:44.000Z | 2022-01-18T15:17:07.000Z | test/Identity.Dapper.Tests.Integration/MySQL/restart.sh | sinangun/Identity.Dapper | db494657483080c6c81c304cd83986793f7efc20 | [
"MIT"
] | 68 | 2016-06-16T19:01:23.000Z | 2021-03-08T07:07:40.000Z | test/Identity.Dapper.Tests.Integration/MySQL/restart.sh | sinangun/Identity.Dapper | db494657483080c6c81c304cd83986793f7efc20 | [
"MIT"
] | 78 | 2016-07-30T12:10:29.000Z | 2022-01-14T04:20:55.000Z | docker-compose stop
docker rm $(docker ps -a | grep mysql | awk '{ print $1 }')
docker-compose up -d | 33.666667 | 59 | 0.673267 |
729f26ff0a94e791265471e16a02298440eeb2fd | 780 | cs | C# | MACHINA/Assets/Scripts/Scene/FadeImage.cs | kurokurogamer/MAKINAS | 9e156691b4eae6a4d135ff356926d2cd3f959875 | [
"Unlicense"
] | null | null | null | MACHINA/Assets/Scripts/Scene/FadeImage.cs | kurokurogamer/MAKINAS | 9e156691b4eae6a4d135ff356926d2cd3f959875 | [
"Unlicense"
] | null | null | null | MACHINA/Assets/Scripts/Scene/FadeImage.cs | kurokurogamer/MAKINAS | 9e156691b4eae6a4d135ff356926d2cd3f959875 | [
"Unlicense"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FadeImage : FadeUI
{
// フェイドするイメージ
private Image _image;
protected override void Awake()
{
base.Awake();
_image = GetComponent<Image>();
if (_image)
{
_image.color = new Color(_image.colo... | 17.727273 | 84 | 0.666667 |
5170eda9666f3196946ae117578c9e9eb582aad2 | 31 | sql | SQL | server/db/sql/pictures/drop.sql | kevinnorris/pintclone | 55a2ce4c7c10c3cc91b4320ddc5ed2888254306e | [
"MIT"
] | null | null | null | server/db/sql/pictures/drop.sql | kevinnorris/pintclone | 55a2ce4c7c10c3cc91b4320ddc5ed2888254306e | [
"MIT"
] | null | null | null | server/db/sql/pictures/drop.sql | kevinnorris/pintclone | 55a2ce4c7c10c3cc91b4320ddc5ed2888254306e | [
"MIT"
] | null | null | null | DROP TABLE ${schema~}.Pictures; | 31 | 31 | 0.741935 |
47ee4dfa4f75171e207f6be69eba501851b2a012 | 1,452 | dart | Dart | lib/providers/notifiers.dart | castaway/nag_me | 6c752bf5a9f0a42fa6d7c50d09c87d0496f19ee3 | [
"BSD-3-Clause"
] | null | null | null | lib/providers/notifiers.dart | castaway/nag_me | 6c752bf5a9f0a42fa6d7c50d09c87d0496f19ee3 | [
"BSD-3-Clause"
] | null | null | null | lib/providers/notifiers.dart | castaway/nag_me | 6c752bf5a9f0a42fa6d7c50d09c87d0496f19ee3 | [
"BSD-3-Clause"
] | null | null | null | import 'dart:convert';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:nag_me_lib/nag_me.dart';
class Notifiers with ChangeNotifier {
String owner_id;
List<Notifier> _notifiers = [];
List<Notifier> get list {
return [..._notifiers];
}
Futu... | 28.470588 | 92 | 0.646694 |
6596e936eaac8b70c34d8600db4026bd54c7a301 | 996 | swift | Swift | Tests/ResponseTests.swift | LucianoPolit/Leash | ecacf20e75d0106f870cea4f2f22421dd2b4af53 | [
"MIT"
] | 17 | 2017-11-27T15:35:00.000Z | 2022-02-20T23:12:28.000Z | Tests/ResponseTests.swift | LucianoPolit/Leash | ecacf20e75d0106f870cea4f2f22421dd2b4af53 | [
"MIT"
] | 1 | 2019-03-12T18:56:55.000Z | 2019-05-14T07:13:53.000Z | Tests/ResponseTests.swift | LucianoPolit/Leash | ecacf20e75d0106f870cea4f2f22421dd2b4af53 | [
"MIT"
] | 1 | 2019-03-12T17:26:07.000Z | 2019-03-12T17:26:07.000Z | //
// ResponseTests.swift
// Example
//
// Created by Luciano Polit on 11/28/17.
// Copyright © 2017 Luciano Polit. All rights reserved.
//
import Foundation
import XCTest
@testable import Leash
class ResponseTests: BaseTestCase {
let failure = Response<Data>.failure(Leash.Error.unknown)
let success ... | 19.92 | 65 | 0.638554 |
651364d9a6c39499e50c20e1b977687fd9724dc0 | 103 | css | CSS | src/main/css/google/khmer/index.css | superflycss/utilities-fonts | 83680e581aa6c78aba4cb48f64606749803ba4ac | [
"MIT"
] | 3 | 2018-03-09T05:47:34.000Z | 2019-02-26T16:31:45.000Z | src/main/css/google/khmer/index.css | superflycss/utilities-fonts | 83680e581aa6c78aba4cb48f64606749803ba4ac | [
"MIT"
] | 10 | 2018-05-06T19:53:24.000Z | 2020-05-15T20:36:41.000Z | src/main/css/google/khmer/index.css | superflycss/utilities-fonts | 83680e581aa6c78aba4cb48f64606749803ba4ac | [
"MIT"
] | 2 | 2017-07-13T20:14:38.000Z | 2018-03-09T05:47:38.000Z | .u-font-khmer-400 {
font-family: 'Khmer' !important;
font-weight: 400 !important;
} | 25.75 | 42 | 0.572816 |
c44a0627e809de0fb6c2b324059d3a75c1dda6ab | 6,723 | cpp | C++ | src/shogun/classifier/FeatureBlockLogisticRegression.cpp | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | src/shogun/classifier/FeatureBlockLogisticRegression.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | src/shogun/classifier/FeatureBlockLogisticRegression.cpp | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Copyright (C) 2012 Sergey Lisitsyn
*/
#include <shogun/cl... | 25.660305 | 100 | 0.754425 |
b99a657c1289c7dd3b6464494771c26b040768a8 | 3,837 | go | Go | data/asset_store_test.go | Joro97/Cloud_Asset_Uploader | ffb1a2c8d8ee791bcb029a46480882eb43f31c28 | [
"MIT"
] | null | null | null | data/asset_store_test.go | Joro97/Cloud_Asset_Uploader | ffb1a2c8d8ee791bcb029a46480882eb43f31c28 | [
"MIT"
] | null | null | null | data/asset_store_test.go | Joro97/Cloud_Asset_Uploader | ffb1a2c8d8ee791bcb029a46480882eb43f31c28 | [
"MIT"
] | null | null | null | package data
import (
"context"
"os"
"testing"
"CloudAssetUploader/constants"
"github.com/rs/zerolog/log"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
var (
db *DB
invalidConnStr = "notMongodb://username:password@host:port"
)
func TestMain(m *testing.M) {
setUp... | 28.849624 | 141 | 0.763617 |
b59754a8a4421bd8a6bd8d59a047a487ca8d1dc8 | 12,808 | lua | Lua | payback.lua | jgoldhammer/moneymoney-payback | cff9b48aba9f55ea9f28636e12c72ec21488e9bd | [
"Unlicense",
"MIT"
] | 11 | 2016-01-25T18:33:14.000Z | 2019-05-23T05:57:45.000Z | payback.lua | jgoldhammer/moneymoney-payback | cff9b48aba9f55ea9f28636e12c72ec21488e9bd | [
"Unlicense",
"MIT"
] | 5 | 2016-05-14T08:42:14.000Z | 2021-01-30T08:32:38.000Z | payback.lua | jgoldhammer/moneymoney-payback | cff9b48aba9f55ea9f28636e12c72ec21488e9bd | [
"Unlicense",
"MIT"
] | 3 | 2017-04-27T20:13:35.000Z | 2018-03-07T18:57:22.000Z | -- ---------------------------------------------------------------------------------------------------------------------
--
-- MoneyMoney Web Banking Extension
-- http://moneymoney-app.com/api/webbanking
--
--
-- The MIT License (MIT)
--
-- Copyright (c) 2012-2016 MRH applications GmbH
--
-- Permission is hereby grante... | 38.812121 | 138 | 0.524204 |
93f4a5c92b470c496e908831f3aeb861990d23a6 | 291 | cs | C# | src/NadekoBot/Modules/Searches/Crypto/IStockDataService.cs | StefanPuia/nadeko | 9fa0718b159dd230584f5ab4b2937ad0f1de0fec | [
"MIT"
] | null | null | null | src/NadekoBot/Modules/Searches/Crypto/IStockDataService.cs | StefanPuia/nadeko | 9fa0718b159dd230584f5ab4b2937ad0f1de0fec | [
"MIT"
] | 1 | 2022-03-29T05:36:35.000Z | 2022-03-29T05:36:35.000Z | src/NadekoBot/Modules/Searches/Crypto/IStockDataService.cs | StefanPuia/nadeko | 9fa0718b159dd230584f5ab4b2937ad0f1de0fec | [
"MIT"
] | null | null | null | namespace NadekoBot.Modules.Searches;
public interface IStockDataService
{
public Task<StockData?> GetStockDataAsync(string symbol);
Task<IReadOnlyCollection<SymbolData>> SearchSymbolAsync(string query);
Task<IReadOnlyCollection<CandleData>> GetCandleDataAsync(string query);
} | 36.375 | 75 | 0.810997 |
8eaf245bbb2fb9296f8dc5df777e74109bd6205e | 7,119 | js | JavaScript | modules/components/Students/components/Student/index.js | hmltnbrn/library-check-out | f41e8d596cb4c4b5ced458cde52d19300b47b534 | [
"MIT"
] | 1 | 2016-12-07T22:53:02.000Z | 2016-12-07T22:53:02.000Z | modules/components/Students/components/Student/index.js | hmltnbrn/library-check-out | f41e8d596cb4c4b5ced458cde52d19300b47b534 | [
"MIT"
] | null | null | null | modules/components/Students/components/Student/index.js | hmltnbrn/library-check-out | f41e8d596cb4c4b5ced458cde52d19300b47b534 | [
"MIT"
] | null | null | null | import React from 'react';
import {Link} from 'react-router';
import DocumentTitle from 'react-document-title';
import Paper from 'material-ui/Paper';
import {Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn} from 'material-ui/Table';
import Divider from 'material-ui/Divider';
import moment f... | 42.12426 | 139 | 0.410029 |
dd76e34c2776b9a51ab9cc2f36d2fcd86ebf19ae | 38,682 | java | Java | itext/src/main/java/com/itextpdf/text/pdf/PdfStamper.java | tombueng/itextpdf | 1ed117515691c37a12f790cfa0aa8e78b53e1916 | [
"RSA-MD"
] | null | null | null | itext/src/main/java/com/itextpdf/text/pdf/PdfStamper.java | tombueng/itextpdf | 1ed117515691c37a12f790cfa0aa8e78b53e1916 | [
"RSA-MD"
] | null | null | null | itext/src/main/java/com/itextpdf/text/pdf/PdfStamper.java | tombueng/itextpdf | 1ed117515691c37a12f790cfa0aa8e78b53e1916 | [
"RSA-MD"
] | null | null | null | /*
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
* Authors: Bruno Lowagie, Paulo Soares, et al.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free S... | 45.189252 | 280 | 0.697379 |
a37f0be5deb12c4360a1ef55a56154d88adfc870 | 6,392 | java | Java | src/gen/java/fakekube/io/model/IoK8sApiAutoscalingV2beta2HPAScalingRules.java | ahadas/fakekube | 0848aca921b0baa4678ea283ee1f744a72c2599c | [
"Apache-2.0"
] | 4 | 2020-02-18T13:16:45.000Z | 2020-02-27T11:16:49.000Z | src/gen/java/fakekube/io/model/IoK8sApiAutoscalingV2beta2HPAScalingRules.java | ahadas/fakekube | 0848aca921b0baa4678ea283ee1f744a72c2599c | [
"Apache-2.0"
] | 4 | 2020-03-25T09:22:12.000Z | 2021-06-10T15:03:25.000Z | src/gen/java/fakekube/io/model/IoK8sApiAutoscalingV2beta2HPAScalingRules.java | ahadas/fakekube | 0848aca921b0baa4678ea283ee1f744a72c2599c | [
"Apache-2.0"
] | 2 | 2020-01-19T08:20:36.000Z | 2020-03-04T13:40:39.000Z | package fakekube.io.model;
import fakekube.io.model.IoK8sApiAutoscalingV2beta2HPAScalingPolicy;
import io.swagger.annotations.ApiModel;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;
import javax.validation.Valid;
import io.swagger.annotations.ApiModelProperty;
import javax.... | 49.9375 | 438 | 0.774562 |
2f5fe8a50067a04a1cdd9e6415c91b2417a0ac69 | 627 | dart | Dart | example/lib/src/widgets.dart | EstefaniaRealcore/flutter_reactive_ble | ea29bd23152c4257294bb9e468950247cf98a63f | [
"BSD-3-Clause"
] | 1 | 2021-09-03T09:29:31.000Z | 2021-09-03T09:29:31.000Z | example/lib/src/widgets.dart | jonahwilliams/flutter_reactive_ble | 6e0597449a7faf49f97548832a5fbb33b6ddb9ce | [
"BSD-3-Clause"
] | null | null | null | example/lib/src/widgets.dart | jonahwilliams/flutter_reactive_ble | 6e0597449a7faf49f97548832a5fbb33b6ddb9ce | [
"BSD-3-Clause"
] | 2 | 2021-11-18T09:23:12.000Z | 2021-11-18T09:56:10.000Z | import 'package:flutter/material.dart';
class BluetoothIcon extends StatelessWidget {
const BluetoothIcon();
@override
Widget build(BuildContext context) => const SizedBox(
width: 64,
height: 64,
child: Align(alignment: Alignment.center, child: Icon(Icons.bluetooth)),
);
}
class S... | 25.08 | 80 | 0.695375 |
b286a8d2d3e93fb28cc338819644b856920fda22 | 159 | css | CSS | src/components/Pages/TemplatePage/TemplatePage.css | St3ve89/teambuild-front | 29e55ec1914cabbf839739c6fd9f3bd090c1d0fb | [
"MIT"
] | 1 | 2019-05-22T03:45:10.000Z | 2019-05-22T03:45:10.000Z | src/components/Pages/TemplatePage/TemplatePage.css | St3ve89/teambuild-front | 29e55ec1914cabbf839739c6fd9f3bd090c1d0fb | [
"MIT"
] | 10 | 2020-09-05T02:39:52.000Z | 2022-02-26T12:19:06.000Z | src/components/Pages/TemplatePage/TemplatePage.css | St3ve89/teambuild-front | 29e55ec1914cabbf839739c6fd9f3bd090c1d0fb | [
"MIT"
] | null | null | null | .background {
position: relative;
}
.content-box {
position: absolute;
z-index: 5;
top: 100px;
width: 100%;
}
/* Write your code below */ | 13.25 | 27 | 0.584906 |
e297fa0b7b6a69ae5298140f59213c322070f9e7 | 4,784 | py | Python | segreg/model/alt/tests/test_one_bkpt_segreg_alt.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | segreg/model/alt/tests/test_one_bkpt_segreg_alt.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | segreg/model/alt/tests/test_one_bkpt_segreg_alt.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | """
Testing alternative one-bkpt segreg.
"""
# Author: Steven Lillywhite
# License: BSD 3 clause
import unittest
import numpy.testing
from segreg import data
from segreg.model import one_bkpt_segreg
from segreg.model import segreg_util
from segreg.model.alt import one_bkpt_segreg_alt
from segreg.model.alt import re... | 34.919708 | 90 | 0.510033 |
60892f8ecee0aca4dc6ee1b77a15915cc8d3c055 | 7,043 | h | C | ios/libnode/include/node/jsrtisolateshim.h | ivandisi/nodejs-mobile-react-native | d6c0eb50ba0048f929303e110105569925c1efef | [
"MIT"
] | 1 | 2020-01-26T15:16:37.000Z | 2020-01-26T15:16:37.000Z | libs/ios/nodemobile/include/node/jsrtisolateshim.h | staltz/nodejs-mobile-cordova | 4ded39db91149098931f4ec53a64d2f5caf6c397 | [
"MIT"
] | 18 | 2019-12-27T19:58:20.000Z | 2022-02-27T08:17:49.000Z | libs/ios/nodemobile/include/node/jsrtisolateshim.h | staltz/nodejs-mobile-cordova | 4ded39db91149098931f4ec53a64d2f5caf6c397 | [
"MIT"
] | 2 | 2022-03-16T10:50:05.000Z | 2022-03-17T06:33:55.000Z | // Copyright Microsoft. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, ... | 30.357759 | 80 | 0.732358 |
7fa1a2682a640374f3beab650f9adf287f8b4019 | 2,997 | php | PHP | src/Controller/BaseMail.php | mail2telegram/bot-handler | 181b47e444e4079fc11d039247129b91a0a66d2b | [
"MIT"
] | null | null | null | src/Controller/BaseMail.php | mail2telegram/bot-handler | 181b47e444e4079fc11d039247129b91a0a66d2b | [
"MIT"
] | 18 | 2020-06-25T08:03:59.000Z | 2020-07-21T10:31:27.000Z | src/Controller/BaseMail.php | mail2telegram/bot-handler | 181b47e444e4079fc11d039247129b91a0a66d2b | [
"MIT"
] | null | null | null | <?php
namespace M2T\Controller;
use M2T\AccountManager;
use M2T\Client\ImapClient;
use M2T\Client\SmtpClient;
use M2T\Client\TelegramClient;
use M2T\Model\Attachment;
use M2T\Model\Email;
use M2T\Model\Mailbox;
use M2T\State;
abstract class BaseMail extends BaseMailbox
{
protected const MSG_SENT = 'Отправлено';
... | 32.225806 | 93 | 0.584585 |
c1dfc985095b599b2dd855cfc7f8807e58165a69 | 759 | sql | SQL | src/test/resources/sql-data.sql | jacobwinkworth-qa/IMS | 85f2223376fdabfc14798aec51d57cc0424eeb5f | [
"MIT"
] | null | null | null | src/test/resources/sql-data.sql | jacobwinkworth-qa/IMS | 85f2223376fdabfc14798aec51d57cc0424eeb5f | [
"MIT"
] | null | null | null | src/test/resources/sql-data.sql | jacobwinkworth-qa/IMS | 85f2223376fdabfc14798aec51d57cc0424eeb5f | [
"MIT"
] | 1 | 2020-11-27T14:48:14.000Z | 2020-11-27T14:48:14.000Z | INSERT INTO customers (first_name, surname)
VALUES ('jacob', 'winkworth');
INSERT INTO customers (first_name, surname)
VALUES ('ian', 'biel');
INSERT INTO items (name, value)
VALUES ('ball', 9.99);
INSERT INTO items (name, value)
VALUES ('shoe', 5.0);
INSERT INTO items (name, value)
VALUES ('frisbee', 10.0);
INS... | 27.107143 | 54 | 0.729908 |
e31b269aba99dcbb3c7a8948b07f2ffccb9a172d | 127 | rb | Ruby | db/migrate/20150630211926_add_upvotes_to_links.rb | dgf1979/epicodus-hacker_new_alike | 59322743c0b1b7b2f3189d4de176abfefc738896 | [
"Unlicense"
] | null | null | null | db/migrate/20150630211926_add_upvotes_to_links.rb | dgf1979/epicodus-hacker_new_alike | 59322743c0b1b7b2f3189d4de176abfefc738896 | [
"Unlicense"
] | null | null | null | db/migrate/20150630211926_add_upvotes_to_links.rb | dgf1979/epicodus-hacker_new_alike | 59322743c0b1b7b2f3189d4de176abfefc738896 | [
"Unlicense"
] | null | null | null | class AddUpvotesToLinks < ActiveRecord::Migration
def change
add_column :links, :upvotes, :integer, default: 0
end
end
| 21.166667 | 53 | 0.748031 |
4cd3ac30ff7ef18771e1874a26a247e4c9d3a971 | 7,683 | py | Python | PDFMergerUI.py | manuelprogramming/PDFMerger | 2e3b48ed3cb01152035fef0fb0f8a30be404cf5c | [
"MIT"
] | null | null | null | PDFMergerUI.py | manuelprogramming/PDFMerger | 2e3b48ed3cb01152035fef0fb0f8a30be404cf5c | [
"MIT"
] | null | null | null | PDFMergerUI.py | manuelprogramming/PDFMerger | 2e3b48ed3cb01152035fef0fb0f8a30be404cf5c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'PDFMerger.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, Qt... | 54.878571 | 114 | 0.737863 |