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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f94183714a0b8cebe6d75aaf5095f2d8072e0b82 | 1,572 | swift | Swift | Example/Example/ViewController.swift | LaudyLaw/LSPlayPauseButton | 1df5b757178a9d30e9e2b5615e4164ceaf610d37 | [
"MIT"
] | 5 | 2017-09-12T07:32:36.000Z | 2018-10-21T17:48:30.000Z | Example/Example/ViewController.swift | LaudyLaw/LSPlayPauseButton | 1df5b757178a9d30e9e2b5615e4164ceaf610d37 | [
"MIT"
] | null | null | null | Example/Example/ViewController.swift | LaudyLaw/LSPlayPauseButton | 1df5b757178a9d30e9e2b5615e4164ceaf610d37 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// ButtonTest
//
// Created by Pisen_LuoSong on 2017/9/7.
// Copyright © 2017年 LuoSong. All rights reserved.
//
import LSPlayPauseButton
import UIKit
class ViewController: UIViewController {
//MARK: private properties
var iqiyiPlayPauseButton: LSPlayPauseButton?
var youkuPla... | 34.933333 | 113 | 0.679389 |
c2380aa5b685c48b1b9308f3ca6b73579bd34941 | 5,299 | c | C | tests/unit_tests/test_unit_write_utils.c | ijacquez/microshell | 9033fb89a575c043bfe9940d3aabf74a765cdc86 | [
"MIT"
] | 77 | 2021-05-09T19:33:09.000Z | 2022-03-23T11:57:47.000Z | tests/unit_tests/test_unit_write_utils.c | ijacquez/microshell | 9033fb89a575c043bfe9940d3aabf74a765cdc86 | [
"MIT"
] | 8 | 2021-05-20T18:14:41.000Z | 2022-01-07T00:12:03.000Z | tests/unit_tests/test_unit_write_utils.c | ijacquez/microshell | 9033fb89a575c043bfe9940d3aabf74a765cdc86 | [
"MIT"
] | 13 | 2021-06-23T15:10:03.000Z | 2022-03-23T19:13:50.000Z | /*
MIT License
Copyright (c) 2021 Marcin Borowicz <marcinbor85@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | 30.454023 | 78 | 0.646348 |
2d2ce118e260c5197adeed672d7e91d9c881a69a | 113 | sql | SQL | SQL/Alternative Queries/Draw The Triangle 2.sql | dmverner/HackerRank_Solutions | 1df6f4b477014021d8276d954f6af9517a069ba3 | [
"MIT"
] | 2 | 2018-02-11T17:42:12.000Z | 2018-05-31T18:30:39.000Z | SQL/Alternative Queries/Draw The Triangle 2.sql | dmverner/HackerRank_Solutions | 1df6f4b477014021d8276d954f6af9517a069ba3 | [
"MIT"
] | null | null | null | SQL/Alternative Queries/Draw The Triangle 2.sql | dmverner/HackerRank_Solutions | 1df6f4b477014021d8276d954f6af9517a069ba3 | [
"MIT"
] | 1 | 2019-09-15T15:22:04.000Z | 2019-09-15T15:22:04.000Z | SELECT REPEAT('* ', @NUMBER := @NUMBER + 1) FROM information_schema.tables,
(SELECT @NUMBER := 0) t LIMIT 20; | 56.5 | 75 | 0.654867 |
2622687bccd8dfcb128c5d97a56a36ec3c48b3fb | 100 | sql | SQL | inst/sql/tables/create_tbl_SCFF_PELL.sql | christian-million/cccrepo | aa7ec866f394f0b946e571a97fb8c1076430efd0 | [
"MIT"
] | null | null | null | inst/sql/tables/create_tbl_SCFF_PELL.sql | christian-million/cccrepo | aa7ec866f394f0b946e571a97fb8c1076430efd0 | [
"MIT"
] | null | null | null | inst/sql/tables/create_tbl_SCFF_PELL.sql | christian-million/cccrepo | aa7ec866f394f0b946e571a97fb8c1076430efd0 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS SCFF_PELL (
STUDENT_ID TEXT,
STUDENT_ID_TYPE TEXT,
TERM TEXT
);
| 16.666667 | 38 | 0.72 |
0c3a89700c8f67218a09655f90eaca9eede34283 | 757 | rb | Ruby | features/page_objects/journey/location_page.rb | DEFRA/waste-exemptions-acceptance-tests | da7fefa0b96653099adb4f059bf1e0381e59a5d4 | [
"Unlicense"
] | 1 | 2018-11-15T05:09:14.000Z | 2018-11-15T05:09:14.000Z | features/page_objects/journey/location_page.rb | DEFRA/waste-exemptions-acceptance-tests | da7fefa0b96653099adb4f059bf1e0381e59a5d4 | [
"Unlicense"
] | 69 | 2017-01-31T11:53:31.000Z | 2021-12-06T12:10:42.000Z | features/page_objects/journey/location_page.rb | DEFRA/waste-exemptions-acceptance-tests | da7fefa0b96653099adb4f059bf1e0381e59a5d4 | [
"Unlicense"
] | 2 | 2020-11-04T03:54:24.000Z | 2021-04-10T21:34:38.000Z | # frozen_string_literal: true
class LocationPage < SitePrism::Page
element(:error, ".error-summary")
element(:heading, ".heading-large")
element(:england, "#location_form_location_england + label")
element(:wales, "#location_form_location_wales + label")
element(:scotland, "#location_form_location_scotland... | 24.419355 | 80 | 0.72391 |
b0b919764be6ca617e27b1c4d27af9d1e252473e | 12,392 | py | Python | SimModel_Python_API/simmodel_swig/Release/SimFlowEnergyTransfer_ConvectiveHeater_Water.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/Release/SimFlowEnergyTransfer_ConvectiveHeater_Water.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/Release/SimFlowEnergyTransfer_ConvectiveHeater_Water.py | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.7
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path imp... | 45.896296 | 181 | 0.778002 |
2787cf8508cff61255e86ac5ebc0a182e1e60874 | 487 | asm | Assembly | libsrc/stdio/sprintf_outc.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | 8 | 2017-01-18T12:02:17.000Z | 2021-06-12T09:40:28.000Z | libsrc/stdio/sprintf_outc.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | 1 | 2017-03-06T07:41:56.000Z | 2017-03-06T07:41:56.000Z | libsrc/stdio/sprintf_outc.asm | RC2014Z80/z88dk | e5b9447b970e5fae26544b6d8aa5957c98ba0e6a | [
"ClArtistic"
] | 3 | 2017-03-07T03:19:40.000Z | 2021-09-15T17:59:19.000Z | MODULE sprintf_outc
SECTION code_clib
PUBLIC sprintf_outc
EXTERN fputc_cons
sprintf_outc:
pop bc
pop hl ;fp
pop de ;charcter
push bc
push ix ;save ix
push hl ;get fp into ix
pop ix
ld c,(ix+2)
ld b,(ix+3)
ld a,c
or b
jr z,no_space
dec bc ;reduce space
ld (ix+2),c
ld (ix+3),b
ld l,(ix+0)
ld h... | 12.487179 | 36 | 0.652977 |
4bd9b449e82df04b9e1137e6de709f772c1cfaba | 210 | h | C | ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/BWT.h | TomoGudelj/Computing-the-longest-common-prefix | 6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c | [
"MIT"
] | null | null | null | ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/BWT.h | TomoGudelj/Computing-the-longest-common-prefix | 6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c | [
"MIT"
] | null | null | null | ComputingTheLongestCommonPrefixArray/ComputingTheLongestCommonPrefixArray/BWT.h | TomoGudelj/Computing-the-longest-common-prefix | 6fd891f8c51ffa1057a1394d404d6ee9a7c50c0c | [
"MIT"
] | null | null | null | #ifndef _BWTCLASS_H_
#define _BWTCLASS_H_
#include <string>
#include <vector>
class BWT
{
public:
std::string BWT_string;
BWT();
~BWT();
void CalculateBWT(std::string S, int *SA);
private:
};
#endif
| 9.545455 | 43 | 0.685714 |
215099de68db35a3a9960461e40a6009409ec63c | 639 | js | JavaScript | migrations/1_ikon.js | anatolii10k/nft-smart-contract | 70e15abb0df9c943e0e68066ff9a78e66d669559 | [
"MIT"
] | null | null | null | migrations/1_ikon.js | anatolii10k/nft-smart-contract | 70e15abb0df9c943e0e68066ff9a78e66d669559 | [
"MIT"
] | null | null | null | migrations/1_ikon.js | anatolii10k/nft-smart-contract | 70e15abb0df9c943e0e68066ff9a78e66d669559 | [
"MIT"
] | null | null | null | const IkonicCoin = artifacts.require("IkonicCoin");
const IkonicMarket = artifacts.require("Marketplace");
module.exports = async (deployer) => {
await deployer.deploy(IkonicCoin);
const coinContract = await IkonicCoin.deployed();
const coinAddress = coinContract.address;
//const coinAddress = '0x301Fe0CF20d18... | 35.5 | 100 | 0.762128 |
c661f121ed094b39d60393bfbbe2cc6e3209963e | 514 | py | Python | startup/menu.py | ArtFXDev/silex_nuke | 670a0d9d282258ed6fe926c78f163d5a86d93c26 | [
"MIT"
] | null | null | null | startup/menu.py | ArtFXDev/silex_nuke | 670a0d9d282258ed6fe926c78f163d5a86d93c26 | [
"MIT"
] | 1 | 2021-09-17T14:18:32.000Z | 2021-09-24T12:17:50.000Z | startup/menu.py | ArtFXDev/silex_nuke | 670a0d9d282258ed6fe926c78f163d5a86d93c26 | [
"MIT"
] | null | null | null | from silex_client.core.context import Context
from silex_client.resolve.config import Config
from silex_client.action.action_query import ActionQuery
actions = [item["name"] for item in Config().actions]
def command(action_name):
ActionQuery(action_name).execute()
def create_menus():
for action in actions:... | 23.363636 | 67 | 0.708171 |
43623c71d572379ef18bf89e0ef48e6598f101f2 | 115 | ts | TypeScript | fixtures/restricted-visibility/building-blocks/src/foo1/bb1/AnotherFoo1BB1.ts | feature-lint/feature-lint | be8aac3130debf29856ba61bf397ca4f224f0c36 | [
"MIT"
] | 7 | 2021-08-07T14:33:43.000Z | 2022-03-13T10:18:08.000Z | fixtures/restricted-visibility/building-blocks/src/foo1/bb1/AnotherFoo1BB1.ts | feature-lint/feature-lint | be8aac3130debf29856ba61bf397ca4f224f0c36 | [
"MIT"
] | 1 | 2021-07-15T07:27:50.000Z | 2021-08-19T20:55:09.000Z | fixtures/restricted-visibility/building-blocks/src/foo1/bb1/AnotherFoo1BB1.ts | feature-lint/feature-lint | be8aac3130debf29856ba61bf397ca4f224f0c36 | [
"MIT"
] | null | null | null | import { Foo1BB1 } from "src/foo1/bb1/private/Foo1BB1.js"; // allowed
Foo1BB1;
export const AnotherFoo1BB1 = {};
| 19.166667 | 69 | 0.713043 |
a343f29105efa86622759191362037f2ae449e1d | 339 | java | Java | src/main/java/com/study/guildOfNothing/constant/ProfileEnum.java | Nechelley/GuildOfNothing | 58e5578ed7d53b1f38e9b7f80689105df8f6b432 | [
"MIT"
] | null | null | null | src/main/java/com/study/guildOfNothing/constant/ProfileEnum.java | Nechelley/GuildOfNothing | 58e5578ed7d53b1f38e9b7f80689105df8f6b432 | [
"MIT"
] | null | null | null | src/main/java/com/study/guildOfNothing/constant/ProfileEnum.java | Nechelley/GuildOfNothing | 58e5578ed7d53b1f38e9b7f80689105df8f6b432 | [
"MIT"
] | null | null | null | package com.study.guildOfNothing.constant;
//Equal in database
public enum ProfileEnum {
ADMIN(1L, "ADMIN"), BASIC(2L, "BASIC");
private String name;
private Long id;
ProfileEnum(Long id, String name) {
this.id = id;
this.name = name;
}
public String getName() {
return name;
}
public Long getId() {
... | 13.56 | 42 | 0.666667 |
af0bc3bd026a2c412eb988af48559570738dfb2e | 6,304 | rs | Rust | sdk/servicecatalog/src/lens.rs | StevenBlack/aws-sdk-rust | f4a1458f0154318c47d7e6a4ac55226f400fbfbc | [
"Apache-2.0"
] | 1,415 | 2021-05-07T20:15:53.000Z | 2022-03-31T20:47:15.000Z | sdk/servicecatalog/src/lens.rs | StevenBlack/aws-sdk-rust | f4a1458f0154318c47d7e6a4ac55226f400fbfbc | [
"Apache-2.0"
] | 253 | 2021-05-07T21:53:56.000Z | 2022-03-29T20:52:47.000Z | sdk/servicecatalog/src/lens.rs | StevenBlack/aws-sdk-rust | f4a1458f0154318c47d7e6a4ac55226f400fbfbc | [
"Apache-2.0"
] | 108 | 2021-05-07T20:42:02.000Z | 2022-03-28T18:16:53.000Z | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn reflens_structure_crate_output_describe_portfolio_shares_output_next_page_token(
input: &crate::output::DescribePortfolioSharesOutput,
) -> std::option::Option<&std::string::String> {
let input = match &input.next_pag... | 33.005236 | 115 | 0.695907 |
9241b0fbaa2bad3232e81b664fd7dce7873447c2 | 811 | rb | Ruby | spec/ruby_extensions/rails_environment_extensions_spec.rb | babelian/ruby_extensions | c7c2b0ca8fd563c0b8b636a0148fb26e64b7feb3 | [
"MIT"
] | 1 | 2019-09-13T12:31:13.000Z | 2019-09-13T12:31:13.000Z | spec/ruby_extensions/rails_environment_extensions_spec.rb | babelian/ruby_extensions | c7c2b0ca8fd563c0b8b636a0148fb26e64b7feb3 | [
"MIT"
] | null | null | null | spec/ruby_extensions/rails_environment_extensions_spec.rb | babelian/ruby_extensions | c7c2b0ca8fd563c0b8b636a0148fb26e64b7feb3 | [
"MIT"
] | null | null | null | require File.dirname(__FILE__) + '/../spec_helper'
describe Object do
# Fake Rails
class Rails
def self.env
'development'
end
def self.call
'response'
end
end
describe '#in_environment' do
it 'with a string' do
expect(in_environment('development')).to eql(true)
end... | 18.860465 | 56 | 0.62762 |
4f3b115eeb0b2f675fb3ebfa7b86fb4a15d624d7 | 675 | dart | Dart | lib/ui/screens/chats/chat/widgets/message_day_divider.dart | CabelloIsaac/flutter-firebase-chat | 3f2598342a474696c91122697995588d3165b044 | [
"MIT"
] | 2 | 2021-03-23T21:20:36.000Z | 2022-01-28T20:34:02.000Z | lib/ui/screens/chats/chat/widgets/message_day_divider.dart | CabelloIsaac/flutter-firebase-chat | 3f2598342a474696c91122697995588d3165b044 | [
"MIT"
] | null | null | null | lib/ui/screens/chats/chat/widgets/message_day_divider.dart | CabelloIsaac/flutter-firebase-chat | 3f2598342a474696c91122697995588d3165b044 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_firebase_chat/models/message.dart';
import 'package:flutter_firebase_chat/utils/functions.dart';
class MessageDayDivider extends StatelessWidget {
const MessageDayDivider(this.message);
final Message message;
@override
Widget build(BuildContext ... | 30.681818 | 68 | 0.727407 |
0f090310a71c5847bc1388abbc9f69b664b6f623 | 2,427 | sql | SQL | components/automate-workflow-server/schema/deploy/invalidate_tokens_and_passwords.sql | fossabot/automate-1 | 16910c3ebd75ee0aa25e527bfce3e1378306f42d | [
"Apache-2.0"
] | 191 | 2019-04-16T15:04:53.000Z | 2022-03-21T14:10:44.000Z | components/automate-workflow-server/schema/deploy/invalidate_tokens_and_passwords.sql | fossabot/automate-1 | 16910c3ebd75ee0aa25e527bfce3e1378306f42d | [
"Apache-2.0"
] | 4,882 | 2019-04-16T16:16:01.000Z | 2022-03-31T15:39:35.000Z | components/automate-workflow-server/schema/deploy/invalidate_tokens_and_passwords.sql | fossabot/automate-1 | 16910c3ebd75ee0aa25e527bfce3e1378306f42d | [
"Apache-2.0"
] | 114 | 2019-04-16T15:21:27.000Z | 2022-03-26T09:50:08.000Z | -- Deploy invalidate_tokens_and_passwords
BEGIN;
CREATE TYPE credential AS ENUM('password', 'token');
CREATE OR REPLACE FUNCTION credential_table(p_credential credential)
RETURNS NAME
LANGUAGE SQL IMMUTABLE
AS $$
SELECT CASE p_credential
WHEN 'password' THEN 'user_passwords'::NAME
WHEN 'token' ... | 27.269663 | 81 | 0.682736 |
4430990761f13d2bcf52157a6332af01f85caf8b | 37,301 | py | Python | experimental/multihead/resnet.py | gmum/uncertainty-baselines | 1118f7d9c084282e12eb0959dfe0ca12eb3d2388 | [
"Apache-2.0"
] | null | null | null | experimental/multihead/resnet.py | gmum/uncertainty-baselines | 1118f7d9c084282e12eb0959dfe0ca12eb3d2388 | [
"Apache-2.0"
] | null | null | null | experimental/multihead/resnet.py | gmum/uncertainty-baselines | 1118f7d9c084282e12eb0959dfe0ca12eb3d2388 | [
"Apache-2.0"
] | null | null | null |
import os.path
from absl import app
from absl import flags
from absl import logging
from typing import Any, Dict
import tensorflow as tf
import tensorflow.keras as keras
import uncertainty_baselines as ub
import uncertainty_metrics as um
import numpy as np
# import sklearn.isotonic
# import sklearn.neural_network
... | 38.653886 | 127 | 0.56843 |
dd8a804253c1d3e59c07d6ac964aee4a8871fb81 | 1,423 | java | Java | src/main/java/com/withinet/opaas/controller/RoleController.java | foomoto/easypaas | d7bae456ebaa6cb5ea4ecf69bc1a95a93e18a672 | [
"Apache-2.0"
] | 1 | 2018-11-11T15:44:13.000Z | 2018-11-11T15:44:13.000Z | src/main/java/com/withinet/opaas/controller/RoleController.java | foomoto/easypaas | d7bae456ebaa6cb5ea4ecf69bc1a95a93e18a672 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/withinet/opaas/controller/RoleController.java | foomoto/easypaas | d7bae456ebaa6cb5ea4ecf69bc1a95a93e18a672 | [
"Apache-2.0"
] | null | null | null | /**
*
*/
package com.withinet.opaas.controller;
import java.util.List;
import org.springframework.web.bind.annotation.RestController;
import com.withinet.opaas.controller.common.RoleControllerException;
import com.withinet.opaas.model.domain.Permission;
import com.withinet.opaas.model.domain.Role;
/... | 33.093023 | 118 | 0.785664 |
2731507e469ff41c925c3e7c246078c0697565ec | 170 | lua | Lua | modules/unitframes/tags.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | modules/unitframes/tags.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | modules/unitframes/tags.lua | PedroZC90/LuaUI | 5b3fab73f4d774b04f03b1097f44212c6ecb947b | [
"MIT"
] | null | null | null | local T, C, L = Tukui:unpack()
----------------------------------------------------------------
-- Tags
----------------------------------------------------------------
| 28.333333 | 64 | 0.135294 |
e752df59977c56f1e495562ce469d618ca091827 | 829 | php | PHP | phpbb3.0/includes/auth/bridgebb/BridgeBBDBAL.php | bee-b/lara-auth-bridge | 9ac1bbb8031b81a39cade3648fe656dd18611bd4 | [
"MIT"
] | 18 | 2015-06-18T21:30:25.000Z | 2018-02-28T05:52:57.000Z | phpbb3.0/includes/auth/bridgebb/BridgeBBDBAL.php | bee-b/lara-auth-bridge | 9ac1bbb8031b81a39cade3648fe656dd18611bd4 | [
"MIT"
] | 12 | 2015-09-22T03:53:10.000Z | 2021-02-15T11:35:02.000Z | phpbb3.0/includes/auth/bridgebb/BridgeBBDBAL.php | bee-b/lara-auth-bridge | 9ac1bbb8031b81a39cade3648fe656dd18611bd4 | [
"MIT"
] | 16 | 2015-07-17T08:22:00.000Z | 2021-10-03T19:31:07.000Z | <?php
class BridgeBBDBAL
{
public static function getUserByUsername($username)
{
global $db;
$username = mb_strtolower($username);
$sql = 'SELECT *
FROM '.USERS_TABLE."
WHERE LOWER(username) = '".$db->sql_escape($username)."'";
$result = $db->sql_query($s... | 25.90625 | 70 | 0.546441 |
e2878546ecd26dc52a42fd3584c9df95fb67ca7f | 141 | py | Python | backend/server/user/urls.py | munteanugabriel25/Javascript-RestApiDjango-FoodDelievery | 0a362cc48ae0c8435f0d89f7c352b325995f9098 | [
"Unlicense"
] | null | null | null | backend/server/user/urls.py | munteanugabriel25/Javascript-RestApiDjango-FoodDelievery | 0a362cc48ae0c8435f0d89f7c352b325995f9098 | [
"Unlicense"
] | null | null | null | backend/server/user/urls.py | munteanugabriel25/Javascript-RestApiDjango-FoodDelievery | 0a362cc48ae0c8435f0d89f7c352b325995f9098 | [
"Unlicense"
] | null | null | null | from django.urls import path, include
from .views import UserLoginApiView
urlpatterns = [
path('login/', UserLoginApiView.as_view()),
]
| 20.142857 | 47 | 0.744681 |
6dedc1145143a817fddc232f7f5222f323c4a9d5 | 4,141 | h | C | targets/all/sensors/position/LIS3MD.h | minuteos/lib-sensors | 752359daf3e2e143064ad459c46763935e2f318a | [
"MIT"
] | 1 | 2021-10-02T07:59:59.000Z | 2021-10-02T07:59:59.000Z | targets/all/sensors/position/LIS3MD.h | minuteos/lib-sensors | 752359daf3e2e143064ad459c46763935e2f318a | [
"MIT"
] | null | null | null | targets/all/sensors/position/LIS3MD.h | minuteos/lib-sensors | 752359daf3e2e143064ad459c46763935e2f318a | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019 triaxis s.r.o.
* Licensed under the MIT license. See LICENSE.txt file in the repository root
* for full license information.
*
* sensors/position/LIS3MD.h
*/
#pragma once
#include <sensors/I2CSensor.h>
namespace sensors::position
{
class LIS3MD : I2CSensor
{
public:
enum struct Add... | 22.628415 | 121 | 0.545037 |
5d647427755bd5cf6ebbca66a79030eb40079c79 | 4,346 | cpp | C++ | src/Utils/Tests/Math/BSplines/BSplineTest.cpp | DockBio/utilities | 213ed5ac2a64886b16d0fee1fcecb34d36eea9e9 | [
"BSD-3-Clause"
] | null | null | null | src/Utils/Tests/Math/BSplines/BSplineTest.cpp | DockBio/utilities | 213ed5ac2a64886b16d0fee1fcecb34d36eea9e9 | [
"BSD-3-Clause"
] | null | null | null | src/Utils/Tests/Math/BSplines/BSplineTest.cpp | DockBio/utilities | 213ed5ac2a64886b16d0fee1fcecb34d36eea9e9 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#include <Utils/Math/BSplines/BSpline.h>
#include <Utils/Math/BSplines/Coefficients.h>
#include <Utils... | 31.266187 | 95 | 0.744133 |
58124c83e8f0ad84edbea0a8dfada21f0b1e33b2 | 557 | css | CSS | public/style.css | ivanpakpahan27/agromeat | b8a3c180e3c3a979d009873fde239e4e0357aff6 | [
"MIT"
] | null | null | null | public/style.css | ivanpakpahan27/agromeat | b8a3c180e3c3a979d009873fde239e4e0357aff6 | [
"MIT"
] | null | null | null | public/style.css | ivanpakpahan27/agromeat | b8a3c180e3c3a979d009873fde239e4e0357aff6 | [
"MIT"
] | null | null | null | .gambar {
width: 190px;
}
.table > tbody > tr > * {
vertical-align: middle;
}
.notification {
/* background-color: #555; */
color: white;
text-decoration: none;
/* padding: 15px 26px; */
position: relative;
display: inline-block;
border-radius: 2px;
}
.notification .badge {
position: absolute;
t... | 13.585366 | 31 | 0.615799 |
7fc0205453aea0408e011e62b697d893bea030fd | 3,537 | php | PHP | vendor/amranidev/scaffold-interface/src/Http/Controllers/GuiController.php | rikardote/portal | 0c5f9e841e4532a21870e4f557a2df1203204182 | [
"MIT"
] | null | null | null | vendor/amranidev/scaffold-interface/src/Http/Controllers/GuiController.php | rikardote/portal | 0c5f9e841e4532a21870e4f557a2df1203204182 | [
"MIT"
] | null | null | null | vendor/amranidev/scaffold-interface/src/Http/Controllers/GuiController.php | rikardote/portal | 0c5f9e841e4532a21870e4f557a2df1203204182 | [
"MIT"
] | null | null | null | <?php
namespace Amranidev\ScaffoldInterface\Http\Controllers;
use Amranidev\Ajaxis\Ajaxis;
use Amranidev\ScaffoldInterface\AutoArray;
use Amranidev\ScaffoldInterface\Scaffold;
use Amranidev\ScaffoldInterface\Scaffoldinterface;
use AppController;
use Request;
use Session;
use URL;
/**
* Class GuiController
*
* @pac... | 28.296 | 280 | 0.625954 |
c6e3945e8f5dc3a1564dea71157a31e3d4a7b83f | 2,874 | py | Python | utils/scraping_utils.py | DavidMcDonald1993/mim | b55ea1c23ffd1aaf3c395480cbc6673dc6b4cf6a | [
"Apache-2.0"
] | null | null | null | utils/scraping_utils.py | DavidMcDonald1993/mim | b55ea1c23ffd1aaf3c395480cbc6673dc6b4cf6a | [
"Apache-2.0"
] | null | null | null | utils/scraping_utils.py | DavidMcDonald1993/mim | b55ea1c23ffd1aaf3c395480cbc6673dc6b4cf6a | [
"Apache-2.0"
] | null | null | null | import requests
from bs4 import BeautifulSoup
import time
from requests.exceptions import TooManyRedirects
from urllib3.connection import ConnectionError
import re
sleep = .1
def remove_html_tags(text):
return BeautifulSoup(text, features="html.parser").get_text()
def process_figure_string(figure_string_):
... | 27.902913 | 80 | 0.597425 |
7b3a682cfc774646b0e9368d63c5d8a14b550493 | 1,018 | rb | Ruby | spec/classes/learning_stickler_gems_spec.rb | thedarkwriter/pltraining-bootstrap | fe232d4c976668ce1139154170e30236b1d527bc | [
"Apache-2.0"
] | 4 | 2015-03-20T23:58:05.000Z | 2018-05-23T20:42:13.000Z | spec/classes/learning_stickler_gems_spec.rb | thedarkwriter/pltraining-bootstrap | fe232d4c976668ce1139154170e30236b1d527bc | [
"Apache-2.0"
] | 54 | 2015-03-20T17:35:48.000Z | 2021-09-01T18:09:18.000Z | spec/classes/learning_stickler_gems_spec.rb | thedarkwriter/pltraining-bootstrap | fe232d4c976668ce1139154170e30236b1d527bc | [
"Apache-2.0"
] | 21 | 2015-03-18T17:55:57.000Z | 2021-03-16T10:17:58.000Z | require 'spec_helper'
describe "bootstrap::profile::learning::learning_stickler_gems" do
let(:node) { 'test.example.com' }
let(:facts) { {
:os => {
:family => 'RedHat',
:release => {
:major => '7',
:minor => '2',
}
},
:path ... | 24.829268 | 86 | 0.496071 |
a46634ec98b18f48e79e8dd77bfc03bcbc2a69ae | 1,201 | php | PHP | resources/views/people/list.blade.php | uHs13/Laravel | 7fbc2b42063ad8e84a346aadec6542a66ceed0f9 | [
"MIT"
] | null | null | null | resources/views/people/list.blade.php | uHs13/Laravel | 7fbc2b42063ad8e84a346aadec6542a66ceed0f9 | [
"MIT"
] | 1 | 2021-02-02T21:23:27.000Z | 2021-02-02T21:23:27.000Z | resources/views/people/list.blade.php | uHs13/Laravel | 7fbc2b42063ad8e84a346aadec6542a66ceed0f9 | [
"MIT"
] | null | null | null | @extends('layouts.index')
@section('title', 'Person List')
@section('content')
<div>
<div>
<h2>Person List</h2>
<a href="{{ route('resources.create') }}">Add</a>
</div>
@if (count($people) > 0)
<div>
<ul>
@foreach ($people as $person)
... | 29.292683 | 105 | 0.354704 |
58728dc3003111b5f54f59cd9a536ffacbbca69d | 8,294 | css | CSS | estilos.css | maurodinucci97/libreria-la-sombra | 377c54a3d2fba0a0f6678953d8b1955a56bdff5f | [
"MIT"
] | null | null | null | estilos.css | maurodinucci97/libreria-la-sombra | 377c54a3d2fba0a0f6678953d8b1955a56bdff5f | [
"MIT"
] | null | null | null | estilos.css | maurodinucci97/libreria-la-sombra | 377c54a3d2fba0a0f6678953d8b1955a56bdff5f | [
"MIT"
] | null | null | null | * { margin: 0;
padding: 0;
box-sizing: border-box 0;
}
body {
background-color: rgb(192, 240, 240);
background-image: url(https://previews.123rf.com/images/kluva/kluva1512/kluva151200057/49482654-biblioteca-de-libros-de-patr%C3%B3n-transparente-la-lectura-de-fondo-patr%C3%B3n-de-b... | 17.49789 | 217 | 0.454787 |
daa6d093c4abcb86571510fc4b1ee2d98afb1888 | 212 | ts | TypeScript | node_modules/@polkadot/util-crypto/address/sort.d.ts | vikusss/sub4.3 | 006301051ed052c8105b7da592bd2ae59d695920 | [
"MIT"
] | 1 | 2022-01-30T05:13:15.000Z | 2022-01-30T05:13:15.000Z | node_modules/@polkadot/util-crypto/address/sort.d.ts | vikusss/sub4.3 | 006301051ed052c8105b7da592bd2ae59d695920 | [
"MIT"
] | 1 | 2022-01-23T16:33:48.000Z | 2022-01-23T16:33:48.000Z | node_modules/@polkadot/util-crypto/address/sort.d.ts | vikusss/sub4.3 | 006301051ed052c8105b7da592bd2ae59d695920 | [
"MIT"
] | 1 | 2022-01-17T10:15:33.000Z | 2022-01-17T10:15:33.000Z | import type { HexString } from '@polkadot/util/types';
import type { Prefix } from './types';
export declare function sortAddresses(addresses: (HexString | Uint8Array | string)[], ss58Format?: Prefix): string[];
| 53 | 117 | 0.731132 |
2d150219ac188d4017c444fc5f80ce5744c93ad9 | 22,571 | css | CSS | assets/css/theme/admin.css | pwnugraha/laundry-in | 1330d1757ffb1f74202ff6aff75ffb18a49a8095 | [
"MIT"
] | null | null | null | assets/css/theme/admin.css | pwnugraha/laundry-in | 1330d1757ffb1f74202ff6aff75ffb18a49a8095 | [
"MIT"
] | null | null | null | assets/css/theme/admin.css | pwnugraha/laundry-in | 1330d1757ffb1f74202ff6aff75ffb18a49a8095 | [
"MIT"
] | null | null | null | /*!
* Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
@import url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600|Open+Sans:400italic,400,300,600');... | 18.653719 | 232 | 0.61486 |
230535490578cef053fd39906170596bd0b32eaa | 55 | css | CSS | blocks/header/__link/header__link.css | ya-team/first | b07ebb1d71546a55fe6fd0667ff8fdf593a329ef | [
"MIT"
] | null | null | null | blocks/header/__link/header__link.css | ya-team/first | b07ebb1d71546a55fe6fd0667ff8fdf593a329ef | [
"MIT"
] | null | null | null | blocks/header/__link/header__link.css | ya-team/first | b07ebb1d71546a55fe6fd0667ff8fdf593a329ef | [
"MIT"
] | null | null | null | .header__link {
color: #000;
text-decoration: none;
} | 13.75 | 23 | 0.690909 |
c95db49571bd593c9953fdce6d83059a0ef7ed3b | 174 | tsx | TypeScript | src/ui/export/index.tsx | Bridge2Hyku/cdm-bridge | e5367faafcfd70e3313145542dbfb140a73fbb4a | [
"Apache-2.0"
] | 6 | 2018-08-30T19:32:31.000Z | 2019-12-06T21:36:00.000Z | src/ui/export/index.tsx | uhlibraries-digital/cdm-bridge-carp | ed83dfe0855888ddb55204979c8e8f7ab5446f48 | [
"Apache-2.0"
] | 4 | 2020-08-25T17:34:32.000Z | 2022-02-28T17:47:51.000Z | src/ui/export/index.tsx | Bridge2Hyku/cdm-bridge | e5367faafcfd70e3313145542dbfb140a73fbb4a | [
"Apache-2.0"
] | null | null | null | export { ExportView } from './export-view'
export { ExportDropdown } from './export-dropdown'
export { ExportButton } from './export-button'
export * from './export-dropdown' | 43.5 | 50 | 0.724138 |
33d42aaae21ff176656c438d69e768627cb4b5ed | 2,462 | lua | Lua | lib/bass.lua | jimbo00000/foguete | dc583f3124e8ed6211d1e97701f1c700e12f5b1c | [
"MIT"
] | 5 | 2016-06-10T21:35:49.000Z | 2022-03-08T04:26:36.000Z | lib/bass.lua | jimbo00000/foguete | dc583f3124e8ed6211d1e97701f1c700e12f5b1c | [
"MIT"
] | null | null | null | lib/bass.lua | jimbo00000/foguete | dc583f3124e8ed6211d1e97701f1c700e12f5b1c | [
"MIT"
] | null | null | null | local ffi = require( "ffi" )
local libs = ffi_Bass_libs or {
OSX = { x86 = "libbass.dylib", x64 = "libbass.dylib" },
Windows = { x86 = "bass.dll", x64 = "" },
Linux = { x86 = "libbass.so", x64 = "libbass.so", arm = "libbass.so" },
BSD = { },
POSIX = { },
Other = { },
}
local ... | 36.205882 | 108 | 0.666531 |
6afb505880946de3373ee2a825c02fe079cf812b | 440 | lua | Lua | MMOCoreORB/bin/scripts/mobile/conversation.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/mobile/conversation.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/mobile/conversation.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | ConvoTemplate = {
initialScreen = "",
screens = {}
}
function ConvoTemplate:new (o)
o = o or { }
setmetatable(o, self)
self.__index = self
return o
end
function ConvoTemplate:addScreen(screen)
table.insert(self.screens, screen)
end
ConvoScreen = {
id = "",
leftDialog = "",
customDialogText = "",
opt... | 14.666667 | 40 | 0.65 |
365a8cb20f1489aaf106bcb5b53e20dd2187756b | 20 | sh | Shell | commit.sh | dreamykun/hutool | 398a4a78c1a51cd0403c9173393f6ba26e3fd37d | [
"Apache-2.0"
] | 9 | 2017-08-11T16:24:28.000Z | 2021-10-15T03:19:39.000Z | commit.sh | clevogao/hutool | 750b9787caac5ead2b009bde1b15e18096cf2dbb | [
"Apache-2.0"
] | 1 | 2021-12-10T01:23:07.000Z | 2021-12-10T01:23:07.000Z | commit.sh | clevogao/hutool | 750b9787caac5ead2b009bde1b15e18096cf2dbb | [
"Apache-2.0"
] | 1 | 2021-04-02T09:48:46.000Z | 2021-04-02T09:48:46.000Z | git commit -am "$1"
| 10 | 19 | 0.6 |
208e28cf61df6cf8a447598822fcfba6b0ee6b53 | 615 | asm | Assembly | EserciziMips/Vettore.asm | AntoAndGar/MIPS | 776bbf3ca1d9a3184f469a11b5230d4d03622826 | [
"MIT"
] | null | null | null | EserciziMips/Vettore.asm | AntoAndGar/MIPS | 776bbf3ca1d9a3184f469a11b5230d4d03622826 | [
"MIT"
] | null | null | null | EserciziMips/Vettore.asm | AntoAndGar/MIPS | 776bbf3ca1d9a3184f469a11b5230d4d03622826 | [
"MIT"
] | null | null | null | # Definire due vettori di 5 elementi x di valore -2 32 <x i <2 32 -1 e
# memorizzare in un nuovo vettore solamente gli elementi in posizione dispari
# Esempio:
# vIN=(3,5,8,10,1)
# vOUT= (3,5,1)
.text
.globl main
main:
la $t0, vin
li $t1, 1
lw $t9, num_elem
la $s0, vout
loop:
blt $t9, $t1, end_loop
rem $t5, $... | 15.375 | 77 | 0.6 |
a601c6cf7cf5ace0c1572919242932d447a1b247 | 219 | rb | Ruby | app/models/integral/user_version.rb | yamasolutions/integral | db83889c862167332c31254644c9de1d441b6577 | [
"MIT"
] | 22 | 2018-10-23T00:05:44.000Z | 2022-01-26T04:02:02.000Z | app/models/integral/user_version.rb | yamasolutions/integral | db83889c862167332c31254644c9de1d441b6577 | [
"MIT"
] | 59 | 2018-10-08T08:02:46.000Z | 2022-02-26T04:27:32.000Z | app/models/integral/user_version.rb | yamasolutions/integral | db83889c862167332c31254644c9de1d441b6577 | [
"MIT"
] | 5 | 2019-03-10T09:32:53.000Z | 2021-09-20T17:29:43.000Z | # Integral namespace
module Integral
# Record PaperTrail of Integral::User
class UserVersion < Version
self.table_name = :integral_user_versions
self.sequence_name = :integral_user_versions_id_seq
end
end
| 24.333333 | 55 | 0.785388 |
f240a6e511a6201e6f5dac450de93f1e1c33ef82 | 2,227 | php | PHP | src/Widgets/Colors.php | yalks/dcat-admin | 2a62f95efa23c076778542d547e915685a6fcfd8 | [
"MIT"
] | null | null | null | src/Widgets/Colors.php | yalks/dcat-admin | 2a62f95efa23c076778542d547e915685a6fcfd8 | [
"MIT"
] | null | null | null | src/Widgets/Colors.php | yalks/dcat-admin | 2a62f95efa23c076778542d547e915685a6fcfd8 | [
"MIT"
] | null | null | null | <?php
namespace Dcat\Admin\Widgets;
class Colors
{
public static $default = [
'green' => [
'rgba(33,185,120, 1)',
'rgba(33,185,120, 0.1)',
],
'primary' => [
'rgba(64,153,222, 1)',
'rgba(64,153,222, 0.1)',
],
'purple' => [
... | 23.946237 | 46 | 0.355186 |
da63052b0aa0deab39498df307b0ef9f7da09c37 | 6,822 | php | PHP | resources/views/components/design_process.blade.php | mtawil/undraw | a5a4599e4fb487e51b49c77087a2e8cb683611cc | [
"MIT"
] | 9 | 2020-12-11T11:38:29.000Z | 2022-03-26T13:17:02.000Z | resources/views/components/design_process.blade.php | mtawil/undraw | a5a4599e4fb487e51b49c77087a2e8cb683611cc | [
"MIT"
] | 8 | 2020-05-25T15:41:44.000Z | 2022-02-14T14:38:52.000Z | resources/views/components/design_process.blade.php | mtawil/undraw | a5a4599e4fb487e51b49c77087a2e8cb683611cc | [
"MIT"
] | 3 | 2020-12-31T05:12:18.000Z | 2022-03-26T13:17:04.000Z | <svg xmlns="http://www.w3.org/2000/svg" width="761.717" height="680.93" viewBox="0 0 761.717 680.93">
<g id="Group_24" data-name="Group 24" transform="translate(-239.283 -78)">
<path id="Path_296" data-name="Path 296" d="M232.953,40.713H573.016v92.408" transform="translate(316.047 211.881)" fill="none" stroke="#6... | 117.62069 | 367 | 0.648783 |
c68d49cd6be8c0c272821744c5cc9cf73c6c8d66 | 412 | rb | Ruby | app/services/users/comments/creation_service.rb | obla/citadel | 9c143af6bb792ec0c95e62ee7850adf97931189b | [
"MIT"
] | 24 | 2016-03-11T15:27:43.000Z | 2022-03-15T00:44:14.000Z | app/services/users/comments/creation_service.rb | obla/citadel | 9c143af6bb792ec0c95e62ee7850adf97931189b | [
"MIT"
] | 475 | 2016-03-19T06:01:41.000Z | 2022-03-05T12:25:11.000Z | app/services/users/comments/creation_service.rb | nacl-gg/citadel | f5e356a37c481c0f449795748ccbbd63b92431cd | [
"MIT"
] | 42 | 2016-06-08T09:37:40.000Z | 2020-09-11T19:07:48.000Z | module Users
module Comments
module CreationService
include BaseService
def call(creator, user, params)
comment_params = params.merge(user: user, created_by: creator)
comment = User::Comment.new(comment_params)
comment.transaction do
comment.save || rollback!
... | 19.619048 | 70 | 0.628641 |
537a6193838aa4db6104f34fbca1e664d3afd407 | 3,844 | ps1 | PowerShell | ScheduledTasks/Notification_Monthy_Patch_Reboots.ps1 | scombs/PowerShell | affb234c1e55632364b63e830994746e38eae5ec | [
"MIT"
] | null | null | null | ScheduledTasks/Notification_Monthy_Patch_Reboots.ps1 | scombs/PowerShell | affb234c1e55632364b63e830994746e38eae5ec | [
"MIT"
] | null | null | null | ScheduledTasks/Notification_Monthy_Patch_Reboots.ps1 | scombs/PowerShell | affb234c1e55632364b63e830994746e38eae5ec | [
"MIT"
] | null | null | null | <#
.Name
Notification_Monthly_Patch_Reboots
.Synopsis
Basic notification for lettings people know what servers will be rebooted over the maintenance window.
.Syntax
None
.Description
#>
#This calculates patch tuesday of the month which allows us to then calculate the dev and prod patch weekends
$... | 42.241758 | 387 | 0.753382 |
a437a2be6e72b4d8b377b28ec7e2786e8f90d626 | 1,684 | php | PHP | lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Document.php | Kaapiii/mongodb-odm | 40c27443475ba517bc1c5ab73a3237fb085c1382 | [
"MIT"
] | null | null | null | lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Document.php | Kaapiii/mongodb-odm | 40c27443475ba517bc1c5ab73a3237fb085c1382 | [
"MIT"
] | null | null | null | lib/Doctrine/ODM/MongoDB/Mapping/Annotations/Document.php | Kaapiii/mongodb-odm | 40c27443475ba517bc1c5ab73a3237fb085c1382 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\Mapping\Annotations;
use Attribute;
use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;
/**
* Identifies a class as a document that can be stored in the database
*
* @Annotation
* @NamedArgumentConstructor
*/
#[Attribute(Attribute::... | 26.730159 | 97 | 0.551069 |
45483047c05a7921c47c1a1fd616044c40190fec | 5,765 | py | Python | swfc_lt_stream/decode/__init__.py | anikey-m/swfc-lt-stream | 77ae327c1e1b86170ec0728c49e836894d97ea17 | [
"MIT"
] | null | null | null | swfc_lt_stream/decode/__init__.py | anikey-m/swfc-lt-stream | 77ae327c1e1b86170ec0728c49e836894d97ea17 | [
"MIT"
] | null | null | null | swfc_lt_stream/decode/__init__.py | anikey-m/swfc-lt-stream | 77ae327c1e1b86170ec0728c49e836894d97ea17 | [
"MIT"
] | null | null | null | import collections
import time
import socket
import select
import sys
from swfc_lt_stream import net, sampler
class Node(object):
def __init__(self, samples, block):
self.samples = samples
self.block = block
class Decoder(object):
def __init__(self, conf):
self.sampler = sampler.PRN... | 31.850829 | 95 | 0.547441 |
fc27b6a9541492b99f5214f3692bcec6b1e2e00d | 6,005 | sql | SQL | zalego.sql | mutende/zalego-teaching-miniproject | d329a4b0c22558f678360036d377e16e13ddefcb | [
"MIT"
] | null | null | null | zalego.sql | mutende/zalego-teaching-miniproject | d329a4b0c22558f678360036d377e16e13ddefcb | [
"MIT"
] | null | null | null | zalego.sql | mutende/zalego-teaching-miniproject | d329a4b0c22558f678360036d377e16e13ddefcb | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 21, 2019 at 01:11 PM
-- Server version: 10.1.34-MariaDB
-- PHP Version: 7.2.7
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD... | 24.711934 | 121 | 0.649459 |
cdbad7d803bb9c0aba3da7973cf96418b1e51655 | 2,382 | cs | C# | MVC/Runtime/Events/EventDispatchQuery.cs | tositeru/hinode | b0a28d1ad9cf0f5ee006dbcf57c669680c321f34 | [
"Apache-2.0"
] | null | null | null | MVC/Runtime/Events/EventDispatchQuery.cs | tositeru/hinode | b0a28d1ad9cf0f5ee006dbcf57c669680c321f34 | [
"Apache-2.0"
] | 1 | 2020-07-05T08:02:48.000Z | 2020-07-05T08:02:48.000Z | MVC/Runtime/Events/EventDispatchQuery.cs | tositeru/hinode | b0a28d1ad9cf0f5ee006dbcf57c669680c321f34 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Assertions;
namespace Hinode.MVC
{
/// <summary>
/// <seealso cref="EventDispatchStateMap"/>
/// </summary>
public class EventDispatchQuery
{
HashSet<System.Type> _enabledEve... | 32.630137 | 110 | 0.584803 |
c68b03403942f077284f1357c6d9b83a1f0e8d2f | 2,128 | rb | Ruby | lib/fet/ui/game_loop_handler.rb | DimitriosLisenko/functional_ear_training | f494cb4b1e6c01c201322491e920ce2230119e90 | [
"MIT"
] | 2 | 2021-09-01T21:22:42.000Z | 2021-10-13T10:25:27.000Z | lib/fet/ui/game_loop_handler.rb | DimitriosLisenko/functional_ear_training | f494cb4b1e6c01c201322491e920ce2230119e90 | [
"MIT"
] | 18 | 2021-09-01T19:43:11.000Z | 2021-12-17T18:49:29.000Z | lib/fet/ui/game_loop_handler.rb | DimitriosLisenko/functional_ear_training | f494cb4b1e6c01c201322491e920ce2230119e90 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require_relative "custom_event"
module Fet
module Ui
# Handles various events and updates for the Game object
module GameLoopHandler
def handle_update_loop
score.handle_update_loop
level.handle_update_loop
timer.handle_update_loop
end
... | 28.373333 | 103 | 0.718985 |
5d78dee24835002659c1dc33aa0a35839be4b565 | 3,773 | cpp | C++ | ngraph/core/reference/src/runtime/reference/tile.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 2 | 2020-11-18T14:14:06.000Z | 2020-11-28T04:55:57.000Z | ngraph/core/reference/src/runtime/reference/tile.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | ngraph/core/reference/src/runtime/reference/tile.cpp | szabi-luxonis/openvino | c8dd831fc3ba68a256ab47edb4f6bf3cb5e804be | [
"Apache-2.0"
] | 1 | 2020-12-18T15:47:45.000Z | 2020-12-18T15:47:45.000Z | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | 35.933333 | 98 | 0.571694 |
0acf596df52da5a7ee09900b81a396aadd9a0305 | 14,486 | cs | C# | KioskForm.cs | NorthTorontoChristianSchool/NTCSAttendanceKiosk | cd673c9d3711acf7089f3a118c92f71ff339c6cd | [
"MIT"
] | 1 | 2022-03-16T22:54:09.000Z | 2022-03-16T22:54:09.000Z | KioskForm.cs | NorthTorontoChristianSchool/NTCSAttendanceKiosk | cd673c9d3711acf7089f3a118c92f71ff339c6cd | [
"MIT"
] | null | null | null | KioskForm.cs | NorthTorontoChristianSchool/NTCSAttendanceKiosk | cd673c9d3711acf7089f3a118c92f71ff339c6cd | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Drawing;
using System.Media;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace NTCSAttendanceKiosk
{
public partial class KioskForm : Form
{
... | 39.257453 | 214 | 0.475079 |
afe05e28765fbca6032890f232089c0aeafc38c8 | 2,114 | py | Python | py4e/exercises/exercise_14_1.py | carlosviveros/Soluciones | 115f4fa929c7854ca497e4c994352adc64565456 | [
"MIT"
] | 1 | 2022-02-02T04:44:56.000Z | 2022-02-02T04:44:56.000Z | py4e/exercises/exercise_14_1.py | leugimkm/Soluciones | d71601c8d9b5e86e926f48d9e49462af8a956b6d | [
"MIT"
] | null | null | null | py4e/exercises/exercise_14_1.py | leugimkm/Soluciones | d71601c8d9b5e86e926f48d9e49462af8a956b6d | [
"MIT"
] | null | null | null | """
Instructions
If you don't already have it, install the SQLite Browser from
http://sqlitebrowser.org/
Then, create a SQLite database or use an existing database and create a
table in the database called "Ages".
+-----------------------+
| CREATE TABLE Ages ( |
| name VARCHAR(128), |
| age I... | 37.087719 | 71 | 0.575686 |
61345be6be4f754eaff3f313c48f0cf7193fe966 | 32 | sql | SQL | srv/migrations/2018-02-20-175650_create_student_marks/down.sql | Emberwalker/honours-pas | 676460815cd9bb9e6b59fabf3d8c6c406a745133 | [
"0BSD"
] | 1 | 2018-09-30T06:07:25.000Z | 2018-09-30T06:07:25.000Z | srv/migrations/2018-02-20-175650_create_student_marks/down.sql | Emberwalker/honours-pas | 676460815cd9bb9e6b59fabf3d8c6c406a745133 | [
"0BSD"
] | null | null | null | srv/migrations/2018-02-20-175650_create_student_marks/down.sql | Emberwalker/honours-pas | 676460815cd9bb9e6b59fabf3d8c6c406a745133 | [
"0BSD"
] | null | null | null | DROP TABLE public.student_marks; | 32 | 32 | 0.875 |
dd60650b29f5fce619c655f09738c5dfcb7a8ef2 | 5,068 | java | Java | s3_cortos-back/src/main/java/co/edu/uniandes/csw/cortos/ejb/ClienteLogic.java | Uniandes-ISIS2603-backup/s3_Cortos_201920 | 8847fb23de92d7c8fb50bc97fcdeca31de81ea3c | [
"MIT"
] | null | null | null | s3_cortos-back/src/main/java/co/edu/uniandes/csw/cortos/ejb/ClienteLogic.java | Uniandes-ISIS2603-backup/s3_Cortos_201920 | 8847fb23de92d7c8fb50bc97fcdeca31de81ea3c | [
"MIT"
] | null | null | null | s3_cortos-back/src/main/java/co/edu/uniandes/csw/cortos/ejb/ClienteLogic.java | Uniandes-ISIS2603-backup/s3_Cortos_201920 | 8847fb23de92d7c8fb50bc97fcdeca31de81ea3c | [
"MIT"
] | null | null | null | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package co.edu.uniandes.csw.cortos.ejb;
import co.edu.uniandes.csw.cortos.entities.ClienteEntity;
import co.edu.uniandes.csw.cortos.ex... | 40.544 | 115 | 0.651342 |
a3d34aa26e318f53c20f8d89fc2aeb1f07f60479 | 1,460 | java | Java | vaccination-scheduler-public/src/main/java/com/github/rixwwd/vaccination_scheduler/pub/service/DbActionLogService.java | rixwwd/vaccination-scheduler | f7c25bd7e1ac0c9fb942989d8aa4495846d6e7c5 | [
"MIT"
] | null | null | null | vaccination-scheduler-public/src/main/java/com/github/rixwwd/vaccination_scheduler/pub/service/DbActionLogService.java | rixwwd/vaccination-scheduler | f7c25bd7e1ac0c9fb942989d8aa4495846d6e7c5 | [
"MIT"
] | 24 | 2021-03-03T14:47:21.000Z | 2021-04-23T13:57:49.000Z | vaccination-scheduler-public/src/main/java/com/github/rixwwd/vaccination_scheduler/pub/service/DbActionLogService.java | rixwwd/vaccination-scheduler | f7c25bd7e1ac0c9fb942989d8aa4495846d6e7c5 | [
"MIT"
] | null | null | null | package com.github.rixwwd.vaccination_scheduler.pub.service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
import com.github.rixwwd.vaccination_scheduler.pub... | 33.181818 | 100 | 0.820548 |
79ba99f0817b1c43ff8bb32e1f49a2ea3d31e673 | 1,251 | rb | Ruby | examples/contact/add_contact.rb | truedialog/truedialog-ruby | d1f980af526d04b189f5fb7028983fc1df929a4d | [
"MIT"
] | null | null | null | examples/contact/add_contact.rb | truedialog/truedialog-ruby | d1f980af526d04b189f5fb7028983fc1df929a4d | [
"MIT"
] | 1 | 2021-11-14T20:05:58.000Z | 2021-11-14T20:05:58.000Z | examples/contact/add_contact.rb | truedialog/truedialog-ruby | d1f980af526d04b189f5fb7028983fc1df929a4d | [
"MIT"
] | null | null | null | ####################
## add_contact.rb ##
####################
# This example enables you to add a new contact
#
# You must edit the "payload" array (below) with
# appropriate values.
#
# Please note: Telephone numbers must be prefixed
# with a plus sign. Example: +15555551212
require '../../lib/truedialog_api'
requi... | 29.785714 | 75 | 0.664269 |
2ce63e80b8f71d64e5679b4285fc09e75113ef92 | 4,105 | cpp | C++ | src/hir2mpl/test/common/hir2mpl_ut_options.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | 2 | 2019-09-06T07:02:41.000Z | 2019-09-09T12:24:46.000Z | src/hir2mpl/test/common/hir2mpl_ut_options.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | src/hir2mpl/test/common/hir2mpl_ut_options.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) [2020-2022] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
... | 33.647541 | 101 | 0.568575 |
43815f4e7bfc897c55c3a2279994d39eb0716396 | 1,201 | tsx | TypeScript | src/components/data/PowerBI/ReportInfo/PowerBIUserIdentity.tsx | equinor/fusion-components | 32f9aa6b6f677c5271ac0a81a7c235d443a0c959 | [
"MIT"
] | 15 | 2019-01-17T13:07:48.000Z | 2022-02-18T17:09:40.000Z | src/components/data/PowerBI/ReportInfo/PowerBIUserIdentity.tsx | equinor/fusion-components | 32f9aa6b6f677c5271ac0a81a7c235d443a0c959 | [
"MIT"
] | 515 | 2019-05-28T13:26:55.000Z | 2022-03-21T11:31:52.000Z | src/components/data/PowerBI/ReportInfo/PowerBIUserIdentity.tsx | equinor/fusion-components | 32f9aa6b6f677c5271ac0a81a7c235d443a0c959 | [
"MIT"
] | 2 | 2019-08-23T13:54:58.000Z | 2020-11-03T16:56:34.000Z | import { FC } from 'react';
import { useCurrentUser } from '@equinor/fusion';
import styles from './styles.less';
type Props = { header?: string };
export const PowerBIInfoUserIdentity: FC<Props> = (props) => {
const user = useCurrentUser();
const header =
props.header ||
'Your identity does... | 31.605263 | 90 | 0.487094 |
58666454974ec5e65e99cd98aead023fee7fc6f9 | 663 | css | CSS | tokyo-night.css | heckerdoggo/Tokyo-Night | 989639fa5638e1d0e04d0ca6f31614d4b564f67c | [
"MIT"
] | 4 | 2021-09-22T03:19:31.000Z | 2022-01-04T04:33:25.000Z | tokyo-night.css | heckerdoggo/Tokyo-Night | 989639fa5638e1d0e04d0ca6f31614d4b564f67c | [
"MIT"
] | null | null | null | tokyo-night.css | heckerdoggo/Tokyo-Night | 989639fa5638e1d0e04d0ca6f31614d4b564f67c | [
"MIT"
] | null | null | null | {"light":false,"accent":"#4651c2","background":"#12131b","foreground":"#F6F6F6","block":"#171722","message-box":"#171722","mention":"#4b443b","success":"#57F287","warning":"#FEE75C","error":"#ED4245","hover":"#181822","scrollbar-thumb":"#4651c2","scrollbar-track":"transparent","primary-background":"#1b1a26","primary-he... | 663 | 663 | 0.696833 |
a4a2ea917455fcf07a8fb45a0fbacf0e1a73fc61 | 4,794 | php | PHP | skim/skimclab/system/application/views/paymentold/paymentsummary.php | izzuliman94/Skim- | b625f8d59a20d6da9cde2e50521a2509c1e10777 | [
"Apache-2.0"
] | null | null | null | skim/skimclab/system/application/views/paymentold/paymentsummary.php | izzuliman94/Skim- | b625f8d59a20d6da9cde2e50521a2509c1e10777 | [
"Apache-2.0"
] | null | null | null | skim/skimclab/system/application/views/paymentold/paymentsummary.php | izzuliman94/Skim- | b625f8d59a20d6da9cde2e50521a2509c1e10777 | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SKIM</title>
<link href="<?php echo base_url();?>/css/sippsstyle.... | 39.619835 | 153 | 0.605549 |
8613ef42b3ebcc5abdda373f07a3ff60c0335cb0 | 7,223 | sql | SQL | TransactSQL/TransactSQL_.sql | Nayaata/Databases | 344db9c1aadd2337cd410df0294f33b6871f83fb | [
"MIT"
] | 10 | 2017-07-14T17:35:21.000Z | 2021-12-24T08:55:35.000Z | TransactSQL/TransactSQL_.sql | Nayaata/Databases | 344db9c1aadd2337cd410df0294f33b6871f83fb | [
"MIT"
] | null | null | null | TransactSQL/TransactSQL_.sql | Nayaata/Databases | 344db9c1aadd2337cd410df0294f33b6871f83fb | [
"MIT"
] | 6 | 2018-03-08T17:31:23.000Z | 2021-09-01T01:16:44.000Z | USE master
GO
-- Create a db
CREATE DATABASE PeopleDB
GO
USE PeopleDB
GO
-- Create a new table named 'Persons'
CREATE TABLE Persons
(
PersonsId int IDENTITY NOT NULL PRIMARY KEY,
FirstName nvarchar(50) NOT NULL,
LastName nvarchar(50) NOT NULL,
SSN varchar(9) NOT NULL
)
GO
-- Create a new table named 'Accounts... | 21.058309 | 95 | 0.720615 |
a377b270cba20951589f089321aedc9ced3d9bb0 | 1,478 | java | Java | src/main/java/com/billybyte/dse/queries/TreasuryRateQueryFromTreasuryRateSingle.java | bgithub1/common-libs | 30bd6ddad880cd3da7d946ccb921d83352a2be8c | [
"MIT"
] | null | null | null | src/main/java/com/billybyte/dse/queries/TreasuryRateQueryFromTreasuryRateSingle.java | bgithub1/common-libs | 30bd6ddad880cd3da7d946ccb921d83352a2be8c | [
"MIT"
] | null | null | null | src/main/java/com/billybyte/dse/queries/TreasuryRateQueryFromTreasuryRateSingle.java | bgithub1/common-libs | 30bd6ddad880cd3da7d946ccb921d83352a2be8c | [
"MIT"
] | null | null | null | package com.billybyte.dse.queries;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import com.billybyte.commoninterfaces.QueryInterface;
import com.billybyte.marketdata.SecDef;
import com.billybyte.marke... | 28.980392 | 88 | 0.794317 |
03f38148181c63e5f920ed5a711c67402628e8e9 | 41,257 | sql | SQL | BASEDEDATOS_PARTICIPA.sql | humbertom90/Participa | 3c3536c4a752513b32cad60109a366889dc95733 | [
"MIT"
] | null | null | null | BASEDEDATOS_PARTICIPA.sql | humbertom90/Participa | 3c3536c4a752513b32cad60109a366889dc95733 | [
"MIT"
] | null | null | null | BASEDEDATOS_PARTICIPA.sql | humbertom90/Participa | 3c3536c4a752513b32cad60109a366889dc95733 | [
"MIT"
] | null | null | null | /*
SQLyog Ultimate v12.08 (64 bit)
MySQL - 10.0.29-MariaDB-0ubuntu0.16.04.1 : Database - participa
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014... | 65.800638 | 4,891 | 0.705141 |
db80af5745d3a84de15ba0cca783d7e4e0d1b731 | 3,361 | php | PHP | application/modules/users/controllers/Users.php | tawonland/demo1 | 47c8024f11e2731d894448da41eda4ac15a8a40e | [
"MIT"
] | null | null | null | application/modules/users/controllers/Users.php | tawonland/demo1 | 47c8024f11e2731d894448da41eda4ac15a8a40e | [
"MIT"
] | null | null | null | application/modules/users/controllers/Users.php | tawonland/demo1 | 47c8024f11e2731d894448da41eda4ac15a8a40e | [
"MIT"
] | null | null | null | <?php
/**
*
*/
class Users extends Auth_Controller
{
function __construct()
{
parent::__construct();
}
function index()
{
$this->a_kolom[] = array('label' => array('data' => 'No', 'align' => 'center'), 'field' => 'no:');
$this->a_kolom[] = array('label' => 'Nama Lengkap', 'field' => 'user_fullname');
$... | 22.557047 | 158 | 0.505504 |
411cb6b169270fcb211329aa72dd6d1a13689141 | 299,932 | sql | SQL | database/db_to - 20210529.sql | entertrans/lms-ujian-online | 1c10169df532c3a431e9eefed2a3f49e079d7522 | [
"MIT"
] | null | null | null | database/db_to - 20210529.sql | entertrans/lms-ujian-online | 1c10169df532c3a431e9eefed2a3f49e079d7522 | [
"MIT"
] | null | null | null | database/db_to - 20210529.sql | entertrans/lms-ujian-online | 1c10169df532c3a431e9eefed2a3f49e079d7522 | [
"MIT"
] | 1 | 2021-05-18T02:28:39.000Z | 2021-05-18T02:28:39.000Z | -- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 29, 2021 at 03:02 PM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.4.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 166.814238 | 1,784 | 0.669678 |
aebc7748d8562dada325d89022ccbf0a413f122f | 1,149 | cs | C# | src/NuGetGallery/ViewModels/AccountViewModel.cs | augustoproiete-forks/NuGet--NuGetGallery | f248171208356b66499810ddd502276784157422 | [
"Apache-2.0"
] | 1,022 | 2015-01-08T13:54:07.000Z | 2022-03-26T01:37:07.000Z | src/NuGetGallery/ViewModels/AccountViewModel.cs | augustoproiete-forks/NuGet--NuGetGallery | f248171208356b66499810ddd502276784157422 | [
"Apache-2.0"
] | 5,617 | 2015-01-08T08:11:13.000Z | 2022-03-30T22:33:52.000Z | src/NuGetGallery/ViewModels/AccountViewModel.cs | augustoproiete-forks/NuGet--NuGetGallery | f248171208356b66499810ddd502276784157422 | [
"Apache-2.0"
] | 614 | 2015-01-05T09:55:15.000Z | 2022-03-18T13:11:39.000Z | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using NuGet.Services.Entities;
namespace NuGetGallery
{
public abstract class AccountViewModel<T> : AccountViewModel where T : User
{
... | 27.357143 | 111 | 0.671018 |
17ce074b8485fab16028900da1b0861734b953c2 | 198,732 | lua | Lua | Rigormortis.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Rigormortis.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Rigormortis.lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | --Stolen and fixed by chromium ty fang for fixing anims
Player = game.Players.LocalPlayer
Character = Player.Character
PlayerGui = Player.PlayerGui
Backpack = Player.Backpack
Torso = Character.Torso
Head = Character.Head
Humanoid = Character.Humanoid
LeftArm = Character["Left Arm"]
LeftLeg = Character["Left Leg"]
Righ... | 58.692262 | 351 | 0.639182 |
23371ff2a5bdfec858bcdc7ceac30d30ed602f88 | 1,817 | css | CSS | src/main/resources/public/app.css | vmuchui/herosquad2 | f97b1a58900bdd361b8bc31aa3943ed14123b3c1 | [
"MIT"
] | 1 | 2021-05-16T11:28:29.000Z | 2021-05-16T11:28:29.000Z | target/heroku/app/target/classes/public/app.css | SamuelOkoth/Hero_Squad | 94f6dadb41228a312db658e9ff701287cea2680f | [
"MIT"
] | null | null | null | target/heroku/app/target/classes/public/app.css | SamuelOkoth/Hero_Squad | 94f6dadb41228a312db658e9ff701287cea2680f | [
"MIT"
] | null | null | null | .nav-bar {
background-color: rgba(163,163,163,0.7);
text-align: right;
}
.nav-bar ul a {
display: inline-block;
padding: 5px 20px;
color: black;
text-decoration: none;
text-align: center;
font-size: 20px;
}
.nav-bar ul a:hover {
background-color: rgba(0,0,0,0.5);
color: white;
}
... | 16.669725 | 53 | 0.578976 |
fd9252e2941bac8d97129a50b0817f741afa2c9d | 797 | css | CSS | chrome/browser/resources/chromeos/login/security_token_pin.css | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/resources/chromeos/login/security_token_pin.css | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/resources/chromeos/login/security_token_pin.css | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | /* Copyright 2019 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. */
#pinKeyboardContainer {
margin-top: 30px;
position: relative;
}
#pinKeyboard {
--pin-keyboard-pin-input-style: {
width: 192px;
};
--pin-... | 21.540541 | 79 | 0.68256 |
076cd30766dac85b1607d28438263dea5db790a6 | 6,629 | lua | Lua | Assets/UI/CQUICommon.lua | TomahawkNSK/CQUI_Community-Edition | 1317f6052d0a71c5afbf70d13c4606c687602580 | [
"MIT"
] | null | null | null | Assets/UI/CQUICommon.lua | TomahawkNSK/CQUI_Community-Edition | 1317f6052d0a71c5afbf70d13c4606c687602580 | [
"MIT"
] | null | null | null | Assets/UI/CQUICommon.lua | TomahawkNSK/CQUI_Community-Edition | 1317f6052d0a71c5afbf70d13c4606c687602580 | [
"MIT"
] | null | null | null | ------------------------------------------------------------------------------
-- Additional CQUI Common LUA support functions specific to Civilization 6
-- Contains:
-- * Expansions check
-- * Debug support
-- * CQUI_TrimGossipMessage
-- * CQUI_GetRealHousingFromImprovements
-- * CQUI_SmartWrap
-----------------------... | 49.842105 | 185 | 0.592548 |
2f72d4c37c5a400f3658afaf95b0a2023024758c | 1,258 | js | JavaScript | color-admin/assets/js/demo/gallery.demo.js | irfanbukaide/rsc | 453ac20ac28fad960b43d269f07abcf0ba8a1578 | [
"MIT"
] | null | null | null | color-admin/assets/js/demo/gallery.demo.js | irfanbukaide/rsc | 453ac20ac28fad960b43d269f07abcf0ba8a1578 | [
"MIT"
] | null | null | null | color-admin/assets/js/demo/gallery.demo.js | irfanbukaide/rsc | 453ac20ac28fad960b43d269f07abcf0ba8a1578 | [
"MIT"
] | null | null | null | /*
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 4
Version: 4.2.0
Author: Sean Ngu
Website: http://www.seantheme.com/color-admin-v4.2/admin/
*/
function calculateDivider() {
var t = 4;
return $(this).width() <= 480 ? t = 1 : $(this).width() <= 767 ? t = 2 : $(this... | 38.121212 | 113 | 0.554054 |
33ea95ac21944b5f1aa6cbf85f9fafe2cda1fad2 | 4,777 | c | C | tools/mailru_data_converter/src/process.c | Dolfik1/Thesis | bcc7f1ed6e601d35fb81c74fce2b5a76ffd3c724 | [
"MIT"
] | 1 | 2019-03-14T14:27:17.000Z | 2019-03-14T14:27:17.000Z | tools/mailru_data_converter/src/process.c | Dolfik1/Thesis | bcc7f1ed6e601d35fb81c74fce2b5a76ffd3c724 | [
"MIT"
] | null | null | null | tools/mailru_data_converter/src/process.c | Dolfik1/Thesis | bcc7f1ed6e601d35fb81c74fce2b5a76ffd3c724 | [
"MIT"
] | null | null | null | #include "process.h"
int escape_csv(
unsigned char *input,
size_t input_len,
unsigned char **output)
{
unsigned char * o = (unsigned char*)malloc(input_len * 2 + 3);
int out_idx = 0;
int in_idx = 0;
o[out_idx++] = '"';
for(in_idx = 0; in_idx < input_len; in_idx++)
{
if(input[in_idx] == '"')
{
o[out_... | 18.094697 | 81 | 0.627381 |
440274e7d1096261740517160570af8644a06328 | 416 | py | Python | common/line.py | thompsonjila/thompsonlib | e9cbc98861eee7cd9e6dcaf325ecfc91d24aa889 | [
"MIT"
] | 1 | 2016-11-07T06:38:25.000Z | 2016-11-07T06:38:25.000Z | common/line.py | thompsonjila/data-analysis | e9cbc98861eee7cd9e6dcaf325ecfc91d24aa889 | [
"MIT"
] | 1 | 2016-11-08T00:13:45.000Z | 2016-11-08T00:13:45.000Z | common/line.py | thompsonjila/data-analysis | e9cbc98861eee7cd9e6dcaf325ecfc91d24aa889 | [
"MIT"
] | 1 | 2019-09-11T21:23:16.000Z | 2019-09-11T21:23:16.000Z | # -*- coding: utf-8 -*-
from thompsonlib.common.colors import namedColor
# A Line() is an object for plotting defined by a position 'p', a linestyle, and whether it is vertical or not.
class Line:
def __init__(self, p, ls='--', vert=False, color='#AAAAAA', name=''):
self.p = p
self.ls = ls
self.vert = v... | 34.666667 | 111 | 0.665865 |
1b819f77726beaa752472b5423a9e74d3aabe536 | 2,424 | rb | Ruby | lib/saxon/xdm/array.rb | fidothe/saxon-rb | f210cf727412377eecf5f8ee177e7c74f428dfe7 | [
"MIT"
] | 2 | 2021-12-29T08:05:10.000Z | 2022-01-07T07:04:52.000Z | lib/saxon/xdm/array.rb | fidothe/saxon-rb | f210cf727412377eecf5f8ee177e7c74f428dfe7 | [
"MIT"
] | 8 | 2019-10-19T19:57:31.000Z | 2020-10-05T17:59:16.000Z | lib/saxon/xdm/array.rb | fidothe/saxon-rb | f210cf727412377eecf5f8ee177e7c74f428dfe7 | [
"MIT"
] | 1 | 2020-03-26T00:28:01.000Z | 2020-03-26T00:28:01.000Z | require_relative '../s9api'
require_relative 'sequence_like'
module Saxon
module XDM
# Represents an XDM Array
class Array
# Create a new {XDM::Array} from a Ruby Array. The contents of the array
# will be converted to {XDM::Value}s using {XDM.Value()}. An existing
# {S9API::XdmArray} will ... | 25.787234 | 107 | 0.604785 |
be5dc152f6a13f770d827ad59906de7822018051 | 87 | tab | SQL | examples/test_new_solar_reserve_prj_contribution/inputs/lf_reserves_up_requirement_project_contributions.tab | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | null | null | null | examples/test_new_solar_reserve_prj_contribution/inputs/lf_reserves_up_requirement_project_contributions.tab | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | null | null | null | examples/test_new_solar_reserve_prj_contribution/inputs/lf_reserves_up_requirement_project_contributions.tab | souissim/gridpath | 4eeca2be24b485edc56026e38cfda83f4a6b27ea | [
"Apache-2.0"
] | null | null | null | ba project percent_power_req percent_capacity_req
Zone1 Solar . 0.03
Zone1 Wind 0.05 .
| 21.75 | 49 | 0.816092 |
4d3ac01652ce971c1d374299d5679316469872a3 | 576 | swift | Swift | MacroPepelelipa/MacroPepelelipa/Model/Notes/BoxView.swift | Pepelelipa/MacroChallenge | 22a54cf8e269d4a8a74739eebd9c3d0ac3a42be0 | [
"MIT"
] | 6 | 2020-09-15T19:27:18.000Z | 2021-11-11T18:29:52.000Z | MacroPepelelipa/MacroPepelelipa/Model/Notes/BoxView.swift | Pepelelipa/MacroChallenge | 22a54cf8e269d4a8a74739eebd9c3d0ac3a42be0 | [
"MIT"
] | 10 | 2020-09-30T21:35:52.000Z | 2021-09-27T22:59:03.000Z | MacroPepelelipa/MacroPepelelipa/Model/Notes/BoxView.swift | Pepelelipa/MacroChallenge | 22a54cf8e269d4a8a74739eebd9c3d0ac3a42be0 | [
"MIT"
] | null | null | null | //
// BoxView.swift
// MacroPepelelipa
//
// Created by Pedro Henrique Guedes Silveira on 01/10/20.
// Copyright © 2020 Pedro Giuliano Farina. All rights reserved.
//
import Foundation
import UIKit
import MarkdownText
internal enum BoxViewState {
case idle
case editing
}
///The protocol that defines the ... | 23.04 | 76 | 0.720486 |
6638cdf4c34487ed10231c7a3aff66039e8f26a3 | 570 | py | Python | src/fvm/scripts/testOneDConduction.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | src/fvm/scripts/testOneDConduction.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | src/fvm/scripts/testOneDConduction.py | drm42/fvm-drm | c9b940e593034f1aa3020d63ff1e09ebef9c182a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys
sys.setdlopenflags(0x100|0x2)
import fvmbaseExt
#atype = 'double'
#atype = 'tangent'
atype = 'pc_3_1'
if atype == 'double':
import models_atyped_double as models
elif atype == 'tangent':
import models_atyped_tangent_double as models
elif atype == 'pc_3_1':
import models_... | 16.764706 | 49 | 0.701754 |
dc207eb3c1c09358cde7fd59a3a13c433629d2cb | 1,034 | ts | TypeScript | src/tasks/serve.ts | hivivo/teakettle | 387b6d2880e9b4a8852701b89bc9cc447ff6fad5 | [
"FTL"
] | 2 | 2017-08-04T20:36:42.000Z | 2017-11-18T13:03:50.000Z | src/tasks/serve.ts | hivivo/teakettle | 387b6d2880e9b4a8852701b89bc9cc447ff6fad5 | [
"FTL"
] | 1 | 2017-10-31T21:01:23.000Z | 2017-10-31T21:01:23.000Z | src/tasks/serve.ts | hivivo/teakettle | 387b6d2880e9b4a8852701b89bc9cc447ff6fad5 | [
"FTL"
] | null | null | null | const Task = require('../../ember-cli/lib/models/task');
import chalk from 'chalk';
import { exec } from 'child_process';
export default Task.extend({
run: function () {
const ui = this.ui;
const env = this.env;
let packageManager = this.packageManager || 'default';
if (packageManager === 'default') ... | 30.411765 | 106 | 0.575435 |
a672894d787ed3200f2d110556d5a37359698728 | 10,809 | swift | Swift | Tests/Network/OAuth/OAuthServiceTests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | 1 | 2021-02-24T14:08:04.000Z | 2021-02-24T14:08:04.000Z | Tests/Network/OAuth/OAuthServiceTests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | 23 | 2020-06-30T05:56:31.000Z | 2022-03-22T02:48:33.000Z | Tests/Network/OAuth/OAuthServiceTests.swift | frollous/frollo-swift-sdk | 603acb8523b46a924bedf0307d9bc41fd9b89ff5 | [
"Apache-2.0"
] | null | null | null | //
// Copyright © 2019 Frollo. 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 applica... | 47.61674 | 283 | 0.65723 |
ec69defe25a50b6282a4f8223640d2c778521f2c | 754 | asm | Assembly | loader/efi/crt0/crt032.asm | nelsoncole/sirius-efi | 6918a74f1eb42cd17312766db36a65efcb4dda32 | [
"BSD-3-Clause"
] | 6 | 2019-11-20T09:19:35.000Z | 2022-01-06T17:15:55.000Z | loader/efi/crt0/crt032.asm | nelsoncole/sirius-efi | 6918a74f1eb42cd17312766db36a65efcb4dda32 | [
"BSD-3-Clause"
] | null | null | null | loader/efi/crt0/crt032.asm | nelsoncole/sirius-efi | 6918a74f1eb42cd17312766db36a65efcb4dda32 | [
"BSD-3-Clause"
] | 1 | 2019-11-01T23:31:39.000Z | 2019-11-01T23:31:39.000Z | ;
; Copyright (c) 2013 Sirius Corporation
; Nelson Sapalo da Siva Cole
; Lubango, 29 de Julho de 2019 - Hora: 02h32
; File Name: crt032.asm
;
; Inicializar um UEFI_Loader IA32 (i386)
; Handoff State:
; ESP + 8 – EFI_SYSTEM_TABLE*
; ESP + 4 – EFI_HANDLE
; ESP - <return address>
bits 32
section .text
global _start
... | 13.22807 | 55 | 0.690981 |
2f3e60bc7f2bdd39b020976a8a2d061b47cc2153 | 276 | js | JavaScript | resources/js/components/Loader.js | AlexCauich/FinishProject | 83f2acdc535eaa4f60a3aba64154647ae6bb4220 | [
"MIT"
] | null | null | null | resources/js/components/Loader.js | AlexCauich/FinishProject | 83f2acdc535eaa4f60a3aba64154647ae6bb4220 | [
"MIT"
] | 3 | 2021-02-02T18:05:22.000Z | 2022-02-27T03:25:18.000Z | resources/js/components/Loader.js | AlexCauich/FinishProject | 83f2acdc535eaa4f60a3aba64154647ae6bb4220 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
class Loader extends Component {
render() {
return(
<div class="spinner-grow" role="status">
<span class="sr-only">Loading...</span>
</div>
)
}
}
export default Loader; | 21.230769 | 55 | 0.525362 |
1a677bcb1c3dc41d526cd7e23412bb29ab91bfe4 | 706 | py | Python | core/models/user.py | area55git/Gitmails | 813234909f7bc59ef13113c92d8a52d86c896338 | [
"MIT"
] | 140 | 2018-04-26T18:29:01.000Z | 2022-02-22T01:32:31.000Z | core/models/user.py | area55git/Gitmails | 813234909f7bc59ef13113c92d8a52d86c896338 | [
"MIT"
] | 4 | 2018-04-26T20:18:47.000Z | 2018-05-02T14:46:24.000Z | core/models/user.py | area55git/Gitmails | 813234909f7bc59ef13113c92d8a52d86c896338 | [
"MIT"
] | 23 | 2018-04-26T19:08:26.000Z | 2022-02-12T22:13:14.000Z | class User:
def __init__(self, username, name, email, bio, repositories):
self.username = username
self.name = name
self.email = email
self.bio = bio
self.repositories = repositories
def __str__(self):
final = "Name: {} ({}):".format(self.name, self.username)
... | 30.695652 | 65 | 0.549575 |
bebeba765687a301317cc1c4eca2bee18828bb9c | 989 | lua | Lua | lua/global.lua | idanko/dot-nvim | 37157cfb5bbb6ac654aa05da57b24194900cda65 | [
"MIT"
] | null | null | null | lua/global.lua | idanko/dot-nvim | 37157cfb5bbb6ac654aa05da57b24194900cda65 | [
"MIT"
] | null | null | null | lua/global.lua | idanko/dot-nvim | 37157cfb5bbb6ac654aa05da57b24194900cda65 | [
"MIT"
] | null | null | null | local global = {}
local home = os.getenv("HOME")
local path_sep = global.is_windows and '\\' or '/'
local os_name = vim.loop.os_uname().sysname
local restricted = home .. path_sep .. "github.com" .. path_sep .. "elijahdanko" .. path_sep .. "restricted"
function global:load_variables()
self.is_mac = os_name == "... | 38.038462 | 108 | 0.646107 |
2742e459ba0769ae1853b6d9d3fe201a9e082ea8 | 814 | rs | Rust | rust/advanced/drop/src/main.rs | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | null | null | null | rust/advanced/drop/src/main.rs | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | 18 | 2020-07-16T21:36:57.000Z | 2022-03-25T18:59:38.000Z | rust/advanced/drop/src/main.rs | skyofsmith/servePractice | d143497ec7c13dcbb55354c9050fd48e5b1c7b51 | [
"MIT"
] | null | null | null | //1、Drop trait类似于其它语言中的析构函数,当值离开作用域的时候执行此函数的代码。
struct Dog {
name: String,
}
impl Drop for Dog {
fn drop (&mut self) {
println!("{} leave", self.name);
}
}
fn main() {
let a = Dog {
name: String::from("wangcai"),
};
{
let b = Dog {
name: String::from("dahuan... | 21.421053 | 64 | 0.384521 |
0d6f97b4779df9d3abfa317b08107e5bcd8bd1db | 3,794 | cshtml | C# | SnsLite.Web/Views/Home/Contents/Company.cshtml | known/SnsLite | c75ee5cf85c7a673165f7fe10b0ee62769aa4ec3 | [
"MIT"
] | null | null | null | SnsLite.Web/Views/Home/Contents/Company.cshtml | known/SnsLite | c75ee5cf85c7a673165f7fe10b0ee62769aa4ec3 | [
"MIT"
] | 2 | 2017-06-07T08:22:09.000Z | 2018-03-28T16:04:10.000Z | SnsLite.Web/Views/Home/Contents/Company.cshtml | known/SnsLite | c75ee5cf85c7a673165f7fe10b0ee62769aa4ec3 | [
"MIT"
] | null | null | null | @model SnsLite.Company
@{
var checkFriendValidate = Model.FriendValidate ? " checked=\"checked\"" : "";
var checkComment = Model.AllowComment ? " checked=\"checked\"" : "";
}
<link href="~/static/vendor/citypicker/city-picker.css" rel="stylesheet" />
<div class="form-horizontal">
<div class="form-gr... | 43.609195 | 151 | 0.544808 |
0effb6a65b93b81527e6814b9f5b93dc2587a86b | 1,702 | dart | Dart | lib/engine/ui/screen/repository/dashboard/components/body-right/body_right_history.dart | tiagocasemiro/source_app | 1406b7add26e4ab9ffdb4fbdc9f917f85d895eb8 | [
"Apache-2.0"
] | 4 | 2021-02-12T18:11:33.000Z | 2021-08-06T08:09:40.000Z | lib/engine/ui/screen/repository/dashboard/components/body-right/body_right_history.dart | tiagocasemiro/source_app | 1406b7add26e4ab9ffdb4fbdc9f917f85d895eb8 | [
"Apache-2.0"
] | null | null | null | lib/engine/ui/screen/repository/dashboard/components/body-right/body_right_history.dart | tiagocasemiro/source_app | 1406b7add26e4ab9ffdb4fbdc9f917f85d895eb8 | [
"Apache-2.0"
] | null | null | null | import 'package:source_app/engine/ui/screen/repository/dashboard/components/body-right/body_right_viewmodel.dart';
import 'package:source_app/engine/ui/screen/repository/dashboard/components/body-right/components/dashboard_history.dart';
import 'package:source_app/engine/ui/screen/repository/dashboard/components/body-r... | 40.52381 | 122 | 0.707991 |
c436876c46e9b0354a1ad972f0d59d2e4927cf83 | 1,646 | hpp | C++ | src/vkt/Resample_serial.hpp | szellmann/volk | f8e8755d0e016359e4977934412888830080dd42 | [
"MIT"
] | 1 | 2021-01-20T22:31:07.000Z | 2021-01-20T22:31:07.000Z | src/vkt/Resample_serial.hpp | szellmann/volkit | f8e8755d0e016359e4977934412888830080dd42 | [
"MIT"
] | null | null | null | src/vkt/Resample_serial.hpp | szellmann/volkit | f8e8755d0e016359e4977934412888830080dd42 | [
"MIT"
] | null | null | null | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#include <vkt/Resample.hpp>
#include <vkt/StructuredVolume.hpp>
#include "linalg.hpp"
namespace vkt
{
void Resample_serial(
StructuredVolume& dst,
StructuredVolume& src,
Filte... | 26.983607 | 73 | 0.402795 |
e072e5517cc3f919a940c27a1d9825faa2c0908c | 14,064 | h | C | Modules/Contents/UI/Include/PolyUITextInput.h | Bright24/Polycode | d40a6f7c1e8f0b327648bfe0bad5509e31f112ce | [
"MIT"
] | 1 | 2020-04-27T15:55:29.000Z | 2020-04-27T15:55:29.000Z | Modules/Contents/UI/Include/PolyUITextInput.h | Bright24/Polycode | d40a6f7c1e8f0b327648bfe0bad5509e31f112ce | [
"MIT"
] | null | null | null | Modules/Contents/UI/Include/PolyUITextInput.h | Bright24/Polycode | d40a6f7c1e8f0b327648bfe0bad5509e31f112ce | [
"MIT"
] | null | null | null | /*
Copyright (C) 2012 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | 25.996303 | 127 | 0.689775 |
c940b73d33ac31ec4583cdce08b638df90140331 | 1,084 | ts | TypeScript | libs/client/ui/src/lib/components/text-field/text-field.component.ts | SigmasonicX/dragonfish | 8e0aaf0d36131dfbba1fa9b4b979f488d7f7147b | [
"Apache-2.0"
] | 5 | 2020-08-03T10:48:49.000Z | 2021-01-26T20:44:13.000Z | libs/client/ui/src/lib/components/text-field/text-field.component.ts | SigmasonicX/dragonfish | 8e0aaf0d36131dfbba1fa9b4b979f488d7f7147b | [
"Apache-2.0"
] | 263 | 2020-07-23T06:22:20.000Z | 2021-01-30T08:57:59.000Z | libs/client/ui/src/lib/components/text-field/text-field.component.ts | SigmasonicX/dragonfish | 8e0aaf0d36131dfbba1fa9b4b979f488d7f7147b | [
"Apache-2.0"
] | 7 | 2021-02-08T20:56:34.000Z | 2022-02-14T09:47:47.000Z | import { Component, Input } from '@angular/core';
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
@Component({
selector: 'dragonfish-text-field',
templateUrl: './text-field.component.html',
styleUrls: ['./text-field.component.scss'],
providers: [
{
provide:... | 26.439024 | 73 | 0.610701 |
6dbe814e22082f3119b14bec8313ac6be2e4bc86 | 2,292 | sql | SQL | Aeroport.sql | maiovschi/aeroport | 4bbb1d9e6a7d423a1ffcf408698d3c441c03aada | [
"MIT"
] | null | null | null | Aeroport.sql | maiovschi/aeroport | 4bbb1d9e6a7d423a1ffcf408698d3c441c03aada | [
"MIT"
] | 1 | 2021-02-02T18:27:15.000Z | 2021-02-02T18:27:15.000Z | Aeroport.sql | maiovschi/aeroport | 4bbb1d9e6a7d423a1ffcf408698d3c441c03aada | [
"MIT"
] | null | null | null | DROP DATABASE IF EXISTS aeroport;
CREATE DATABASE IF NOT EXISTS aeroport;
USE `aeroport` ;
CREATE TABLE `aeroport`.`rute` (
`idRuta` INT NOT NULL AUTO_INCREMENT,
`aeroport_plecare` VARCHAR(45) NULL,
`aeroport_sosire` VARCHAR(45) NULL,
PRIMARY KEY (`idRuta`));
CREATE TABLE `aeroport`.`avioane` (
`idAvion` INT N... | 23.387755 | 50 | 0.736475 |
981c619f2f7b98c66f2d9878e6cbf54904292b00 | 2,950 | py | Python | samples/python/13.core-bot/envs/chat_bot_02/Lib/site-packages/datatypes_date_time/timex_inference.py | luzeunice/BotBuilder-Samples | b62be4e8863125a567902b736b7b74313d9d4f28 | [
"MIT"
] | null | null | null | samples/python/13.core-bot/envs/chat_bot_02/Lib/site-packages/datatypes_date_time/timex_inference.py | luzeunice/BotBuilder-Samples | b62be4e8863125a567902b736b7b74313d9d4f28 | [
"MIT"
] | null | null | null | samples/python/13.core-bot/envs/chat_bot_02/Lib/site-packages/datatypes_date_time/timex_inference.py | luzeunice/BotBuilder-Samples | b62be4e8863125a567902b736b7b74313d9d4f28 | [
"MIT"
] | null | null | null | # Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
from .timex_constants import Constants
class TimexInference:
@staticmethod
def infer(obj):
types = set()
if TimexInference.__is_present(obj):
types.add(Constants.TIMEX_TYPES_PRE... | 33.908046 | 96 | 0.690169 |
6501356ec2e656aaaa1c5d7d087d917057525868 | 169 | css | CSS | src/components/editors/EquationEditor.css | ntbrock/iwphys-designer-proto-react | bffb1999b06064f519450fe952b9e902de9b9afd | [
"MIT"
] | null | null | null | src/components/editors/EquationEditor.css | ntbrock/iwphys-designer-proto-react | bffb1999b06064f519450fe952b9e902de9b9afd | [
"MIT"
] | null | null | null | src/components/editors/EquationEditor.css | ntbrock/iwphys-designer-proto-react | bffb1999b06064f519450fe952b9e902de9b9afd | [
"MIT"
] | null | null | null |
/** Equation Editor */
.equation-editor .equation-evaluation {
padding: 0.5rem;
}
.equation-editor .equation-exception {
color: red;
padding: 0.5rem;
}
| 12.071429 | 39 | 0.64497 |
c02a00a6132aed790eb8ab79993c2cbe5caa98e4 | 3,415 | cs | C# | Source/Server/WebPortal/Apps/IbnCommon/WidgetControls/Assistant.ascx.designer.cs | InstantBusinessNetwork/IBN | bbcf47de56bfc52049eeb2e46677642a28f38825 | [
"MIT"
] | 21 | 2015-07-22T15:22:41.000Z | 2021-03-23T05:40:44.000Z | Source/Server/WebPortal/Apps/IbnCommon/WidgetControls/Assistant.ascx.designer.cs | InstantBusinessNetwork/IBN | bbcf47de56bfc52049eeb2e46677642a28f38825 | [
"MIT"
] | 11 | 2015-10-19T07:54:10.000Z | 2021-09-01T08:47:56.000Z | Source/Server/WebPortal/Apps/IbnCommon/WidgetControls/Assistant.ascx.designer.cs | InstantBusinessNetwork/IBN | bbcf47de56bfc52049eeb2e46677642a28f38825 | [
"MIT"
] | 16 | 2015-07-22T15:23:09.000Z | 2022-01-17T10:49:43.000Z | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 34.846939 | 84 | 0.53675 |
c9be4c99014b65656a2d57d9e63ef4b5cfacb7b8 | 131 | ts | TypeScript | ts/src/config.ts | fauxauldrich/wiremock-ui | 26139f87169ba197f8ebf03a766b7acb55a74f1f | [
"MIT"
] | null | null | null | ts/src/config.ts | fauxauldrich/wiremock-ui | 26139f87169ba197f8ebf03a766b7acb55a74f1f | [
"MIT"
] | null | null | null | ts/src/config.ts | fauxauldrich/wiremock-ui | 26139f87169ba197f8ebf03a766b7acb55a74f1f | [
"MIT"
] | 1 | 2021-09-23T16:05:43.000Z | 2021-09-23T16:05:43.000Z | //Update this for setting wiremock properties globally
export enum ENV {
WIREMOCK_HOST = "localhost",
WIREMOCK_PORT = 8080,
}
| 18.714286 | 54 | 0.748092 |
4886068a86357c8ae3fe0b720c7bbd1ba117c163 | 1,403 | sh | Shell | add_images_2.sh | mazerab/recap-bash-demo.script | f15763a3677973361bcc06b495c3b90bdc6c39b8 | [
"MIT"
] | null | null | null | add_images_2.sh | mazerab/recap-bash-demo.script | f15763a3677973361bcc06b495c3b90bdc6c39b8 | [
"MIT"
] | null | null | null | add_images_2.sh | mazerab/recap-bash-demo.script | f15763a3677973361bcc06b495c3b90bdc6c39b8 | [
"MIT"
] | null | null | null | ACCESS_TOKEN=$ACCESS_TOKEN
POST_FILE_URL='https://developer.api.autodesk.com/photo-to-3d/v1/file'
echo 'Starting image uploads to the photoscene'
curl -s -w "\n%{http_code}" $POST_FILE_URL \
-X POST \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-F photosceneid=$PHOTOSCENE_ID \
-F type=image \
-F file[0]=@/U... | 48.37931 | 102 | 0.74412 |
bb42e8b5edda7a0be8c6848945179cc7c36f08e7 | 359 | cs | C# | Blish HUD/Entities/Cube.cs | greaka/Blish-HUD | d4928e3baf626357b9aefe4fe91edfc1f4ad6818 | [
"MIT"
] | 1 | 2019-05-18T01:43:44.000Z | 2019-05-18T01:43:44.000Z | Blish HUD/Entities/Cube.cs | greaka/Blish-HUD | d4928e3baf626357b9aefe4fe91edfc1f4ad6818 | [
"MIT"
] | 4 | 2019-05-16T15:47:19.000Z | 2020-05-08T16:41:14.000Z | Blish HUD/Entities/Cube.cs | greaka/Blish-HUD | d4928e3baf626357b9aefe4fe91edfc1f4ad6818 | [
"MIT"
] | 3 | 2019-05-15T08:19:15.000Z | 2019-05-20T19:52:35.000Z | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Blish_HUD.Entities {
public class Cube : Primitives.Cuboid {
public Color Color { get; set; }
public Cube() : base() {
this.Texture = ContentService.Textures.Pixel;
this.Size = new Vector3(0.... | 22.4375 | 57 | 0.615599 |
3fef856e2766a63de4c4d6e4b06257739fa5fc19 | 15,971 | rb | Ruby | spec/lib/xml_val_spec.rb | LaudateCorpus1/ruby3mf | 24419b8728b5b0cc9da0f5311b60e0a674bdf04c | [
"MIT"
] | null | null | null | spec/lib/xml_val_spec.rb | LaudateCorpus1/ruby3mf | 24419b8728b5b0cc9da0f5311b60e0a674bdf04c | [
"MIT"
] | null | null | null | spec/lib/xml_val_spec.rb | LaudateCorpus1/ruby3mf | 24419b8728b5b0cc9da0f5311b60e0a674bdf04c | [
"MIT"
] | null | null | null | require 'spec_helper'
require 'nokogiri'
describe XmlVal do
include Interpolation
failing_cases = YAML.load_file('spec/integration/integration_tests.yml')
let(:errormap) { YAML.load_file('lib/ruby3mf/errors.yml') }
let(:xml) { Nokogiri::XML(
'<?xml version="1.0" encoding="UTF-8"?>
<Types xmlns="... | 39.434568 | 284 | 0.484127 |
0d7ed9ca5fbee7838df43120954c6fb3c9ddb193 | 30,143 | cs | C# | other/Scripts/Network/Core/RemoteObject.cs | fqkw6/RewriteFrame | c17ec2b3e2bb50f3eef7f7538ed84af2aaa7aa72 | [
"Apache-2.0"
] | null | null | null | other/Scripts/Network/Core/RemoteObject.cs | fqkw6/RewriteFrame | c17ec2b3e2bb50f3eef7f7538ed84af2aaa7aa72 | [
"Apache-2.0"
] | null | null | null | other/Scripts/Network/Core/RemoteObject.cs | fqkw6/RewriteFrame | c17ec2b3e2bb50f3eef7f7538ed84af2aaa7aa72 | [
"Apache-2.0"
] | 2 | 2020-07-22T10:23:05.000Z | 2020-11-04T10:00:54.000Z | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Assets.Scripts.Logic.RemoteCall
{
public enum KSDType
{
kstInvalid = 0, //无效的类型
kstBool = 1, //bool类型
kstInt8 = 2, //8位int
kstInt16 = 3, //16位int
kstInt32 = 4, //32位int
... | 22.715147 | 101 | 0.474439 |
5898ae3db7ba1167031df6686b784c9ad003fb0a | 6,357 | css | CSS | libraries/bootstrap3/icons/adminIcons.css | Myent/demo | 538007bbfcdfb792a12d19211d4cca56cfc98803 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | libraries/bootstrap3/icons/adminIcons.css | Myent/demo | 538007bbfcdfb792a12d19211d4cca56cfc98803 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | libraries/bootstrap3/icons/adminIcons.css | Myent/demo | 538007bbfcdfb792a12d19211d4cca56cfc98803 | [
"PHP-3.0",
"Apache-2.0",
"ECL-2.0"
] | null | null | null | @font-face {
font-family: 'AdminIcons';
src:url('adminIcons.eot?5bzxui');
src:url('adminIcons.eot?5bzxui#iefix') format('embedded-opentype'),
url('adminIcons.ttf?5bzxui') format('truetype'),
url('adminIcons.woff?5bzxui') format('woff'),
url('adminIcons.svg?5bzxui#icomoon') format('svg');
font-weight: normal;
... | 20.053628 | 68 | 0.665566 |
4ccb48eee38c0b9cf9e8989976f1004ec6309589 | 625 | py | Python | ProjectEulerCode/prob27.py | khaleeque-ansari/Online-Coding-Problems-Solutions-Python | c8378ccad88ce5f50239f82cf9569344e1b92f18 | [
"Apache-2.0"
] | null | null | null | ProjectEulerCode/prob27.py | khaleeque-ansari/Online-Coding-Problems-Solutions-Python | c8378ccad88ce5f50239f82cf9569344e1b92f18 | [
"Apache-2.0"
] | null | null | null | ProjectEulerCode/prob27.py | khaleeque-ansari/Online-Coding-Problems-Solutions-Python | c8378ccad88ce5f50239f82cf9569344e1b92f18 | [
"Apache-2.0"
] | null | null | null | from prime_check import isprime
prim_list = []
for k in range(2,1000):
prim_list.append(k)
max_count = 0
for a in range(-999,999):
for b in prim_list:
for i in range(0,1000):
#print i,
#print isprime(i*i + a*i + b)
if isprime(i*i + a*i + b... | 23.148148 | 64 | 0.4112 |
f2088ffab0fa5d15e986b93f636994a7b021097d | 3,631 | cpp | C++ | copyFileSet.cpp | CCJordan/cpb | 026ded38733be2c9795094a075070dff1c698759 | [
"CC0-1.0"
] | null | null | null | copyFileSet.cpp | CCJordan/cpb | 026ded38733be2c9795094a075070dff1c698759 | [
"CC0-1.0"
] | null | null | null | copyFileSet.cpp | CCJordan/cpb | 026ded38733be2c9795094a075070dff1c698759 | [
"CC0-1.0"
] | null | null | null | //
// copyFileSet.cpp
// cpProgressBar
//
// Created by Christopher Jordan on 26.09.15.
// Copyright © 2015 Christopher Jordan. All rights reserved.
//
#include "copyFileSet.h"
copyFileSet::copyFileSet(string destination) {
dest = destination;
copiedFiles = 0;
destIsFile = !copyHelper::is_dir(dest.c_s... | 28.367188 | 107 | 0.557973 |
a36075fc06d8b8357fcda9e791c0f99cf1288c4f | 1,078 | java | Java | src/main/java/com/ucar/eser/admin/service/schedule/EsBaseCenterJob.java | ucarGroup/EserKnife | 2935f8ddd38526a513f8a38e0defd44c16b9cfbb | [
"Apache-2.0"
] | 15 | 2018-05-03T09:34:36.000Z | 2020-07-30T05:37:28.000Z | src/main/java/com/ucar/eser/admin/service/schedule/EsBaseCenterJob.java | ucarGroup/EserKnife | 2935f8ddd38526a513f8a38e0defd44c16b9cfbb | [
"Apache-2.0"
] | null | null | null | src/main/java/com/ucar/eser/admin/service/schedule/EsBaseCenterJob.java | ucarGroup/EserKnife | 2935f8ddd38526a513f8a38e0defd44c16b9cfbb | [
"Apache-2.0"
] | 10 | 2018-05-03T08:09:49.000Z | 2021-07-05T09:45:44.000Z | package com.ucar.eser.admin.service.schedule;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.Serializable;
/**
*
* job父类,包含一个抽象函方法,将实现推迟到具体的子类
* Created by wangzhen on 2015/10/22
*/
pub... | 29.135135 | 89 | 0.703154 |