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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e2abf4b3940b92808b69a68ec13c3ced31797207 | 3,269 | js | JavaScript | game.js | eisenivan/computer-escape | 3a906beb4bdcfc44bc16bfe9965e862c0ddfae1c | [
"MIT"
] | null | null | null | game.js | eisenivan/computer-escape | 3a906beb4bdcfc44bc16bfe9965e862c0ddfae1c | [
"MIT"
] | null | null | null | game.js | eisenivan/computer-escape | 3a906beb4bdcfc44bc16bfe9965e862c0ddfae1c | [
"MIT"
] | null | null | null | import {
levelOne,
levelTwo,
winner,
lostGame,
hasClimbingGear,
ropeIsVisible,
harnessIsVisible
} from './rules'
const firstRoom = {
location: (state) => `Welcome ${state.name}. You open your eyes... squint into the light. Where are you? You look around. Hard drive, processor, graphics card. You must b... | 33.357143 | 327 | 0.638727 |
6d2f3a08235cb6e27ab5bef04148025e485e950a | 997 | ts | TypeScript | class_05-Services and DI/games-app/src/app/app.component.ts | sedc-codecademy/skwd9-js-09-fs-ajsts-frbs | 0a7b0e9d8a98ab38550fc97bdd1dbe21d0460ac9 | [
"MIT"
] | null | null | null | class_05-Services and DI/games-app/src/app/app.component.ts | sedc-codecademy/skwd9-js-09-fs-ajsts-frbs | 0a7b0e9d8a98ab38550fc97bdd1dbe21d0460ac9 | [
"MIT"
] | null | null | null | class_05-Services and DI/games-app/src/app/app.component.ts | sedc-codecademy/skwd9-js-09-fs-ajsts-frbs | 0a7b0e9d8a98ab38550fc97bdd1dbe21d0460ac9 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { LoggerService } from './components/games/games/services/logging.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
})
export class AppComponent implements OnInit {
constructor(private ... | 36.925926 | 128 | 0.721163 |
389b3a787de4c66923937f115ae89dc1d7a5b4aa | 1,267 | php | PHP | app/Http/Controllers/GalleriesController.php | lemosweb/jt_fotografia | f219d59d939ce814cbe4c7eb57e449306c1a07a5 | [
"MIT"
] | null | null | null | app/Http/Controllers/GalleriesController.php | lemosweb/jt_fotografia | f219d59d939ce814cbe4c7eb57e449306c1a07a5 | [
"MIT"
] | null | null | null | app/Http/Controllers/GalleriesController.php | lemosweb/jt_fotografia | f219d59d939ce814cbe4c7eb57e449306c1a07a5 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Gallery;
use App\ImageGallery;
use Illuminate\Http\Request;
use App\Http\Requests;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Session;
class GalleriesController extends Controller
{
private $gallery;
public function __construct(Gallery $g... | 18.910448 | 66 | 0.619574 |
b9a639cc5dfb4edb50253087cc448d60e0a40339 | 811 | ps1 | PowerShell | deploy.psdeploy.ps1 | robbiepc30/LocalAccountManagement | 0bd8345f5e994a35f1ba1af5fe04dfc0330cb9f4 | [
"MIT"
] | null | null | null | deploy.psdeploy.ps1 | robbiepc30/LocalAccountManagement | 0bd8345f5e994a35f1ba1af5fe04dfc0330cb9f4 | [
"MIT"
] | null | null | null | deploy.psdeploy.ps1 | robbiepc30/LocalAccountManagement | 0bd8345f5e994a35f1ba1af5fe04dfc0330cb9f4 | [
"MIT"
] | null | null | null | Deploy "Deploy LocalAccountManagement To Dev Folder" {
By FileSystem {
FromSource LocalAccountManagement
To C:\PSDev\LocalAccountManagement
WithOptions @{
Mirror = $True
}
Tagged Dev
}
}
Deploy "Deploy LocalAccountManagement To Local Module Folder" {
By ... | 25.34375 | 78 | 0.623921 |
79ae126ecb0f324f6b8d9517177be4cdc6f70999 | 4,832 | php | PHP | resources/views/result.blade.php | HIDETO-NDTB/make-rules | 6fde5cf5c8d3b8a5dabc2c091befa561c049b10d | [
"MIT"
] | null | null | null | resources/views/result.blade.php | HIDETO-NDTB/make-rules | 6fde5cf5c8d3b8a5dabc2c091befa561c049b10d | [
"MIT"
] | null | null | null | resources/views/result.blade.php | HIDETO-NDTB/make-rules | 6fde5cf5c8d3b8a5dabc2c091befa561c049b10d | [
"MIT"
] | null | null | null | @extends('layouts/front')
@section('page')
<div id="commentwrap">
<div class="container">
<div class="row centered">
<div class="col-lg-6">
<div class="card2">
<div class="card-header"><h4><b>{{ $rule->title }}</b></h4></div>
<div class="c... | 39.606557 | 184 | 0.341887 |
040ccfa0edbbb7c5a269b9809a3e5c714e8d6de3 | 694 | cpp | C++ | src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 519 | 2019-10-17T12:36:22.000Z | 2022-03-26T23:28:19.000Z | src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 924 | 2019-11-03T21:05:01.000Z | 2022-03-31T22:44:30.000Z | src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp | BioGeek/awkward-1.0 | 0cfb4e43c41d5c7d9830cc7b1d750485c0a93eb2 | [
"BSD-3-Clause"
] | 56 | 2019-12-17T15:49:22.000Z | 2022-03-09T20:34:06.000Z | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS_C("src/cpu-kernels/awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64.cpp", line)
#include "awkward/kernels.h"
ERROR awkward_ListOffsetArray_reduce_nonlocal_maxcount_of... | 30.173913 | 141 | 0.704611 |
1f334a279ea4ecd7fa586790da89fa94abd04b13 | 11,904 | ps1 | PowerShell | PublicFolders/src/SourceSideValidations/SourceSideValidations.ps1 | dpaulson45/CSS-Exchange | 16154ff8217a61694b56c8d46a136aa09e03187c | [
"MIT"
] | 1 | 2021-06-23T12:28:47.000Z | 2021-06-23T12:28:47.000Z | PublicFolders/src/SourceSideValidations/SourceSideValidations.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | PublicFolders/src/SourceSideValidations/SourceSideValidations.ps1 | paulvill76/CSS-Exchange | 824886e13761ddf2f237855564b76a66ab2e29c6 | [
"MIT"
] | null | null | null | [CmdletBinding(DefaultParameterSetName = "Default", SupportsShouldProcess)]
param (
[Parameter(Mandatory = $false, ParameterSetName = "Default")]
[bool]
$StartFresh = $true,
[Parameter(Mandatory = $true, ParameterSetName = "RemoveInvalidPermissions")]
[Switch]
$RemoveInvalidPermissions,
[... | 45.96139 | 211 | 0.751932 |
1a4df8a9039600358d821d9776256f0bc57d76c8 | 3,754 | py | Python | train.py | danaiefst/GaitTracking | 5911d556f02fd676039fcb161707589f4bc234ae | [
"MIT"
] | null | null | null | train.py | danaiefst/GaitTracking | 5911d556f02fd676039fcb161707589f4bc234ae | [
"MIT"
] | null | null | null | train.py | danaiefst/GaitTracking | 5911d556f02fd676039fcb161707589f4bc234ae | [
"MIT"
] | null | null | null | import torch
torch.cuda.manual_seed(3)
torch.manual_seed(3)
import data_handler, tracking_nn
import sys
from torch.optim import Adam
flag = int(sys.argv[1])
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
print("Working on", device)
batch_size = 32
cnn = tracking_nn.CNN().to(device)
if flag... | 32.643478 | 143 | 0.523974 |
bb0af73b3e6f2b64eb5ed6b52d2b9b160530ea8f | 19,719 | cs | C# | Tester.Tests/ResponseTypesControllerTest.cs | mnaumanali94/Csharp | 8fa3e77d2e186362cf6fca0fe9f9f8ab01ade037 | [
"MIT"
] | null | null | null | Tester.Tests/ResponseTypesControllerTest.cs | mnaumanali94/Csharp | 8fa3e77d2e186362cf6fca0fe9f9f8ab01ade037 | [
"MIT"
] | null | null | null | Tester.Tests/ResponseTypesControllerTest.cs | mnaumanali94/Csharp | 8fa3e77d2e186362cf6fca0fe9f9f8ab01ade037 | [
"MIT"
] | null | null | null | /*
* Tester.Tests
*
* This file was automatically generated for Stamplay by APIMATIC v2.0 ( https://apimatic.io ) on 08/08/2016
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading.Tasks;
using NUnit.Framework;
using Tester.PCL;
using Tes... | 34.413613 | 1,113 | 0.51742 |
e1d08984c2e80cfa1c76e57f7c0ca1e154865caf | 1,689 | cs | C# | D2TxtImporter.lib/Model/Dictionaries/ItemTypes.cs | Elmegaard/D2TxtImporter | fba0958df9fe0cf89802c92d1bccaf0e9723ab54 | [
"MIT"
] | 3 | 2020-04-18T10:26:35.000Z | 2021-08-22T03:49:09.000Z | D2TxtImporter.lib/Model/Dictionaries/ItemTypes.cs | Elmegaard/D2TxtImporter | fba0958df9fe0cf89802c92d1bccaf0e9723ab54 | [
"MIT"
] | 16 | 2019-12-05T09:07:06.000Z | 2020-07-11T09:19:41.000Z | D2TxtImporter.lib/Model/Dictionaries/ItemTypes.cs | Elmegaard/D2TxtImporter | fba0958df9fe0cf89802c92d1bccaf0e9723ab54 | [
"MIT"
] | 2 | 2021-08-22T03:49:10.000Z | 2021-11-23T09:56:50.000Z | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace D2TxtImporter.lib.Model
{
public class ItemType
{
public string Name
{
get
{
if (Table.Tables.ContainsKey... | 24.478261 | 93 | 0.487271 |
79802fd8e7c480c05a9fb857795fb09672ed6dc6 | 2,740 | php | PHP | application/controllers/Parameters/Relacion/C_Relacion.php | visioncenterpro/visioncenterco | ac78455c357611cf380a3e1750981df72c9ce866 | [
"MIT"
] | null | null | null | application/controllers/Parameters/Relacion/C_Relacion.php | visioncenterpro/visioncenterco | ac78455c357611cf380a3e1750981df72c9ce866 | [
"MIT"
] | null | null | null | application/controllers/Parameters/Relacion/C_Relacion.php | visioncenterpro/visioncenterco | ac78455c357611cf380a3e1750981df72c9ce866 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class C_Relacion extends Controller {
public function __construct() {
parent::__construct();
$this->ValidateSession();
$this->load->model("Parameters/Relacion/M_Relacion");
}
public function index(){
// ... | 37.027027 | 94 | 0.555474 |
c6ac33f6d0e9b8c04154d64ec0fe93283c7ee4ac | 151 | css | CSS | 11-module/1-task/src/style.css | js-tasks-ru/tasks-js-dom-interfaces | 662729a9c4c49716e00e8906f40ffe323950f9a5 | [
"Unlicense"
] | null | null | null | 11-module/1-task/src/style.css | js-tasks-ru/tasks-js-dom-interfaces | 662729a9c4c49716e00e8906f40ffe323950f9a5 | [
"Unlicense"
] | null | null | null | 11-module/1-task/src/style.css | js-tasks-ru/tasks-js-dom-interfaces | 662729a9c4c49716e00e8906f40ffe323950f9a5 | [
"Unlicense"
] | 1 | 2019-03-02T07:02:15.000Z | 2019-03-02T07:02:15.000Z | .tooltip {
display: none;
padding: 5px;
border: 1px solid black;
}
.tooltip.tooltip_active {
display: block;
position: absolute;
} | 15.1 | 28 | 0.635762 |
464060b8599188a1e02907d2ddd7d5c7ecac4f19 | 701 | php | PHP | database/seeds/AddDataPermission.php | dbt123/vivandi | 6bcf1f6599d65592187cdfcacfa69181902b852a | [
"MIT"
] | null | null | null | database/seeds/AddDataPermission.php | dbt123/vivandi | 6bcf1f6599d65592187cdfcacfa69181902b852a | [
"MIT"
] | null | null | null | database/seeds/AddDataPermission.php | dbt123/vivandi | 6bcf1f6599d65592187cdfcacfa69181902b852a | [
"MIT"
] | null | null | null | <?php
use Illuminate\Database\Seeder;
use App\Admins;
use App\Permission;
class AddDataPermission extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$themtt = Permission::create([
'name' => 'Thêm Thuộc Tính',
... | 22.612903 | 56 | 0.463623 |
0d7261c311ead3e1a20dc7c9926b7d4094daa06f | 2,883 | cs | C# | Sdl.Community.GroupShareKit.Tests.Integration/Clients/TranslationMemoryClientDatabaseServerTest.cs | Mihael-Harangus/groupsharekit.net | c3d4c70984cfdc02d73bb0150b2182b4de89ed37 | [
"MIT"
] | 11 | 2016-02-18T11:34:10.000Z | 2020-04-24T13:44:07.000Z | Sdl.Community.GroupShareKit.Tests.Integration/Clients/TranslationMemoryClientDatabaseServerTest.cs | Mihael-Harangus/groupsharekit.net | c3d4c70984cfdc02d73bb0150b2182b4de89ed37 | [
"MIT"
] | 28 | 2015-11-19T14:57:33.000Z | 2021-05-21T10:17:16.000Z | Sdl.Community.GroupShareKit.Tests.Integration/Clients/TranslationMemoryClientDatabaseServerTest.cs | Mihael-Harangus/groupsharekit.net | c3d4c70984cfdc02d73bb0150b2182b4de89ed37 | [
"MIT"
] | 20 | 2015-12-28T14:25:59.000Z | 2020-10-15T13:38:08.000Z | using Sdl.Community.GroupShareKit.Models.Response.TranslationMemory;
using System;
using System.Threading.Tasks;
using Sdl.Community.GroupShareKit.Exceptions;
using Xunit;
namespace Sdl.Community.GroupShareKit.Tests.Integration.Clients
{
public class TranslationMemoryClientDatabaseServerTest
{
private... | 33.917647 | 94 | 0.631634 |
f62c774804c8fcdd943e390a2986dfc121767fd9 | 738 | sh | Shell | code/12_create_vcf.sh | aavibk98/aavibk98-bioinformatics-final-project- | 912b611627d1c851bbb74f1aabe3354ed36177bc | [
"CC-BY-4.0"
] | null | null | null | code/12_create_vcf.sh | aavibk98/aavibk98-bioinformatics-final-project- | 912b611627d1c851bbb74f1aabe3354ed36177bc | [
"CC-BY-4.0"
] | null | null | null | code/12_create_vcf.sh | aavibk98/aavibk98-bioinformatics-final-project- | 912b611627d1c851bbb74f1aabe3354ed36177bc | [
"CC-BY-4.0"
] | null | null | null | #!/usr/bin/env bash
set -euo pipefail
# Naupaka Zimmerman
# nzimmerman@usfca.edu
# November 1, 2020
# on RAID
OUTPUT_DIR="/data/sars_vcf_analysis/10_vcf_called/"
if [ $# -eq 0 ]
then
echo "This script will call variants on the bcf files it is given."
echo "Please supply a set of bcf files as arguments."
... | 27.333333 | 101 | 0.708672 |
a49d10b80eb0113579972541cab2ad09931163d7 | 301 | sql | SQL | oracle_script/STANDARD_DATA/toggleTriggers.sql | BrettPWRE/HDB | be7cd4f20064f3f0599810ebf4c6fe85e67ccfac | [
"Apache-2.0"
] | null | null | null | oracle_script/STANDARD_DATA/toggleTriggers.sql | BrettPWRE/HDB | be7cd4f20064f3f0599810ebf4c6fe85e67ccfac | [
"Apache-2.0"
] | null | null | null | oracle_script/STANDARD_DATA/toggleTriggers.sql | BrettPWRE/HDB | be7cd4f20064f3f0599810ebf4c6fe85e67ccfac | [
"Apache-2.0"
] | null | null | null | set echo off
set heading off
set feedback off
set pagesize 0
set linesize 100
set verify off
spool ./STANDARD_DATA/trigger_script.sql
select distinct 'ALTER TRIGGER '||trigger_name||upper(' &1')||';'
from user_triggers
/
spool off;
set echo on
set feedback on
@./STANDARD_DATA/trigger_script
quit
| 15.842105 | 65 | 0.770764 |
dca635b24d116b70ea4e210d87f967b375009595 | 951 | rb | Ruby | lib/assert-activerecord4/adapter.rb | redding/assert-activerecord4 | 16483b76338f46850a6c3cf6b4f1f4d8f2a07702 | [
"MIT"
] | null | null | null | lib/assert-activerecord4/adapter.rb | redding/assert-activerecord4 | 16483b76338f46850a6c3cf6b4f1f4d8f2a07702 | [
"MIT"
] | 1 | 2018-10-21T13:45:46.000Z | 2018-10-21T13:45:46.000Z | lib/assert-activerecord4/adapter.rb | redding/assert-activerecord4 | 16483b76338f46850a6c3cf6b4f1f4d8f2a07702 | [
"MIT"
] | null | null | null | require "active_record"
require "active_record/tasks/database_tasks"
require "assert-activerecord/adapter"
module AssertActiveRecord4
class Adapter
include AssertActiveRecord::Adapter
def self.database_tasks
ActiveRecord::Tasks::DatabaseTasks
end
def drop_db
self.class.database_tasks.d... | 20.673913 | 72 | 0.705573 |
5e1d071b315b9d10303fe853066127aecba269d4 | 1,645 | rb | Ruby | app/models/notification.rb | azmedien/kolibri-cockpit | 4aa7ba309a592d04b6009307ca64be59ee914ae8 | [
"Apache-2.0"
] | 1 | 2017-11-25T11:13:37.000Z | 2017-11-25T11:13:37.000Z | app/models/notification.rb | azmedien/kolibri-cockpit | 4aa7ba309a592d04b6009307ca64be59ee914ae8 | [
"Apache-2.0"
] | null | null | null | app/models/notification.rb | azmedien/kolibri-cockpit | 4aa7ba309a592d04b6009307ca64be59ee914ae8 | [
"Apache-2.0"
] | null | null | null | class Notification < ApplicationRecord
include ActionView::Helpers::DateHelper
validates :title, presence: true
validates :body, presence: true
validates :url, presence: true
validates :app, presence: true
validates :user, presence: true
belongs_to :app
belongs_to :user
belongs_to :rpush_app, clas... | 28.362069 | 105 | 0.721581 |
0591874827551ca5b6db65eab6d19660c6f4adf5 | 1,639 | rb | Ruby | lib/guard/bosh/job_default_properties_loader.rb | CloudCredo/guard-bosh | 1f8ef2baeba724a7b7675e5e7aa0a2830499d953 | [
"Apache-2.0"
] | 4 | 2015-08-18T10:17:43.000Z | 2019-01-11T04:20:59.000Z | lib/guard/bosh/job_default_properties_loader.rb | CloudCredo/guard-bosh | 1f8ef2baeba724a7b7675e5e7aa0a2830499d953 | [
"Apache-2.0"
] | null | null | null | lib/guard/bosh/job_default_properties_loader.rb | CloudCredo/guard-bosh | 1f8ef2baeba724a7b7675e5e7aa0a2830499d953 | [
"Apache-2.0"
] | null | null | null | require 'yaml'
module Guard
class Bosh
# The property defaults (if any) defined for a BOSH job in the job spec.
class JobDefaultPropertiesLoader
def initialize(release_dir:)
@release_dir = release_dir
end
def load_properties(job)
properties = job_spec(job[:job_name]).fetch(... | 25.215385 | 76 | 0.5723 |
46cf5c402bcc09ca53f5840cff174597c09f89a5 | 3,175 | py | Python | src/crawlers/nike.py | Brunopaes/python-sandbox | c51f716785bf11789b13f9bb24bfd76108eaec08 | [
"MIT"
] | 5 | 2020-08-04T00:13:06.000Z | 2022-03-18T09:18:29.000Z | src/crawlers/nike.py | Brunopaes/python-sandbox | c51f716785bf11789b13f9bb24bfd76108eaec08 | [
"MIT"
] | null | null | null | src/crawlers/nike.py | Brunopaes/python-sandbox | c51f716785bf11789b13f9bb24bfd76108eaec08 | [
"MIT"
] | 2 | 2020-06-26T13:42:17.000Z | 2020-08-04T00:13:10.000Z | # -*- coding: utf-8 -*-
from selenium import webdriver
import time
url = 'https://www.nike.com.br/'
driver = webdriver.Chrome('../../drivers/chromedriver.exe')
js = """fetch("https://www.nike.com.br/Cliente/LogarNike", {
"credentials": "include",
"headers": {
"accept": "application/json, text/javasc... | 79.375 | 1,928 | 0.763465 |
2db6eeac8c29c8b1c1695cfd52e1a1b63ac703f2 | 184 | cpp | C++ | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | #include "peerdata.h"
#include <vector>
int num_players=1;
int connecthash[100];
int packethash[100];
bool sendmydata=false;
bool game_mode=false;
vector<peerdata> gamers;
int my_num; | 18.4 | 24 | 0.777174 |
51845c6466529d779bc715615a64f6c8c674964d | 406 | lua | Lua | Utility/XapperLoader.lua | RobloxArchiver/Xapper-Addon-Loader | dcea5f4702fa8d32439e0dcd97837175f40790e7 | [
"WTFPL"
] | 1 | 2022-01-12T20:38:43.000Z | 2022-01-12T20:38:43.000Z | Utility/XapperLoader.lua | RobloxArchiver/Xapper-Addon-Loader | dcea5f4702fa8d32439e0dcd97837175f40790e7 | [
"WTFPL"
] | null | null | null | Utility/XapperLoader.lua | RobloxArchiver/Xapper-Addon-Loader | dcea5f4702fa8d32439e0dcd97837175f40790e7 | [
"WTFPL"
] | null | null | null | -- < VARIABLES >
local syn = is_synapse_function
local krnl = KRNL_LOADED
-- < CODE >
if is_synapse_function then
loadstring(game:HttpGet("https://raw.githubusercontent.com/RobloxArchiver/Xapper-Addon-Loader/main/Scripts/SYN_Xapper.lua", true))()
elseif krnl then
loadstring(game:HttpGet("https://raw.githubuserconte... | 40.6 | 135 | 0.785714 |
a4943da60be8a801a4c4d1bef884eb803b66860c | 1,060 | php | PHP | resources/views/dashboards/orderAddresses/edit_orderAddress.blade.php | ivt-ph40/BookStore | 424e5a146526c16de2d83b1ff6983e57b66b0562 | [
"MIT"
] | null | null | null | resources/views/dashboards/orderAddresses/edit_orderAddress.blade.php | ivt-ph40/BookStore | 424e5a146526c16de2d83b1ff6983e57b66b0562 | [
"MIT"
] | null | null | null | resources/views/dashboards/orderAddresses/edit_orderAddress.blade.php | ivt-ph40/BookStore | 424e5a146526c16de2d83b1ff6983e57b66b0562 | [
"MIT"
] | null | null | null | @extends('dashboards.layout.master')
@section('content')
<h1>Edit OrderAddresses</h1>
<form action="{{route('dashboards.orderAddresses.update', $orderAddresses->id)}}" method="POST" role="form">
@csrf
@method('PUT')
<div class="form-group">
<label for="">Email</label>
<input type="email" class="form-control"... | 33.125 | 124 | 0.683019 |
8ed16c8c0b96003eee606a4c1aaba1323aef66f4 | 900 | js | JavaScript | gulpfile.js | fortes1219/sass_0208 | 555e15e2d9012f412bc433d833d9d44046a67171 | [
"MIT"
] | 1 | 2020-01-04T02:15:54.000Z | 2020-01-04T02:15:54.000Z | gulpfile.js | fortes1219/sass_0208 | 555e15e2d9012f412bc433d833d9d44046a67171 | [
"MIT"
] | null | null | null | gulpfile.js | fortes1219/sass_0208 | 555e15e2d9012f412bc433d833d9d44046a67171 | [
"MIT"
] | 1 | 2019-12-16T07:46:11.000Z | 2019-12-16T07:46:11.000Z | const gulp = require('gulp') // 載入 gulp
const gulpSass = require('gulp-sass') // 載入 gulp-sass
const autoprefixer = require('gulp-autoprefixer')
const browserSync = require('browser-sync').create()
const connect = require('gulp-connect')
const sourcemaps = require("gulp-sourcemaps")
function styles() {
return (... | 21.428571 | 54 | 0.635556 |
d3846a56f17e0fdabe832079af12843852501329 | 1,184 | rb | Ruby | lib/api_sim/matchers/request_body_matcher.rb | schulzzw/api_sim | a28071a75e5fbc426b9b481f5bb29a20659b82d8 | [
"MIT"
] | 8 | 2016-04-29T02:58:02.000Z | 2020-03-20T12:27:20.000Z | lib/api_sim/matchers/request_body_matcher.rb | schulzzw/api_sim | a28071a75e5fbc426b9b481f5bb29a20659b82d8 | [
"MIT"
] | 39 | 2016-04-29T02:58:01.000Z | 2022-02-26T03:34:43.000Z | lib/api_sim/matchers/request_body_matcher.rb | schulzzw/api_sim | a28071a75e5fbc426b9b481f5bb29a20659b82d8 | [
"MIT"
] | 7 | 2016-04-29T21:01:04.000Z | 2020-07-22T03:51:50.000Z | require 'mustermann'
require 'api_sim/recorded_request'
require 'api_sim/matchers/base_matcher'
module ApiSim
module Matchers
class RequestBodyMatcher < BaseMatcher
attr_reader :http_method, :route, :headers, :response_code, :matcher, :response_body, :default, :schema, :query
def initialize(http_met... | 30.358974 | 138 | 0.632601 |
d55a7ea414d1e0df015d4ad2d6c802d26d1cad1e | 33,289 | go | Go | api/bff/admin/v1/shop_admin.pb.go | jackycsl/catalog | 86dbffa65dd026da4812286f4007ed0c7c8002a2 | [
"MIT"
] | null | null | null | api/bff/admin/v1/shop_admin.pb.go | jackycsl/catalog | 86dbffa65dd026da4812286f4007ed0c7c8002a2 | [
"MIT"
] | null | null | null | api/bff/admin/v1/shop_admin.pb.go | jackycsl/catalog | 86dbffa65dd026da4812286f4007ed0c7c8002a2 | [
"MIT"
] | null | null | null | // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.3
// source: api/bff/admin/v1/shop_admin.proto
package v1
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "goog... | 33.933741 | 131 | 0.703175 |
a152ab20fddb643a5bb8c322c2b9f18d1744229c | 2,463 | ts | TypeScript | integration/scripts/src/common.ts | metronotes-testing/external-initiator | 8591ed2d346311691a3558c38334b0b4fdf2598e | [
"MIT"
] | null | null | null | integration/scripts/src/common.ts | metronotes-testing/external-initiator | 8591ed2d346311691a3558c38334b0b4fdf2598e | [
"MIT"
] | null | null | null | integration/scripts/src/common.ts | metronotes-testing/external-initiator | 8591ed2d346311691a3558c38334b0b4fdf2598e | [
"MIT"
] | null | null | null | import chalk from 'chalk'
import 'source-map-support/register'
import { promises as fs } from 'fs'
import axios from 'axios'
import path from 'path'
/**
* Default credentials for testing node
* FIXME: duplicated
*/
export const credentials = {
email: 'notreal@fakeemail.ch',
password: 'twochains',
}
/**
* Sig... | 27.674157 | 82 | 0.676411 |
4368fff52cf336d5fe7c75ccbbd589d9a2857a23 | 1,312 | tsx | TypeScript | src/svg/pink.tsx | carlfairclough/react-cryptoicons | c09db681bcc267f36a2c232644b2254d4a0d6a44 | [
"MIT"
] | null | null | null | src/svg/pink.tsx | carlfairclough/react-cryptoicons | c09db681bcc267f36a2c232644b2254d4a0d6a44 | [
"MIT"
] | null | null | null | src/svg/pink.tsx | carlfairclough/react-cryptoicons | c09db681bcc267f36a2c232644b2254d4a0d6a44 | [
"MIT"
] | null | null | null | import React from 'react'
interface IconProps {
color?: string;
size?: Number;
}
export const PINK: React.FC<IconProps> = ({ color, size, ...rest}: IconProps) => (
<svg xmlns="http://www.w3.org/2000/svg" width={`${size}`} height={`${size}`} viewBox="0 0 32 32" fill={color} {...rest} ><g fill-rule="evenod... | 82 | 1,060 | 0.650152 |
2c4543b750d5c11286d2dba7ece4de91b9fdf3cd | 849 | py | Python | tests/test_config/test_load_config.py | dumpmemory/ColossalAI | 569357fea0ae91e0c886f177d1b91dd16277e1c9 | [
"Apache-2.0"
] | null | null | null | tests/test_config/test_load_config.py | dumpmemory/ColossalAI | 569357fea0ae91e0c886f177d1b91dd16277e1c9 | [
"Apache-2.0"
] | null | null | null | tests/test_config/test_load_config.py | dumpmemory/ColossalAI | 569357fea0ae91e0c886f177d1b91dd16277e1c9 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from pathlib import Path
import pytest
from colossalai.context.config import Config
from colossalai.builder import build_ophooks
@pytest.mark.cpu
def test_load_config():
filename = Path(__file__).parent.joinpath('sample_config.py')
config = Config.from_file(f... | 30.321429 | 134 | 0.746761 |
45616215dc354823632f65e91a5a8390b68ffdaf | 1,217 | py | Python | pysperf/models/minlplib.py | ZedongPeng/pysperf | 9d8536c56aee8508ffa142369b1ab7e3d88baaac | [
"BSD-2-Clause"
] | null | null | null | pysperf/models/minlplib.py | ZedongPeng/pysperf | 9d8536c56aee8508ffa142369b1ab7e3d88baaac | [
"BSD-2-Clause"
] | null | null | null | pysperf/models/minlplib.py | ZedongPeng/pysperf | 9d8536c56aee8508ffa142369b1ab7e3d88baaac | [
"BSD-2-Clause"
] | null | null | null | from pathlib import Path
import pandas
from pyutilib.misc import import_file
from pysperf.model_library_tools import register_model
minlplibdir = Path(__file__).parent.joinpath("minlplib/")
# Read in solu file
with minlplibdir.joinpath("MINLP.solu").open() as solufile:
pd = pandas.read_csv(solufile, sep=r'\s+',... | 32.026316 | 78 | 0.693509 |
237029b17907bc49b4d3ff330eeff84f9e5dee1e | 12,254 | ps1 | PowerShell | Get-PSSQLInstance.ps1 | madallday/PowerShell_Scripts | 7c766343ce4b20b76e86b04efca6bf667ea8a0ef | [
"MIT"
] | null | null | null | Get-PSSQLInstance.ps1 | madallday/PowerShell_Scripts | 7c766343ce4b20b76e86b04efca6bf667ea8a0ef | [
"MIT"
] | null | null | null | Get-PSSQLInstance.ps1 | madallday/PowerShell_Scripts | 7c766343ce4b20b76e86b04efca6bf667ea8a0ef | [
"MIT"
] | null | null | null | Function Get-PSSQLInstance {
<#
.SYNOPSIS
Retrieves SQL server information from a local or remote servers.
.DESCRIPTION
Retrieves SQL server information from a local or remote servers. Pulls all
instances from a SQL server and detects if in a cluster or not.
... | 45.723881 | 143 | 0.448017 |
7dbb36547f6801a64fd04722425951f34791f7e9 | 1,294 | css | CSS | fengshan/WebContent/styles/skin-one.css | sodoa/ccfrt | 7df85558bcd74ef6be7867082b13bd0ed1d49594 | [
"Apache-2.0"
] | null | null | null | fengshan/WebContent/styles/skin-one.css | sodoa/ccfrt | 7df85558bcd74ef6be7867082b13bd0ed1d49594 | [
"Apache-2.0"
] | null | null | null | fengshan/WebContent/styles/skin-one.css | sodoa/ccfrt | 7df85558bcd74ef6be7867082b13bd0ed1d49594 | [
"Apache-2.0"
] | 1 | 2021-12-31T12:32:12.000Z | 2021-12-31T12:32:12.000Z | @charset "utf-8";
/* CSS Document */
.ifram_top{ background:url(../images/admin/skin-one/top.png) repeat-x; }
.admin-top { background-image:url(../images/admin/skin-one/frame_bg1.gif);background-color:transparent;}
.admin-top p span { color:#000;}
.admin-top p span a{ color:#000;}
.admin-top p a.out{ background-i... | 68.105263 | 105 | 0.727202 |
d7a1e1869a51fc2047969589354935c003aa232b | 1,015 | go | Go | metrics/init.go | avito-tech/moira | ae38e2f8b376d7b35c0d38c821f59bd90f4ee037 | [
"MIT"
] | 1 | 2021-06-03T10:05:29.000Z | 2021-06-03T10:05:29.000Z | metrics/init.go | avito-tech/moira | ae38e2f8b376d7b35c0d38c821f59bd90f4ee037 | [
"MIT"
] | null | null | null | metrics/init.go | avito-tech/moira | ae38e2f8b376d7b35c0d38c821f59bd90f4ee037 | [
"MIT"
] | null | null | null | package metrics
import (
"fmt"
"go.avito.ru/DO/moira"
"os"
"strings"
"sync"
)
var (
cfg *Config
mu sync.Mutex
worker *metricsWorker
)
func Init(config Config, rateLimit moira.RateLimit) error {
mu.Lock()
defer mu.Unlock()
if cfg != nil {
return fmt.Errorf("already initialized")
}
prefix, err ... | 17.807018 | 73 | 0.671921 |
57e951ab424977c721999e73c15d3583ce9aa13e | 2,286 | php | PHP | src/Domain/V2/Banner/Urls.php | koma136/mytarget-sdk-php | 560ddd16901114f236d1e183569d449accd7e751 | [
"Apache-2.0"
] | 1 | 2018-11-13T10:53:27.000Z | 2018-11-13T10:53:27.000Z | src/Domain/V2/Banner/Urls.php | koma136/mytarget-sdk-php | 560ddd16901114f236d1e183569d449accd7e751 | [
"Apache-2.0"
] | null | null | null | src/Domain/V2/Banner/Urls.php | koma136/mytarget-sdk-php | 560ddd16901114f236d1e183569d449accd7e751 | [
"Apache-2.0"
] | 1 | 2018-10-10T11:39:19.000Z | 2018-10-10T11:39:19.000Z | <?php
namespace Koma136\MyTarget\Domain\V2\Banner;
use Koma136\MyTarget\Mapper\Annotation\Field;
class Urls
{
/**
* @var int
* @Field (name="id", type="int")
*/
private $id;
/**
* @var string
* @Field (name="url", type="string")
*/
private $url;
/**
* @var strin... | 17.318182 | 59 | 0.502187 |
18b0be74040c63fdbda416f692a0b98fe6e464e5 | 524 | ts | TypeScript | src/pattern/toolbar/types.ts | tomvej/rethreaded | c504ef4854ee65552eb36ea1079b6f156f1aeaab | [
"MIT"
] | null | null | null | src/pattern/toolbar/types.ts | tomvej/rethreaded | c504ef4854ee65552eb36ea1079b6f156f1aeaab | [
"MIT"
] | 6 | 2020-04-27T06:42:43.000Z | 2022-02-18T20:35:38.000Z | src/pattern/toolbar/types.ts | tomvej/rethreaded | c504ef4854ee65552eb36ea1079b6f156f1aeaab | [
"MIT"
] | null | null | null | import {either} from 'fp-ts/es6/Either';
import * as t from 'io-ts';
export const IntFromString = new t.Type<number, string, unknown>(
'IntFromString',
(unknown): unknown is number => typeof unknown === 'number' && Number.isInteger(unknown),
(unknown, context) => either.chain(t.string.validate(unknown, co... | 40.307692 | 94 | 0.662214 |
6415110f3153633600f50a07589ab2472999213c | 641 | py | Python | logging_test.py | IntelligentQuadruped/Robot_control | 68acee633a4249d7601d63eecbe4561401e9ec73 | [
"MIT"
] | null | null | null | logging_test.py | IntelligentQuadruped/Robot_control | 68acee633a4249d7601d63eecbe4561401e9ec73 | [
"MIT"
] | null | null | null | logging_test.py | IntelligentQuadruped/Robot_control | 68acee633a4249d7601d63eecbe4561401e9ec73 | [
"MIT"
] | null | null | null | import logging
import time
logging.basicConfig(filename="test_{}.log".format(time.ctime()),
format='%(asctime)s - %(levelname)s: %(message)s',
datefmt='%I:%M:%S.%f',
level=logging.DEBUG)
class test(object):
def __init__(self):
logging.info("New ... | 27.869565 | 70 | 0.546022 |
da74c3b2a391b878374d52f567fb962bc936def1 | 2,022 | php | PHP | src/application/classes/museoweb/modules/comments/models/CommentProxy.php | GruppoMeta/MWCMS | 0172b59d5baee04fe0464ae2e2a3d8771e5c2739 | [
"MIT"
] | 1 | 2017-01-28T08:44:46.000Z | 2017-01-28T08:44:46.000Z | src/application/classes/museoweb/modules/comments/models/CommentProxy.php | GruppoMeta/MWCMS | 0172b59d5baee04fe0464ae2e2a3d8771e5c2739 | [
"MIT"
] | null | null | null | src/application/classes/museoweb/modules/comments/models/CommentProxy.php | GruppoMeta/MWCMS | 0172b59d5baee04fe0464ae2e2a3d8771e5c2739 | [
"MIT"
] | null | null | null | <?php
class museoweb_modules_comments_models_CommentProxy extends GlizyObject
{
private $application;
private $user;
function __construct()
{
$this->application = org_glizy_ObjectValues::get('org.glizy', 'application');
$this->user = $this->application->getCurrentUser();
}
publ... | 31.59375 | 102 | 0.590999 |
e848c2e0c00b7f0aee40cbcb532bbb7c7f070a81 | 4,629 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_353.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_353.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_353.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rdi
lea addresses_normal_ht+0xb15d, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
cmp %r11, %r11
mov $0x6162636465666768, %r10
movq %r10, (%rdi)
add $1146, %r13
lea addresses_WC_ht+0x13539, %r12
xor %r10, %r10
movb (%r12), %r11b
cmp $1... | 49.774194 | 2,999 | 0.66105 |
b30f5baae0dd8afc84072eba092b1fe1f2f2ecc4 | 2,980 | py | Python | neuroquery/img_utils.py | RaphaelMeudec/neuroquery | 9f5a605f92c45de240eb673a039d1fb15d83574f | [
"BSD-3-Clause"
] | 21 | 2019-07-12T10:52:21.000Z | 2021-11-30T21:17:42.000Z | neuroquery/img_utils.py | RaphaelMeudec/neuroquery | 9f5a605f92c45de240eb673a039d1fb15d83574f | [
"BSD-3-Clause"
] | 9 | 2019-11-06T14:30:20.000Z | 2022-03-28T21:44:39.000Z | neuroquery/img_utils.py | RaphaelMeudec/neuroquery | 9f5a605f92c45de240eb673a039d1fb15d83574f | [
"BSD-3-Clause"
] | 9 | 2019-07-14T10:33:54.000Z | 2022-01-27T15:52:03.000Z | import numpy as np
import pandas as pd
from nilearn import image, input_data
from nilearn.datasets import load_mni152_brain_mask
def get_masker(mask_img=None, target_affine=None):
if isinstance(mask_img, input_data.NiftiMasker):
return mask_img
if mask_img is None:
mask_img = load_mni152_brai... | 33.483146 | 76 | 0.667114 |
43a6745bc86961fea45e491b5315f6cd84e46cca | 2,054 | ts | TypeScript | libs/validator/src/lib/isDate.ts | rxap-mirror/packages | 641497c36f3bedd8898e466c780cd5482a518ac5 | [
"BSD-4-Clause"
] | 1 | 2021-07-06T19:20:40.000Z | 2021-07-06T19:20:40.000Z | libs/validator/src/lib/isDate.ts | rxap-mirror/packages | 641497c36f3bedd8898e466c780cd5482a518ac5 | [
"BSD-4-Clause"
] | null | null | null | libs/validator/src/lib/isDate.ts | rxap-mirror/packages | 641497c36f3bedd8898e466c780cd5482a518ac5 | [
"BSD-4-Clause"
] | null | null | null | import { merge } from './util/merge';
const default_date_options = {
format: 'YYYY/MM/DD',
delimiters: [ '/', '-' ],
strictMode: false
};
function isValidFormat(format) {
return /(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$... | 34.813559 | 156 | 0.542843 |
de284161634400781c666d616a4e70df3b72383f | 625 | sql | SQL | Database/event_insert.sql | reetahan/ears | eb3e0aa4329457c254e634b3e4f7b3441994c0d9 | [
"Apache-2.0"
] | null | null | null | Database/event_insert.sql | reetahan/ears | eb3e0aa4329457c254e634b3e4f7b3441994c0d9 | [
"Apache-2.0"
] | null | null | null | Database/event_insert.sql | reetahan/ears | eb3e0aa4329457c254e634b3e4f7b3441994c0d9 | [
"Apache-2.0"
] | 1 | 2020-12-25T07:37:23.000Z | 2020-12-25T07:37:23.000Z | DROP PROCEDURE IF EXISTS EVENT_INSERT ;
DELIMITER //
CREATE PROCEDURE EVENT_INSERT(
name_ VARCHAR(100),
userId_ INT,
date_ VARCHAR(100),
description_ VARCHAR(300),
courseId_ VARCHAR(200)
)
BEGIN
SET @convertedDate = STR_TO_DATE(date_ , "%Y-%m-%d %H:%i") ;
INSERT INTO Event(EventName,DueDate,D... | 34.722222 | 103 | 0.7024 |
bb6a5bcefaa1d7b738939860378ede9c45f99b66 | 8,113 | cs | C# | src/Integrations/Domain/Domain.Api.V1/src/Domain.Api.V1/Model/DomainListingsServiceV1ModelDomainListingsApiModelQueryResultsListingStatementOfInformation.cs | neildobson-au/Propella | 3b22d5bee51bfb203e54f4fecb6ecc671d085d40 | [
"MIT"
] | null | null | null | src/Integrations/Domain/Domain.Api.V1/src/Domain.Api.V1/Model/DomainListingsServiceV1ModelDomainListingsApiModelQueryResultsListingStatementOfInformation.cs | neildobson-au/Propella | 3b22d5bee51bfb203e54f4fecb6ecc671d085d40 | [
"MIT"
] | null | null | null | src/Integrations/Domain/Domain.Api.V1/src/Domain.Api.V1/Model/DomainListingsServiceV1ModelDomainListingsApiModelQueryResultsListingStatementOfInformation.cs | neildobson-au/Propella | 3b22d5bee51bfb203e54f4fecb6ecc671d085d40 | [
"MIT"
] | null | null | null | /*
* Domain Public API
*
* See https://developer.domain.com.au for more information
*
* The version of the OpenAPI document: v1
* Contact: api@domain.com.au
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.Collections.Generic;
using ... | 46.36 | 731 | 0.66227 |
3afc9c97c1dddca7d8eb1654e5c57918f9092926 | 8,231 | kt | Kotlin | library/src/prod/java/io/nyris/sdk/di/module/io/nyris/sdk/ServiceModule.kt | ashraf-atef/SDK.Android | 5010741c43225f0d507a237966d5ac95a643bdb1 | [
"Apache-2.0"
] | 1 | 2019-03-04T11:30:11.000Z | 2019-03-04T11:30:11.000Z | library/src/prod/java/io/nyris/sdk/di/module/io/nyris/sdk/ServiceModule.kt | ashraf-atef/SDK.Android | 5010741c43225f0d507a237966d5ac95a643bdb1 | [
"Apache-2.0"
] | null | null | null | library/src/prod/java/io/nyris/sdk/di/module/io/nyris/sdk/ServiceModule.kt | ashraf-atef/SDK.Android | 5010741c43225f0d507a237966d5ac95a643bdb1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 nyris GmbH
*
* 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... | 37.756881 | 125 | 0.633702 |
bb68bac2f2f3e9de12171880af18e9fe1d07fb21 | 6,121 | cs | C# | Assets/_scripts/test/CursorTest.cs | xterminal86/FE | 10dd732b7337a65443268e39da2d5f689e88b59c | [
"MIT"
] | null | null | null | Assets/_scripts/test/CursorTest.cs | xterminal86/FE | 10dd732b7337a65443268e39da2d5f689e88b59c | [
"MIT"
] | null | null | null | Assets/_scripts/test/CursorTest.cs | xterminal86/FE | 10dd732b7337a65443268e39da2d5f689e88b59c | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CursorTest : MonoBehaviour
{
public Transform Cursor;
Vector3 _cursorPosition = Vector3.zero;
void Update()
{
HandleKeyDown();
HandleKeyRepeat();
HandleKeyUp();
/*
if (Input.GetKeyDown(KeyCode.... | 19.745161 | 70 | 0.522464 |
e4b7042b4fda24f459f87ec35802c93c62e87b95 | 4,889 | h | C | include/iommu_domains.h | DNSS4503/S4503_10.2 | a9482ce6ee1eeb6eb99591774b6283eae6ba0dc2 | [
"Apache-2.0"
] | 1 | 2016-09-05T19:40:48.000Z | 2016-09-05T19:40:48.000Z | include/iommu_domains.h | DNSS4503/S4503_10.2 | a9482ce6ee1eeb6eb99591774b6283eae6ba0dc2 | [
"Apache-2.0"
] | null | null | null | include/iommu_domains.h | DNSS4503/S4503_10.2 | a9482ce6ee1eeb6eb99591774b6283eae6ba0dc2 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... | 23.618357 | 73 | 0.757824 |
c6e5777883b1432b9507e77509ce91ef0173474f | 333 | css | CSS | src/App.css | ongzhixian/wreckApp | 9297c298d60195038b64d49e160757d9ec92c2d7 | [
"MIT"
] | null | null | null | src/App.css | ongzhixian/wreckApp | 9297c298d60195038b64d49e160757d9ec92c2d7 | [
"MIT"
] | null | null | null | src/App.css | ongzhixian/wreckApp | 9297c298d60195038b64d49e160757d9ec92c2d7 | [
"MIT"
] | null | null | null | body {
margin: 0;
font-family: 'Catamaran', sans-serif;
}
.App {
/* margin: 1rem; */
/* font-family: Arial, Helvetica, sans-serif; */
color:#222;
}
.brand {
font-family: 'Romanesco', cursive;
margin-right: 1rem;
font-size: 2.67em;
}
.prose {
margin: 0 1in;
}
.prose p {
text-ind... | 14.478261 | 52 | 0.561562 |
20e71b90c6491598ca4e356e0f183ba448c5b800 | 2,202 | py | Python | repo/script.module.urlresolver/lib/urlresolver/plugins/divxstage.py | Hades01/Addons | 710da97ac850197498a3cd64be1811c593610add | [
"Apache-2.0"
] | null | null | null | repo/script.module.urlresolver/lib/urlresolver/plugins/divxstage.py | Hades01/Addons | 710da97ac850197498a3cd64be1811c593610add | [
"Apache-2.0"
] | null | null | null | repo/script.module.urlresolver/lib/urlresolver/plugins/divxstage.py | Hades01/Addons | 710da97ac850197498a3cd64be1811c593610add | [
"Apache-2.0"
] | null | null | null | '''
divxstage urlresolver plugin
Copyright (C) 2011 t0mm0, DragonWin
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.
This prog... | 32.382353 | 115 | 0.64396 |
cd3a41f84333208711406bc384791e25a668aca0 | 6,377 | cs | C# | Source/Platibus/Config/Subscription.cs | amarrical/Platibus | b7712882ad4d88a660bde669d9077bd940afe0a0 | [
"MIT"
] | 36 | 2015-07-03T21:36:51.000Z | 2022-02-18T18:57:44.000Z | Source/Platibus/Config/Subscription.cs | amarrical/Platibus | b7712882ad4d88a660bde669d9077bd940afe0a0 | [
"MIT"
] | 32 | 2015-03-14T13:58:25.000Z | 2020-03-10T11:02:43.000Z | Source/Platibus/Config/Subscription.cs | sweetlandj/Pluribus | b7712882ad4d88a660bde669d9077bd940afe0a0 | [
"MIT"
] | 7 | 2015-05-01T16:39:20.000Z | 2021-06-21T16:22:18.000Z | // The MIT License (MIT)
//
// Copyright (c) 2016 Jesse Sweetland
//
// 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 u... | 42.513333 | 129 | 0.61173 |
cca2bbdee4a4b9dc4d6514f8c446df0722b8cbb9 | 1,491 | h | C | Includes/C++11/App.h | slicer4ever/IsoSpriteGenerator | d7c4923dfbfaed580038b80f4d52d8534f2388fb | [
"MIT"
] | null | null | null | Includes/C++11/App.h | slicer4ever/IsoSpriteGenerator | d7c4923dfbfaed580038b80f4d52d8534f2388fb | [
"MIT"
] | null | null | null | Includes/C++11/App.h | slicer4ever/IsoSpriteGenerator | d7c4923dfbfaed580038b80f4d52d8534f2388fb | [
"MIT"
] | null | null | null | #ifndef APP_H
#define APP_H
#include <LWCore/LWTypes.h>
#include <LWPlatform/LWTypes.h>
#include <LWVideo/LWTypes.h>
#include <LWETypes.h>
#include <LWEJobQueue.h>
#include "State.h"
class Renderer;
class Scene;
class App {
public:
static const uint32_t MessageFreq = 3; //Seconds.
void UpdateJob(LWEJob &J, LWEJob... | 22.590909 | 84 | 0.75721 |
8e8ceab8a18d29ed7474f21cbaeb637f34123714 | 465 | js | JavaScript | cypress_examples/examples/stubbing-spying__window/cypress/integration/spec.js | lezzles11/End-to-End-Testing | a8d7bbd92f869c49a618916b7115800d1584234e | [
"MIT"
] | null | null | null | cypress_examples/examples/stubbing-spying__window/cypress/integration/spec.js | lezzles11/End-to-End-Testing | a8d7bbd92f869c49a618916b7115800d1584234e | [
"MIT"
] | null | null | null | cypress_examples/examples/stubbing-spying__window/cypress/integration/spec.js | lezzles11/End-to-End-Testing | a8d7bbd92f869c49a618916b7115800d1584234e | [
"MIT"
] | null | null | null | /// <reference types="cypress" />
describe('window open', function () {
it('opens a new window with page1', function () {
// window.open is called on click
// thus we can create method stub after the cy.visit
// but before cy.click
cy.visit('/index.html')
cy.window().then((win) => {
cy.stub(... | 29.0625 | 63 | 0.602151 |
650971520e043d502d3835b206d2b640c88fdc40 | 56,665 | css | CSS | ajax/libs/emojione/1.3.0/assets/sprites/emojione.sprites.css | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | 5 | 2015-02-20T16:11:30.000Z | 2017-05-15T11:50:44.000Z | ajax/libs/emojione/1.3.0/assets/sprites/emojione.sprites.css | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | null | null | null | ajax/libs/emojione/1.3.0/assets/sprites/emojione.sprites.css | algolia/cdnjs | a0586b35ac4862680d2e090651acc8ccf44a5dda | [
"MIT"
] | 4 | 2015-07-14T16:16:05.000Z | 2021-03-10T08:15:54.000Z | [class*=emojione-]{text-indent:-9999em;image-rendering:optimizeQuality;font-size:inherit;height:1.3em;width:1.3em;top:-3px;position:relative;display:inline-block;margin:0 .15em;line-height:normal;vertical-align:middle;background-image:url("emojione.sprites.png");background-size:3300%;background-repeat:no-repeat}.emojio... | 18,888.333333 | 56,615 | 0.794229 |
ebd4c2c04e642f72bdf07bf73312e839e6b1b8df | 665 | css | CSS | tvmv-react-app/src/components/sections/GenreButton.css | project-tvmv/project-tvmv | 5ab6df9a4852c9bbfe72f0ad31be835944d13a8a | [
"MIT"
] | 1 | 2019-11-08T05:09:43.000Z | 2019-11-08T05:09:43.000Z | tvmv-react-app/src/components/sections/GenreButton.css | project-tvmv/project-tvmv | 5ab6df9a4852c9bbfe72f0ad31be835944d13a8a | [
"MIT"
] | null | null | null | tvmv-react-app/src/components/sections/GenreButton.css | project-tvmv/project-tvmv | 5ab6df9a4852c9bbfe72f0ad31be835944d13a8a | [
"MIT"
] | null | null | null | .genre-buttons-container {
max-width: 176vh;
margin: 2% auto -1%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.genre-links:hover > .genre-buttons {
color: black;
font-weight: 500;
}
.genre-links {
background: #232323;
border-radius: 5px;
width: 8%;
padding: 1vh 0 1vh 0;
margin-r... | 16.625 | 37 | 0.646617 |
80107cd4149cff7a32f4e48c3af487effb597d86 | 1,105 | dart | Dart | test_reflectable/test/meta_reflectors_domain_definer.dart | VoLaNg/reflectable.dart | 1dc5cfd1a4295dbe35aa33329caac00ceba957e8 | [
"BSD-3-Clause"
] | 159 | 2015-02-18T08:22:30.000Z | 2020-06-21T05:22:02.000Z | test_reflectable/test/meta_reflectors_domain_definer.dart | VoLaNg/reflectable.dart | 1dc5cfd1a4295dbe35aa33329caac00ceba957e8 | [
"BSD-3-Clause"
] | 173 | 2015-02-17T23:16:16.000Z | 2020-06-16T14:27:11.000Z | test_reflectable/test/meta_reflectors_domain_definer.dart | VoLaNg/reflectable.dart | 1dc5cfd1a4295dbe35aa33329caac00ceba957e8 | [
"BSD-3-Clause"
] | 41 | 2015-07-28T18:14:27.000Z | 2020-04-16T08:53:32.000Z | // Copyright (c) 2015, the Dart Team. All rights reserved. Use of this
// source code is governed by a BSD-style license that can be found in
// the LICENSE file.
/// File used to test reflectable code generation.
/// Part of the entry point 'meta_reflectors_test.dart'.
///
/// Independence: This library defines refle... | 40.925926 | 78 | 0.776471 |
6dd94ced6a523ffe0cd16c183addf4667fe95086 | 5,609 | ts | TypeScript | src/collection.ts | ronaldborla/model | 63bf49c7fc5cd9927e631395760c9b012fe73def | [
"MIT"
] | null | null | null | src/collection.ts | ronaldborla/model | 63bf49c7fc5cd9927e631395760c9b012fe73def | [
"MIT"
] | null | null | null | src/collection.ts | ronaldborla/model | 63bf49c7fc5cd9927e631395760c9b012fe73def | [
"MIT"
] | null | null | null | import utils from './utils';
/**
* Collection
*/
export default class Collection<M> {
[index: number]: M;
/**
* The Model
*/
public static Model: any;
/**
* Is Collection
*/
public static isCollection = true;
/**
* Private storage
*/
public __: any = {
parent: null
};
/**
... | 22.616935 | 124 | 0.616153 |
23c6bc16e536529aae3a69e93fbd7f6fd712d5fd | 228 | js | JavaScript | compiled/main.js | sirarthurnell/Snake | 83d3cf9089bd075acdc0536d47fd14df49441844 | [
"MIT"
] | 1 | 2017-01-05T10:05:19.000Z | 2017-01-05T10:05:19.000Z | compiled/main.js | sirarthurnell/Snake | 83d3cf9089bd075acdc0536d47fd14df49441844 | [
"MIT"
] | null | null | null | compiled/main.js | sirarthurnell/Snake | 83d3cf9089bd075acdc0536d47fd14df49441844 | [
"MIT"
] | null | null | null | "use strict";
var $ = require('jquery');
$(function () {
var $body = $('body'), $div = $('<div/>'), state = 'WORKING!';
$div.html("Hello, I'm still " + state);
$body.append($div);
});
//# sourceMappingURL=main.js.map | 28.5 | 66 | 0.54386 |
74772338030feee6f8922aa00841a006f9746794 | 943 | css | CSS | ServerExamples/mnist-draw-server/webclient/styles.css | mgh3326/tensorflow-ue4-examples | bf40e3b28f7240ddaac7b05cd9be22fa27eb1638 | [
"MIT"
] | null | null | null | ServerExamples/mnist-draw-server/webclient/styles.css | mgh3326/tensorflow-ue4-examples | bf40e3b28f7240ddaac7b05cd9be22fa27eb1638 | [
"MIT"
] | 1 | 2020-01-11T03:57:03.000Z | 2020-01-11T03:57:03.000Z | ServerExamples/mnist-draw-server/webclient/styles.css | mgh3326/tensorflow_ue4_practice | 600106771b83e02c8314fcf0ec5e89cc876d016b | [
"MIT"
] | 1 | 2019-03-05T07:53:09.000Z | 2019-03-05T07:53:09.000Z | #d1 {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
width: 99%;
height: 99%;
border: 1px solid #100;
}
#canvas {
display: flex;
width: 100%;
height: 100%;
border: 1px solid #000;
}
#d2 {
overflow: auto;
height: 100%;
}
#clr {
position: absolute;
top: 400px;
... | 18.86 | 38 | 0.582185 |
6963730230915e84d786f3140f2c2e61eaa96473 | 1,006 | rb | Ruby | spec/support/screenshot_on_failure.rb | rjpaskin/autoterm | c8e1ffc64e9f523a65788a986eaaa9bb4d2a2998 | [
"MIT"
] | null | null | null | spec/support/screenshot_on_failure.rb | rjpaskin/autoterm | c8e1ffc64e9f523a65788a986eaaa9bb4d2a2998 | [
"MIT"
] | null | null | null | spec/support/screenshot_on_failure.rb | rjpaskin/autoterm | c8e1ffc64e9f523a65788a986eaaa9bb4d2a2998 | [
"MIT"
] | null | null | null | require "fileutils"
module ScreenshotOnFailure
SCREENSHOTS_PATH = File.expand_path("../../../tmp/screenshots", __FILE__).freeze
def screenshot_if_failed(example)
if failed?(example)
filename = save_screenshot
$stderr.puts "Screenshot saved to #{filename}"
end
end
# From capybara-screensho... | 28.742857 | 88 | 0.714712 |
385181e494daf77dbc67fb91a383507f81de11bc | 1,133 | php | PHP | backend/pages/dashboard.php | Kouemi/Shoponline | da485b3556e3c16accdf4282b26385520aae39f8 | [
"MIT"
] | null | null | null | backend/pages/dashboard.php | Kouemi/Shoponline | da485b3556e3c16accdf4282b26385520aae39f8 | [
"MIT"
] | null | null | null | backend/pages/dashboard.php | Kouemi/Shoponline | da485b3556e3c16accdf4282b26385520aae39f8 | [
"MIT"
] | null | null | null | <?php
// Include file cấu hình ban đầu của `Twig`
require_once __DIR__.'/../../bootstrap.php';
// Tạo danh sách sản phẩm mẫu
// Các bạn có thể viết các câu lệnh truy xuất vào database để lấy dữ liệu, ...
$products = [
[
'name' => 'Notebook',
'description' => 'Core i7',
'value' ... | 31.472222 | 87 | 0.500441 |
bf31d97a9cd8a973259cfdce6dfa4fb93f5cc5ab | 815 | rb | Ruby | lib/spree_dev_tools/rspec/support/spree_cart.rb | kejiro/spree_dev_tools | baab69120354bcb867fca341c7fd0930fbc54086 | [
"BSD-3-Clause"
] | 4 | 2020-08-20T14:13:06.000Z | 2021-11-04T12:04:51.000Z | lib/spree_dev_tools/rspec/support/spree_cart.rb | kejiro/spree_dev_tools | baab69120354bcb867fca341c7fd0930fbc54086 | [
"BSD-3-Clause"
] | 1 | 2021-12-29T13:22:26.000Z | 2021-12-29T13:22:26.000Z | lib/spree_dev_tools/rspec/support/spree_cart.rb | kejiro/spree_dev_tools | baab69120354bcb867fca341c7fd0930fbc54086 | [
"BSD-3-Clause"
] | 2 | 2021-05-14T14:36:53.000Z | 2021-11-04T12:05:01.000Z | def update_cart
if Spree.version.to_f < 4.1
click_button 'update-button'
else
page.execute_script("$('form#update-cart').submit()")
end
end
def cart_container
if Spree.version.to_f < 4.1
find_all("#cart-detail tbody tr:first-child").first
else
find_all("#cart-detail .shopping-cart-item").firs... | 22.638889 | 83 | 0.710429 |
45a5b7e54c21b1a9c8aae010cbf3952420aba28d | 491 | sql | SQL | opensrp-reporting/src/main/resources/migrations/postgres/serviceProvided/V1_0_33__Adding_Missing_Villages_For_Kustagi.sql | SoftmedTanzania/opensrp_server | 7d3ffe33545340876ecb394baf7b1b34c14413c5 | [
"Apache-2.0"
] | 26 | 2015-03-05T15:44:34.000Z | 2018-11-03T20:01:39.000Z | opensrp-reporting/src/main/resources/migrations/postgres/serviceProvided/V1_0_33__Adding_Missing_Villages_For_Kustagi.sql | SoftmedTanzania/opensrp_server | 7d3ffe33545340876ecb394baf7b1b34c14413c5 | [
"Apache-2.0"
] | 462 | 2015-02-23T17:10:38.000Z | 2020-10-23T10:37:04.000Z | opensrp-reporting/src/main/resources/migrations/postgres/serviceProvided/V1_0_33__Adding_Missing_Villages_For_Kustagi.sql | SoftmedTanzania/htmr_backend | 7d3ffe33545340876ecb394baf7b1b34c14413c5 | [
"Apache-2.0"
] | 50 | 2015-02-20T12:07:52.000Z | 2020-07-09T11:36:57.000Z | INSERT INTO report.dim_location (state, district, taluka, phc, subCenter, village) SELECT 'Karnataka', 'Koppal', 'Kustagi', (SELECT ID FROM report.dim_phc WHERE phcIdentifier='phc_mudenoor'), 'muddalgundi', 'kalmalli_thanda' WHERE NOT EXISTS (SELECT dim_location FROM report.dim_location WHERE state='Karnataka' AND dist... | 163.666667 | 489 | 0.794297 |
54b264d735618e2edd3f75f37557839e5a503cef | 2,627 | swift | Swift | Source/Sync.swift | Praesentia/SecurityKit-Swift | dc712cdd8486d06b5ea551c3604dccb6298e2492 | [
"Apache-2.0"
] | null | null | null | Source/Sync.swift | Praesentia/SecurityKit-Swift | dc712cdd8486d06b5ea551c3604dccb6298e2492 | [
"Apache-2.0"
] | null | null | null | Source/Sync.swift | Praesentia/SecurityKit-Swift | dc712cdd8486d06b5ea551c3604dccb6298e2492 | [
"Apache-2.0"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of SecuriyKit.
Copyright 2015-2017 Jon Griffeth
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 th... | 20.053435 | 80 | 0.535592 |
4ef47f8ccdd4e33603c99a76592fbacfba36f36f | 759 | css | CSS | client/src/components/search-input.css | AlbertKogan/snyk-interview-task | 4449a905a170dce4b8d3f05d0946086a0cc877d4 | [
"MIT"
] | 1 | 2021-11-16T22:33:05.000Z | 2021-11-16T22:33:05.000Z | client/src/components/search-input.css | AlbertKogan/snyk-interview-task | 4449a905a170dce4b8d3f05d0946086a0cc877d4 | [
"MIT"
] | 10 | 2020-07-17T08:23:36.000Z | 2022-02-26T12:00:16.000Z | client/src/components/search-input.css | AlbertKogan/snyk-interview-task | 4449a905a170dce4b8d3f05d0946086a0cc877d4 | [
"MIT"
] | null | null | null | .searchWrapper {
width: 100%;
position: sticky;
background: white;
display: flex;
flex: 1 0 auto;
}
.searchContent {
position: relative;
display: flex;
flex: 1 0 auto;
flex-direction: column;
}
.searchForm {
display: flex;
flex: 1 0 auto;
height: 50px;
}
.searchInput {... | 15.18 | 32 | 0.596838 |
da8a4f88792de1026be29d6568887b5938bb0d53 | 758 | php | PHP | resources/views/clients/create.blade.php | melissa2527/Vet-clinic-laravel | 83bbb8c9405b444f3e01170142510df636e60de3 | [
"MIT"
] | null | null | null | resources/views/clients/create.blade.php | melissa2527/Vet-clinic-laravel | 83bbb8c9405b444f3e01170142510df636e60de3 | [
"MIT"
] | null | null | null | resources/views/clients/create.blade.php | melissa2527/Vet-clinic-laravel | 83bbb8c9405b444f3e01170142510df636e60de3 | [
"MIT"
] | null | null | null | <h1>Insert a new client</h1>
<form action="{{ action('ClientController@store') }}" method="post">
@csrf
<p>
<label for="first_name">First name:</label>
<input id="first_name" type="text" name="first_name"/>
</p>
<p>
<label for="surname">Surname:</label>
<input id="surnam... | 25.266667 | 68 | 0.538259 |
e2449f183a7585bac2620475610133958a1c2a8f | 2,025 | py | Python | math.py | ash98765rblx/math | fc64611ae90f230a8e299a69f915ebc22692ccb4 | [
"Unlicense"
] | 1 | 2021-11-14T16:46:06.000Z | 2021-11-14T16:46:06.000Z | math.py | ash98765rblx/math | fc64611ae90f230a8e299a69f915ebc22692ccb4 | [
"Unlicense"
] | null | null | null | math.py | ash98765rblx/math | fc64611ae90f230a8e299a69f915ebc22692ccb4 | [
"Unlicense"
] | null | null | null | # generate random integer values
from random import seed
from random import randint
skaViRakna = input("hello there will you learn math?")
if skaViRakna == "yes":
print('yes so fun')
whatmath = input("will you learn addition, subtraction or multiplication?")
if whatmath == 'm':
mTable = input("wha... | 34.913793 | 79 | 0.475062 |
bf41f1b84942b17552bcedb7450679b8eb52b061 | 114 | rs | Rust | src/sub_commands/mod.rs | rajputrajat/svn-cmd | 5823a5463d04f7f7f0ef849ef0ec2f89cc710723 | [
"MIT"
] | null | null | null | src/sub_commands/mod.rs | rajputrajat/svn-cmd | 5823a5463d04f7f7f0ef849ef0ec2f89cc710723 | [
"MIT"
] | null | null | null | src/sub_commands/mod.rs | rajputrajat/svn-cmd | 5823a5463d04f7f7f0ef849ef0ec2f89cc710723 | [
"MIT"
] | null | null | null | pub(crate) mod info;
pub(crate) mod list;
pub(crate) mod log;
pub(crate) mod status;
pub(crate) mod version;
| 19 | 24 | 0.692982 |
ef5b449b7ac3d5fa8a1d3c594f8f4b2b060de0c3 | 215 | h | C | src/res/gen/layouts_base.h | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | null | null | null | src/res/gen/layouts_base.h | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | null | null | null | src/res/gen/layouts_base.h | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | null | null | null | #pragma once
#include <slib/ui/resource.h>
namespace slib
{
namespace ui
{
class CameraControlView;
class MenuPopup;
class MobileAlertDialog;
class PromptDialog;
class TakePhotoFromCameraDialog;
}
}
| 12.647059 | 34 | 0.748837 |
b241eb74e6843034425d50b4180712578d713c8f | 14,401 | rb | Ruby | spec/spec_helper.rb | hashsdn/hashsdn-integration-packaging-puppet-opendaylight | 2e3b774d71e943f30205cb168803e405bc1c7a7e | [
"BSD-2-Clause"
] | null | null | null | spec/spec_helper.rb | hashsdn/hashsdn-integration-packaging-puppet-opendaylight | 2e3b774d71e943f30205cb168803e405bc1c7a7e | [
"BSD-2-Clause"
] | null | null | null | spec/spec_helper.rb | hashsdn/hashsdn-integration-packaging-puppet-opendaylight | 2e3b774d71e943f30205cb168803e405bc1c7a7e | [
"BSD-2-Clause"
] | null | null | null | require 'puppetlabs_spec_helper/module_spec_helper'
require 'rspec-puppet-facts'
include RspecPuppetFacts
# Customize filters to ignore 3rd-party code
# If the rspec coverage report shows not-our-code results, add it here
custom_filters = [
]
RSpec::Puppet::Coverage.filters.push(*custom_filters)
#
# NB: This is a lib... | 36.458228 | 121 | 0.661551 |
533a7c07856c8cedd9a83e7acfc01e776afd6b69 | 311 | rb | Ruby | test/rails_embed_editor/config_test.rb | timotheeguerin/rails_embed_editor | 54974d347b60c7b7063d2fa8c2e9d80e2c7b42a3 | [
"MIT-0",
"MIT"
] | 1 | 2020-09-28T22:22:35.000Z | 2020-09-28T22:22:35.000Z | test/rails_embed_editor/config_test.rb | timotheeguerin/rails_embed_editor | 54974d347b60c7b7063d2fa8c2e9d80e2c7b42a3 | [
"MIT-0",
"MIT"
] | null | null | null | test/rails_embed_editor/config_test.rb | timotheeguerin/rails_embed_editor | 54974d347b60c7b7063d2fa8c2e9d80e2c7b42a3 | [
"MIT-0",
"MIT"
] | null | null | null | require 'test_helper'
#Tests I18nAdminUtils::Config
class ConfigTest < ActiveSupport::TestCase
test 'Load config fine with block' do
RailsEmbedEditor.config do |config|
end
end
test 'Test config function without param' do
assert RailsEmbedEditor.config == RailsEmbedEditor::Config
end
end | 22.214286 | 62 | 0.758842 |
dd6f22a08f74793e11f6cb5a5ef262ea0bf05a11 | 1,343 | java | Java | src/main/java/com/cloudburst/mp3agic/ID3v2ObseletePictureFrameData.java | CloudburstStrategy/mp3agic | 55a4ba808973080111cfd394810060f8f31f47d6 | [
"MIT"
] | null | null | null | src/main/java/com/cloudburst/mp3agic/ID3v2ObseletePictureFrameData.java | CloudburstStrategy/mp3agic | 55a4ba808973080111cfd394810060f8f31f47d6 | [
"MIT"
] | null | null | null | src/main/java/com/cloudburst/mp3agic/ID3v2ObseletePictureFrameData.java | CloudburstStrategy/mp3agic | 55a4ba808973080111cfd394810060f8f31f47d6 | [
"MIT"
] | null | null | null | package com.cloudburst.mp3agic;
import java.io.UnsupportedEncodingException;
public class ID3v2ObseletePictureFrameData extends ID3v2PictureFrameData {
public ID3v2ObseletePictureFrameData(boolean unsynchronisation) {
super(unsynchronisation);
}
public ID3v2ObseletePictureFrameData(boolean unsynchronisation, S... | 33.575 | 144 | 0.760238 |
c9707e4c8069fe5acabb961d5350ca8c8abeacea | 2,376 | ts | TypeScript | packages/gatsby/src/bootstrap/load-plugins/process-plugin.ts | 9Fork/gatsby | 1895bf1d385210a63c43be099e58b63bf6a32300 | [
"MIT"
] | 7 | 2015-05-22T19:19:39.000Z | 2015-06-15T16:56:48.000Z | packages/gatsby/src/bootstrap/load-plugins/process-plugin.ts | 9Fork/gatsby | 1895bf1d385210a63c43be099e58b63bf6a32300 | [
"MIT"
] | 6 | 2022-01-05T10:10:19.000Z | 2022-01-15T22:52:44.000Z | packages/gatsby/src/bootstrap/load-plugins/process-plugin.ts | 9Fork/gatsby | 1895bf1d385210a63c43be099e58b63bf6a32300 | [
"MIT"
] | 1 | 2020-03-21T01:17:22.000Z | 2020-03-21T01:17:22.000Z | import { IPluginInfo, PluginRef } from "./types"
import { createPluginId } from "./utils/create-id"
import { resolvePlugin } from "./resolve-plugin"
import { isString, isEmpty, set, merge } from "lodash"
export function processPlugin(plugin: PluginRef, rootDir: string): IPluginInfo {
// Respect the directory that th... | 26.10989 | 100 | 0.614057 |
a39f81a7c44faebd1da62489c9141bbec827e9b9 | 602 | java | Java | src/main/java/org/iot/dsa/dslink/dframework/DFConnectionNode.java | iot-dsa-v2/driver-framework-java-v2-prototype | 1838b697ca340022add1ab02543ddf8c38c6254c | [
"Apache-2.0"
] | null | null | null | src/main/java/org/iot/dsa/dslink/dframework/DFConnectionNode.java | iot-dsa-v2/driver-framework-java-v2-prototype | 1838b697ca340022add1ab02543ddf8c38c6254c | [
"Apache-2.0"
] | null | null | null | src/main/java/org/iot/dsa/dslink/dframework/DFConnectionNode.java | iot-dsa-v2/driver-framework-java-v2-prototype | 1838b697ca340022add1ab02543ddf8c38c6254c | [
"Apache-2.0"
] | null | null | null | package org.iot.dsa.dslink.dframework;
/**
* @author James (Juris) Puchin
* Created on 10/25/2017
*/
public abstract class DFConnectionNode extends DFBranchNode {
// public static long REFRESH_DEF = DFHelpers.DEFAULT_PING_DELAY;
// public static DFHelpers.DFConnStrat CONN_STRAT_DEF = DFHelpers.DFConnStrat.LA... | 28.666667 | 110 | 0.687708 |
9c7c212b544c2435adb85d0c3100271adcd37b9d | 831 | rs | Rust | pallets/deip/src/asset.rs | StasDachinsky/deip-node | f7109e002cb1f0724d59784947e9f39c4a879f3a | [
"Unlicense"
] | null | null | null | pallets/deip/src/asset.rs | StasDachinsky/deip-node | f7109e002cb1f0724d59784947e9f39c4a879f3a | [
"Unlicense"
] | null | null | null | pallets/deip/src/asset.rs | StasDachinsky/deip-node | f7109e002cb1f0724d59784947e9f39c4a879f3a | [
"Unlicense"
] | null | null | null | use crate::*;
use sp_runtime::traits::AtLeast32BitUnsigned;
use deip_serializable_u128::SerializableAtLeast32BitUnsigned;
#[derive(Encode, Decode, Clone, RuntimeDebug, PartialEq, Eq, TypeInfo)]
#[cfg_attr(feature = "std", derive(Serialize, Deserialize))]
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))]
p... | 30.777778 | 88 | 0.702768 |
608e1af820e17728d95b07e9c0860ebc3b07b85a | 2,551 | html | HTML | _includes/profile.html | dieudtq/dieudtq.github.io | 49fccaacfeb918113aec0f06649f3e258070902a | [
"MIT"
] | 1 | 2018-12-09T16:03:17.000Z | 2018-12-09T16:03:17.000Z | _includes/profile.html | dieudtq/dieudtq.github.io | 49fccaacfeb918113aec0f06649f3e258070902a | [
"MIT"
] | null | null | null | _includes/profile.html | dieudtq/dieudtq.github.io | 49fccaacfeb918113aec0f06649f3e258070902a | [
"MIT"
] | null | null | null | <!-- profile -->
<div id="profile" class="content_2">
<!-- .title -->
<h1 class="h-bloc">Profile - About Me</h1>
<div class="row top-p">
<div class="col-md-6 profile-l">
<!--About me-->
<div class="title_content">
<div class="text_content">DieuDTQ</div>
<div class="c... | 28.662921 | 116 | 0.460996 |
4f2b5204a9ba2a1600d7be031ea43df8fc58fb16 | 379 | sql | SQL | db/tables/tbl_locations.sql | DaveBathnes/Plymouth-3D | 54be0cf1a0d8ca4acabe5400b9496d12c499f4c1 | [
"MIT"
] | null | null | null | db/tables/tbl_locations.sql | DaveBathnes/Plymouth-3D | 54be0cf1a0d8ca4acabe5400b9496d12c499f4c1 | [
"MIT"
] | null | null | null | db/tables/tbl_locations.sql | DaveBathnes/Plymouth-3D | 54be0cf1a0d8ca4acabe5400b9496d12c499f4c1 | [
"MIT"
] | null | null | null | create table locations (
id serial not null,
location_name text not null,
address_1 text,
address_2 text,
address_3 text,
postcode text,
latitude numeric,
longitude numeric,
website_url text,
photo_url text,
constraint pk_locations_id primary key (id)
);
--
select AddGeomet... | 23.6875 | 75 | 0.680739 |
447830e44cd038be4e10ff9dba646d19ce0c5e6e | 1,821 | py | Python | src/main.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | src/main.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | src/main.py | hyu1834/Static-Variable-Scope-Analyzer-for-Python-Programming-Language | 7cf4da67caec0f88b77bbaf3eed4065e255497bf | [
"Apache-2.0"
] | null | null | null | # Author: Hiu Hong Yu && Ming-Hung Lu
# University of California, Davis
# Winter 2017 - ECS 240 - Zhendong Su
#Standard Libraries
import sys
import os
#3rd Party Libraries
#Local Libraries
import io_utils
import dirent_utils
import variable_table
import undeclared_local_variable_checker
import overriding_declared_va... | 29.370968 | 97 | 0.803954 |
1a6db479325688ca4ac62688a2b2989305ae6c1d | 5,837 | py | Python | tests/test_utils.py | sumanthratna/PathFlowAI | 70324e78da7ad9452789478b9be7cc76515ea3ab | [
"MIT"
] | null | null | null | tests/test_utils.py | sumanthratna/PathFlowAI | 70324e78da7ad9452789478b9be7cc76515ea3ab | [
"MIT"
] | null | null | null | tests/test_utils.py | sumanthratna/PathFlowAI | 70324e78da7ad9452789478b9be7cc76515ea3ab | [
"MIT"
] | null | null | null | from pathflowai import utils
from numpy.testing import assert_array_equal, assert_allclose
def test_svs2dask_array():
from .utils import download_svs
from PIL import Image
from numpy import array as to_npa
# from os import remove
id = "2e4f6316-588b-4629-adf0-7aeac358a0e2"
file = "TCGA-MR-A5... | 29.331658 | 77 | 0.556108 |
85441a2d5dc08386298cd730e78eb6acd3f75b03 | 615 | dart | Dart | lib/src/widget_djs/auto/interval_dj.dart | ARK4579/dj_fj | 8463d2b2095da94bda8117f0988e0fe189ca630a | [
"BSD-3-Clause"
] | null | null | null | lib/src/widget_djs/auto/interval_dj.dart | ARK4579/dj_fj | 8463d2b2095da94bda8117f0988e0fe189ca630a | [
"BSD-3-Clause"
] | null | null | null | lib/src/widget_djs/auto/interval_dj.dart | ARK4579/dj_fj | 8463d2b2095da94bda8117f0988e0fe189ca630a | [
"BSD-3-Clause"
] | null | null | null | import 'package:dj/dj.dart';
import 'package:json_annotation/json_annotation.dart';
part 'interval_dj.g.dart';
@JsonSerializable()
class IntervalDj extends BaseWidgetDj {
IntervalDj({
baseWidgetDjType = 'Interval',
}) : super(
baseWidgetDjType:baseWidgetDjType,
);
@override
List<String> toCode() { var codeLines = ... | 23.653846 | 117 | 0.739837 |
d68f06115e879b49fb7d1ac4f23c672f74cbf161 | 779 | cs | C# | SecurionPayTests/ModelBuilders/TokenRequestBuilder.cs | securionpay/securionpay-net | fa8f258ceafe7341b614475ba3a33107550950c2 | [
"MIT"
] | 3 | 2018-04-19T15:59:52.000Z | 2020-09-01T12:24:51.000Z | SecurionPayTests/ModelBuilders/TokenRequestBuilder.cs | securionpay/securionpay-net | fa8f258ceafe7341b614475ba3a33107550950c2 | [
"MIT"
] | 6 | 2016-02-04T17:24:14.000Z | 2020-01-08T08:47:46.000Z | SecurionPayTests/ModelBuilders/TokenRequestBuilder.cs | securionpay/securionpay-net | fa8f258ceafe7341b614475ba3a33107550950c2 | [
"MIT"
] | 6 | 2016-03-19T10:46:40.000Z | 2022-01-07T14:37:45.000Z | using SecurionPay.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecurionPayTests.ModelBuilders
{
public class TokenRequestBuilder : IBuilder<TokenRequest>
{
private string _cardNumber = "4242424242424242";
... | 24.34375 | 61 | 0.578947 |
c9a744d521a2a164999493373907c0b3f165417e | 58 | ts | TypeScript | src/boosao/shared/itinerary.ts | marcos-correa/fumt-api | d9575dc1e2d63bf4c7527fd28bcebd9a9a924801 | [
"MIT"
] | null | null | null | src/boosao/shared/itinerary.ts | marcos-correa/fumt-api | d9575dc1e2d63bf4c7527fd28bcebd9a9a924801 | [
"MIT"
] | null | null | null | src/boosao/shared/itinerary.ts | marcos-correa/fumt-api | d9575dc1e2d63bf4c7527fd28bcebd9a9a924801 | [
"MIT"
] | null | null | null | export class Itinerary {
lat: String ;
lng: String ;
} | 14.5 | 24 | 0.655172 |
14aa5ac9cb90d0f21dccabf319ca4aad36f570a0 | 643 | ts | TypeScript | lib/dist/states/selectionState.d.ts | lokhmakov/react-easy-diagram | 0fd8ea1fd26fdbd6b734bf444fc692f913a05fef | [
"MIT"
] | null | null | null | lib/dist/states/selectionState.d.ts | lokhmakov/react-easy-diagram | 0fd8ea1fd26fdbd6b734bf444fc692f913a05fef | [
"MIT"
] | null | null | null | lib/dist/states/selectionState.d.ts | lokhmakov/react-easy-diagram | 0fd8ea1fd26fdbd6b734bf444fc692f913a05fef | [
"MIT"
] | null | null | null | import { LinkState } from "./linkState";
import { NodeState } from "./nodeState";
export declare class SelectionState {
private _selectedItems;
constructor();
get selectedItems(): Readonly<SelectableItem[]>;
get selectedNodes(): NodeState[];
select: (item: SelectableItem, unselectOther?: bool... | 42.866667 | 72 | 0.693624 |
b92665988c16b7378421f700650753dad55bbaec | 154 | css | CSS | src/components/App.css | Hasatori/testspector-web | b8a5da241c2a8153d454d7a6db31ce7ff43c8c92 | [
"MIT"
] | null | null | null | src/components/App.css | Hasatori/testspector-web | b8a5da241c2a8153d454d7a6db31ce7ff43c8c92 | [
"MIT"
] | null | null | null | src/components/App.css | Hasatori/testspector-web | b8a5da241c2a8153d454d7a6db31ce7ff43c8c92 | [
"MIT"
] | null | null | null | .s-alert-box {
min-width: 250px;
}
.s-alert-close::before, .s-alert-close::after {
width: 2px;
}
.app-body {
min-height: 85vh !important;
}
| 12.833333 | 47 | 0.597403 |
b7ea54c7fa7723a147130dd067003310067793cc | 747 | cs | C# | PLATFORM/Modules/CMS/VirtoCommerce.Content.Web/Models/GetPagesResult.cs | gerfen/vc-community-master | 02545d8e8e46d9f8d8c9b17ec7e2d50725567ef1 | [
"ADSL"
] | 2 | 2021-03-24T23:06:46.000Z | 2021-06-24T06:11:00.000Z | PLATFORM/Modules/CMS/VirtoCommerce.Content.Web/Models/GetPagesResult.cs | gerfen/vc-community-master | 02545d8e8e46d9f8d8c9b17ec7e2d50725567ef1 | [
"ADSL"
] | null | null | null | PLATFORM/Modules/CMS/VirtoCommerce.Content.Web/Models/GetPagesResult.cs | gerfen/vc-community-master | 02545d8e8e46d9f8d8c9b17ec7e2d50725567ef1 | [
"ADSL"
] | 1 | 2021-04-09T05:44:51.000Z | 2021-04-09T05:44:51.000Z | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web;
namespace VirtoCommerce.Content.Web.Models
{
public class GetPagesResult
{
private Collection<PageFolder> _folders;
/// <summary>
/// Collection of pages folders (by default - 'pages', '... | 29.88 | 113 | 0.709505 |
217c826de14d48458994cace4a4a8f03fdda4348 | 1,710 | js | JavaScript | src/components/AppLink/AppLink.js | AlexSandr90/clone | 0e9e9e8a3ca64e52c7d1636105d561c8cb90b56a | [
"MIT"
] | 16 | 2020-10-04T19:45:04.000Z | 2021-12-25T07:03:04.000Z | src/components/AppLink/AppLink.js | AlexSandr90/clone | 0e9e9e8a3ca64e52c7d1636105d561c8cb90b56a | [
"MIT"
] | 11 | 2020-10-04T19:56:43.000Z | 2021-11-21T15:06:41.000Z | src/components/AppLink/AppLink.js | AlexSandr90/clone | 0e9e9e8a3ca64e52c7d1636105d561c8cb90b56a | [
"MIT"
] | 5 | 2021-02-20T18:42:08.000Z | 2021-12-06T00:07:58.000Z | import { forwardRef } from 'react';
import PropTypes from 'prop-types';
import { Link as RouterLink } from 'react-router-dom';
import { Link as MuiLink } from '@material-ui/core';
/**
* Note: You can change these const to control default appearance of the AppLink component
*/
const DEFAULT_APP_LINK_COLOR = 'textSeco... | 28.032787 | 113 | 0.645614 |
c9abba1eb8702d54540408d4e0ebd17a2edb1189 | 442 | ts | TypeScript | src/app/services/api/model/login-response.ts | planetsolutions/pa-front | d2a01eff0c38bc55b2839c309cef08049467f024 | [
"Apache-2.0"
] | null | null | null | src/app/services/api/model/login-response.ts | planetsolutions/pa-front | d2a01eff0c38bc55b2839c309cef08049467f024 | [
"Apache-2.0"
] | 1 | 2020-05-05T20:44:13.000Z | 2020-05-05T20:44:13.000Z | src/app/services/api/model/login-response.ts | planetsolutions/pa-front | d2a01eff0c38bc55b2839c309cef08049467f024 | [
"Apache-2.0"
] | 1 | 2021-09-07T10:42:00.000Z | 2021-09-07T10:42:00.000Z | export class LoginResponse {
public accessToken: string;
public tokenType: string;
public refreshToken: string;
public expiresIn: string;
public scope: string;
public jti: string;
constructor(json: any) {
this.accessToken = json.access_token;
this.tokenType = json.token_type;
this.refreshToke... | 24.555556 | 43 | 0.708145 |
b664d6e0e30ab8c6e908ec032869ea9fcc4391a6 | 1,117 | html | HTML | about.html | parmandorc/portfolio | 031c800e10ca9a516a0e763ff47abcd425eb9ddb | [
"MIT"
] | null | null | null | about.html | parmandorc/portfolio | 031c800e10ca9a516a0e763ff47abcd425eb9ddb | [
"MIT"
] | null | null | null | about.html | parmandorc/portfolio | 031c800e10ca9a516a0e763ff47abcd425eb9ddb | [
"MIT"
] | null | null | null | ---
layout: skeleton
title: About
description: About Pablo Armando Rodríguez Codes
keywords: about, who i am
css: about
---
<div class="l-about">
<div class="c-cover"></div>
<article class="c-content">
<p>
I am an AI programmer with the goal of becoming an AI expert. I found my first full-time position i... | 55.85 | 435 | 0.733214 |
7ae1910b2c04c1599cbc72d5f6a3aa72bb498c20 | 2,317 | cs | C# | Src/Framework/Smart.Core.Shared/Computer/LogicalDiskMonitor.cs | SmallAnts/Smart | 32926480258cae8bd387348e47f704171bc6d593 | [
"Apache-2.0"
] | 12 | 2016-01-30T12:36:42.000Z | 2019-04-06T12:04:53.000Z | Src/Framework/Smart.Core.Shared/Computer/LogicalDiskMonitor.cs | SmallAnts/Smart | 32926480258cae8bd387348e47f704171bc6d593 | [
"Apache-2.0"
] | 1 | 2020-05-11T08:17:33.000Z | 2020-05-11T08:17:33.000Z | Src/Framework/Smart.Core.Shared/Computer/LogicalDiskMonitor.cs | SmallAnts/Smart | 32926480258cae8bd387348e47f704171bc6d593 | [
"Apache-2.0"
] | 14 | 2016-01-22T08:50:51.000Z | 2021-11-03T03:28:49.000Z | using Smart.Core.Extensions;
using System.Collections.Generic;
using System.IO;
using System.Management;
using System.Timers;
namespace Smart.Core.Computer
{
/// <summary>
///
/// </summary>
public class LogicalDiskMonitor : Monitor
{
private const long MB = 1048576; // 1024 * 1024 = 104... | 28.9625 | 86 | 0.481226 |
c32e7424d93a10ea84b3f93db0d2c8ce9d576ceb | 9,009 | css | CSS | seminar1/public/stylesheets/seminar1_blue.css | suryakiranjuthuka/PLUMDM_auto | 0057247da6692cb676d65112fe2d1a8eb75004e3 | [
"MIT"
] | null | null | null | seminar1/public/stylesheets/seminar1_blue.css | suryakiranjuthuka/PLUMDM_auto | 0057247da6692cb676d65112fe2d1a8eb75004e3 | [
"MIT"
] | null | null | null | seminar1/public/stylesheets/seminar1_blue.css | suryakiranjuthuka/PLUMDM_auto | 0057247da6692cb676d65112fe2d1a8eb75004e3 | [
"MIT"
] | null | null | null | #templateContainer {
background-color: #D5E8EF;
margin:100px 50px 0px 250px;
overflow:auto;
height:90%;
min-width:1026px;
position:relative;
}
#templateContainer1 {
background-color: #D5E8EF;
position:relative;
}
header {
width: 1000px;
margin: auto;
height: 100px;
padding-top: 30px;
}
header h1 {
color... | 23.159383 | 222 | 0.668332 |
132573df1ac15fead5d32fbdcec7743cfa4b2de7 | 1,415 | h | C | src/library/F3DOperators.h | DreamForTek/f3d | b043d83b1219058550a088db59fa0164db9619ed | [
"BSD-3-Clause"
] | null | null | null | src/library/F3DOperators.h | DreamForTek/f3d | b043d83b1219058550a088db59fa0164db9619ed | [
"BSD-3-Clause"
] | null | null | null | src/library/F3DOperators.h | DreamForTek/f3d | b043d83b1219058550a088db59fa0164db9619ed | [
"BSD-3-Clause"
] | null | null | null | #ifndef F3DOperators_h
#define F3DOperators_h
#include <algorithm>
#include <iterator>
#include <locale>
#include <sstream>
#include <vector>
//----------------------------------------------------------------------------
// Make the istream_iterator works with comma
// Uses std coding style for consistency
class comm... | 28.3 | 94 | 0.590106 |
2a56d45f7af9c8cd6ff326e4d625a6da81b6664c | 1,880 | swift | Swift | Pokedex/Presentation/Home/ViewModel/HomeViewModel.swift | william-james-pj/Pokedex-iOS | 8fd85d4469af631a1bdefa31f3e3e24aae5b296e | [
"MIT"
] | null | null | null | Pokedex/Presentation/Home/ViewModel/HomeViewModel.swift | william-james-pj/Pokedex-iOS | 8fd85d4469af631a1bdefa31f3e3e24aae5b296e | [
"MIT"
] | null | null | null | Pokedex/Presentation/Home/ViewModel/HomeViewModel.swift | william-james-pj/Pokedex-iOS | 8fd85d4469af631a1bdefa31f3e3e24aae5b296e | [
"MIT"
] | null | null | null | //
// HomeViewModel.swift
// Pokedex
//
// Created by Pinto Junior, William James on 11/03/22.
//
import Foundation
protocol HomeViewModelDelegate {
func collectionDataReload()
}
class HomeViewModel {
fileprivate var pokedexManager = PokedexManager()
fileprivate var pokemonManager = PokemonManager()
... | 26.111111 | 88 | 0.625 |
7df59b7ebaa8ff6a28653b65567ae955d3cee97b | 418 | css | CSS | templates/src/pages/Home/styles.css | JesuHrz/react-express-app | acc900ee38571bc9b0e3b324496171b33bcb6223 | [
"MIT"
] | null | null | null | templates/src/pages/Home/styles.css | JesuHrz/react-express-app | acc900ee38571bc9b0e3b324496171b33bcb6223 | [
"MIT"
] | 1 | 2020-07-19T00:10:28.000Z | 2020-07-19T00:10:28.000Z | templates/src/pages/Home/styles.css | JesuHrz/react-express-app | acc900ee38571bc9b0e3b324496171b33bcb6223 | [
"MIT"
] | 1 | 2021-02-15T16:15:10.000Z | 2021-02-15T16:15:10.000Z | .home {
display: flex;
align-items: center;
flex-wrap: wrap;
flex-direction: column;
min-height: 100vh;
}
.home .title {
margin-top: 140px;
flex-basis: 100%;
font-size: 60px;
color: white;
text-align: center;
}
.home .quote {
color: white;
text-align: center;
margin-top: 20px;
}
.quote span ... | 13.483871 | 27 | 0.610048 |
79c8cb8b23915db710089f9761fec4d5010d98be | 1,770 | php | PHP | tests/Api/CvControllerTest.php | maxflex/yweb | 8ab0eccc7cdec282995f564f5579c5f5cae64b3b | [
"MIT"
] | null | null | null | tests/Api/CvControllerTest.php | maxflex/yweb | 8ab0eccc7cdec282995f564f5579c5f5cae64b3b | [
"MIT"
] | null | null | null | tests/Api/CvControllerTest.php | maxflex/yweb | 8ab0eccc7cdec282995f564f5579c5f5cae64b3b | [
"MIT"
] | null | null | null | <?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use App\Http\Controllers\Api\CvController;
class CvControllerTest extends TestCase
{
use DatabaseTransactions;
const PHONE_NUMBER = '+7 (920... | 36.875 | 136 | 0.636158 |
49b423129b8d9c30ecdc4f76434f15044eadae2d | 502 | sql | SQL | resources/db/patches/mysql/0125~releases.sql | sy3kic/nZEDb | 3526cf417a37ed78e0c9effc762e0bfd4e350732 | [
"W3C",
"MIT"
] | 472 | 2015-01-05T07:43:17.000Z | 2022-03-13T22:48:31.000Z | resources/db/patches/mysql/0125~releases.sql | DemetryRomanowski/Newzflash | 0c0e6bfcf93d9206fd750644b4e1555232418e9d | [
"W3C",
"MIT"
] | 804 | 2015-01-01T01:06:01.000Z | 2021-12-05T06:17:37.000Z | resources/db/patches/mysql/0125~releases.sql | DemetryRomanowski/Newzflash | 0c0e6bfcf93d9206fd750644b4e1555232418e9d | [
"W3C",
"MIT"
] | 228 | 2015-01-21T19:34:38.000Z | 2022-02-16T22:04:49.000Z | DROP TRIGGER check_insert;
DROP TRIGGER check_update;
CREATE TRIGGER check_insert BEFORE INSERT ON releases FOR EACH ROW BEGIN IF NEW.searchname REGEXP '[a-fA-F0-9]{32}' OR NEW.name REGEXP '[a-fA-F0-9]{32}' THEN SET NEW.hashed = true; END IF; END;
CREATE TRIGGER check_update BEFORE UPDATE ON releases FOR EACH ROW BEGI... | 62.75 | 193 | 0.739044 |
5e51d0b2a194b42f903aa50a8299eeb00e76d593 | 152 | rb | Ruby | clock.rb | BaasApp/api | 0917910a7f98e088794f43f21e23ea3fb821ba89 | [
"Apache-2.0"
] | null | null | null | clock.rb | BaasApp/api | 0917910a7f98e088794f43f21e23ea3fb821ba89 | [
"Apache-2.0"
] | null | null | null | clock.rb | BaasApp/api | 0917910a7f98e088794f43f21e23ea3fb821ba89 | [
"Apache-2.0"
] | null | null | null | require './config/boot'
require './config/environment'
module Clockwork
every(1.minute, 'beer_tenders.load_updates') { BeerTender.load_updates }
end
| 21.714286 | 74 | 0.769737 |
2c5b1710a69a03477994387544a563ef0c27aa85 | 1,849 | py | Python | garecovery/bitcoin_config.py | LeoComandini/garecovery | 66f7fe4c15b3866e751162fd990bd5bc8c58ec7a | [
"MIT"
] | 61 | 2017-08-30T13:16:42.000Z | 2022-03-24T16:28:18.000Z | garecovery/bitcoin_config.py | LeoComandini/garecovery | 66f7fe4c15b3866e751162fd990bd5bc8c58ec7a | [
"MIT"
] | 34 | 2017-08-11T16:58:16.000Z | 2022-02-18T09:00:23.000Z | garecovery/bitcoin_config.py | LeoComandini/garecovery | 66f7fe4c15b3866e751162fd990bd5bc8c58ec7a | [
"MIT"
] | 46 | 2017-08-09T18:11:55.000Z | 2022-03-04T05:30:54.000Z | import io
import os
import logging
import configparser
DEFAULT_CONFIG_FILENAME = {
False: "~/.bitcoin/bitcoin.conf",
True: "~/.elements/elements.conf",
}
DUMMY_SECTION = 'X'
class Config:
"""Parse bitcoin configuration file"""
def __init__(self, config_filename=None, is_liquid=False):
if co... | 36.254902 | 90 | 0.596539 |
144dc69d32e849083ae10b1346c18c7111dcd9f3 | 221 | ts | TypeScript | src/is/email.ts | imisou/ufin-tools | 10ca57f38d17fb5b21bb6ce0f93e850dafe80aa4 | [
"MIT"
] | null | null | null | src/is/email.ts | imisou/ufin-tools | 10ca57f38d17fb5b21bb6ce0f93e850dafe80aa4 | [
"MIT"
] | null | null | null | src/is/email.ts | imisou/ufin-tools | 10ca57f38d17fb5b21bb6ce0f93e850dafe80aa4 | [
"MIT"
] | null | null | null | import { EmailRegexp } from '../regexp';
/**
* 邮箱格式校验(非严格校验)
*
* @param {String} str 检测的值
* @returns { boolean } 返回true|false
*/
export const isEmail = (val: string): boolean => {
return EmailRegexp.test(val);
};
| 18.416667 | 50 | 0.628959 |
b334c7e194d68ee212ba86fea643181e81f4009f | 87 | py | Python | molecool/io/__init__.py | aatishpr/molecool | 73a52479b41ae2847b32707b2c32ca4e23ca83c4 | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | aatishpr/molecool | 73a52479b41ae2847b32707b2c32ca4e23ca83c4 | [
"BSD-3-Clause"
] | null | null | null | molecool/io/__init__.py | aatishpr/molecool | 73a52479b41ae2847b32707b2c32ca4e23ca83c4 | [
"BSD-3-Clause"
] | null | null | null | """
IO sub-package
"""
from .pdb import open_pdb
from .xyz import open_xyz, write_xyz
| 12.428571 | 36 | 0.724138 |
dda1168991de33bf09bbcb0f1f794e3a24496f72 | 482 | java | Java | src/main/java/com/data/tools/udf/rbBitmap/XOrCardinalityUDF.java | hqren/bitmap-hive-udf | 3a55d5d1bbf6ee6ee4f4c7924ed2fdbf55d8e1d3 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/data/tools/udf/rbBitmap/XOrCardinalityUDF.java | hqren/bitmap-hive-udf | 3a55d5d1bbf6ee6ee4f4c7924ed2fdbf55d8e1d3 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/data/tools/udf/rbBitmap/XOrCardinalityUDF.java | hqren/bitmap-hive-udf | 3a55d5d1bbf6ee6ee4f4c7924ed2fdbf55d8e1d3 | [
"Apache-2.0"
] | null | null | null | package com.data.tools.udf.rbBitmap;
import com.data.tools.util.RoaringBitmapUtils;
import org.apache.hadoop.hive.ql.exec.UDF;
/**
* hive
* add jar /opt/jobs/bitmap-hive-udf.jar;
* create temporary function rb_xor_cardinality as 'com.data.tools.udf.rbBitmap.XOrCardinalityUDF';
*/
public class XOrCardinalityUDF ex... | 30.125 | 99 | 0.757261 |
dda7ae76cae7a321e0b0496810628761ef9814d2 | 8,888 | java | Java | modules/ml/src/main/java/org/apache/ignite/ml/dataset/impl/cache/CacheBasedDatasetBuilder.java | ArtsiomPanko/ignite | a345691830470b867fe318f6fa832105f6461458 | [
"Apache-2.0"
] | 5 | 2019-12-16T02:59:36.000Z | 2021-12-20T03:25:06.000Z | modules/ml/src/main/java/org/apache/ignite/ml/dataset/impl/cache/CacheBasedDatasetBuilder.java | ArtsiomPanko/ignite | a345691830470b867fe318f6fa832105f6461458 | [
"Apache-2.0"
] | 24 | 2020-11-16T20:42:57.000Z | 2022-02-01T01:07:16.000Z | modules/ml/src/main/java/org/apache/ignite/ml/dataset/impl/cache/CacheBasedDatasetBuilder.java | ArtsiomPanko/ignite | a345691830470b867fe318f6fa832105f6461458 | [
"Apache-2.0"
] | 3 | 2020-08-18T03:57:25.000Z | 2021-12-20T03:40:47.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"); you may ... | 42.32381 | 191 | 0.713771 |
2fa94d5ebd80847fa1aca632c4301c82c654431a | 726 | py | Python | tests/test_fetch.py | simonwoerpel/runpandarun | 6ea5f4c7fdda92775ed87c8930442a605d005551 | [
"MIT"
] | 3 | 2020-03-28T14:51:49.000Z | 2020-04-02T10:53:15.000Z | tests/test_fetch.py | simonwoerpel/simple-datastore | 6ea5f4c7fdda92775ed87c8930442a605d005551 | [
"MIT"
] | null | null | null | tests/test_fetch.py | simonwoerpel/simple-datastore | 6ea5f4c7fdda92775ed87c8930442a605d005551 | [
"MIT"
] | null | null | null | import unittest
from runpandarun import Datastore
class Test(unittest.TestCase):
# base fetching logic see `tests.test_datastore`
def setUp(self):
self.store = Datastore('./example/config.yml')
self.dataset = self.store.datasets[0]
def test_dedup_update_by_hash(self):
ds = self... | 26.888889 | 92 | 0.65978 |
54bbee26c6f21bfc4ff5f4729bb9eae549893fcb | 1,369 | swift | Swift | DarkEggKit/Classes/SideMenu/DZSideMenuMask.swift | darkzero/DarkEggKit | 78ab7e9bbbaa5c4c3320082142135e6e7c6e0c19 | [
"MIT"
] | 1 | 2020-11-07T18:05:15.000Z | 2020-11-07T18:05:15.000Z | DarkEggKit/Classes/SideMenu/DZSideMenuMask.swift | darkzero/DarkEggKit | 78ab7e9bbbaa5c4c3320082142135e6e7c6e0c19 | [
"MIT"
] | 37 | 2019-04-21T10:01:06.000Z | 2021-12-01T12:40:22.000Z | DarkEggKit/Classes/SideMenu/DZSideMenuMask.swift | darkzero/DarkEggKit | 78ab7e9bbbaa5c4c3320082142135e6e7c6e0c19 | [
"MIT"
] | null | null | null | //
// DZSideMenuMask.swift
// DarkEggKit/SideMenu
//
// Created by darkzero on 2019/02/03.
// Copyright © 2019 darkzero. All rights reserved.
//
import UIKit
class DZSideMenuMask: UIView {
static let shared: DZSideMenuMask = {DZSideMenuMask(frame: CGRect.zero)}()
required init?(coder aDecoder: NSCode... | 26.843137 | 93 | 0.636231 |