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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4cd9481798f4a603b7012e1e4b42649ff8973906 | 111 | py | Python | Math/algebra/addition/python/add.py | rishiosaur/beginners-only | 5466f99ccf7f32ba20f911a79d2cc6015a27b6e9 | [
"MIT"
] | 16 | 2019-10-06T13:31:17.000Z | 2022-02-17T12:49:05.000Z | Math/algebra/addition/python/add.py | rishiosaur/beginners-only | 5466f99ccf7f32ba20f911a79d2cc6015a27b6e9 | [
"MIT"
] | 26 | 2019-10-05T06:11:35.000Z | 2020-11-17T13:16:02.000Z | Math/algebra/addition/python/add.py | rishiosaur/beginners-only | 5466f99ccf7f32ba20f911a79d2cc6015a27b6e9 | [
"MIT"
] | 88 | 2019-10-05T08:16:46.000Z | 2021-10-01T09:24:39.000Z | def add(first,second):
"""Adds two numbers"""
return first + second
if __name__ == "__main__":
add(2,3)
| 15.857143 | 26 | 0.63964 |
65e01ff87f73dc9e759d6fd7be5145790b7da5c4 | 258 | dart | Dart | lib/utils.dart | loloof64/GenericDice | 90bad2cbb593af0adbecde4463542273b1070450 | [
"MIT"
] | null | null | null | lib/utils.dart | loloof64/GenericDice | 90bad2cbb593af0adbecde4463542273b1070450 | [
"MIT"
] | null | null | null | lib/utils.dart | loloof64/GenericDice | 90bad2cbb593af0adbecde4463542273b1070450 | [
"MIT"
] | null | null | null | String replaceVariables(String message, Map<String, String> variables) {
for (var entry in variables.entries) {
final currKey = entry.key;
final currVal = entry.value;
message = message.replaceAll("[$currKey]", currVal);
}
return message;
} | 32.25 | 72 | 0.70155 |
88725318b71d78f48ed46e5e2346e206bc2980e0 | 158 | dart | Dart | lib/src/data_converter.dart | karbunkul/flutter_any_to_widget | 985b453e053f76bddd8444bfc5de222801f3ca0f | [
"MIT"
] | null | null | null | lib/src/data_converter.dart | karbunkul/flutter_any_to_widget | 985b453e053f76bddd8444bfc5de222801f3ca0f | [
"MIT"
] | null | null | null | lib/src/data_converter.dart | karbunkul/flutter_any_to_widget | 985b453e053f76bddd8444bfc5de222801f3ca0f | [
"MIT"
] | null | null | null | import 'package:flutter/widgets.dart';
abstract class DataConverter {
bool hasMatch(dynamic data);
Widget convert(BuildContext context, dynamic data);
}
| 22.571429 | 53 | 0.778481 |
c67c958ffc2201b813625c1c97feb05fbc636b55 | 1,108 | py | Python | tools/get_raw_calltips.py | CoppeliaRobotics/zmqRemoteApi | 826be2ac8b7a7561be9709732d854f46963e60a6 | [
"BSD-3-Clause"
] | 4 | 2021-11-22T11:55:56.000Z | 2022-03-01T02:12:04.000Z | tools/get_raw_calltips.py | CoppeliaRobotics/zmqRemoteApi | 826be2ac8b7a7561be9709732d854f46963e60a6 | [
"BSD-3-Clause"
] | null | null | null | tools/get_raw_calltips.py | CoppeliaRobotics/zmqRemoteApi | 826be2ac8b7a7561be9709732d854f46963e60a6 | [
"BSD-3-Clause"
] | 2 | 2022-01-29T17:47:54.000Z | 2022-02-02T18:25:05.000Z | if __name__ == '__main__':
import sys
if len(sys.argv) != 2:
print(f'usage: {sys.argv[0]} <output-file.json>')
sys.exit(2)
try:
import json
from zmqRemoteApi import RemoteAPIClient
client = RemoteAPIClient()
sim = client.getObject('sim')
def progr... | 29.157895 | 68 | 0.475632 |
ae3a3e4727e4687235808f7b412656426670b064 | 2,324 | cshtml | C# | fi.retorch.com/fi.retorch.com/Areas/Dashboard/Views/Transactions/_Delete.cshtml | jcbeck37/fi-retorch | 123557106e8d4b946a4dd5285acbe41acd2a56ff | [
"MIT"
] | null | null | null | fi.retorch.com/fi.retorch.com/Areas/Dashboard/Views/Transactions/_Delete.cshtml | jcbeck37/fi-retorch | 123557106e8d4b946a4dd5285acbe41acd2a56ff | [
"MIT"
] | null | null | null | fi.retorch.com/fi.retorch.com/Areas/Dashboard/Views/Transactions/_Delete.cshtml | jcbeck37/fi-retorch | 123557106e8d4b946a4dd5285acbe41acd2a56ff | [
"MIT"
] | null | null | null | @model fi.retorch.com.Areas.Dashboard.Models.TransactionModel
<div class="modal-header hide">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Delete Transaction</h4>
</div>
<div class="modal-body">
<dl>
<dt>
@Html.DisplayNameFor(model ... | 27.023256 | 128 | 0.509466 |
92ef7b7be633ed77324ef7acfbf7fdc6a03ecee8 | 337 | cql | SQL | embedded-cassandra-extension-example/src/test/resources/com/myorg/cassandra/extension/example/database/repository/external-simple-insert.cql | shaileshre/embedded-cassandra-extension | e5af84514a719d5b378c07e810bb9f197d1084d0 | [
"Apache-2.0"
] | 1 | 2019-09-04T00:07:54.000Z | 2019-09-04T00:07:54.000Z | embedded-cassandra-extension-example/src/test/resources/com/myorg/cassandra/extension/example/database/repository/external-simple-insert.cql | shaileshre/embedded-cassandra-extension | e5af84514a719d5b378c07e810bb9f197d1084d0 | [
"Apache-2.0"
] | null | null | null | embedded-cassandra-extension-example/src/test/resources/com/myorg/cassandra/extension/example/database/repository/external-simple-insert.cql | shaileshre/embedded-cassandra-extension | e5af84514a719d5b378c07e810bb9f197d1084d0 | [
"Apache-2.0"
] | null | null | null | INSERT INTO myTable(id, value) values('myKey01','myValue01');
INSERT INTO myTable(id, value) values('myKey02','myValue02');
//INSERT INTO myTable(id, value, description) values('myKey01','myValue01', 'schema validation example');
//INSERT INTO myTable(id, value, description) values('myKey02','myValue02', 'schema vali... | 56.166667 | 105 | 0.747774 |
c2d2ed3b922f6c0c19b48202e68cde04aa6d4826 | 255 | sql | SQL | spring/src/main/resources/schema.sql | linksgo2011/java-self-testing-example | ef381aab16366e54eb54d19021e5f832f25f0f8f | [
"Apache-2.0"
] | 8 | 2020-11-11T01:31:36.000Z | 2022-02-15T11:18:05.000Z | spring/src/main/resources/schema.sql | linksgo2011/java-self-testing-example | ef381aab16366e54eb54d19021e5f832f25f0f8f | [
"Apache-2.0"
] | null | null | null | spring/src/main/resources/schema.sql | linksgo2011/java-self-testing-example | ef381aab16366e54eb54d19021e5f832f25f0f8f | [
"Apache-2.0"
] | 2 | 2020-08-09T03:33:59.000Z | 2020-11-10T08:54:55.000Z | CREATE TABLE user (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`username` varchar(255) DEFAULT '' COMMENT '用户名',
`password` varchar(255) DEFAULT '' COMMENT '密码',
`createAt` datetime NOT NULL,
`updateAt` datetime NOT NULL
);
| 31.875 | 57 | 0.666667 |
97b690d7fe532a3d6af2c18fb65635cf2e358365 | 1,765 | go | Go | alsa/list_devices.go | gurupras/dhwani_backend_p2p | 5369d58f25bc76e0f7b4d685d60b116baff634fd | [
"MIT"
] | null | null | null | alsa/list_devices.go | gurupras/dhwani_backend_p2p | 5369d58f25bc76e0f7b4d685d60b116baff634fd | [
"MIT"
] | null | null | null | alsa/list_devices.go | gurupras/dhwani_backend_p2p | 5369d58f25bc76e0f7b4d685d60b116baff634fd | [
"MIT"
] | null | null | null | package alsa
import (
"fmt"
"strings"
"github.com/gurupras/dhwani_backend_p2p/types"
log "github.com/sirupsen/logrus"
"github.com/yobert/alsa"
)
func ListDevicesWithLib() ([]*types.AudioDevice, error) {
cards, err := alsa.OpenCards()
if err != nil {
return nil, err
}
log.Debugf("Got %v cards\n", len(cards... | 29.915254 | 103 | 0.634561 |
dfdc8d01e3c584325a033a0e044b1b505e49efd8 | 267 | cs | C# | LooseLeaf.Business/Models/Results/IUserResult.cs | 2102-feb08-net/team1-p2 | 16a7ceb41d0de0fff89e7a09926fb78cf5de062d | [
"MIT"
] | null | null | null | LooseLeaf.Business/Models/Results/IUserResult.cs | 2102-feb08-net/team1-p2 | 16a7ceb41d0de0fff89e7a09926fb78cf5de062d | [
"MIT"
] | 9 | 2021-03-12T20:52:28.000Z | 2021-03-18T23:49:32.000Z | LooseLeaf.Business/Models/Results/IUserResult.cs | 2102-feb08-net/team1-p2 | 16a7ceb41d0de0fff89e7a09926fb78cf5de062d | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LooseLeaf.Business.Models.Results
{
public interface IUserResult
{
int Id { get; }
string Username { get; }
}
} | 19.071429 | 43 | 0.692884 |
be05c3adbfb4b95028a4605d8d72a6a0fdfb9a19 | 2,524 | ts | TypeScript | packages/gitbeaker-core/test/unit/templates/ResourceDiscussions.ts | vboulaye/gitbeaker | 8290c7f1db29e2fa52b663c6118188a3adfae070 | [
"MIT"
] | null | null | null | packages/gitbeaker-core/test/unit/templates/ResourceDiscussions.ts | vboulaye/gitbeaker | 8290c7f1db29e2fa52b663c6118188a3adfae070 | [
"MIT"
] | null | null | null | packages/gitbeaker-core/test/unit/templates/ResourceDiscussions.ts | vboulaye/gitbeaker | 8290c7f1db29e2fa52b663c6118188a3adfae070 | [
"MIT"
] | null | null | null | import { ResourceDiscussions } from '../../../src/templates';
import { RequestHelper } from '../../../src/infrastructure';
jest.mock(
'../../../src/infrastructure/RequestHelper',
() => require('../../__mocks__/RequestHelper').default,
);
let service: ResourceDiscussions;
beforeEach(() => {
service = new Resour... | 26.020619 | 96 | 0.619255 |
6220c1942b6b0e4588eeeea941141107756e064b | 5,623 | sql | SQL | application/install/data/opensmarty-v1.0.0.sql | opensmarty/learntp5 | e4d6484f99c3448522d4a63f64bf61a2721ab3f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | application/install/data/opensmarty-v1.0.0.sql | opensmarty/learntp5 | e4d6484f99c3448522d4a63f64bf61a2721ab3f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | application/install/data/opensmarty-v1.0.0.sql | opensmarty/learntp5 | e4d6484f99c3448522d4a63f64bf61a2721ab3f6 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50553
Source Host : 127.0.0.1:3306
Source Database : os
Target Server Type : MYSQL
Target Server Version : 50553
File Encoding : 65001
Date: 2017-09-16 19:00:31
*/
SET FOREIGN_KEY_CHECKS=0;
-- ------... | 47.252101 | 296 | 0.587587 |
e08c6f4d325bad601d9cf9a1e2c73a7c10fa4379 | 2,092 | lua | Lua | lua/starfall/libs_sh/game.lua | shantih19/StarfallEx | ad7b5ea0a51da5067d606a1293c97f7a74a4cd47 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1 | 2020-03-20T12:04:24.000Z | 2020-03-20T12:04:24.000Z | lua/starfall/libs_sh/game.lua | shantih19/StarfallEx | ad7b5ea0a51da5067d606a1293c97f7a74a4cd47 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null | lua/starfall/libs_sh/game.lua | shantih19/StarfallEx | ad7b5ea0a51da5067d606a1293c97f7a74a4cd47 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | null | null | null |
--- Game functions
-- @name game
-- @class library
-- @libtbl game_library
SF.RegisterLibrary("game")
return function(instance)
local game_library = instance.Libraries.game
local vwrap = instance.Types.Vector.Wrap
--- Returns the map name
-- @name game_library.getMap
-- @class function
-- @return string The name o... | 27.893333 | 90 | 0.75478 |
5f331f3d905b84a581308e0fc968027d0cfbd7a4 | 629 | lua | Lua | tests/max.lua | LuaDist-testing/rxlua | e46612c14b45b0181ffaf2dde47328a7a56b07b4 | [
"MIT"
] | null | null | null | tests/max.lua | LuaDist-testing/rxlua | e46612c14b45b0181ffaf2dde47328a7a56b07b4 | [
"MIT"
] | null | null | null | tests/max.lua | LuaDist-testing/rxlua | e46612c14b45b0181ffaf2dde47328a7a56b07b4 | [
"MIT"
] | null | null | null | describe('max', function()
it('produces an error if its parent errors', function()
local observable = Rx.Observable.fromValue(''):map(function(x) return x() end)
expect(observable.subscribe).to.fail()
expect(observable:max().subscribe).to.fail()
end)
it('produces an error if one of the values produce... | 34.944444 | 82 | 0.704293 |
218a4a18429fc8d6081f648d1fb01c71048eb12a | 426 | js | JavaScript | test/browser.stub.js | log4b0at/pegjs | fe63207fbfcb23ff5fd6f8d77db2255b2ecdbc45 | [
"MIT"
] | 3,299 | 2015-01-02T21:48:38.000Z | 2022-03-29T14:32:43.000Z | test/browser.stub.js | manbaum/pegjs | aadea922fc6270a9c31aa16d10a78371a09dba0c | [
"MIT"
] | 441 | 2015-01-01T15:14:35.000Z | 2022-03-11T07:28:51.000Z | test/browser.stub.js | manbaum/pegjs | aadea922fc6270a9c31aa16d10a78371a09dba0c | [
"MIT"
] | 402 | 2015-01-04T16:39:44.000Z | 2022-03-04T07:39:50.000Z | /* globals mocha */
"use strict";
/*
This file is loaded through Webpack to automatically get mocha test files,
and create a valid bundled file that executes on the browser.
*/
require( "mocha/mocha.js" );
mocha.setup( {
reporter: "html",
ui: "bdd",
} );
const context = require.context( "./", tru... | 17.75 | 78 | 0.626761 |
a34a3dba4572db6500e34a712a3ea7b19e948e70 | 1,325 | java | Java | client/hotrod-client/src/test/java/org/infinispan/client/hotrod/TransportObjectFactoryTest.java | blueblueblue/infinispan | 9299bfa935ca9c0c3178f323da57de7b83243c42 | [
"Apache-2.0"
] | null | null | null | client/hotrod-client/src/test/java/org/infinispan/client/hotrod/TransportObjectFactoryTest.java | blueblueblue/infinispan | 9299bfa935ca9c0c3178f323da57de7b83243c42 | [
"Apache-2.0"
] | null | null | null | client/hotrod-client/src/test/java/org/infinispan/client/hotrod/TransportObjectFactoryTest.java | blueblueblue/infinispan | 9299bfa935ca9c0c3178f323da57de7b83243c42 | [
"Apache-2.0"
] | null | null | null | package org.infinispan.client.hotrod;
import org.infinispan.client.hotrod.exceptions.TransportException;
import org.infinispan.client.hotrod.impl.protocol.Codec;
import org.infinispan.client.hotrod.impl.protocol.HeaderParams;
import org.infinispan.client.hotrod.impl.transport.Transport;
import org.infinispan.client.ho... | 37.857143 | 106 | 0.783396 |
25ac5eed9e4cf2d6485d64a9139cb9418e8fec84 | 601 | cs | C# | src/Core/Riganti.Selenium.Core/Factories/Implementation/ChromeFastWebBrowserFactory.cs | JaskaRoman/selenium-utils | a29ea4a01062181f43cf88eb4cb85de316f3687b | [
"Apache-2.0"
] | 11 | 2016-06-20T05:13:40.000Z | 2021-11-07T20:18:49.000Z | src/Core/Riganti.Selenium.Core/Factories/Implementation/ChromeFastWebBrowserFactory.cs | JaskaRoman/selenium-utils | a29ea4a01062181f43cf88eb4cb85de316f3687b | [
"Apache-2.0"
] | 6 | 2016-07-21T15:40:05.000Z | 2020-12-06T23:20:59.000Z | src/Core/Riganti.Selenium.Core/Factories/Implementation/ChromeFastWebBrowserFactory.cs | JaskaRoman/selenium-utils | a29ea4a01062181f43cf88eb4cb85de316f3687b | [
"Apache-2.0"
] | 7 | 2016-09-08T23:56:27.000Z | 2021-07-15T18:19:48.000Z | using Riganti.Selenium.Core.Drivers;
using Riganti.Selenium.Core.Drivers.Implementation;
using Riganti.Selenium.Core.Configuration;
using Riganti.Selenium.Core.Logging;
namespace Riganti.Selenium.Core.Factories.Implementation
{
public class ChromeFastWebBrowserFactory : FastLocalWebBrowserFactory
{
pu... | 28.619048 | 81 | 0.717138 |
ffac789ff31fabc5265b4277a42f097ed847a381 | 3,237 | py | Python | samples/oci-apigw-display-httprequest-info-python/func.py | ojasvajain/oracle-functions-samples | 268fe177e50349fa4d826be6370493b3d678506d | [
"Apache-2.0"
] | 1 | 2022-01-18T05:45:13.000Z | 2022-01-18T05:45:13.000Z | samples/oci-apigw-display-httprequest-info-python/func.py | ojasvajain/oracle-functions-samples | 268fe177e50349fa4d826be6370493b3d678506d | [
"Apache-2.0"
] | null | null | null | samples/oci-apigw-display-httprequest-info-python/func.py | ojasvajain/oracle-functions-samples | 268fe177e50349fa4d826be6370493b3d678506d | [
"Apache-2.0"
] | null | null | null | #
# oci-apigw-display-httprequest-info-python version 1.0.
#
# Copyright (c) 2020 Oracle, Inc.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
#
import io
import json
import oci
import logging
from urllib.parse import urlparse, parse_qs
from fdk import response... | 32.69697 | 104 | 0.646277 |
1aa558c3c13239795a2a352fa48c8deccece5133 | 3,541 | cshtml | C# | EES.MvcUI/Views/Home/EvaluateDepartmentalWorkers.cshtml | bseker/EES | 7e04587a9cd44f12e8f27a222a1359cf54553849 | [
"Apache-2.0"
] | null | null | null | EES.MvcUI/Views/Home/EvaluateDepartmentalWorkers.cshtml | bseker/EES | 7e04587a9cd44f12e8f27a222a1359cf54553849 | [
"Apache-2.0"
] | null | null | null | EES.MvcUI/Views/Home/EvaluateDepartmentalWorkers.cshtml | bseker/EES | 7e04587a9cd44f12e8f27a222a1359cf54553849 | [
"Apache-2.0"
] | null | null | null | @model EES.MvcUI.Models.EvaluateViewModel
@{
ViewBag.Title = "EvaluateDepartmentalWorkers";
Layout = "~/Views/Shared/_PublicLayout.cshtml";
}
<h2 class="alert-info">Evaluate Department Employees</h2>
<div class="container">
<div class="row-border">
<h4>Evaluated Employee Details</h4>
<tab... | 39.786517 | 156 | 0.448178 |
471e5b42a538d2561905e8585a52e38a001774e2 | 2,227 | lua | Lua | Lua/Game/MainUI/MainUITaskView.lua | BitcoinSolution/UnityMMO | 16729ef0e7a1d6acdf6ed33cf0890d7be730ec6b | [
"MIT"
] | 1,083 | 2018-07-19T07:52:49.000Z | 2022-03-31T09:34:22.000Z | Lua/Game/MainUI/MainUITaskView.lua | BitcoinSolution/UnityMMO | 16729ef0e7a1d6acdf6ed33cf0890d7be730ec6b | [
"MIT"
] | 32 | 2019-03-21T02:59:49.000Z | 2021-11-09T12:03:12.000Z | Lua/Game/MainUI/MainUITaskView.lua | BitcoinSolution/UnityMMO | 16729ef0e7a1d6acdf6ed33cf0890d7be730ec6b | [
"MIT"
] | 312 | 2018-08-14T07:48:07.000Z | 2022-03-31T09:30:49.000Z | local MainUITaskView = BaseClass(UINode)
function MainUITaskView:Constructor( parentTrans )
self.viewCfg = {
prefabPath = "Assets/AssetBundleRes/ui/mainui/MainUITaskView.prefab",
parentTrans = parentTrans,
}
self.model = TaskModel:GetInstance()
self:Load()
end
function MainUITaskView:OnLoad( )
local names ... | 29.693333 | 89 | 0.747643 |
da7168c6e64aab5f82d33ac9b19309b80cb816a8 | 172 | sh | Shell | scripts/install-awscli.sh | rssnyder/docker-linux-dev-box | 1bac09eb9775ae98bc61a115ac67f003b8549e1d | [
"MIT"
] | 2 | 2021-08-23T20:43:41.000Z | 2021-09-05T12:31:53.000Z | scripts/install-awscli.sh | rssnyder/docker-linux-dev-box | 1bac09eb9775ae98bc61a115ac67f003b8549e1d | [
"MIT"
] | 3 | 2021-03-26T00:43:56.000Z | 2021-08-23T18:53:05.000Z | scripts/install-awscli.sh | rssnyder/docker-linux-dev-box | 1bac09eb9775ae98bc61a115ac67f003b8549e1d | [
"MIT"
] | 3 | 2021-03-25T19:47:19.000Z | 2022-02-09T07:00:42.000Z | #!/bin/zsh
# Install AWS CLI
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install
# Cleanup
rm awscliv2.zip
| 17.2 | 81 | 0.738372 |
0dc8214fa6e888efdcea522eccff24059fa2b511 | 4,619 | cs | C# | projects/Fishomatic/src/MainWindow.xaml.cs | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 2 | 2020-11-11T16:19:04.000Z | 2021-01-19T01:53:29.000Z | projects/Fishomatic/src/MainWindow.xaml.cs | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2020-07-27T09:00:21.000Z | 2020-07-27T10:58:10.000Z | projects/Fishomatic/src/MainWindow.xaml.cs | psryland/rylogic_code | f79e471fe0d6714c5e0cf8385ddc2a88ab2e082b | [
"CNRI-Python"
] | 1 | 2021-04-04T01:39:55.000Z | 2021-04-04T01:39:55.000Z | using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Rylogic.Extn.Windows;
using Rylogic.Gui.WPF;
using Rylogic.Interop.Win32;
using Rylogic.Utility;
using Rectangle = System.Drawing.Rectangle;
namespace Fishomatic
{
public partial class MainW... | 27.658683 | 173 | 0.682399 |
db93f757b6e53b796463f5c93d52d77c582b0dab | 13,857 | php | PHP | vendor/jackalope/jackalope-doctrine-dbal/tests/Jackalope/Test/Fixture/DBUnitFixtureXML.php | tuanduong279/sylius-standard-recommandation | 51ba46ae5db42a0ee07effefcb78c897955ed434 | [
"MIT"
] | null | null | null | vendor/jackalope/jackalope-doctrine-dbal/tests/Jackalope/Test/Fixture/DBUnitFixtureXML.php | tuanduong279/sylius-standard-recommandation | 51ba46ae5db42a0ee07effefcb78c897955ed434 | [
"MIT"
] | null | null | null | vendor/jackalope/jackalope-doctrine-dbal/tests/Jackalope/Test/Fixture/DBUnitFixtureXML.php | tuanduong279/sylius-standard-recommandation | 51ba46ae5db42a0ee07effefcb78c897955ed434 | [
"MIT"
] | null | null | null | <?php
namespace Jackalope\Test\Fixture;
use PHPCR\Util\PathHelper;
use PHPCR\Util\UUIDHelper;
/**
* Convert Jackalope Document or System Views into PHPUnit DBUnit Fixture XML files.
*
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author cryptocompress <cryptocompress@googlemail.com>
*/
class DBUnitFixture... | 33.230216 | 160 | 0.501552 |
51fa8f79ba06f83d32da6f3a363724896c23ceb1 | 346 | sh | Shell | resources/secure/vlc_front.sh | hcfman/sbts-install | 0bd2fbfc27d5898776117c4087daf4c8dcd7202e | [
"Apache-2.0"
] | 5 | 2021-08-07T20:22:08.000Z | 2022-02-22T02:40:07.000Z | resources/secure/vlc_front.sh | hcfman/sbts-install | 0bd2fbfc27d5898776117c4087daf4c8dcd7202e | [
"Apache-2.0"
] | null | null | null | resources/secure/vlc_front.sh | hcfman/sbts-install | 0bd2fbfc27d5898776117c4087daf4c8dcd7202e | [
"Apache-2.0"
] | null | null | null | #!/bin/sh
while [ 1 ] ; do
cvlc -v rtsp://myusername:mypassword@192.1.2.3/PSI/streaming/channels/102 --http-reconnect \
--sout-keep --sout '#duplicate{dst=std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a,user=santa,pwd=youtube},mux=mpjpeg,dst=:8100/front/video.jpg}}' vlc... | 43.25 | 201 | 0.731214 |
e22108ba35c0a279db52ef2538b93dd3b60a05cd | 819 | rs | Rust | src/model.rs | MorRutPlz/home | 71aa5eb385941fca421d7ceaf8b3389871c295f0 | [
"MIT"
] | null | null | null | src/model.rs | MorRutPlz/home | 71aa5eb385941fca421d7ceaf8b3389871c295f0 | [
"MIT"
] | 2 | 2021-02-18T02:40:24.000Z | 2021-03-01T18:53:29.000Z | src/model.rs | MorRutPlz/home | 71aa5eb385941fca421d7ceaf8b3389871c295f0 | [
"MIT"
] | null | null | null | use serde::{
ser::{SerializeStruct, Serializer},
Deserialize, Serialize,
};
use serenity::model::id::{ChannelId, UserId};
#[derive(Clone, Deserialize, PartialEq, Eq)]
pub struct RoomInfo {
#[serde(rename = "a")]
pub owner: UserId,
#[serde(rename = "b")]
pub channel_ids: Vec<ChannelId>,
}
impl ... | 24.818182 | 68 | 0.533578 |
a914719655de54bb196a2534394f140136a67fa8 | 1,738 | css | CSS | samples/effects/combo_sample.css | melvinhgf/Spry | b333bb5ab9582f9a59f413782891e644104f5f20 | [
"MIT"
] | 74 | 2015-01-14T16:03:03.000Z | 2022-01-08T05:43:10.000Z | samples/effects/combo_sample.css | fvignals/Spry | e208b89ebdeee6c05a4707e433c9bfb007b986e9 | [
"MIT"
] | 5 | 2016-11-04T17:47:52.000Z | 2018-06-20T14:32:59.000Z | samples/effects/combo_sample.css | fvignals/Spry | e208b89ebdeee6c05a4707e433c9bfb007b986e9 | [
"MIT"
] | 77 | 2015-01-07T23:49:45.000Z | 2022-03-14T06:31:24.000Z | #container {
position: relative;
width: 890px;
margin: 0 0 0 0;
text-align: left;
}
.Accordion {
overflow: hidden;
}
.AccordionPanelLabel {
border-top: 4px;
padding: 2px;
cursor: pointer;
border-top-style: solid;
line-height: 14px;
font-weight: bold;
width: 150px;
border-top-color: #CCCCCC;
}
.AccordionPan... | 15.517857 | 64 | 0.6916 |
5aea40a9f22e81c712633e61cf643f488cd0298d | 2,505 | cs | C# | Assets/JumpRace3D/Scripts/UIs/EndScreenUI.cs | deadlykam/JumpRace3D | 88a39d2fb500a7f2f693f906c4af738403f7b8e0 | [
"MIT"
] | 1 | 2020-07-02T11:41:21.000Z | 2020-07-02T11:41:21.000Z | Assets/JumpRace3D/Scripts/UIs/EndScreenUI.cs | deadlykam/JumpRace3D | 88a39d2fb500a7f2f693f906c4af738403f7b8e0 | [
"MIT"
] | 72 | 2020-05-29T10:14:44.000Z | 2020-06-21T22:33:34.000Z | Assets/JumpRace3D/Scripts/UIs/EndScreenUI.cs | deadlykam/JumpRace3D | 88a39d2fb500a7f2f693f906c4af738403f7b8e0 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class EndScreenUI : BasicUI
{
[Header("End Screen UI Properties")]
[SerializeField]
private TextMeshProUGUI[] _posTexts; // Position texts
[SerializeField]
private GameObject[] _posBacks... | 30.925926 | 69 | 0.528144 |
b9014337ab1bb59354a754e6516f92c96ff94190 | 1,080 | css | CSS | build/css/demo-styles.css | kashyapvicky/gogreen | 96c9fe61e8d51e54d271f6f2b79824fafa9d25d2 | [
"MIT"
] | null | null | null | build/css/demo-styles.css | kashyapvicky/gogreen | 96c9fe61e8d51e54d271f6f2b79824fafa9d25d2 | [
"MIT"
] | null | null | null | build/css/demo-styles.css | kashyapvicky/gogreen | 96c9fe61e8d51e54d271f6f2b79824fafa9d25d2 | [
"MIT"
] | null | null | null | *, *:before, *:after {
box-sizing: border-box;
}
*, body, button, input, textarea, select {
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
table {
... | 14.594595 | 98 | 0.618519 |
a44a52aea58a9ba44e6f6c1524a82727c5d39329 | 1,762 | h | C | src/exceptions.h | MartanJe/ant-wars | f135b938ffa9ea2eff0beaa8f71fed8e60a26ad1 | [
"MIT"
] | 1 | 2021-07-05T13:29:29.000Z | 2021-07-05T13:29:29.000Z | src/exceptions.h | MartanJe/ant-wars | f135b938ffa9ea2eff0beaa8f71fed8e60a26ad1 | [
"MIT"
] | 1 | 2021-07-05T13:34:04.000Z | 2021-07-05T13:34:04.000Z | src/exceptions.h | jencmart/ant-wars | f135b938ffa9ea2eff0beaa8f71fed8e60a26ad1 | [
"MIT"
] | null | null | null | //
// Created by jencmart on 5/28/17.
//
#ifndef ANTWARS_EXCEPTIONS_H
#define ANTWARS_EXCEPTIONS_H
#include <iostream>
///*************************************************************************************************
///******************************* CLASSES OF EXCEPTION *****************************************... | 25.536232 | 100 | 0.562997 |
14e0c695485e3eaf2aa5800251ba11b7c03ce570 | 1,360 | ts | TypeScript | src/flags.ts | kfrz/developer-portal | de98e6f0a83deabda451b69312b4594ca29c6b1c | [
"CC0-1.0"
] | null | null | null | src/flags.ts | kfrz/developer-portal | de98e6f0a83deabda451b69312b4594ca29c6b1c | [
"CC0-1.0"
] | 22 | 2020-11-11T08:26:37.000Z | 2021-07-30T07:27:16.000Z | src/flags.ts | ediiotero/developer-portal | 8c0c227bec3dba24a16af3e72dc32621d5206a8f | [
"CC0-1.0"
] | null | null | null | import createFlags from 'flag';
import { getDeactivatedFlags } from './apiDefs/deprecated';
import { getCategoryFlags, getEnvFlags } from './apiDefs/env';
import { getAllApis } from './apiDefs/query';
import { APIDescription } from './apiDefs/schema';
export interface AppFlags {
categories: { [categoryId: string]: b... | 34 | 91 | 0.711029 |
c34ce6ce451bfec648fcea269f1f1056ea567677 | 1,064 | cs | C# | HelpForHire/ModEntry.cs | wally232/StardewMods-2 | 1030d5720d3ceceefb54112a381d46f48428d3f4 | [
"MIT"
] | null | null | null | HelpForHire/ModEntry.cs | wally232/StardewMods-2 | 1030d5720d3ceceefb54112a381d46f48428d3f4 | [
"MIT"
] | null | null | null | HelpForHire/ModEntry.cs | wally232/StardewMods-2 | 1030d5720d3ceceefb54112a381d46f48428d3f4 | [
"MIT"
] | null | null | null | namespace HelpForHire;
using Chores;
using Common.Helpers;
using StardewModdingAPI;
using StardewModdingAPI.Events;
public class ModEntry : Mod
{
internal ServiceLocator ServiceLocator { get; private set; }
/// <inheritdoc />
public override void Entry(IModHelper helper)
{
// Init
Lo... | 26.6 | 124 | 0.592105 |
93ce1f1f4169475f29b28abc33e4df06e863c92a | 2,012 | cs | C# | Assets/Scripts/Chunks/Lighting/DayNightCycle.cs | Delt06/voxel-terrain | c46490c7c4c93b14c8bb9dcdca4ad7ada9eba2fe | [
"MIT"
] | 11 | 2021-06-24T10:21:07.000Z | 2022-03-13T03:57:56.000Z | Assets/Scripts/Chunks/Lighting/DayNightCycle.cs | codingwatching/voxel-terrain | fa141c2b86350a30bb4a2351ff723dff677dc012 | [
"MIT"
] | 1 | 2021-06-27T21:25:10.000Z | 2021-06-27T21:33:55.000Z | Assets/Scripts/Chunks/Lighting/DayNightCycle.cs | codingwatching/voxel-terrain | fa141c2b86350a30bb4a2351ff723dff677dc012 | [
"MIT"
] | 5 | 2021-07-20T09:08:08.000Z | 2022-01-12T01:58:49.000Z | using UnityEngine;
namespace Chunks.Lighting
{
public class DayNightCycle : MonoBehaviour
{
[SerializeField, Min(0f)] private float _dayDuration = 60f;
[SerializeField, Min(0f)] private float _nightDuration = 30f;
[SerializeField] private Gradient _sunlightColor = default;
[Ser... | 35.928571 | 104 | 0.60835 |
52073cd1317556ea35eff8b0534a2c27f9619b0a | 1,293 | ps1 | PowerShell | .ci/run-repository.ps1 | romansp/elasticsearch-net | 0020ff3df6c35bc95407a58e23c91c1d8e975139 | [
"Apache-2.0"
] | null | null | null | .ci/run-repository.ps1 | romansp/elasticsearch-net | 0020ff3df6c35bc95407a58e23c91c1d8e975139 | [
"Apache-2.0"
] | null | null | null | .ci/run-repository.ps1 | romansp/elasticsearch-net | 0020ff3df6c35bc95407a58e23c91c1d8e975139 | [
"Apache-2.0"
] | null | null | null | # ELASTICSEARCH_URL -- The url at which elasticsearch is reachable
# NETWORK_NAME -- The docker network name
# NODE_NAME -- The docker container name also used as Elasticsearch node name
# DOTNET_VERSION -- SDK version (defined in test-matrix.yml, a default is hardcoded here)
param(
[System.Uri]
$ELASTICSEARCH... | 30.785714 | 108 | 0.658159 |
7dd9b11729988c82616512cd9f3729ec924f555d | 992 | css | CSS | react-ui/src/Components/App.css | Megan-Vasconcelos/Tweets | ec09a02152ee4cc2c13e8ee2bfcf58e6abc5ab6a | [
"MIT"
] | null | null | null | react-ui/src/Components/App.css | Megan-Vasconcelos/Tweets | ec09a02152ee4cc2c13e8ee2bfcf58e6abc5ab6a | [
"MIT"
] | null | null | null | react-ui/src/Components/App.css | Megan-Vasconcelos/Tweets | ec09a02152ee4cc2c13e8ee2bfcf58e6abc5ab6a | [
"MIT"
] | null | null | null | .h2{
font-family: 'Alfa Slab One', cursive;
margin-top: 0;
}
.images{
display: flex;
justify-content:center;
padding-top:15px;
box-shadow: 2px;
}
.image2{
padding-left:50px;
}
.main-content{
background-color:#8ce4df;
min-height:750px;
max-width:100%;
justify-conte... | 15.746032 | 48 | 0.585685 |
b882b4773a17771f0a9cf60fe652dbfa3481dd82 | 141 | h | C | stopwatch.h | richardwalenga/csort | 0b24ebac5ecb7bc55056bb7a577a1524339f84d7 | [
"MIT"
] | null | null | null | stopwatch.h | richardwalenga/csort | 0b24ebac5ecb7bc55056bb7a577a1524339f84d7 | [
"MIT"
] | null | null | null | stopwatch.h | richardwalenga/csort | 0b24ebac5ecb7bc55056bb7a577a1524339f84d7 | [
"MIT"
] | null | null | null | #ifndef _STOPWATCH_H
#define _STOPWATCH_H
#include <time.h>
clock_t stopwatch_start();
int stopwatch_elapsed_milliseconds(clock_t);
#endif | 15.666667 | 44 | 0.815603 |
af8ce765071c229a12232eb21a0bd6781e04312b | 4,888 | py | Python | src/CIFAR-10/model7.py | MarwanAlaa94/Colorizing-with-GANs | c4369fc435e6068dd6ebe4377c9af99acd08036c | [
"Apache-2.0"
] | 1 | 2021-12-08T14:08:27.000Z | 2021-12-08T14:08:27.000Z | src/CIFAR-10/model7.py | MarwanAlaa94/Colorizing-with-GANs | c4369fc435e6068dd6ebe4377c9af99acd08036c | [
"Apache-2.0"
] | 1 | 2021-06-17T15:00:58.000Z | 2021-06-17T15:00:58.000Z | src/CIFAR-10/model7.py | MarwanAlaa94/Colorizing-with-GANs | c4369fc435e6068dd6ebe4377c9af99acd08036c | [
"Apache-2.0"
] | null | null | null | import os
import numpy as np
import keras.backend as K
from keras import metrics
from keras.models import Model
from keras.optimizers import Adam
from keras.callbacks import ModelCheckpoint, LearningRateScheduler, ReduceLROnPlateau
from keras.layers import Input, MaxPool2D, Activation, BatchNormalization, UpSampling2D,... | 33.710345 | 119 | 0.657119 |
5719f140f9b4b56d24313cc459bbe76cdedd95ba | 204,251 | js | JavaScript | test/test-50-fs-runtime-layer/test-x3-index.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 4,489 | 2020-05-27T19:16:08.000Z | 2022-03-31T23:26:29.000Z | test/test-50-fs-runtime-layer/test-x3-index.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 1,022 | 2020-05-28T11:10:24.000Z | 2022-03-31T22:48:18.000Z | test/test-50-fs-runtime-layer/test-x3-index.js | plasmo-foss/pkg | d9508881313581697a4632c217c3af6a6ca0490d | [
"MIT"
] | 277 | 2020-05-27T18:23:15.000Z | 2022-03-28T11:30:12.000Z | /* eslint-disable brace-style */
/* eslint-disable no-path-concat */
'use strict';
var fs = require('fs');
var path = require('path');
var assert = require('assert');
var theRequireContentA = './test-z-asset-A.css';
var theRequireContentB = 'test-z-asset-B.css';
function firstLowerCase(s) {
return s.slice(0, 1).to... | 182.041889 | 307 | 0.034433 |
437e10bf8a11b4073f6fd29321834c14594dc368 | 490 | ts | TypeScript | src/components/tokenDictionary/tokens/transaction.ts | phartenfeller/plsql-lint | cc4732fcdc9fc483b2b783f68de71283fa72cafe | [
"MIT"
] | 1 | 2020-02-13T12:13:17.000Z | 2020-02-13T12:13:17.000Z | src/components/tokenDictionary/tokens/transaction.ts | phartenfeller/plsql-lint | cc4732fcdc9fc483b2b783f68de71283fa72cafe | [
"MIT"
] | 1 | 2020-05-08T17:07:31.000Z | 2020-05-08T17:07:31.000Z | src/components/tokenDictionary/tokens/transaction.ts | phartenfeller/plsql-lint | cc4732fcdc9fc483b2b783f68de71283fa72cafe | [
"MIT"
] | null | null | null | import { createToken } from 'chevrotain';
import Identifier from './Identifier';
const StartTransactionKw = createToken({
name: 'StartTransactionKw',
pattern: /start transaction/i,
longer_alt: Identifier,
});
const CommitKw = createToken({
name: 'CommitKw',
pattern: /commit/i,
longer_alt: Identifier,
});
... | 21.304348 | 58 | 0.726531 |
375d9aa006ff4240b4fffeb4d419cd7173e37edd | 37,782 | kt | Kotlin | src/com/halfdeadgames/kterminal/KTerminalData.kt | heatherhaks/kterminal | 391c7ac2c023a61c4e128edec2b54828c4003a3f | [
"MIT"
] | 29 | 2018-04-22T21:01:00.000Z | 2021-09-20T05:10:02.000Z | src/com/halfdeadgames/kterminal/KTerminalData.kt | heatherhaks/kterminal | 391c7ac2c023a61c4e128edec2b54828c4003a3f | [
"MIT"
] | 1 | 2019-04-02T17:42:44.000Z | 2019-04-02T17:42:44.000Z | src/com/halfdeadgames/kterminal/KTerminalData.kt | heatherhaks/kterminal | 391c7ac2c023a61c4e128edec2b54828c4003a3f | [
"MIT"
] | 8 | 2018-04-25T08:26:26.000Z | 2021-03-16T20:47:46.000Z | package com.halfdeadgames.kterminal
import com.badlogic.gdx.graphics.Color
import com.halfdeadgames.kterminal.KTerminalShapePlotter.plotCircle
import com.halfdeadgames.kterminal.KTerminalShapePlotter.plotEllipse
import com.halfdeadgames.kterminal.KTerminalShapePlotter.plotLine
import com.halfdeadgames.kterminal.... | 40.023305 | 297 | 0.540866 |
dca742175f81e6f846d36a93f3c72d321d32d89d | 7,356 | rb | Ruby | test/creq/repository_spec.rb | nvoynov/creq | 1c66257aefd432e98eb544c39ab66b87d6ced2f2 | [
"MIT"
] | 8 | 2015-09-26T13:12:18.000Z | 2021-03-22T18:51:03.000Z | test/creq/repository_spec.rb | nvoynov/creq | 1c66257aefd432e98eb544c39ab66b87d6ced2f2 | [
"MIT"
] | 1 | 2018-08-07T13:18:42.000Z | 2019-11-19T08:27:35.000Z | test/creq/repository_spec.rb | nvoynov/creq | 1c66257aefd432e98eb544c39ab66b87d6ced2f2 | [
"MIT"
] | 2 | 2017-03-01T20:11:32.000Z | 2019-12-21T05:51:20.000Z | # encoding: UTF-8
require_relative '../test_helper'
class SpecReader < Reader
def self.call(enum)
r = new("SpecReader")
r.read(enum)
end
end
describe Repository do
let(:contents) {
StringIO.new %(# [ur] User
## [us] User Stories
## [uc] Use Cases
# [fr] Func
# [if] Interface
# [nf... | 23.426752 | 75 | 0.56702 |
38de67fcf9ff1a50ee0590d9a19d67b9011c7753 | 4,809 | php | PHP | routes/web.php | lkq001/haofeng30 | aa217c9fbd329f581e27a94fb613804ec92cd0b8 | [
"MIT"
] | null | null | null | routes/web.php | lkq001/haofeng30 | aa217c9fbd329f581e27a94fb613804ec92cd0b8 | [
"MIT"
] | null | null | null | routes/web.php | lkq001/haofeng30 | aa217c9fbd329f581e27a94fb613804ec92cd0b8 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 44.943925 | 148 | 0.672905 |
7b5e7776debcbfbad892b46a97bf64771df221d8 | 98,631 | sql | SQL | marina (5).sql | husseinzaher/marina_algharbia | ba1607f63d6ffd46539bc99209174c51d41e1c9e | [
"MIT"
] | null | null | null | marina (5).sql | husseinzaher/marina_algharbia | ba1607f63d6ffd46539bc99209174c51d41e1c9e | [
"MIT"
] | null | null | null | marina (5).sql | husseinzaher/marina_algharbia | ba1607f63d6ffd46539bc99209174c51d41e1c9e | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.6
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Apr 06, 2019 at 09:05 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.0.32
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_... | 50.893189 | 1,405 | 0.637153 |
e292ee496ab22ab65d70d9b09dc0649f94e63998 | 569 | py | Python | pydsm/composition.py | jimmycallin/pydsm | 3f8a6fc1492702dc265be09f8d60b1512c976f7f | [
"Apache-2.0"
] | 84 | 2015-03-05T12:27:41.000Z | 2020-10-21T11:04:52.000Z | pydsm/composition.py | jimmycallin/pydsm | 3f8a6fc1492702dc265be09f8d60b1512c976f7f | [
"Apache-2.0"
] | 2 | 2017-12-21T11:22:52.000Z | 2019-12-12T18:01:08.000Z | pydsm/composition.py | jimmycallin/pydsm | 3f8a6fc1492702dc265be09f8d60b1512c976f7f | [
"Apache-2.0"
] | 15 | 2015-03-24T08:48:27.000Z | 2019-12-10T01:56:39.000Z | from pydsm.indexmatrix import IndexMatrix
def linear_additive(v1, v2, alpha=0.5, beta=0.5):
"""
Weighted elementwise addition.
"""
compword = str(v1.row2word[0]) + " " + str(v2.row2word[0])
comp = (alpha * v1) + (beta * v2)
comp.row2word = [compword]
return comp
def multiplicative(v1, v2,... | 22.76 | 62 | 0.604569 |
bfe1e47ec69a67d445405b5225e8928eec9ce61c | 16,004 | sql | SQL | packaging/dbscripts/audit_log_sp.sql | hbraha/ovirt-engine | a6c17bd73d510d6b44ac72000c0ff686b484746c | [
"Apache-2.0"
] | 347 | 2015-01-20T14:13:21.000Z | 2022-03-31T17:53:11.000Z | packaging/dbscripts/audit_log_sp.sql | hbraha/ovirt-engine | a6c17bd73d510d6b44ac72000c0ff686b484746c | [
"Apache-2.0"
] | 128 | 2015-05-22T19:14:32.000Z | 2022-03-31T08:11:18.000Z | packaging/dbscripts/audit_log_sp.sql | hbraha/ovirt-engine | a6c17bd73d510d6b44ac72000c0ff686b484746c | [
"Apache-2.0"
] | 202 | 2015-01-04T06:20:49.000Z | 2022-03-08T15:30:08.000Z |
----------------------------------------------------------------
-- [audit_log] Table
--
CREATE OR REPLACE FUNCTION InsertAuditLog (
INOUT v_audit_log_id BIGINT,
v_log_time TIMESTAMP WITH TIME ZONE,
v_log_type INT,
v_log_type_name VARCHAR(100),
v_severity INT,
v_message TEXT,
v_user_id UUI... | 26.54063 | 118 | 0.605161 |
3489eeb907d264fac8e508d6b8f356939e49e14b | 6,062 | swift | Swift | SpaceX/ViewControllers/LaunchesViewController.swift | brunoguedes/SpaceX | c81d3fc7d5171203351357e986303dfdbe34e9d5 | [
"MIT"
] | null | null | null | SpaceX/ViewControllers/LaunchesViewController.swift | brunoguedes/SpaceX | c81d3fc7d5171203351357e986303dfdbe34e9d5 | [
"MIT"
] | null | null | null | SpaceX/ViewControllers/LaunchesViewController.swift | brunoguedes/SpaceX | c81d3fc7d5171203351357e986303dfdbe34e9d5 | [
"MIT"
] | null | null | null | //
// LaunchesViewController.swift
// SpaceX
//
// Created by Bruno Guedes on 20/10/19.
// Copyright © 2019 Bruno Guedes. All rights reserved.
//
import UIKit
import RxSwift
import RxCocoa
import RxDataSources
class LaunchesViewController: UIViewController {
private enum Constants {
static let ti... | 44.903704 | 162 | 0.692016 |
58683b6ddeaba9a58a8c9ffaeed3d90a2f0a97a4 | 447 | css | CSS | src/components/App/App.module.css | t-1000-t/resume-language | f2eceaf8e4bd4cf5cabf9c70c6971355fd8cb3c4 | [
"MIT"
] | null | null | null | src/components/App/App.module.css | t-1000-t/resume-language | f2eceaf8e4bd4cf5cabf9c70c6971355fd8cb3c4 | [
"MIT"
] | null | null | null | src/components/App/App.module.css | t-1000-t/resume-language | f2eceaf8e4bd4cf5cabf9c70c6971355fd8cb3c4 | [
"MIT"
] | null | null | null | .mainApp {
border-radius: 3px;
margin: 48px auto;
height: 100vh;
width: 96%;
/* box-shadow: -2px 2px 2px 0px rgba(0, 0, 0, 0.1); */
opacity: 1;
}
/* @media screen and (min-width: 600px) {
width: 88%;
}
@media screen and (min-width: 1024px) {
width: 70%;
} */
/* .mainApp.in-focus {
box-shadow: -48px 48... | 21.285714 | 56 | 0.60179 |
437230aed0c11a106ec9d0418b59abb5eaf784a6 | 314 | ts | TypeScript | src/lib/compilers/snowpack.ts | Richienb/esm-lint | 67cb3864e18dc2bad7783fd3041aafd0fdf93a7b | [
"MIT"
] | null | null | null | src/lib/compilers/snowpack.ts | Richienb/esm-lint | 67cb3864e18dc2bad7783fd3041aafd0fdf93a7b | [
"MIT"
] | 1 | 2020-01-20T08:31:53.000Z | 2020-01-21T22:54:31.000Z | src/lib/compilers/snowpack.ts | Richienb/esm-lint | 67cb3864e18dc2bad7783fd3041aafd0fdf93a7b | [
"MIT"
] | null | null | null | import path from "path"
import { cli as snowpack } from "snowpack"
import fs from "fs-extra"
export = async ({ scriptFile, dir }: { scriptFile: string, dir: string }) => {
const pkgFile = path.join(dir, "package.json")
await fs.writeJSON(pkgFile, {})
await snowpack([scriptFile])
await fs.remove(pkgFile)
}
| 24.153846 | 78 | 0.691083 |
b13dfc15e24cc51236454a5a55dc09cf8149cb9b | 767 | dart | Dart | profile_repository/lib/src/model/deposit.dart | tommydprogrammer/flutter_packages | d751cea0433c4a2504446c3cec37e90fce15b59e | [
"MIT"
] | null | null | null | profile_repository/lib/src/model/deposit.dart | tommydprogrammer/flutter_packages | d751cea0433c4a2504446c3cec37e90fce15b59e | [
"MIT"
] | null | null | null | profile_repository/lib/src/model/deposit.dart | tommydprogrammer/flutter_packages | d751cea0433c4a2504446c3cec37e90fce15b59e | [
"MIT"
] | null | null | null | import 'package:json_annotation/json_annotation.dart';
part 'deposit.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake)
class Deposit {
final int? userId;
final String? amount;
final String? currency;
final String? trxRef;
final int? status;
final String? updatedAt;
final String? createdAt;
fi... | 20.184211 | 56 | 0.6897 |
8d16afe03c1835d170fcc58252b9b0a498f5364c | 10,182 | dart | Dart | lib/icons/hardware_icons.dart | bwu-dart/bwu_ng_elements | 0a9f7239433b4207763c320c11ae6e3029386979 | [
"MIT"
] | null | null | null | lib/icons/hardware_icons.dart | bwu-dart/bwu_ng_elements | 0a9f7239433b4207763c320c11ae6e3029386979 | [
"MIT"
] | null | null | null | lib/icons/hardware_icons.dart | bwu-dart/bwu_ng_elements | 0a9f7239433b4207763c320c11ae6e3029386979 | [
"MIT"
] | null | null | null | /// Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
/// This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
/// The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
/// The complete set of contributors may be found at http... | 135.76 | 369 | 0.657631 |
aec801d72543d07166ae02f6d399d470d79e9436 | 301 | kt | Kotlin | src/main/kotlin/com/github/txuritan/mental/core/common/coremod/ModSetupMental.kt | Txuritan/mental | 351b5e1c799d6c08f1e2502dd97dc99b7be726c3 | [
"MIT"
] | null | null | null | src/main/kotlin/com/github/txuritan/mental/core/common/coremod/ModSetupMental.kt | Txuritan/mental | 351b5e1c799d6c08f1e2502dd97dc99b7be726c3 | [
"MIT"
] | null | null | null | src/main/kotlin/com/github/txuritan/mental/core/common/coremod/ModSetupMental.kt | Txuritan/mental | 351b5e1c799d6c08f1e2502dd97dc99b7be726c3 | [
"MIT"
] | null | null | null | package com.github.txuritan.mental.core.common.coremod
import net.minecraftforge.fml.relauncher.IFMLCallHook
class ModSetupMental : IFMLCallHook {
override fun injectData(data: Map<String, Any>) {
}
@Throws(Exception::class)
override fun call(): Void? {
return null
}
}
| 21.5 | 54 | 0.704319 |
dd669ab2f973bbedca32547bccb938c63b16bc3c | 2,649 | java | Java | src/main/java/MyMain.java | apcs-assignments-fall2020/calculator-bot-jmskeoch | d791cbb14b4706966179a001f92dd49d5bc11eb2 | [
"Apache-2.0"
] | null | null | null | src/main/java/MyMain.java | apcs-assignments-fall2020/calculator-bot-jmskeoch | d791cbb14b4706966179a001f92dd49d5bc11eb2 | [
"Apache-2.0"
] | null | null | null | src/main/java/MyMain.java | apcs-assignments-fall2020/calculator-bot-jmskeoch | d791cbb14b4706966179a001f92dd49d5bc11eb2 | [
"Apache-2.0"
] | null | null | null | import java.util.Scanner;
public class MyMain {
// Calculates the median of the three inputs
public static int median(int a, int b, int c) {
if((a > b && a < c) || (a > c && a < b)) {
return a;
} else if((b > a && b < c) || (b > c && b < c)) {
return b;
} else {... | 32.703704 | 102 | 0.534919 |
3210f0041a908fcf191ab2eb82e3003f5925225a | 4,795 | lua | Lua | lua/corpus/metadata.lua | tami5/corpus | 6c794fd4cd74afd2f2a95f21e61e73411a7ab4b3 | [
"MIT"
] | null | null | null | lua/corpus/metadata.lua | tami5/corpus | 6c794fd4cd74afd2f2a95f21e61e73411a7ab4b3 | [
"MIT"
] | null | null | null | lua/corpus/metadata.lua | tami5/corpus | 6c794fd4cd74afd2f2a95f21e61e73411a7ab4b3 | [
"MIT"
] | null | null | null | -- Copyright 2015-present Greg Hurrell. All rights reserved.
-- Licensed under the terms of the MIT license.
--- TODO: would it be worth it to embed
--- https://github.com/exosite/lua-yaml/blob/master/yaml.lua?
local M = {}
---YAML Key-value pair pattern
local kv_pattern = [[\v^\s*(\w+)\s*:\s*(\S.{-})\s*$]]
---Given... | 26.202186 | 74 | 0.659228 |
e76a58c1e0a98d3b61260d77dcab9d553b94e6cc | 10,631 | php | PHP | application/controllers/myadminkw/Merchandise.php | yessika21289/project1 | eafff6a83f70c5ea066021d9e42952e73a92d3f9 | [
"MIT"
] | null | null | null | application/controllers/myadminkw/Merchandise.php | yessika21289/project1 | eafff6a83f70c5ea066021d9e42952e73a92d3f9 | [
"MIT"
] | null | null | null | application/controllers/myadminkw/Merchandise.php | yessika21289/project1 | eafff6a83f70c5ea066021d9e42952e73a92d3f9 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Merchandise extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/... | 45.823276 | 125 | 0.470605 |
25abef223fd019352eb74ae896133291178ead46 | 3,099 | cs | C# | 007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Domain/SetBucketRefererRequest.cs | chenxihoho/FirstFrame | 0eea1c39f7c6135955c4418b0ebfae25d76352be | [
"Apache-2.0"
] | 3 | 2017-10-11T09:08:44.000Z | 2019-08-26T03:40:49.000Z | 007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Domain/SetBucketRefererRequest.cs | chenxihoho/FirstFrame | 0eea1c39f7c6135955c4418b0ebfae25d76352be | [
"Apache-2.0"
] | null | null | null | 007.FileIO/aliyun_dotnet_sdk_20150115/FileIO_ALIYUN/src/Domain/SetBucketRefererRequest.cs | chenxihoho/FirstFrame | 0eea1c39f7c6135955c4418b0ebfae25d76352be | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) Alibaba Cloud Computing
* All rights reserved.
*
* 版权所有 (C)阿里云计算有限公司
*/
using System;
using System.Collections.Generic;
using Aliyun.OpenServices.Properties;
using Aliyun.OpenServices.OpenStorageService.Utilities;
using Aliyun.OpenServices.Domain;
namespace Aliyun.OpenServices.... | 32.28125 | 109 | 0.555663 |
20f0373447bf3fb231e5a0ea7af660fbe852c3a1 | 1,375 | py | Python | pramp/diff_between_two_strings.py | VVKot/leetcode-solutions | 7d6e599b223d89a7861929190be715d3b3604fa4 | [
"MIT"
] | 4 | 2019-04-22T11:57:36.000Z | 2019-10-29T09:12:56.000Z | pramp/diff_between_two_strings.py | VVKot/coding-competitions | 7d6e599b223d89a7861929190be715d3b3604fa4 | [
"MIT"
] | null | null | null | pramp/diff_between_two_strings.py | VVKot/coding-competitions | 7d6e599b223d89a7861929190be715d3b3604fa4 | [
"MIT"
] | null | null | null | def diff_strings_rec(source, target, dp={}):
dp_key = (source, target)
if dp_key in dp:
return dp[dp_key]
if not source and not target:
result = []
dp[dp_key] = (0, result)
return dp[dp_key]
if not source:
result = ["+" + ch for ch in target]
dp[dp_key] = ... | 33.536585 | 75 | 0.565091 |
e2c02e4d4a3fd6dd660deefeeb55b4b7dd8d4f2b | 2,265 | py | Python | human_classification/setup_human_classification.py | shenkev/Exact-Inference-VAE-Robustness | 37438df2d63b2de19b084153e6c68d528d533837 | [
"MIT"
] | 3 | 2017-11-06T06:00:23.000Z | 2017-12-01T20:51:07.000Z | human_classification/setup_human_classification.py | shenkev/Exact-Inference-VAE-Robustness | 37438df2d63b2de19b084153e6c68d528d533837 | [
"MIT"
] | null | null | null | human_classification/setup_human_classification.py | shenkev/Exact-Inference-VAE-Robustness | 37438df2d63b2de19b084153e6c68d528d533837 | [
"MIT"
] | null | null | null | import csv
from shutil import copyfile
import numpy as np
import pickle
imgs_to_check = 10
img_path = './out/'
classify_path = './human/'
header = ['orig_filename', 'orig_filetype', 'gt_class', 'target_class', 'classifier_class', 'new_filename', 'human_class']
myFile = open(classify_path + 'data.csv', 'w')
# This th... | 37.131148 | 126 | 0.696689 |
7f13c412ee2e3220ce0da1dae4ec6eb001a4f9a7 | 219 | cs | C# | RamBaseApiSdk/Meta/Admittance.cs | urohde/RamBaseApiDotNetSdk | 76998922ffa8929da118187a7f37cb32590ddae2 | [
"MIT"
] | 6 | 2019-09-24T17:05:18.000Z | 2021-09-17T07:10:12.000Z | RamBaseApiSdk/Meta/Admittance.cs | urohde/RamBaseApiDotNetSdk | 76998922ffa8929da118187a7f37cb32590ddae2 | [
"MIT"
] | 7 | 2020-01-07T08:20:24.000Z | 2020-11-26T11:43:41.000Z | RamBaseApiSdk/Meta/Admittance.cs | urohde/RamBaseApiDotNetSdk | 76998922ffa8929da118187a7f37cb32590ddae2 | [
"MIT"
] | 2 | 2021-07-05T11:57:37.000Z | 2021-08-19T12:00:38.000Z | namespace RamBase.Api.Sdk.Meta
{
public class Admittance
{
public string AccessDenied { get; set; }
public int AccessRuleId { get; set; }
public int ErrorMessageId { get; set; }
}
}
| 21.9 | 48 | 0.607306 |
bc005b8b24fcc760d6a5c2b1f021548b92c214aa | 4,235 | swift | Swift | CustomControls/customWidgets/ProgressViews/CircleProgressView.swift | wangjianquan/CustomControls | c955040473592522c19dc488fa167a9285b5a8dc | [
"Apache-2.0"
] | null | null | null | CustomControls/customWidgets/ProgressViews/CircleProgressView.swift | wangjianquan/CustomControls | c955040473592522c19dc488fa167a9285b5a8dc | [
"Apache-2.0"
] | null | null | null | CustomControls/customWidgets/ProgressViews/CircleProgressView.swift | wangjianquan/CustomControls | c955040473592522c19dc488fa167a9285b5a8dc | [
"Apache-2.0"
] | null | null | null | //
// CircleProgressView.swift
// FaXinSwift
//
// Created by landixing on 2018/8/27.
// Copyright © 2018年 WJQ. All rights reserved.
//2
import UIKit
class CircleProgressView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
setUp()
}
required init?(coder aDecoder: NSC... | 33.085938 | 232 | 0.624085 |
9b144e495ca56fc83c4ff6af53aeb8ba62518dca | 13,369 | lua | Lua | deDE.localization.lua | StormforgedGuild/GDKPd_Reforged | 018535381e232775ade0469e2cb643c0f354a6f1 | [
"MIT"
] | null | null | null | deDE.localization.lua | StormforgedGuild/GDKPd_Reforged | 018535381e232775ade0469e2cb643c0f354a6f1 | [
"MIT"
] | null | null | null | deDE.localization.lua | StormforgedGuild/GDKPd_Reforged | 018535381e232775ade0469e2cb643c0f354a6f1 | [
"MIT"
] | null | null | null | local L = LibStub("AceLocale-3.0"):NewLocale("GDKPd", "deDE")
if not L then return end
L["Allow multiple simultanous auctions"] = "Mehrere Auktionen gleichzeitig erlauben"
L["Always show the \"Hide\" button on bid frames"] = "Den \"Verstecken\"-Knopf auf Bietfenstern immer anzeigen"
L["Amount"] = "Menge"
L["Anchor bal... | 85.152866 | 466 | 0.761762 |
da343ecd9b03c3ddedfd22445f8a61319f5a8170 | 190 | php | PHP | src/Exceptions/ValidationError.php | benpdavison/mandrill-api-php | 105f9dab433b1f5ae124bb0ce6796c4a739d79e6 | [
"Apache-2.0"
] | null | null | null | src/Exceptions/ValidationError.php | benpdavison/mandrill-api-php | 105f9dab433b1f5ae124bb0ce6796c4a739d79e6 | [
"Apache-2.0"
] | null | null | null | src/Exceptions/ValidationError.php | benpdavison/mandrill-api-php | 105f9dab433b1f5ae124bb0ce6796c4a739d79e6 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Mandrill\Exceptions;
/**
* The parameters passed to the API call are invalid or not provided when required
*/
class ValidationError extends \Mandrill\Exceptions\Error
{
} | 19 | 82 | 0.768421 |
f4daee6b4542bdf374c66f2651e3ca69562c2e43 | 555 | ts | TypeScript | src/migrations/1641464276741-AddTwitchFollowersCountColumnInUsersTable.ts | butadpj/ga_backend | a031eaed1fa4391f04c8da25cc47afb2a7008745 | [
"MIT"
] | null | null | null | src/migrations/1641464276741-AddTwitchFollowersCountColumnInUsersTable.ts | butadpj/ga_backend | a031eaed1fa4391f04c8da25cc47afb2a7008745 | [
"MIT"
] | null | null | null | src/migrations/1641464276741-AddTwitchFollowersCountColumnInUsersTable.ts | butadpj/ga_backend | a031eaed1fa4391f04c8da25cc47afb2a7008745 | [
"MIT"
] | null | null | null | import {MigrationInterface, QueryRunner} from "typeorm";
export class AddTwitchFollowersCountColumnInUsersTable1641464276741 implements MigrationInterface {
name = 'AddTwitchFollowersCountColumnInUsersTable1641464276741'
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.quer... | 37 | 99 | 0.765766 |
ae7252447b0566c86112893d77b7777000c2d928 | 1,447 | cs | C# | Assets/Scripts/ArmNail.cs | chishige1217200/mycrane | e6dfd8df2580ac59b026906c87332258dc32bba3 | [
"MIT"
] | 1 | 2021-12-18T04:54:41.000Z | 2021-12-18T04:54:41.000Z | Assets/Scripts/ArmNail.cs | chishige1217200/mycrane | e6dfd8df2580ac59b026906c87332258dc32bba3 | [
"MIT"
] | 1 | 2021-02-05T00:37:07.000Z | 2021-02-05T00:37:07.000Z | Assets/Scripts/ArmNail.cs | chishige1217200/Mycrane | af9f494486716113b0d41e1c06901bc06ad626a3 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArmNail : MonoBehaviour
{
CraneManager craneManager;
BaseLifter lifter;
void OnTriggerEnter(Collider collider)
{
if (collider.tag == "Floor")
{
switch (craneManager.GetCType())
... | 25.839286 | 55 | 0.398065 |
c8d0d65d4ebd17748c48e01f92d93466f4af8976 | 17,940 | css | CSS | public/css/frontend_style.css | lathiyaf/offer | 7960c7c6718467a35946f376fb5c5dc5203689a7 | [
"MIT"
] | null | null | null | public/css/frontend_style.css | lathiyaf/offer | 7960c7c6718467a35946f376fb5c5dc5203689a7 | [
"MIT"
] | 3 | 2021-03-10T05:40:00.000Z | 2022-02-26T22:53:34.000Z | public/css/frontend_style.css | lathiyaf/offer | 7960c7c6718467a35946f376fb5c5dc5203689a7 | [
"MIT"
] | null | null | null | *{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-size: 1rem;
font-family: 'Source Sans Pro', sans-serif;
color: #505050;
background-color: #f8f8f8;
}
h1,h2,h3,h4,h5,h6{
margin: 0;
margin-bottom: 15px;
color: #333333;
}
h1,.h1{
font-size: 1.5rem;
font-weight:... | 19.311087 | 50 | 0.619287 |
33af449c87194afe41fb0208cdcb2cbf3041c446 | 970 | c | C | srcs/main.c | JeremyPouyet/CTemplateList | bf35df6ff647f92c8492e8968e54bc85a4c989db | [
"BSD-3-Clause"
] | 1 | 2015-02-05T13:04:59.000Z | 2015-02-05T13:04:59.000Z | srcs/main.c | kashimsax/CTemplateList | bf35df6ff647f92c8492e8968e54bc85a4c989db | [
"BSD-3-Clause"
] | null | null | null | srcs/main.c | kashimsax/CTemplateList | bf35df6ff647f92c8492e8968e54bc85a4c989db | [
"BSD-3-Clause"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include "list_exemple_a.h"
#include "list_exemple_b.h"
/*
** Includes .c file containing the list for each possibilities
*/
#undef T
#define T t_a
#include "list.c"
#undef T
#define T t_b
#include "list.c"
#undef T
/*
** two simple fnuctions for my example
*/
static void in... | 14.69697 | 62 | 0.596907 |
b98ee0d5525d8ead2111bd7bad09bfe34a8fd459 | 4,918 | dart | Dart | lib/src/bip39_base.dart | InvertedX/bip39 | e249a9bd7fd64b155ffef45a53336c5c8005a39d | [
"BSD-3-Clause"
] | null | null | null | lib/src/bip39_base.dart | InvertedX/bip39 | e249a9bd7fd64b155ffef45a53336c5c8005a39d | [
"BSD-3-Clause"
] | null | null | null | lib/src/bip39_base.dart | InvertedX/bip39 | e249a9bd7fd64b155ffef45a53336c5c8005a39d | [
"BSD-3-Clause"
] | null | null | null | import 'dart:math';
import 'dart:typed_data';
import 'package:crypto/crypto.dart' show sha256;
import 'package:hex/hex.dart';
import 'utils/pbkdf2.dart';
import 'wordlists/english.dart';
const int _SIZE_BYTE = 255;
const _INVALID_MNEMONIC = 'Invalid mnemonic';
const _INVALID_ENTROPY = 'Invalid entropy';
const _INVAL... | 28.264368 | 79 | 0.643961 |
143987b8cb1be32221b65a60d6d6c775b4b26255 | 266 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/tcg/series4/consumable_falleens_fist.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/tcg/series4/consumable_falleens_fist.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/tcg/series4/consumable_falleens_fist.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z |
object_tangible_tcg_series4_consumable_falleens_fist = object_tangible_tcg_series4_shared_consumable_falleens_fist:new {
}
ObjectTemplates:addTemplate(object_tangible_tcg_series4_consumable_falleens_fist, "object/tangible/tcg/series4/consumable_falleens_fist.iff") | 53.2 | 141 | 0.913534 |
0b84bd54aad92823bd2e93f0ebd7b6fc7fdd7f13 | 34,038 | dart | Dart | test/test_vector.dart | pbad-pades/SignDart | 29a927eb7632d8a7ed08e9c98c4bd2f16d81130c | [
"BSD-3-Clause"
] | 3 | 2021-11-04T22:51:05.000Z | 2022-01-25T22:27:02.000Z | test/test_vector.dart | pbad-pades/SignDart | 29a927eb7632d8a7ed08e9c98c4bd2f16d81130c | [
"BSD-3-Clause"
] | null | null | null | test/test_vector.dart | pbad-pades/SignDart | 29a927eb7632d8a7ed08e9c98c4bd2f16d81130c | [
"BSD-3-Clause"
] | 1 | 2022-01-25T22:27:09.000Z | 2022-01-25T22:27:09.000Z | import 'dart:typed_data';
final List<Uint8List> ed521PrivateKeyVector = [
Uint8List.fromList([
0xea, 0x17, 0x38, 0x71, 0x2e, 0x20, 0x80,
0xf0, 0xbf, 0xef, 0x35, 0x99, 0x33, 0x4f,
0x22, 0x5f, 0xdc, 0xdc, 0x9f, 0xd4, 0xdb,
0x05, 0x6d, 0x5e, 0xd6, 0x26, 0xb2, 0x6a,
0x7b, 0x97, 0x03, 0x59, 0xe5, ... | 40.473246 | 47 | 0.660938 |
c6da5e98e98673a58586fde93fd5e7d02a1727ac | 1,342 | py | Python | core/models/users.py | domlysi/django-rest-skeleton | 33d8dd694b832dbbe6500318b17a0fbe0cdec9a0 | [
"MIT"
] | null | null | null | core/models/users.py | domlysi/django-rest-skeleton | 33d8dd694b832dbbe6500318b17a0fbe0cdec9a0 | [
"MIT"
] | null | null | null | core/models/users.py | domlysi/django-rest-skeleton | 33d8dd694b832dbbe6500318b17a0fbe0cdec9a0 | [
"MIT"
] | null | null | null | from django.contrib.auth import get_user_model
from django.contrib.auth.base_user import BaseUserManager
from django.contrib.auth.models import AbstractUser
from django.db import models
from django.utils.translation import ugettext_lazy as _
class CustomUserManager(BaseUserManager):
def create_user(self, email, p... | 26.84 | 72 | 0.637854 |
39111104b43f613f4bc4bc74701bc8372f4b7bc4 | 1,126 | py | Python | Results/ResultProcess.py | githubxuexixuexi/githubxuexixuexi | 28a7baa68c16c32a0387422aafa881c147433dbd | [
"MIT"
] | null | null | null | Results/ResultProcess.py | githubxuexixuexi/githubxuexixuexi | 28a7baa68c16c32a0387422aafa881c147433dbd | [
"MIT"
] | null | null | null | Results/ResultProcess.py | githubxuexixuexi/githubxuexixuexi | 28a7baa68c16c32a0387422aafa881c147433dbd | [
"MIT"
] | 1 | 2020-12-01T11:05:53.000Z | 2020-12-01T11:05:53.000Z | import pandas as pd
import json
file_dir = r"./Results/result.csv"
def top_process(data, n):
data.sort_values(by='confidence', ascending=False, inplace=True)
data_grouped = data.groupby("img_name").head(n)
return data_grouped
def thresh_process(data, thresh):
return data[data['confiden... | 26.809524 | 116 | 0.612789 |
06eeaf05d69eb47bd2f68d030a3ee4726240afd6 | 620 | py | Python | examples/core/sendfile/process.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 4 | 2015-11-05T11:51:12.000Z | 2020-12-30T18:55:58.000Z | examples/core/sendfile/process.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | 5 | 2021-11-16T17:21:51.000Z | 2021-11-16T17:22:09.000Z | examples/core/sendfile/process.py | rsms/smisk | f12a5606dfff49a15fa91448ff36652d60add4c0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# encoding: utf-8
import sys, os
from smisk.core import *
class MyApp(Application):
def service(self):
if self.request.url.path[-4:] == '.jpg':
path = os.path.abspath(self.request.url.path.replace('..', '').lstrip('/'))
sys.stderr.write("Sending file %s\n" % path)
self.res... | 29.52381 | 92 | 0.645161 |
79c6a2b5d73a7a0bf49c0f0252cd18ab830fb251 | 2,719 | php | PHP | connection/server/user_space_server.php | theochap/nepal_asa_sponsoring_website | 6e301d59dab2400a9872ead901e0a1b17963c932 | [
"CC-BY-3.0"
] | null | null | null | connection/server/user_space_server.php | theochap/nepal_asa_sponsoring_website | 6e301d59dab2400a9872ead901e0a1b17963c932 | [
"CC-BY-3.0"
] | null | null | null | connection/server/user_space_server.php | theochap/nepal_asa_sponsoring_website | 6e301d59dab2400a9872ead901e0a1b17963c932 | [
"CC-BY-3.0"
] | null | null | null | <?php
session_start();
require_once '../../common/shared.php';
require_once '../../common/vendor/autoload.php';
#Connection à la bdd
require_once "../../common/connection_db.php";
$stripe = new \Stripe\StripeClient(
$config['stripe_secret_key']
);
$bdd = init();
$req = $bdd->prepare('SELECT id FROM parr... | 28.322917 | 116 | 0.614564 |
bb4b5702c5844cac7fb5d8835479da9a1e624a56 | 3,429 | cs | C# | sdk/src/Services/CloudFront/Generated/Model/AssociateAliasRequest.cs | ChristopherButtars/aws-sdk-net | f33050e58133959457b66b95481257e4f17e67ce | [
"Apache-2.0"
] | 1,705 | 2015-01-15T19:41:21.000Z | 2022-03-28T15:25:23.000Z | sdk/src/Services/CloudFront/Generated/Model/AssociateAliasRequest.cs | ChristopherButtars/aws-sdk-net | f33050e58133959457b66b95481257e4f17e67ce | [
"Apache-2.0"
] | 1,811 | 2015-01-05T19:40:22.000Z | 2022-03-31T19:57:40.000Z | sdk/src/Services/CloudFront/Generated/Model/AssociateAliasRequest.cs | ChristopherButtars/aws-sdk-net | f33050e58133959457b66b95481257e4f17e67ce | [
"Apache-2.0"
] | 839 | 2015-01-17T12:51:09.000Z | 2022-03-28T09:59:50.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 35.350515 | 149 | 0.649752 |
8cea0c1112c54cb4f9933c54442f2e7ad1d27b7b | 405 | kt | Kotlin | data/src/main/java/com/heady/test/data/modules/categories/models/CategoryModel.kt | praveen-kanwar/Heady-AT | 6e04500a6911946a612bed5786364980b294183a | [
"MIT"
] | null | null | null | data/src/main/java/com/heady/test/data/modules/categories/models/CategoryModel.kt | praveen-kanwar/Heady-AT | 6e04500a6911946a612bed5786364980b294183a | [
"MIT"
] | null | null | null | data/src/main/java/com/heady/test/data/modules/categories/models/CategoryModel.kt | praveen-kanwar/Heady-AT | 6e04500a6911946a612bed5786364980b294183a | [
"MIT"
] | null | null | null | package com.heady.test.data.modules.categories.models
import com.google.gson.annotations.SerializedName
import com.heady.test.data.modules.products.models.ProductModel
import com.heady.test.domain.common.beans.IBean
data class CategoryModel(
val id: Int,
val name: String,
val products: List<ProductModel>,... | 31.153846 | 63 | 0.777778 |
43827f1de9e4bf743d6234c8618a5de7d4688c9c | 1,054 | ts | TypeScript | types/json-rules-engine/json-rules-engine-tests.ts | felixfbecker/DefinitelyTyped | a2bceed52a36ba36a1b06038e616bb63b3fa9edc | [
"MIT"
] | 4 | 2019-05-11T17:00:43.000Z | 2021-06-15T12:10:08.000Z | types/json-rules-engine/json-rules-engine-tests.ts | felixfbecker/DefinitelyTyped | a2bceed52a36ba36a1b06038e616bb63b3fa9edc | [
"MIT"
] | 1 | 2016-09-23T17:44:56.000Z | 2016-09-23T17:44:56.000Z | types/json-rules-engine/json-rules-engine-tests.ts | felixfbecker/DefinitelyTyped | a2bceed52a36ba36a1b06038e616bb63b3fa9edc | [
"MIT"
] | 4 | 2019-05-11T17:00:45.000Z | 2021-01-16T10:34:59.000Z | // NOTE: used from: https://github.com/CacheControl/json-rules-engine#basic-example
import { Engine } from "json-rules-engine";
interface PlayerStats {
personalFoulCount: number;
gameDuration: number;
}
const engine = new Engine();
engine.addRule({
conditions: {
any: [{
all: [{
fa... | 20.666667 | 83 | 0.528463 |
dfa56442ca7106e0462d0b9a4dffaa885fded892 | 5,680 | cshtml | C# | src/JD.Invoicing.Web.Mvc/Views/PO/_EditPOModal.cshtml | IT-Evan/JD.Invoicing | 15425d288f450bbbe78a1ad935255097750b6320 | [
"MIT"
] | 4 | 2019-09-07T02:07:59.000Z | 2020-10-13T01:28:05.000Z | src/JD.Invoicing.Web.Mvc/Views/PO/_EditPOModal.cshtml | IT-Evan/JD.Invoicing | 15425d288f450bbbe78a1ad935255097750b6320 | [
"MIT"
] | null | null | null | src/JD.Invoicing.Web.Mvc/Views/PO/_EditPOModal.cshtml | IT-Evan/JD.Invoicing | 15425d288f450bbbe78a1ad935255097750b6320 | [
"MIT"
] | null | null | null | @using JD.Invoicing.Web.Models.Common.Modals
@model JD.Invoicing.Web.Models.Purchase.EditPOModalViewModel
@{
Layout = null;
}
@Html.Partial("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(L("EditPO")))
<div class="modal-body">
<form name="POEditForm" role="form" novalidate class="form-val... | 49.391304 | 138 | 0.453169 |
2feb430313c15390658eada278d9e4577ae009c9 | 635 | py | Python | src/kratos/migrations/0003_ambassadorinfo_user.py | mascot6699/MSHack-Hackathon-Management-Platform | f3782ad83d01de8ace99b55bdf4835d93ff18952 | [
"MIT"
] | 2 | 2019-01-21T08:16:46.000Z | 2019-01-26T10:02:48.000Z | src/kratos/migrations/0003_ambassadorinfo_user.py | mascot6699/MSHack-Hackathon-Management-Platform | f3782ad83d01de8ace99b55bdf4835d93ff18952 | [
"MIT"
] | null | null | null | src/kratos/migrations/0003_ambassadorinfo_user.py | mascot6699/MSHack-Hackathon-Management-Platform | f3782ad83d01de8ace99b55bdf4835d93ff18952 | [
"MIT"
] | 1 | 2021-01-31T17:05:03.000Z | 2021-01-31T17:05:03.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2019-01-20 02:45
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('profiles', '0003_auto_20190120_0245'),
('kratos', '000... | 27.608696 | 152 | 0.659843 |
650eb073092b07c58e7d4dd3598199938a0ece59 | 682 | css | CSS | dist/css/chunk-b85da18a.79ba86ca.css | Lets-Go-together/go-funny-cms-front | 0c66416967168198f389102c7c51b0f888700ce6 | [
"MIT"
] | 10 | 2021-05-16T13:07:43.000Z | 2022-01-27T06:09:06.000Z | dist/css/chunk-b85da18a.79ba86ca.css | Lets-Go-together/go-funny-cms-front | 0c66416967168198f389102c7c51b0f888700ce6 | [
"MIT"
] | null | null | null | dist/css/chunk-b85da18a.79ba86ca.css | Lets-Go-together/go-funny-cms-front | 0c66416967168198f389102c7c51b0f888700ce6 | [
"MIT"
] | 2 | 2021-06-09T05:55:59.000Z | 2022-01-27T06:09:37.000Z | .image-uploader img[data-v-1ccf5a9c]{width:102px;height:102px;-o-object-fit:cover;object-fit:cover}.ant-avatar-lg[data-v-1797c29a]{width:48px;height:48px;line-height:48px}.list-content-item[data-v-1797c29a]{color:rgba(0,0,0,.45);display:inline-block;vertical-align:middle;font-size:14px;margin-left:40px}.list-content-it... | 682 | 682 | 0.782991 |
7dc76679f4ca73db454675753c1c14dab07a3f1b | 12,264 | css | CSS | public/html/dist/css/chunk-33a0a2e8.b1922017.css | idealead/adminAPI | d30543dcf7b04ae94929a8da8b0f33e735efddc6 | [
"Apache-2.0"
] | null | null | null | public/html/dist/css/chunk-33a0a2e8.b1922017.css | idealead/adminAPI | d30543dcf7b04ae94929a8da8b0f33e735efddc6 | [
"Apache-2.0"
] | null | null | null | public/html/dist/css/chunk-33a0a2e8.b1922017.css | idealead/adminAPI | d30543dcf7b04ae94929a8da8b0f33e735efddc6 | [
"Apache-2.0"
] | null | null | null | .uploadbtn[data-v-faa5fcee]{text-align:center;display:inline-block;overflow:hidden;margin:5px;position:relative}.uploadbtn p[data-v-faa5fcee]{position:absolute;bottom:5px;text-align:center;font-size:12px;width:100%;line-height:12px}.chosseImg[data-v-faa5fcee]{width:100px;height:100px;border-radius:5px;display:inline-bl... | 12,264 | 12,264 | 0.906556 |
6de44ed557c707e4c88c76781aafab957099e100 | 104 | h | C | demos/trace_categories.h | winter-loo/perfetto | 0838748c5fe62c3aaf16c448134c51de86164fd1 | [
"Apache-2.0"
] | null | null | null | demos/trace_categories.h | winter-loo/perfetto | 0838748c5fe62c3aaf16c448134c51de86164fd1 | [
"Apache-2.0"
] | null | null | null | demos/trace_categories.h | winter-loo/perfetto | 0838748c5fe62c3aaf16c448134c51de86164fd1 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "perfetto/tracing.h"
PERFETTO_DEFINE_CATEGORIES(
perfetto::Category("base")
);
| 14.857143 | 29 | 0.759615 |
f4ee12ba33020c4d3a10c1d8e5fe65a3a2bbed42 | 6,181 | swift | Swift | PlaygroundBook/Sources/LiveViewController_1_2.swift | tuanthatsmyname/wwdc-submission | b68cb515ee4b43a1c1cbe7c727ec109d9c1dd5a8 | [
"MIT"
] | null | null | null | PlaygroundBook/Sources/LiveViewController_1_2.swift | tuanthatsmyname/wwdc-submission | b68cb515ee4b43a1c1cbe7c727ec109d9c1dd5a8 | [
"MIT"
] | null | null | null | PlaygroundBook/Sources/LiveViewController_1_2.swift | tuanthatsmyname/wwdc-submission | b68cb515ee4b43a1c1cbe7c727ec109d9c1dd5a8 | [
"MIT"
] | null | null | null | //
// See LICENSE folder for this template’s licensing information.
//
// Abstract:
// Provides supporting functions for setting up a live view.
//
import UIKit
import Foundation
import PlaygroundSupport
public class LiveViewController_1_2: LiveViewController {
@IBOutlet weak var terminalTextView: UITextV... | 41.483221 | 165 | 0.613978 |
01da5b84384a44bed2390b6702792efb35e588b9 | 1,492 | html | HTML | drivers/src/java/scriptella/driver/velocity/package.html | YN-Soong/scriptetl | 1df606af802ceb782be2fdbf64bfe611bd95f1ee | [
"Apache-2.0"
] | 100 | 2015-02-05T00:01:53.000Z | 2022-03-21T07:01:41.000Z | drivers/src/java/scriptella/driver/velocity/package.html | YN-Soong/scriptetl | 1df606af802ceb782be2fdbf64bfe611bd95f1ee | [
"Apache-2.0"
] | 31 | 2015-02-05T00:36:20.000Z | 2022-02-14T22:42:21.000Z | drivers/src/java/scriptella/driver/velocity/package.html | YN-Soong/scriptetl | 1df606af802ceb782be2fdbf64bfe611bd95f1ee | [
"Apache-2.0"
] | 48 | 2015-01-05T06:42:19.000Z | 2021-10-05T20:19:32.000Z | <body>
<h1>Velocity Adapter for Scriptella.</h1>
This driver allows to integrate velocity templates into script files.
<p>The content inside scipt elements managed by this driver is evaluated by Velocity engine and the output
is sent to the URL specified as connection parameter.</p>
<h2>General information</h2>
... | 34.697674 | 192 | 0.644102 |
45818cdcb96e7fe82fa16f435b9aa64604f2e478 | 36,019 | py | Python | regular_language/fa.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | 1 | 2021-12-03T07:20:18.000Z | 2021-12-03T07:20:18.000Z | regular_language/fa.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | regular_language/fa.py | ShoYamanishi/nlpregex | 795b36d5a2fad8bc25264b2093ffa9c3723b282b | [
"MIT"
] | null | null | null | #!/usr/local/bin/python
# -*- coding: utf-8 -*-
import nlpregex.abs_graph.double_link
import nlpregex.abs_graph.node
import nlpregex.abs_graph.edge
import nlpregex.abs_graph.graph
from graphviz import Digraph
import re
import subprocess
import os
SYM_EPSILON = "<eps>"
# @class FA
#
# Represents a finite-state aut... | 30.654468 | 153 | 0.557178 |
38c520ab4689bcbc4e67625aa6314e6aa72688e1 | 2,472 | sql | SQL | SQL/EDEN/User Edit Membership.sql | MMeaney/General-Code | f55575e0e5c5f4733f6e6b480bfb2103565009f5 | [
"Apache-1.1"
] | null | null | null | SQL/EDEN/User Edit Membership.sql | MMeaney/General-Code | f55575e0e5c5f4733f6e6b480bfb2103565009f5 | [
"Apache-1.1"
] | null | null | null | SQL/EDEN/User Edit Membership.sql | MMeaney/General-Code | f55575e0e5c5f4733f6e6b480bfb2103565009f5 | [
"Apache-1.1"
] | null | null | null | -- *******************************************
-- *** Update user organisation memebership
USE [EdenSSO-PRD]
-- 7C310BE0-C20F-DE11-B526-0022642A33B2 EPA STG Org
-- 66298E85-AC36-4634-A8FF-5D7383204F7B Barry Houlihan
-- 566E449A-AC49-4365-BD52-943B73FB10D6 Maurice Meaney
BEGIN TRANSACTION
INSERT INTO db... | 34.816901 | 105 | 0.675971 |
6b53999f6fbf4cd2cbd1e8ff33fb7f650e94f342 | 1,191 | js | JavaScript | template/tests/utils.js | revathskumar/cra-template-web | 74d77bc00cff59ff43baa5d306d03376a13cd123 | [
"MIT"
] | 3 | 2020-01-31T13:29:33.000Z | 2020-02-02T05:47:37.000Z | template/tests/utils.js | revathskumar/cra-template-web | 74d77bc00cff59ff43baa5d306d03376a13cd123 | [
"MIT"
] | null | null | null | template/tests/utils.js | revathskumar/cra-template-web | 74d77bc00cff59ff43baa5d306d03376a13cd123 | [
"MIT"
] | null | null | null | // test/utils.js
import React from "react";
import { render } from '@testing-library/react';
import { Provider } from "react-redux";
import { Router, MemoryRouter } from "react-router-dom";
import { createMemoryHistory } from "history";
import { configureStore } from "store";
const store = configureStore({});
const ... | 24.8125 | 84 | 0.643157 |
ca937e16d52fb856919f0f76fd2a3d5bb3174d3c | 2,181 | sql | SQL | Scripts/s-12-tr-actualizar-notificacion-prueba.sql | cgiovvnni/Car-Control-Online | 604a873fca2ad1d3c601f1746b503bb7e5c1c94d | [
"MIT"
] | null | null | null | Scripts/s-12-tr-actualizar-notificacion-prueba.sql | cgiovvnni/Car-Control-Online | 604a873fca2ad1d3c601f1746b503bb7e5c1c94d | [
"MIT"
] | null | null | null | Scripts/s-12-tr-actualizar-notificacion-prueba.sql | cgiovvnni/Car-Control-Online | 604a873fca2ad1d3c601f1746b503bb7e5c1c94d | [
"MIT"
] | null | null | null | --@Autor: Rodrigo Lopez López - Carlos Giovanni Martínez Gutiérrez
--@Fecha creación: 18/06/2020
--@Descripción: Proyecto Final 'Trigger Update Prueba'
Prompt copiando imagenes
!rm -rf /tmp/bd
!mkdir -p /tmp/bd
!chmod 777 /tmp/bd
!cp imagenes/licencia-* /tmp/bd
!chmod 755 /tmp/bd/licencia-*
Prompt =======... | 26.597561 | 79 | 0.646492 |
8e63d02876abc96682049428898f0c65034b9305 | 4,797 | h | C | src/generic/stage2/streaming_structural_parser.h | casperisfine/simdjson | af18d5ed81c617c89efa85c7444c97b6f0b316d5 | [
"Apache-2.0"
] | 1 | 2021-11-10T01:07:30.000Z | 2021-11-10T01:07:30.000Z | src/generic/stage2/streaming_structural_parser.h | casperisfine/simdjson | af18d5ed81c617c89efa85c7444c97b6f0b316d5 | [
"Apache-2.0"
] | null | null | null | src/generic/stage2/streaming_structural_parser.h | casperisfine/simdjson | af18d5ed81c617c89efa85c7444c97b6f0b316d5 | [
"Apache-2.0"
] | 1 | 2020-06-26T01:11:51.000Z | 2020-06-26T01:11:51.000Z | namespace stage2 {
struct streaming_structural_parser: structural_parser {
really_inline streaming_structural_parser(dom_parser_implementation &_parser) : structural_parser(_parser, _parser.next_structural_index) {}
// override to add streaming
WARN_UNUSED really_inline error_code start(ret_address_t finish_par... | 28.384615 | 142 | 0.675839 |
b075b6528ec38dd0f3c1dc8eee8f9573ac7d477a | 4,188 | py | Python | client.py | CSBonLaboratory/COVID19-Vaccination-Monitor | 773d351081bdcb26e3f0903828b57d5773a2bdb7 | [
"MIT"
] | null | null | null | client.py | CSBonLaboratory/COVID19-Vaccination-Monitor | 773d351081bdcb26e3f0903828b57d5773a2bdb7 | [
"MIT"
] | null | null | null | client.py | CSBonLaboratory/COVID19-Vaccination-Monitor | 773d351081bdcb26e3f0903828b57d5773a2bdb7 | [
"MIT"
] | null | null | null | from pymongo import MongoClient
import matplotlib.pyplot as plt
import sys
mongo_client = None
patients = None
db = None
vacCenters = None
counties = None
personnel = None
conditions = None
def main():
global mongo_client
global db
global patients
global vacCenters
global counties
global pers... | 23.396648 | 130 | 0.616762 |
7f6d10cbe3da40b2630eb5f996a4c24c59f0f8f7 | 4,496 | php | PHP | application/modules/department/views/assign_employee_view.php | fajardokarl/aims | b7c19a93f5cfe87295dc545683c1f5e85f49ac07 | [
"MIT"
] | null | null | null | application/modules/department/views/assign_employee_view.php | fajardokarl/aims | b7c19a93f5cfe87295dc545683c1f5e85f49ac07 | [
"MIT"
] | null | null | null | application/modules/department/views/assign_employee_view.php | fajardokarl/aims | b7c19a93f5cfe87295dc545683c1f5e85f49ac07 | [
"MIT"
] | null | null | null | <div class="row" id='showtable'>
<div class="col-md-12">
<div class="portlet light " id="departmentmasterlist">
<div class="portlet-title">
<div class="caption font-green-sharp">
<i class="fa fa-users font-green-sharp"></i>
<span class="caption-subject bold uppercase"> Department... | 42.415094 | 274 | 0.431717 |
a1774b78f6a3adced93775ab6ab9727faeab8146 | 471 | tsx | TypeScript | src/presentation/components/atoms/WidthManager.tsx | mlkmd/pokemon-wordle-solver | ca5b1853f31c7a6bc22ce28afd6fc598b7156ea1 | [
"MIT"
] | null | null | null | src/presentation/components/atoms/WidthManager.tsx | mlkmd/pokemon-wordle-solver | ca5b1853f31c7a6bc22ce28afd6fc598b7156ea1 | [
"MIT"
] | 20 | 2022-03-06T06:54:04.000Z | 2022-03-22T00:08:40.000Z | src/presentation/components/atoms/WidthManager.tsx | mlkmd/pokemon-wordle-solver | ca5b1853f31c7a6bc22ce28afd6fc598b7156ea1 | [
"MIT"
] | null | null | null | import Style from 'presentation/components/atoms/WidthManager.module.scss';
import { ComponentProps, FC, ReactNode } from 'react';
import classnames from 'classnames';
import { Box } from '@mui/material';
type Props = ComponentProps<typeof Box>;
const WidthManager: FC<Props> = ({ children, className, ...props }) => {
... | 31.4 | 75 | 0.70276 |
43eecac3537b4799309d7e13b962b69459cad828 | 2,081 | tsx | TypeScript | frontend/src/pages/SignUp/index.tsx | gabrielgsa/gobarber | 3b3ef0cf018c9480426e629b5639137d0122b684 | [
"MIT"
] | 1 | 2020-07-15T02:22:13.000Z | 2020-07-15T02:22:13.000Z | frontend/src/pages/SignUp/index.tsx | gabrielgsa/gobarber | 3b3ef0cf018c9480426e629b5639137d0122b684 | [
"MIT"
] | 3 | 2022-02-19T05:34:33.000Z | 2022-03-30T22:38:56.000Z | frontend/src/pages/SignUp/index.tsx | gabrielsanttana/gobarber | 34e22909b0152179c10be02fe85239a57225341a | [
"MIT"
] | null | null | null | import React, {useCallback, useRef} from 'react';
import {FiArrowLeft, FiLock, FiMail} from 'react-icons/fi';
import {FormHandles} from '@unform/core';
import {Form} from '@unform/web';
import * as Yup from 'yup';
import {Container, Content, Background} from './styles';
import logo from '../../assets/logo.svg';
import ... | 26.679487 | 80 | 0.568957 |
7058e5483415f07bfe73aaceec1b934c7477b1b9 | 140 | cpp | C++ | Source/FSDEngine/Private/RemappedProperties.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 8 | 2021-07-10T20:06:05.000Z | 2022-03-04T19:03:50.000Z | Source/FSDEngine/Private/RemappedProperties.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 9 | 2022-01-13T20:49:44.000Z | 2022-03-27T22:56:48.000Z | Source/FSDEngine/Private/RemappedProperties.cpp | Dr-Turtle/DRG_ModPresetManager | abd7ff98a820969504491a1fe68cf2f9302410dc | [
"MIT"
] | 2 | 2021-07-10T20:05:42.000Z | 2022-03-14T17:05:35.000Z | #include "RemappedProperties.h"
FRemappedProperties::FRemappedProperties() {
this->CellSize = EPreviewCellSize::PRV_CELL_SIZE_12_5;
}
| 20 | 58 | 0.785714 |
38a3706349b4872ed0b811057ebe7c1bb2a00326 | 39 | php | PHP | libraries/@/output.php | iamfat/qf | 07966ce6fc299b8f8adb73fe5e7d82d2612bdde5 | [
"MIT"
] | 1 | 2016-09-26T07:32:42.000Z | 2016-09-26T07:32:42.000Z | libraries/@/output.php | liyu001989/qf | fcfdefa98eb6a8e8087edf68d2c8a1f0beb0b6b7 | [
"MIT"
] | 9 | 2015-01-21T09:08:36.000Z | 2018-08-15T06:17:22.000Z | libraries/@/output.php | liyu001989/qf | fcfdefa98eb6a8e8087edf68d2c8a1f0beb0b6b7 | [
"MIT"
] | 19 | 2015-01-08T05:35:50.000Z | 2020-03-20T03:17:13.000Z | <?php
class Output extends _Output {}
| 9.75 | 31 | 0.717949 |
3dbdbb9efbb054f1849e9d9741c75f37c355ba2e | 23,608 | swift | Swift | Arithmetic Drill/ArithmeticViewController.swift | tkumata/Arithmetic-Drill | 04fe800cbf906f4bba8230f4fc31e62413bfb7d1 | [
"Unlicense",
"MIT"
] | 1 | 2020-03-11T10:11:01.000Z | 2020-03-11T10:11:01.000Z | Arithmetic Drill/ArithmeticViewController.swift | tkumata/Arithmetic-Drill | 04fe800cbf906f4bba8230f4fc31e62413bfb7d1 | [
"Unlicense",
"MIT"
] | null | null | null | Arithmetic Drill/ArithmeticViewController.swift | tkumata/Arithmetic-Drill | 04fe800cbf906f4bba8230f4fc31e62413bfb7d1 | [
"Unlicense",
"MIT"
] | null | null | null | //
// ArithmeticViewController.swift
// Arithmetic Drill
//
// Created by KUMATA Tomokatsu on 2016/11/07.
// Copyright © 2016 KUMATA Tomokatsu. All rights reserved.
//
import UIKit
import AVFoundation
import AudioToolbox.AudioServices
import MultipeerConnectivity
class ArithmeticViewController: UIViewController, ... | 36.042748 | 208 | 0.58692 |
31a50209d459b3f12e35d8ebe719f425ae062f60 | 1,849 | go | Go | core/kv/kvdb/kvdb_instance.go | bigdot123456/xuperunion | f5a1be94c4a126d8d09a8aef87bf9d585c5d4d40 | [
"Apache-2.0"
] | 1 | 2021-01-07T05:23:02.000Z | 2021-01-07T05:23:02.000Z | core/kv/kvdb/kvdb_instance.go | bigdot123456/xuperunion | f5a1be94c4a126d8d09a8aef87bf9d585c5d4d40 | [
"Apache-2.0"
] | 3 | 2021-01-26T06:42:01.000Z | 2021-03-17T12:11:56.000Z | core/kv/kvdb/kvdb_instance.go | bigdot123456/xuperunion | f5a1be94c4a126d8d09a8aef87bf9d585c5d4d40 | [
"Apache-2.0"
] | 1 | 2020-09-22T01:29:19.000Z | 2020-09-22T01:29:19.000Z | package kvdb
import (
"github.com/xuperchain/xuperchain/core/common/log"
"github.com/xuperchain/xuperchain/core/pluginmgr"
)
// KVParameter structure for kv instance parameters
type KVParameter struct {
DBPath string
KVEngineType string
MemCacheSize int
FileHandlersCacheSize int... | 27.191176 | 84 | 0.731206 |
2ca8bf7920d8e128693ae3ed97a5c01327b488e1 | 4,639 | py | Python | src/kvt/augmentation/spec_augmentation.py | Ynakatsuka/nishika-22 | 72994cab16486b3a26686642ad72a29b6761b46d | [
"BSD-2-Clause"
] | 4 | 2022-02-01T05:04:53.000Z | 2022-02-02T04:16:31.000Z | src/kvt/augmentation/spec_augmentation.py | Ynakatsuka/nishika-22 | 72994cab16486b3a26686642ad72a29b6761b46d | [
"BSD-2-Clause"
] | null | null | null | src/kvt/augmentation/spec_augmentation.py | Ynakatsuka/nishika-22 | 72994cab16486b3a26686642ad72a29b6761b46d | [
"BSD-2-Clause"
] | null | null | null | # Ref: https://bit.ly/3HMbEc6
import numpy as np
import torch
import torch.nn as nn
class DropStripes(nn.Module):
def __init__(self, dim, drop_width, stripes_num):
"""Drop stripes.
Args:
dim: int, dimension along which to drop
drop_width: int, maximum width of stripes to drop
... | 29.360759 | 79 | 0.538047 |
9bc3d682c0bd1db0d51a0e1567f1b941b36ca95b | 2,159 | dart | Dart | src/lib/main.dart | YahArt/flutter-local-notification | 8f0f87c6bbc18228aeec56c1f22868577536d3d6 | [
"MIT"
] | null | null | null | src/lib/main.dart | YahArt/flutter-local-notification | 8f0f87c6bbc18228aeec56c1f22868577536d3d6 | [
"MIT"
] | null | null | null | src/lib/main.dart | YahArt/flutter-local-notification | 8f0f87c6bbc18228aeec56c1f22868577536d3d6 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
final FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
FlutterLocalNotificationsPlugin();
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
const Androi... | 30.408451 | 79 | 0.695692 |
a38382a406c1adaadf17064ac6ea3980d6580a34 | 3,795 | java | Java | Maze Project/maze-runner/src/maze/algo/solving/Node.java | sajjadgol/DSA | 176b6c6e812c27866d04deed836b92b6566449a2 | [
"MIT"
] | 10 | 2021-03-03T05:57:59.000Z | 2022-03-05T04:52:49.000Z | Maze Project/maze-runner/src/maze/algo/solving/Node.java | sajjadgol/DSA | 176b6c6e812c27866d04deed836b92b6566449a2 | [
"MIT"
] | 3 | 2021-01-16T17:58:22.000Z | 2021-01-24T14:23:21.000Z | Maze Project/maze-runner/src/maze/algo/solving/Node.java | sajjadgol/DSA | 176b6c6e812c27866d04deed836b92b6566449a2 | [
"MIT"
] | 5 | 2020-11-10T21:30:05.000Z | 2021-02-09T08:41:18.000Z | package maze.algo.solving;
import java.util.Objects;
/**
* This class stores an information about the particular
* node in a node grid. It is used in the
* <a href="https://en.wikipedia.org/wiki/A*_search_algorithm">
* A* search algorithm</a> implementation.
* <p>
* A node stores an information about ... | 25.469799 | 72 | 0.560474 |
fa7a7614a3e05e1605ac92b79eba0e457cd595d8 | 7,150 | cpp | C++ | src/mame/drivers/pimps.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/pimps.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/pimps.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Robbbert
/***************************************************************************
P.I.M.P.S. (Personal Interactive MicroProcessor System)
2009-12-06 Skeleton driver.
No schematics or hardware info available.
http://www.classiccmp.org/dunfield/pimps/index.htm
Command... | 37.239583 | 170 | 0.714406 |
463f9d1b438cf6d91015b96acb582fd80c5283a6 | 261 | phpt | PHP | ext/spl/tests/bug70852.phpt | thiagooak/php-src | 4006c0008e2b9646540a427b830dd46c11458786 | [
"PHP-3.01"
] | 24 | 2015-01-19T05:48:51.000Z | 2022-02-22T17:40:07.000Z | ext/spl/tests/bug70852.phpt | thiagooak/php-src | 4006c0008e2b9646540a427b830dd46c11458786 | [
"PHP-3.01"
] | 10 | 2020-03-09T13:40:46.000Z | 2020-06-04T12:31:43.000Z | ext/spl/tests/bug70852.phpt | thiagooak/php-src | 4006c0008e2b9646540a427b830dd46c11458786 | [
"PHP-3.01"
] | 4 | 2020-04-04T16:37:05.000Z | 2020-08-18T16:54:49.000Z | --TEST--
Bug #70852 Segfault getting NULL offset of an ArrayObject
--FILE--
<?php
$y = new ArrayObject();
var_dump($y[NULL]);
var_dump($y[NULL]++);
?>
--EXPECTF--
Notice: Undefined index: in %s on line %d
NULL
Notice: Undefined index: in %s on line %d
NULL
| 16.3125 | 57 | 0.670498 |
d1bd38a239f673488efc65b540d9155134263c72 | 21,799 | cs | C# | NetDimension.NanUI.XP/ChromiumFX/Generated/Remote/CfrApp.cs | 0XC8/NanUI | 4a3fdc5eea132de683a4cd69a8824835da6ec12b | [
"MIT"
] | 12 | 2018-10-13T14:45:10.000Z | 2021-05-28T01:51:33.000Z | NetDimension.NanUI.XP/ChromiumFX/Generated/Remote/CfrApp.cs | mxq00812314/NanUI | 4a3fdc5eea132de683a4cd69a8824835da6ec12b | [
"MIT"
] | null | null | null | NetDimension.NanUI.XP/ChromiumFX/Generated/Remote/CfrApp.cs | mxq00812314/NanUI | 4a3fdc5eea132de683a4cd69a8824835da6ec12b | [
"MIT"
] | 6 | 2017-04-27T20:39:32.000Z | 2020-02-29T06:25:50.000Z | // Copyright (c) 2014-2015 Wolfgang Borgsmüller
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
// notice, th... | 47.492375 | 146 | 0.623056 |
451ee02d35fd7392e9e25c44099937594bd864d7 | 413 | asm | Assembly | programs/oeis/300/A300222.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/300/A300222.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/300/A300222.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A300222: In ternary (base-3) representation of n, replace 1's with 0's.
; 0,0,2,0,0,2,6,6,8,0,0,2,0,0,2,6,6,8,18,18,20,18,18,20,24,24,26,0,0,2,0,0,2,6,6,8,0,0,2,0,0,2,6,6,8,18,18,20,18,18,20,24,24,26,54,54,56,54,54,56,60,60,62,54,54,56,54,54,56,60,60,62,72,72,74,72,72,74,78,78,80,0,0,2,0,0,2,6,6,8,0,0,2,0,0,2,6,6,8,1... | 59 | 247 | 0.62954 |