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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cfefced7b0af58fd48dd439bdce7a672a36d9c72 | 9,249 | swift | Swift | WPAppKit/Classes/CustomView/TagsView.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | 5 | 2019-10-14T07:53:08.000Z | 2020-11-02T05:35:54.000Z | WPAppKit/Classes/CustomView/TagsView.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | null | null | null | WPAppKit/Classes/CustomView/TagsView.swift | WHeB/WPAppKit | 3b5e9e0d97f2d92c283ff12035bb154187dc7e27 | [
"MIT"
] | null | null | null | //
// TagsView.swift
// WPAppKit
//
// Created by 王鹏 on 2019/9/17.
//
import UIKit
public enum TagType {
case normal // 默认纯文本
case imgLeft(normalImg: UIImage, selectedImg: UIImage) // 左侧图片
case imgRight(normalImg: UIImage, selectedImg: UIImage) // 右侧图片
}
public struct TagStyle {
// 小标签样式
... | 34.003676 | 124 | 0.564277 |
9bff28c369dc648fcfb3dfcd2f1cb8ed70c56f30 | 950 | js | JavaScript | www/js/kcaptcha.js | CatsMiaow/KI-Board | b9d655e44be5df8fa689f5f07a8cd0bd18c8f31a | [
"MIT"
] | 10 | 2015-11-05T20:42:03.000Z | 2021-05-03T06:17:55.000Z | www/js/kcaptcha.js | CatsMiaow/KI_Board | b9d655e44be5df8fa689f5f07a8cd0bd18c8f31a | [
"MIT"
] | 3 | 2015-02-24T03:36:26.000Z | 2015-07-23T22:41:58.000Z | www/js/kcaptcha.js | CatsMiaow/KI-Board | b9d655e44be5df8fa689f5f07a8cd0bd18c8f31a | [
"MIT"
] | 10 | 2016-01-05T13:19:11.000Z | 2018-12-03T05:53:06.000Z | if (typeof(KCAPTCHA_JS) == 'undefined') {
if (typeof rt_path == 'undefined')
alert('올바르지 않은 접근입니다.');
var KCAPTCHA_JS = true
, md5_norobot_key = '';
$(function() {
$('body').on('click', '#kcaptcha', function() {
$.ajax({
type: 'POST',
... | 33.928571 | 107 | 0.476842 |
dfa4eb2b118bfcb514ff510259ac58035f0a5497 | 2,919 | ts | TypeScript | spec/frontend/base-spec.ts | turboMaCk/DoctorMarkDown | a3e94957c7210ca7003d9fbb10278679fef1b169 | [
"MIT"
] | null | null | null | spec/frontend/base-spec.ts | turboMaCk/DoctorMarkDown | a3e94957c7210ca7003d9fbb10278679fef1b169 | [
"MIT"
] | null | null | null | spec/frontend/base-spec.ts | turboMaCk/DoctorMarkDown | a3e94957c7210ca7003d9fbb10278679fef1b169 | [
"MIT"
] | null | null | null | ///<reference path="../../header_files/jasmine.d.ts"/>
import { pushDepthToTree, Token, createNode } from '../../lib/frontend/base';
export default describe('parseNavTree', () => {
// describe('flat tree', () => {
// const initialTree = [
// { item: { text: 'first', href: "", depth: 1 }, child... | 46.333333 | 94 | 0.390887 |
c5076c5f3792fd15c68ef5204aa42073873709c7 | 18 | lua | Lua | rt/dot/mf/a/.1.0.lua | wpoely86/Lmod | 9323970e5d191d3f919bbadac14ff2c5670f9a34 | [
"MIT"
] | 318 | 2015-01-16T11:39:11.000Z | 2022-03-14T18:11:25.000Z | rt/dot/mf/a/.1.0.lua | wpoely86/Lmod | 9323970e5d191d3f919bbadac14ff2c5670f9a34 | [
"MIT"
] | 498 | 2015-01-06T15:12:34.000Z | 2022-03-25T10:14:10.000Z | rt/dot/mf/a/.1.0.lua | wpoely86/Lmod | 9323970e5d191d3f919bbadac14ff2c5670f9a34 | [
"MIT"
] | 123 | 2015-02-16T10:33:35.000Z | 2022-02-25T15:25:45.000Z | setenv("A","0.1")
| 9 | 17 | 0.5 |
fbaca2cc3093e5e7ea490d7fbb5037ddd9a64dbb | 3,741 | h | C | minerva/narray/narray.h | jjzhang166/minerva | 7d21ed2bdca3de9fbb6e5e2e277fd9956b81a04f | [
"Apache-2.0"
] | 561 | 2015-04-05T02:50:00.000Z | 2022-03-04T09:05:16.000Z | minerva/narray/narray.h | jjzhang166/minerva | 7d21ed2bdca3de9fbb6e5e2e277fd9956b81a04f | [
"Apache-2.0"
] | 35 | 2015-04-05T12:46:45.000Z | 2016-06-14T00:58:17.000Z | minerva/narray/narray.h | jjzhang166/minerva | 7d21ed2bdca3de9fbb6e5e2e277fd9956b81a04f | [
"Apache-2.0"
] | 161 | 2015-04-15T05:47:34.000Z | 2022-01-25T16:01:20.000Z | #pragma once
#include <initializer_list>
#include <dmlc/logging.h>
#include <memory>
#include "op/closure.h"
#include "common/scale.h"
#include "backend/backend.h"
#include "backend/backend_chunk.h"
namespace minerva {
struct FileFormat {
bool binary;
};
class NArray {
friend class Elewise;
friend class Convol... | 32.815789 | 89 | 0.711307 |
86245a3b7a27e569ea4f0582bba0e57a541d8be2 | 944 | rs | Rust | src/src/tetris.rs | newbe36524/Nebwe.Tetris | b8ab1b6a9f6118eac1a6e6d2f114d5e76bd1fd6a | [
"MIT"
] | 8 | 2021-10-05T15:31:38.000Z | 2022-01-28T08:48:17.000Z | src/src/tetris.rs | newbe36524/Nebwe.Tetris | b8ab1b6a9f6118eac1a6e6d2f114d5e76bd1fd6a | [
"MIT"
] | null | null | null | src/src/tetris.rs | newbe36524/Nebwe.Tetris | b8ab1b6a9f6118eac1a6e6d2f114d5e76bd1fd6a | [
"MIT"
] | 1 | 2022-01-28T08:48:41.000Z | 2022-01-28T08:48:41.000Z | use crossterm::{
event::{KeyCode},
};
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct Size {
pub height: u16,
pub width: u16,
}
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct Point {
pub x: u16,
pub y: u16,
}
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct Movement {
... | 19.265306 | 44 | 0.630297 |
c45aebabaf190f3fe9608b4aca7215ed1fa3171c | 875 | h | C | iris_mt_scratch/egbert_codes-20210121T193218Z-001/egbert_codes/EMTF/SEED/qlib/datatypes.h | simpeg-research/iris-mt-scratch | ea458f253071db513fd0731118a2a7452a725944 | [
"MIT"
] | null | null | null | iris_mt_scratch/egbert_codes-20210121T193218Z-001/egbert_codes/EMTF/SEED/qlib/datatypes.h | simpeg-research/iris-mt-scratch | ea458f253071db513fd0731118a2a7452a725944 | [
"MIT"
] | 19 | 2020-12-23T17:55:48.000Z | 2021-06-24T21:01:05.000Z | iris_mt_scratch/egbert_codes-20210121T193218Z-001/egbert_codes/EMTF/SEED/qlib/datatypes.h | simpeg-research/iris-mt-scratch | ea458f253071db513fd0731118a2a7452a725944 | [
"MIT"
] | null | null | null | /* Data types for SEED data records. */
/* @(#)datatypes.h 1.2 1/26/96 11:10:33 */
#ifndef SEED_BIG_ENDIAN
/* Define UNKNOWN datatype. */
#define UNKNOWN_DATATYPE 0
/* General datatype codes. */
#define INT_16 1
#define INT_24 2
#define INT_32 3
#define IEEE_FP_SP 4
#define IEEE_FP_DP 5
/* F... | 21.875 | 62 | 0.697143 |
5b47cc3b98d2b33bf2dfbb66a452fa3b0b820819 | 2,475 | c | C | lang/c/leetcode/interlaveStr.097.c | liuyang1/test | a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417 | [
"MIT"
] | 8 | 2015-06-07T13:25:48.000Z | 2022-03-22T23:14:50.000Z | lang/c/leetcode/interlaveStr.097.c | liuyang1/test | a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417 | [
"MIT"
] | 30 | 2016-01-29T01:36:41.000Z | 2018-09-19T07:01:22.000Z | lang/c/leetcode/interlaveStr.097.c | liuyang1/test | a4560e0c9ffd0bc054d55bbcf12a894ab5b7d417 | [
"MIT"
] | null | null | null | #include "leet.h"
// should different with false 0 or true 1
#define UNDEF 2
bool isInterleaveI(int *mem, int m, int n, char *s1, char *s2, char *s3,
int csr1, int csr2);
bool isInterleaveM(int *mem, int m, int n, char *s1, char *s2, char *s3,
int csr1, int csr2) {
int csr = ... | 34.375 | 211 | 0.55596 |
a824952f912df565e967a8d43a105da007f886e4 | 7,158 | rs | Rust | cases/src/vmsop_vv_cases.rs | XuJiandong/rvv-testcases | 3f0bcae47a328ff76f7ed96368cb1d8d14edf32d | [
"MIT"
] | null | null | null | cases/src/vmsop_vv_cases.rs | XuJiandong/rvv-testcases | 3f0bcae47a328ff76f7ed96368cb1d8d14edf32d | [
"MIT"
] | null | null | null | cases/src/vmsop_vv_cases.rs | XuJiandong/rvv-testcases | 3f0bcae47a328ff76f7ed96368cb1d8d14edf32d | [
"MIT"
] | 1 | 2022-03-03T01:41:14.000Z | 2022-03-03T01:41:14.000Z | use core::{arch::asm, convert::TryInto};
use eint::{Eint, E256};
use rvv_asm::rvv_asm;
use rvv_testcases::{
intrinsic::vmsop_vv,
misc::{avl_iterator, set_bit_in_slice},
runner::{run_vmsop_vv, WideningCategory},
};
fn expected_eq(lhs: &[u8], rhs: &[u8], result: &mut [u8], index: usize) {
assert_eq!(lhs.... | 28.29249 | 85 | 0.461162 |
1f91680d1c452101385a0cbf5786f599475da727 | 7,143 | html | HTML | src/app/routes/workflow/pages/template-detail/template-detail.component.html | 24wings/cr-client | 2f41a074b74504f7f800adf34b405cbb1c808aee | [
"MIT"
] | null | null | null | src/app/routes/workflow/pages/template-detail/template-detail.component.html | 24wings/cr-client | 2f41a074b74504f7f800adf34b405cbb1c808aee | [
"MIT"
] | null | null | null | src/app/routes/workflow/pages/template-detail/template-detail.component.html | 24wings/cr-client | 2f41a074b74504f7f800adf34b405cbb1c808aee | [
"MIT"
] | null | null | null | <div class="workflow-list-title">
<h2>工作流模板</h2>
<div class="workflow-list-title-menu">
<span>首页</span> >
<span>工作流</span> >
<span>工作流模板</span> >
<span>部门预算-ET-01</span>
</div>
</div>
<div class="workflow-template-details">
<div class="workflow-template-details-title">
... | 43.290909 | 142 | 0.531289 |
6a06aacf29af8668e88809a4def83dc92f0ab934 | 3,151 | asm | Assembly | Code examples/Interrupts+LCD/blink11.asm | tocache/Intel-8085 | da1acfc20b3ab74a26993eeefb4cccf2b3ecf2de | [
"MIT"
] | null | null | null | Code examples/Interrupts+LCD/blink11.asm | tocache/Intel-8085 | da1acfc20b3ab74a26993eeefb4cccf2b3ecf2de | [
"MIT"
] | 2 | 2021-07-29T14:33:19.000Z | 2021-07-30T14:42:24.000Z | Code examples/Interrupts+LCD/blink11.asm | tocache/Intel-8085 | da1acfc20b3ab74a26993eeefb4cccf2b3ecf2de | [
"MIT"
] | null | null | null | ;Interrupciones habilitadas con visualizacion en LCD de la fuente de interrupcion
.CR 8085 To load the 8085 cross overlay
.TF blink11.hex,INT,32
.OR $0800 ;Zona de EEPROM, datos constantes
MSG1: .DB "i8085 Example 11"
MSG3: .DB "Int7.5 received!"
MSG4: .DB "Int6.5 received!"
MSG5: .DB "Int5.5 received!"
... | 19.450617 | 102 | 0.675976 |
b2fa730dbd73b043c294390890c9c13d76abf7ce | 1,685 | py | Python | tests/stdlib_test.py | misantroop/jsonpickle | 97f4a05ccffe8593458b4b787c3fc97622f23cec | [
"BSD-3-Clause"
] | null | null | null | tests/stdlib_test.py | misantroop/jsonpickle | 97f4a05ccffe8593458b4b787c3fc97622f23cec | [
"BSD-3-Clause"
] | 1 | 2019-04-03T20:19:40.000Z | 2019-04-03T20:19:40.000Z | tests/stdlib_test.py | parsons-kyle-89/jsonpickle | 2828dd4a247bbae9d37a3d78194caaaeadeb2ed2 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""Test miscellaneous objects from the standard library"""
import uuid
import unittest
import jsonpickle
class UUIDTestCase(unittest.TestCase):
def test_random_uuid(self):
u = uuid.uuid4()
encoded = jsonpickle.encode(u)
decoded = jsonpickle.decode(encoded)
... | 30.089286 | 70 | 0.629674 |
98b21f3cd84eb6713d59b688dc0fe7c6c288d93b | 893 | html | HTML | seeker/results/act2/files/452.html | mangel2o/proyecto-ingenieria-software | 4cede1a0202f78f79a3ce1f2f34986d93e9cb1b6 | [
"Apache-2.0"
] | 3 | 2021-02-20T22:31:47.000Z | 2021-03-20T00:02:55.000Z | seeker/results/act2/files/452.html | mangel2o/proyecto-ingenieria-software | 4cede1a0202f78f79a3ce1f2f34986d93e9cb1b6 | [
"Apache-2.0"
] | 1 | 2021-03-20T02:12:48.000Z | 2021-03-20T02:12:48.000Z | seeker/results/act2/files/452.html | mangel2o/proyecto-ingenieria-software | 4cede1a0202f78f79a3ce1f2f34986d93e9cb1b6 | [
"Apache-2.0"
] | null | null | null |
Motor Oils for heavy vehicles
MOTOR OILS FOR HEAVY VEHICLES
Diesel Móvil Extra Vida
(Long-Life)
Multigrade SAE 15W-40,
which exceeds API CF-4 classification, is highly capable
of keeping this soot suspended; accordingly, it has bee
grante... | 15.666667 | 64 | 0.578947 |
18d6b2e70b92d5809e0e6184a7b0bb89f29fa3c1 | 1,135 | rb | Ruby | app/services/spree_shopify_importer/data_parsers/return_authorizations/base_data.rb | w4hs/shopify-spree-importer | f44a1324fd9be726483ded77a04176996a7f821a | [
"BSD-3-Clause"
] | 8 | 2018-02-08T11:11:03.000Z | 2020-06-05T17:16:53.000Z | app/services/spree_shopify_importer/data_parsers/return_authorizations/base_data.rb | w4hs/shopify-spree-importer | f44a1324fd9be726483ded77a04176996a7f821a | [
"BSD-3-Clause"
] | 61 | 2017-04-13T08:19:00.000Z | 2020-05-06T20:15:37.000Z | app/services/spree_shopify_importer/data_parsers/return_authorizations/base_data.rb | w4hs/shopify-spree-importer | f44a1324fd9be726483ded77a04176996a7f821a | [
"BSD-3-Clause"
] | 12 | 2018-01-26T12:46:57.000Z | 2021-06-25T13:46:47.000Z | module SpreeShopifyImporter
module DataParsers
module ReturnAuthorizations
class BaseData
def initialize(shopify_refund, spree_order)
@shopify_refund = shopify_refund
@spree_order = spree_order
end
def number
@number ||= "SRE#{@shopify_refund.id}"
... | 25.795455 | 115 | 0.591189 |
c3f1d24dde05d7f1047f842d80170d0e501c6662 | 237 | sql | SQL | Seguranca/SqlServer/Tabelas/03_tbTppr.sql | adesempre/scripts_modulo_base | fe076f9fd5a3a0fc8ccc95d7b01c1997f0988056 | [
"Unlicense"
] | null | null | null | Seguranca/SqlServer/Tabelas/03_tbTppr.sql | adesempre/scripts_modulo_base | fe076f9fd5a3a0fc8ccc95d7b01c1997f0988056 | [
"Unlicense"
] | null | null | null | Seguranca/SqlServer/Tabelas/03_tbTppr.sql | adesempre/scripts_modulo_base | fe076f9fd5a3a0fc8ccc95d7b01c1997f0988056 | [
"Unlicense"
] | null | null | null | CREATE TABLE seg.tbTppr
(
tppr_cod CHAR(02) NOT NULL,
modu_cod CHAR(02) NOT NULL,
tppr_dsc CHAR(70) NOT NULL,
tppr_ico VARCHAR(255) NOT NULL,
tppr_ind_movto CHAR(01) NOT NULL,
CONSTRAINT tbTppr_PK PRIMARY KEY
(
tppr_cod
)
)
GO
| 16.928571 | 34 | 0.734177 |
ad3f60c2e7f40ce3a16d7bb18af7f6a8a5ee5522 | 4,327 | lua | Lua | examples/threaded-webserver.lua | LuaDist-testing/lua-apr | d5be82741b2aad3d592a079add2229bdc94b48bc | [
"MIT"
] | null | null | null | examples/threaded-webserver.lua | LuaDist-testing/lua-apr | d5be82741b2aad3d592a079add2229bdc94b48bc | [
"MIT"
] | null | null | null | examples/threaded-webserver.lua | LuaDist-testing/lua-apr | d5be82741b2aad3d592a079add2229bdc94b48bc | [
"MIT"
] | null | null | null | --[[
Example: Multi threaded webserver
Author: Peter Odding <peter@peterodding.com>
Last Change: June 19, 2011
Homepage: http://peterodding.com/code/lua/apr/
License: MIT
Thanks to the [multi threading] [threading_module] and [thread queue]
[thread_queues] modules in the Apache Portable Runtime it is p... | 34.34127 | 113 | 0.653571 |
42d23999410ce60b53044a5f99a42a36a800aa31 | 4,355 | sql | SQL | bokhak.sql | dallball/boke_mysql | dafe0b833ea847b8b1214dd3bd9a885cb8fa5f0d | [
"MIT"
] | 1 | 2018-06-23T16:54:16.000Z | 2018-06-23T16:54:16.000Z | bokhak.sql | dallball/boke_mysql | dafe0b833ea847b8b1214dd3bd9a885cb8fa5f0d | [
"MIT"
] | null | null | null | bokhak.sql | dallball/boke_mysql | dafe0b833ea847b8b1214dd3bd9a885cb8fa5f0d | [
"MIT"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : local_centos
Source Server Version : 50556
Source Host : 192.168.0.166:3306
Source Database : bokhak
Target Server Type : MYSQL
Target Server Version : 50556
File Encoding : 65001
Date: 2018-06-14 15:36:43
*/
SET FOREIGN_KEY_CHECKS=0;... | 46.827957 | 214 | 0.617451 |
16c5ebce82b26826cc766439b0fec54fc8b665b9 | 533 | h | C | apps/editor/DialogComponents.h | ASxa86/azule | 9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b | [
"MIT"
] | 1 | 2018-10-19T18:00:19.000Z | 2018-10-19T18:00:19.000Z | apps/editor/DialogComponents.h | ASxa86/azule | 9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b | [
"MIT"
] | 7 | 2019-06-13T00:48:55.000Z | 2020-05-05T00:18:42.000Z | apps/editor/DialogComponents.h | ASxa86/AGE | 9bf89dfc5a80f296b02edd3ac608d9a90e4ea26b | [
"MIT"
] | null | null | null | #pragma once
#include <azule/entity/Entity.h>
#include <QtWidgets/QDialog>
namespace azule
{
///
/// \class DialogComponents
///
/// \brief A dialog for choosing a new component to add to an Entity.
///
/// \author Aaron Shelley
///
/// \date March 9, 2019
///
class DialogComponents : public QDialog
{
Q_... | 16.65625 | 70 | 0.652908 |
a802108a2acfa3556acaaeaf8523050aede59fac | 105 | rs | Rust | src/os/unix.rs | stevebob/glutin | cff7a88d051c972e2b78957443bef5e45149c18a | [
"Apache-2.0"
] | 1 | 2017-03-18T18:10:16.000Z | 2017-03-18T18:10:16.000Z | src/os/unix.rs | sumproxy/glutin | 29588dee24c606e6e42e2455199258462853743b | [
"Apache-2.0"
] | null | null | null | src/os/unix.rs | sumproxy/glutin | 29588dee24c606e6e42e2455199258462853743b | [
"Apache-2.0"
] | 1 | 2017-07-07T04:06:40.000Z | 2017-07-07T04:06:40.000Z | #![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd"))]
| 52.5 | 104 | 0.666667 |
8115d57d90daacf9fc1d500e3da203b83ada5036 | 2,618 | rs | Rust | jetsocat/src/jmux/id.rs | Devolutions/devolutions-gateway | 80d83f7a07cd7a695f1f5ec30968efd59161b513 | [
"Apache-2.0",
"MIT"
] | 18 | 2021-01-16T21:13:04.000Z | 2022-03-23T21:54:06.000Z | jetsocat/src/jmux/id.rs | Devolutions/devolutions-gateway | 80d83f7a07cd7a695f1f5ec30968efd59161b513 | [
"Apache-2.0",
"MIT"
] | 19 | 2020-10-20T14:41:28.000Z | 2022-03-09T14:58:12.000Z | jetsocat/src/jmux/id.rs | Devolutions/devolutions-gateway | 80d83f7a07cd7a695f1f5ec30968efd59161b513 | [
"Apache-2.0",
"MIT"
] | null | null | null | use bitvec::prelude::*;
use std::convert::TryFrom;
pub trait Id: Copy + From<u32> + Into<u32> {}
/// Distant identifier for a channel
#[derive(Debug, PartialEq, Eq, Clone, Copy, Hash)]
pub struct DistantChannelId(u32);
impl From<u32> for DistantChannelId {
fn from(v: u32) -> Self {
Self(v)
}
}
impl ... | 25.417476 | 132 | 0.55424 |
019a58bc295bb93bc74b990e855f75c7f43b4345 | 557 | asm | Assembly | oeis/002/A002450.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/002/A002450.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/002/A002450.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A002450: a(n) = (4^n - 1)/3.
; 0,1,5,21,85,341,1365,5461,21845,87381,349525,1398101,5592405,22369621,89478485,357913941,1431655765,5726623061,22906492245,91625968981,366503875925,1466015503701,5864062014805,23456248059221,93824992236885,375299968947541,1501199875790165,6004799503160661,24019198012642645,9607679205057... | 69.625 | 486 | 0.859964 |
88fc28ba0ceb436e8c1d046f2740b961fabd7334 | 1,947 | swift | Swift | Stocks/Activities/Search/SearchTextView.swift | Power186/StockViewer | 98df2742e286c30761034f32ac7b44cec39abd7a | [
"MIT"
] | null | null | null | Stocks/Activities/Search/SearchTextView.swift | Power186/StockViewer | 98df2742e286c30761034f32ac7b44cec39abd7a | [
"MIT"
] | null | null | null | Stocks/Activities/Search/SearchTextView.swift | Power186/StockViewer | 98df2742e286c30761034f32ac7b44cec39abd7a | [
"MIT"
] | null | null | null | //
// SearchTextView.swift
// Stocks
//
// Created by Scott on 3/4/21.
//
import SwiftUI
struct SearchTextView: View {
@Binding var searchTerm: String
@Binding var isSearching: Bool
var body: some View {
HStack {
HStack {
Image(systemName: "magnifyingglass")
... | 30.421875 | 126 | 0.45095 |
d2428246b978f430ec0c23e29fd5a8d84da1b0fe | 4,719 | php | PHP | app/Http/Controllers/Order/AssignDeliveryController.php | sdbappi69/ipost-local | a6e4b9ff803a5366ad8373135c438042dd2b24d0 | [
"MIT"
] | null | null | null | app/Http/Controllers/Order/AssignDeliveryController.php | sdbappi69/ipost-local | a6e4b9ff803a5366ad8373135c438042dd2b24d0 | [
"MIT"
] | null | null | null | app/Http/Controllers/Order/AssignDeliveryController.php | sdbappi69/ipost-local | a6e4b9ff803a5366ad8373135c438042dd2b24d0 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Order;
use Illuminate\Http\Request;
use App\Http\Traits\LogsTrait;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\SubOrder;
use App\Trip;
use App\SuborderTrip;
use App\Order;
use App\User;
use Session;
use Redirect;
use Validator;
class AssignDeliveryContro... | 30.642857 | 278 | 0.592287 |
476fe43eb395709b065005db07fd4110b78a5e81 | 1,198 | html | HTML | templates/components/emthemes-modez/banners/half.html | cbkyro/fullcolorcoroplast | a06f347a5368c3b93ddb84640bce0ed300cc768c | [
"Unlicense",
"MIT"
] | null | null | null | templates/components/emthemes-modez/banners/half.html | cbkyro/fullcolorcoroplast | a06f347a5368c3b93ddb84640bce0ed300cc768c | [
"Unlicense",
"MIT"
] | null | null | null | templates/components/emthemes-modez/banners/half.html | cbkyro/fullcolorcoroplast | a06f347a5368c3b93ddb84640bce0ed300cc768c | [
"Unlicense",
"MIT"
] | null | null | null | <div class="emthemesModez-bannersContainer
emthemesModez-bannersContainer--half
emthemesModez-bannersContainer--half-{{index}}
{{#if style}}emthemesModez-bannersContainer--half-{{style}}{{/if}}">
{{> components/emthemes-modez/banners/banner
url=(lang (concat (concat "emthemesmodez.banners.half_" index) ... | 47.92 | 87 | 0.72788 |
75a17be4af7dd0e90c68932490a55e85fc4fe4f5 | 7,000 | rs | Rust | src/smtp.rs | ivd-git/rust-smtp-server | c1ecab3e21135abe247d0c8965e6f70c415c4dc6 | [
"MIT"
] | 10 | 2020-04-04T13:49:58.000Z | 2022-03-29T14:56:30.000Z | projects/02-client-server/solution/smtp-server/src/smtp.rs | qaware/rust-hands-on | b769431af66af4f1df15b763e68c8325d2f9799f | [
"MIT"
] | 1 | 2020-08-20T01:19:12.000Z | 2020-08-20T01:19:12.000Z | projects/02-client-server/solution/smtp-server/src/smtp.rs | qaware/rust-hands-on | b769431af66af4f1df15b763e68c8325d2f9799f | [
"MIT"
] | 3 | 2020-01-25T18:52:07.000Z | 2021-07-07T14:32:27.000Z | use std::io::{BufRead, Error, Write};
// Client commands
const HELO_START: &str = "HELO ";
const MAIL_START: &str = "MAIL FROM:";
const RCPT_START: &str = "RCPT TO:";
const DATA_LINE: &str = "DATA";
const QUIT_LINE: &str = "QUIT";
// Server responses
const MSG_READY: &str = "220 ready";
const MSG_OK: &str = "250 OK";... | 29.661017 | 95 | 0.464571 |
3e76f28f8d32e2d1e997a68035a823c9587f182e | 1,751 | h | C | Pods/MEFoundation/MEFoundation/NSArray+MEExtensions.h | manisha02/MERThumbnailKit | 3312eb2de25dd651637b26b6d06770db819f2771 | [
"MIT"
] | 6 | 2015-02-24T07:07:06.000Z | 2018-04-19T07:56:12.000Z | Pods/MEFoundation/MEFoundation/NSArray+MEExtensions.h | TeamMaestro/MERTwitterKit | 7626600b168f50c77c66e494c4734f889c5a03a2 | [
"MIT"
] | null | null | null | Pods/MEFoundation/MEFoundation/NSArray+MEExtensions.h | TeamMaestro/MERTwitterKit | 7626600b168f50c77c66e494c4734f889c5a03a2 | [
"MIT"
] | 2 | 2016-04-26T16:19:51.000Z | 2020-12-02T09:26:17.000Z | //
// NSArray+MEExtensions.h
// MEFoundation
//
// Created by Joshua Kovach on 4/19/12.
// Copyright (c) 2013 Maestro, LLC. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the So... | 43.775 | 464 | 0.762993 |
d25f8319e09d1d8dc7f796778a7714af53140735 | 682 | php | PHP | tests/R2L/LocaleFileProcessorTest.php | matancohen365/R2L | 5a6ff46a26080d6e96da41614bab12f6f0214987 | [
"MIT"
] | null | null | null | tests/R2L/LocaleFileProcessorTest.php | matancohen365/R2L | 5a6ff46a26080d6e96da41614bab12f6f0214987 | [
"MIT"
] | null | null | null | tests/R2L/LocaleFileProcessorTest.php | matancohen365/R2L | 5a6ff46a26080d6e96da41614bab12f6f0214987 | [
"MIT"
] | null | null | null | <?php
namespace Tests\R2L;
use R2L\LocaleFileProcessor;
use R2L\ProcessorInterface;
/**
* Class LocaleFileProcessorTest
*
* @package R2L
*/
class LocaleFileProcessorTest extends AbstractProcessorTest
{
static public function getProcessor(): ProcessorInterface
{
return new LocaleFileProcessor(
... | 22 | 84 | 0.670088 |
018ef10fb5e97367a9c1550aa6b74860b7bcb33e | 572 | kt | Kotlin | favorite/src/test/java/com/ridhoafni/favorite/FakeData.kt | ridhoafnidev/codeinmoviedb | 1d22e7b85ce47a4bc034b8cf5e0760b18e44b4f9 | [
"Apache-2.0"
] | 1 | 2021-10-19T23:48:36.000Z | 2021-10-19T23:48:36.000Z | favorite/src/test/java/com/ridhoafni/favorite/FakeData.kt | ridhoafnidev/codeinmoviedb | 1d22e7b85ce47a4bc034b8cf5e0760b18e44b4f9 | [
"Apache-2.0"
] | null | null | null | favorite/src/test/java/com/ridhoafni/favorite/FakeData.kt | ridhoafnidev/codeinmoviedb | 1d22e7b85ce47a4bc034b8cf5e0760b18e44b4f9 | [
"Apache-2.0"
] | null | null | null | package com.ridhoafni.favorite
import com.ridhoafni.core.domain.model.Movie
object FakeData {
fun dummyMovie(): List<Movie> =
listOf(
Movie(
464052,
"Wonder Woman 1984",
"Wonder Woman comes into conflict with the Soviet Union during the Cold War ... | 28.6 | 161 | 0.524476 |
5faa9efc71dd9ab9ab8e5ba8cb7a8684af52882b | 228 | kt | Kotlin | teapot/src/main/java/dev/teapot/contract/coroutines.kt | sgrekov/Teapot | 01724b845aacf0ec0085b47906ceb4041f74b6d9 | [
"Apache-2.0"
] | 21 | 2019-12-24T16:18:05.000Z | 2022-03-22T09:49:10.000Z | teapot/src/main/java/dev/teapot/contract/coroutines.kt | FactoryMarketRetailGmbH/RxElm | 01724b845aacf0ec0085b47906ceb4041f74b6d9 | [
"Apache-2.0"
] | 1 | 2020-02-10T12:33:10.000Z | 2020-02-10T15:15:49.000Z | teapot/src/main/java/dev/teapot/contract/coroutines.kt | FactoryMarketRetailGmbH/RxElm | 01724b845aacf0ec0085b47906ceb4041f74b6d9 | [
"Apache-2.0"
] | 1 | 2019-04-16T20:14:54.000Z | 2019-04-16T20:14:54.000Z | package dev.teapot.contract
import dev.teapot.cmd.Cmd
import dev.teapot.msg.Msg
interface CoroutineFeature<S : State> : Upd<S>, CoroutinesEffectHandler
interface CoroutinesEffectHandler {
suspend fun call(cmd: Cmd): Msg
} | 22.8 | 71 | 0.785088 |
9970b64feea8dfa0740f80eaa6f4f4b5e735d786 | 3,891 | c | C | src/derp.c | Tyler314/led_matrix | 76a78d5117c56126e9f2a898674ac9be90f060e4 | [
"MIT"
] | 3 | 2017-09-18T21:30:51.000Z | 2019-03-11T12:31:26.000Z | src/derp.c | elektrobil/led_matrix | 76a78d5117c56126e9f2a898674ac9be90f060e4 | [
"MIT"
] | 24 | 2017-09-18T17:22:52.000Z | 2018-03-17T19:34:16.000Z | src/derp.c | elektrobil/led_matrix | 76a78d5117c56126e9f2a898674ac9be90f060e4 | [
"MIT"
] | 1 | 2018-10-20T15:01:18.000Z | 2018-10-20T15:01:18.000Z | #include "py/nlr.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/binary.h"
#include "portmodules.h"
#include <stdio.h>
#include <led.h>
// CLASS BEGIN
// Define variable and function prototypes
const mp_obj_type_t derp_myLEDs_type;
mp_obj_t derp_myLEDs_make_new(const mp_obj_type_t *type, size_t n_args, si... | 33.543103 | 107 | 0.682087 |
7473c12891c117e52aa5eef4bedeaf1e3089b7ee | 61 | rs | Rust | benchmarks/src/lib.rs | hashmismatch/fast-async-mutex | 8ce212f214bc54362922f5e6fe47f96b2055d69c | [
"Apache-2.0",
"MIT"
] | 5 | 2020-09-09T07:43:52.000Z | 2022-02-13T02:47:12.000Z | benchmarks/src/lib.rs | hashmismatch/fast-async-mutex | 8ce212f214bc54362922f5e6fe47f96b2055d69c | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-06T08:49:55.000Z | 2020-12-06T12:33:19.000Z | benchmarks/src/lib.rs | Mnwa/fast-async-mutex | 8ce212f214bc54362922f5e6fe47f96b2055d69c | [
"Apache-2.0",
"MIT"
] | null | null | null | #![feature(test)]
extern crate test;
mod mutex;
mod rwlock;
| 10.166667 | 18 | 0.704918 |
13506758cd042f796bc510a12af34be289884121 | 2,269 | h | C | RPGPrototype/Source/RPGPrototype/Attribute/PlayerAttributeSet.h | JiaqiJin/RPGPrototype_ue4 | e328798e880089841c0bfea1e25abee045dbf447 | [
"MIT"
] | 1 | 2022-01-07T11:48:03.000Z | 2022-01-07T11:48:03.000Z | RPGPrototype/Source/RPGPrototype/Attribute/PlayerAttributeSet.h | JiaqiJin/RPGPrototype_ue4 | e328798e880089841c0bfea1e25abee045dbf447 | [
"MIT"
] | null | null | null | RPGPrototype/Source/RPGPrototype/Attribute/PlayerAttributeSet.h | JiaqiJin/RPGPrototype_ue4 | e328798e880089841c0bfea1e25abee045dbf447 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "AttributeSet.h"
#include "AbilitySystemComponent.h"
#include "PlayerAttributeSet.generated.h"
// Uses macros from AttributeSet.h
// Automatically generate getter and setter functions for you... | 33.367647 | 96 | 0.825914 |
2949039ba9aeabb97d980604a6dc086f0c72b4fd | 179 | sql | SQL | postgresql/sql/fetched_rows_ratio.sql | NikolayS/uber-scripts | 6487352c254dbcf83d0b181cb460b56610eb8a71 | [
"MIT"
] | 110 | 2015-01-11T02:29:42.000Z | 2022-03-25T15:01:14.000Z | postgresql/sql/fetched_rows_ratio.sql | gsefanof/uber-scripts | 0d594df3b0dda76d63f2268b4d411cf72a799bf2 | [
"MIT"
] | 1 | 2015-01-29T09:12:03.000Z | 2015-02-26T15:51:01.000Z | postgresql/sql/fetched_rows_ratio.sql | gsefanof/uber-scripts | 0d594df3b0dda76d63f2268b4d411cf72a799bf2 | [
"MIT"
] | 49 | 2015-06-09T12:38:20.000Z | 2022-03-29T18:41:56.000Z | -- show fetched rows ratio, values closer to 100 are better.
SELECT
round(100 * sum(tup_fetched) / sum(tup_fetched + tup_returned), 3) as fetched_ratio
FROM pg_stat_database;
| 35.8 | 87 | 0.759777 |
ddc6384c5b9bafb884f17fb39ec398452afa2a87 | 19,412 | php | PHP | resources/views/home.blade.php | mcmuchenje/foodzw | dcfa5b42bcfdcb42c3f1ad973def2e47816d6fe0 | [
"MIT"
] | null | null | null | resources/views/home.blade.php | mcmuchenje/foodzw | dcfa5b42bcfdcb42c3f1ad973def2e47816d6fe0 | [
"MIT"
] | null | null | null | resources/views/home.blade.php | mcmuchenje/foodzw | dcfa5b42bcfdcb42c3f1ad973def2e47816d6fe0 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="keywords" content="">
<title>SaaS 2 — TheSaaS Sample Demo Landing Page</title>
<!-- Styles --... | 40.107438 | 443 | 0.498867 |
1234e8580c02c9e15af092887e135594e05a8914 | 17,515 | c | C | llvm/tools/clang/test/OpenMP/atomic_messages.c | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 171 | 2018-09-17T13:15:12.000Z | 2022-03-18T03:47:04.000Z | llvm/tools/clang/test/OpenMP/atomic_messages.c | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 51 | 2019-10-23T11:55:08.000Z | 2021-12-21T06:32:11.000Z | llvm/tools/clang/test/OpenMP/atomic_messages.c | NoamDev/TON-Compiler | f76aa2084c7f09a228afef4a6e073c37b350c8f3 | [
"Apache-2.0"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s
// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 %s
int foo() {
L1:
foo();
#pragma omp atomic
// expected-error@+2 {{the statement for 'atomic' must be an expression statement of form '++x;', '--x;', 'x++;', 'x--;', 'x binop= expr;', 'x = x binop ... | 46.831551 | 481 | 0.603711 |
5bdd38874ddb2d3a7f8ea2cd2b1d97f1ada06725 | 242 | h | C | BuDeJie/Macro/LFColor.h | liufeng-working/BuDeJie | 5cf8bace71b072e5080043a09d2a93fca2c37339 | [
"MIT"
] | null | null | null | BuDeJie/Macro/LFColor.h | liufeng-working/BuDeJie | 5cf8bace71b072e5080043a09d2a93fca2c37339 | [
"MIT"
] | null | null | null | BuDeJie/Macro/LFColor.h | liufeng-working/BuDeJie | 5cf8bace71b072e5080043a09d2a93fca2c37339 | [
"MIT"
] | null | null | null | //
// LFColor.h
//
// Created by 刘丰 on 2017/5/26.
// Copyright © 2017年 liufeng. All rights reserved.
//
#ifndef LFColor_h
#define LFColor_h
#define lf_refreshFontColor [UIColor colorWithHexString:@"#989898"]//灰色
#endif /* LFColor_h */
| 16.133333 | 71 | 0.694215 |
f0500ba9ffaf2976d54c15fd029a5d3028d83775 | 5,147 | kt | Kotlin | src/test/kotlin/com/github/gimme/perfi/commands/MortgageCommandTest.kt | Gimme/perfi-bot | d8411120522654418c9f334c682b5ff335aecb16 | [
"MIT"
] | null | null | null | src/test/kotlin/com/github/gimme/perfi/commands/MortgageCommandTest.kt | Gimme/perfi-bot | d8411120522654418c9f334c682b5ff335aecb16 | [
"MIT"
] | null | null | null | src/test/kotlin/com/github/gimme/perfi/commands/MortgageCommandTest.kt | Gimme/perfi-bot | d8411120522654418c9f334c682b5ff335aecb16 | [
"MIT"
] | null | null | null | package com.github.gimme.perfi.commands
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.MethodSource
import java.util.stream.Stream
class MortgageCommandTest {
private val command = M... | 40.527559 | 134 | 0.595298 |
c674a9c77608f7568bbb8dc485e4bc3273ebc65e | 70 | rb | Ruby | lib/pg_nice_cluster.rb | adjust/pg_nice_cluster | e5b3cf40cf47e50047ce2b46a2f7787e498a0c1b | [
"MIT"
] | null | null | null | lib/pg_nice_cluster.rb | adjust/pg_nice_cluster | e5b3cf40cf47e50047ce2b46a2f7787e498a0c1b | [
"MIT"
] | null | null | null | lib/pg_nice_cluster.rb | adjust/pg_nice_cluster | e5b3cf40cf47e50047ce2b46a2f7787e498a0c1b | [
"MIT"
] | 1 | 2021-11-01T10:40:44.000Z | 2021-11-01T10:40:44.000Z | require "pg_nice_cluster/version"
require 'pg_nice_cluster/optimizer'
| 23.333333 | 35 | 0.857143 |
b64de0fc44e9aedbd2e37adce4f14c9abe67fd16 | 45 | rb | Ruby | app/formatters/credit_agreement/valid_from_formatter.rb | tamaloa/kavau | 15d0487043177c88a0c89612a09579fd020ab1cc | [
"MIT"
] | 3 | 2016-04-28T09:08:58.000Z | 2017-03-10T18:56:56.000Z | app/formatters/credit_agreement/valid_from_formatter.rb | CollegiumAcademicum/kavau | 5cb48749573f48f3adc36983b29874ccfeadad52 | [
"MIT"
] | 9 | 2016-06-07T09:56:10.000Z | 2022-03-30T23:04:17.000Z | app/formatters/credit_agreement/valid_from_formatter.rb | CollegiumAcademicum/kavau | 5cb48749573f48f3adc36983b29874ccfeadad52 | [
"MIT"
] | 5 | 2016-02-22T12:29:52.000Z | 2019-09-15T11:37:25.000Z | class ValidFromFormatter < DateFormatter
end
| 15 | 40 | 0.866667 |
664d5fa13920377a87861abdf6b5e594adca3306 | 738 | sql | SQL | t_station_img.sql | zjyww/admin-demo | 26088714fb2270f8bd115f42b96d16629bcdc5ae | [
"Apache-2.0"
] | null | null | null | t_station_img.sql | zjyww/admin-demo | 26088714fb2270f8bd115f42b96d16629bcdc5ae | [
"Apache-2.0"
] | null | null | null | t_station_img.sql | zjyww/admin-demo | 26088714fb2270f8bd115f42b96d16629bcdc5ae | [
"Apache-2.0"
] | null | null | null | /*
Navicat MySQL Data Transfer
Source Server : local
Source Server Version : 50624
Source Host : localhost:3306
Source Database : bz
Target Server Type : MYSQL
Target Server Version : 50624
File Encoding : 65001
Date: 2016-07-21 20:53:23
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------... | 24.6 | 50 | 0.639566 |
5f9ee3b16e3a498d99c9e578ffe583abbb71621f | 1,738 | css | CSS | www/css/photoGridS.css | yebeman/NetworkingSite | 083e8414d47aaa345f3a1cf2601712c64a0ee905 | [
"BSD-2-Clause"
] | null | null | null | www/css/photoGridS.css | yebeman/NetworkingSite | 083e8414d47aaa345f3a1cf2601712c64a0ee905 | [
"BSD-2-Clause"
] | null | null | null | www/css/photoGridS.css | yebeman/NetworkingSite | 083e8414d47aaa345f3a1cf2601712c64a0ee905 | [
"BSD-2-Clause"
] | null | null | null | ul.parrent {
position: relative;
padding: 0;
list-style: none;
margin: 20px auto 0;
width: 890px;
}
ul.parrent li {
float: left;
margin: 0px 5px 10px 5px;
border: 1px double #ddd;
background-color: #eee;
}
ul.parrent li img {
width: 200px;
height: 150px;
cursor: pointer;
}
ul.parrent li a ... | 19.75 | 51 | 0.652474 |
f0866351e30dfe6a21fbdfc5f89a89cc786a5615 | 172 | js | JavaScript | Famcy/static/js/line_chart.js | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | Famcy/static/js/line_chart.js | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | 12 | 2022-02-05T04:56:44.000Z | 2022-03-30T09:59:26.000Z | Famcy/static/js/line_chart.js | nexuni/Famcy | 80f8f18fe1614ab3c203ca3466b9506b494470bf | [
"Apache-2.0"
] | null | null | null | function generateLineChart(ident, data_list, title) {
var data = data_list;
var layout = {
title: title
};
Plotly.newPlot(ident.toString(), data, layout);
} | 15.636364 | 53 | 0.668605 |
2025672a9f2ce120c4c506aef765f2f20ca326aa | 232 | css | CSS | web/app/themes/sage/resources/style.css | DiachukRoma/stand-with-ukraine | 2e1029eb377ae4c37a3383a7c45cacdcc165c3e2 | [
"MIT"
] | 1 | 2022-03-15T10:31:18.000Z | 2022-03-15T10:31:18.000Z | web/app/themes/sage/resources/style.css | DiachukRoma/stand-with-ukraine | 2e1029eb377ae4c37a3383a7c45cacdcc165c3e2 | [
"MIT"
] | null | null | null | web/app/themes/sage/resources/style.css | DiachukRoma/stand-with-ukraine | 2e1029eb377ae4c37a3383a7c45cacdcc165c3e2 | [
"MIT"
] | null | null | null | /*
Theme Name: Stand With Ukraine
Theme URI: #
Description: created special by Stand With Ukraine
Version: 1.0.0
Author: Diachuk R.M.
Author URI: #
Text Domain: sage
*/
| 23.2 | 58 | 0.534483 |
0ebd5746f1c98147e1573c2e2e4df088a7741ff9 | 3,042 | tsx | TypeScript | coffee-chats/src/main/webapp/src/components/NavBar.tsx | googleinterns/step250-2020 | 055b00a2596d084564f9fd48a12946075b6d273a | [
"Apache-2.0"
] | 3 | 2020-07-13T09:19:43.000Z | 2020-08-10T12:01:55.000Z | coffee-chats/src/main/webapp/src/components/NavBar.tsx | googleinterns/step250-2020 | 055b00a2596d084564f9fd48a12946075b6d273a | [
"Apache-2.0"
] | 6 | 2020-08-11T16:03:58.000Z | 2022-02-13T19:33:38.000Z | coffee-chats/src/main/webapp/src/components/NavBar.tsx | googleinterns/step250-2020 | 055b00a2596d084564f9fd48a12946075b6d273a | [
"Apache-2.0"
] | null | null | null | import React from "react";
import {AppBar, Grid, Icon, IconButton, List, SwipeableDrawer, Toolbar, Tooltip} from "@material-ui/core";
import {ListItemLink} from "./LinkComponents";
import {AuthState, AuthStateContext} from "../entity/AuthState";
interface NavBarButtonsProps {
onDrawerOpen: () => void;
openOAuthDi... | 30.118812 | 106 | 0.538133 |
76bccad1506df230f020aae79bbe6761938fe6dd | 3,352 | swift | Swift | CollageMaker/Controllers/MyAlbumVC.swift | JoaoFloresDev/iPhotosEditor | 3ff03395aa6125bc2b22707c22ab2b26abccdd8e | [
"MIT"
] | null | null | null | CollageMaker/Controllers/MyAlbumVC.swift | JoaoFloresDev/iPhotosEditor | 3ff03395aa6125bc2b22707c22ab2b26abccdd8e | [
"MIT"
] | null | null | null | CollageMaker/Controllers/MyAlbumVC.swift | JoaoFloresDev/iPhotosEditor | 3ff03395aa6125bc2b22707c22ab2b26abccdd8e | [
"MIT"
] | null | null | null | //
// MyAlbumVC.swift
// Photo Collage Maker
//
// Created by Grapes Infosoft on 14/09/19.
// Copyright © 2019 Grapes Infosoft. All rights reserved.
//
import UIKit
class MyAlbumVC: UIViewController,UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout
{
var arrOfAlbumList... | 36.043011 | 160 | 0.622912 |
d5deae370ff2776ef7135b9a63949f0abf19b628 | 726 | swift | Swift | Take&Food/MockupData/MockupData.swift | trotnic/takeandfood-client | ec95e666bfa45ffe019beaa26e5db97e45a7bb14 | [
"MIT"
] | null | null | null | Take&Food/MockupData/MockupData.swift | trotnic/takeandfood-client | ec95e666bfa45ffe019beaa26e5db97e45a7bb14 | [
"MIT"
] | null | null | null | Take&Food/MockupData/MockupData.swift | trotnic/takeandfood-client | ec95e666bfa45ffe019beaa26e5db97e45a7bb14 | [
"MIT"
] | null | null | null | //
// MockupData.swift
// Take&Food
//
// Created by Vladislav on 5/16/20.
// Copyright © 2020 Uladzislau Volchyk. All rights reserved.
//
import Foundation
struct MockupData {
static let user = Person(id: 25,
name: "vladislav",
login: "trotnic",
... | 26.888889 | 61 | 0.421488 |
f049567139fa9099114292306643318b4bde923b | 323 | js | JavaScript | resources/assets/js/app.js | divtag-nl/RFID-stock | 656d96a7d49b61595f24ee14794d8aae5ca4a280 | [
"MIT"
] | null | null | null | resources/assets/js/app.js | divtag-nl/RFID-stock | 656d96a7d49b61595f24ee14794d8aae5ca4a280 | [
"MIT"
] | 9 | 2019-12-29T10:34:27.000Z | 2022-02-26T14:32:10.000Z | resources/assets/js/app.js | divtag-nl/RFID-stock | 656d96a7d49b61595f24ee14794d8aae5ca4a280 | [
"MIT"
] | 2 | 2018-09-28T07:44:40.000Z | 2018-09-28T07:45:20.000Z | import './bootstrap';
import Vue from 'vue';
import routes from './routes';
import VueRouter from 'vue-router';
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js', { scope: '/' });
};
Vue.use(VueRouter);
let router = new VueRouter({
routes,
});
new Vue({
router,
}).$mount('#app'... | 17 | 62 | 0.643963 |
7db5475fa481328e57209078ca407df401b805ff | 6,206 | kt | Kotlin | meshui/src/main/java/io/particle/mesh/ui/BaseFlowActivity.kt | Faustasm/particle-android | 0f51f3dbbb5084a0a2c821f6d23e5c245fafdb66 | [
"Apache-2.0"
] | 16 | 2015-09-28T20:05:24.000Z | 2017-08-05T09:07:16.000Z | meshui/src/main/java/io/particle/mesh/ui/BaseFlowActivity.kt | Faustasm/particle-android | 0f51f3dbbb5084a0a2c821f6d23e5c245fafdb66 | [
"Apache-2.0"
] | 44 | 2019-02-14T12:25:38.000Z | 2022-01-25T15:29:23.000Z | meshui/src/main/java/io/particle/mesh/ui/BaseFlowActivity.kt | Faustasm/particle-android | 0f51f3dbbb5084a0a2c821f6d23e5c245fafdb66 | [
"Apache-2.0"
] | 30 | 2019-03-10T01:23:12.000Z | 2022-02-24T09:42:45.000Z | package io.particle.mesh.ui
import android.app.Activity
import android.bluetooth.BluetoothAdapter
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.annotation.IdRes
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.core.vi... | 32.663158 | 97 | 0.665807 |
9bca6fc6b34fe7139ebeff64f4c043c75ffaa21d | 5,630 | js | JavaScript | test/gridTest.js | BillMills/datapages | a995f9934a36bb058bfc650e8c2f3a1448eeac01 | [
"MIT"
] | 2 | 2017-10-04T20:41:03.000Z | 2018-08-16T22:44:34.000Z | test/gridTest.js | BillMills/datapages | a995f9934a36bb058bfc650e8c2f3a1448eeac01 | [
"MIT"
] | 2 | 2019-09-18T23:23:32.000Z | 2019-11-30T03:11:38.000Z | test/gridTest.js | BillMills/datapages | a995f9934a36bb058bfc650e8c2f3a1448eeac01 | [
"MIT"
] | null | null | null | process.env.NODE_ENV = 'test';
var chai = require('chai');
var assert = chai.assert;
let chaiHttp = require('chai-http');
let app = require('../app');
let should = chai.should();
var moment = require('moment');
chai.use(chaiHttp);
/* Test rgGrid */
describe('/GET get a RG temp anom object', function() {
this.time... | 40.503597 | 154 | 0.577087 |
0ca19eadb115712fb3c48ed0a589480fef063fda | 27,687 | py | Python | tests/test_home.py | jeroenterheerdt/nexia | 93ff554913e1dad6389b54179eca7c4ec1f29371 | [
"Apache-2.0"
] | null | null | null | tests/test_home.py | jeroenterheerdt/nexia | 93ff554913e1dad6389b54179eca7c4ec1f29371 | [
"Apache-2.0"
] | null | null | null | tests/test_home.py | jeroenterheerdt/nexia | 93ff554913e1dad6389b54179eca7c4ec1f29371 | [
"Apache-2.0"
] | null | null | null | """Tests for Nexia Home."""
import json
import os
from os.path import dirname
import unittest
import pytest
from nexia.home import NexiaHome
def load_fixture(filename):
"""Load a fixture."""
test_dir = dirname(__file__)
path = os.path.join(test_dir, "fixtures", filename)
with open(path) as fptr:
... | 44.946429 | 86 | 0.674757 |
b8f3c2775397757272bb30120cb8068f6a5d0220 | 2,670 | rs | Rust | tests/program_tests.rs | qtumproject/rust-qx86 | eeffcd460cabb9c33e71757528b9348fa08190fa | [
"MIT"
] | null | null | null | tests/program_tests.rs | qtumproject/rust-qx86 | eeffcd460cabb9c33e71757528b9348fa08190fa | [
"MIT"
] | null | null | null | tests/program_tests.rs | qtumproject/rust-qx86 | eeffcd460cabb9c33e71757528b9348fa08190fa | [
"MIT"
] | null | null | null | extern crate qx86;
mod common;
use qx86::vm::*;
use common::*;
#[test]
pub fn fibonacci(){
let mut hv = TestHypervisor::default();
hv.pushed_values.push(10);
hv.pushed_values.push(1);
hv.pushed_values.push(0);
hv.pushed_values.push(2);
//based on https://rosettacode.org/wiki/Category:8080_Ass... | 23.421053 | 66 | 0.567041 |
538e832d1773733eec6d82069cca5012b70dd0d7 | 378 | kt | Kotlin | app/src/main/kotlin/com/github/muneebwanee/dash/ui/fragments/social/InterfaceViewSocial.kt | Yassakesbi/Dash | 1fa68abddacedc7866cc09c6908f885fc9bf0281 | [
"Apache-2.0"
] | 81 | 2020-12-15T17:24:25.000Z | 2022-03-27T16:43:19.000Z | app/src/main/kotlin/com/github/muneebwanee/dash/ui/fragments/social/InterfaceViewSocial.kt | Yassakesbi/Dash | 1fa68abddacedc7866cc09c6908f885fc9bf0281 | [
"Apache-2.0"
] | 10 | 2020-12-31T03:48:04.000Z | 2022-03-24T17:03:45.000Z | app/src/main/kotlin/com/github/muneebwanee/dash/ui/fragments/social/InterfaceViewSocial.kt | Yassakesbi/Dash | 1fa68abddacedc7866cc09c6908f885fc9bf0281 | [
"Apache-2.0"
] | 37 | 2020-12-18T09:51:00.000Z | 2022-03-24T20:46:53.000Z | package com.github.muneebwanee.dash.ui.fragments.social
import com.github.muneebwanee.dash.ui.activities.base.InterfaceView
import com.google.firebase.database.DataSnapshot
/**
* Created by muneebwanee on 15/12/20.
*/
interface InterfaceViewSocial : InterfaceView {
fun setValuePermission(dataSnapshot: DataSnap... | 27 | 67 | 0.804233 |
07feda6f61921039d75e6463db9c9448f566517c | 2,731 | h | C | src/test/dtimepnt.h | msperl/Period | da4b4364e8228852cc2b82639470dab0b3579055 | [
"MIT"
] | 1 | 2019-12-10T20:13:11.000Z | 2019-12-10T20:13:11.000Z | src/test/dtimepnt.h | msperl/Period | da4b4364e8228852cc2b82639470dab0b3579055 | [
"MIT"
] | null | null | null | src/test/dtimepnt.h | msperl/Period | da4b4364e8228852cc2b82639470dab0b3579055 | [
"MIT"
] | null | null | null | /*
* Program: Period98
*
* File: dtimepnt.h
* Purpose: header-file for
* time-string-data-point
* Author: Martin Sperl
* Created: 1996
* Copyright: (c) 1996-1998, Martin Sperl
*/
#ifndef __timepnt_h__
#define __timepnt_h__
#include <iostream.h>
#include <math.h>
///
cl... | 27.867347 | 70 | 0.685097 |
b167832a7470737f744879383aac82323a408045 | 2,354 | h | C | src/lifecycle_msgs/msg/detail/state__struct.h | kajMork/micro_ros_arduino | c7531a5d87e5a42a94879c936f3e25508869cab9 | [
"Apache-2.0"
] | 178 | 2020-10-28T17:42:00.000Z | 2022-03-27T16:14:15.000Z | src/lifecycle_msgs/msg/detail/state__struct.h | kajMork/micro_ros_arduino | c7531a5d87e5a42a94879c936f3e25508869cab9 | [
"Apache-2.0"
] | 176 | 2020-10-23T12:26:12.000Z | 2022-03-31T19:08:11.000Z | src/lifecycle_msgs/msg/detail/state__struct.h | kajMork/micro_ros_arduino | c7531a5d87e5a42a94879c936f3e25508869cab9 | [
"Apache-2.0"
] | 54 | 2020-11-03T06:25:59.000Z | 2022-03-18T22:59:29.000Z | // generated from rosidl_generator_c/resource/idl__struct.h.em
// with input from lifecycle_msgs:msg/State.idl
// generated code does not contain a copyright notice
#ifndef LIFECYCLE_MSGS__MSG__DETAIL__STATE__STRUCT_H_
#define LIFECYCLE_MSGS__MSG__DETAIL__STATE__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#incl... | 21.017857 | 67 | 0.806287 |
11fdd6ab0d8175d6449110d75846f98bc8dc4cc4 | 3,680 | sql | SQL | sql/15_new_set_behavior.sql | cpaelzer/pgl_ddl_deploy | e26befafe554b9e26a7e23ee51c583aabb06c46e | [
"MIT"
] | 44 | 2017-08-01T03:56:57.000Z | 2022-03-21T12:16:43.000Z | sql/15_new_set_behavior.sql | cpaelzer/pgl_ddl_deploy | e26befafe554b9e26a7e23ee51c583aabb06c46e | [
"MIT"
] | 38 | 2017-08-01T00:11:11.000Z | 2021-08-19T04:31:28.000Z | sql/15_new_set_behavior.sql | cpaelzer/pgl_ddl_deploy | e26befafe554b9e26a7e23ee51c583aabb06c46e | [
"MIT"
] | 16 | 2017-08-03T14:55:29.000Z | 2022-01-17T01:20:01.000Z | SET client_min_messages = warning;
\set VERBOSITY terse
--This should fail due to overlapping tags
INSERT INTO pgl_ddl_deploy.set_configs (set_name, include_schema_regex, lock_safe_deployment, allow_multi_statements, include_only_repset_tables, create_tags, drop_tags)
SELECT 'test1', '.*', TRUE, TRUE, FALSE, '{"CREATE ... | 44.878049 | 169 | 0.796739 |
dd70aee6adff92943a38d0a573615b4c94186559 | 310 | php | PHP | src/test/resources/files/Metrics/Analyzer/MaintainabilityIndexAnalyzer/testAnalyzerRestoresExpectedMethodMetricsFromCache.php | hbaeumer/pdepend | e3a93d73ecda1b7fd5fb8114bc916a8000a1f751 | [
"BSD-3-Clause"
] | 731 | 2015-01-12T11:59:52.000Z | 2022-03-25T05:36:08.000Z | src/test/resources/files/Metrics/Analyzer/MaintainabilityIndexAnalyzer/testAnalyzerRestoresExpectedMethodMetricsFromCache.php | hbaeumer/pdepend | e3a93d73ecda1b7fd5fb8114bc916a8000a1f751 | [
"BSD-3-Clause"
] | 357 | 2015-01-07T14:23:08.000Z | 2022-02-26T23:39:55.000Z | src/test/resources/files/Metrics/Analyzer/MaintainabilityIndexAnalyzer/testAnalyzerRestoresExpectedMethodMetricsFromCache.php | hbaeumer/pdepend | e3a93d73ecda1b7fd5fb8114bc916a8000a1f751 | [
"BSD-3-Clause"
] | 125 | 2015-01-02T22:43:25.000Z | 2022-03-25T01:55:59.000Z | <?php
interface MIMethodInterface {
function pdepend1($x);
function pdepend2($x);
}
class MIMethodClass implements MIMethodInterface
{
function pdepend1($x)
{
$value = $x + 1;
return $value;
}
function pdepend2($x)
{
return $this->pdepend1( $x );
}
}
| 14.761905 | 48 | 0.577419 |
3e89db536d0666240b5ce09598a91d1ec75f82d5 | 83 | c | C | .vim/sourceCode/glibc-2.16.0/elf/ifuncmain2picstatic.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 47 | 2015-03-10T23:21:52.000Z | 2022-02-17T01:04:14.000Z | .vim/sourceCode/glibc-2.16.0/elf/ifuncmain2picstatic.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 1 | 2020-06-30T18:01:37.000Z | 2020-06-30T18:01:37.000Z | .vim/sourceCode/glibc-2.16.0/elf/ifuncmain2picstatic.c | lakehui/Vim_config | 6cab80dc1209b34bf6379f42b1a92790bd0c146b | [
"MIT"
] | 19 | 2015-02-25T19:50:05.000Z | 2021-10-05T14:35:54.000Z | /* Test STT_GNU_IFUNC symbols with -fPIC and -static. */
#include "ifuncmain2.c"
| 20.75 | 57 | 0.710843 |
61e45dc9a12d4cf74d840b8e02cac12951195553 | 1,492 | css | CSS | src/app/task/task.component.css | MyamotoMusashi/goals | a3b0fbc47be8cd9145eee7aa3c9dd5399559e672 | [
"MIT"
] | null | null | null | src/app/task/task.component.css | MyamotoMusashi/goals | a3b0fbc47be8cd9145eee7aa3c9dd5399559e672 | [
"MIT"
] | null | null | null | src/app/task/task.component.css | MyamotoMusashi/goals | a3b0fbc47be8cd9145eee7aa3c9dd5399559e672 | [
"MIT"
] | null | null | null | html,body{
height:100%;
font-size:11px;
}
.nav-menu{
list-style-type: none;
height:100%;
padding:0;
}
.nav-li{
border: 1px solid rgb(63, 72, 204);
}
.card-body{
padding:0;
}
#request{
border: 1px solid rgb(63, 72, 204);
color: white;
background-color: rgb(97, 97, 97);
}
#backButton, #editButton{
backgrou... | 13.688073 | 56 | 0.686327 |
dd7d53b7a5b6d897ea1cc6932901af854974c997 | 400 | sql | SQL | conf/evolutions/default/6.sql | prasetiady/order-transaction-api | 13fd8ca8c1d9667480a65fd4b48a520f586340d7 | [
"MIT"
] | null | null | null | conf/evolutions/default/6.sql | prasetiady/order-transaction-api | 13fd8ca8c1d9667480a65fd4b48a520f586340d7 | [
"MIT"
] | null | null | null | conf/evolutions/default/6.sql | prasetiady/order-transaction-api | 13fd8ca8c1d9667480a65fd4b48a520f586340d7 | [
"MIT"
] | null | null | null | # ShippingAddresses schema
# --- !Ups
CREATE TABLE ShippingAddresses (
id INT(11) NOT NULL AUTO_INCREMENT,
orderId INT(11) NOT NULL,
address VARCHAR(255) NOT NULL,
name VARCHAR(255) NOT NULL,
phoneNumber VARCHAR(255) NOT NULL,
email VARCHAR(255) NOT NULL,
PRIMARY KEY (id),
FOREIGN KEY (orderId) REFEREN... | 23.529412 | 63 | 0.7225 |
8578dada082a25b1ff3fee8412a36270d1d40c06 | 3,566 | js | JavaScript | node_modules/css-tree/lib/syntax/node/AttributeSelector.js | JintaoYang18/JintaoYang-LearningPython | 0d5671148bef583965bae7f2038f1fc2b6920b10 | [
"MIT"
] | 3 | 2016-09-05T05:38:15.000Z | 2016-09-07T10:56:53.000Z | node_modules/css-tree/lib/syntax/node/AttributeSelector.js | JintaoYang18/JintaoYang-LearningPython | 0d5671148bef583965bae7f2038f1fc2b6920b10 | [
"MIT"
] | 6 | 2021-12-01T20:31:27.000Z | 2022-02-25T06:17:00.000Z | node_modules/css-tree/lib/syntax/node/AttributeSelector.js | JintaoYang18/JintaoYang-LearningPython | 0d5671148bef583965bae7f2038f1fc2b6920b10 | [
"MIT"
] | 3 | 2022-01-20T09:05:27.000Z | 2022-02-26T20:01:36.000Z | import {
Ident,
String as StringToken,
Delim,
LeftSquareBracket,
RightSquareBracket
} from '../../tokenizer/index.js';
const DOLLARSIGN = 0x0024; // U+0024 DOLLAR SIGN ($)
const ASTERISK = 0x002A; // U+002A ASTERISK (*)
const EQUALSSIGN = 0x003D; // U+003D EQUALS SIGN (=)
const ... | 24.094595 | 87 | 0.535334 |
dd2659428be9ec4f3216053c47b38022eb1be569 | 10,816 | go | Go | writer.go | keakon/golog | 79d6ce5cf679092d038b5325fce1d8038cc1eace | [
"MIT"
] | 34 | 2018-11-22T15:39:24.000Z | 2021-12-28T08:51:48.000Z | writer.go | keakon/golog | 79d6ce5cf679092d038b5325fce1d8038cc1eace | [
"MIT"
] | 1 | 2018-11-25T01:53:52.000Z | 2018-11-26T02:54:03.000Z | writer.go | keakon/golog | 79d6ce5cf679092d038b5325fce1d8038cc1eace | [
"MIT"
] | 6 | 2018-11-23T04:48:51.000Z | 2021-12-31T07:50:54.000Z | package golog
import (
"bufio"
"errors"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"sort"
"sync"
"time"
)
const (
fileFlag = os.O_WRONLY | os.O_CREATE | os.O_APPEND
fileMode = 0644
flushDuration = time.Millisecond * 100
rotateByDateFormat = "-20060102.log" // -YYYYmmdd.log
rotateByHourFor... | 21.675351 | 136 | 0.669749 |
1601913aa4a0e5887ce2f44c8d9abc8b1569ceba | 13,872 | c | C | freebsd3/sys/i386/isa/intr_machdep.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 91 | 2015-01-05T15:18:31.000Z | 2022-03-11T16:43:28.000Z | freebsd3/sys/i386/isa/intr_machdep.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 1 | 2016-02-25T15:57:55.000Z | 2016-02-25T16:01:02.000Z | freebsd3/sys/i386/isa/intr_machdep.c | MarginC/kame | 2ef74fe29e4cca9b4a87a1d5041191a9e2e8be30 | [
"BSD-3-Clause"
] | 21 | 2015-02-07T08:23:07.000Z | 2021-12-14T06:01:49.000Z | /*-
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | 27.633466 | 78 | 0.685482 |
f0618ae5c1b87db23e1c15aeed2890efe625454b | 283 | py | Python | src_Python/EtabsAPIaface0/a01comtypes/Excel03c.py | fjmucho/APIdeEtabsYPython | a5c7f7fe1861c4ac3c9370ef06e291f94c6fd523 | [
"MIT"
] | null | null | null | src_Python/EtabsAPIaface0/a01comtypes/Excel03c.py | fjmucho/APIdeEtabsYPython | a5c7f7fe1861c4ac3c9370ef06e291f94c6fd523 | [
"MIT"
] | null | null | null | src_Python/EtabsAPIaface0/a01comtypes/Excel03c.py | fjmucho/APIdeEtabsYPython | a5c7f7fe1861c4ac3c9370ef06e291f94c6fd523 | [
"MIT"
] | null | null | null | import sys
import comtypes
from comtypes.client import CreateObject
try:
# Connecting | coneccion
xl = CreateObject("Excel.Application")
except (OSError, comtypes.COMError):
print("No tiene instalada el programa(Excel).")
sys.exit(-1)
xl.Visible = True
print (xl) | 20.214286 | 49 | 0.720848 |
b94faae1f72e7fcf8bf42c427758ec8afd1fcc48 | 5,985 | c | C | oskar/telescope/station/src/oskar_evaluate_tec_screen.c | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 1 | 2022-02-23T16:48:00.000Z | 2022-02-23T16:48:00.000Z | oskar/telescope/station/src/oskar_evaluate_tec_screen.c | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | null | null | null | oskar/telescope/station/src/oskar_evaluate_tec_screen.c | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019, The University of Oxford
* 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,
* this list ... | 42.75 | 79 | 0.63726 |
127c95577eadb08893786dedca6e1a280c7c8556 | 131 | c | C | porting/liteos_m/kernel/src/stdio/snprintf.c | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | null | null | null | porting/liteos_m/kernel/src/stdio/snprintf.c | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | null | null | null | porting/liteos_m/kernel/src/stdio/snprintf.c | openharmony-gitee-mirror/third_party_musl | 8cb5b45210bfb0f583bcf8b50de8299843b5e075 | [
"MIT"
] | 1 | 2021-09-13T11:14:33.000Z | 2021-09-13T11:14:33.000Z | #include <stdio.h>
#include <stdarg.h>
int snprintf(char *restrict s, size_t n, const char *restrict fmt, ...)
{
return 0;
}
| 14.555556 | 71 | 0.648855 |
5fd7be5522d18325311c01bb82bdb4e867409fbb | 335 | h | C | devilcore/devilcore/source/devil/core/DevilDebugController.h | muyoungko/devil_ios | 0e6085261025e3c3690e397ef9f9f3a864c06287 | [
"MIT"
] | null | null | null | devilcore/devilcore/source/devil/core/DevilDebugController.h | muyoungko/devil_ios | 0e6085261025e3c3690e397ef9f9f3a864c06287 | [
"MIT"
] | null | null | null | devilcore/devilcore/source/devil/core/DevilDebugController.h | muyoungko/devil_ios | 0e6085261025e3c3690e397ef9f9f3a864c06287 | [
"MIT"
] | null | null | null | //
// DevilDebugController.h
// devilcore
//
// Created by Mu Young Ko on 2021/02/03.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "DevilBaseController.h"
NS_ASSUME_NONNULL_BEGIN
@interface DevilDebugController : DevilBaseController<UITableViewDelegate, UITableViewDataSource>
@end
NS_ASSU... | 18.611111 | 97 | 0.785075 |
9bd28b6d74f5c7b039d72b4f36e902ad1cf558f4 | 271 | js | JavaScript | client/actions/ProductActions.js | TobiahRex/chFinal | 194b9f2730616e71f8e1150f5187e0f0937a71a6 | [
"MIT"
] | 1 | 2016-08-02T18:41:29.000Z | 2016-08-02T18:41:29.000Z | client/actions/ProductActions.js | TobiahRex/chFinal | 194b9f2730616e71f8e1150f5187e0f0937a71a6 | [
"MIT"
] | null | null | null | client/actions/ProductActions.js | TobiahRex/chFinal | 194b9f2730616e71f8e1150f5187e0f0937a71a6 | [
"MIT"
] | null | null | null | import API from '../API'
const ProductActions = {
getAllMods() {
API.getAllMods();
},
getOneMod(id) {
API.getOneMod(id);
},
addNewMod(mod) {
API.addNewMod(mod);
},
removeMod(id) {
API.removeMod(id);
},
}
export default ProductActions
| 13.55 | 29 | 0.597786 |
918d8837334d65a784c5896f46d304b17cc4a4b6 | 6,440 | kt | Kotlin | SimpleNotification/app/src/main/java/com/greimul/simplenotification/MainActivity.kt | GreimuL/SimpleNotification | 6be505f8f0dc91f92e86f8909615d535639a94f5 | [
"MIT"
] | 1 | 2019-10-30T08:45:41.000Z | 2019-10-30T08:45:41.000Z | SimpleNotification/app/src/main/java/com/greimul/simplenotification/MainActivity.kt | GreimuL/SimpleNotification | 6be505f8f0dc91f92e86f8909615d535639a94f5 | [
"MIT"
] | null | null | null | SimpleNotification/app/src/main/java/com/greimul/simplenotification/MainActivity.kt | GreimuL/SimpleNotification | 6be505f8f0dc91f92e86f8909615d535639a94f5 | [
"MIT"
] | null | null | null | package com.greimul.simplenotification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.Intent
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.... | 38.562874 | 127 | 0.65854 |
1b3f64e6e07e891515660d07d47ec10a4a324065 | 129 | kt | Kotlin | picker/src/main/java/ir/shahabazimi/instagrampicker/classes/CameraImage.kt | mohamedmabrouk582/InstagramPicker | c9e018d155d7e527262d3b3ecc71041f7410899e | [
"Apache-2.0"
] | null | null | null | picker/src/main/java/ir/shahabazimi/instagrampicker/classes/CameraImage.kt | mohamedmabrouk582/InstagramPicker | c9e018d155d7e527262d3b3ecc71041f7410899e | [
"Apache-2.0"
] | null | null | null | picker/src/main/java/ir/shahabazimi/instagrampicker/classes/CameraImage.kt | mohamedmabrouk582/InstagramPicker | c9e018d155d7e527262d3b3ecc71041f7410899e | [
"Apache-2.0"
] | null | null | null | package ir.shahabazimi.instagrampicker.classes
data class CameraImage(
val address:String,
var selecte:Boolean
) | 21.5 | 46 | 0.736434 |
0edb153ca6187d81ee904c5d217451c8feb7c1ca | 908 | tsx | TypeScript | src/icons/general/IconRetry.tsx | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 673 | 2017-10-03T01:53:24.000Z | 2022-03-30T22:42:15.000Z | src/icons/general/IconRetry.tsx | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 2,087 | 2017-10-26T03:18:49.000Z | 2022-03-29T08:09:16.000Z | src/icons/general/IconRetry.tsx | The-Speck/box-ui-elements | 53dbdde6d6fa1bbd64292845a667d4721c40d1a1 | [
"Apache-2.0"
] | 282 | 2017-10-02T23:11:29.000Z | 2022-03-24T11:38:46.000Z | import * as React from 'react';
import AccessibleSVG from '../accessible-svg';
import { bdlGray } from '../../styles/variables';
import { Icon } from '../iconTypes';
const IconRetry = ({ className = '', color = bdlGray, height = 32, title, width = 32 }: Icon) => (
<AccessibleSVG
className={`bdl-IconRetry... | 33.62963 | 229 | 0.567181 |
cb5463d714a4a4567433bdf0d4e4ee335cc3b69e | 481 | h | C | Other/Headers/WAProfileCardImageView.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 2 | 2019-01-11T02:02:55.000Z | 2020-04-23T02:42:01.000Z | Other/Headers/WAProfileCardImageView.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | null | null | null | Other/Headers/WAProfileCardImageView.h | XWJACK/WeChatPlugin-MacOS | 4241ddb10ccce9484fcf6d5bd51a6afa3b446632 | [
"MIT"
] | 1 | 2021-01-09T14:54:27.000Z | 2021-01-09T14:54:27.000Z | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <AppKit/NSImageView.h>
@interface WAProfileCardImageView : NSImageView
{
CDUnknownBlockType _mouseDownAction;
}
@property... | 24.05 | 111 | 0.733888 |
1574fd5f25fb3b7b2c474b8f942f132dad0efb16 | 619 | lua | Lua | init.lua | TaumuLu/hammerspoon-config | ae268576fdfbd85a0c0d82e40221cb932116bb70 | [
"MIT"
] | null | null | null | init.lua | TaumuLu/hammerspoon-config | ae268576fdfbd85a0c0d82e40221cb932116bb70 | [
"MIT"
] | null | null | null | init.lua | TaumuLu/hammerspoon-config | ae268576fdfbd85a0c0d82e40221cb932116bb70 | [
"MIT"
] | null | null | null | -- 引入公共模块,全局变量的方式使用
require 'plugins.common'
require 'plugins.autoReload'
require 'plugins.posMouse'
require 'plugins.resetLaunch'
require 'plugins.hotkey'
require 'plugins.hsSetting'
require 'plugins.appWatch'
require 'plugins.caffWatch'
-- require 'plugins.istatMenus'
require 'plugins.sizeup'
-- -- 加载 Spoons
-- ... | 19.967742 | 66 | 0.712439 |
2a0201944595026199c46bc311d8cb51d133e9af | 7,602 | java | Java | src/test/java/seedu/iscam/logic/commands/CommandTestUtil.java | zoeykobe/tp | f913e6c36cec075cfd79cbf9182ca07d6755403a | [
"MIT"
] | null | null | null | src/test/java/seedu/iscam/logic/commands/CommandTestUtil.java | zoeykobe/tp | f913e6c36cec075cfd79cbf9182ca07d6755403a | [
"MIT"
] | null | null | null | src/test/java/seedu/iscam/logic/commands/CommandTestUtil.java | zoeykobe/tp | f913e6c36cec075cfd79cbf9182ca07d6755403a | [
"MIT"
] | null | null | null | package seedu.iscam.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.iscam.logic.parser.CliSyntax.PREFIX_EMAIL;
import static seedu.iscam.logic.parser.CliSyntax.PREFIX_IMAGE;
import static seedu.iscam.logic.parse... | 54.690647 | 119 | 0.734938 |
759ae130292fea5b53a88bcef20214950114d6a7 | 270 | h | C | Example/JXUIKit/JXUIAppDelegate.h | tospery/JXUIKit | 3e4b585ceae4b1b0ecdd9dc61ece597234e7acac | [
"MIT"
] | null | null | null | Example/JXUIKit/JXUIAppDelegate.h | tospery/JXUIKit | 3e4b585ceae4b1b0ecdd9dc61ece597234e7acac | [
"MIT"
] | null | null | null | Example/JXUIKit/JXUIAppDelegate.h | tospery/JXUIKit | 3e4b585ceae4b1b0ecdd9dc61ece597234e7acac | [
"MIT"
] | null | null | null | //
// JXUIAppDelegate.h
// JXUIKit
//
// Created by tospery on 01/15/2020.
// Copyright (c) 2020 tospery. All rights reserved.
//
@import UIKit;
@interface JXUIAppDelegate : UIResponder <UIApplicationDelegate>
@property (nonatomic, strong) UIWindow *window;
@end
| 18 | 64 | 0.718519 |
7fc16d187e838dfc9ec9d6f5876170a86883b114 | 247 | rs | Rust | kernel/src/register/stval.rs | CS301-sustech-zmfl/xv6-rust | 289a4f0a04388fb9ac15cfc5df8df7ec79e6422e | [
"MIT"
] | 44 | 2021-03-20T02:14:58.000Z | 2022-03-31T03:40:52.000Z | kernel/src/register/stval.rs | CS301-sustech-zmfl/xv6-rust | 289a4f0a04388fb9ac15cfc5df8df7ec79e6422e | [
"MIT"
] | 10 | 2021-05-28T17:00:00.000Z | 2022-02-06T03:14:50.000Z | kernel/src/register/stval.rs | CS301-sustech-zmfl/xv6-rust | 289a4f0a04388fb9ac15cfc5df8df7ec79e6422e | [
"MIT"
] | 4 | 2021-04-28T08:43:35.000Z | 2022-03-18T01:34:28.000Z | // Supervisor Trap Value
#[inline]
pub unsafe fn read() -> usize {
let ret:usize;
llvm_asm!("csrr $0, stval":"=r"(ret):::"volatile");
ret
}
#[inline]
pub unsafe fn write(x:usize){
llvm_asm!("csrw stval, $0"::"r"(x)::"volatile");
} | 20.583333 | 55 | 0.587045 |
95793eb34d7bc1628d7bcaa449209963bf599548 | 51,786 | sql | SQL | database/init/cities/city.list087.sql | yh-coder/weather | 3e67e8cd4ce92cf96b58c69ccfaa5727b9045433 | [
"MIT"
] | null | null | null | database/init/cities/city.list087.sql | yh-coder/weather | 3e67e8cd4ce92cf96b58c69ccfaa5727b9045433 | [
"MIT"
] | null | null | null | database/init/cities/city.list087.sql | yh-coder/weather | 3e67e8cd4ce92cf96b58c69ccfaa5727b9045433 | [
"MIT"
] | null | null | null | insert into city values
(3856022,"Esperanza","AR",-60.931728,-31.448799),
(3832768,"Villa del Lago","AR",-64.50666,-31.416479),
(3833266,"Valenzuela","AR",-65.403313,-27.4139),
(3865373,"Arteaga","AR",-61.790039,-33.087879),
(3840222,"Pueblo Elisa","AR",-61.519081,-32.680672),
(3865449,"Armstrong","AR",-61.602219,-32.7... | 51.786 | 77 | 0.676264 |
e9c9f491313db8227027169d5cc15ec09a1ff812 | 520 | rs | Rust | src/asset.rs | kunicmarko20/express-vpn-gui | 1aaeb1d14ca5b7c2611df3bb69dac553425e3cd9 | [
"MIT"
] | 12 | 2019-03-04T11:12:20.000Z | 2021-06-28T06:50:20.000Z | src/asset.rs | kunicmarko20/express-vpn-gui | 1aaeb1d14ca5b7c2611df3bb69dac553425e3cd9 | [
"MIT"
] | 1 | 2020-04-08T08:23:58.000Z | 2020-04-08T08:23:58.000Z | src/asset.rs | kunicmarko20/express-vpn-gui | 1aaeb1d14ca5b7c2611df3bb69dac553425e3cd9 | [
"MIT"
] | 5 | 2020-11-05T16:09:25.000Z | 2021-06-28T06:50:23.000Z | pub const DATA_DIRECTORY: &'static str = "express-vpn-gui/";
pub const EXECUTABLE_NAME: &'static str = "express-vpn-gui";
pub const PATH_IMAGE_LOGO: &'static str = "express-vpn-gui/logo.png";
pub const PATH_IMAGE_ON: &'static str = "express-vpn-gui/on.png";
pub const PATH_IMAGE_OFF: &'static str = "express-vpn-gui/... | 32.5 | 84 | 0.726923 |
70be0dbe0c3aeb4d6c2b7ad4e5b4f4c5714f3ca4 | 890 | h | C | modules/miheev_ivan_d-ary_heap/include/DHeap_application.h | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/miheev_ivan_d-ary_heap/include/DHeap_application.h | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/miheev_ivan_d-ary_heap/include/DHeap_application.h | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2022 Olynin Alexander
#ifndef MODULES_MIHEEV_IVAN_D_ARY_HEAP_INCLUDE_DHEAP_APPLICATION_H_
#define MODULES_MIHEEV_IVAN_D_ARY_HEAP_INCLUDE_DHEAP_APPLICATION_H_
#include <string>
#include <vector>
#include "include/DHeap.h"
class Application {
private:
std::string Description();
std::string getEle... | 34.230769 | 70 | 0.669663 |
cb2fe48d1b48fc17e2bc2ac39a3b43f22d03cde0 | 1,231 | go | Go | user/user_test.go | Luladjiev/hnews | 4726f06b3558485559b576494cda1a1eaa04285f | [
"MIT"
] | null | null | null | user/user_test.go | Luladjiev/hnews | 4726f06b3558485559b576494cda1a1eaa04285f | [
"MIT"
] | null | null | null | user/user_test.go | Luladjiev/hnews | 4726f06b3558485559b576494cda1a1eaa04285f | [
"MIT"
] | null | null | null | package user
import (
"fmt"
"net/http"
"net/http/httptest"
"testing"
"github.com/luladjiev/hnews/request"
)
func TestGetWrongResponseData(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
fmt.Fprintf(w, "null")
}))
defer... | 20.180328 | 109 | 0.657189 |
74adb1ea8d5ed70ee0963a9c7d7a8e1cfd5c6874 | 374 | asm | Assembly | ee/hot/pick.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ee/hot/pick.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ee/hot/pick.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; Function to set PICK HOTKEY V2.00 1988 Tony Tebby QJUMP
section hotkey
xdef hot_pick
xref hot_seti
include 'dev8_ee_hk_data'
;+++
; Set up a PICK HOTKEY
;
; error = HOT_PICK (key,name)
;---
hot_pick
moveq #hki.pick,d6 ; set pick
jmp ... | 18.7 | 66 | 0.52139 |
bb990fc482751a5b1cd5730740179c5f2677362a | 369 | sql | SQL | Subqueries-and-JOINs/Employee Summary.sql | vasetousa/SQL-Server | 4ef525e1cf1924a6a29454b587dc7117c7239592 | [
"MIT"
] | null | null | null | Subqueries-and-JOINs/Employee Summary.sql | vasetousa/SQL-Server | 4ef525e1cf1924a6a29454b587dc7117c7239592 | [
"MIT"
] | null | null | null | Subqueries-and-JOINs/Employee Summary.sql | vasetousa/SQL-Server | 4ef525e1cf1924a6a29454b587dc7117c7239592 | [
"MIT"
] | null | null | null | USE [SoftUni]
GO
SELECT TOP 50
e.[EmployeeID],
CONCAT(e.[FirstName],' ', e.[LastName]) AS [EmployeeName],
CONCAT(m.[FirstName],' ', m.[LastName]) AS [ManagerName],
d.[Name] AS [DepartmentName]
FROM
[Employees] AS e
LEFT JOIN [Employees] AS m ON m.[EmployeeID] = e.[ManagerID]
LEFT JOIN [Departments] AS d ON e.[Departme... | 26.357143 | 67 | 0.701897 |
d02b92414d2fa280a78bfe43ab35cf524251bd0f | 560 | rb | Ruby | spec/queries/appeals_with_cancelled_root_task_completed_dispatch_query_spec.rb | ThorntonMatthewD/caseflow | 51448c06e8788daeb98c7535bc3766f3f3186b96 | [
"CC0-1.0"
] | 159 | 2015-10-16T14:25:19.000Z | 2022-03-23T17:43:26.000Z | spec/queries/appeals_with_cancelled_root_task_completed_dispatch_query_spec.rb | ThorntonMatthewD/caseflow | 51448c06e8788daeb98c7535bc3766f3f3186b96 | [
"CC0-1.0"
] | 13,775 | 2015-10-16T14:01:59.000Z | 2022-03-30T21:57:00.000Z | spec/queries/appeals_with_cancelled_root_task_completed_dispatch_query_spec.rb | rammatzkvosky/caseflow | 8f9f47fb6b371540f9f6b5421908ffe6200fad09 | [
"CC0-1.0"
] | 60 | 2015-10-16T14:20:39.000Z | 2022-02-22T13:40:52.000Z | # frozen_string_literal: true
describe AppealsWithCancelledRootTaskCompletedDispatchQuery, :postgres do
let!(:dispatched_appeal_with_cancelled_root_task) do
appeal = create(:appeal, :with_post_intake_tasks)
create(:bva_dispatch_task, :completed, appeal: appeal, parent: appeal.root_task)
appeal.root_task.... | 29.473684 | 84 | 0.769643 |
d94a41d217cba2189a005eb62d055d285f45c379 | 19,540 | rs | Rust | node/node_proto/src/lib.rs | fikgol/stargate | ae2b915575baed28115cf3475e2a773d5158ea42 | [
"Apache-2.0"
] | 17 | 2019-10-21T06:53:12.000Z | 2020-09-19T03:09:38.000Z | node/node_proto/src/lib.rs | fikgol/stargate | ae2b915575baed28115cf3475e2a773d5158ea42 | [
"Apache-2.0"
] | 46 | 2019-10-23T14:09:07.000Z | 2020-10-26T00:59:26.000Z | node/node_proto/src/lib.rs | fikgol/stargate | ae2b915575baed28115cf3475e2a773d5158ea42 | [
"Apache-2.0"
] | 9 | 2019-10-21T05:37:18.000Z | 2020-10-24T11:58:00.000Z | // Copyright (c) The Starcoin Core Contributors
// SPDX-License-Identifier: Apache-2.0
//#[cfg(test)]
//mod protobuf_conversion_test;
use anyhow::{format_err, Error, Result};
use libra_crypto::HashValue;
use libra_types::account_address::AccountAddress;
use libra_types::transaction::{TransactionArgument, TransactionW... | 25.609436 | 98 | 0.643859 |
48ebf4dd43bd08506816a355cd3233e8d890ef56 | 6,809 | c | C | Software/Azure_RTOS_Example2/FileX/src/fx_directory_name_extract.c | Indemsys/Backup-controller_BACKPMAN-v2.0 | e5b22f4bdd45fe04542fab6c1309de4ff3d3c009 | [
"MIT"
] | 4 | 2021-11-05T11:50:50.000Z | 2022-03-16T05:40:57.000Z | Software/Azure_RTOS_USB_MSC/Middlewares/ST/filex/common/src/fx_directory_name_extract.c | Indemsys/Backup-controller_BACKPMAN-v2.0 | e5b22f4bdd45fe04542fab6c1309de4ff3d3c009 | [
"MIT"
] | null | null | null | Software/Azure_RTOS_USB_MSC/Middlewares/ST/filex/common/src/fx_directory_name_extract.c | Indemsys/Backup-controller_BACKPMAN-v2.0 | e5b22f4bdd45fe04542fab6c1309de4ff3d3c009 | [
"MIT"
] | 2 | 2021-09-27T10:49:43.000Z | 2021-11-27T02:35:42.000Z | /**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... | 42.030864 | 82 | 0.276105 |
cbdcecfc42b3d076b6acbd712c6612a42ce0cbd1 | 613 | go | Go | integration/util/osmpatch/patch.go | Telenav/osrm-backend | c50d8ab756b71b3738b67663e48c79ce27245b7a | [
"BSD-2-Clause"
] | 13 | 2019-02-21T02:02:41.000Z | 2021-09-09T13:49:31.000Z | integration/util/osmpatch/patch.go | Telenav/osrm-backend | c50d8ab756b71b3738b67663e48c79ce27245b7a | [
"BSD-2-Clause"
] | 288 | 2019-02-21T01:34:04.000Z | 2021-03-27T12:19:10.000Z | integration/util/osmpatch/patch.go | Telenav/osrm-backend | c50d8ab756b71b3738b67663e48c79ce27245b7a | [
"BSD-2-Clause"
] | 4 | 2019-06-21T20:51:59.000Z | 2021-01-13T09:22:24.000Z | // Package osmpatch implements some utility to optimize handling for OSM PBF.
package osmpatch
import "github.com/qedus/osmpbf"
// IsValidWay returns whether the way from OSM is valid or not.
// This validation is for OSM PBF only.
// Rule: it is a valid/navigable way only if it has `highway` or `route` tag.
// https... | 25.541667 | 77 | 0.724307 |
7183c1e327d48a3586d27eae20063846d84911f4 | 735 | tsx | TypeScript | components/FavoriteButton.tsx | budokans/story-typer | c1ebc9d113730d81623839ecd06530292d8ed2b6 | [
"MIT"
] | null | null | null | components/FavoriteButton.tsx | budokans/story-typer | c1ebc9d113730d81623839ecd06530292d8ed2b6 | [
"MIT"
] | null | null | null | components/FavoriteButton.tsx | budokans/story-typer | c1ebc9d113730d81623839ecd06530292d8ed2b6 | [
"MIT"
] | null | null | null | import { IconButton } from "@chakra-ui/button";
import { RiStarFill, RiStarLine } from "react-icons/ri";
import { useFavorite } from "@/hooks/useFavorite";
import { FavoriteBase } from "interfaces";
export const FavoriteButton: React.FC<{ storyDetails: FavoriteBase }> = ({
storyDetails,
}) => {
const { handleFavor... | 28.269231 | 74 | 0.646259 |
168fd7b4a2ced0127f67f84ffb5dfc948e410ffd | 517 | ts | TypeScript | src/lib/StoreModules/types.ts | VEuPathDB/web-user-datasets | e2d4e8445eb0a105764b0871454b4cb752adad11 | [
"Apache-2.0"
] | null | null | null | src/lib/StoreModules/types.ts | VEuPathDB/web-user-datasets | e2d4e8445eb0a105764b0871454b4cb752adad11 | [
"Apache-2.0"
] | 4 | 2022-02-21T19:03:49.000Z | 2022-03-04T15:03:39.000Z | src/lib/StoreModules/types.ts | VEuPathDB/web-user-datasets | e2d4e8445eb0a105764b0871454b4cb752adad11 | [
"Apache-2.0"
] | null | null | null | import { RootState } from '@veupathdb/wdk-client/lib/Core/State/Types';
import { State as UserDatasetDetailState } from './UserDatasetDetailStoreModule';
import { State as UserDatasetListState } from './UserDatasetListStoreModule';
import { State as UserDatasetUploadState } from './UserDatasetUploadStoreModule';
expo... | 43.083333 | 81 | 0.810445 |
4f83e5745fbe05d5c0ce25df48763b0d972c8829 | 107 | sql | SQL | src/FlatMate.Migration/Resources/ScriptTemplate.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | null | null | null | src/FlatMate.Migration/Resources/ScriptTemplate.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | 7 | 2019-06-26T15:38:03.000Z | 2021-05-08T04:38:43.000Z | src/FlatMate.Migration/Resources/ScriptTemplate.sql | prayzzz/FlatMate-v2 | 3486507e5a613bf944e7dd056bda47bf84f37ed8 | [
"MIT"
] | null | null | null | --
-- Script
--
--
-- Migration
--
INSERT INTO ##SCRIPTTABLE## ([FileName])
VALUES ('##FILENAME##'); | 8.230769 | 41 | 0.542056 |
d2e63e3b43940eb206edba069773b225ecf8deb5 | 217 | php | PHP | src/FlushViews.php | m4a1fox/matryoshka | ba168c9e598bdfdeb48040684c00d622f6c12fc0 | [
"MIT"
] | null | null | null | src/FlushViews.php | m4a1fox/matryoshka | ba168c9e598bdfdeb48040684c00d622f6c12fc0 | [
"MIT"
] | null | null | null | src/FlushViews.php | m4a1fox/matryoshka | ba168c9e598bdfdeb48040684c00d622f6c12fc0 | [
"MIT"
] | null | null | null | <?php
namespace Matryoshka;
use Illuminate\Support\Facades\Cache;
class FlushViews
{
public function handle($request, $next)
{
Cache::tags('view')->flush();
return $next($request);
}
}
| 13.5625 | 43 | 0.62212 |
dfa0e48e0bd8ecf20502e62142e520e9ff6d3479 | 764 | ts | TypeScript | server/models/facebookPages.ts | woophi/akai | e24ccde2d84626d7c6a1f049126df6a4c5153d1e | [
"MIT"
] | null | null | null | server/models/facebookPages.ts | woophi/akai | e24ccde2d84626d7c6a1f049126df6a4c5153d1e | [
"MIT"
] | 22 | 2019-10-15T09:53:00.000Z | 2022-02-17T20:47:44.000Z | server/models/facebookPages.ts | woophi/akai | e24ccde2d84626d7c6a1f049126df6a4c5153d1e | [
"MIT"
] | null | null | null | import mongoose from 'mongoose';
import { FacebookPage, SchemaNames } from './types';
const timestamps = require('mongoose-timestamp');
export const FacebookPagesSchema = new mongoose.Schema(
{
pageId: {
type: Number,
unique: true,
index: true,
},
pageName: {
type: String,
r... | 21.222222 | 87 | 0.633508 |
5b592fbb10d64010c0a0239ffcb561a430a8df11 | 719 | h | C | source/FliterApp/FliterApp/controllers/faAboutTeamSlaay.h | slaay/FliterApp | 196f317389380b6b11c5210bb2b854995d7ce1a2 | [
"MIT"
] | null | null | null | source/FliterApp/FliterApp/controllers/faAboutTeamSlaay.h | slaay/FliterApp | 196f317389380b6b11c5210bb2b854995d7ce1a2 | [
"MIT"
] | null | null | null | source/FliterApp/FliterApp/controllers/faAboutTeamSlaay.h | slaay/FliterApp | 196f317389380b6b11c5210bb2b854995d7ce1a2 | [
"MIT"
] | null | null | null | //
// faAboutTeamSlaay.h
// FliterApp
//
// Created by Presley on 03/04/15.
// Copyright (c) 2015 SlaaySourceCoders. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface faAboutTeamSlaay : UIViewController
@property (strong, nonatomic) IBOutlet UIImageView *imgPresley;
@property (strong, nonatomic) IBOutlet... | 28.76 | 68 | 0.776078 |
18afc1a146ccb59325a4e8f08e86fa3a24752b8d | 21,636 | rs | Rust | src/tokens.rs | tommilligan/RESS | 8b8abfa61d1a0273c1502031669262e29f69a6c5 | [
"MIT"
] | null | null | null | src/tokens.rs | tommilligan/RESS | 8b8abfa61d1a0273c1502031669262e29f69a6c5 | [
"MIT"
] | null | null | null | src/tokens.rs | tommilligan/RESS | 8b8abfa61d1a0273c1502031669262e29f69a6c5 | [
"MIT"
] | null | null | null | use combine::{
choice, eof,
error::ParseError,
many, not_followed_by,
parser::char::{char as c_char, string},
try, Parser, Stream,
};
use comments;
use keywords;
use numeric;
use punct;
use regex;
use strings;
use unicode;
#[derive(Debug, PartialEq, Clone)]
/// A wrapper around a token that will i... | 28.062257 | 92 | 0.521908 |
08039d5b67b49b890310e1d09ccc31e394555031 | 89,851 | sql | SQL | app/install/data/wooc-data.sql | HongJuZiNetStudio/wooc | b9d2debef2f52d136e49fe17cf6da90edf4138e6 | [
"MIT"
] | 1 | 2016-04-11T14:06:37.000Z | 2016-04-11T14:06:37.000Z | app/install/data/wooc-data.sql | HongJuZiNetStudio/wooc | b9d2debef2f52d136e49fe17cf6da90edf4138e6 | [
"MIT"
] | null | null | null | app/install/data/wooc-data.sql | HongJuZiNetStudio/wooc | b9d2debef2f52d136e49fe17cf6da90edf4138e6 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.0.10
-- http://www.phpmyadmin.net
--
-- 主机: localhost:3306
-- 生成日期: 2015-05-17 19:44:56
-- 服务器版本: 5.5.32
-- PHP 版本: 5.4.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTE... | 49.072092 | 268 | 0.547529 |
fd6654077e7a14573da65e60549648cf245406c3 | 8,137 | h | C | MMOCoreORB/src/server/zone/objects/creature/commands/PurchaseTicketCommand.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/creature/commands/PurchaseTicketCommand.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/creature/commands/PurchaseTicketCommand.h | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#ifndef PURCHASETICKETCOMMAND_H_
#define PURCHASETICKETCOMMAND_H_
#include "server/zone/objects/scene/SceneObject.h"
#include "server/zone/objects/player/sui/messagebox/SuiMessageBox.h"
#include "server/zone/managers/planet/PlanetManager.h"
#inclu... | 33.904167 | 157 | 0.736758 |
7f0369945da5e5c2ec697f06c540eaf949b63493 | 1,759 | rs | Rust | noodles-bam/src/bai/index/reference_sequence/bin.rs | sstadick/noodles | 2626a191634fdd7628c653fa8bf0e276ced26367 | [
"MIT"
] | null | null | null | noodles-bam/src/bai/index/reference_sequence/bin.rs | sstadick/noodles | 2626a191634fdd7628c653fa8bf0e276ced26367 | [
"MIT"
] | null | null | null | noodles-bam/src/bai/index/reference_sequence/bin.rs | sstadick/noodles | 2626a191634fdd7628c653fa8bf0e276ced26367 | [
"MIT"
] | null | null | null | //! BAM index bin and fields.
mod builder;
pub(crate) use self::builder::Builder;
use noodles_bgzf::index::Chunk;
// § 5.3 C source code for computing bin number and overlapping bins: MAX_BIN (2020-07-19)
pub(crate) const MAX_ID: usize = ((1 << 18) - 1) / 7 + 1;
/// A bin in a BAM index reference sequence.
///
///... | 25.867647 | 97 | 0.572484 |
d5a73dead3361beb86dc37486428406aff93386b | 1,521 | h | C | src/manifestoxx/CPortDescriptor.h | cfriedt/libmanifesto | 1e7cebc5f2486548b0e5173eca8b1d9304b7b147 | [
"BSD-3-Clause"
] | null | null | null | src/manifestoxx/CPortDescriptor.h | cfriedt/libmanifesto | 1e7cebc5f2486548b0e5173eca8b1d9304b7b147 | [
"BSD-3-Clause"
] | 1 | 2020-08-16T18:09:54.000Z | 2020-08-16T22:01:45.000Z | src/manifestoxx/CPortDescriptor.h | cfriedt/libmanifesto | 1e7cebc5f2486548b0e5173eca8b1d9304b7b147 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020 Friedt Professional Engineering Services, Inc
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CPORT_DESCRIPTOR_H_
#define CPORT_DESCRIPTOR_H_
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include "BundleClass.h"
#include "BundleDescriptor.h"
#include "De... | 21.728571 | 72 | 0.678501 |
3994e946f9c84b29505dd4f41a837a6e04620d3e | 7,955 | swift | Swift | TKSwitcherCollection/TKExchangeSwitch.swift | Quietcat19/TKSwitcherCollection | 5a624a0492dec54a5c3a1e93fd26d4edf2f8c584 | [
"MIT"
] | null | null | null | TKSwitcherCollection/TKExchangeSwitch.swift | Quietcat19/TKSwitcherCollection | 5a624a0492dec54a5c3a1e93fd26d4edf2f8c584 | [
"MIT"
] | null | null | null | TKSwitcherCollection/TKExchangeSwitch.swift | Quietcat19/TKSwitcherCollection | 5a624a0492dec54a5c3a1e93fd26d4edf2f8c584 | [
"MIT"
] | null | null | null | //
// TKExchangeSwitch.swift
// SwitcherCollection
//
// Created by Tbxark on 15/10/25.
// Copyright © 2015年 TBXark. All rights reserved.
//
import UIKit
// Dedign by Oleg Frolov
//https://dribbble.com/shots/2238916-Switcher-VI
@IBDesignable
open class TKExchangeSwitch: TKBaseSwitch {
// MARK: - Property
... | 37 | 135 | 0.666876 |
751b321ff90f956c3f5c40ba9e75148d4b3e3548 | 17,362 | h | C | src/lib/elfldltl/include/lib/elfldltl/phdr.h | sffc/fuchsia-clone | 633553d647314c9032f75d430c9377b9f6cfc26e | [
"BSD-2-Clause"
] | null | null | null | src/lib/elfldltl/include/lib/elfldltl/phdr.h | sffc/fuchsia-clone | 633553d647314c9032f75d430c9377b9f6cfc26e | [
"BSD-2-Clause"
] | 1 | 2022-03-01T01:12:04.000Z | 2022-03-01T01:17:26.000Z | src/lib/elfldltl/include/lib/elfldltl/phdr.h | sffc/fuchsia-clone | 633553d647314c9032f75d430c9377b9f6cfc26e | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_LIB_ELFLDLTL_INCLUDE_LIB_ELFLDLTL_PHDR_H_
#define SRC_LIB_ELFLDLTL_INCLUDE_LIB_ELFLDLTL_PHDR_H_
#include <lib/stdcompat/bit.h>
#include <lib/s... | 36.095634 | 112 | 0.689667 |
51158b6368614e223b327dac1b9dee51ff56e3f0 | 495 | h | C | System/Library/PrivateFrameworks/DiagnosticExtensions.framework/DiagnosticExtensions.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-03-23T00:01:54.000Z | 2018-08-04T20:16:32.000Z | System/Library/PrivateFrameworks/DiagnosticExtensions.framework/DiagnosticExtensions.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/DiagnosticExtensions.framework/DiagnosticExtensions.h | lechium/tvOS10Headers | f0c99993da6cc502d36fdc5cb4ff90d94b12bf67 | [
"MIT"
] | 4 | 2017-05-14T16:23:26.000Z | 2019-12-21T15:07:59.000Z | #import <DiagnosticExtensions/DEExtensionHostContext.h>
#import <DiagnosticExtensions/DEExtension.h>
#import <DiagnosticExtensions/DEAttachmentItem.h>
#import <DiagnosticExtensions/DELogMover.h>
#import <DiagnosticExtensions/DEManagedDefaults.h>
#import <DiagnosticExtensions/DEExtensionManager.h>
#import <DiagnosticExt... | 45 | 55 | 0.858586 |
0b843ec57c40e34a7b0ee2c71349c26723ef8771 | 1,492 | py | Python | unit/either_spec.py | tek/amino | 51b314933e047a45587a24ecff02c836706d27ff | [
"MIT"
] | 33 | 2016-12-21T07:05:46.000Z | 2020-04-29T04:26:46.000Z | unit/either_spec.py | tek/amino | 51b314933e047a45587a24ecff02c836706d27ff | [
"MIT"
] | 1 | 2019-04-19T17:15:52.000Z | 2019-04-20T18:28:23.000Z | unit/either_spec.py | tek/amino | 51b314933e047a45587a24ecff02c836706d27ff | [
"MIT"
] | 4 | 2017-09-04T18:46:23.000Z | 2021-11-02T04:18:13.000Z | import operator
from amino.either import Left, Right
from amino import Empty, Just, Maybe, List, Either, _
from amino.test.spec_spec import Spec
from amino.list import Lists
class EitherSpec(Spec):
def map(self) -> None:
a = 'a'
b = 'b'
Right(a).map(_ + b).value.should.equal(a + b)
... | 31.744681 | 73 | 0.586461 |