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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33cbf4e2c0db72a903a189f13a61663c02506fc1 | 625 | h | C | src/innTest/innTest.h | turesnake/tprPixelGames | 6b5471a072a1a8b423834ab04ff03e64df215d5e | [
"BSD-3-Clause"
] | 591 | 2020-03-12T05:10:33.000Z | 2022-03-30T13:41:59.000Z | src/innTest/innTest.h | turesnake/tprPixelGames | 6b5471a072a1a8b423834ab04ff03e64df215d5e | [
"BSD-3-Clause"
] | 4 | 2020-04-06T01:55:06.000Z | 2020-05-02T04:28:04.000Z | src/innTest/innTest.h | turesnake/tprPixelGames | 6b5471a072a1a8b423834ab04ff03e64df215d5e | [
"BSD-3-Clause"
] | 112 | 2020-04-05T23:55:36.000Z | 2022-03-17T11:58:02.000Z | /*
* ======================== innTest.h ==========================
* -- tpr --
* CREATE -- 2020.01.01
* MODIFY --
* ----------------------------------------------------------
*/
#ifndef TPR_INN_TEST_H
#define T... | 25 | 67 | 0.3472 |
0de9c04579fa5e00a01a76f31e4b53383794f19d | 4,422 | cs | C# | Gu.Analyzers/Analyzers/DocsAnalyzer.cs | JohanLarsson/Gu.Analyzers | 5a91b66a5aab619a3d0780c86a2e2572944d75ff | [
"MIT"
] | 6 | 2016-12-23T19:01:14.000Z | 2017-10-23T03:06:56.000Z | Gu.Analyzers/Analyzers/DocsAnalyzer.cs | JohanLarsson/Gu.Analyzers | 5a91b66a5aab619a3d0780c86a2e2572944d75ff | [
"MIT"
] | 112 | 2016-11-10T15:27:56.000Z | 2018-02-28T14:52:06.000Z | Gu.Analyzers/Analyzers/DocsAnalyzer.cs | JohanLarsson/Gu.Analyzers | 5a91b66a5aab619a3d0780c86a2e2572944d75ff | [
"MIT"
] | 8 | 2016-12-10T19:50:28.000Z | 2018-02-28T10:27:17.000Z | namespace Gu.Analyzers;
using System.Collections.Immutable;
using Gu.Roslyn.AnalyzerExtensions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class DocsAnalyz... | 34.015385 | 133 | 0.53166 |
79aa5db21c08c0efd9ec7b0246f999ecabe92ba1 | 1,607 | cpp | C++ | topics/string/attribute_parser.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | 1 | 2019-09-10T17:45:58.000Z | 2019-09-10T17:45:58.000Z | topics/string/attribute_parser.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | null | null | null | topics/string/attribute_parser.cpp | sandeepjindal/algos | e649c82bfb6b986c8462b09d28e07c2069e48792 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <utility>
#include <vector>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <map>
using namespace std;
vector<string> splitter(string str,char delim){
vector<string> out;
std::stringstream ss(str);
std::string s;
while (st... | 24.723077 | 78 | 0.506534 |
05bb35c1f2b39a8e71ee6a48acc0e40a68458f7d | 4,514 | py | Python | python/ConcaveHull.py | Pratool/homography | c9daeaa3364b7c658b39c225952288dd828c332e | [
"MIT"
] | 1 | 2019-08-12T17:38:22.000Z | 2019-08-12T17:38:22.000Z | python/ConcaveHull.py | Pratool/homography | c9daeaa3364b7c658b39c225952288dd828c332e | [
"MIT"
] | 1 | 2020-03-03T15:43:38.000Z | 2020-03-04T03:22:47.000Z | python/ConcaveHull.py | Pratool/homography | c9daeaa3364b7c658b39c225952288dd828c332e | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Implementation(s) of Concave Hull algorithm(s).
"""
import json
import math
import sys
import unittest
from matplotlib import pyplot as plt
from Polygon import *
def main(set_file):
with open(set_file, 'r') as f:
concave_set = json.load(f)
concave_se... | 28.935897 | 92 | 0.622286 |
bfc8f2ce06b533ba99e04d0b3624654914bc91d2 | 355 | kt | Kotlin | dsl/src/main/kotlin/com/code42/jenkins/pipelinekt/dsl/step/declarative/SetBuildDescription.kt | bayesiano/pipelinekt | 422b91e28be45dcc232ca8363ae1a1db08987a9c | [
"MIT"
] | 36 | 2020-01-05T17:12:53.000Z | 2022-03-30T05:29:04.000Z | dsl/src/main/kotlin/com/code42/jenkins/pipelinekt/dsl/step/declarative/SetBuildDescription.kt | bayesiano/pipelinekt | 422b91e28be45dcc232ca8363ae1a1db08987a9c | [
"MIT"
] | 7 | 2020-01-02T15:55:43.000Z | 2021-06-13T15:27:57.000Z | dsl/src/main/kotlin/com/code42/jenkins/pipelinekt/dsl/step/declarative/SetBuildDescription.kt | bayesiano/pipelinekt | 422b91e28be45dcc232ca8363ae1a1db08987a9c | [
"MIT"
] | 22 | 2020-01-02T19:55:55.000Z | 2022-03-30T05:33:27.000Z | package com.code42.jenkins.pipelinekt.dsl.step.declarative
import com.code42.jenkins.pipelinekt.core.step.Step
import com.code42.jenkins.pipelinekt.dsl.DslContext
import com.code42.jenkins.pipelinekt.internal.step.scripted.SetBuildDescription
fun DslContext<Step>.setBuildDescription(description: String) =
add... | 39.444444 | 79 | 0.83662 |
18ad548daeec3cc605fe324770c9b0115f016a43 | 2,458 | asm | Assembly | amicable_num.asm | guynan/asmpe | 86742a309a7837b884a6396893fcb4896fa1003a | [
"MIT"
] | null | null | null | amicable_num.asm | guynan/asmpe | 86742a309a7837b884a6396893fcb4896fa1003a | [
"MIT"
] | null | null | null | amicable_num.asm | guynan/asmpe | 86742a309a7837b884a6396893fcb4896fa1003a | [
"MIT"
] | null | null | null |
; Find the sum of all of the amicable numbers below 10,000
global _start
extern printf
section .text
_start:
; To evaluate this, we use rcx as our counter, rbx as the summation
xor rcx, rcx
mov ecx, 1
xor rbx, rbx
iter_range:
cmp ecx, 10000... | 15.961039 | 79 | 0.489829 |
7f40e0fad197e44e3c71723ddfcf65b6a9cdaec0 | 691 | php | PHP | src/Tagcade/Service/Report/PerformanceReport/Display/Selector/Selectors/SelectorInterface.php | duytc/tagcade-api | 3debd22b4760c9011cc32c60e32f587ae58207dc | [
"MIT"
] | null | null | null | src/Tagcade/Service/Report/PerformanceReport/Display/Selector/Selectors/SelectorInterface.php | duytc/tagcade-api | 3debd22b4760c9011cc32c60e32f587ae58207dc | [
"MIT"
] | null | null | null | src/Tagcade/Service/Report/PerformanceReport/Display/Selector/Selectors/SelectorInterface.php | duytc/tagcade-api | 3debd22b4760c9011cc32c60e32f587ae58207dc | [
"MIT"
] | null | null | null | <?php
namespace Tagcade\Service\Report\PerformanceReport\Display\Selector\Selectors;
use DateTime;
use Tagcade\Model\Report\PerformanceReport\Display\ReportType\ReportTypeInterface;
interface SelectorInterface
{
/**
* @param ReportTypeInterface $reportType
* @param DateTime $startDate
* @param Dat... | 28.791667 | 125 | 0.732272 |
52ee13758ed0de093662ee4ba464d6b1e5fc8492 | 9,320 | rb | Ruby | db/schema.rb | mobility-lab/tumitfahrer | 8a8d904951753f049192dbc1445a419a9040c941 | [
"AAL"
] | null | null | null | db/schema.rb | mobility-lab/tumitfahrer | 8a8d904951753f049192dbc1445a419a9040c941 | [
"AAL"
] | null | null | null | db/schema.rb | mobility-lab/tumitfahrer | 8a8d904951753f049192dbc1445a419a9040c941 | [
"AAL"
] | null | null | null | # encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative sou... | 33.285714 | 161 | 0.669099 |
2fa9b452061bd72650de90b5714719b70e6e7495 | 2,930 | py | Python | raymon/tests/profiling/test_features.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | null | null | null | raymon/tests/profiling/test_features.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | null | null | null | raymon/tests/profiling/test_features.py | pbonte/raymon | 83912d7a5ff22d61289688828169a7178fa34a2d | [
"MIT"
] | null | null | null | #%%
from raymon.profiling.components import DataType
import pytest
import pandas as pd
import numpy as np
from raymon.profiling.extractors.structured import generate_components
from raymon import InputComponent
from raymon import IntStats, FloatStats, CategoricStats
from raymon import ModelProfile
from raymon.globals... | 32.197802 | 119 | 0.682253 |
7dd499e7608f560689228be989421f98eddda4c2 | 2,072 | css | CSS | public/css/admin.css | Romis192Nesmelov/beefko | 2edb6583b14ce878a3a34db11761664e23f4f14f | [
"MIT"
] | null | null | null | public/css/admin.css | Romis192Nesmelov/beefko | 2edb6583b14ce878a3a34db11761664e23f4f14f | [
"MIT"
] | null | null | null | public/css/admin.css | Romis192Nesmelov/beefko | 2edb6583b14ce878a3a34db11761664e23f4f14f | [
"MIT"
] | null | null | null | textarea {
border: 1px solid #ddd;
}
select {
padding-left: 10px !important;
}
.navigation > li.active > a,
.navigation > li.active > a:hover,
.navigation > li.active > a:focus,
.bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch-handle-off.bootstrap-switch-primary {
background-color: ... | 14.695035 | 55 | 0.615347 |
ec255cd2e256bef2457630daf91b6a9fd20a8956 | 9,457 | swift | Swift | ZhiHuDaily/ZhiHuDaily/Views/CommonViews/ScrollNumberLabel.swift | xiabob/ZhihuDaily | eafad860c01cf30e55d9a481fce42d96017a1fa7 | [
"MIT"
] | 3 | 2017-03-17T15:20:31.000Z | 2017-10-01T04:56:09.000Z | ZhiHuDaily/ZhiHuDaily/Views/CommonViews/ScrollNumberLabel.swift | xiabob/ZhihuDaily | eafad860c01cf30e55d9a481fce42d96017a1fa7 | [
"MIT"
] | null | null | null | ZhiHuDaily/ZhiHuDaily/Views/CommonViews/ScrollNumberLabel.swift | xiabob/ZhihuDaily | eafad860c01cf30e55d9a481fce42d96017a1fa7 | [
"MIT"
] | null | null | null | //
// ScrollNumberLabel.swift
// ZhiHuDaily
//
// Created by xiabob on 17/3/23.
// Copyright © 2017年 xiabob. All rights reserved.
//
import UIKit
class ScrollNumberLabel: UIView {
private(set) var number: UInt = 0
var font = UIFont.systemFont(ofSize: 14) {
didSet {
for label in numberL... | 34.264493 | 122 | 0.576821 |
25f719c3c1d1994376de7e9ea4b3cd8f63706d25 | 516 | cs | C# | PublishR.Starter.SharedApiApp/Startup.cs | clusta/publishr | 9a92c024d92156673db0bdb944eec1377bc326d8 | [
"MIT"
] | null | null | null | PublishR.Starter.SharedApiApp/Startup.cs | clusta/publishr | 9a92c024d92156673db0bdb944eec1377bc326d8 | [
"MIT"
] | null | null | null | PublishR.Starter.SharedApiApp/Startup.cs | clusta/publishr | 9a92c024d92156673db0bdb944eec1377bc326d8 | [
"MIT"
] | null | null | null | using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
using PublishR.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
[assembly: OwinStartup(typeof(PublishR.Starter.SharedApiApp.Startup))]
namespace PublishR.Starter.SharedApiApp
{
public class Startup
{
... | 23.454545 | 74 | 0.722868 |
e2eef77ba611acd1b69db21ab2d29d4fc63e2015 | 4,280 | py | Python | 07_Java_Experiment/PyTest/excelutil/utils.py | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | 4 | 2021-11-01T09:27:32.000Z | 2022-03-07T14:24:10.000Z | 07_Java_Experiment/PyTest/excelutil/utils.py | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | 07_Java_Experiment/PyTest/excelutil/utils.py | Robert-Stackflow/HUST-Courses | 300752552e7af035b0e5c7663953850c81871242 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import openpyxl
from pandas import DataFrame
# 以下的索引都是从0开始计算
sheet0_sid_excel_col_index = 1 # 学号的列索引, 相对于DataFrame,不是Excel
sheet0_sname_excel_col_index = sheet0_sid_excel_col_index + 1 # 姓名的列索引, 相对于DataFrame,不是Excel
sheet0_auto_test_excel_col_i... | 36.581197 | 204 | 0.645794 |
ccb6019154ab73d04c1be19600c236ddf3fd16b0 | 2,895 | lua | Lua | scripts/vscripts/lua_abilities/axe_battle_hunger_lua/modifier_axe_battle_hunger_lua.lua | GIANTCRAB/dota-2-lua-abilities | fb1c2a78444e50f879b1cbedf4e0060408478278 | [
"MIT"
] | 125 | 2018-03-26T21:35:49.000Z | 2022-03-31T21:01:38.000Z | scripts/vscripts/lua_abilities/axe_battle_hunger_lua/modifier_axe_battle_hunger_lua.lua | hanzhengit/dota-2-lua-abilities | c6d7b7cff8be6bc32f3580411f31c24b8c0b0eca | [
"MIT"
] | 2 | 2020-07-05T16:02:19.000Z | 2020-11-18T02:24:48.000Z | scripts/vscripts/lua_abilities/axe_battle_hunger_lua/modifier_axe_battle_hunger_lua.lua | hanzhengit/dota-2-lua-abilities | c6d7b7cff8be6bc32f3580411f31c24b8c0b0eca | [
"MIT"
] | 40 | 2019-03-02T11:17:10.000Z | 2022-03-31T05:45:26.000Z | modifier_axe_battle_hunger_lua = class({})
--------------------------------------------------------------------------------
-- Classifications
function modifier_axe_battle_hunger_lua:IsHidden()
return false
end
function modifier_axe_battle_hunger_lua:IsDebuff()
return false
end
function modifier_axe_battle_hunger_... | 26.318182 | 93 | 0.679447 |
b0bdd8302542f715c9fdd53b53ab2d4c294af373 | 300 | py | Python | 2019-08-10/08/zad8_Maria.py | SzczecinTech/zadania-rekrutacyjne | fad5d7a6ab7ae77e567610c56fbbcd4a38f8b2c2 | [
"MIT"
] | 1 | 2019-09-05T20:35:07.000Z | 2019-09-05T20:35:07.000Z | 2019-08-10/08/zad8_Maria.py | SzczecinTech/zadania-rekrutacyjne | fad5d7a6ab7ae77e567610c56fbbcd4a38f8b2c2 | [
"MIT"
] | 1 | 2020-03-20T15:27:10.000Z | 2020-03-20T15:27:10.000Z | 2019-08-10/08/zad8_Maria.py | SzczecinTech/zadania-rekrutacyjne | fad5d7a6ab7ae77e567610c56fbbcd4a38f8b2c2 | [
"MIT"
] | 10 | 2019-08-10T08:26:09.000Z | 2019-08-15T13:50:48.000Z | import re
def is_palindrome(arg):
string = str(arg)
re.compile('([^\w])')
string = re.sub('([^\w])', '', string).lower()
return reverse(string) == string
def reverse(string):
string = string[::-1]
return string
print(is_palindrome('kajak'))
print(is_palindrome('Kajak, kajak'))
| 20 | 48 | 0.63 |
3f865925541152f780832e7ddf65a3e885096fac | 469 | php | PHP | app/Models/Offer/OfferTranslation.php | The-Alternative/Back_End_E_Daliely_New | f70b1f76e73db323966b41df36080e4979a40f6d | [
"MIT"
] | null | null | null | app/Models/Offer/OfferTranslation.php | The-Alternative/Back_End_E_Daliely_New | f70b1f76e73db323966b41df36080e4979a40f6d | [
"MIT"
] | 2 | 2021-07-01T10:14:52.000Z | 2021-11-17T21:19:04.000Z | app/Models/Offer/OfferTranslation.php | The-Alternative/Back_End_E_Daliely_New | f70b1f76e73db323966b41df36080e4979a40f6d | [
"MIT"
] | 2 | 2021-06-22T09:12:32.000Z | 2021-12-26T10:33:10.000Z | <?php
namespace App\Models\Offer;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class OfferTranslation extends Model
{
use HasFactory;
protected $table='offer_translations';
protected $fillable=['id','name','short_description','long_description','locale'
... | 21.318182 | 85 | 0.697228 |
af516e0e224be9352bbd9f70f78beffb29e4ae92 | 3,177 | py | Python | twitch-eventsub/src/server.py | sp1d3rx/stream-environment | b32b8aaa926a8eed041801455cac4d969ca5f2fc | [
"MIT"
] | 7 | 2021-05-03T22:49:43.000Z | 2022-02-14T22:55:22.000Z | twitch-eventsub/src/server.py | sp1d3rx/stream-environment | b32b8aaa926a8eed041801455cac4d969ca5f2fc | [
"MIT"
] | 48 | 2021-05-02T09:24:22.000Z | 2021-12-29T21:44:43.000Z | twitch-eventsub/src/server.py | sp1d3rx/stream-environment | b32b8aaa926a8eed041801455cac4d969ca5f2fc | [
"MIT"
] | 7 | 2021-05-03T20:09:03.000Z | 2022-01-29T22:37:53.000Z | import os
import urllib
import webbrowser
import requests
from dotenv import load_dotenv
from sanic import Sanic, Request
from sanic.response import text
load_dotenv("../credentials.env")
# credential imports
CLIENT_ID = os.getenv("CLIENT_ID")
CLIENT_SECRET = os.getenv("CLIENT_SECRET")
OAUTH_TOKEN = os.getenv("OAUTH_T... | 27.626087 | 67 | 0.649984 |
1a486dfd9092760f22f143361e2fb52e067a3b17 | 1,992 | py | Python | jobs/views.py | Yuhjiang/hellofamilyclub | 4d01a41cde57023b0fd10685b67ab31d51fe1fb7 | [
"BSD-2-Clause"
] | 1 | 2020-11-06T01:55:37.000Z | 2020-11-06T01:55:37.000Z | jobs/views.py | Yuhjiang/hellofamilyclub | 4d01a41cde57023b0fd10685b67ab31d51fe1fb7 | [
"BSD-2-Clause"
] | 34 | 2020-03-13T04:49:53.000Z | 2022-03-07T06:08:35.000Z | jobs/views.py | Yuhjiang/hellofamilyclub | 4d01a41cde57023b0fd10685b67ab31d51fe1fb7 | [
"BSD-2-Clause"
] | null | null | null | import os
import sys
import django
import logging
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
profile = os.environ.get('HELLOFAMILYCLUB', 'develop')
os.environ.setdefault('DJANGO_SETTINGS_MODULE',
'hellofamilyclub.settings.{}'.format(profile))
django.setup()
from... | 34.947368 | 78 | 0.730924 |
4956a141fc7b165a434567e5779637f45366b8e9 | 2,554 | py | Python | components/google-cloud/tests/v1/bigquery/integration/test_bigquery_query_job_compile.py | votti/pipelines | 1c3e2768e6177d5d6e3f4b8eff8fafb9a3b76c1f | [
"Apache-2.0"
] | 1 | 2022-03-30T05:22:19.000Z | 2022-03-30T05:22:19.000Z | components/google-cloud/tests/v1/bigquery/integration/test_bigquery_query_job_compile.py | votti/pipelines | 1c3e2768e6177d5d6e3f4b8eff8fafb9a3b76c1f | [
"Apache-2.0"
] | 1 | 2020-02-06T12:53:44.000Z | 2020-02-06T12:53:44.000Z | components/google-cloud/tests/v1/bigquery/integration/test_bigquery_query_job_compile.py | votti/pipelines | 1c3e2768e6177d5d6e3f4b8eff8fafb9a3b76c1f | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The Kubeflow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | 37.558824 | 77 | 0.74119 |
a42b2fa06d5df018699c2dd9c2b4af31c419de1f | 695 | ps1 | PowerShell | Installer/Audit-Test-Automation/ATAPAuditor/AuditGroups/Microsoft Windows Server 2022-CIS-1.0.0#SecurityOptions.ps1 | fbprogmbh/Audit-Test-Automation- | 0371cd12b12e6088f33bb48b91c45f7e415cbca1 | [
"BSD-3-Clause"
] | null | null | null | Installer/Audit-Test-Automation/ATAPAuditor/AuditGroups/Microsoft Windows Server 2022-CIS-1.0.0#SecurityOptions.ps1 | fbprogmbh/Audit-Test-Automation- | 0371cd12b12e6088f33bb48b91c45f7e415cbca1 | [
"BSD-3-Clause"
] | null | null | null | Installer/Audit-Test-Automation/ATAPAuditor/AuditGroups/Microsoft Windows Server 2022-CIS-1.0.0#SecurityOptions.ps1 | fbprogmbh/Audit-Test-Automation- | 0371cd12b12e6088f33bb48b91c45f7e415cbca1 | [
"BSD-3-Clause"
] | null | null | null | [AuditTest] @{
Id = "2.3.1.1"
Task = "(L1) Ensure 'Accounts: Administrator account status' is set to 'Disabled' (MS only)"
Test = {
}
}
[AuditTest] @{
Id = "2.3.1.3"
Task = "(L1) Ensure 'Accounts: Guest account status' is set to 'Disabled' (MS only)"
Test = {
}
}
[AuditTest] @{
Id =... | 22.419355 | 101 | 0.552518 |
5bf426ba17e2e9121dcc0575dc06da4e66f7ea76 | 2,047 | css | CSS | style.css | Fidela-keziah/Delani-week3Ip | 52d6fdcbc136e1016cfb6634e72c4360eb8b40a3 | [
"MIT"
] | null | null | null | style.css | Fidela-keziah/Delani-week3Ip | 52d6fdcbc136e1016cfb6634e72c4360eb8b40a3 | [
"MIT"
] | null | null | null | style.css | Fidela-keziah/Delani-week3Ip | 52d6fdcbc136e1016cfb6634e72c4360eb8b40a3 | [
"MIT"
] | null | null | null | #welcome{
background-image: url(img/assets/backgrounds/h_img.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.wel{
color: white;
text-align: center;
font-family: 'Black Ops One', cursive;
padding: 25px;
}
#about{
text-align: center;
font-family: 'Abel', sans-ser... | 19.311321 | 72 | 0.604787 |
b481b01cab4645d4cd89e09648881773e0ba083b | 1,141 | rb | Ruby | spec/lib/page_tree_spec.rb | brandleadership/kuhsaft | 5ea1daebcc1facf61a067e8177ae2fcae02d488b | [
"MIT"
] | null | null | null | spec/lib/page_tree_spec.rb | brandleadership/kuhsaft | 5ea1daebcc1facf61a067e8177ae2fcae02d488b | [
"MIT"
] | null | null | null | spec/lib/page_tree_spec.rb | brandleadership/kuhsaft | 5ea1daebcc1facf61a067e8177ae2fcae02d488b | [
"MIT"
] | null | null | null | require 'spec_helper'
require_relative '../../lib/kuhsaft/page_tree'
require_relative '../../app/models/kuhsaft/page'
# TODO: THESE SPECS ONLY WORK WHEN THE FULL SUITE IS RUN. FIX THAT!
module Kuhsaft
describe PageTree do
let(:page_tree) do
{
'0' => { 'id' => '1', 'children' => { '0' => { 'id' => ... | 29.25641 | 73 | 0.60298 |
cf0b26efd691c32614d044f669deaebdc2fb80f7 | 11,586 | php | PHP | src/phpDocumentor/Command/Project/ParseCommand.php | zhangmx/phpDocumentor2 | 2a699057bc2ae5fa9b5468c6a230abd431a3d8de | [
"MIT"
] | 1 | 2016-05-24T00:53:08.000Z | 2016-05-24T00:53:08.000Z | src/phpDocumentor/Command/Project/ParseCommand.php | zhangmx/phpDocumentor2 | 2a699057bc2ae5fa9b5468c6a230abd431a3d8de | [
"MIT"
] | null | null | null | src/phpDocumentor/Command/Project/ParseCommand.php | zhangmx/phpDocumentor2 | 2a699057bc2ae5fa9b5468c6a230abd431a3d8de | [
"MIT"
] | null | null | null | <?php
/**
* phpDocumentor
*
* PHP Version 5
*
* @author Mike van Riel <mike.vanriel@naenius.com>
* @copyright 2010-2011 Mike van Riel / Naenius (http://www.naenius.com)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
namespace phpDocumentor\Command\Proje... | 34.482143 | 84 | 0.53228 |
dd5f91e2b25eaabd1eb9a0ea491033e022328d81 | 1,017 | java | Java | src/main/java/org/myrobotlab/service/meta/IpCameraMeta.java | srayner/myrobotlab | 7f43b182a0f58b27b580dd94c106679feef15c31 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/myrobotlab/service/meta/IpCameraMeta.java | srayner/myrobotlab | 7f43b182a0f58b27b580dd94c106679feef15c31 | [
"Apache-2.0"
] | null | null | null | src/main/java/org/myrobotlab/service/meta/IpCameraMeta.java | srayner/myrobotlab | 7f43b182a0f58b27b580dd94c106679feef15c31 | [
"Apache-2.0"
] | null | null | null | package org.myrobotlab.service.meta;
import org.myrobotlab.framework.Platform;
import org.myrobotlab.logging.LoggerFactory;
import org.myrobotlab.service.meta.abstracts.MetaData;
import org.slf4j.Logger;
public class IpCameraMeta extends MetaData {
private static final long serialVersionUID = 1L;
public final sta... | 31.78125 | 79 | 0.728614 |
3a7f5de58951af97d2e2133426b8773b2e1bf826 | 2,311 | swift | Swift | GuiseTests/GuiseFilterTests.swift | Prosumma/Guise | 9959b3ec6412509fc5f6e0071425484e7c747d0a | [
"MIT"
] | 53 | 2016-03-13T14:14:32.000Z | 2022-03-14T21:04:55.000Z | GuiseTests/GuiseFilterTests.swift | Prosumma/Guise | 9959b3ec6412509fc5f6e0071425484e7c747d0a | [
"MIT"
] | 2 | 2017-12-09T22:01:15.000Z | 2018-02-13T17:54:23.000Z | GuiseTests/GuiseFilterTests.swift | Prosumma/Guise | 9959b3ec6412509fc5f6e0071425484e7c747d0a | [
"MIT"
] | 4 | 2017-08-16T17:42:18.000Z | 2020-02-27T22:48:21.000Z | //
// GuiseFilterTests.swift
// Guise
//
// Created by Gregory Higley on 10/23/17.
// Copyright © 2017 Gregory Higley. All rights reserved.
//
import XCTest
@testable import Guise
class GuiseFilterTests: XCTestCase {
override func setUp() {
super.setUp()
Guise.clear()
}
func test... | 38.516667 | 168 | 0.638685 |
16c6df1d339e9c519a5536eea0872f313ac57f39 | 216 | sql | SQL | task6.sql | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | task6.sql | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | task6.sql | SimeonHristov99/SQLEveryDay | 837b070c71fd5cf76e5aab07edee77bc8bf6115e | [
"MIT"
] | null | null | null | select T.department, e2.first_name, e2.salary, T.avg
from employee e2
join (
select e.department, avg(salary) as avg
from employee e
group by e.department
) as T
on T.department = e2.department
order by T.department; | 24 | 52 | 0.773148 |
92305d94a651a27def7644c6812129436559f8af | 529 | swift | Swift | Eisenhower Todo/AddTask/Configurator/AddTaskInitializer.swift | gsabatie/EisenhowerTodoApp | 723e7ab18cb0e2978c66b3217cdb025d58de5022 | [
"MIT"
] | 2 | 2018-03-16T23:46:15.000Z | 2019-03-22T15:40:22.000Z | Eisenhower Todo/AddTask/Configurator/AddTaskInitializer.swift | gsabatie/EisenhowerTodoApp | 723e7ab18cb0e2978c66b3217cdb025d58de5022 | [
"MIT"
] | null | null | null | Eisenhower Todo/AddTask/Configurator/AddTaskInitializer.swift | gsabatie/EisenhowerTodoApp | 723e7ab18cb0e2978c66b3217cdb025d58de5022 | [
"MIT"
] | null | null | null | //
// AddTaskAddTaskInitializer.swift
// EisenhowerTodoApp
//
// Created by Guillaume Sabatie on 27/03/2018.
// Copyright © 2018 EiseinhowerAppTeam. All rights reserved.
//
import UIKit
class AddTaskModuleInitializer: NSObject {
//Connect with object on storyboard
@IBOutlet weak var addtaskViewController... | 23 | 82 | 0.750473 |
4debc93285b2a7a84a5753e882cbc847e8477e07 | 127 | lua | Lua | states/win.lua | jdeeny/awfulwinterjam2018 | 2b3990b56e55b1530e37edbada24607f55282ce8 | [
"MIT"
] | null | null | null | states/win.lua | jdeeny/awfulwinterjam2018 | 2b3990b56e55b1530e37edbada24607f55282ce8 | [
"MIT"
] | null | null | null | states/win.lua | jdeeny/awfulwinterjam2018 | 2b3990b56e55b1530e37edbada24607f55282ce8 | [
"MIT"
] | null | null | null | local win = {}
function win.enter()
state = STATE_WIN
end
function win.update(dt)
end
function win.draw()
end
return win | 8.466667 | 23 | 0.708661 |
da387ea86320e7b8f0004c8cc77eab8b8dc89da0 | 3,726 | php | PHP | inc/support/plugins/cf7/modules/class-basic.php | BicanMarianValeriu/wecodeart-framework | 8dcfabfd5f6e8f74ea506661add1a8b905464168 | [
"MIT"
] | 13 | 2019-01-02T21:13:51.000Z | 2022-03-20T23:06:33.000Z | inc/support/plugins/cf7/modules/class-basic.php | BicanMarianValeriu/wecodeart-framework | 8dcfabfd5f6e8f74ea506661add1a8b905464168 | [
"MIT"
] | 3 | 2020-03-16T11:53:00.000Z | 2022-03-20T04:39:20.000Z | inc/support/plugins/cf7/modules/class-basic.php | BicanMarianValeriu/wecodeart-framework | 8dcfabfd5f6e8f74ea506661add1a8b905464168 | [
"MIT"
] | 1 | 2019-02-19T01:38:10.000Z | 2019-02-19T01:38:10.000Z | <?php
/**
* WeCodeArt Framework.
*
* WARNING: This file is part of the core WeCodeArt Framework. DO NOT edit this file under any circumstances.
* Please do all modifications in the form of a child theme.
*
* @package WeCodeArt Framework
* @subpackage Support\CF7\Modules\Module
* @copyright Copyright (c) 202... | 30.292683 | 113 | 0.503221 |
0732cae4a134d20c731f9db17d4f589972ff38a1 | 58 | rb | Ruby | app/models/comment.rb | rprata/emeeting | 7f1fdda62f4b8fef7b08c4c8ccf0968b773dd7c5 | [
"CC0-1.0"
] | null | null | null | app/models/comment.rb | rprata/emeeting | 7f1fdda62f4b8fef7b08c4c8ccf0968b773dd7c5 | [
"CC0-1.0"
] | null | null | null | app/models/comment.rb | rprata/emeeting | 7f1fdda62f4b8fef7b08c4c8ccf0968b773dd7c5 | [
"CC0-1.0"
] | null | null | null | class Comment < ActiveRecord::Base
belongs_to :event
end
| 14.5 | 34 | 0.793103 |
2d74712cecb133b1cfb8890ee485d796212d2821 | 93 | css | CSS | test/whitespace-basic.expect.css | jake-low/postcss-minify | c9e8c5eddcd7e77210d7abd15066f655056a330e | [
"MIT"
] | 2 | 2021-09-12T11:41:05.000Z | 2021-12-24T06:32:11.000Z | test/whitespace-basic.expect.css | jake-low/postcss-minify | c9e8c5eddcd7e77210d7abd15066f655056a330e | [
"MIT"
] | null | null | null | test/whitespace-basic.expect.css | jake-low/postcss-minify | c9e8c5eddcd7e77210d7abd15066f655056a330e | [
"MIT"
] | null | null | null | body{font-family:sans-serif;font-weight:400}h1{line-height:2em}p{color:#222;font-size:small}
| 46.5 | 92 | 0.784946 |
ef174e9c40dc71ddd459c914ff26372844a6c86a | 2,383 | c | C | testpcap3.c | moooofly/libpcap_tutorial | 36484c182b8a329f1bd2a3e14777e24c1f3997f2 | [
"Apache-2.0"
] | 3 | 2018-05-10T05:55:49.000Z | 2021-11-12T13:39:09.000Z | testpcap3.c | moooofly/libpcap_tutorial | 36484c182b8a329f1bd2a3e14777e24c1f3997f2 | [
"Apache-2.0"
] | 2 | 2016-11-29T03:20:29.000Z | 2016-11-29T03:51:47.000Z | testpcap3.c | moooofly/libpcap_tutorial | 36484c182b8a329f1bd2a3e14777e24c1f3997f2 | [
"Apache-2.0"
] | 1 | 2021-11-07T22:48:57.000Z | 2021-11-07T22:48:57.000Z | /**********************************************************************
* file: testpcap3.c
* date: Sat Apr 07 23:23:02 PDT 2001
* Author: Martin Casado
* Last Modified:2001-Apr-07 11:23:05 PM
*
* Investigate using filter programs with pcap_compile() and
* pcap_setfilter()
*
**************************************... | 28.035294 | 79 | 0.542174 |
d63efb90773d1fc7aa8ad56b391c84c683416284 | 2,921 | cs | C# | Tests/Biohazrd.Tests.Common/ToolProcessFailureException.cs | PathogenPlayground/Biohazrd | 49256a4bc4ba13ab8cb65f34df031838618d877c | [
"MIT"
] | 6 | 2021-12-14T04:54:44.000Z | 2022-03-08T19:58:34.000Z | Tests/Biohazrd.Tests.Common/ToolProcessFailureException.cs | PathogenPlayground/Biohazrd | 49256a4bc4ba13ab8cb65f34df031838618d877c | [
"MIT"
] | 27 | 2021-11-29T00:34:12.000Z | 2022-03-14T21:39:08.000Z | Tests/Biohazrd.Tests.Common/ToolProcessFailureException.cs | PathogenPlayground/Biohazrd | 49256a4bc4ba13ab8cb65f34df031838618d877c | [
"MIT"
] | null | null | null | using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Text;
namespace Biohazrd.Tests.Common
{
public sealed class ToolProcessFailureException : Exception
{
public ProcessStartInfo ProcessStartInfo { get; }
private static string CreateMessage(Process proces... | 36.5125 | 155 | 0.491612 |
4d8a27df8bf47f7a16ce868a3efb18bc346ba381 | 1,132 | cs | C# | Assets/Scripts/MagnetScript.cs | reiss-josh/ExtraCredits_GameJam_6 | 85860171550990bf338737e95b3bda8d69364b35 | [
"MIT"
] | null | null | null | Assets/Scripts/MagnetScript.cs | reiss-josh/ExtraCredits_GameJam_6 | 85860171550990bf338737e95b3bda8d69364b35 | [
"MIT"
] | null | null | null | Assets/Scripts/MagnetScript.cs | reiss-josh/ExtraCredits_GameJam_6 | 85860171550990bf338737e95b3bda8d69364b35 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MagnetScript : MonoBehaviour
{
public GameObject carriedChild;
public Vector3 startPos = new Vector3(-20f, 8.5f, 0);
public float moveSpeed = 5f;
public float threshold = 0.1f;
private Rigidbody2D rb2d;
... | 25.727273 | 77 | 0.65371 |
c67eefa4bdf966a6000d15a165952626e868932a | 345 | css | CSS | angular-frontend/src/app/components/slot-and-order/slot-and-order.component.css | isi-vista/MASC | 311533238aa085792df10d38682b442966029581 | [
"MIT"
] | 1 | 2021-06-04T22:43:38.000Z | 2021-06-04T22:43:38.000Z | angular-frontend/src/app/components/slot-and-order/slot-and-order.component.css | isi-vista/MASC | 311533238aa085792df10d38682b442966029581 | [
"MIT"
] | null | null | null | angular-frontend/src/app/components/slot-and-order/slot-and-order.component.css | isi-vista/MASC | 311533238aa085792df10d38682b442966029581 | [
"MIT"
] | null | null | null | #graph {
height: 60vh;
border: 1px solid #888;
}
.full-screen {
height: 100vh;
}
.recenter {
position: relative;
top: -50px;
}
.slotting-table-body-sm {
display: block;
height: 45vh;
max-height: 45vh;
overflow-y: auto;
}
.slotting-table-body-lg {
display: block;
height: 78vh;
max-height: 78v... | 12.321429 | 25 | 0.631884 |
701a854cf1962179a5125bc40813a9e7980cab6c | 16,959 | cpp | C++ | hackathon/shengdian/MorphoHub_Release/GUI/morphohub_gui.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | hackathon/shengdian/MorphoHub_Release/GUI/morphohub_gui.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | hackathon/shengdian/MorphoHub_Release/GUI/morphohub_gui.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "morphohub_gui.h"
morphoHub_GUI::morphoHub_GUI(V3DPluginCallback2 &callback,QWidget *parent) :
QMainWindow(parent)
{
this->mainparent=parent;
morphoHubcallback=&callback;
setWindowTitle(tr("MorphoHub-GUI"));
morphoHub_Init();
createActions();
createStatusBar();
createToolBar();
... | 40.57177 | 154 | 0.663777 |
df8c1c61a707bdfd1ed88018196407e764186398 | 70 | sh | Shell | intTests/test0036_global/test.sh | khotitekofe/saw-script | 4f40375c493a650451f9c5db53068bd4d7fe8f34 | [
"BSD-3-Clause"
] | 1 | 2021-06-14T11:09:13.000Z | 2021-06-14T11:09:13.000Z | intTests/test0036_global/test.sh | khotitekofe/saw-script | 4f40375c493a650451f9c5db53068bd4d7fe8f34 | [
"BSD-3-Clause"
] | null | null | null | intTests/test0036_global/test.sh | khotitekofe/saw-script | 4f40375c493a650451f9c5db53068bd4d7fe8f34 | [
"BSD-3-Clause"
] | null | null | null | set -e
$SAW test.saw
# These tests should fail
! $SAW test-fail.saw
| 10 | 25 | 0.685714 |
e8fd482e02b503e8a9ea4b53f002d5067bd451c3 | 1,545 | go | Go | search.go | dogancelik/wallhaven-go | 452e2bb716a4537fe7120bbe3ba26dcaf3eb5bf8 | [
"MIT"
] | null | null | null | search.go | dogancelik/wallhaven-go | 452e2bb716a4537fe7120bbe3ba26dcaf3eb5bf8 | [
"MIT"
] | null | null | null | search.go | dogancelik/wallhaven-go | 452e2bb716a4537fe7120bbe3ba26dcaf3eb5bf8 | [
"MIT"
] | null | null | null | package wallhaven
import (
"net/url"
"strconv"
"strings"
"github.com/PuerkitoBio/goquery"
)
const searchUrl string = "https://alpha.wallhaven.cc/search"
const imageUrl string = "https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-"
type Result struct {
Id int
Resolution string
Favorites ... | 24.52381 | 84 | 0.645955 |
296d3a1ff65337ca9bd2fa7783423e339ef1afa2 | 615 | rs | Rust | althea_kernel_interface/src/ping_check.rs | darkdrgn2k/althea_rs | a331a1b73339f770c1d2baa1c1e75e825493ed8f | [
"Apache-2.0"
] | null | null | null | althea_kernel_interface/src/ping_check.rs | darkdrgn2k/althea_rs | a331a1b73339f770c1d2baa1c1e75e825493ed8f | [
"Apache-2.0"
] | null | null | null | althea_kernel_interface/src/ping_check.rs | darkdrgn2k/althea_rs | a331a1b73339f770c1d2baa1c1e75e825493ed8f | [
"Apache-2.0"
] | null | null | null | use super::KernelInterface;
use failure::Error;
use std::net::IpAddr;
impl dyn KernelInterface {
//Pings a ipv6 address to determine if it's online
pub fn ping_check_v6(&self, ip: &IpAddr) -> Result<bool, Error> {
let result = self.run_command("ping6", &["-w1", "-W1", "-c1", &ip.to_string()]);
... | 36.176471 | 88 | 0.611382 |
df63606be25aa9efa10a70b263fb3af3bbf9e385 | 1,617 | cshtml | C# | test/Landing.Hosting/Views/Shared/Error.cshtml | tahaipek/Hisar | f1683895aae94c95905e1132da55826bedfebb4a | [
"MIT"
] | 19 | 2017-04-16T17:30:49.000Z | 2022-02-19T06:38:59.000Z | test/Landing.Hosting/Views/Shared/Error.cshtml | tahaipek/Hisar | f1683895aae94c95905e1132da55826bedfebb4a | [
"MIT"
] | 3 | 2017-04-17T08:32:27.000Z | 2018-04-01T14:40:51.000Z | test/Landing.Hosting/Views/Shared/Error.cshtml | tahaipek/Hisar | f1683895aae94c95905e1132da55826bedfebb4a | [
"MIT"
] | 9 | 2017-05-11T19:28:48.000Z | 2018-10-04T22:28:29.000Z | @model BasicExceptionContext
@if (Context == null)
{
<h1>Context Null</h1>
}
@{
var message = "";
var details = "";
var logGuid = "";
object obj = null;
if (Context.Items.TryGetValue(nameof(BasicExceptionContext), out obj))
{
var modelContext = obj as BasicExceptionContext;
... | 33.6875 | 140 | 0.461967 |
c6ff88dab92a030c94aa2e8cf33241db296cfb94 | 1,427 | rb | Ruby | app/controllers/comments_controller.rb | bignaczewski/anonynet | 99cdf57e0c5025e14f97ee41d19c54b9d27b4a00 | [
"Ruby"
] | null | null | null | app/controllers/comments_controller.rb | bignaczewski/anonynet | 99cdf57e0c5025e14f97ee41d19c54b9d27b4a00 | [
"Ruby"
] | null | null | null | app/controllers/comments_controller.rb | bignaczewski/anonynet | 99cdf57e0c5025e14f97ee41d19c54b9d27b4a00 | [
"Ruby"
] | null | null | null | class CommentsController < ApplicationController
respond_to :js
def create
@post = Post.find(params[:comment][:post_id])
@comment = Comment.new(params[:comment].permit(:content, :content_html, :post_id),
content_html: Obscenity.sanitize(params[:comment][:content]))
@comment.... | 36.589744 | 130 | 0.653118 |
fa513e96bae96387b9d086d039ead11fd11f5987 | 1,379 | swift | Swift | Sources/SwiftSemantics/Supporting Types/Modifier.swift | chriseidhof/SwiftSemantics | 70ab04ac51b570ce9f71c09aca4b661829bca5ae | [
"MIT"
] | null | null | null | Sources/SwiftSemantics/Supporting Types/Modifier.swift | chriseidhof/SwiftSemantics | 70ab04ac51b570ce9f71c09aca4b661829bca5ae | [
"MIT"
] | null | null | null | Sources/SwiftSemantics/Supporting Types/Modifier.swift | chriseidhof/SwiftSemantics | 70ab04ac51b570ce9f71c09aca4b661829bca5ae | [
"MIT"
] | null | null | null | import SwiftSyntax
/**
A declaration modifier.
A declaration may have one or more modifiers to
specify access control (`private` / `public` / etc.),
declare a type member (`class` / `static`),
or designate its mutability (`nonmutating`).
A declaration modifier may specify an additional detail
within enclosing ... | 25.072727 | 67 | 0.672226 |
8a28d60227d1b697fcdf8424378692dcfbedf399 | 3,769 | swift | Swift | sinaWeibo/sinaWeibo/Classes/Home/JKRepostCell.swift | zhangjk4859/MyWeiBoProject | afded56e550c8187198253484ebc1ab7c2a0279a | [
"MIT"
] | null | null | null | sinaWeibo/sinaWeibo/Classes/Home/JKRepostCell.swift | zhangjk4859/MyWeiBoProject | afded56e550c8187198253484ebc1ab7c2a0279a | [
"MIT"
] | null | null | null | sinaWeibo/sinaWeibo/Classes/Home/JKRepostCell.swift | zhangjk4859/MyWeiBoProject | afded56e550c8187198253484ebc1ab7c2a0279a | [
"MIT"
] | null | null | null | //
// JKRepostCell.swift
// sinaWeibo
//
// Created by 张俊凯 on 16/7/17.
// Copyright © 2016年 张俊凯. All rights reserved.
//
import UIKit
import KILabel
class JKRepostCell: JKHomeCell {
override var status: JKStatus?
{
didSet{
let name = status?.retweeted_status?.user?.name ... | 31.408333 | 172 | 0.570708 |
46c799ea72fbcc7d7f3a5faadc31f84b063b2f48 | 887 | py | Python | src/users/models/componentsschemasmicrosoft_graph_inferenceclassificationallof1.py | peombwa/Sample-Graph-Python-Client | 3396f531fbe6bb40a740767c4e31aee95a3b932e | [
"MIT"
] | null | null | null | src/users/models/componentsschemasmicrosoft_graph_inferenceclassificationallof1.py | peombwa/Sample-Graph-Python-Client | 3396f531fbe6bb40a740767c4e31aee95a3b932e | [
"MIT"
] | null | null | null | src/users/models/componentsschemasmicrosoft_graph_inferenceclassificationallof1.py | peombwa/Sample-Graph-Python-Client | 3396f531fbe6bb40a740767c4e31aee95a3b932e | [
"MIT"
] | null | null | null | # coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from ... | 34.115385 | 101 | 0.617813 |
05d42a2a49213688cfdecdb536afe80161c44f8b | 371 | py | Python | code/examples/benchmark.py | megbedell/spectro-pessimism | e3d549287b1023f9790a156afab50551be93222a | [
"MIT"
] | null | null | null | code/examples/benchmark.py | megbedell/spectro-pessimism | e3d549287b1023f9790a156afab50551be93222a | [
"MIT"
] | 4 | 2017-12-09T17:01:34.000Z | 2017-12-16T16:59:05.000Z | code/examples/benchmark.py | megbedell/spectro-pessimism | e3d549287b1023f9790a156afab50551be93222a | [
"MIT"
] | 1 | 2017-12-10T23:34:32.000Z | 2017-12-10T23:34:32.000Z | # simple benchmark
from generator import *
import time
# number of simulated photons
N = int(5E7)
t1 = time.time()
spectrum = Etalon()
spectrograph = MaroonX()
generate_rv_series(spectrograph, spectrum, [0.], photons_per_spectrum=N)
t2 = time.time()
print("Total time for tracing: {:.2f} s".format(t2-t1))
print("Simul... | 26.5 | 72 | 0.725067 |
2595524c383d3bb539b7825d66c99d6f6f9e90ae | 5,162 | js | JavaScript | src/components/pages/Index/Index.js | fabricio7p/Ikebana-App-Frontend | 1c7608afb29d6386ad1df86087ab529928cdb742 | [
"MIT"
] | 1 | 2020-08-14T19:42:54.000Z | 2020-08-14T19:42:54.000Z | src/components/pages/Index/Index.js | fabricio7p/Ikebana-App-Frontend | 1c7608afb29d6386ad1df86087ab529928cdb742 | [
"MIT"
] | null | null | null | src/components/pages/Index/Index.js | fabricio7p/Ikebana-App-Frontend | 1c7608afb29d6386ad1df86087ab529928cdb742 | [
"MIT"
] | null | null | null | import React, { useEffect } from 'react';
import { Link } from 'react-router-dom';
import './styles.scss';
export default function Index() {
return(
<div class="index">
<div className="index-main">
<img className="underlay-index" src="https://ikebana-app-content.s3-sa-east-1.am... | 56.725275 | 184 | 0.450988 |
2478d4c1da0ab833ca9fd33f0daebf1bf334773a | 6,965 | php | PHP | resources/views/admin/languages/list.blade.php | NguyenQuocTruong14110425/dongtien | ff7eff435a3142c9c629e3b354e20f86403673ac | [
"MIT"
] | null | null | null | resources/views/admin/languages/list.blade.php | NguyenQuocTruong14110425/dongtien | ff7eff435a3142c9c629e3b354e20f86403673ac | [
"MIT"
] | null | null | null | resources/views/admin/languages/list.blade.php | NguyenQuocTruong14110425/dongtien | ff7eff435a3142c9c629e3b354e20f86403673ac | [
"MIT"
] | null | null | null | @extends('layout_admin.layout')
@section('header-admin')
<title>dashboad</title>
@endsection
@section('content-admin')
<div class="pannel">
<div class="pannel-title">
<div class="current-page">@lang('component.languages_list_title')</div>
<li><a href="{{URL::to('admin/dashboard')... | 51.592593 | 149 | 0.398134 |
a3738f313d63dd2447a2785b59de43cbf1ae1bd1 | 2,640 | java | Java | x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/expression/function/Function.java | ZenMX/elasticsearch | fb08c46e9afb6948098eae10c02e652dc3c135d0 | [
"Apache-2.0"
] | 3 | 2020-07-09T19:00:34.000Z | 2020-07-09T19:01:20.000Z | x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/expression/function/Function.java | ZenMX/elasticsearch | fb08c46e9afb6948098eae10c02e652dc3c135d0 | [
"Apache-2.0"
] | 3 | 2020-07-29T08:58:34.000Z | 2020-07-31T19:03:50.000Z | x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/expression/function/Function.java | ZenMX/elasticsearch | fb08c46e9afb6948098eae10c02e652dc3c135d0 | [
"Apache-2.0"
] | 2 | 2021-08-20T05:42:04.000Z | 2021-08-20T05:44:41.000Z | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ql.expression.function;
import org.elasticsea... | 29.662921 | 113 | 0.668182 |
a9ebe70cca56c1bb2594708fd4981f424ea0e80a | 72,879 | php | PHP | module/Shipment/config/module.config.php | Profilan/dutchfurniturefulfilment | 7cfe5651c999f6fb34140f59286907b1bff93824 | [
"BSD-3-Clause"
] | null | null | null | module/Shipment/config/module.config.php | Profilan/dutchfurniturefulfilment | 7cfe5651c999f6fb34140f59286907b1bff93824 | [
"BSD-3-Clause"
] | null | null | null | module/Shipment/config/module.config.php | Profilan/dutchfurniturefulfilment | 7cfe5651c999f6fb34140f59286907b1bff93824 | [
"BSD-3-Clause"
] | null | null | null | <?php
return [
'router' => [
'routes' => [
'shipment.rest.doctrine.purchase-order' => [
'type' => 'Segment',
'options' => [
'route' => '/api/purchase-order[/:ordernr]',
'defaults' => [
'controller' =>... | 40.874369 | 222 | 0.40441 |
4269c0d257ffd3a4a714dbe1d1aec3c3209807a5 | 1,801 | dart | Dart | lib/src/widgets/scrollable_ex.dart | flutter-dd/ui_ex | 932526f13a6fc1f17c24b64581a03a176a13c9c0 | [
"MIT"
] | 1 | 2021-11-18T06:49:07.000Z | 2021-11-18T06:49:07.000Z | lib/src/widgets/scrollable_ex.dart | flutter-dd/ui_ex | 932526f13a6fc1f17c24b64581a03a176a13c9c0 | [
"MIT"
] | null | null | null | lib/src/widgets/scrollable_ex.dart | flutter-dd/ui_ex | 932526f13a6fc1f17c24b64581a03a176a13c9c0 | [
"MIT"
] | null | null | null | part of ui_ex;
/// 可滚动的小部件
/// Scrollable
extension WidgetsScrollableEx<T extends ScrollController?> on T {
/// Scrollable
Scrollable scrollable({
Key? key,
AxisDirection axisDirection = AxisDirection.down,
ScrollPhysics? physics,
required Widget Function(BuildContext, ViewportOffset) viewportBuild... | 34.634615 | 80 | 0.745142 |
43f9e337deeba84c5954e4f6fb01785d62ff4e05 | 1,070 | ts | TypeScript | src/tools/recalculateAscentDescent.ts | fabulator/endomondo-api-handler | a3352888a9994acc083b56e1d8239ee857386941 | [
"Apache-2.0"
] | 21 | 2018-03-23T14:32:51.000Z | 2021-04-12T15:02:17.000Z | src/tools/recalculateAscentDescent.ts | fabulator/endomondo-api-handler | a3352888a9994acc083b56e1d8239ee857386941 | [
"Apache-2.0"
] | 267 | 2018-04-11T10:30:06.000Z | 2020-12-30T21:57:51.000Z | src/tools/recalculateAscentDescent.ts | fabulator/endomondo-api-handler | a3352888a9994acc083b56e1d8239ee857386941 | [
"Apache-2.0"
] | 5 | 2020-01-14T14:22:32.000Z | 2021-04-12T15:02:28.000Z | import { unit } from '../helpers/math';
import { Point, Workout } from '../models';
/**
* Recalculate total ascent and descent.
*
* @param workout
* @returns {Workout}
*/
export default function recalculateAscentDescent(workout: Workout): Workout {
let ascent = 0;
let descent = 0;
let previusPoint: Po... | 23.777778 | 79 | 0.553271 |
eef495ddfead279a591909ea2a2ee0b90b9bdf50 | 204 | rb | Ruby | display/db/migrate/20150128000000_add_org_scope_to_teams.rb | mtunganati/oneops | 6a07b9ede594233bfe36a3a11816ec5b69881264 | [
"Apache-2.0"
] | 160 | 2017-06-05T22:08:31.000Z | 2022-03-27T02:10:54.000Z | display/db/migrate/20150128000000_add_org_scope_to_teams.rb | mtunganati/oneops | 6a07b9ede594233bfe36a3a11816ec5b69881264 | [
"Apache-2.0"
] | 142 | 2017-06-06T17:59:38.000Z | 2021-09-08T14:09:22.000Z | display/db/migrate/20150128000000_add_org_scope_to_teams.rb | mtunganati/oneops | 6a07b9ede594233bfe36a3a11816ec5b69881264 | [
"Apache-2.0"
] | 190 | 2017-06-05T21:49:14.000Z | 2022-03-23T09:52:11.000Z | class AddOrgScopeToTeams < ActiveRecord::Migration
def up
add_column :teams, :org_scope, :boolean, :null => false, :default => false
end
def down
remove_column :teams, :org_scope
end
end
| 20.4 | 78 | 0.705882 |
b77f8a98b9d4e8eff3e6110f4bfe69457782718d | 2,746 | cc | C++ | kernel/futex.cc | mit-pdos/ward | 91b598932d161f907590b9ad21d7df395e5d6712 | [
"MIT-0"
] | 29 | 2019-12-12T02:30:35.000Z | 2022-01-06T17:13:09.000Z | kernel/futex.cc | mit-pdos/ward | 91b598932d161f907590b9ad21d7df395e5d6712 | [
"MIT-0"
] | 47 | 2019-12-11T02:34:13.000Z | 2020-06-08T19:26:59.000Z | kernel/futex.cc | mit-pdos/ward | 91b598932d161f907590b9ad21d7df395e5d6712 | [
"MIT-0"
] | 4 | 2020-12-08T13:46:55.000Z | 2022-01-04T20:25:10.000Z | #include "types.h"
#include "kernel.hh"
#include "spinlock.hh"
#include "cpputil.hh"
#include "ns.hh"
#include "errno.h"
#include "condvar.hh"
#include "proc.hh"
#include "cpu.hh"
#include "spercpu.hh"
#include "vm.hh"
#include "hash.hh"
#define FUTEX_HASH_BUCKETS 257
struct futex_list_bucket {
ilist<proc, &proc::f... | 23.470085 | 97 | 0.651493 |
32407e8e371198be7f0b8aaa08d1d26a7ab989c4 | 19,517 | asm | Assembly | Library/Spreadsheet/Spreadsheet/spreadsheetEditBar.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Spreadsheet/Spreadsheet/spreadsheetEditBar.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Spreadsheet/Spreadsheet/spreadsheetEditBar.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoCalc
FILE: spreadsheetEditBar.asm
AUTHOR: Gene Anderson, Feb 27, 1991
ROUTINES:
Name Description
---- -----------
MSG_SPREADSHEET_GOTO_... | 25.884615 | 79 | 0.603576 |
92e749231e42cabdaa232e96a783eaa6d52a4b26 | 1,251 | c | C | src/alloc.c | nielshoez/PSU_2019_malloc | 73089f1164542626cb7b081cacb35b773b33a530 | [
"MIT"
] | 2 | 2020-02-21T15:03:01.000Z | 2020-02-21T15:03:03.000Z | src/alloc.c | nielshoez/PSU_2019_malloc | 73089f1164542626cb7b081cacb35b773b33a530 | [
"MIT"
] | null | null | null | src/alloc.c | nielshoez/PSU_2019_malloc | 73089f1164542626cb7b081cacb35b773b33a530 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** alloc
** File description:
** alloc
*/
#include "my_malloc.h"
mem_t *create_head(size_t size)
{
size += sizeof(mem_t);
size_t space = (size - 1) / (2 * getpagesize()) * (2 * getpagesize())
+ (2 * getpagesize());
head = sbrk(space);
if (head == (void *) -1)
... | 22.339286 | 75 | 0.560352 |
b0d735aa8ad231893e317bbee17f3854072723f8 | 68 | py | Python | tuiuiu/tuiuiuadmin/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 3 | 2019-08-08T09:09:35.000Z | 2020-12-15T18:04:17.000Z | tuiuiu/tuiuiuadmin/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | null | null | null | tuiuiu/tuiuiuadmin/__init__.py | caputomarcos/tuiuiu.io | d8fb57cf95487e7fe1454b2130ef18acc916da46 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T20:10:40.000Z | 2017-09-09T20:10:40.000Z | default_app_config = 'tuiuiu.tuiuiuadmin.apps.TuiuiuAdminAppConfig'
| 34 | 67 | 0.867647 |
142efbf9daec27ccca78384f16f4f132bf10b568 | 856 | tsx | TypeScript | src/components/complexes/ResponseList/index.tsx | fegoworks/survey-questionnaire | f843f8e6c6623061818b4c5a671f241ad9c90797 | [
"MIT"
] | null | null | null | src/components/complexes/ResponseList/index.tsx | fegoworks/survey-questionnaire | f843f8e6c6623061818b4c5a671f241ad9c90797 | [
"MIT"
] | null | null | null | src/components/complexes/ResponseList/index.tsx | fegoworks/survey-questionnaire | f843f8e6c6623061818b4c5a671f241ad9c90797 | [
"MIT"
] | null | null | null | import { Choice } from "../../../types/types";
import Response from "../../molecules/Response";
import styles from "./responseList.module.css";
interface IResponseList {
responseList: Array<Choice> | undefined;
handleClick: (event: React.MouseEvent<HTMLDivElement>) => void;
}
const ResponseList: React.FC<IRespons... | 25.939394 | 70 | 0.59229 |
a31dd31e8b06458e94e0537cab97634ae4d69c76 | 4,439 | java | Java | src/main/java/com/badminton/mall/controller/business/BusinessOrderController.java | pwu-github/badminton-mall-demo1 | 3d0913752ab5d521d1b2a5c12245a4a31c69d75d | [
"MIT"
] | null | null | null | src/main/java/com/badminton/mall/controller/business/BusinessOrderController.java | pwu-github/badminton-mall-demo1 | 3d0913752ab5d521d1b2a5c12245a4a31c69d75d | [
"MIT"
] | null | null | null | src/main/java/com/badminton/mall/controller/business/BusinessOrderController.java | pwu-github/badminton-mall-demo1 | 3d0913752ab5d521d1b2a5c12245a4a31c69d75d | [
"MIT"
] | null | null | null | package com.badminton.mall.controller.business;
import com.badminton.mall.common.ServiceResultEnum;
import com.badminton.mall.controller.vo.OrderItemVO;
import com.badminton.mall.entity.MallOrder;
import com.badminton.mall.service.OrderService;
import com.badminton.mall.util.PageQueryUtil;
import com.badminton.mall.ut... | 33.37594 | 98 | 0.657581 |
a38fa284b5f533a89547d34cc4e6e14545f8496d | 1,622 | java | Java | src/app/voltdb/voltdb_src/src/frontend/org/voltdb/task/IntervalGenerator.java | OpenMPDK/SMDK | 8f19d32d999731242cb1ab116a4cb445d9993b15 | [
"BSD-3-Clause"
] | 44 | 2022-03-16T08:32:31.000Z | 2022-03-31T16:02:35.000Z | src/app/voltdb/voltdb_src/src/frontend/org/voltdb/task/IntervalGenerator.java | H2O0Lee/SMDK | eff49bc17a55a83ea968112feb2e2f2ea18c4ff5 | [
"BSD-3-Clause"
] | 1 | 2022-03-29T02:30:28.000Z | 2022-03-30T03:40:46.000Z | src/app/voltdb/voltdb_src/src/frontend/org/voltdb/task/IntervalGenerator.java | H2O0Lee/SMDK | eff49bc17a55a83ea968112feb2e2f2ea18c4ff5 | [
"BSD-3-Clause"
] | 18 | 2022-03-19T04:41:04.000Z | 2022-03-31T03:32:12.000Z | /* This file is part of VoltDB.
* Copyright (C) 2019 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later v... | 45.055556 | 120 | 0.733662 |
20de7d95ed085f83ef54b6538c82d53494572caa | 1,050 | cs | C# | src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/MarkupExtensions/ShadowExtension.cs | modplug/Xamarin.Forms.PancakeView | ba2c955137f241f65fffe671318798fdd695cbda | [
"MIT"
] | 1 | 2020-07-21T15:31:55.000Z | 2020-07-21T15:31:55.000Z | src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/MarkupExtensions/ShadowExtension.cs | modplug/Xamarin.Forms.PancakeView | ba2c955137f241f65fffe671318798fdd695cbda | [
"MIT"
] | null | null | null | src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/MarkupExtensions/ShadowExtension.cs | modplug/Xamarin.Forms.PancakeView | ba2c955137f241f65fffe671318798fdd695cbda | [
"MIT"
] | null | null | null | using System;
using Xamarin.Forms.Xaml;
namespace Xamarin.Forms.PancakeView
{
[AcceptEmptyServiceProvider]
public class ShadowExtension : IMarkupExtension<DropShadow>
{
public float BlurRadius { set; get; } = (float)DropShadow.BlurRadiusProperty.DefaultValue;
public Color Color { set; get... | 31.818182 | 98 | 0.638095 |
8e5ddcdf7307fc001d5647e655cc596837d56900 | 1,486 | h | C | CW/cw/light/materialconfig.h | GandhiKK/CG_2021 | 4a5b217de323d482c00c44f0596ad455d219818c | [
"MIT"
] | null | null | null | CW/cw/light/materialconfig.h | GandhiKK/CG_2021 | 4a5b217de323d482c00c44f0596ad455d219818c | [
"MIT"
] | 7 | 2021-03-14T16:55:49.000Z | 2021-05-26T13:26:30.000Z | CW/cw/light/materialconfig.h | GandhiKK/CG_2021 | 4a5b217de323d482c00c44f0596ad455d219818c | [
"MIT"
] | 1 | 2021-03-14T16:47:54.000Z | 2021-03-14T16:47:54.000Z | #pragma once
#include <QColor>
#include <QObject>
#include <QGLFunctions>
#include <QOpenGLFunctions_3_3_Compatibility>
struct MaterialConfig {
static MaterialConfig notExactlyWood;
static MaterialConfig glassSide;
static MaterialConfig glassSideBack;
static MaterialConfig glassSideSide;
static M... | 33.022222 | 85 | 0.704576 |
ae587eec282429d74d7851a399edf74de10b0336 | 9,513 | css | CSS | digexp-dxsync/test/resources/server-sync-watch/themes/Theme One/css/deeper/blue/blue.css | SharikaN/WebDevToolkitForDx | c462a4090ae33deb8d3df4362aa14e7f626377e8 | [
"Apache-2.0"
] | 15 | 2015-05-26T14:54:37.000Z | 2018-05-13T15:34:15.000Z | digexp-dxsync/test/resources/server-sync-watch/themes/Theme One/css/deeper/blue/blue.css | SharikaN/WebDevToolkitForDx | c462a4090ae33deb8d3df4362aa14e7f626377e8 | [
"Apache-2.0"
] | 13 | 2021-03-31T10:41:35.000Z | 2022-03-17T22:19:49.000Z | test/resources/server-sync-watch/themes/Theme One/css/deeper/blue/blue.css | hcl-dx/dxsync | b626d4c74c869fac13751ea10db6bc9a087fc471 | [
"Apache-2.0"
] | 7 | 2015-06-25T06:21:38.000Z | 2019-12-03T00:00:00.000Z | .wpthemeHeader{background-color: #003366; border-bottom: 1px solid #001F3F;}.wpthemeBannerInner {background: #06467A; background: -moz-linear-gradient(center top , #06467A 0%, #0A305F 100%) repeat scroll 0 0 #0A305F; background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#06467A), color-stop(100%,#0A... | 9,513 | 9,513 | 0.808262 |
dbdde3280009c83f3cf416779670afc6377619ff | 889 | php | PHP | resources/views/welcome.blade.php | CE3Group3/UMaT-ORC | b5aaac3dbeccc96724ddd00c4da95ef9ae679583 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | CE3Group3/UMaT-ORC | b5aaac3dbeccc96724ddd00c4da95ef9ae679583 | [
"MIT"
] | null | null | null | resources/views/welcome.blade.php | CE3Group3/UMaT-ORC | b5aaac3dbeccc96724ddd00c4da95ef9ae679583 | [
"MIT"
] | null | null | null | @extends('layouts.master')
@section('title' , 'Home')
@section('head')
<link href="{{URL::To('css/welcome.css')}}" rel='stylesheet' type='text/css'>
@endsection
@section('logout')
@if(false)
<a href="{{URL::to('student/logout')}}">Logout</a>
@endif
@endsection
@section('content')
<section class="... | 30.655172 | 95 | 0.563555 |
835d3cee2900e8674fb6599f97e62838dc3083cf | 13,723 | tsx | TypeScript | src/components/UserLinkProviderForm.tsx | katsu-o/firebase-auth-spa | c390a04e8fc1734ff280d61d7946eee224e6abed | [
"MIT"
] | 6 | 2019-07-30T10:36:40.000Z | 2020-05-06T14:52:36.000Z | src/components/UserLinkProviderForm.tsx | katsu-o/firebase-auth-spa | c390a04e8fc1734ff280d61d7946eee224e6abed | [
"MIT"
] | null | null | null | src/components/UserLinkProviderForm.tsx | katsu-o/firebase-auth-spa | c390a04e8fc1734ff280d61d7946eee224e6abed | [
"MIT"
] | null | null | null | import * as React from 'react';
import {
Button,
IconButton,
CssBaseline,
Divider,
Paper,
Radio,
Grid,
TextField,
List,
ListItem,
ListItemIcon,
ListItemText,
InputAdornment,
Typography,
Theme,
createStyles,
WithStyles,
withStyles,
} from '@material-ui/core';
import classNames from 'c... | 33.800493 | 120 | 0.555928 |
796fd40c190307cfe5d162508b42374496153d5c | 5,248 | php | PHP | 2021/CVE-2021-24945/vultarget/likebtn-like-button/includes/meta_columns.php | hjyuan/reapoc | ef515e56c44c2590ff8601582bf6c08e076e7083 | [
"Apache-2.0"
] | 421 | 2021-12-07T08:46:40.000Z | 2022-03-31T12:42:16.000Z | 2021/CVE-2021-24945/vultarget/likebtn-like-button/includes/meta_columns.php | LinShiG0ng/reapoc | 99ebfcca818928eca79c0a2dcc2e466bc8f3e734 | [
"Apache-2.0"
] | 1 | 2022-03-14T06:07:39.000Z | 2022-03-14T15:52:22.000Z | 2021/CVE-2021-24945/vultarget/likebtn-like-button/includes/meta_columns.php | LinShiG0ng/reapoc | 99ebfcca818928eca79c0a2dcc2e466bc8f3e734 | [
"Apache-2.0"
] | 144 | 2021-12-07T11:06:14.000Z | 2022-03-31T07:41:35.000Z | <?php
/**
* Posts columns
*/
// Column names
define('LIKEBTN_COLUMN_LIKES', 'likebtn-likes');
define('LIKEBTN_COLUMN_DISLIKES', 'likebtn-dislikes');
define('LIKEBTN_COLUMN_LMD', 'likebtn-lmd');
// Set meta column hooks
function likebtn_meta_columns_setup_hooks()
{
_likebtn_set_post_type_hooks();
//add_action('re... | 27.914894 | 93 | 0.640053 |
98188d3ad025301c9c90c992a2cd2817b5b3bfb1 | 4,682 | py | Python | bench_cli/configuration.py | systay/arewefastyet | f21f3c0c63b5e3729d946bd2283004641b427aad | [
"Apache-2.0"
] | null | null | null | bench_cli/configuration.py | systay/arewefastyet | f21f3c0c63b5e3729d946bd2283004641b427aad | [
"Apache-2.0"
] | null | null | null | bench_cli/configuration.py | systay/arewefastyet | f21f3c0c63b5e3729d946bd2283004641b427aad | [
"Apache-2.0"
] | 1 | 2021-09-03T16:06:08.000Z | 2021-09-03T16:06:08.000Z | # ------------------------------------------------------------------------------------------------------------------------------------
# Copyright 2021 The Vitess Authors.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtai... | 33.927536 | 135 | 0.591841 |
387d47191d49828ad5d3f0d05b34d9b331b188ec | 315 | php | PHP | resources/views/termekek/show.blade.php | takristof/KreativOtletcentrum | a0d05c31fbad7eb3a7617511f4ac95a986cdb3dc | [
"MIT"
] | null | null | null | resources/views/termekek/show.blade.php | takristof/KreativOtletcentrum | a0d05c31fbad7eb3a7617511f4ac95a986cdb3dc | [
"MIT"
] | null | null | null | resources/views/termekek/show.blade.php | takristof/KreativOtletcentrum | a0d05c31fbad7eb3a7617511f4ac95a986cdb3dc | [
"MIT"
] | null | null | null | @extends('layout')
@section('title', $termekek->termek_nev)
@section('content')
<h1> {{ $termekek->termek_nev }}</h1>
<p>A termék ára: {{ $termekek->ar }} Ft</p>
<p>Elérhető mennyiség: {{ $termekek->mennyiseg }} db</p>
<p>Elérhető-e jelenleg a termék: {{ $termekek->elerheto_e }} </p>
@endsection
| 28.636364 | 69 | 0.619048 |
35f701f1ab7d83d91cbd9e7f9eb415b23acb9406 | 1,238 | cc | C++ | media/gpu/android/mock_android_video_surface_chooser.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | media/gpu/android/mock_android_video_surface_chooser.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | media/gpu/android/mock_android_video_surface_chooser.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/gpu/android/mock_android_video_surface_chooser.h"
namespace media {
MockAndroidVideoSurfaceChooser::MockAndroidVideoSurfaceChooser() = d... | 30.195122 | 76 | 0.78433 |
df2a5de708503d8b070108138fe704c4e00038ef | 1,118 | rb | Ruby | lib/teracy-dev-v05-compat/processors/provisioner_id_deprecated_removal.rb | hoatle/teracy-dev-v05-compat | e6ed9ec67ec5ba8ed2fa3b535b34ad965e33b126 | [
"MIT"
] | 1 | 2018-08-20T10:50:08.000Z | 2018-08-20T10:50:08.000Z | lib/teracy-dev-v05-compat/processors/provisioner_id_deprecated_removal.rb | hoatle/teracy-dev-v05-compat | e6ed9ec67ec5ba8ed2fa3b535b34ad965e33b126 | [
"MIT"
] | 35 | 2018-10-10T04:30:52.000Z | 2020-03-05T07:57:06.000Z | lib/teracy-dev-v05-compat/processors/provisioner_id_deprecated_removal.rb | hoatle/teracy-dev-v05-compat | e6ed9ec67ec5ba8ed2fa3b535b34ad965e33b126 | [
"MIT"
] | 2 | 2018-08-28T09:42:12.000Z | 2018-10-09T23:33:13.000Z | require 'teracy-dev/processors/processor'
module TeracyDevV05Compat
module Processors
# a workaround to fix the following problem:
# $ vagrant up
# Bringing machine 'teracy-dev.local' up with 'virtualbox' provider...
# There are errors in the configuration of this machine. Please fix
# the follow... | 36.064516 | 75 | 0.665474 |
56a2f24efa7465dfca0e6951e474b3eab2521d9f | 3,275 | rs | Rust | src/objects/bytearray.rs | thanatos/pyo3 | 25514f69da6faa1e785e7f3ed1aa18486a3b8624 | [
"Apache-2.0"
] | null | null | null | src/objects/bytearray.rs | thanatos/pyo3 | 25514f69da6faa1e785e7f3ed1aa18486a3b8624 | [
"Apache-2.0"
] | 4 | 2019-01-24T18:41:24.000Z | 2021-12-07T17:10:17.000Z | src/objects/bytearray.rs | thanatos/pyo3 | 25514f69da6faa1e785e7f3ed1aa18486a3b8624 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017-present PyO3 Project and Contributors
use std;
use std::os::raw::c_char;
use ffi;
use object::PyObject;
use instance::PyObjectWithToken;
use python::{Python, ToPyPointer};
use err::{PyResult, PyErr};
/// Represents a Python `bytearray`.
pub struct PyByteArray(PyObject);
pyobject_convert!(PyByte... | 28.478261 | 90 | 0.570687 |
27cf2817638ad01feea81c7b3bee4644f0e19e16 | 303 | rb | Ruby | spec/scraper_spec.rb | Adjoa/hack_design-cli-app | 0fbcb97c39f57c52052986b6774b356112cccb9f | [
"MIT"
] | null | null | null | spec/scraper_spec.rb | Adjoa/hack_design-cli-app | 0fbcb97c39f57c52052986b6774b356112cccb9f | [
"MIT"
] | null | null | null | spec/scraper_spec.rb | Adjoa/hack_design-cli-app | 0fbcb97c39f57c52052986b6774b356112cccb9f | [
"MIT"
] | 1 | 2019-12-10T14:59:06.000Z | 2019-12-10T14:59:06.000Z | RSpec.describe Scraper do
describe '.scrape_lessons_page' do
it 'returns an array of objects containing lesson title and url pairs' do
lessons_array = Scraper.scrape_lessons_page
expect(lessons_array).to be_an(Array)
end
end
# describe '.scrape_lesson' do
# end
end | 25.25 | 77 | 0.709571 |
011ed1f0d2a9daea4d4798fb570570180229bf89 | 35,009 | rb | Ruby | test/unit/person_test.rb | stuzart/seek | 9aa1ceeae33d20b4fe409b437eddcc3698721319 | [
"BSD-3-Clause"
] | null | null | null | test/unit/person_test.rb | stuzart/seek | 9aa1ceeae33d20b4fe409b437eddcc3698721319 | [
"BSD-3-Clause"
] | null | null | null | test/unit/person_test.rb | stuzart/seek | 9aa1ceeae33d20b4fe409b437eddcc3698721319 | [
"BSD-3-Clause"
] | null | null | null | require 'test_helper'
class PersonTest < ActiveSupport::TestCase
fixtures :users, :people
# Replace this with your real tests.
def test_work_groups
p=Factory(:person_in_multiple_projects)
assert_equal 3,p.work_groups.size
end
test "registered user's profile can be edited by" do
admin = Factor... | 31.9134 | 177 | 0.712731 |
3f15e971c281cc3ad6e18800a4044987da2026a7 | 1,276 | rb | Ruby | spec/defines/network_spec.rb | pyther/pyther-networkd | 7d0ce771ae52b1346bab6836d64188b959bd1746 | [
"MIT"
] | null | null | null | spec/defines/network_spec.rb | pyther/pyther-networkd | 7d0ce771ae52b1346bab6836d64188b959bd1746 | [
"MIT"
] | null | null | null | spec/defines/network_spec.rb | pyther/pyther-networkd | 7d0ce771ae52b1346bab6836d64188b959bd1746 | [
"MIT"
] | null | null | null | require 'spec_helper'
describe 'networkd::network' do
let :pre_condition do
'class { "networkd": conf_dir => "/etc/systemd/networkd" }'
end
let :default_facts do
{
:concat_basedir => '/dne',
}
end
context 'example-1' do
let(:title) { 'enp2s0' }
let :params do
{
:matc... | 29 | 83 | 0.624608 |
3f9e71b96b99460b263edf95ca2447bdd841699b | 586 | php | PHP | app/Services/Token/TokenInterface.php | raphaelts3/bluecoding-back | 0f02069cf23d7d47079ed361cfdf3d3fd58a4603 | [
"MIT"
] | null | null | null | app/Services/Token/TokenInterface.php | raphaelts3/bluecoding-back | 0f02069cf23d7d47079ed361cfdf3d3fd58a4603 | [
"MIT"
] | null | null | null | app/Services/Token/TokenInterface.php | raphaelts3/bluecoding-back | 0f02069cf23d7d47079ed361cfdf3d3fd58a4603 | [
"MIT"
] | null | null | null | <?php
namespace App\Services\Token;
interface TokenInterface
{
public const LIFE_TIME = 24 * 60 * 60;
public const CACHE_PREFIX = 'token:';
/**
* @param int $userId
* @return string
*/
public function generate(int $userId): string;
/**
* @param string|null $token
* @re... | 18.3125 | 59 | 0.59727 |
dfadd4ae44d6877561efd7d64ad43ef35774d550 | 2,152 | cs | C# | MiniNotes.aspx.cs | DevinDow/ToDo | b841db2a6d0f1c5890872e02f73d6e643556805f | [
"MIT"
] | 1 | 2018-08-27T04:12:41.000Z | 2018-08-27T04:12:41.000Z | MiniNotes.aspx.cs | DevinDow/ToDo | b841db2a6d0f1c5890872e02f73d6e643556805f | [
"MIT"
] | null | null | null | MiniNotes.aspx.cs | DevinDow/ToDo | b841db2a6d0f1c5890872e02f73d6e643556805f | [
"MIT"
] | null | null | null | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Dr... | 30.742857 | 145 | 0.730483 |
81ab05d2b2872866d5de0691ca8cad9c1019ed5d | 812 | css | CSS | app/styles/main.css | allyrv/blocitoff-angular | b849b3f6717620d49e19a3541b64d70f58a01f3d | [
"Apache-2.0"
] | null | null | null | app/styles/main.css | allyrv/blocitoff-angular | b849b3f6717620d49e19a3541b64d70f58a01f3d | [
"Apache-2.0"
] | null | null | null | app/styles/main.css | allyrv/blocitoff-angular | b849b3f6717620d49e19a3541b64d70f58a01f3d | [
"Apache-2.0"
] | null | null | null | *, *::before, *::after{
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
html {
height: 100%;
font-size: 100%;
}
body {
text-align: center!important;
background-color: #FFFFFF;
}
.hero-content {
width: 500px;
background-color: #f3f3f3;
margin: auto;
margin-... | 13.533333 | 33 | 0.641626 |
dbf500e0d53461de73bfc2f13fdca4c2f13be3de | 6,100 | php | PHP | src/EventLoop/StreamSelectLoop.php | WyriHaximus/react | fb15cab25c244e33c7e2d2027f895efe94523d2c | [
"MIT"
] | 1 | 2021-10-05T10:04:07.000Z | 2021-10-05T10:04:07.000Z | src/EventLoop/StreamSelectLoop.php | WyriHaximus/react | fb15cab25c244e33c7e2d2027f895efe94523d2c | [
"MIT"
] | null | null | null | src/EventLoop/StreamSelectLoop.php | WyriHaximus/react | fb15cab25c244e33c7e2d2027f895efe94523d2c | [
"MIT"
] | 2 | 2021-11-11T06:18:15.000Z | 2022-01-09T04:29:09.000Z | <?php
namespace React\EventLoop;
use React\EventLoop\Tick\FutureTickQueue;
use React\EventLoop\Tick\NextTickQueue;
use React\EventLoop\Timer\Timer;
use React\EventLoop\Timer\TimerInterface;
use React\EventLoop\Timer\Timers;
/**
* A stream_select() based event-loop.
*/
class StreamSelectLoop implements LoopInterfac... | 23.461538 | 108 | 0.533934 |
390605d829ad192c408d6299430bb2e2951457f4 | 5,018 | py | Python | Human_intention/nodes/markers_from_tf.py | Vibek/Back-up | 888ede4187e8a9879154a5a1f48545507ca3121e | [
"Apache-2.0"
] | 1 | 2018-02-07T15:09:25.000Z | 2018-02-07T15:09:25.000Z | Human_intention/nodes/markers_from_tf.py | Vibek/Back-up | 888ede4187e8a9879154a5a1f48545507ca3121e | [
"Apache-2.0"
] | null | null | null | Human_intention/nodes/markers_from_tf.py | Vibek/Back-up | 888ede4187e8a9879154a5a1f48545507ca3121e | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
Convert a skeleton transform tree to a list of visualization markers for RViz.
"""
import rospy
from visualization_msgs.msg import Marker
from geometry_msgs.msg import Point
import tf
class SkeletonMarkers():
def __init__(self):
rospy.init_node('markers_from_tf')
... | 38.6 | 112 | 0.529892 |
ff4229df98b5ee7702a83095e8df3a16f97d6205 | 55 | py | Python | crypto_native/__init__.py | dkushche/Crypto | 75919d6df2084aee1de76c9999ac4e361c4efd48 | [
"MIT"
] | 3 | 2020-05-07T22:03:48.000Z | 2021-03-11T16:36:56.000Z | crypto_native/__init__.py | dkushche/Crypto | 75919d6df2084aee1de76c9999ac4e361c4efd48 | [
"MIT"
] | null | null | null | crypto_native/__init__.py | dkushche/Crypto | 75919d6df2084aee1de76c9999ac4e361c4efd48 | [
"MIT"
] | null | null | null | from .openssl_api import *
from .ms_cryptoapi import *
| 18.333333 | 27 | 0.781818 |
05d7437553ead35c067a0ad5368ed8eef56cab3d | 1,127 | dart | Dart | lib/src/utils/read_write_file.dart | yeqk97/raco | 50aec24e171bb29bf22c8296d80b63ddabe337d0 | [
"MIT"
] | null | null | null | lib/src/utils/read_write_file.dart | yeqk97/raco | 50aec24e171bb29bf22c8296d80b63ddabe337d0 | [
"MIT"
] | null | null | null | lib/src/utils/read_write_file.dart | yeqk97/raco | 50aec24e171bb29bf22c8296d80b63ddabe337d0 | [
"MIT"
] | null | null | null | import 'dart:io';
import 'dart:typed_data';
import 'package:path_provider/path_provider.dart';
class ReadWriteFile {
Future<String> get _localPath async {
final directory = await getApplicationDocumentsDirectory();
return directory.path;
}
Future<File> writeStringToFile(String fileName, String content) ... | 28.897436 | 74 | 0.693878 |
2d47b95b502607e8beff9410ffb748fa6c196ac3 | 10,605 | css | CSS | assets/css/app.css | Cailtom/Electrum-E-Commerce | 83fe9ac086b804260683a0b98025d99f0b9ec7f7 | [
"MIT"
] | 1 | 2021-12-18T23:25:10.000Z | 2021-12-18T23:25:10.000Z | assets/css/app.css | Cailtom/Electrum-E-Commerce | 83fe9ac086b804260683a0b98025d99f0b9ec7f7 | [
"MIT"
] | 3 | 2022-01-10T17:21:08.000Z | 2022-01-10T17:29:36.000Z | assets/css/app.css | Cailtom/Electrum-E-Commerce | 83fe9ac086b804260683a0b98025d99f0b9ec7f7 | [
"MIT"
] | null | null | null | html {
font-size: 14px;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Open sans";
font-size: 1rem;
}
i {
color: #d10024;
}
a {
text-decoration: none;
transition: 0.4s;
}
a:hover {
color: #d10024;
}
input {
border: none;
outline: none;
}
ul {
list-style: none;
}
.navb... | 19.566421 | 161 | 0.66959 |
17b9b913ca8f44890544c7e91e345f341e1cdc55 | 886 | sh | Shell | scripts/docdeploy.sh | JahidAhmed/fgpv-vpgf | b6686db2bb4bd78239bd2093df055c3c41b2e1f8 | [
"MIT"
] | 1 | 2016-11-01T13:05:08.000Z | 2016-11-01T13:05:08.000Z | scripts/docdeploy.sh | AleksueiR/fgpv-vpgf | 55c3ac5e4e66bc9c077866f6f59373b9956ae915 | [
"MIT"
] | null | null | null | scripts/docdeploy.sh | AleksueiR/fgpv-vpgf | 55c3ac5e4e66bc9c077866f6f59373b9956ae915 | [
"MIT"
] | 1 | 2018-02-05T15:14:24.000Z | 2018-02-05T15:14:24.000Z | #!/bin/bash
set -e
if [ "$TRAVIS_REPO_SLUG" == "fgpv-vpgf/fgpv-vpgf" ] && [ -n "$TRAVIS_TAG" ]; then
npm run doc
# this section assumes the id_rsa key has already been decrypted
# devdeploy.sh should run before this script
echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
eval `ssh-ag... | 34.076923 | 84 | 0.677201 |
4dd7410faec21b63eeece02623e75bcda6998176 | 212 | cs | C# | src/XQ.ProjectX.Service/TalentInfo.cs | moto2002/kaituo_src | a75fe94ede2ef27ce87047f5b760ab855ab36eec | [
"MIT"
] | 1 | 2018-08-28T12:20:57.000Z | 2018-08-28T12:20:57.000Z | src/XQ.ProjectX.Service/TalentInfo.cs | moto2002/kaituo_src | a75fe94ede2ef27ce87047f5b760ab855ab36eec | [
"MIT"
] | null | null | null | src/XQ.ProjectX.Service/TalentInfo.cs | moto2002/kaituo_src | a75fe94ede2ef27ce87047f5b760ab855ab36eec | [
"MIT"
] | null | null | null | using System;
namespace XQ.ProjectX.Service
{
public class TalentInfo
{
public string TalentGroupID;
public string TalentID;
public int TalentLevel;
public int Talent;
public int Timestamp;
}
}
| 11.777778 | 30 | 0.735849 |
0d5b1c7eb40060338a594c9bce6e5846ebc230be | 30,414 | c | C | opp/ir/ir.c | MadMax129/C-Interpreter | 64fffaec1553fe552315d745d85ced9e45b5e70a | [
"Apache-2.0"
] | 9 | 2020-12-24T22:49:49.000Z | 2022-01-21T08:10:29.000Z | opp/ir/ir.c | MadMax129/C-Interpreter | 64fffaec1553fe552315d745d85ced9e45b5e70a | [
"Apache-2.0"
] | null | null | null | opp/ir/ir.c | MadMax129/C-Interpreter | 64fffaec1553fe552315d745d85ced9e45b5e70a | [
"Apache-2.0"
] | 1 | 2020-06-07T20:13:37.000Z | 2020-06-07T20:13:37.000Z | /** @file ir.c
*
* @brief Opp IR
*
* Copyright (c) 2020 Maks S
*
* 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 req... | 20.80301 | 96 | 0.650753 |
112f3b6e1da78e353d5f826ee2418001a0cd3e19 | 19,569 | css | CSS | src/index.css | basementuniverse/vscode-kanbn | f85619450fc2593eecc43b2f84dfc7556076c5f3 | [
"MIT"
] | 24 | 2021-05-01T10:47:42.000Z | 2022-02-11T10:11:38.000Z | src/index.css | basementuniverse/vscode-kanbn | f85619450fc2593eecc43b2f84dfc7556076c5f3 | [
"MIT"
] | 14 | 2021-04-19T10:15:30.000Z | 2022-02-25T12:05:52.000Z | src/index.css | basementuniverse/vscode-kanbn | f85619450fc2593eecc43b2f84dfc7556076c5f3 | [
"MIT"
] | 1 | 2021-09-30T11:45:01.000Z | 2021-09-30T11:45:01.000Z | body.vscode-light,
body.vscode-dark,
body.vscode-high-contrast {
margin: 0;
padding: 1em;
font-family: var(--vscode-font-family);
font-size: var(--vscode-font-size);
background-color: var(--vscode-editor-background);
color: var(--vscode-foreground);
}
/*-----------------------------------------... | 22.834306 | 97 | 0.650723 |
bb74c01e835a22057d66ca9a77d0922254aa1130 | 7,894 | cs | C# | tests/Apworks.Tests/IronyQueryConditionParserTests.cs | cnark/apworks-core | 30ed8531b019fa0c6253f62dfb2e61217eb7adc9 | [
"Apache-2.0"
] | 1 | 2021-05-12T01:56:22.000Z | 2021-05-12T01:56:22.000Z | tests/Apworks.Tests/IronyQueryConditionParserTests.cs | cnark/apworks-core | 30ed8531b019fa0c6253f62dfb2e61217eb7adc9 | [
"Apache-2.0"
] | null | null | null | tests/Apworks.Tests/IronyQueryConditionParserTests.cs | cnark/apworks-core | 30ed8531b019fa0c6253f62dfb2e61217eb7adc9 | [
"Apache-2.0"
] | null | null | null | using Apworks.Querying.Parsers.Irony;
using System.Linq;
using System.Collections.Generic;
using Xunit;
using Apworks.Tests.Models;
using System;
namespace Apworks.Tests
{
public class IronyQueryConditionParserTests
{
private readonly List<Customer> Customers = new List<Customer>();
private st... | 43.136612 | 141 | 0.580568 |
480b048f806387ef433e18cd1e830729e62ea126 | 107,887 | sql | SQL | DB/dmd3.10.18.sql | bachhumanna/dmd | 713856845a31b19c0edcf474848c87425f0248ab | [
"MIT"
] | null | null | null | DB/dmd3.10.18.sql | bachhumanna/dmd | 713856845a31b19c0edcf474848c87425f0248ab | [
"MIT"
] | null | null | null | DB/dmd3.10.18.sql | bachhumanna/dmd | 713856845a31b19c0edcf474848c87425f0248ab | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 03, 2018 at 10:47 AM
-- Server version: 5.7.23-0ubuntu0.16.04.1
-- PHP Version: 7.0.32-0ubuntu0.16.04.1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 82.168317 | 5,900 | 0.630187 |
0d9d300cded5d77c297f302ac20c8d49f48e6a32 | 3,965 | cs | C# | CarLove/CarLove/Controllers/HomeController.cs | SDD-Maples/CarPort | a402f6b6e709101d98038c0a4df09f946108e6f0 | [
"MIT"
] | null | null | null | CarLove/CarLove/Controllers/HomeController.cs | SDD-Maples/CarPort | a402f6b6e709101d98038c0a4df09f946108e6f0 | [
"MIT"
] | 5 | 2017-09-25T23:20:52.000Z | 2017-11-30T00:02:00.000Z | CarLove/CarLove/Controllers/HomeController.cs | SDD-Maples/CarPort | a402f6b6e709101d98038c0a4df09f946108e6f0 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using CarLove.Models;
namespace CarLove.Controllers
{
public class HomeController : Controller
{
//Home Page
public IActionResul... | 29.589552 | 87 | 0.499874 |
522ccc292a35aa2e48366bb9b76b1f4db0d0ff96 | 687 | ps1 | PowerShell | scripts/windows/windows-base.ps1 | ifunky/bakery | 417ce4a2bde7c3f75e110c9889f4478f9765610c | [
"Apache-2.0"
] | 4 | 2015-09-19T07:54:18.000Z | 2021-07-30T12:38:55.000Z | scripts/windows/windows-base.ps1 | ifunky/bakery | 417ce4a2bde7c3f75e110c9889f4478f9765610c | [
"Apache-2.0"
] | null | null | null | scripts/windows/windows-base.ps1 | ifunky/bakery | 417ce4a2bde7c3f75e110c9889f4478f9765610c | [
"Apache-2.0"
] | null | null | null | Write-Host "Enabling RDP, reset SysprepStatus and show file extensions"
netsh advfirewall firewall add rule name="Remote Desktop" dir=in localport=3389 protocol=TCP action=allow
reg add 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server' /v fDenyTSConnections /t REG_DWORD /d 0 /f
Set-ItemProperty... | 76.333333 | 154 | 0.815138 |
c6a3174a169ca1dda899bb95b1449a3699881c79 | 600 | py | Python | DSA Coding/Array/MergeSort.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 8 | 2022-03-01T09:09:20.000Z | 2022-03-03T05:36:01.000Z | DSA Coding/Array/MergeSort.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 52 | 2022-03-02T13:52:46.000Z | 2022-03-04T03:03:17.000Z | DSA Coding/Array/MergeSort.py | prathimacode-hub/WIE-WoC | f412f297a57249af98213bf4a747c897f2d4c035 | [
"MIT"
] | 23 | 2022-03-01T06:39:34.000Z | 2022-03-03T09:24:40.000Z | # Merge Sort
def merge(left, right):
result = []
i = j = 0
while i < len(left) and j < len(right):
if left[i] < right[j]:
result.append(left[i])
i += 1
else:
result.append(right[j])
j += 1
result += left[i:]
def mergeSort(arr):
if len... | 20.689655 | 43 | 0.511667 |
4d10c21cc671622209906b917e160ace22fcb9b2 | 29 | cshtml | C# | Griddly/Views/Example/Filters.cshtml | programcsharp/griddly | e69efe1fa7b8353b917c6d88d0909f46522ccb47 | [
"MIT"
] | 11 | 2015-02-24T09:43:11.000Z | 2019-11-13T10:02:01.000Z | Griddly/Views/Example/Filters.cshtml | programcsharp/griddly | e69efe1fa7b8353b917c6d88d0909f46522ccb47 | [
"MIT"
] | 36 | 2015-01-08T18:53:36.000Z | 2020-03-21T17:13:56.000Z | Griddly/Views/Example/Filters.cshtml | programcsharp/griddly | e69efe1fa7b8353b917c6d88d0909f46522ccb47 | [
"MIT"
] | 7 | 2015-03-13T15:25:58.000Z | 2020-07-15T04:27:37.000Z | @Html.Griddly("FiltersGrid") | 29 | 29 | 0.758621 |
1bf3187d234b17d737f855477e0816b3ae7b60bb | 75 | rb | Ruby | app/serializers/shipit/command_line_user_serializer.rb | mfwarren/shipit-engine | cbbb8b172bc41102843d27c1031ff495ffe86e33 | [
"MIT"
] | null | null | null | app/serializers/shipit/command_line_user_serializer.rb | mfwarren/shipit-engine | cbbb8b172bc41102843d27c1031ff495ffe86e33 | [
"MIT"
] | 6 | 2020-06-25T07:31:54.000Z | 2022-02-11T22:32:53.000Z | app/serializers/shipit/command_line_user_serializer.rb | mfwarren/shipit-engine | cbbb8b172bc41102843d27c1031ff495ffe86e33 | [
"MIT"
] | null | null | null | module Shipit
class CommandLineUserSerializer < UserSerializer
end
end
| 15 | 50 | 0.826667 |
dbcea8600525f0b34f736516c00b361e547b4ed0 | 2,762 | php | PHP | application/controllers/Zerobacklognid.php | budianonym/propops-dashboard | 9af1c24e66cb978f7b5e3b0d295b491daa436671 | [
"MIT"
] | null | null | null | application/controllers/Zerobacklognid.php | budianonym/propops-dashboard | 9af1c24e66cb978f7b5e3b0d295b491daa436671 | [
"MIT"
] | null | null | null | application/controllers/Zerobacklognid.php | budianonym/propops-dashboard | 9af1c24e66cb978f7b5e3b0d295b491daa436671 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Zerobacklognid extends CI_Controller {
public function __construct()
{
parent::__construct();
$this->load->database();
$this->load->model('zerobacklognid_model');
function checkzero($a){
if ($a!=nul... | 30.351648 | 111 | 0.637581 |
a606c63c8064c1c408f2390626f8f19830c26bc6 | 78 | rb | Ruby | lib/url_canonicalize/version.rb | dominicsayers/url_canonicalize | 12158c9819db96b49e2ffe8fad8929c3ad815f06 | [
"MIT"
] | 1 | 2016-12-23T11:16:06.000Z | 2016-12-23T11:16:06.000Z | lib/url_canonicalize/version.rb | dominicsayers/url_canonicalize | 12158c9819db96b49e2ffe8fad8929c3ad815f06 | [
"MIT"
] | 5 | 2017-03-06T16:50:04.000Z | 2018-06-30T12:30:10.000Z | lib/url_canonicalize/version.rb | dominicsayers/url_canonicalize | 12158c9819db96b49e2ffe8fad8929c3ad815f06 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
module URLCanonicalize
VERSION = '0.2.1'
end
| 13 | 29 | 0.75641 |
143cf54f66b822b5e1ba2fc5ec0da60cda2a2e4a | 1,584 | ts | TypeScript | veggy-app/node_modules/@alfresco/adf-insights/insights/analytics-process/components/analytics-generator.component.d.ts | jcarrasko/adf-intro | 3694bed27df3aa0c55b9dcca4a05865d83814d53 | [
"Apache-2.0"
] | 1 | 2018-03-01T11:12:54.000Z | 2018-03-01T11:12:54.000Z | veggy-app/node_modules/@alfresco/adf-insights/insights/analytics-process/components/analytics-generator.component.d.ts | jcarrasko/adf-intro | 3694bed27df3aa0c55b9dcca4a05865d83814d53 | [
"Apache-2.0"
] | null | null | null | veggy-app/node_modules/@alfresco/adf-insights/insights/analytics-process/components/analytics-generator.component.d.ts | jcarrasko/adf-intro | 3694bed27df3aa0c55b9dcca4a05865d83814d53 | [
"Apache-2.0"
] | null | null | null | /*!
* @license
* Copyright 2016 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 37.714286 | 76 | 0.721591 |
5061cf71724c85586ca327c55142329c91c8eaf7 | 559 | dart | Dart | lib/ui/pages/newTask/controller/new_task_controller.dart | 1agracinha/taskee | d2548f15ea035461df89476a1ad0dcb7b35a968c | [
"MIT"
] | null | null | null | lib/ui/pages/newTask/controller/new_task_controller.dart | 1agracinha/taskee | d2548f15ea035461df89476a1ad0dcb7b35a968c | [
"MIT"
] | null | null | null | lib/ui/pages/newTask/controller/new_task_controller.dart | 1agracinha/taskee | d2548f15ea035461df89476a1ad0dcb7b35a968c | [
"MIT"
] | null | null | null | import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:get/get.dart';
import 'package:taskee/domain/usecases/usecases.dart';
part 'new_task_state.dart';
class NewTaskController extends Cubit<NewTaskState> {
final IAddTaskUsecase _addTaskUsecase;
NewTaskController(this._addTask... | 29.421053 | 68 | 0.756708 |
660ec95e61516295e5f14c72425e71b3d9e84455 | 409 | py | Python | froide_crowdfunding/migrations/0005_crowdfunding_public_interest.py | okfde/froide-crowdfunding | b67ea484529e69f65203f7b5e77e8e7db6a0c2e7 | [
"MIT"
] | 1 | 2019-03-13T20:11:59.000Z | 2019-03-13T20:11:59.000Z | froide_crowdfunding/migrations/0005_crowdfunding_public_interest.py | okfde/froide-crowdfunding | b67ea484529e69f65203f7b5e77e8e7db6a0c2e7 | [
"MIT"
] | null | null | null | froide_crowdfunding/migrations/0005_crowdfunding_public_interest.py | okfde/froide-crowdfunding | b67ea484529e69f65203f7b5e77e8e7db6a0c2e7 | [
"MIT"
] | 1 | 2019-05-01T12:34:46.000Z | 2019-05-01T12:34:46.000Z | # Generated by Django 2.1.8 on 2019-04-15 09:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('froide_crowdfunding', '0004_contribution_public'),
]
operations = [
migrations.AddField(
model_name='crowdfunding',
... | 21.526316 | 60 | 0.621027 |
4445a76ba1ea5e10f49e44687c680c88c2e67c3b | 384 | sql | SQL | sql-queries/query_45.sql | sdbs-uni-p/usage-of-not-replication | 84e0870d47a9e73b246c96c436cebea09080df5d | [
"CC-BY-4.0"
] | null | null | null | sql-queries/query_45.sql | sdbs-uni-p/usage-of-not-replication | 84e0870d47a9e73b246c96c436cebea09080df5d | [
"CC-BY-4.0"
] | null | null | null | sql-queries/query_45.sql | sdbs-uni-p/usage-of-not-replication | 84e0870d47a9e73b246c96c436cebea09080df5d | [
"CC-BY-4.0"
] | null | null | null | --counting
select count(*) countNegations, count(distinct p2dewey) countDefGroups, count(distinct line)
from flattree
where key = 'not' and p2key = 'definitions';
--visualizing -- this code miss one definition that has `.' inside the definition name
select line, sibnum, sibkeys, valuelen, value
from treewithsiblings
... | 38.4 | 92 | 0.752604 |
197e1694e14d349c800f732601a0862d0ee12c7f | 17,690 | asm | Assembly | lib/avx2/sha256_oct_avx2.asm | ipuustin/intel-ipsec-mb | 2bddb438b1a7791abd84d14a6aebbff36ffeca58 | [
"BSD-3-Clause"
] | null | null | null | lib/avx2/sha256_oct_avx2.asm | ipuustin/intel-ipsec-mb | 2bddb438b1a7791abd84d14a6aebbff36ffeca58 | [
"BSD-3-Clause"
] | null | null | null | lib/avx2/sha256_oct_avx2.asm | ipuustin/intel-ipsec-mb | 2bddb438b1a7791abd84d14a6aebbff36ffeca58 | [
"BSD-3-Clause"
] | null | null | null | ;;
;; Copyright (c) 2012-2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... | 30.033956 | 81 | 0.749237 |
b7591989c58e94141c3d37919cc61a1bf52502f4 | 562 | cs | C# | source/cltrigger/Configuration/TriggerConfig.cs | corlib/trigger | c8b993b3b2c7f4d7a22f6023b8b66f5b65dc4f52 | [
"MIT"
] | null | null | null | source/cltrigger/Configuration/TriggerConfig.cs | corlib/trigger | c8b993b3b2c7f4d7a22f6023b8b66f5b65dc4f52 | [
"MIT"
] | null | null | null | source/cltrigger/Configuration/TriggerConfig.cs | corlib/trigger | c8b993b3b2c7f4d7a22f6023b8b66f5b65dc4f52 | [
"MIT"
] | null | null | null |
namespace Corlib.Configuration {
public class TriggerConfig {
public string TriggerFile { get; set; }
public ProcessAction ProcessAction { get; set; }
public TriggerType GetTriggerType () {
if (!string.IsNullOrWhiteSpace (TriggerFile))
return TriggerType.File... | 24.434783 | 57 | 0.587189 |