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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
af52bb3bb575efc916314fb9d7ddde1b5466f619 | 119 | rb | Ruby | lib/bullhorn/rest/entities/tearsheet_recipient.rb | evanrolfe/bullhorn-rest | bb34350f1f85f760397b1a0291a6dfbd35327ae4 | [
"MIT"
] | 9 | 2015-02-04T23:38:42.000Z | 2022-02-17T21:51:01.000Z | lib/bullhorn/rest/entities/tearsheet_recipient.rb | evanrolfe/bullhorn-rest | bb34350f1f85f760397b1a0291a6dfbd35327ae4 | [
"MIT"
] | 4 | 2015-04-14T13:55:41.000Z | 2016-04-07T14:35:17.000Z | lib/bullhorn/rest/entities/tearsheet_recipient.rb | evanrolfe/bullhorn-rest | bb34350f1f85f760397b1a0291a6dfbd35327ae4 | [
"MIT"
] | 12 | 2015-02-13T07:50:58.000Z | 2021-11-01T16:41:53.000Z | module Bullhorn
module Rest
module Entities
module TearsheetRecipient
extend Base
define_methods
end
end
end
end | 9.153846 | 25 | 0.823529 |
c1b76121aed58669f645d931b3e482f05b51056f | 4,881 | rs | Rust | tab-command/src/service/tab/create_tab.rs | casonadams/tab-rs | 5c31638843e550909c36a3aa2fe8f315a3f4bbe9 | [
"MIT"
] | null | null | null | tab-command/src/service/tab/create_tab.rs | casonadams/tab-rs | 5c31638843e550909c36a3aa2fe8f315a3f4bbe9 | [
"MIT"
] | null | null | null | tab-command/src/service/tab/create_tab.rs | casonadams/tab-rs | 5c31638843e550909c36a3aa2fe8f315a3f4bbe9 | [
"MIT"
] | null | null | null | use crate::{
env::terminal_size,
message::tabs::CreateTabRequest,
prelude::*,
state::{
tabs::ActiveTabsState,
workspace::{WorkspaceState, WorkspaceTab},
},
utils::await_state,
};
use anyhow::anyhow;
use std::{collections::HashMap, sync::Arc};
use std::{env, path::PathBuf};
use ta... | 31.490323 | 95 | 0.518132 |
5fa1f90abfbeda912100daecc126bd894d4783d9 | 3,124 | c | C | main.c | Palhares17/Projeto-RPG | 1ca6fd486c0590827c21728480145b3d89f8cf6f | [
"MIT"
] | null | null | null | main.c | Palhares17/Projeto-RPG | 1ca6fd486c0590827c21728480145b3d89f8cf6f | [
"MIT"
] | 1 | 2021-12-15T03:53:30.000Z | 2021-12-15T03:53:30.000Z | main.c | Palhares17/Projeto-RPG | 1ca6fd486c0590827c21728480145b3d89f8cf6f | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
int main() {
// Variaveis
int personagem;
char nome[30];
int vida = 100;
printf("\n-----------------------------------------------\n");
// Inicio
printf("Qual eh seu nome bravo aventureiro.\n");
scanf("%s", nome);
printf("\nEscolha ... | 30.627451 | 127 | 0.510883 |
26f52adca5db3c17402a1480c503c345aa810349 | 11,166 | sql | SQL | DBSQLExsport/dblarabook.sql | itramayana/larabook | 7cd556b2efb144d8d7f107b2782fca4911c0843c | [
"MIT"
] | null | null | null | DBSQLExsport/dblarabook.sql | itramayana/larabook | 7cd556b2efb144d8d7f107b2782fca4911c0843c | [
"MIT"
] | null | null | null | DBSQLExsport/dblarabook.sql | itramayana/larabook | 7cd556b2efb144d8d7f107b2782fca4911c0843c | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.3.11
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 25, 2016 at 05:09 AM
-- Server version: 5.6.24
-- PHP Version: 5.6.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
... | 31.994269 | 215 | 0.685653 |
5ba9fe9e4e301c4786bdd5563653c91957d077bc | 1,155 | rs | Rust | src/command.rs | zatoichi-labs/yubihsm-rs | 2952153a1a9b0bd2bba1d78223e2f6645c95bb65 | [
"Apache-2.0",
"MIT"
] | 42 | 2020-02-29T16:54:24.000Z | 2022-03-11T01:20:46.000Z | src/command.rs | zatoichi-labs/yubihsm-rs | 2952153a1a9b0bd2bba1d78223e2f6645c95bb65 | [
"Apache-2.0",
"MIT"
] | 208 | 2020-02-29T20:24:20.000Z | 2022-03-31T22:23:01.000Z | src/command.rs | zatoichi-labs/yubihsm-rs | 2952153a1a9b0bd2bba1d78223e2f6645c95bb65 | [
"Apache-2.0",
"MIT"
] | 11 | 2020-03-23T18:57:04.000Z | 2022-02-14T00:30:27.000Z | //! YubiHSM commands: types and traits for modeling the commands supported
//! by the HSM device, implemented in relevant modules.
mod code;
mod error;
mod message;
pub use self::{
code::Code,
error::{Error, ErrorKind},
};
pub(crate) use self::message::Message;
use crate::{response::Response, serialization::... | 30.394737 | 75 | 0.705628 |
53d27b6e65a9322f7b9f754835644159d97ea8ad | 3,971 | java | Java | src/main/java/ua/leomovskii/tg/mybucketlist/db/WishHandler.java | leomovskii/My-Bucket-List | cd58026f0dac480ac87698fdbf859867f66e206e | [
"MIT"
] | null | null | null | src/main/java/ua/leomovskii/tg/mybucketlist/db/WishHandler.java | leomovskii/My-Bucket-List | cd58026f0dac480ac87698fdbf859867f66e206e | [
"MIT"
] | null | null | null | src/main/java/ua/leomovskii/tg/mybucketlist/db/WishHandler.java | leomovskii/My-Bucket-List | cd58026f0dac480ac87698fdbf859867f66e206e | [
"MIT"
] | null | null | null | package ua.leomovskii.tg.mybucketlist.db;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import ua.leomovskii.tg.mybucketlist.Logger;... | 25.785714 | 96 | 0.6827 |
7473a96827405bbf4cada0397cce89d68ecf4cfe | 14,459 | c | C | Src/main.c | shomagan/projek | 884cc08a78e272aa6bea08ca300469f775927de2 | [
"Apache-2.0"
] | null | null | null | Src/main.c | shomagan/projek | 884cc08a78e272aa6bea08ca300469f775927de2 | [
"Apache-2.0"
] | null | null | null | Src/main.c | shomagan/projek | 884cc08a78e272aa6bea08ca300469f775927de2 | [
"Apache-2.0"
] | null | null | null | /**
******************************************************************************
* File Name : main.c
* Description : Main program body
******************************************************************************
***************************************************************************... | 27.859345 | 106 | 0.686216 |
3be905294edf9bfc655f7fbf8ad4593fdefc844e | 2,439 | c | C | Labs/08-project/project/project/gpio.c | mbs908/digitalelectronics | f5a674e245743cc8d71b0174f702afa12ac6a160 | [
"MIT"
] | null | null | null | Labs/08-project/project/project/gpio.c | mbs908/digitalelectronics | f5a674e245743cc8d71b0174f702afa12ac6a160 | [
"MIT"
] | null | null | null | Labs/08-project/project/project/gpio.c | mbs908/digitalelectronics | f5a674e245743cc8d71b0174f702afa12ac6a160 | [
"MIT"
] | null | null | null | /***********************************************************************
*
* GPIO library for AVR-GCC.
* ATmega328P (Arduino Uno), 16 MHz, AVR 8-bit Toolchain 3.6.2
*
* Copyright (c) 2019-2020 Tomas Fryza
* Dept. of Radio Electronics, Brno University of Technology, Czechia
* This work is licensed under the term... | 34.842857 | 75 | 0.491595 |
7450d6924deb3e4719ae721403dda0018d783d55 | 1,337 | kt | Kotlin | library/src/main/java/ru/anbazhan/library/recycler/BaseRVAdapter.kt | anbazhan/mvvmcore | 12e8dca66371b4b999cb96cf2287895d2615b9de | [
"MIT"
] | 4 | 2021-09-02T11:31:08.000Z | 2022-01-06T10:02:29.000Z | library/src/main/java/ru/anbazhan/library/recycler/BaseRVAdapter.kt | anbazhan/mvvmcore | 12e8dca66371b4b999cb96cf2287895d2615b9de | [
"MIT"
] | null | null | null | library/src/main/java/ru/anbazhan/library/recycler/BaseRVAdapter.kt | anbazhan/mvvmcore | 12e8dca66371b4b999cb96cf2287895d2615b9de | [
"MIT"
] | null | null | null | package ru.anbazhan.library.recycler
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
open class BaseRVAdapter<T, B : BindingItem<T>>(
var items: MutableList<B> = mutableListOf()
) : LiveDataBindingRVAdapter<Ba... | 29.065217 | 83 | 0.66193 |
64e6e59afbe799d34fa97fda39687ed89d26deea | 81 | sql | SQL | src/katas/kyu8/register_for_the_party_SQL_for_beginners_3.sql | pimentelra/codewars | adb6ce4e49c5d9f93d9785a801988a25c815214a | [
"BSD-3-Clause"
] | null | null | null | src/katas/kyu8/register_for_the_party_SQL_for_beginners_3.sql | pimentelra/codewars | adb6ce4e49c5d9f93d9785a801988a25c815214a | [
"BSD-3-Clause"
] | null | null | null | src/katas/kyu8/register_for_the_party_SQL_for_beginners_3.sql | pimentelra/codewars | adb6ce4e49c5d9f93d9785a801988a25c815214a | [
"BSD-3-Clause"
] | null | null | null | INSERT INTO participants VALUES('name', '21', TRUE);
SELECT * FROM participants; | 27 | 52 | 0.740741 |
8ae0112ce6e0046e29295f6e54dc7d9b71e725f8 | 13,208 | rs | Rust | src/proc/bin/starnix/fs/tarfs.rs | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/proc/bin/starnix/fs/tarfs.rs | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | src/proc/bin/starnix/fs/tarfs.rs | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2021 Fabio D'Urso. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use anyhow::Error;
use fuchsia_zircon as zx;
use log::warn;
use std::collections::HashMap;
use std::convert::TryInto;
use std::os::unix::ffi::OsStrExt;
use std::s... | 32.937656 | 100 | 0.561024 |
afcda87aa2368dabf03f32c32a0058eb11a48f6b | 2,059 | swift | Swift | Patterns/Command.playground/Contents.swift | Xroyzen/swift-algorithm-app | dd4fb5931e7adb41445443c37397e916079de988 | [
"MIT"
] | null | null | null | Patterns/Command.playground/Contents.swift | Xroyzen/swift-algorithm-app | dd4fb5931e7adb41445443c37397e916079de988 | [
"MIT"
] | null | null | null | Patterns/Command.playground/Contents.swift | Xroyzen/swift-algorithm-app | dd4fb5931e7adb41445443c37397e916079de988 | [
"MIT"
] | null | null | null |
class Account {
var accountName: String
var balance: Int
init(accountName: String, balance: Int){
self.accountName = accountName
self.balance = balance
}
}
protocol Command {
func execute()
var isComplete: Bool { get set }
}
class Deposit: Command {
pri... | 16.472 | 83 | 0.621661 |
31d0c7b304fda7e3ffa14de558453f43c8b8b9b3 | 1,331 | swift | Swift | XiaoHongshu_Swift/Classes/Other/AppDelegate.swift | SeekForSunny/XiaoHongshu_Swift | 25a6c422f9e9d96b1aaf02c87510b17c663f73ad | [
"MIT"
] | null | null | null | XiaoHongshu_Swift/Classes/Other/AppDelegate.swift | SeekForSunny/XiaoHongshu_Swift | 25a6c422f9e9d96b1aaf02c87510b17c663f73ad | [
"MIT"
] | null | null | null | XiaoHongshu_Swift/Classes/Other/AppDelegate.swift | SeekForSunny/XiaoHongshu_Swift | 25a6c422f9e9d96b1aaf02c87510b17c663f73ad | [
"MIT"
] | null | null | null | //
// AppDelegate.swift
// XiaoHongshu_Swift
//
// Created by SMART on 2017/7/6.
// Copyright © 2017年 com.smart.swift. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
//获取接口信息
static func apiInfo() -> [String:... | 25.596154 | 165 | 0.547708 |
e72c909dbe21feecbf02577df658c19581ea09ce | 3,155 | js | JavaScript | web/admin/supplier/pages/supplier_wallet/js/withdraw_deposit_ctrl.js | ITsunshineboys/myProject | c4248920882280b2fec10e0d01440e4240cb214a | [
"BSD-3-Clause"
] | null | null | null | web/admin/supplier/pages/supplier_wallet/js/withdraw_deposit_ctrl.js | ITsunshineboys/myProject | c4248920882280b2fec10e0d01440e4240cb214a | [
"BSD-3-Clause"
] | null | null | null | web/admin/supplier/pages/supplier_wallet/js/withdraw_deposit_ctrl.js | ITsunshineboys/myProject | c4248920882280b2fec10e0d01440e4240cb214a | [
"BSD-3-Clause"
] | null | null | null | /**
* Created by Administrator on 2017/9/25/025.
*/
let withdraw_deposit = angular.module("withdraw_depositModule", []);
withdraw_deposit.controller("withdraw_deposit_ctrl", function (_ajax, $rootScope,$scope, $http, $state, $anchorScroll, $location, $window) {
$rootScope.crumbs = [{
name: '钱包',
i... | 31.868687 | 140 | 0.460856 |
dd43a5c114b469f822003c3ea35523f246d78e9f | 17,871 | go | Go | go/client/cmd_ctl_nix.go | yan0908/client | 2debd54aa01e01f91cb5ef81104b1932a5cd681f | [
"BSD-3-Clause"
] | 6 | 2019-11-04T17:14:31.000Z | 2019-12-05T01:59:42.000Z | go/client/cmd_ctl_nix.go | joergpanke/client | e310b28b4e58987ffb1228650d35e07b9a379669 | [
"BSD-3-Clause"
] | 8 | 2021-01-28T21:27:26.000Z | 2022-03-28T21:54:15.000Z | go/client/cmd_ctl_nix.go | joergpanke/client | e310b28b4e58987ffb1228650d35e07b9a379669 | [
"BSD-3-Clause"
] | 1 | 2021-02-01T08:11:17.000Z | 2021-02-01T08:11:17.000Z | // Copyright 2019 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.
// +build !darwin,!windows
package client
import (
"fmt"
"io"
"os"
"os/exec"
"syscall"
"github.com/keybase/cli"
"github.com/keybase/client/go/install"
"github.com/keybase/client/go/libcmd... | 29.884615 | 223 | 0.703542 |
ec24bb53988377ed990b6ad0aa5867c1ede391ea | 595 | sql | SQL | sql/V40__Criacao_Tabela_Ferias.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | sql/V40__Criacao_Tabela_Ferias.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | sql/V40__Criacao_Tabela_Ferias.sql | ualisonaguiar/ordem-servico-datainfo | e3245f7c5fca2989ebded0beac5522d6427b4243 | [
"BSD-3-Clause"
] | null | null | null | CREATE TABLE tb_ferias (
id_ferias INTEGER PRIMARY KEY AUTOINCREMENT
NOT NULL,
id_usuario INTEGER REFERENCES tb_usuario (id_usuario)
NOT NULL,
dt_inicio DATE NOT NULL,
dt_fim DATE ... | 33.055556 | 68 | 0.546218 |
7a3e85cfe560e3c617b26261739450a2d96403eb | 84 | rb | Ruby | lib/mina/hooks/version.rb | elskwid/mina-hooks | 51abffa10fdb7e43c15ccf7bde518b44d1db3e7e | [
"MIT"
] | 10 | 2015-03-31T21:37:16.000Z | 2021-06-03T18:45:48.000Z | lib/mina/hooks/version.rb | elskwid/mina-hooks | 51abffa10fdb7e43c15ccf7bde518b44d1db3e7e | [
"MIT"
] | 3 | 2015-01-23T09:13:09.000Z | 2017-07-16T13:54:10.000Z | lib/mina/hooks/version.rb | elskwid/mina-hooks | 51abffa10fdb7e43c15ccf7bde518b44d1db3e7e | [
"MIT"
] | 8 | 2015-12-24T06:17:23.000Z | 2018-11-19T12:35:29.000Z | module Mina
module Hooks
# mina-hooks version
VERSION = "0.2.1"
end
end
| 12 | 24 | 0.630952 |
29077d6526e6872758f4f7ff19d3e36abd645065 | 3,452 | py | Python | sobi_route_to_gpx.py | loisaidasam/sobi-save-to-strava | cc9958d699dc266fc6f1cdde0bec570da901b531 | [
"MIT"
] | null | null | null | sobi_route_to_gpx.py | loisaidasam/sobi-save-to-strava | cc9958d699dc266fc6f1cdde0bec570da901b531 | [
"MIT"
] | null | null | null | sobi_route_to_gpx.py | loisaidasam/sobi-save-to-strava | cc9958d699dc266fc6f1cdde0bec570da901b531 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import argparse
import datetime
import json
import gpxpy.gpx
import pytz
TIMEZONE_DEFAULT = 'America/New_York'
# This is the `gpxpy`'s default `creator` value:
# CREATOR_DEFAULT = 'gpx.py -- https://github.com/tkrajina/gpxpy'
# TODO: Come up with our own, something like this:
# CREATOR_DEFAUL... | 29.008403 | 104 | 0.628331 |
40d2360d3963958839c90bdfd05ac309545e2583 | 463 | html | HTML | themes/vocabulary_theme/templates/authors.html | Aakash2408/creativecommons.github.io-source | cb9c138de69d29be85061525318027bba9100e01 | [
"MIT"
] | 70 | 2019-03-06T16:16:07.000Z | 2022-03-15T22:41:12.000Z | themes/vocabulary_theme/templates/authors.html | Aakash2408/creativecommons.github.io-source | cb9c138de69d29be85061525318027bba9100e01 | [
"MIT"
] | 326 | 2019-01-31T16:44:44.000Z | 2022-03-09T21:59:07.000Z | themes/vocabulary_theme/templates/authors.html | Aakash2408/creativecommons.github.io-source | cb9c138de69d29be85061525318027bba9100e01 | [
"MIT"
] | 158 | 2019-02-08T13:37:32.000Z | 2022-03-15T22:41:18.000Z | {% extends "layout.html" %}
{% from "macros/authors.html" import render_authors %}
{% block title %} Authors {% endblock %}
{% block body %}
<div class="all-authors">
<div class="header">
<h1 class="container">Authors</h1>
</div>
<div class="authors-list">
<div class="container">
<d... | 22.047619 | 54 | 0.561555 |
749824db1f395d734cf6936f24ff4c0576d41c00 | 470 | rs | Rust | src/html/frontend/tag.rs | axumrs/axum-rs | 019b0df81f7dad76dac93708a2b8072465d27053 | [
"MIT"
] | 6 | 2021-11-09T13:32:10.000Z | 2022-03-16T05:52:13.000Z | src/html/frontend/tag.rs | axumrs/axum-rs | 019b0df81f7dad76dac93708a2b8072465d27053 | [
"MIT"
] | 1 | 2021-11-09T13:30:05.000Z | 2022-01-01T05:59:38.000Z | src/html/frontend/tag.rs | axumrs/axum-rs | 019b0df81f7dad76dac93708a2b8072465d27053 | [
"MIT"
] | 2 | 2021-12-14T15:11:23.000Z | 2022-01-15T05:48:26.000Z | use askama::Template;
use crate::{
db::pagination::Pagination,
model::{SubjectTopicWithTagsAndTopicSummary, Tag},
};
#[derive(Template)]
#[template(path = "frontend/tag/index.html")]
pub struct IndexTemplate {
pub tags: Vec<Tag>,
}
#[derive(Template)]
#[template(path = "frontend/tag/topics.html")]
pub str... | 22.380952 | 67 | 0.697872 |
3f458a8c47f6ff21107209d52cbedab142c64a3f | 769 | swift | Swift | VietNamToGo/Models/Places/Places+CoreDataProperties.swift | frtlupsvn/Vietnam-To-Go | be011dcd6b4b26108ff48799529f114cbae60f72 | [
"MIT"
] | null | null | null | VietNamToGo/Models/Places/Places+CoreDataProperties.swift | frtlupsvn/Vietnam-To-Go | be011dcd6b4b26108ff48799529f114cbae60f72 | [
"MIT"
] | null | null | null | VietNamToGo/Models/Places/Places+CoreDataProperties.swift | frtlupsvn/Vietnam-To-Go | be011dcd6b4b26108ff48799529f114cbae60f72 | [
"MIT"
] | null | null | null | //
// Places+CoreDataProperties.swift
// Fuot
//
// Created by Zoom Nguyen on 1/4/16.
// Copyright © 2016 Zoom Nguyen. All rights reserved.
//
// Choose "Create NSManagedObject Subclass…" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model.
//
import Foundatio... | 26.517241 | 76 | 0.728218 |
d27b3d81ae52dca9394cf68d2dcc2d16d4c09750 | 4,826 | php | PHP | models/MArticle.php | yjhu/wowewe | 176519a44a329bf611576683cac238845ac3e8e5 | [
"BSD-3-Clause"
] | 1 | 2017-04-12T13:16:03.000Z | 2017-04-12T13:16:03.000Z | models/MArticle.php | yjhu/wowewe | 176519a44a329bf611576683cac238845ac3e8e5 | [
"BSD-3-Clause"
] | 1 | 2015-10-16T09:33:24.000Z | 2015-10-16T09:33:24.000Z | models/MArticle.php | yjhu/wowewe | 176519a44a329bf611576683cac238845ac3e8e5 | [
"BSD-3-Clause"
] | 2 | 2016-01-30T17:59:03.000Z | 2021-08-29T10:14:58.000Z | <?php
namespace app\models;
use Yii;
use yii\helpers\Url;
use yii\helpers\FileHelper;
use yii\imagine\Image;
use app\models\MArticle;
use app\models\MArticleMultArticle;
/*
DROP TABLE IF EXISTS wx_article;
CREATE TABLE IF NOT EXISTS wx_article (
gh_id VARCHAR(32) NOT NULL DEFAULT '',
article_id int(10) unsi... | 30.738854 | 251 | 0.581641 |
5b87b5b4b6d6f7b5453617ce38299c233cc53ebc | 3,377 | swift | Swift | KCD/CommandRegister.swift | masakih/KCD | fa6a0a0b51735ab1f9a4caef2dc9bad3ec09bd9e | [
"BSD-2-Clause"
] | null | null | null | KCD/CommandRegister.swift | masakih/KCD | fa6a0a0b51735ab1f9a4caef2dc9bad3ec09bd9e | [
"BSD-2-Clause"
] | null | null | null | KCD/CommandRegister.swift | masakih/KCD | fa6a0a0b51735ab1f9a4caef2dc9bad3ec09bd9e | [
"BSD-2-Clause"
] | null | null | null | //
// CommandRegister.swift
// KCD
//
// Created by Hori,Masaki on 2017/01/08.
// Copyright © 2017年 Hori,Masaki. All rights reserved.
//
import Cocoa
enum JSONCommandError: Error {
case canNotFindCommand
}
final class CommandRegister {
private static var registeredClasses: [JSONCommand.Type] = ... | 32.161905 | 98 | 0.645247 |
a194e83b82f05d3c3cacd302ad01bd0ce7a8bef8 | 728 | h | C | sdk/engine/include/ui/IUI.h | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | null | null | null | sdk/engine/include/ui/IUI.h | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | 3 | 2022-03-26T15:14:43.000Z | 2022-03-27T16:12:53.000Z | sdk/engine/include/ui/IUI.h | NcStudios/NcEngine | ce04eca00211b50188d80e59604bfa67bb9c15b6 | [
"MIT"
] | null | null | null | #pragma once
#include "UIElement.h"
namespace nc::ui
{
/** @note For internal use only. Derived classes should
* inherit from UIFlexible or UIFixed. */
class IUI
{
public:
virtual ~IUI() = default;
virtual void Draw() = 0;
virtual bool IsHovered() = 0;
... | 21.411765 | 60 | 0.512363 |
85fd01be825199cfec5c725b39b000a536ea4a5a | 548 | h | C | 大麦/Classes/Show/Model/ShowRequestModel.h | LoveZYForever/DaMai | 70cbf4a58610cc08d2eb535126c8bf3e7150d9d4 | [
"MIT"
] | 1 | 2021-01-19T14:48:44.000Z | 2021-01-19T14:48:44.000Z | 大麦/Classes/Show/Model/ShowRequestModel.h | SilenceLove/DaMai | 70cbf4a58610cc08d2eb535126c8bf3e7150d9d4 | [
"MIT"
] | null | null | null | 大麦/Classes/Show/Model/ShowRequestModel.h | SilenceLove/DaMai | 70cbf4a58610cc08d2eb535126c8bf3e7150d9d4 | [
"MIT"
] | 1 | 2019-11-02T06:13:18.000Z | 2019-11-02T06:13:18.000Z | //
// ShowRequestModel.h
// 大麦
//
// Created by 洪欣 on 16/12/21.
// Copyright © 2016年 洪欣. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ShowRequestModel : NSObject
@property (copy, nonatomic) NSString *EndTime;
@property (copy, nonatomic) NSString *StartTime;
@property (copy, nonatomic) NSSt... | 26.095238 | 48 | 0.724453 |
06de4c69da31f4cc50133fdaaaf6307f7a57885b | 302 | sql | SQL | Aula3/handsOn_03C.sql | arthurnovello/Banco-de-Dados-2019 | e0ef70d8d10400d02b0316ca40d0888466b142e0 | [
"MIT"
] | 2 | 2019-03-22T13:02:07.000Z | 2019-04-20T17:58:15.000Z | Aula3/handsOn_03C.sql | arthurnovello/Banco-de-Dados-2019 | e0ef70d8d10400d02b0316ca40d0888466b142e0 | [
"MIT"
] | null | null | null | Aula3/handsOn_03C.sql | arthurnovello/Banco-de-Dados-2019 | e0ef70d8d10400d02b0316ca40d0888466b142e0 | [
"MIT"
] | null | null | null | CREATE TABLE TABG (
V1 CHAR (20),
V2 VARCHAR (20),
V3 INT PRIMARY KEY
);
INSERT INTO TABG VALUES ('MAUA', 'COMP', 10);
INSERT INTO TABG VALUES ('ABC', 'XY', 23);
INSERT INTO TABG VALUES ('ANA', 'PAULO', 25);
INSERT INTO TABG VALUES ('PEDRO', 'JOSE', 34);
INSERT INTO TABG VALUES ('SOUZA', 'IVO', 5); | 30.2 | 46 | 0.649007 |
67aa911286e2e7bef378176953f4c5827368dcba | 14,289 | swift | Swift | Turn Touch iOS/Modes/Ifttt/TTModeIfttt.swift | samuelclay/turntouch-ios | f0cc0e3819cd1e7ca568c4fe55c37c8dddad02ff | [
"MIT"
] | 8 | 2019-01-06T15:38:15.000Z | 2021-07-31T15:19:08.000Z | Turn Touch iOS/Modes/Ifttt/TTModeIfttt.swift | samuelclay/turntouch-ios | f0cc0e3819cd1e7ca568c4fe55c37c8dddad02ff | [
"MIT"
] | 10 | 2019-07-31T23:35:51.000Z | 2020-11-19T00:45:01.000Z | Turn Touch iOS/Modes/Ifttt/TTModeIfttt.swift | samuelclay/turntouch-ios | f0cc0e3819cd1e7ca568c4fe55c37c8dddad02ff | [
"MIT"
] | null | null | null | //
// TTModeIfttt.swift
// Turn Touch iOS
//
// Created by Samuel Clay on 12/30/16.
// Copyright © 2016 Turn Touch. All rights reserved.
//
import UIKit
import SafariServices
import Alamofire
struct TTModeIftttConstants {
static let kIftttUserIdKey = "TT:IFTTT:shared_user_id"
static let kIftttDeviceIdKey ... | 44.653125 | 186 | 0.549794 |
9fbdfcd96c506100d29ce99bbb75354826b034c8 | 155 | kt | Kotlin | addscreen/src/main/java/kekmech/ru/addscreen/parser/ParserSchedule.kt | mazuninky/mpeiapp | ab24976df01c1cc469e0aaffaa515c3ffc9554ae | [
"MIT"
] | 1 | 2019-11-11T21:48:27.000Z | 2019-11-11T21:48:27.000Z | addscreen/src/main/java/kekmech/ru/addscreen/parser/ParserSchedule.kt | mazuninky/mpeiapp | ab24976df01c1cc469e0aaffaa515c3ffc9554ae | [
"MIT"
] | null | null | null | addscreen/src/main/java/kekmech/ru/addscreen/parser/ParserSchedule.kt | mazuninky/mpeiapp | ab24976df01c1cc469e0aaffaa515c3ffc9554ae | [
"MIT"
] | null | null | null | package kekmech.ru.addscreen.parser
import java.util.*
data class ParserSchedule(
val couples: List<ParserCouple>,
val firstCoupleDay: Calendar
) | 19.375 | 36 | 0.767742 |
9176edc93dfca6921fdf1566bee73219f335a940 | 525 | html | HTML | lib/naas/index.html | herry13/nuri | 6d3468f5213f60eebc82d8a3bd5960257fd33b4b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/naas/index.html | herry13/nuri | 6d3468f5213f60eebc82d8a3bd5960257fd33b4b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | lib/naas/index.html | herry13/nuri | 6d3468f5213f60eebc82d8a3bd5960257fd33b4b | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | <html>
<head>
<title>Nuri as a Service</title>
<script src="jquery.js"></script>
<script src="d3.js"></script>
<script src="index.js"></script>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div id="menu">
<a href="javascript:menu.specification();">Specification</a> |
<a h... | 27.631579 | 65 | 0.617143 |
c2ab6b80352bdaf18ba263127e7a1ae61cf8030d | 4,164 | go | Go | cmd/root.go | paul-nelson-baker/git-export-zip | 491494043f0424a90cdbb1dfd275a166dc62bf30 | [
"MIT"
] | null | null | null | cmd/root.go | paul-nelson-baker/git-export-zip | 491494043f0424a90cdbb1dfd275a166dc62bf30 | [
"MIT"
] | null | null | null | cmd/root.go | paul-nelson-baker/git-export-zip | 491494043f0424a90cdbb1dfd275a166dc62bf30 | [
"MIT"
] | null | null | null | /*
Copyright © 2020 Paul Nelson Baker
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, distribute,... | 33.580645 | 115 | 0.722863 |
c228ea7c961c10919d6b2957c364cbb87abecf9a | 5,367 | go | Go | generate_test.go | ismailmustafa/derivatex | 10616d1071af34d435d1e08fb20f6e806c9d85f3 | [
"MIT"
] | null | null | null | generate_test.go | ismailmustafa/derivatex | 10616d1071af34d435d1e08fb20f6e806c9d85f3 | [
"MIT"
] | null | null | null | generate_test.go | ismailmustafa/derivatex | 10616d1071af34d435d1e08fb20f6e806c9d85f3 | [
"MIT"
] | null | null | null | package main
import (
"math/rand"
"reflect"
"testing"
)
func Test_byteInBounds(t *testing.T) {
cases := []struct {
b byte
bounds []byteBounds
in bool
}{
{
byte(33),
[]byteBounds{byteBounds{33, 47}, byteBounds{58, 64}},
true,
},
{
byte(40),
[]byteBounds{byteBounds{33, 47}, byte... | 19.659341 | 128 | 0.575182 |
8b4e81bf66c881cdb3da71fd3c7cd5fac1ccab3e | 7,557 | sql | SQL | db/sql/4347__create_view_vipunentk_sa_v_sa_6_3_Koulutuksen_jarjestajan_koko.sql | CSCfi/antero | e762c09e395cb01e334f2a04753ba983107ac7d7 | [
"MIT"
] | 6 | 2017-08-03T08:49:17.000Z | 2021-11-14T17:09:27.000Z | db_archive/sql_archive/4347__create_view_vipunentk_sa_v_sa_6_3_Koulutuksen_jarjestajan_koko.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 3 | 2017-05-03T08:45:42.000Z | 2020-10-27T06:30:40.000Z | db_archive/sql_archive/4347__create_view_vipunentk_sa_v_sa_6_3_Koulutuksen_jarjestajan_koko.sql | CSC-IT-Center-for-Science/antero | 2835d7fd07cd7399a348033a6230d1b16634fb3b | [
"MIT"
] | 4 | 2017-10-19T11:31:43.000Z | 2022-01-05T14:53:57.000Z | USE [Vipunen_koodisto]
GO
/****** Object: View [dbo].[v_koulutuksen_jarjestaja_koko] Script Date: 12.1.2021 6:16:45 ******/
DROP VIEW IF EXISTS [dbo].[v_koulutuksen_jarjestaja_koko]
GO
USE [VipunenTK_SA]
GO
DROP VIEW IF EXISTS [dbo].[v_sa_6_3_Koulutuksen_jarjestajan_koko]
GO
/****** Object: View [dbo].[v_koulu... | 20.933518 | 256 | 0.547042 |
1a6e6a5983baee1c69f3bc6141f2d66e2c57dde8 | 10,637 | rs | Rust | marwood/tests/core.rs | strtok/marwood | 21b80ec1373ea6520bac5c02cf136fc4d88e31d3 | [
"Apache-2.0",
"MIT"
] | 11 | 2022-01-02T22:29:17.000Z | 2022-03-06T21:32:54.000Z | marwood/tests/core.rs | strtok/lisp | 2a33501c603beebfe000c40f9da681185ecf3662 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-02-23T20:50:58.000Z | 2022-02-24T17:15:36.000Z | marwood/tests/core.rs | strtok/marwood | 21b80ec1373ea6520bac5c02cf136fc4d88e31d3 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-12-29T04:08:46.000Z | 2021-12-29T04:08:46.000Z | #[macro_use]
mod common;
use marwood::cell;
use marwood::cell::Cell;
use marwood::error::Error::{
InvalidProcedure, InvalidSyntax, InvalidUsePrimitive, UnquotedNil, VariableNotBound,
};
use marwood::lex;
use marwood::parse;
use marwood::vm::Vm;
#[test]
fn comments() {
evals![
"1 ;number one" => "1",
... | 25.447368 | 112 | 0.401805 |
13b38c81cc394ace948b979f1b0686c4c17c9439 | 1,861 | swift | Swift | MasterProject/Extensions/Dictionary+Extensions.swift | satishbabariya/swift-boilerplate | 1992600835b34110d8dc0d0dd737a36bb2624fe8 | [
"MIT"
] | 16 | 2019-08-13T09:12:41.000Z | 2022-02-27T18:53:07.000Z | MasterProject/Extensions/Dictionary+Extensions.swift | mohsinalimat/swift-boilerplate | e152a5143f73a069f8bdbad1315b4f640bc9d179 | [
"MIT"
] | 1 | 2021-03-26T17:18:57.000Z | 2021-05-22T12:38:23.000Z | MasterProject/Extensions/Dictionary+Extensions.swift | mohsinalimat/swift-boilerplate | e152a5143f73a069f8bdbad1315b4f640bc9d179 | [
"MIT"
] | 3 | 2019-10-15T07:29:59.000Z | 2020-10-12T06:21:52.000Z | //
// Dictionary+Extensions.swift
// MasterProject
//
// Created by Satish Babariya on 28/12/18.
// Copyright © 2018 Satish Babariya. All rights reserved.
//
import Foundation
extension Dictionary {
/// Dictionary to JSON String
///
/// - Returns: jsonstring
public func JSONString() -> String {
... | 29.078125 | 137 | 0.635142 |
fb0c25e68fda72ee1b757549d5ad80faf08c2736 | 1,058 | go | Go | internal/paths_test.go | neolit123/pkgsite | 28de4e97f3da23622300a23848ba9dea3f8e6900 | [
"BSD-3-Clause"
] | 1 | 2021-06-29T00:24:17.000Z | 2021-06-29T00:24:17.000Z | internal/paths_test.go | neolit123/pkgsite | 28de4e97f3da23622300a23848ba9dea3f8e6900 | [
"BSD-3-Clause"
] | 3 | 2022-01-15T03:42:44.000Z | 2022-03-30T05:43:34.000Z | internal/paths_test.go | neolit123/pkgsite | 28de4e97f3da23622300a23848ba9dea3f8e6900 | [
"BSD-3-Clause"
] | 1 | 2020-08-14T04:29:27.000Z | 2020-08-14T04:29:27.000Z | // Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package internal
import (
"testing"
"github.com/google/go-cmp/cmp"
)
func TestCandidateModulePaths(t *testing.T) {
for _, test := range []struct {
in ... | 21.591837 | 72 | 0.60775 |
bccdb6b11daa6429e5f3570b4e61d917ab15d02f | 596 | js | JavaScript | webgl/source/test/sky/geometryfactoryquadposuv.js | DavidCoenFish/chica | 8233ec08ebd8ddd8ce33b909cfab61515c7085ff | [
"Unlicense"
] | null | null | null | webgl/source/test/sky/geometryfactoryquadposuv.js | DavidCoenFish/chica | 8233ec08ebd8ddd8ce33b909cfab61515c7085ff | [
"Unlicense"
] | null | null | null | webgl/source/test/sky/geometryfactoryquadposuv.js | DavidCoenFish/chica | 8233ec08ebd8ddd8ce33b909cfab61515c7085ff | [
"Unlicense"
] | null | null | null | import {Model} from "./../../components/webgl/resource/model/model.js";
import {DataStream} from "./../../components/webgl/resource/model/datastream.js";
export const geometryFactoryQuadPosUv = function(in_context){
return in_context.createModel(
Model.modeEnum.triangles,
6,
[
new DataStream(
"a_position... | 16.555556 | 81 | 0.511745 |
547010772d840b6845ea3edaa92900076bfde14c | 3,105 | go | Go | internal/xmlParser/node.go | lightSoulDev/pixi-xml-test-compiler | 3462ca150ef58101b6364c123d8062bbc904aab3 | [
"MIT"
] | null | null | null | internal/xmlParser/node.go | lightSoulDev/pixi-xml-test-compiler | 3462ca150ef58101b6364c123d8062bbc904aab3 | [
"MIT"
] | null | null | null | internal/xmlParser/node.go | lightSoulDev/pixi-xml-test-compiler | 3462ca150ef58101b6364c123d8062bbc904aab3 | [
"MIT"
] | null | null | null | package xmlParser
import (
"encoding/xml"
"fmt"
"strings"
)
type Node struct {
XMLName xml.Name
Attrs []xml.Attr `xml:",any,attr"`
Content []byte `xml:",innerxml"`
Nodes []Node `xml:",any"`
Module string
}
func (x *XmlParser) nodeXml(n *Node, depth int) string {
if len(n.Nodes) == 0 {
return ... | 19.528302 | 99 | 0.582609 |
85ca7e185c0f141c7f2114c5c7766ec424c82137 | 138 | js | JavaScript | templates/react/default/entities/Characters/api.js | wintercounter/mhy-boot | 166a6cd511fcd66981e17bddbc37753b59f523ca | [
"MIT"
] | 1 | 2018-10-17T12:44:28.000Z | 2018-10-17T12:44:28.000Z | templates/react/default/entities/Characters/api.js | wintercounter/mhy-boot | 166a6cd511fcd66981e17bddbc37753b59f523ca | [
"MIT"
] | 4 | 2018-10-17T09:00:04.000Z | 2018-10-18T07:59:08.000Z | templates/react/default/entities/Characters/api.js | wintercounter/mhy-boot | 166a6cd511fcd66981e17bddbc37753b59f523ca | [
"MIT"
] | 1 | 2018-10-17T07:06:55.000Z | 2018-10-17T07:06:55.000Z | import { RickAndMorty } from '@services'
export const getCharacter = (opt = {}) => RickAndMorty('character', opt) // eslint-disable-line
| 34.5 | 95 | 0.702899 |
6294c5752e18359c58f9cb995f0587e746d15dbd | 8,767 | rs | Rust | dora/src/os/allocator.rs | ashwanidausodia/dora | 265a8fe38570f3e4c83541db40f7400941a10283 | [
"MIT"
] | null | null | null | dora/src/os/allocator.rs | ashwanidausodia/dora | 265a8fe38570f3e4c83541db40f7400941a10283 | [
"MIT"
] | 1 | 2019-03-22T22:25:17.000Z | 2019-03-22T22:25:17.000Z | dora/src/os/allocator.rs | soc/dora | 7ccf8e0f755694a8b05c789bde3087526fe39ca9 | [
"MIT"
] | null | null | null | use std::ptr;
use crate::gc::Address;
use crate::mem;
use crate::os::page_size;
#[cfg(target_family = "unix")]
fn reserve(size: usize) -> Address {
debug_assert!(mem::is_page_aligned(size));
let ptr = unsafe {
libc::mmap(
ptr::null_mut(),
size,
libc::PROT_NONE,
... | 25.33815 | 93 | 0.611155 |
d1e14f018361940a4c1f3a40f13d6997caee2071 | 253 | rs | Rust | lightproc/tests/stack.rs | rtyler/bastion | c0f555ca583ab14e20cec1af88eab57fb49f4b56 | [
"Apache-2.0",
"MIT"
] | null | null | null | lightproc/tests/stack.rs | rtyler/bastion | c0f555ca583ab14e20cec1af88eab57fb49f4b56 | [
"Apache-2.0",
"MIT"
] | null | null | null | lightproc/tests/stack.rs | rtyler/bastion | c0f555ca583ab14e20cec1af88eab57fb49f4b56 | [
"Apache-2.0",
"MIT"
] | null | null | null | use lightproc::proc_stack::ProcStack;
#[test]
fn stack_copy() {
let stack = ProcStack::default().with_pid(12).with_after_panic(|| {
println!("After panic!");
});
let stack2 = stack.clone();
assert_eq!(stack2.get_pid(), 12);
}
| 19.461538 | 71 | 0.620553 |
5f8b552a189f94c9db7a96f7f8001bf55b218bb3 | 1,233 | h | C | src/specex_gauss_hermite_psf.h | tskisner/specex | c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2 | [
"BSD-3-Clause"
] | null | null | null | src/specex_gauss_hermite_psf.h | tskisner/specex | c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2 | [
"BSD-3-Clause"
] | 39 | 2016-06-17T19:58:17.000Z | 2022-01-07T00:11:25.000Z | src/specex_gauss_hermite_psf.h | tskisner/specex | c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2 | [
"BSD-3-Clause"
] | 4 | 2016-06-16T17:43:38.000Z | 2021-07-18T16:32:34.000Z | #ifndef SPECEX_GAUSS_HERMITE_PSF__H
#define SPECEX_GAUSS_HERMITE_PSF__H
#include "specex_psf.h"
#include <string>
#include <vector>
namespace specex {
class GaussHermitePSF : public PSF {
protected :
int degree;
public :
typedef std::shared_ptr <GaussHermitePSF> pshr;
GaussHermitePSF(... | 21.631579 | 63 | 0.662612 |
437c2d3b7451ddf8b6dae3266a9ad8f7118fd370 | 2,418 | go | Go | operator/pkg/client/namespaces.go | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 292 | 2019-11-20T17:11:17.000Z | 2021-07-16T10:34:32.000Z | operator/pkg/client/namespaces.go | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 89 | 2019-11-22T15:03:30.000Z | 2020-05-29T19:28:40.000Z | operator/pkg/client/namespaces.go | MikaelSmith/kotsadm | 8e06a3805a9f8be42d8cac9a636d3b8126aa1018 | [
"Apache-2.0"
] | 7 | 2020-01-15T05:21:29.000Z | 2021-07-22T16:07:59.000Z | package client
import (
"log"
"github.com/pkg/errors"
corev1 "k8s.io/api/core/v1"
kuberneteserrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/informers"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/kubernetes/scheme"
"k8s.io/client-go/rest"
"k8s.i... | 24.927835 | 109 | 0.666253 |
7b90d3960038dcdb48e9ac2483712396354d84bb | 14,350 | sql | SQL | sql file/metorik-dashboard.sql | GemsPatel/admin-theme-setup | f48c69860c69daa81bbfccc88569f3be0b39b3e2 | [
"MIT"
] | null | null | null | sql file/metorik-dashboard.sql | GemsPatel/admin-theme-setup | f48c69860c69daa81bbfccc88569f3be0b39b3e2 | [
"MIT"
] | null | null | null | sql file/metorik-dashboard.sql | GemsPatel/admin-theme-setup | f48c69860c69daa81bbfccc88569f3be0b39b3e2 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.6.6deb5
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 28, 2020 at 05:02 PM
-- Server version: 5.7.28-0ubuntu0.19.04.2
-- PHP Version: 7.2.26-1+ubuntu19.04.1+deb.sury.org+1
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!4010... | 38.994565 | 296 | 0.657282 |
26b18266bc367e2d62b3746e80c216070ebd81fb | 3,433 | java | Java | z-kkb-netty-demo/09-tomcat/src/main/java/com/abc/tomcat/TomcatServer.java | su787910081/netty | 26438b53b18b4ed9673b4398c2d02d4ae185a5fe | [
"Apache-2.0"
] | null | null | null | z-kkb-netty-demo/09-tomcat/src/main/java/com/abc/tomcat/TomcatServer.java | su787910081/netty | 26438b53b18b4ed9673b4398c2d02d4ae185a5fe | [
"Apache-2.0"
] | null | null | null | z-kkb-netty-demo/09-tomcat/src/main/java/com/abc/tomcat/TomcatServer.java | su787910081/netty | 26438b53b18b4ed9673b4398c2d02d4ae185a5fe | [
"Apache-2.0"
] | null | null | null | package com.abc.tomcat;
import com.abc.servnet.Servnet;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.codec.http.HttpSe... | 35.391753 | 107 | 0.60268 |
d2e0be744bf0a2efe7a9dde024f3632a10ad9380 | 4,203 | php | PHP | resources/views/post.blade.php | limsenkeat/learnlaravel-blog | 6fefcabd540ffda4635020f0b06c9927cfcc6237 | [
"MIT"
] | null | null | null | resources/views/post.blade.php | limsenkeat/learnlaravel-blog | 6fefcabd540ffda4635020f0b06c9927cfcc6237 | [
"MIT"
] | 6 | 2020-05-05T17:49:53.000Z | 2022-02-27T04:12:25.000Z | resources/views/post.blade.php | limsenkeat/learnlaravel-blog | 6fefcabd540ffda4635020f0b06c9927cfcc6237 | [
"MIT"
] | null | null | null | @extends('layouts.home')
@section('external_css')
<link href="{{asset('css/blog-post.css')}}" rel="stylesheet">
@endsection
@section('content')
<!-- Title -->
<h1 class="mt-4">{{$post->title}}</h1>
<!-- Author -->
<p class="lead">
by
<a href="#">{{$post->user->name}}</a>
</p>
<hr>
<!-- Date/Time -->
<p>... | 35.618644 | 150 | 0.489888 |
cb533c32980e6093857b7b00c79c1eac2dbbf6a2 | 38,458 | html | HTML | plain/chapter11/instance.html | c10342/typescript-axios | e12105cf8177d2dac0072a8b8e8c49aca41ab37f | [
"MIT"
] | null | null | null | plain/chapter11/instance.html | c10342/typescript-axios | e12105cf8177d2dac0072a8b8e8c49aca41ab37f | [
"MIT"
] | null | null | null | plain/chapter11/instance.html | c10342/typescript-axios | e12105cf8177d2dac0072a8b8e8c49aca41ab37f | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Axios 实例模块单元测试 | TypeScript 从零实现 axios</title>
<meta name="description" content="学习使用 TypeScript 从零实现 axios 库">
<link rel="preload" href="/assets/c... | 211.307692 | 7,571 | 0.710177 |
a1bbc1bfa4638bc758b8f7470c6802b1b8f58046 | 326 | go | Go | api/controller/controller.go | mylxsw/wizard-personal | a18d6c55bdc9e2e333c85c62009f0b09610ad214 | [
"MIT"
] | null | null | null | api/controller/controller.go | mylxsw/wizard-personal | a18d6c55bdc9e2e333c85c62009f0b09610ad214 | [
"MIT"
] | 1 | 2020-05-11T06:21:32.000Z | 2020-05-11T06:21:32.000Z | api/controller/controller.go | mylxsw/wizard-personal | a18d6c55bdc9e2e333c85c62009f0b09610ad214 | [
"MIT"
] | null | null | null | package controller
import "github.com/pkg/errors"
type OperationResponse struct {
Message string `json:"message"`
}
func Success() (*OperationResponse, error) {
return &OperationResponse{Message: "操作成功"}, nil
}
func Error(err error, message string) (*OperationResponse, error) {
return nil, errors.Wrap(err, messa... | 20.375 | 67 | 0.745399 |
9dcdeab5a42bcc9bbc484e7e418f4bce890da817 | 2,887 | kt | Kotlin | inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/quantization/DequantizeLinear.kt | JetBrains-Research/kotlin-inference | 65ac98cfcb1d9f996fc389001fc84a3536e59e28 | [
"Apache-2.0"
] | 1 | 2020-05-07T00:17:20.000Z | 2020-05-07T00:17:20.000Z | inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/quantization/DequantizeLinear.kt | JetBrains-Research/kotlin-inference | 65ac98cfcb1d9f996fc389001fc84a3536e59e28 | [
"Apache-2.0"
] | null | null | null | inference/inference-core/src/commonMain/kotlin/io/kinference.core/operators/quantization/DequantizeLinear.kt | JetBrains-Research/kotlin-inference | 65ac98cfcb1d9f996fc389001fc84a3536e59e28 | [
"Apache-2.0"
] | null | null | null | package io.kinference.core.operators.quantization
import io.kinference.attribute.Attribute
import io.kinference.core.data.tensor.KITensor
import io.kinference.core.data.tensor.asTensor
import io.kinference.data.ONNXData
import io.kinference.graph.Contexts
import io.kinference.ndarray.arrays.NumberNDArray
import io.kin... | 47.327869 | 203 | 0.72151 |
2cb4c0b1df7e272bcc35772887e4f8e04647067c | 118 | kt | Kotlin | delivery-app/delivery-domain/src/main/kotlin/mija/hex/domain/delivery/port/primary/DeliveryCommandService.kt | jacol84/mija-hex | 061e017be49a1f9f5a04df6e159362ffe0425c21 | [
"MIT"
] | 1 | 2020-06-12T12:00:32.000Z | 2020-06-12T12:00:32.000Z | delivery-app/delivery-domain/src/main/kotlin/mija/hex/domain/delivery/port/primary/DeliveryCommandService.kt | jacol84/mija-hex | 061e017be49a1f9f5a04df6e159362ffe0425c21 | [
"MIT"
] | 2 | 2020-06-05T16:45:54.000Z | 2020-06-05T16:56:53.000Z | delivery-app/delivery-domain/src/main/kotlin/mija/hex/domain/delivery/port/primary/DeliveryCommandService.kt | jacol84/mija-hex | 061e017be49a1f9f5a04df6e159362ffe0425c21 | [
"MIT"
] | null | null | null | package mija.hex.domain.delivery.port.primary
interface DeliveryCommandService {
fun deliverOrder(orderId: Int)
} | 23.6 | 45 | 0.805085 |
384e3c037447b3c7a6b2c45b5112213d7760a28a | 980 | kt | Kotlin | src/main/kotlin/org/test/Bootstrap.kt | mvysny/vaadin-coroutines-demo | 7bc5d0099e5b6233d6e9addef6cf8a406421b9a2 | [
"MIT"
] | 5 | 2017-12-18T14:43:10.000Z | 2022-01-16T16:40:29.000Z | src/main/kotlin/org/test/Bootstrap.kt | mvysny/vaadin-coroutines-demo | 7bc5d0099e5b6233d6e9addef6cf8a406421b9a2 | [
"MIT"
] | 3 | 2020-10-29T07:13:50.000Z | 2022-03-30T06:16:12.000Z | src/main/kotlin/org/test/Bootstrap.kt | mvysny/vaadin-coroutines-demo | 7bc5d0099e5b6233d6e9addef6cf8a406421b9a2 | [
"MIT"
] | 2 | 2019-03-18T11:40:01.000Z | 2021-01-12T23:09:11.000Z | package org.test
import com.vaadin.flow.component.notification.Notification
import com.vaadin.flow.component.notification.NotificationVariant
import com.vaadin.flow.server.ErrorHandler
import com.vaadin.flow.server.ServiceInitEvent
import com.vaadin.flow.server.VaadinServiceInitListener
import org.slf4j.Logger
import ... | 36.296296 | 114 | 0.706122 |
7478e1566a003a7252637ba7df239d0382f53cca | 42,946 | h | C | PersistentList.h | spratt/PersistentList | 4f2f5b8beddfb86e22cc824cff76dad63cc6e88c | [
"0BSD"
] | 2 | 2016-04-18T05:29:25.000Z | 2016-06-17T05:47:36.000Z | PersistentList.h | spratt/PersistentList | 4f2f5b8beddfb86e22cc824cff76dad63cc6e88c | [
"0BSD"
] | null | null | null | PersistentList.h | spratt/PersistentList | 4f2f5b8beddfb86e22cc824cff76dad63cc6e88c | [
"0BSD"
] | null | null | null | //-*- mode: c++ -*-////////////////////////////////////////////////////////////
// Copyright (c) 2011 - 2012 by //
// Simon Pratt //
// (All rights reserved) //
... | 55.919271 | 83 | 0.243818 |
55925e1b90b547f8461608004ad2ef613aa36249 | 177 | html | HTML | src/main/resources/static/501.html | ser1103/PlainServer | eb04d3f55ed2f23ac03444a8adb165a54649a299 | [
"MIT"
] | null | null | null | src/main/resources/static/501.html | ser1103/PlainServer | eb04d3f55ed2f23ac03444a8adb165a54649a299 | [
"MIT"
] | null | null | null | src/main/resources/static/501.html | ser1103/PlainServer | eb04d3f55ed2f23ac03444a8adb165a54649a299 | [
"MIT"
] | null | null | null | <html>
<head><title>Error</title></head>
<body>
<h2>Error: 501 Not Implemented</h2>
<p>Oops! It seems that you send not supported operation, try again.</p>
</body>
</html> | 25.285714 | 72 | 0.666667 |
bee4832c20bb1bf45dec3918bc94c0a089401196 | 1,163 | html | HTML | _layouts/agency.html | DaveSkender/pif-website | f69960f6b8aae535507b5e6bfdff665cca55cd61 | [
"CC0-1.0"
] | 16 | 2016-03-12T01:59:15.000Z | 2022-03-03T14:58:41.000Z | _layouts/agency.html | DaveSkender/pif-website | f69960f6b8aae535507b5e6bfdff665cca55cd61 | [
"CC0-1.0"
] | 129 | 2015-08-31T17:21:10.000Z | 2022-03-30T21:15:22.000Z | _layouts/agency.html | DaveSkender/pif-website | f69960f6b8aae535507b5e6bfdff665cca55cd61 | [
"CC0-1.0"
] | 70 | 2015-10-03T21:45:52.000Z | 2022-03-14T21:01:04.000Z | ---
layout: default-main
---
<div class="usa-layout-docs usa-section">
<div class="grid-container">
<div class="grid-row grid-gap">
<div class="usa-layout-docs__main desktop:grid-col-9 usa-prose">
<div class="clearfix">
<h4 class="text-uppercase text-secondary-dark float-left margin-0">{{... | 29.820513 | 132 | 0.49785 |
81be133e32de8913b47737180af313282a38fc9a | 1,133 | rs | Rust | src/controller.rs | OCzarnecki/status-monitor | c8a0e61966c84da7a69ffb082b3f06048ed391fb | [
"MIT"
] | null | null | null | src/controller.rs | OCzarnecki/status-monitor | c8a0e61966c84da7a69ffb082b3f06048ed391fb | [
"MIT"
] | null | null | null | src/controller.rs | OCzarnecki/status-monitor | c8a0e61966c84da7a69ffb082b3f06048ed391fb | [
"MIT"
] | null | null | null | use std::sync::{Arc, Mutex};
use std::time::Duration;
use tokio;
use crate::{Config, Timeouts};
use crate::config::Service;
use crate::telegram_api;
pub async fn start_daemon(cfg_other: Arc<Config>, timeouts_other: Arc<Mutex<Timeouts>>) -> tokio::task::JoinHandle<()> {
tokio::spawn(async move {
let mut in... | 29.815789 | 120 | 0.60459 |
1100fa83bcdae17702b26ae6b20ae59adb7a9d7f | 168 | kt | Kotlin | src/main/java/opengis/model/app/request/wmts/Layer.kt | chris-hatton/opengis-client-kotlin | 9b98feec99baf651b2e0c731052a321cd0cdb64b | [
"MIT"
] | 4 | 2017-10-31T02:36:36.000Z | 2022-01-05T05:06:55.000Z | src/main/java/opengis/model/app/request/wmts/Layer.kt | chris-hatton/opengis-client-kotlin | 9b98feec99baf651b2e0c731052a321cd0cdb64b | [
"MIT"
] | null | null | null | src/main/java/opengis/model/app/request/wmts/Layer.kt | chris-hatton/opengis-client-kotlin | 9b98feec99baf651b2e0c731052a321cd0cdb64b | [
"MIT"
] | null | null | null | package opengis.model.app.request.wmts
/**
* Created by Chris on 11/08/2017.
*/
data class Layer( val name: String ) {
override fun toString(): String = name
}
| 16.8 | 42 | 0.672619 |
067d23d8e51c954f1596fd56aac4a30d34cbf4be | 8,056 | swift | Swift | Sources/SwiftyPress/Repositories/Post/PostRepository.swift | nidegen/SwiftyPress | 123dd685b8ae0835c8b0f73fa02ae119905e70ed | [
"MIT"
] | 58 | 2016-05-18T17:28:27.000Z | 2021-12-29T07:43:28.000Z | Sources/SwiftyPress/Repositories/Post/PostRepository.swift | nidegen/SwiftyPress | 123dd685b8ae0835c8b0f73fa02ae119905e70ed | [
"MIT"
] | 19 | 2017-03-25T19:50:48.000Z | 2020-01-06T01:49:27.000Z | Sources/SwiftyPress/Repositories/Post/PostRepository.swift | nidegen/SwiftyPress | 123dd685b8ae0835c8b0f73fa02ae119905e70ed | [
"MIT"
] | 18 | 2017-03-25T19:51:07.000Z | 2020-12-22T00:59:07.000Z | //
// PostRepository.swift
// SwiftPress
//
// Created by Basem Emara on 2018-05-29.
// Copyright © 2019 Zamzam Inc. All rights reserved.
//
import Foundation.NSURL
import ZamzamCore
public struct PostRepository {
private let service: PostService
private let cache: PostCache
private let dataRepository... | 35.804444 | 143 | 0.543818 |
855bbc10cf781ed8d6491630c861a9a9cd4c6e16 | 15,144 | js | JavaScript | dbots/bots.ondiscord.xyz/_nuxt/b6e08d56b876a86f2321.js | zyoncommunity/xxxxx | d36066b8e752dce6adcff37305f1944f9c3f5dc9 | [
"MIT"
] | null | null | null | dbots/bots.ondiscord.xyz/_nuxt/b6e08d56b876a86f2321.js | zyoncommunity/xxxxx | d36066b8e752dce6adcff37305f1944f9c3f5dc9 | [
"MIT"
] | null | null | null | dbots/bots.ondiscord.xyz/_nuxt/b6e08d56b876a86f2321.js | zyoncommunity/xxxxx | d36066b8e752dce6adcff37305f1944f9c3f5dc9 | [
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[18],{1319:function(t,e,s){"use strict";s.r(e);s(28),s(26);var a=s(1),r=s.n(a),i=(s(46),s(51),s(106),s(34),s(12)),n=s.n(i),o=(s(65),s(486),s(100),s(17),s(66),s(27)),c=s(171),l={props:{bot:{type:Object,required:!0},search:Object},data:function(){for(var t={details:{}},... | 15,144 | 15,144 | 0.682184 |
8b193655fcb7a04d8a825b1e7c2effce651253f7 | 121 | sql | SQL | problems/database/combine_two_tables.sql | bvegaM/leetcode_problems | d7f87ec263618d2292309b65e20ef9234d1fedd6 | [
"MIT"
] | null | null | null | problems/database/combine_two_tables.sql | bvegaM/leetcode_problems | d7f87ec263618d2292309b65e20ef9234d1fedd6 | [
"MIT"
] | null | null | null | problems/database/combine_two_tables.sql | bvegaM/leetcode_problems | d7f87ec263618d2292309b65e20ef9234d1fedd6 | [
"MIT"
] | null | null | null | select p.FirstName,
p.LastName,
d.City,
d.State
from Person p
left join Address d on d.PersonId = p.PersonId | 20.166667 | 47 | 0.68595 |
c077b84eb46e5f341c24af2d75e83d67017bbe10 | 10,176 | html | HTML | events.html | jasonww11/mudikaWebsite | 228fa40348a1ff8a92a2b63060305848568e8140 | [
"MIT"
] | null | null | null | events.html | jasonww11/mudikaWebsite | 228fa40348a1ff8a92a2b63060305848568e8140 | [
"MIT"
] | null | null | null | events.html | jasonww11/mudikaWebsite | 228fa40348a1ff8a92a2b63060305848568e8140 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
<title>True Church</title>
<!-- Loading third party fonts -->
<link href="fonts/novecento-font/nove... | 45.632287 | 258 | 0.588149 |
331c64b5688bf0f03e29dded9df8fd3ced9edae7 | 461 | py | Python | tests/programs/misc/causality_1.py | astraldawn/pylps | e9964a24bb38657b180d441223b4cdb9e1dadc8a | [
"MIT"
] | 1 | 2018-05-19T18:28:12.000Z | 2018-05-19T18:28:12.000Z | tests/programs/misc/causality_1.py | astraldawn/pylps | e9964a24bb38657b180d441223b4cdb9e1dadc8a | [
"MIT"
] | 12 | 2018-04-26T00:58:11.000Z | 2018-05-13T22:03:39.000Z | tests/programs/misc/causality_1.py | astraldawn/pylps | e9964a24bb38657b180d441223b4cdb9e1dadc8a | [
"MIT"
] | null | null | null | from pylps.core import *
initialise(max_time=2)
create_fluents('test(_, _)')
create_actions('hello(_, _)')
create_variables('Person', 'Years', 'NewYears', 'OldYears',)
initially(test('A', 0),)
reactive_rule(True).then(
hello('A', 5),
)
hello(Person, Years).initiates(test(Person, NewYears)).iff(
test(Perso... | 18.44 | 60 | 0.704989 |
6d2627551f223e70e3495ed8e16ca8a8fe2d5310 | 323 | sql | SQL | textrepo-app/db/V004__add-version-metadata-table.sql | BasLee/textrepo | c858e9eb190ddbd51949c620fa3af6233b0d7e05 | [
"Apache-2.0"
] | null | null | null | textrepo-app/db/V004__add-version-metadata-table.sql | BasLee/textrepo | c858e9eb190ddbd51949c620fa3af6233b0d7e05 | [
"Apache-2.0"
] | 30 | 2020-10-26T09:29:59.000Z | 2022-03-15T13:35:36.000Z | textrepo-app/db/V004__add-version-metadata-table.sql | BasLee/textrepo | c858e9eb190ddbd51949c620fa3af6233b0d7e05 | [
"Apache-2.0"
] | 1 | 2021-11-18T04:57:49.000Z | 2021-11-18T04:57:49.000Z | -- Version metadata: each entry is a key-value pair linked to a version.
create table versions_metadata (
version_id uuid not null,
key varchar not null,
value text,
primary key (version_id, key),
constraint versions_metadata_version_id_fkey foreign key (version_id) references versions (id) on delete cascade
... | 35.888889 | 114 | 0.77709 |
0552c12f0cdc05d3e3b19a38932f70165d071063 | 3,857 | kt | Kotlin | project/src/main/kotlin/cga/exercise/components/Collision/Collision.kt | lucaremberg/CGA_Project | 58fed139c2e7c44ba7ede301223d70c370aca8bb | [
"MIT"
] | null | null | null | project/src/main/kotlin/cga/exercise/components/Collision/Collision.kt | lucaremberg/CGA_Project | 58fed139c2e7c44ba7ede301223d70c370aca8bb | [
"MIT"
] | null | null | null | project/src/main/kotlin/cga/exercise/components/Collision/Collision.kt | lucaremberg/CGA_Project | 58fed139c2e7c44ba7ede301223d70c370aca8bb | [
"MIT"
] | null | null | null | package cga.exercise.components.Collision
import cga.exercise.components.geometry.Renderable
import cga.exercise.components.geometry.RenderableList
import cga.exercise.components.geometry.Transformable
import cga.framework.OBJLoader
class Collision {
fun checkCollision(t1: Transformable, box: ArrayList<... | 52.121622 | 176 | 0.581022 |
ddb325ecf737baa9d7cabb4399f12f2e31dde31e | 3,169 | php | PHP | index.php | alexuriarte/test | 9b8aab7be1a6e3fb0f33c54bff9e3dffd20c686f | [
"Apache-2.0"
] | null | null | null | index.php | alexuriarte/test | 9b8aab7be1a6e3fb0f33c54bff9e3dffd20c686f | [
"Apache-2.0"
] | null | null | null | index.php | alexuriarte/test | 9b8aab7be1a6e3fb0f33c54bff9e3dffd20c686f | [
"Apache-2.0"
] | null | null | null | <?php
include_once("constants.php");
include_once("functions.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>Autoscaling Demo App JPL</title>
<link type="text/css" href="/static/css/bootstrap.css" rel="stylesheet">
<link type="text/css" href="/static/css/bootstrap-responsive.css" rel="stylesheet">
<lin... | 30.180952 | 124 | 0.583149 |
c6972983298133da839f29feb19b165375a34180 | 5,331 | rb | Ruby | lib/octopress-ink/plugin_asset_pipeline.rb | chauncey-garrett/ink | 56b01d36b663f4ae8f49b6c8082880738a2b776c | [
"MIT"
] | null | null | null | lib/octopress-ink/plugin_asset_pipeline.rb | chauncey-garrett/ink | 56b01d36b663f4ae8f49b6c8082880738a2b776c | [
"MIT"
] | null | null | null | lib/octopress-ink/plugin_asset_pipeline.rb | chauncey-garrett/ink | 56b01d36b663f4ae8f49b6c8082880738a2b776c | [
"MIT"
] | null | null | null | module Octopress
module Ink
module PluginAssetPipeline
# Compile CSS to take advantage of Sass's compression settings
#
def self.compile_css(content)
configs = sass_converter.sass_configs
configs[:syntax] = :scss
configs[:style] ||= :compressed if Ink.configuration['comp... | 29.291209 | 142 | 0.578878 |
df68f200ddaa5505adca70013640757a86b35b03 | 348 | rb | Ruby | farandula-ruby/lib/farandula/models/price.rb | perlaruizaviles/farandula | e18c4b512d588e47a5b9eeaf54e00d62c1e2218d | [
"Apache-2.0"
] | null | null | null | farandula-ruby/lib/farandula/models/price.rb | perlaruizaviles/farandula | e18c4b512d588e47a5b9eeaf54e00d62c1e2218d | [
"Apache-2.0"
] | null | null | null | farandula-ruby/lib/farandula/models/price.rb | perlaruizaviles/farandula | e18c4b512d588e47a5b9eeaf54e00d62c1e2218d | [
"Apache-2.0"
] | null | null | null | module Farandula
class Price
attr_accessor :amount
attr_accessor :currency_code
def initialize(
amount = nil,
currency_code = nil
)
@amount = amount
@currency_code = currency_code
end
def to_s
"amount #{amount}, currency code #{currency_co... | 15.130435 | 57 | 0.58046 |
56cd8c4938a98ace7021bf336e9c5dbf419e0046 | 103 | sql | SQL | src/test/resources/sql/select/4f8ea574.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/4f8ea574.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/4f8ea574.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:json.sql ln:481 expect:true
SELECT js FROM json_populate_record(NULL::jsrec, '{"js": null}') q
| 34.333333 | 66 | 0.718447 |
15b800493158ed475cd91bf7d79a420ba57fe39e | 96 | rb | Ruby | webTest/features/word_count.rb | MarkCTest/cucumber | dc91d0a562b5c9ab48ad5ea21c01bffe51db33ea | [
"MIT"
] | null | null | null | webTest/features/word_count.rb | MarkCTest/cucumber | dc91d0a562b5c9ab48ad5ea21c01bffe51db33ea | [
"MIT"
] | null | null | null | webTest/features/word_count.rb | MarkCTest/cucumber | dc91d0a562b5c9ab48ad5ea21c01bffe51db33ea | [
"MIT"
] | null | null | null | class WordCount
def initialize(text)
@text = text
end
def result
3
end
end | 9.6 | 22 | 0.604167 |
8ab026cdd9878697ffcb37fb383caa5d9bb951d7 | 7,947 | rs | Rust | src/guiding.rs | mconsidine/vidoxide | dd7d8e637a2c1176dbd5b4fbcab385808314f1cc | [
"MIT"
] | null | null | null | src/guiding.rs | mconsidine/vidoxide | dd7d8e637a2c1176dbd5b4fbcab385808314f1cc | [
"MIT"
] | null | null | null | src/guiding.rs | mconsidine/vidoxide | dd7d8e637a2c1176dbd5b4fbcab385808314f1cc | [
"MIT"
] | null | null | null | //
// Vidoxide - Image acquisition for amateur astronomy
// Copyright (c) 2020-2021 Filip Szczerek <ga.software@yahoo.com>
//
// This project is licensed under the terms of the MIT license
// (see the LICENSE file for details).
//
//!
//! Guiding.
//!
use crate::ProgramData;
use crate::gui::show_message;
use crate::m... | 42.956757 | 122 | 0.629168 |
743cb69b68a316c29fff2cc27d3fea0b538cb92e | 1,369 | h | C | usr/libexec/nsurlsessiond/PDURLSessionProxyCredential.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 2 | 2021-11-02T09:23:27.000Z | 2022-03-28T08:21:57.000Z | usr/libexec/nsurlsessiond/PDURLSessionProxyCredential.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | null | null | null | usr/libexec/nsurlsessiond/PDURLSessionProxyCredential.h | lechium/iOS1351Headers | 6bed3dada5ffc20366b27f7f2300a24a48a6284e | [
"MIT"
] | 1 | 2022-03-28T08:21:59.000Z | 2022-03-28T08:21:59.000Z | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <ProtocolBuffer/PBCodable.h>
#import "NSCopying-Protocol.h"
@class NSData;
@interface PDURLSessionProxyCredential : PBCodable <NSCopying... | 35.102564 | 120 | 0.745069 |
c629a3799004d209b39f03561a233ae235c31dc7 | 216 | rb | Ruby | lib/github/ldap/membership_validators.rb | cjs/github-ldap | 34c2685bd07ae79c6283f14f1263d1276a162f28 | [
"MIT"
] | 98 | 2015-01-10T01:32:22.000Z | 2021-08-10T18:48:03.000Z | lib/github/ldap/membership_validators.rb | cjs/github-ldap | 34c2685bd07ae79c6283f14f1263d1276a162f28 | [
"MIT"
] | 25 | 2015-01-15T00:51:35.000Z | 2021-06-02T14:29:46.000Z | lib/github/ldap/membership_validators.rb | cjs/github-ldap | 34c2685bd07ae79c6283f14f1263d1276a162f28 | [
"MIT"
] | 33 | 2015-03-09T07:43:27.000Z | 2021-11-30T04:37:02.000Z | require 'github/ldap/membership_validators/base'
require 'github/ldap/membership_validators/classic'
require 'github/ldap/membership_validators/recursive'
require 'github/ldap/membership_validators/active_directory'
| 43.2 | 60 | 0.87037 |
268dbeccd716cf6a81c0c7b9a6cd4de3a111d230 | 332 | java | Java | src/main/java/com/tqi/analisecredito/domain/repository/EmprestimoRepository.java | Nilcelso/tqi_evolution_backend_2021 | d5dad6a06c77ad149c5a7c77d483d433bd6fa260 | [
"MIT"
] | null | null | null | src/main/java/com/tqi/analisecredito/domain/repository/EmprestimoRepository.java | Nilcelso/tqi_evolution_backend_2021 | d5dad6a06c77ad149c5a7c77d483d433bd6fa260 | [
"MIT"
] | null | null | null | src/main/java/com/tqi/analisecredito/domain/repository/EmprestimoRepository.java | Nilcelso/tqi_evolution_backend_2021 | d5dad6a06c77ad149c5a7c77d483d433bd6fa260 | [
"MIT"
] | null | null | null | package com.tqi.analisecredito.domain.repository;
import com.tqi.analisecredito.domain.model.Emprestimo;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface EmprestimoRepository extends JpaRepository<Emprestimo, Long> {
List<Emprestimo> findAllByClienteId(Long cl... | 30.181818 | 79 | 0.831325 |
0c914d8fbc8a5b30dab1155628e15079383dc757 | 1,342 | py | Python | apps/images/migrations/0001_initial.py | coogger/coogger | 9e5e3ca172d8a14272948284a6822000b119119c | [
"MIT"
] | 48 | 2018-04-13T13:00:10.000Z | 2020-03-17T23:35:23.000Z | apps/images/migrations/0001_initial.py | coogger/coogger | 9e5e3ca172d8a14272948284a6822000b119119c | [
"MIT"
] | 77 | 2018-03-25T13:17:12.000Z | 2020-08-11T08:24:49.000Z | apps/images/migrations/0001_initial.py | coogger/coogger | 9e5e3ca172d8a14272948284a6822000b119119c | [
"MIT"
] | 35 | 2018-03-30T21:43:21.000Z | 2020-08-11T05:51:46.000Z | # Generated by Django 3.0.3 on 2020-02-28 13:21
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Image",
fields=[
(
... | 26.84 | 76 | 0.354694 |
8a45f86cb8836f7fc9633b882648fa3531465788 | 1,689 | rs | Rust | rust/reqwest-pipeline/src/request.rs | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 5 | 2021-12-24T06:21:40.000Z | 2022-01-16T12:21:06.000Z | rust/reqwest-pipeline/src/request.rs | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 66 | 2021-12-15T17:08:21.000Z | 2022-03-29T10:36:18.000Z | rust/reqwest-pipeline/src/request.rs | roeap/flight-fusion | 14f73c99c5214277d0abcced633d83b37f1d5292 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-02-08T21:07:08.000Z | 2022-02-08T21:07:08.000Z | use crate::SeekableStream;
use http::{HeaderMap, Method, Uri};
use std::fmt::Debug;
/// An HTTP Body.
#[derive(Debug, Clone)]
pub enum Body {
/// A body of a known size.
Bytes(bytes::Bytes),
/// A streaming body.
SeekableStream(Box<dyn SeekableStream>),
}
impl From<bytes::Bytes> for Body {
fn from... | 22.52 | 98 | 0.59029 |
8604d0a086bc9afa97db8d51f167cf1b6adfe016 | 4,518 | go | Go | ikuzo/resource/formats/jsonld/parser.go | jaclu/hub3 | 1a60c948133e82d9342480d5c776b5d5cac5cbf7 | [
"Apache-2.0"
] | null | null | null | ikuzo/resource/formats/jsonld/parser.go | jaclu/hub3 | 1a60c948133e82d9342480d5c776b5d5cac5cbf7 | [
"Apache-2.0"
] | null | null | null | ikuzo/resource/formats/jsonld/parser.go | jaclu/hub3 | 1a60c948133e82d9342480d5c776b5d5cac5cbf7 | [
"Apache-2.0"
] | null | null | null | // Package jsonld provides tools to parse and serialize RDF data in the JSON-LD format.
//
// For more information about JSON-LD, see - https://json-ld.org.
package jsonld
import (
"bytes"
"fmt"
"io"
"net/http"
"github.com/delving/hub3/ikuzo/resource"
jsonld "github.com/kiivihal/gojsonld"
"github.com/piprate/j... | 21.617225 | 98 | 0.66888 |
2a639044ad6c7b721b9debd978307444bf5025eb | 88 | java | Java | xmppbot-commands/src/main/java/de/raion/xmppbot/command/package-info.java | brndkfr/xmppbot | e21ca352fd5fc270e6a8563c340dc2c549d17734 | [
"Apache-2.0"
] | null | null | null | xmppbot-commands/src/main/java/de/raion/xmppbot/command/package-info.java | brndkfr/xmppbot | e21ca352fd5fc270e6a8563c340dc2c549d17734 | [
"Apache-2.0"
] | null | null | null | xmppbot-commands/src/main/java/de/raion/xmppbot/command/package-info.java | brndkfr/xmppbot | e21ca352fd5fc270e6a8563c340dc2c549d17734 | [
"Apache-2.0"
] | null | null | null | /**
* optional commands available for the xmppbot
*/
package de.raion.xmppbot.command; | 22 | 46 | 0.75 |
119ddbe487ff641ee6389651d1a26ce47c498ffb | 1,866 | rs | Rust | src/common/util/string_util.rs | AffogatoLang/moka-rust | e1bad1d529682827a44b75ceccedb7069d5cce16 | [
"BSD-3-Clause"
] | null | null | null | src/common/util/string_util.rs | AffogatoLang/moka-rust | e1bad1d529682827a44b75ceccedb7069d5cce16 | [
"BSD-3-Clause"
] | null | null | null | src/common/util/string_util.rs | AffogatoLang/moka-rust | e1bad1d529682827a44b75ceccedb7069d5cce16 | [
"BSD-3-Clause"
] | null | null | null | use std::ffi::OsStr;
pub fn get_line_col(src: &String, index: usize) -> (usize, usize) {
let slices = src.split_at(index);
let prev:&str = slices.0;
let mut cur_index = 0;
let mut line = 0;
let mut index_of_line = 0;
for ch in prev.chars() {
match ch {
'\n' => {line = lin... | 30.096774 | 109 | 0.626474 |
dd9bfe4dbc7d217988ef992dd9025fc806453208 | 3,458 | go | Go | api/v1/create_statefulset_applicationspec_test.go | dhirupandey/coherence-operator | 6e5cc77f129ac5a5b59b68e0bdd1eba8f5217257 | [
"UPL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | api/v1/create_statefulset_applicationspec_test.go | dhirupandey/coherence-operator | 6e5cc77f129ac5a5b59b68e0bdd1eba8f5217257 | [
"UPL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | api/v1/create_statefulset_applicationspec_test.go | dhirupandey/coherence-operator | 6e5cc77f129ac5a5b59b68e0bdd1eba8f5217257 | [
"UPL-1.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Oracle and/or its affiliates.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package v1_test
import (
coh "github.com/oracle/coherence-operator/api/v1"
corev1 "k8s.io/api/core/v1"
"testing"
)
func TestCreateStatefulSetWithA... | 32.018519 | 116 | 0.775593 |
b997ca968f23cb82c0ba32eeb595ef893ac55919 | 378 | h | C | src/tools/runner/run.h | dMajoIT/aqb | 7d9bc71f8bdc64a6edc49fec6815b42bb3050fda | [
"MIT"
] | 51 | 2020-09-07T08:44:29.000Z | 2022-03-30T02:07:19.000Z | src/tools/runner/run.h | dMajoIT/aqb | 7d9bc71f8bdc64a6edc49fec6815b42bb3050fda | [
"MIT"
] | 17 | 2021-09-27T07:24:01.000Z | 2022-03-23T19:33:59.000Z | src/tools/runner/run.h | dMajoIT/aqb | 7d9bc71f8bdc64a6edc49fec6815b42bb3050fda | [
"MIT"
] | 7 | 2021-09-09T15:35:24.000Z | 2022-03-09T17:37:35.000Z | #ifndef HAVE_RUN_H
#define HAVE_RUN_H
#ifdef __amigaos__
#include <dos/dosextens.h>
typedef enum {RUN_stateRunning, RUN_stateStopped} RUN_state;
void RUN_start (const char *binfn);
void RUN_init (struct MsgPort *debugPort, struct FileHandle *output);
void RUN_handleMessages(void);
RUN_state RUN_get... | 17.181818 | 74 | 0.743386 |
6cbd02a6d8d83be0bca0ec1edbc195aef615b601 | 102,058 | go | Go | pkg/contracts/adm/admanager.go | atatur9/kaleido-backend-1 | dc588d802f4269bbe3f1938dbcd9fef8bb5ecf74 | [
"MIT"
] | null | null | null | pkg/contracts/adm/admanager.go | atatur9/kaleido-backend-1 | dc588d802f4269bbe3f1938dbcd9fef8bb5ecf74 | [
"MIT"
] | null | null | null | pkg/contracts/adm/admanager.go | atatur9/kaleido-backend-1 | dc588d802f4269bbe3f1938dbcd9fef8bb5ecf74 | [
"MIT"
] | null | null | null | // Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.
package contracts
import (
"errors"
"math/big"
"strings"
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"gith... | 47.757604 | 14,723 | 0.733779 |
40d105da2e3e3bd8f1cc56e9f22e7786f9b9cfa9 | 5,384 | html | HTML | pipermail/antlr-interest/2003-July/004505.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2003-July/004505.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | pipermail/antlr-interest/2003-July/004505.html | hpcc-systems/website-antlr3 | aa6181595356409f8dc624e54715f56bd10707a8 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [antlr-interest] GCJ
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:antlr-interest%40antlr.org?Subject=%5Bantlr-interest%5D%20GCJ&In-Reply-To=20030711160059.G20099%40cs.utwente.nl">
<META NAME="robots" ... | 41.099237 | 146 | 0.669948 |
127ae60a8af2cba736c79a18c3a3cd7a55b5671c | 17,486 | c | C | src/alg/grid/grid.c | bergolho1337/MonoPurkinje1D | da544a8338c44de941b04cc2c6caacb8bb954760 | [
"MIT"
] | null | null | null | src/alg/grid/grid.c | bergolho1337/MonoPurkinje1D | da544a8338c44de941b04cc2c6caacb8bb954760 | [
"MIT"
] | null | null | null | src/alg/grid/grid.c | bergolho1337/MonoPurkinje1D | da544a8338c44de941b04cc2c6caacb8bb954760 | [
"MIT"
] | null | null | null | //
// Created by sachetto on 29/09/17.
//
#include "grid.h"
#include <assert.h>
#include "inttypes.h"
struct grid* new_grid() {
struct grid* result = (struct grid*) malloc(sizeof(struct grid));
result->first_cell = NULL;
result->active_cells = NULL;
result->refined_this_step = NULL;
result->free_... | 34.353635 | 124 | 0.636681 |
a9b99738dcaa4bee186a6a3d2fe75e79080459b1 | 2,001 | html | HTML | common/templates/accounts/registration_form.html | andyzsf/ConMan | e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7 | 2015-05-28T19:18:57.000Z | 2021-04-16T04:13:26.000Z | common/templates/accounts/registration_form.html | andyzsf/ConMan | e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | common/templates/accounts/registration_form.html | andyzsf/ConMan | e8d4aa9eeda7a85b39d8d897dbdba43de3cee9c1 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2018-11-05T09:33:45.000Z | 2022-02-18T14:27:22.000Z | {% extends "base_forms.html" %}
{% block title %}Sign up{% endblock %}
{% block primaryContent %}Sign up
<script type="text/javascript">
$(document).ready(function(){
$('#id_password1').pstrength();
$('#id_password2').pstrength();
});
</script>
{% block formsWrapper %}
{% if form.errors %}
<p class="error">Please... | 58.852941 | 328 | 0.628686 |
38a40b60affba95625420e5f6c7a25bec67727ec | 247 | h | C | Budget/RageIAPHelper.h | nspassov/budgetapp | 4c3cde185e2f1e04a3f7e0d6b25da6bf6929259d | [
"MIT"
] | 1 | 2021-07-02T19:06:17.000Z | 2021-07-02T19:06:17.000Z | Budget/RageIAPHelper.h | nspassov/budgetapp | 4c3cde185e2f1e04a3f7e0d6b25da6bf6929259d | [
"MIT"
] | null | null | null | Budget/RageIAPHelper.h | nspassov/budgetapp | 4c3cde185e2f1e04a3f7e0d6b25da6bf6929259d | [
"MIT"
] | null | null | null | //
// RageIAPHelper.h
// In App Rage
//
// Created by Ray Wenderlich on 9/5/12.
// Copyright (c) 2012 Razeware LLC. All rights reserved.
//
#import "IAPHelper.h"
@interface RageIAPHelper : IAPHelper
+ (RageIAPHelper *)sharedInstance;
@end
| 15.4375 | 57 | 0.688259 |
e95488f8f292202f0ffdc7495983c32c8d76d2d3 | 2,406 | go | Go | cmd/generate/generate_internal_test.go | gandarez/semver-action | b1588211654f16a6e55d534cc757b70fcc6bcb07 | [
"MIT"
] | 1 | 2021-09-22T20:38:19.000Z | 2021-09-22T20:38:19.000Z | cmd/generate/generate_internal_test.go | gandarez/semver-action | b1588211654f16a6e55d534cc757b70fcc6bcb07 | [
"MIT"
] | null | null | null | cmd/generate/generate_internal_test.go | gandarez/semver-action | b1588211654f16a6e55d534cc757b70fcc6bcb07 | [
"MIT"
] | 1 | 2021-02-22T00:34:10.000Z | 2021-02-22T00:34:10.000Z | package generate
import (
"testing"
"github.com/alecthomas/assert"
)
func TestDetermineBumpStrategy(t *testing.T) {
tests := map[string]struct {
SourceBranch string
DestBranch string
Bump string
ExpectedMethod string
ExpectedVersion string
}{
"source branch bugfix, dest branch dev... | 26.152174 | 111 | 0.604323 |
867571f9622562d0fb3e468d144cc144d9b13406 | 4,498 | rs | Rust | day15/src/main.rs | jstuczyn/AdventOfCode2021 | e7e94b8b31c47f3814760834284ade02cc07805d | [
"Apache-2.0"
] | null | null | null | day15/src/main.rs | jstuczyn/AdventOfCode2021 | e7e94b8b31c47f3814760834284ade02cc07805d | [
"Apache-2.0"
] | 6 | 2021-12-02T19:57:42.000Z | 2021-12-21T16:54:15.000Z | day15/src/main.rs | jstuczyn/AdventOfCode2021 | e7e94b8b31c47f3814760834284ade02cc07805d | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Jedrzej Stuczynski
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 23.925532 | 98 | 0.541129 |
7f8c4d0e6ee5d993aabcffb852edf240bb09a30a | 13,031 | rs | Rust | xtokens/src/mock.rs | jonathanxuu/open-runtime-module-library | 4a94fb75234a12d86f6cdd132d28b2939c208652 | [
"Apache-2.0"
] | null | null | null | xtokens/src/mock.rs | jonathanxuu/open-runtime-module-library | 4a94fb75234a12d86f6cdd132d28b2939c208652 | [
"Apache-2.0"
] | null | null | null | xtokens/src/mock.rs | jonathanxuu/open-runtime-module-library | 4a94fb75234a12d86f6cdd132d28b2939c208652 | [
"Apache-2.0"
] | null | null | null | #![cfg(test)]
use super::*;
use crate as orml_xtokens;
use frame_support::parameter_types;
use orml_traits::parameter_type_with_key;
use orml_xcm_support::{IsNativeConcrete, MultiCurrencyAdapter, MultiNativeAsset, XcmHandler as XcmHandlerT};
use polkadot_parachain::primitives::Sibling;
use serde::{Deserialize, Serial... | 27.666667 | 123 | 0.69327 |
68e382ea613928c890cc1c093eaf35542b124c76 | 291 | swift | Swift | Shared/SVGgh_TesterApp.swift | Kireyin/SVGgh | 41a5b031abaaf807fb5f3355a53071f4e2c50fbb | [
"MIT"
] | 133 | 2015-01-13T11:49:19.000Z | 2022-03-16T22:12:38.000Z | Shared/SVGgh_TesterApp.swift | Kireyin/SVGgh | 41a5b031abaaf807fb5f3355a53071f4e2c50fbb | [
"MIT"
] | 36 | 2015-01-27T15:09:53.000Z | 2021-03-23T02:10:46.000Z | Shared/SVGgh_TesterApp.swift | Kireyin/SVGgh | 41a5b031abaaf807fb5f3355a53071f4e2c50fbb | [
"MIT"
] | 48 | 2015-02-20T18:18:27.000Z | 2022-02-25T15:55:48.000Z | //
// SVGgh_TesterApp.swift
// Shared
//
// Created by Glenn Howes on 9/7/21.
// Copyright © 2021 Generally Helpful. All rights reserved.
//
import SwiftUI
@main
struct SVGgh_TesterApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}
| 15.315789 | 60 | 0.604811 |
856135c49f67413f648c470b5e6107ee629b1569 | 2,331 | rs | Rust | src/sim.rs | nehalem501/ke04z4-pac | 79ef1fc566863207a20e2a8a937f4290792018c6 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | src/sim.rs | nehalem501/ke04z4-pac | 79ef1fc566863207a20e2a8a937f4290792018c6 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | src/sim.rs | nehalem501/ke04z4-pac | 79ef1fc566863207a20e2a8a937f4290792018c6 | [
"CC0-1.0",
"BSD-3-Clause"
] | null | null | null | #[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - System Reset Status and ID Register"]
pub srsid: crate::Reg<srsid::SRSID_SPEC>,
#[doc = "0x04 - System Options Register"]
pub sopt: crate::Reg<sopt::SOPT_SPEC>,
#[doc = "0x08 - Pin Selection Register"]
pub pinsel: c... | 43.981132 | 72 | 0.700987 |
3d8bf421b9f2c88db36b566a71993e398f7f6d04 | 1,085 | rs | Rust | src/free/v1_53.rs | jhpratt/standback | 395e77837ad0c7763e9be1f0851cf13e570767fc | [
"Apache-2.0",
"MIT"
] | 17 | 2020-03-09T21:42:05.000Z | 2022-03-01T02:41:42.000Z | src/free/v1_53.rs | jhpratt/standback | 395e77837ad0c7763e9be1f0851cf13e570767fc | [
"Apache-2.0",
"MIT"
] | 11 | 2020-03-06T11:14:34.000Z | 2021-04-07T14:02:00.000Z | src/free/v1_53.rs | jhpratt/standback | 395e77837ad0c7763e9be1f0851cf13e570767fc | [
"Apache-2.0",
"MIT"
] | 6 | 2020-03-06T17:48:15.000Z | 2021-07-29T16:53:15.000Z | pub(crate) mod array {
pub fn from_ref<T>(s: &T) -> &[T; 1] {
unsafe { &*(s as *const T as *const [T; 1]) }
}
pub fn from_mut<T>(s: &mut T) -> &mut [T; 1] {
unsafe { &mut *(s as *mut T as *mut [T; 1]) }
}
}
pub(crate) mod cmp {
use core::cmp::Ordering;
#[must_use]
pub fn mi... | 30.138889 | 84 | 0.463594 |
3be6620b5225fa1efc3c6a286568d9a227113682 | 594 | sql | SQL | compose/db/schema/mysql/20190427210922.namespace-tbl.up.sql | gil0109/corteza-server | 7b47ee0c9e72d06ca0264f2e77df365fef6f47d4 | [
"Apache-2.0"
] | null | null | null | compose/db/schema/mysql/20190427210922.namespace-tbl.up.sql | gil0109/corteza-server | 7b47ee0c9e72d06ca0264f2e77df365fef6f47d4 | [
"Apache-2.0"
] | null | null | null | compose/db/schema/mysql/20190427210922.namespace-tbl.up.sql | gil0109/corteza-server | 7b47ee0c9e72d06ca0264f2e77df365fef6f47d4 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `compose_namespace` (
`id` BIGINT(20) UNSIGNED NOT NULL,
`name` VARCHAR(64) NOT NULL COMMENT 'Name',
`slug` VARCHAR(64) NOT NULL COMMENT 'URL slug',
`enabled` BOOLEAN NOT NULL COMMENT 'Is namespace enabled?',
`meta` JSON NOT ... | 39.6 | 76 | 0.577441 |
e993f0ff8e9cfceeb5d3ace7ec0d80f6c5650b4a | 16,841 | rs | Rust | src/lib.rs | MakotoE/rust-fahapi | 256095430dd395639bfbebc3e17a631da60ab2e3 | [
"MIT"
] | 1 | 2020-11-08T09:23:33.000Z | 2020-11-08T09:23:33.000Z | src/lib.rs | MakotoE/rust-fahapi | 256095430dd395639bfbebc3e17a631da60ab2e3 | [
"MIT"
] | 1 | 2021-11-13T15:05:27.000Z | 2021-11-13T16:50:38.000Z | src/lib.rs | MakotoE/rust-fahapi | 256095430dd395639bfbebc3e17a631da60ab2e3 | [
"MIT"
] | null | null | null | //! Folding@home client API wrapper for Rust. Use
//! [`API::connect_timeout()`](./struct.API.html#method.connect_timeout) to connect to your FAH
//! client.
//!
//! [rust-fahapi on Github](https://github.com/MakotoE/rust-fahapi)
mod connection;
mod types;
pub use connection::*;
pub use types::*;
pub use anyhow::{Er... | 31.014733 | 110 | 0.50187 |
408ab99ef78089e5ce8a3fd8b3fdcc16b849a668 | 422 | py | Python | backend/app/api/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 40 | 2019-09-12T00:41:22.000Z | 2022-03-25T03:29:28.000Z | backend/app/api/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | null | null | null | backend/app/api/__init__.py | fish2018/openpms | 88ca124ba0980aef5dd5474af03209f2dbefdcca | [
"Apache-2.0"
] | 14 | 2019-09-07T11:49:55.000Z | 2022-03-25T03:36:20.000Z | from flask_restplus import Api
authorizations = {
'apikey': {
'type': 'apiKey',
'in': 'header',
'name': 'X-Token'
}
}
api = Api(version='1.0', title='PMS API', description='PMS API', authorizations=authorizations)
api.namespaces.pop(0)
ns = api.namespace('v1', description='这是自定义名称空间')
... | 26.375 | 95 | 0.670616 |
5da5b6341ddd9f08031a833b1504aa3b3fb0e62e | 1,858 | kt | Kotlin | app/src/main/java/in/dimigo/dimigoin/ui/main/fragment/timetable/TimetableFragment.kt | dimigoin/dimigoin-android-application | b89dbdb7f5a540d59a0b70bc91fb29eb7d6a9846 | [
"Apache-2.0"
] | 22 | 2020-06-30T15:11:53.000Z | 2022-01-29T15:50:49.000Z | app/src/main/java/in/dimigo/dimigoin/ui/main/fragment/timetable/TimetableFragment.kt | dimigoin/dimigoin-android-application | b89dbdb7f5a540d59a0b70bc91fb29eb7d6a9846 | [
"Apache-2.0"
] | 48 | 2020-03-22T06:49:07.000Z | 2021-12-30T06:04:12.000Z | app/src/main/java/in/dimigo/dimigoin/ui/main/fragment/timetable/TimetableFragment.kt | dimigoin/dimigoin-android-application | b89dbdb7f5a540d59a0b70bc91fb29eb7d6a9846 | [
"Apache-2.0"
] | 4 | 2020-07-03T02:08:01.000Z | 2021-04-01T08:18:32.000Z | package `in`.dimigo.dimigoin.ui.main.fragment.timetable
import `in`.dimigo.dimigoin.R
import `in`.dimigo.dimigoin.databinding.FragmentTimetableBinding
import `in`.dimigo.dimigoin.ui.BaseFragment
import `in`.dimigo.dimigoin.ui.custom.DimigoinDialog
import `in`.dimigo.dimigoin.ui.util.DateChangedLiveData
import `in`.dim... | 37.16 | 118 | 0.73789 |
349d8f2391921db0a18c2d41f7dbddaa9aa172d4 | 8,598 | sql | SQL | db_file/data_prepare/database_distribusi_v4.sql | hasanah150999/distribusi_gas-master | 7c2d7c16def5df1dcfbcb4aa6502c9e63a7a8430 | [
"MIT"
] | null | null | null | db_file/data_prepare/database_distribusi_v4.sql | hasanah150999/distribusi_gas-master | 7c2d7c16def5df1dcfbcb4aa6502c9e63a7a8430 | [
"MIT"
] | null | null | null | db_file/data_prepare/database_distribusi_v4.sql | hasanah150999/distribusi_gas-master | 7c2d7c16def5df1dcfbcb4aa6502c9e63a7a8430 | [
"MIT"
] | null | null | null | -- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 10.4.11-MariaDB - mariadb.org binary distribution
-- Server OS: Win64
-- HeidiSQL Version: 11.2.0.6213
-- -----------------------------------------------... | 34.53012 | 105 | 0.724122 |
c04f8f704910b214470d4f3d37a910d4f0afba54 | 1,609 | lua | Lua | src/common/AssetCatagories.lua | Nimblz/eg-legacy | 60e2c6381ec58011378708246cf12a8608a60068 | [
"MIT"
] | 6 | 2020-06-19T15:19:02.000Z | 2022-01-03T13:01:16.000Z | src/common/AssetCatagories.lua | Nimblz/eg-legacy | 60e2c6381ec58011378708246cf12a8608a60068 | [
"MIT"
] | 3 | 2019-04-02T04:49:03.000Z | 2019-06-15T10:15:41.000Z | src/common/AssetCatagories.lua | Nimblz/eg | 60e2c6381ec58011378708246cf12a8608a60068 | [
"MIT"
] | 2 | 2020-05-19T07:23:11.000Z | 2020-06-19T15:19:07.000Z | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local common = ReplicatedStorage:WaitForChild("common")
local EquipmentRenderers = require(common:WaitForChild("EquipmentRenderers"))
local by = require(script.Parent.util:WaitForChild("by"))
local catagories = {
{
id = "hat",
image =... | 26.377049 | 83 | 0.556246 |
1ae9dacfef19c6b735c43c61e76e9e0217ed93d7 | 4,722 | rs | Rust | ringbuffer/src/lib.rs | michaelmelanson/kernel | 1b1abdd0387ceaadd6198322451b5ac2ae13d535 | [
"BSD-2-Clause"
] | 2 | 2020-03-30T18:36:03.000Z | 2020-04-01T17:30:49.000Z | ringbuffer/src/lib.rs | michaelmelanson/kernel | 1b1abdd0387ceaadd6198322451b5ac2ae13d535 | [
"BSD-2-Clause"
] | 2 | 2019-04-02T15:45:59.000Z | 2019-04-02T15:45:59.000Z | ringbuffer/src/lib.rs | michaelmelanson/kernel | 1b1abdd0387ceaadd6198322451b5ac2ae13d535 | [
"BSD-2-Clause"
] | 1 | 2018-12-02T19:09:51.000Z | 2018-12-02T19:09:51.000Z | #![no_std]
extern crate alloc;
extern crate spin;
use self::alloc::vec::Vec;
use self::alloc::sync::Arc;
use spin::Mutex;
/// A thread-safe circular buffer.
///
/// # Basic usage
///
/// You can write items to the buffer...
///
/// ```
/// # use ringbuffer::RingBuffer;
/// let ringbuffer = RingBuffer::new_with_capac... | 20.893805 | 76 | 0.581533 |
0b5cea9d906ea2c35bda5ccee23fdca482e7e9b4 | 335 | py | Python | atest/testresources/testlibs/objecttoreturn.py | userzimmermann/robotframework | 7aa16338ce2120cb082605cf548c0794956ec901 | [
"Apache-2.0"
] | 7 | 2015-02-25T10:55:02.000Z | 2015-11-04T03:20:05.000Z | atest/testresources/testlibs/objecttoreturn.py | userzimmermann/robotframework | 7aa16338ce2120cb082605cf548c0794956ec901 | [
"Apache-2.0"
] | 12 | 2015-02-24T17:00:06.000Z | 2015-07-31T08:32:07.000Z | atest/testresources/testlibs/objecttoreturn.py | userzimmermann/robotframework | 7aa16338ce2120cb082605cf548c0794956ec901 | [
"Apache-2.0"
] | 2 | 2015-12-15T11:00:35.000Z | 2018-02-24T18:11:24.000Z | try:
import exceptions
except ImportError: # Python 3
import builtins as exceptions
class ObjectToReturn:
def __init__(self, name):
self.name = name
def __str__(self):
return self.name
def exception(self, name, msg=""):
exception = getattr(exceptions, name)
raise ... | 19.705882 | 45 | 0.647761 |
0a16e8e06ab54b6ada8dc2f89d3f94dc0e2ba32a | 1,148 | h | C | src/hpgl.pyd/py_sgs_params.h | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 70 | 2015-01-21T12:24:50.000Z | 2022-03-16T02:10:45.000Z | src/hpgl.pyd/py_sgs_params.h | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 8 | 2015-04-22T13:14:30.000Z | 2021-11-23T12:16:32.000Z | src/hpgl.pyd/py_sgs_params.h | hpgl/hpgl | 72d8c4113c242295de740513093f5779c94ba84a | [
"BSD-3-Clause"
] | 18 | 2015-02-15T18:04:31.000Z | 2021-01-16T08:54:32.000Z | /*
Copyright 2009 HPGL Team
This file is part of HPGL (High Perfomance Geostatistics Library).
HPGL is free software: you can redistribute it and/or modify it under the terms of the BSD License.
You should have received a copy of the BSD License along with HPGL.
*/
#ifndef __PY_SGS_PARAMS_H__A82... | 30.210526 | 103 | 0.751742 |
856d85a3960eb2e439732f9afba48b3a23c2a361 | 738 | js | JavaScript | src/containers/Root.js | cloudapp/zendesk-react-redux-boilerplate | cd10346838b291fd3eda97b16cc50f5f4881f4b4 | [
"Apache-2.0"
] | 11 | 2017-01-29T21:17:30.000Z | 2021-07-25T10:45:47.000Z | src/containers/Root.js | cloudapp/zendesk-react-redux-boilerplate | cd10346838b291fd3eda97b16cc50f5f4881f4b4 | [
"Apache-2.0"
] | 1 | 2018-02-26T01:17:32.000Z | 2018-12-17T19:20:08.000Z | src/containers/Root.js | cloudapp/zendesk-react-redux-boilerplate | cd10346838b291fd3eda97b16cc50f5f4881f4b4 | [
"Apache-2.0"
] | 4 | 2018-02-26T01:20:26.000Z | 2021-03-30T02:28:54.000Z | import React, { Component } from 'react';
import { Provider } from 'react-redux';
import { Router } from 'react-router';
export default class Root extends Component {
createElement(Component, props) {
return <Component { ...this.props.store } />;
}
get content() {
return (
<Router history={ this.... | 21.085714 | 49 | 0.601626 |
a397ab899ea8696650bb7259afe4779b5b68f6cd | 627 | sql | SQL | vulnerable-webapp/sql/create_schema_and_seed.sql | dm-istomin/cs-gy-9163-application-security | 00c073a700a264d14980b3e19725d63928435aaf | [
"MIT"
] | null | null | null | vulnerable-webapp/sql/create_schema_and_seed.sql | dm-istomin/cs-gy-9163-application-security | 00c073a700a264d14980b3e19725d63928435aaf | [
"MIT"
] | null | null | null | vulnerable-webapp/sql/create_schema_and_seed.sql | dm-istomin/cs-gy-9163-application-security | 00c073a700a264d14980b3e19725d63928435aaf | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS vulnerable_webapp;
USE vulnerable_webapp;
CREATE TABLE IF NOT EXISTS users(
id int auto_increment,
username varchar(255) UNIQUE NOT NULL,
role varchar(255) NOT NULL,
password varchar(255) NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO users(username, role, password) VALUES (
'adm... | 19 | 52 | 0.69378 |