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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5a4ddadec5608ff9d1e2fe09842f6bb69d3ddcd6 | 7,416 | swift | Swift | Sources/SeparateChainingHashTable/Dictionary/CRUD.swift | vale-cocoa/SeparateChainingHashTable | bbfb8e8a9218f03671b7451bf674b8550175df7a | [
"MIT"
] | null | null | null | Sources/SeparateChainingHashTable/Dictionary/CRUD.swift | vale-cocoa/SeparateChainingHashTable | bbfb8e8a9218f03671b7451bf674b8550175df7a | [
"MIT"
] | null | null | null | Sources/SeparateChainingHashTable/Dictionary/CRUD.swift | vale-cocoa/SeparateChainingHashTable | bbfb8e8a9218f03671b7451bf674b8550175df7a | [
"MIT"
] | null | null | null | //
// CRUD.swift
// SeparateChainingHashTable
//
// Created by Valeriano Della Longa on 2021/04/05.
// Copyright © 2021 Valeriano Della Longa
//
// 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 t... | 45.496933 | 114 | 0.618393 |
420243cb460f594fbd2ca1a53cee52f921692321 | 577 | cs | C# | src/RabbitDB.Contracts/Reader/IEntityReader_T.cs | PowerMogli/Rabbit.Db | 0241f93a0f2129bc157462cf3d93a521e9781d51 | [
"Apache-2.0"
] | null | null | null | src/RabbitDB.Contracts/Reader/IEntityReader_T.cs | PowerMogli/Rabbit.Db | 0241f93a0f2129bc157462cf3d93a521e9781d51 | [
"Apache-2.0"
] | null | null | null | src/RabbitDB.Contracts/Reader/IEntityReader_T.cs | PowerMogli/Rabbit.Db | 0241f93a0f2129bc157462cf3d93a521e9781d51 | [
"Apache-2.0"
] | null | null | null | #region using directives
using System;
using System.Collections.Generic;
using System.Data;
#endregion
namespace RabbitDB.Contracts.Reader
{
public interface IEntityReader<TEntity> : IDisposable
{
#region Properties
TEntity Current { get; }
#endregion
#region Public Metho... | 18.612903 | 88 | 0.668977 |
83679a170ac0b49183b7e74c2c4db06559aff87e | 1,230 | ts | TypeScript | types/google-closure-library/closure/goog/labs/testing/assertthat.d.ts | DavidANeil/DefinitelyTyped | 11a35610605b4e8d3609af338d6fd26dbc109b81 | [
"MIT"
] | null | null | null | types/google-closure-library/closure/goog/labs/testing/assertthat.d.ts | DavidANeil/DefinitelyTyped | 11a35610605b4e8d3609af338d6fd26dbc109b81 | [
"MIT"
] | null | null | null | types/google-closure-library/closure/goog/labs/testing/assertthat.d.ts | DavidANeil/DefinitelyTyped | 11a35610605b4e8d3609af338d6fd26dbc109b81 | [
"MIT"
] | null | null | null | /// <reference path="../../../../globals.d.ts"/>
/// <reference path="../../debug/error.d.ts"/>
/// <reference path="./matcher.d.ts"/>
declare module 'goog:goog.labs.testing.assertThat' {
import alias = goog.labs.testing.assertThat;
export default alias;
}
declare module 'goog:goog.labs.testing.MatcherError' ... | 31.538462 | 100 | 0.64878 |
f4a854ed527ca42a7c331748c471d806234bbe06 | 813 | ts | TypeScript | tests/unit/gui/lib/operationHistory/scriptGenerator/codeGenerator/AliasGenerator.spec.ts | hitenkoku/latteart | 87b9e63da24c2e886dacae32e7d813fd49ed3244 | [
"Apache-2.0"
] | 29 | 2021-11-25T10:00:25.000Z | 2022-03-30T14:26:13.000Z | tests/unit/gui/lib/operationHistory/scriptGenerator/codeGenerator/AliasGenerator.spec.ts | hitenkoku/latteart | 87b9e63da24c2e886dacae32e7d813fd49ed3244 | [
"Apache-2.0"
] | 211 | 2021-12-09T04:18:28.000Z | 2022-03-30T07:57:35.000Z | tests/unit/gui/lib/operationHistory/scriptGenerator/codeGenerator/AliasGenerator.spec.ts | hitenkoku/latteart | 87b9e63da24c2e886dacae32e7d813fd49ed3244 | [
"Apache-2.0"
] | 1 | 2022-03-09T08:52:55.000Z | 2022-03-09T08:52:55.000Z | import { AliasGenerator } from "@/lib/operationHistory/scriptGenerator/codeGenerator/AliasGenerator";
describe("AliasGenerator", () => {
describe("#generate", () => {
describe("渡されたnameフィールドを持つオブジェクトから別名を生成し、aliasフィールドを追加したオブジェクトを返す", () => {
it("渡された名前をコンストラクタで指定した文字数でカットし、複数同名のものがある場合は通番を付与する", () => {
... | 31.269231 | 101 | 0.549815 |
d7ec171ea780ced6c5cf97ca693a28b5a94ec4ff | 663 | sql | SQL | sql/002-bugfix.sql | Zankoku-Okuno/okuno.info | 80ea9250e20e914aee5c3e39d64868a040e4854c | [
"BSD-3-Clause"
] | 1 | 2020-06-03T18:42:29.000Z | 2020-06-03T18:42:29.000Z | sql/002-bugfix.sql | Zankoku-Okuno/okuno.info | 80ea9250e20e914aee5c3e39d64868a040e4854c | [
"BSD-3-Clause"
] | 3 | 2019-10-15T16:43:08.000Z | 2019-11-09T16:54:46.000Z | sql/002-bugfix.sql | Zankoku-Okuno/okuno.info | 80ea9250e20e914aee5c3e39d64868a040e4854c | [
"BSD-3-Clause"
] | null | null | null | BEGIN;
ALTER TABLE action_item
ALTER COLUMN created_on SET DEFAULT current_date,
ALTER COLUMN last_accessed_on SET DEFAULT current_date,
ALTER COLUMN last_update_on SET DEFAULT current_date;
ALTER TABLE rt.timescale ADD CONSTRAINT rt_timescale_description_unique UNIQUE (description);
ALTE... | 41.4375 | 101 | 0.797888 |
8de6aa904e8e9ef0d5c271bf5fb84fa67a07f4c9 | 613 | js | JavaScript | src/models/Games.js | Met4tron/api-boilerplate | e70892cb6a875d2a3319f28befd39c925e48d46a | [
"MIT"
] | 1 | 2018-05-26T03:43:11.000Z | 2018-05-26T03:43:11.000Z | src/models/Games.js | Met4tron/api-boilerplate | e70892cb6a875d2a3319f28befd39c925e48d46a | [
"MIT"
] | null | null | null | src/models/Games.js | Met4tron/api-boilerplate | e70892cb6a875d2a3319f28befd39c925e48d46a | [
"MIT"
] | null | null | null | import mongoose from 'mongoose'
const Games = new mongoose.Schema({
teamOne: {
type: String,
required: true
},
teamTwo: {
type: String,
required: true
},
status: {
type: String,
enum: ['LIVE', 'FINISHED', 'PENDING'],
default: 'PENDING'
},
assets: {
teamOne: {
url: St... | 16.131579 | 47 | 0.559543 |
54f1f749de66e2faff8ef7a82adc770d5f510047 | 787 | css | CSS | main/style.css | joshplant/Better-Tray-Menu | 97265de425c10288c2dcc3df45a59bd5f84844db | [
"MIT"
] | 1 | 2021-04-08T04:26:30.000Z | 2021-04-08T04:26:30.000Z | main/style.css | jpl42/Better-Tray-Menu | 97265de425c10288c2dcc3df45a59bd5f84844db | [
"MIT"
] | null | null | null | main/style.css | jpl42/Better-Tray-Menu | 97265de425c10288c2dcc3df45a59bd5f84844db | [
"MIT"
] | null | null | null | html, body {
margin: 0;
padding: 0;
}
header {
-webkit-app-region: drag;
-webkit-user-select: none;
height: 20px;
position: fixed;
top: 0;
right: 0;
background-color: gray;
left: 0;
text-align: center;
padding: 5px;
}
main {
width: 100%;
height: 100%;
display: block;
margin-top: 30px... | 15.134615 | 30 | 0.613723 |
bb70532c4470d1b3d36a68581bf83086950702c8 | 4,356 | cs | C# | Assets/ObjectController/Walker/Walker.cs | XJINE/Unity_ObjectController | 6898f5d132b8df421cfbd596e7485a8fe83dfcc6 | [
"BSD-3-Clause"
] | 11 | 2017-11-14T07:59:54.000Z | 2022-03-18T09:19:19.000Z | Assets/ObjectController/Walker/Walker.cs | jiadong-deng/Unity_ObjectController | 6898f5d132b8df421cfbd596e7485a8fe83dfcc6 | [
"BSD-3-Clause"
] | 2 | 2017-04-28T09:42:33.000Z | 2017-05-09T07:26:18.000Z | Assets/ObjectController/Walker/Walker.cs | jiadong-deng/Unity_ObjectController | 6898f5d132b8df421cfbd596e7485a8fe83dfcc6 | [
"BSD-3-Clause"
] | 2 | 2018-04-15T14:13:01.000Z | 2019-05-04T13:12:16.000Z | using UnityEngine;
using UnityEngine.Events;
namespace ObjectController
{
/// <summary>
/// 目的地に向かって移動します.
/// </summary>
public class Walker : MonoBehaviour
{
#region Field
/// <summary>
/// Gizmo を描画するかどうか.
/// </summary>
public bool drawGizmos = true;
... | 24.335196 | 96 | 0.467631 |
a443a2b30f7f7c4821d86e9af1713d54b16f1d74 | 5,724 | php | PHP | plugins/goaway/GoAway.php | andrtechno/engine | 5e7b20e943464b0b278e5479ea8532ab7e82af9e | [
"MIT"
] | null | null | null | plugins/goaway/GoAway.php | andrtechno/engine | 5e7b20e943464b0b278e5479ea8532ab7e82af9e | [
"MIT"
] | null | null | null | plugins/goaway/GoAway.php | andrtechno/engine | 5e7b20e943464b0b278e5479ea8532ab7e82af9e | [
"MIT"
] | null | null | null | <?php
namespace panix\engine\plugins\goaway;
use panix\mod\plugins\BasePlugin;
use Yii;
use yii\base\BootstrapInterface;
use yii\base\Event;
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
use yii\web\Response;
/**
* Plugin Name: GoAway Links
* Plugin URI: https://pixelion.com.ua
* Version: 1.0
* Description: ... | 28.62 | 127 | 0.508036 |
23d8ae2b91a05be4ae5c013a969ac90f6ce9296d | 364 | js | JavaScript | commands/Encrypt.js | uSide/node-adonis-credentials | 0cd404c97b9e9c1b65f383312b8c9f03f17c2ef8 | [
"MIT"
] | null | null | null | commands/Encrypt.js | uSide/node-adonis-credentials | 0cd404c97b9e9c1b65f383312b8c9f03f17c2ef8 | [
"MIT"
] | null | null | null | commands/Encrypt.js | uSide/node-adonis-credentials | 0cd404c97b9e9c1b65f383312b8c9f03f17c2ef8 | [
"MIT"
] | null | null | null | "use strict";
const Base = require("./Base");
class CredentialsEncrypt extends Base {
static get signature() {
return "credentials:encrypt";
}
static get description() {
return "Encrypt secure credentials";
}
async handle() {
await this.transform(true);
this.info("Credentials encrypted");
... | 17.333333 | 40 | 0.678571 |
da8a86791c4620a0c8f97f37b93c776715bb59ac | 229 | h | C | sessionDownload/downloadCeshi/Controllers/ListTableViewController.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 11 | 2017-03-30T04:43:17.000Z | 2021-02-23T02:22:32.000Z | sessionDownload/downloadCeshi/Controllers/ListTableViewController.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 2 | 2017-05-08T06:40:18.000Z | 2017-07-07T04:16:11.000Z | sessionDownload/downloadCeshi/Controllers/ListTableViewController.h | ZB0106/SessionDownload | ca910fb1c5845f2ab8b6b7add86c099914d264ed | [
"MIT"
] | 2 | 2017-09-19T06:55:18.000Z | 2021-03-11T03:53:18.000Z | //
// ListTableViewController.h
// downloadCeshi
//
// Created by 瞄财网 on 2017/3/15.
// Copyright © 2017年 瞄财网. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ListTableViewController : UITableViewController
@end
| 16.357143 | 58 | 0.720524 |
1a770d5d62a14461aa8caa02bc9120bf451709a0 | 720 | py | Python | bruhat/render/doc/test_sat.py | punkdit/bruhat | 3231eacc49fd3464542f7eb72684751371d9876c | [
"MIT"
] | 3 | 2020-04-07T13:21:30.000Z | 2020-07-15T02:07:20.000Z | bruhat/render/doc/test_sat.py | punkdit/bruhat | 3231eacc49fd3464542f7eb72684751371d9876c | [
"MIT"
] | null | null | null | bruhat/render/doc/test_sat.py | punkdit/bruhat | 3231eacc49fd3464542f7eb72684751371d9876c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
def test_sat():
#
# [<<< table of contents](index.html)
#
# ---
#
# Constraint satisfier
# ====================
#
#
#
from bruhat.render.sat import Variable, Solver, System
x = Variable('x')
y = Variable('y')
z = Variable('... | 14.117647 | 58 | 0.469444 |
87a203adf9fa9d4e5b845149a2b5894aad6ea3b7 | 2,046 | asm | Assembly | programs/oeis/048/A048509.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/048/A048509.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/048/A048509.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A048509: a(n) = T(4,n), array T given by A048505.
; 1,26,87,233,577,1377,3217,7409,16881,38129,85489,190449,421873,929777,2039793,4456433,9699313,21037041,45481969,98041841,210763761,451936241,966787057,2063597553,4395630577,9344909297,19830669297,42010148849,88852135921,187636383729,395673862129,833223655409,1752346... | 170.5 | 1,914 | 0.923265 |
c32c53dc8629d241c305ecfad0532044e666b467 | 484 | swift | Swift | Demo/SpotifyDemo/Views/LoggedIn/SettingsView.swift | VergeGroup/Verge | 4427e0d17fa9b3049677f84a3da0ee8d589ebf9b | [
"MIT"
] | 263 | 2020-06-14T12:14:35.000Z | 2022-03-27T13:05:38.000Z | Demo/SpotifyDemo/Views/LoggedIn/SettingsView.swift | muukii/Cycler | 6dc124641a6908200343cf24f2e4dcf622f911db | [
"MIT"
] | 22 | 2020-06-25T14:00:08.000Z | 2022-03-10T18:11:42.000Z | Demo/SpotifyDemo/Views/LoggedIn/SettingsView.swift | muukii/Cycler | 6dc124641a6908200343cf24f2e4dcf622f911db | [
"MIT"
] | 13 | 2020-06-25T13:25:23.000Z | 2021-12-10T03:57:12.000Z |
import Foundation
import SwiftUI
import SpotifyUIKit
import SpotifyService
import Verge
struct SettingsView: View {
let stack: LoggedInStack
var body: some View {
StateReader(stack.derivedState.chain(.map(\.computed.me))).content { me in
ScrollView {
SettingsViewComponent.profileCell(name: me.... | 19.36 | 87 | 0.636364 |
1ab00ec31d0cbeb0c4ba6dcbfe82bef89ee6e755 | 1,705 | py | Python | server/plugins/machine_detail_remote_connection/machine_detail_remote_connection.py | gregneagle/sal | 74c583fb1c1b33d3201b308b147376b3dcaca33f | [
"Apache-2.0"
] | 2 | 2019-11-01T20:50:35.000Z | 2021-01-13T22:02:55.000Z | server/plugins/machine_detail_remote_connection/machine_detail_remote_connection.py | gregneagle/sal | 74c583fb1c1b33d3201b308b147376b3dcaca33f | [
"Apache-2.0"
] | null | null | null | server/plugins/machine_detail_remote_connection/machine_detail_remote_connection.py | gregneagle/sal | 74c583fb1c1b33d3201b308b147376b3dcaca33f | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
"""Machine detail plugin to allow easy VNC or SSH connections."""
from django.conf import settings
from django.template import loader, Context
from yapsy.IPlugin import IPlugin
from server.models import Machine
class RemoteConnection(IPlugin):
def plugin_type(self):
return "machine_d... | 32.169811 | 76 | 0.620528 |
14d4ee562960b2cf939bd1e31343125648d54d26 | 8,605 | tsx | TypeScript | lib/validation.tsx | cds-snc/platform-forms-client | 59e8f1fc65bc7be7507f0f5463c4c7594f0c4f67 | [
"MIT"
] | 11 | 2021-01-28T21:27:53.000Z | 2022-02-16T14:37:24.000Z | lib/validation.tsx | cds-snc/platform-forms-client | 59e8f1fc65bc7be7507f0f5463c4c7594f0c4f67 | [
"MIT"
] | 491 | 2021-01-19T19:32:46.000Z | 2022-03-31T18:50:26.000Z | lib/validation.tsx | cds-snc/platform-forms-client | 59e8f1fc65bc7be7507f0f5463c4c7594f0c4f67 | [
"MIT"
] | 3 | 2021-02-22T12:33:19.000Z | 2021-06-15T15:23:01.000Z | import React from "react";
import {
FormValues,
DynamicFormProps,
InnerFormProps,
Responses,
ValidationProperties,
FormElement,
} from "./types";
import { FormikProps } from "formik";
import { TFunction } from "next-i18next";
import { acceptedFileMimeTypes } from "../components/forms";
import ErrorListItem ... | 32.969349 | 104 | 0.605113 |
b055e141091e745cf0d474840b9594aad57dcca0 | 807 | py | Python | test/unit/test_clipboardtool.py | muchu1983/104_cameo | 8c7f78de198a5bd8d870589402e3b7e8b59f520a | [
"BSD-3-Clause"
] | null | null | null | test/unit/test_clipboardtool.py | muchu1983/104_cameo | 8c7f78de198a5bd8d870589402e3b7e8b59f520a | [
"BSD-3-Clause"
] | null | null | null | test/unit/test_clipboardtool.py | muchu1983/104_cameo | 8c7f78de198a5bd8d870589402e3b7e8b59f520a | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Copyright (C) 2015, MuChu Hsu
Contributed by Muchu Hsu (muchu1983@gmail.com)
This file is part of BSD license
<https://opensource.org/licenses/BSD-3-Clause>
"""
import unittest
import logging
from cameo.clipboardtool import ClipboardTool
"""
測試 剪貼簿存取工具
"""
class ClipboardToolTest(unittest... | 19.682927 | 64 | 0.670384 |
2c82f301822c300fe70168dc7e039d742a83604f | 6,297 | py | Python | code/nn.py | pavelsof/mstnn | 2569f935597ba888cc9449e6affb99fe9879663c | [
"MIT"
] | 3 | 2018-03-14T14:05:36.000Z | 2019-09-26T14:17:04.000Z | code/nn.py | pavelsof/mstnn | 2569f935597ba888cc9449e6affb99fe9879663c | [
"MIT"
] | null | null | null | code/nn.py | pavelsof/mstnn | 2569f935597ba888cc9449e6affb99fe9879663c | [
"MIT"
] | null | null | null | from keras.callbacks import LambdaCallback
from keras.layers import Dense, Dropout, Embedding, Flatten, Input, merge
from keras.models import load_model, Model
"""
Tuple listing the names of the features that are fed into the network for each
edge of each sentence graph.
Used as the keys of the samples dict returne... | 34.037838 | 91 | 0.721613 |
d17173d1b8259b0db5a4182f90a1f0b538e75651 | 1,364 | cs | C# | C# Web Development/02. C# Fundamentals/06. Objects and Classes/Lab/Songs/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | C# Web Development/02. C# Fundamentals/06. Objects and Classes/Lab/Songs/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | C# Web Development/02. C# Fundamentals/06. Objects and Classes/Lab/Songs/Program.cs | Vanrektus/Software-University | 9095aef6ec2c0af8804dded73436de11f9a13592 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
namespace Songs
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
List<Song> songs = new List<Song>();
for (int i = 1; i <= n; i++)
{
... | 23.517241 | 60 | 0.417889 |
618887f9088c3db8e4f61b6666332a7e5b3c1bb1 | 429 | dart | Dart | katas/7kyu_Consecutive letters.dart | Alyssa-Ng/codewars-dart-solutions | 5cc87a8144267eb49d49e58c4ec87b41b929271d | [
"MIT"
] | null | null | null | katas/7kyu_Consecutive letters.dart | Alyssa-Ng/codewars-dart-solutions | 5cc87a8144267eb49d49e58c4ec87b41b929271d | [
"MIT"
] | null | null | null | katas/7kyu_Consecutive letters.dart | Alyssa-Ng/codewars-dart-solutions | 5cc87a8144267eb49d49e58c4ec87b41b929271d | [
"MIT"
] | 1 | 2020-11-17T10:23:32.000Z | 2020-11-17T10:23:32.000Z | //https://www.codewars.com/kata/5ce6728c939bf80029988b57
bool solve(String s) {
int char_a = 'a'.codeUnitAt(0);
List<String> alphabet = String.fromCharCodes(List.generate(26, (x) => char_a + x)).split('');
List<String> sList = s.split('');
sList.sort();
int start = alphabet.indexOf(sList[0]);
for (int i =... | 28.6 | 96 | 0.631702 |
79772c6e312c245b1b2ed31125c7cc45ec46984a | 6,905 | php | PHP | models/b2b2c/VipOrganization.php | tigergithub01/b2b2c | 75005a727d539176cc6e426c17ebf5fb40bd0c62 | [
"BSD-3-Clause"
] | null | null | null | models/b2b2c/VipOrganization.php | tigergithub01/b2b2c | 75005a727d539176cc6e426c17ebf5fb40bd0c62 | [
"BSD-3-Clause"
] | null | null | null | models/b2b2c/VipOrganization.php | tigergithub01/b2b2c | 75005a727d539176cc6e426c17ebf5fb40bd0c62 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\models\b2b2c;
use Yii;
/**
* This is the model class for table "t_vip_organization".
*
* @property string $id
* @property string $name
* @property string $status
* @property string $logo_img_url
* @property string $logo_thumb_url
* @property string $logo_img_original
* @property string $... | 35.592784 | 219 | 0.565243 |
5f3d0b2efabe6024b6acadc8f0e25c205d383c97 | 703 | gemspec | Ruby | fiddlesticks.gemspec | bjorngrunde/fiddlesticks | 6fbe1df4df6aa71b51c51976611cb59e71d7e120 | [
"MIT"
] | null | null | null | fiddlesticks.gemspec | bjorngrunde/fiddlesticks | 6fbe1df4df6aa71b51c51976611cb59e71d7e120 | [
"MIT"
] | null | null | null | fiddlesticks.gemspec | bjorngrunde/fiddlesticks | 6fbe1df4df6aa71b51c51976611cb59e71d7e120 | [
"MIT"
] | null | null | null | Gem::Specification.new do |s|
s.name = "fiddlesticks"
s.version = '0.1.0'
s.authors = ["Björn Grunde"]
s.email = "bjorngrunde@live.se"
#s.homepage = ""
s.summary = "Shows memory usage for a block of code"
s.description = "Fiddlesticks accepts a block of code and willl show the ... | 46.866667 | 171 | 0.671408 |
4644fb97af5410dee90012efe2dc8a58e8ab7040 | 5,509 | php | PHP | resources/views/products/product.blade.php | OmarTarekAbbas/waffarly_backend_php7_refacter | 3058f44913962aebcca229ac6f25899e1a75ad58 | [
"MIT"
] | null | null | null | resources/views/products/product.blade.php | OmarTarekAbbas/waffarly_backend_php7_refacter | 3058f44913962aebcca229ac6f25899e1a75ad58 | [
"MIT"
] | null | null | null | resources/views/products/product.blade.php | OmarTarekAbbas/waffarly_backend_php7_refacter | 3058f44913962aebcca229ac6f25899e1a75ad58 | [
"MIT"
] | null | null | null | @extends('template')
@section('page_title')
Products
@stop
@section('content')
@include('errors')
<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-title">
<h3><i class="fa fa-bars"></i>Add Product Form</h3>
<div class="box-tool">
... | 50.541284 | 217 | 0.453621 |
58791204a88c2b74d5051057c14b5f480bcf27cb | 2,118 | kt | Kotlin | compose-destinations/src/main/java/com/ramcosta/composedestinations/result/ResultBackNavigator.kt | rafaeltonholo/compose-destinations | cd408054fbe46d98f8adbeb87b36581e882eb02f | [
"Apache-2.0"
] | null | null | null | compose-destinations/src/main/java/com/ramcosta/composedestinations/result/ResultBackNavigator.kt | rafaeltonholo/compose-destinations | cd408054fbe46d98f8adbeb87b36581e882eb02f | [
"Apache-2.0"
] | null | null | null | compose-destinations/src/main/java/com/ramcosta/composedestinations/result/ResultBackNavigator.kt | rafaeltonholo/compose-destinations | cd408054fbe46d98f8adbeb87b36581e882eb02f | [
"Apache-2.0"
] | null | null | null | package com.ramcosta.composedestinations.result
import androidx.compose.runtime.*
import androidx.navigation.NavController
import com.ramcosta.composedestinations.dynamic.DynamicDestinationSpec
import com.ramcosta.composedestinations.spec.DestinationSpec
/**
* Navigator that allows navigating back while passing
* a... | 37.157895 | 112 | 0.724268 |
cdcd5dc4fe4df6fba427081978d27bd23e6b3182 | 5,427 | cs | C# | OpenDotaApi/Utilities/RequestHandler.cs | sominola/OpenDota-API | 837d9e2d73a69d7d427090e22a2a2f4d142bf2ea | [
"MIT"
] | 9 | 2021-02-15T03:12:22.000Z | 2021-12-30T17:05:15.000Z | OpenDotaApi/Utilities/RequestHandler.cs | sominola/OpenDota-API | 837d9e2d73a69d7d427090e22a2a2f4d142bf2ea | [
"MIT"
] | 1 | 2021-06-09T02:36:35.000Z | 2021-06-09T02:57:17.000Z | OpenDotaApi/Utilities/RequestHandler.cs | sominola/OpenDota-API | 837d9e2d73a69d7d427090e22a2a2f4d142bf2ea | [
"MIT"
] | 1 | 2021-09-12T19:50:59.000Z | 2021-09-12T19:50:59.000Z | using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace OpenDotaApi.Utilities
{
public sealed class RequestHandler : IDisposable
{
private bool _disposed;
private readonly HttpClientHandler _handler;
... | 30.318436 | 113 | 0.491247 |
5db9340d42d094ca8265a0f50a983b31c8c05d7a | 3,392 | cpp | C++ | patrace/src/common/memory.cpp | ricardoquesada/patrace | c55c2817433ab2301733101d64206abb8687d371 | [
"MIT"
] | 1 | 2019-10-13T16:57:52.000Z | 2019-10-13T16:57:52.000Z | patrace/src/common/memory.cpp | xiangruipuzhao/patrace | db444184177277b23e1de93fd320493628aae850 | [
"MIT"
] | null | null | null | patrace/src/common/memory.cpp | xiangruipuzhao/patrace | db444184177277b23e1de93fd320493628aae850 | [
"MIT"
] | 1 | 2021-04-15T17:34:35.000Z | 2021-04-15T17:34:35.000Z | #include "memory.hpp"
#include "os.hpp"
#include <cstdio>
#include <cassert>
namespace common
{
void PrintMemory(const void *mem, size_t len)
{
printf("\nMEMORY PRINT BEGIN : %d >>>>>>>>>>>> {\n", (int)len);
const unsigned char *begin = (const unsigned char*)mem;
for (size_t i = 0; i < len; ++i)
{
... | 28.745763 | 143 | 0.623231 |
5d45cdc08b5de2e5e9a700671724f6927eddb5e5 | 3,423 | rs | Rust | futures-macro-async/src/elision.rs | rubdos/futures-rs | 28780097f54416e88e6ea13ae6c7c201d63a99ca | [
"Apache-2.0",
"MIT"
] | null | null | null | futures-macro-async/src/elision.rs | rubdos/futures-rs | 28780097f54416e88e6ea13ae6c7c201d63a99ca | [
"Apache-2.0",
"MIT"
] | null | null | null | futures-macro-async/src/elision.rs | rubdos/futures-rs | 28780097f54416e88e6ea13ae6c7c201d63a99ca | [
"Apache-2.0",
"MIT"
] | null | null | null | use proc_macro2::Span;
use syn::*;
use syn::punctuated::Punctuated;
use syn::token::Comma;
use syn::fold::Fold;
pub fn unelide_lifetimes(generics: &mut Punctuated<GenericParam, Comma>, args: Vec<FnArg>)
-> Vec<FnArg>
{
let mut folder = UnelideLifetimes::new(generics);
args.into_iter().map(|arg| folder.fold... | 35.28866 | 106 | 0.650307 |
15de77617410fcc70f58a77411aded3caf6722cb | 1,412 | podspec | Ruby | AudienceHowzatSDK.podspec | howzatdev/audiencehowzatsdk | 081f9be421a0b0e44e2610fdb7d75f87c9e5ae6d | [
"MIT"
] | null | null | null | AudienceHowzatSDK.podspec | howzatdev/audiencehowzatsdk | 081f9be421a0b0e44e2610fdb7d75f87c9e5ae6d | [
"MIT"
] | null | null | null | AudienceHowzatSDK.podspec | howzatdev/audiencehowzatsdk | 081f9be421a0b0e44e2610fdb7d75f87c9e5ae6d | [
"MIT"
] | null | null | null |
Pod::Spec.new do |s|
s.name = 'AudienceHowzatSDK'
s.version = '0.1.8'
s.summary = 'HowzatAudienceSDK by Howzat team'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it s... | 40.342857 | 131 | 0.641643 |
7fb50a8ea11d44cc526556cca0f3966041687406 | 251 | php | PHP | Modules/Consultor/Actions/GenerarColorRandom.php | philipretl/prueba_tecnica_agence | 70d0510b3b00be7a2c37737ec88b4356e76d6ce3 | [
"MIT"
] | null | null | null | Modules/Consultor/Actions/GenerarColorRandom.php | philipretl/prueba_tecnica_agence | 70d0510b3b00be7a2c37737ec88b4356e76d6ce3 | [
"MIT"
] | null | null | null | Modules/Consultor/Actions/GenerarColorRandom.php | philipretl/prueba_tecnica_agence | 70d0510b3b00be7a2c37737ec88b4356e76d6ce3 | [
"MIT"
] | null | null | null | <?php
namespace Modules\Consultor\Actions;
class GenerarColorRandom
{
public static function execute(){
$colorRandom=''."rgba(".random_int(1, 255).', '.random_int(1, 255).', '.random_int(1, 255). ', 1.0)'.'';
return $colorRandom;
}
}
| 16.733333 | 108 | 0.641434 |
2f72db8720281e9eb271ead3cc168e340a221d34 | 2,661 | swift | Swift | Pod-Chat-iOS-SDK/Chat/CoreDataCache/CacheModels/CMUser+CoreDataClass.swift | hamed8080/Fanap-Chat-SDK | 07b05f9b9a42cc88a4d9e71cd0aa94f360df4ba2 | [
"MIT"
] | 1 | 2019-12-29T13:50:47.000Z | 2019-12-29T13:50:47.000Z | Pod-Chat-iOS-SDK/Chat/CoreDataCache/CacheModels/CMUser+CoreDataClass.swift | hamed8080/Fanap-Chat-SDK | 07b05f9b9a42cc88a4d9e71cd0aa94f360df4ba2 | [
"MIT"
] | null | null | null | Pod-Chat-iOS-SDK/Chat/CoreDataCache/CacheModels/CMUser+CoreDataClass.swift | hamed8080/Fanap-Chat-SDK | 07b05f9b9a42cc88a4d9e71cd0aa94f360df4ba2 | [
"MIT"
] | 2 | 2021-03-27T11:40:28.000Z | 2021-04-07T08:19:13.000Z | //
// CMUser+CoreDataClass.swift
// FanapPodChatSDK
//
// Created by Mahyar Zhiani on 11/1/1397 AP.
// Copyright © 1397 Mahyar Zhiani. All rights reserved.
//
//
import Foundation
import CoreData
public class CMUser: NSManagedObject {
public func convertCMObjectToObject() -> User {
var ... | 32.851852 | 86 | 0.474634 |
b6cd6d5492e02635ae511091fbeefcbf82eb5ac4 | 957 | asm | Assembly | BigNum/Mod/Base/bnShr.asm | FloydZ/Crypto-Hash | 2635450fb16d4d8dc4578d6539cc25ce599f7e21 | [
"MIT"
] | 11 | 2015-03-17T10:31:23.000Z | 2022-01-21T17:42:43.000Z | BigNum/Mod/Base/bnShr.asm | 0xFF1E071F/Crypto-Hash | 2635450fb16d4d8dc4578d6539cc25ce599f7e21 | [
"MIT"
] | null | null | null | BigNum/Mod/Base/bnShr.asm | 0xFF1E071F/Crypto-Hash | 2635450fb16d4d8dc4578d6539cc25ce599f7e21 | [
"MIT"
] | 6 | 2018-01-29T16:06:36.000Z | 2021-05-08T19:22:24.000Z | .686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
bnShr proc uses edi esi ebx bn:DWORD,sc:DWORD
mov edx,sc
shr edx,5
jnz @@Shr32
@@Shrle31:
mov ecx,sc
mov esi,bn
and ecx,31
jz @@Exit
xor eax,eax
mov ebx,[esi].BN.dwSize
mov edx,[esi].BN.dwArray[0*4]
shrd eax,edx,cl... | 15.190476 | 46 | 0.669801 |
4b09300c2fb8f9825e988bf412b9059f87f30f72 | 1,680 | swift | Swift | POP Flix/POP Flix/View/ColorfulLine.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | 1 | 2020-01-08T15:32:10.000Z | 2020-01-08T15:32:10.000Z | POP Flix/POP Flix/View/ColorfulLine.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | null | null | null | POP Flix/POP Flix/View/ColorfulLine.swift | renefx/POP-Flix | f1b45929eea37d091c97887fdc93657753321447 | [
"MIT"
] | null | null | null | //
// ColorfulLine.swift
// POP Flix
//
// Created by Renê Xavier on 23/03/19.
// Copyright © 2019 Renefx. All rights reserved.
//
import UIKit
class ColorfulLine: UIImageView {
var colors: [UIColor] = []
var lineHeight: CGFloat = 2
override init(frame: CGRect) {
super.init(frame: frame)
... | 27.540984 | 97 | 0.598214 |
12c35fa3b02692d0cdf39e595bf379c22837257a | 441 | cs | C# | SyncfusionSample/src/SyncfusionSample.Application/SyncfusionSampleApplicationAutoMapperProfile.cs | sanmen359/abp-samples | 3ae5af0082d44898db7987c9805fdce0a4fab818 | [
"MIT"
] | 807 | 2020-03-28T10:09:49.000Z | 2022-03-31T12:44:33.000Z | SyncfusionSample/src/SyncfusionSample.Application/SyncfusionSampleApplicationAutoMapperProfile.cs | geffzhang/abp-samples | b9b3205ddb3776b6d3f4f70464ff696165f34ec5 | [
"MIT"
] | 30 | 2020-03-28T19:29:43.000Z | 2022-03-20T18:17:14.000Z | SyncfusionSample/src/SyncfusionSample.Application/SyncfusionSampleApplicationAutoMapperProfile.cs | geffzhang/abp-samples | b9b3205ddb3776b6d3f4f70464ff696165f34ec5 | [
"MIT"
] | 877 | 2020-04-09T18:01:10.000Z | 2022-03-31T12:26:38.000Z | using AutoMapper;
namespace SyncfusionSample
{
public class SyncfusionSampleApplicationAutoMapperProfile : Profile
{
public SyncfusionSampleApplicationAutoMapperProfile()
{
/* You can configure your AutoMapper mapping configuration here.
* Alternatively, you can split ... | 29.4 | 76 | 0.684807 |
06cc1e1da84065b5ee571c6918f68c3a29feb28d | 211 | py | Python | tests/conftest.py | CJWorkbench/carehare | 1dc5859a925e29f684b0c32c75eb20f66f858d01 | [
"MIT"
] | 4 | 2021-06-16T12:45:42.000Z | 2022-02-18T04:14:27.000Z | tests/conftest.py | CJWorkbench/carehare | 1dc5859a925e29f684b0c32c75eb20f66f858d01 | [
"MIT"
] | 6 | 2021-05-14T13:30:08.000Z | 2022-02-25T22:10:09.000Z | tests/conftest.py | CJWorkbench/carehare | 1dc5859a925e29f684b0c32c75eb20f66f858d01 | [
"MIT"
] | 1 | 2022-01-14T13:42:51.000Z | 2022-01-14T13:42:51.000Z | import pytest
from carehare import connect
from tests.util import SSL_CONTEXT, URL
@pytest.fixture
async def connection():
async with connect(URL, ssl=SSL_CONTEXT) as connection:
yield connection
| 19.181818 | 59 | 0.763033 |
6509720aea1804c10cd83854f52d8b2c212ab931 | 2,277 | css | CSS | resources/sap/ui/suite/themes/sap_belize/library.css | Debakel/stundensatzrechner | 05154868f78e687e7bb878804acbad902c973dd9 | [
"Apache-2.0"
] | 5 | 2020-08-04T08:19:35.000Z | 2021-11-24T10:12:29.000Z | resources/sap/ui/suite/themes/sap_belize/library.css | Debakel/stundensatzrechner | 05154868f78e687e7bb878804acbad902c973dd9 | [
"Apache-2.0"
] | 1 | 2021-02-23T09:15:02.000Z | 2021-02-24T08:27:46.000Z | resources/sap/ui/suite/themes/sap_belize/library.css | Debakel/stundensatzrechner | 05154868f78e687e7bb878804acbad902c973dd9 | [
"Apache-2.0"
] | 2 | 2021-11-12T07:49:59.000Z | 2021-11-24T10:12:32.000Z | /*!
* OpenUI5
* (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
/*!
* OpenUI5
* (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
.sapUiTaskCircl... | 189.75 | 1,973 | 0.833553 |
05e70ba7c5287e46e5cff1fe5b396f7b7d76fe8d | 248 | py | Python | mythril/rpc/exceptions.py | mbeacom/mythril | 57593f8d664e27d78fb23c89ed4a7d2a617c06a7 | [
"MIT"
] | 166 | 2015-09-14T16:57:01.000Z | 2022-01-23T04:30:48.000Z | mythril/rpc/exceptions.py | kayuri/mythril | e8e5842a25782a86bdc8783e71f12cab892cd44f | [
"MIT"
] | 37 | 2015-09-07T04:48:27.000Z | 2020-08-18T14:11:49.000Z | mythril/rpc/exceptions.py | kayuri/mythril | e8e5842a25782a86bdc8783e71f12cab892cd44f | [
"MIT"
] | 117 | 2015-09-15T14:59:49.000Z | 2022-03-31T00:54:05.000Z | class EthJsonRpcError(Exception):
pass
class ConnectionError(EthJsonRpcError):
pass
class BadStatusCodeError(EthJsonRpcError):
pass
class BadJsonError(EthJsonRpcError):
pass
class BadResponseError(EthJsonRpcError):
pass
| 13.052632 | 42 | 0.766129 |
b0d1b9e146f74bbde0bfdc763d056867f774ea5e | 417 | swift | Swift | Project/lcof/lcof/Solutions/S16.swift | kunwang0916/SwiftLeetcode | 2404f14d4c4978cbefd89e0e6226f0b5af45b1a2 | [
"Apache-2.0"
] | 3 | 2019-07-14T01:50:15.000Z | 2021-02-06T01:40:37.000Z | Project/lcof/lcof/Solutions/S16.swift | kunwang0916/SwiftLeetcode | 2404f14d4c4978cbefd89e0e6226f0b5af45b1a2 | [
"Apache-2.0"
] | null | null | null | Project/lcof/lcof/Solutions/S16.swift | kunwang0916/SwiftLeetcode | 2404f14d4c4978cbefd89e0e6226f0b5af45b1a2 | [
"Apache-2.0"
] | null | null | null | //
// S16.swift
// lcof
//
class S16 {
func myPow(_ x: Double, _ n: Int) -> Double {
if n < 0 {
return 1.0 / myPow(x, -n)
}
if n == 0 {
return 1
}
if n == 1 {
return x
}
let h = myPow(x, n / 2)
if n % 2... | 14.892857 | 49 | 0.304556 |
ef1c1153e04893a11ae67676a1185dedbab514f0 | 381 | lua | Lua | utils/transition.lua | josefnpat/columns | 836312be76b85b7f85e0cb2c31f5f22624c62d3e | [
"CC-BY-3.0"
] | 11 | 2015-03-03T15:09:55.000Z | 2021-12-17T16:27:17.000Z | utils/transition.lua | josefnpat/columns | 836312be76b85b7f85e0cb2c31f5f22624c62d3e | [
"CC-BY-3.0"
] | null | null | null | utils/transition.lua | josefnpat/columns | 836312be76b85b7f85e0cb2c31f5f22624c62d3e | [
"CC-BY-3.0"
] | 5 | 2015-08-05T08:38:51.000Z | 2021-01-04T09:22:25.000Z | -- Current and new states are tables which optionally contain functions named
-- after löve callbacks, and two additional function 'onEnter' and 'onExit'.
local function transition(current, new)
if new then
if current and current.onExit then current.onExit() end
if new.onEnter then new.onEnter() end
retur... | 27.214286 | 77 | 0.750656 |
b252c48c03b6bfaf7bfb1e816645a71d8eb815bb | 3,805 | swift | Swift | MyHeroesAPI/Classes/Network/Engine.swift | gilson-gil/MyHeroesAPI | 333f790e51ff0f4f33c023d39917b492c2ca12b0 | [
"MIT"
] | null | null | null | MyHeroesAPI/Classes/Network/Engine.swift | gilson-gil/MyHeroesAPI | 333f790e51ff0f4f33c023d39917b492c2ca12b0 | [
"MIT"
] | null | null | null | MyHeroesAPI/Classes/Network/Engine.swift | gilson-gil/MyHeroesAPI | 333f790e51ff0f4f33c023d39917b492c2ca12b0 | [
"MIT"
] | 1 | 2021-04-08T13:48:34.000Z | 2021-04-08T13:48:34.000Z | //
// Engine.swift
// MyHeroes
//
// Created by Gilson Takaasi Gil on 30/07/19.
// Copyright © 2019 Gilson Gil. All rights reserved.
//
import Foundation
public final class NetworkEngine<Target: Service> {
public var tasks: [URLSessionDataTask] = []
private lazy var session: URLSession = {
var con... | 38.826531 | 106 | 0.583968 |
44952219bd7caefe86eb456ff05c3bdc9ad9ab5e | 12,354 | dart | Dart | lib/screens/profile.dart | daniel-vera-g/flutter-peer | 2ca9a49b79632833e85744f40ad70092d89b108b | [
"MIT"
] | 1 | 2020-02-21T14:40:51.000Z | 2020-02-21T14:40:51.000Z | lib/screens/profile.dart | daniel-vera-g/flutter-peer | 2ca9a49b79632833e85744f40ad70092d89b108b | [
"MIT"
] | 1 | 2019-06-02T07:35:50.000Z | 2019-06-02T07:49:41.000Z | lib/screens/profile.dart | daniel-vera-g/flutter-peer | 2ca9a49b79632833e85744f40ad70092d89b108b | [
"MIT"
] | null | null | null | import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/material.dart';
import 'package:flutterpeer/models/user.dart';
import 'package:provider/provider.dart';
class ProfilePage extends StatefulWidget {
@override
_ProfilePageState createStat... | 47.515385 | 102 | 0.278614 |
f8f9a636edda72964354efc7bec76edea8cf6d55 | 651 | cpp | C++ | sample/k_distance_main.cpp | iwiwi/top-k-pruned-landmark-labeling | e334aab5faa10b0aa098f6895d8df393644fa532 | [
"BSD-3-Clause"
] | 1 | 2021-06-06T01:31:34.000Z | 2021-06-06T01:31:34.000Z | sample/k_distance_main.cpp | iwiwi/top-k-pruned-landmark-labeling | e334aab5faa10b0aa098f6895d8df393644fa532 | [
"BSD-3-Clause"
] | null | null | null | sample/k_distance_main.cpp | iwiwi/top-k-pruned-landmark-labeling | e334aab5faa10b0aa098f6895d8df393644fa532 | [
"BSD-3-Clause"
] | 1 | 2018-01-10T00:18:42.000Z | 2018-01-10T00:18:42.000Z | #include <cstdlib>
#include <iostream>
#include "top_k_pruned_landmark_labeling.hpp"
using namespace std;
int main(int argc, char **argv) {
if (argc != 2) {
cerr << "Usage: " << argv[0] << " (index_file)" << endl;
exit(EXIT_FAILURE);
}
TopKPrunedLandmarkLabeling kpll;
if (!kpll.LoadIndex(argv[1]... | 20.34375 | 60 | 0.55914 |
c9f8604b7bd50bb1577e0c79de4f8d9c7df745be | 936 | tsx | TypeScript | packages/online/sparrow-preview/src/components/FileExplorer/Directory/Directory.tsx | iTP-LLC/sparrow | 676c179c0ea10c91ccc12c50f04e9c033eb42e54 | [
"MIT"
] | 2,514 | 2020-01-30T04:05:02.000Z | 2022-03-30T13:40:48.000Z | packages/online/sparrow-preview/src/components/FileExplorer/Directory/Directory.tsx | williamyorkl/sparrow | 676c179c0ea10c91ccc12c50f04e9c033eb42e54 | [
"MIT"
] | 30 | 2020-05-18T14:35:55.000Z | 2022-02-21T03:56:25.000Z | packages/online/sparrow-preview/src/components/FileExplorer/Directory/Directory.tsx | williamyorkl/sparrow | 676c179c0ea10c91ccc12c50f04e9c033eb42e54 | [
"MIT"
] | 345 | 2020-06-29T13:51:06.000Z | 2022-03-24T05:53:45.000Z | import * as React from 'react';
import File from '../File';
import ModuleList from '../ModuleList';
import { IFiles } from '../../../types';
export interface Props {
prefixedPath: string;
files: IFiles;
selectFile: (path: string) => void;
openedPath: string;
depth: number;
}
export default class Directory... | 21.272727 | 78 | 0.569444 |
6dbc3bbf48519ad089b67b43248411dd7349961a | 278 | h | C | lib-src/libnyquist/nyquist/tran/follow.h | Marcusz97/CILP_Facilitatore_Audacity | fe7f59365317ce425abbaa79c973e931232c8680 | [
"CC-BY-3.0"
] | 24 | 2015-01-22T13:55:17.000Z | 2021-06-25T09:41:19.000Z | lib-src/libnyquist/nyquist/tran/follow.h | Marcusz97/CILP_Facilitatore_Audacity | fe7f59365317ce425abbaa79c973e931232c8680 | [
"CC-BY-3.0"
] | 5 | 2016-05-22T17:44:06.000Z | 2021-07-07T08:25:04.000Z | lib-src/libnyquist/nyquist/tran/follow.h | Marcusz97/CILP_Facilitatore_Audacity | fe7f59365317ce425abbaa79c973e931232c8680 | [
"CC-BY-3.0"
] | 14 | 2015-01-12T23:13:35.000Z | 2021-01-16T09:02:41.000Z | sound_type snd_make_follow(sound_type sndin, double floor, double risetime, double falltime, long lookahead);
sound_type snd_follow(sound_type sndin, double floor, double risetime, double falltime, long lookahead);
/* LISP: (snd-follow SOUND ANYNUM ANYNUM ANYNUM FIXNUM) */
| 69.5 | 109 | 0.794964 |
2a1efbb2345124b25559f8c1ceaa2c4038db7203 | 20 | rs | Rust | ices/92481.rs | xFrednet/glacier | 1714f420eb612d25fe956e4649eb37d0f04c8ce4 | [
"Apache-2.0",
"MIT"
] | null | null | null | ices/92481.rs | xFrednet/glacier | 1714f420eb612d25fe956e4649eb37d0f04c8ce4 | [
"Apache-2.0",
"MIT"
] | null | null | null | ices/92481.rs | xFrednet/glacier | 1714f420eb612d25fe956e4649eb37d0f04c8ce4 | [
"Apache-2.0",
"MIT"
] | null | null | null | fn r({){Ok{d..||_=m
| 10 | 19 | 0.4 |
b074b664eb2f918e0ba093f033b1bc56d19fd065 | 819 | py | Python | setup.py | kenske/terrafort | 30ee3a06f3eda7e0f3f2dfd404374640de27dbc4 | [
"MIT"
] | 1 | 2019-06-18T00:40:40.000Z | 2019-06-18T00:40:40.000Z | setup.py | kenske/terrafort | 30ee3a06f3eda7e0f3f2dfd404374640de27dbc4 | [
"MIT"
] | null | null | null | setup.py | kenske/terrafort | 30ee3a06f3eda7e0f3f2dfd404374640de27dbc4 | [
"MIT"
] | 1 | 2021-08-25T02:15:28.000Z | 2021-08-25T02:15:28.000Z | import os
from setuptools import setup, find_packages
install_requires = [
'boto3',
'click',
'jinja2'
]
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw... | 22.75 | 79 | 0.653236 |
b19499f7aa24ab9f5cb670288415e817a7f0d2a2 | 3,483 | py | Python | sahara/service/edp/job_binaries/manila/implementation.py | ksshanam/sahara | 0d259f7a71447cd0cefe4f11184cc2ee335f4e33 | [
"Apache-2.0"
] | 161 | 2015-01-05T11:46:42.000Z | 2022-01-05T07:41:39.000Z | sahara/service/edp/job_binaries/manila/implementation.py | ksshanam/sahara | 0d259f7a71447cd0cefe4f11184cc2ee335f4e33 | [
"Apache-2.0"
] | 5 | 2019-08-14T06:46:03.000Z | 2021-12-13T20:01:25.000Z | sahara/service/edp/job_binaries/manila/implementation.py | ksshanam/sahara | 0d259f7a71447cd0cefe4f11184cc2ee335f4e33 | [
"Apache-2.0"
] | 118 | 2015-01-29T06:34:35.000Z | 2021-12-06T07:30:09.000Z | # Copyright (c) 2017 OpenStack Foundation
#
# 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 to ... | 39.579545 | 76 | 0.656905 |
5d31489433abd306c91a48a598e08ea3d978729e | 3,379 | cpp | C++ | reichian/render.cpp | jdstmporter/bela-scripts | c22d8e216134a3630db89bc94848333579656d21 | [
"CC0-1.0"
] | null | null | null | reichian/render.cpp | jdstmporter/bela-scripts | c22d8e216134a3630db89bc94848333579656d21 | [
"CC0-1.0"
] | null | null | null | reichian/render.cpp | jdstmporter/bela-scripts | c22d8e216134a3630db89bc94848333579656d21 | [
"CC0-1.0"
] | null | null | null | /*
Sample deomonstration code for Bela, showing capability to perform Steve Reich's 'Clapping Music' in
the version for two performers (obviously, more tracks could be added)
Copyright 2020 Julian Porter
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the... | 34.131313 | 101 | 0.701391 |
9c3f0d7250d36d2c3bea43d7482a0b7e54eb47f0 | 385 | sql | SQL | tests/Kdyby/Tests/Migrations/Fixtures/BlogPackage/Migration/Version20120116170000.sql | eholy/Framework | 2d91de785cedec446a7e89e6ee62d8ba1f75d8b6 | [
"BSD-3-Clause"
] | 1 | 2020-11-11T15:04:15.000Z | 2020-11-11T15:04:15.000Z | tests/Kdyby/Tests/Migrations/Fixtures/BlogPackage/Migration/Version20120116170000.sql | eholy/Framework | 2d91de785cedec446a7e89e6ee62d8ba1f75d8b6 | [
"BSD-3-Clause"
] | null | null | null | tests/Kdyby/Tests/Migrations/Fixtures/BlogPackage/Migration/Version20120116170000.sql | eholy/Framework | 2d91de785cedec446a7e89e6ee62d8ba1f75d8b6 | [
"BSD-3-Clause"
] | null | null | null | -- this is a testing file :P
INSERT INTO articles VALUES ('Čeká miminko? Modelce Kate Moss se v šatech rýsovalo bříško', 'Kate Moss');
INSERT INTO articles VALUES ('Beyoncé má na snímcích z nového alba vybělenou pokožku. Stydí se snad za barvu pleti?', 'Beyonce');
INSERT INTO articles VALUES ('Ta se hodně povedla! Nov... | 64.166667 | 129 | 0.761039 |
ddc2883ae31fe1763b9e77af66ef89354d37b597 | 5,745 | java | Java | src/main/java/io/vertx/core/net/impl/pool/ConnectionPool.java | gmasnou/vert.x | d39c319c92ea6b24a00256efba65253cf6e4c366 | [
"Apache-2.0"
] | 1 | 2022-02-15T09:42:44.000Z | 2022-02-15T09:42:44.000Z | src/main/java/io/vertx/core/net/impl/pool/ConnectionPool.java | gmasnou/vert.x | d39c319c92ea6b24a00256efba65253cf6e4c366 | [
"Apache-2.0"
] | null | null | null | src/main/java/io/vertx/core/net/impl/pool/ConnectionPool.java | gmasnou/vert.x | d39c319c92ea6b24a00256efba65253cf6e4c366 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2011-2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | 37.54902 | 123 | 0.712968 |
0d2f8084668481db3c9480badc2349c63cfc5bef | 5,935 | cs | C# | cicd/Cicd.Artifacts/ArtifactsStack.cs | cythral/identity | eafc881341f065deb2ab0a195ee8c72fc71cfa89 | [
"MIT"
] | null | null | null | cicd/Cicd.Artifacts/ArtifactsStack.cs | cythral/identity | eafc881341f065deb2ab0a195ee8c72fc71cfa89 | [
"MIT"
] | 1 | 2022-03-19T02:10:53.000Z | 2022-03-19T02:10:53.000Z | cicd/Cicd.Artifacts/ArtifactsStack.cs | cythral/identity | eafc881341f065deb2ab0a195ee8c72fc71cfa89 | [
"MIT"
] | null | null | null | using Amazon.CDK;
using Amazon.CDK.AWS.ECR;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Route53;
using Amazon.CDK.AWS.S3;
using Constructs;
using EcrLifecycleRule = Amazon.CDK.AWS.ECR.LifecycleRule;
namespace Brighid.Identity.Artifacts
{
/// <summary>
/// Stack that contains repositories for storing artif... | 37.802548 | 111 | 0.49941 |
20bd9e85eb3a90e4bc40bde3f8650e10e062f3a5 | 181 | py | Python | test/test_wordpress_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | test/test_wordpress_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | test/test_wordpress_stats.py | JulienLeonard/socialstats | 944e3e4ceba2d977537934299e0c91abd5375d53 | [
"MIT"
] | null | null | null | import sys
sys.path.insert(0, './../lib')
import wordpress_stats
from mysocialids import *
wordpress_stats.wordpress_dump(wordpress_blogid(),"wordpress_stats.xml")
| 15.083333 | 73 | 0.723757 |
5ad9ebe1bbf5a982659e3da1679523f7aa81a7f8 | 839 | cs | C# | src/WebApps/WebMVC/Infrastructure/API.cs | DobromirZlatkov/AnteyaSid | f9cc6e5381f44e82e7e02070f0cf2e03b9a4c401 | [
"MIT"
] | null | null | null | src/WebApps/WebMVC/Infrastructure/API.cs | DobromirZlatkov/AnteyaSid | f9cc6e5381f44e82e7e02070f0cf2e03b9a4c401 | [
"MIT"
] | 1 | 2018-05-31T19:37:15.000Z | 2018-05-31T19:47:34.000Z | src/WebApps/WebMVC/Infrastructure/API.cs | DobromirZlatkov/AnteyaSid | f9cc6e5381f44e82e7e02070f0cf2e03b9a4c401 | [
"MIT"
] | null | null | null | namespace AnteyaSidOnContainers.WebApps.WebMVC.Infrastructure
{
public static class API
{
public static class Catalog
{
public static string GetAllCatalogItems(string baseUri, string queryStringParams)
{
var filterQs = queryStringParams;
r... | 27.966667 | 93 | 0.542312 |
2c7b80a871305544161cf3aa8c9efe707b4cf701 | 555 | py | Python | src/core/variable/shell/Argument.py | helionogueir/hnmessagesender | 4fbc61d67432837c329cf7df9fbe2eec0bce184e | [
"MIT"
] | null | null | null | src/core/variable/shell/Argument.py | helionogueir/hnmessagesender | 4fbc61d67432837c329cf7df9fbe2eec0bce184e | [
"MIT"
] | null | null | null | src/core/variable/shell/Argument.py | helionogueir/hnmessagesender | 4fbc61d67432837c329cf7df9fbe2eec0bce184e | [
"MIT"
] | null | null | null | import re
class Argument(object):
@staticmethod
def filter(keys, values):
data = {}
if((type(keys) is list) and (type(values) is list)):
for key in keys:
if(key in values):
data = {key: Argument.__getValid(key, values)}
return data
@... | 26.428571 | 66 | 0.538739 |
b2666f3101cdf2c3d14fcb474876240965ed1f39 | 2,195 | sql | SQL | database/kwr390ylnvzmdha1t7sf.sql | alexhee87/eden3 | 28ee1dc3d82cd1628023278c57745caa2b907368 | [
"MIT"
] | 1 | 2017-04-21T23:28:38.000Z | 2017-04-21T23:28:38.000Z | database/kwr390ylnvzmdha1t7sf.sql | alexhee87/eden3 | 28ee1dc3d82cd1628023278c57745caa2b907368 | [
"MIT"
] | null | null | null | database/kwr390ylnvzmdha1t7sf.sql | alexhee87/eden3 | 28ee1dc3d82cd1628023278c57745caa2b907368 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.5.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 05, 2016 at 02:26 PM
-- Server version: 5.7.11
-- PHP Version: 5.6.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `larafy`
--
-- ---------------------------------... | 28.881579 | 140 | 0.694761 |
c3c1e2c1b20437aaf5773019f73cf5405b68cbbb | 1,480 | cs | C# | backend/Altaliza.Infra/Context/MySqlContext.cs | pedr0fontoura/cda-altaliza | d1c526efe4bad6679913443221b017b5e5db89d1 | [
"MIT"
] | 2 | 2021-11-25T18:24:13.000Z | 2022-01-27T19:46:46.000Z | backend/Altaliza.Infra/Context/MySqlContext.cs | pedr0fontoura/cda-altaliza | d1c526efe4bad6679913443221b017b5e5db89d1 | [
"MIT"
] | null | null | null | backend/Altaliza.Infra/Context/MySqlContext.cs | pedr0fontoura/cda-altaliza | d1c526efe4bad6679913443221b017b5e5db89d1 | [
"MIT"
] | null | null | null | using System;
using Microsoft.EntityFrameworkCore;
using Altaliza.Domain.Entities;
using Altaliza.Infra.Mapping;
using Altaliza.Infra.Config;
namespace Altaliza.Infra.Context
{
public class MySqlContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
... | 35.238095 | 93 | 0.65 |
d4f42402b169267575e4da1841f70e5fa62962c4 | 5,778 | tsx | TypeScript | src/vendors/html5.tsx | chancestrickland/react-media-player | 3e0ca9cafce9ca8e28ca1b74e889c6c074a7dbe7 | [
"ISC"
] | null | null | null | src/vendors/html5.tsx | chancestrickland/react-media-player | 3e0ca9cafce9ca8e28ca1b74e889c6c074a7dbe7 | [
"ISC"
] | null | null | null | src/vendors/html5.tsx | chancestrickland/react-media-player | 3e0ca9cafce9ca8e28ca1b74e889c6c074a7dbe7 | [
"ISC"
] | null | null | null | import * as React from 'react';
import PropTypes from 'prop-types';
import { findDOMNode } from 'react-dom';
import vendorPropTypes from './vendor-prop-types';
const AudioContext =
typeof window === 'undefined'
? false
: window.AudioContext || (window as any).webkitAudioContext;
let audioContext: any;
if (A... | 23.487805 | 73 | 0.621841 |
e26619e01afe0f21d1b580c36cdf690bbacff32e | 2,060 | js | JavaScript | src/containers/search_bar.js | Akin909/redux-weather-app | 2b86e39a168def009b9caf563dde79ea9b9db5bf | [
"MIT"
] | null | null | null | src/containers/search_bar.js | Akin909/redux-weather-app | 2b86e39a168def009b9caf563dde79ea9b9db5bf | [
"MIT"
] | null | null | null | src/containers/search_bar.js | Akin909/redux-weather-app | 2b86e39a168def009b9caf563dde79ea9b9db5bf | [
"MIT"
] | null | null | null | import React, { Component, PropTypes } from 'react';
import styled from 'styled-components';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { fetchWeather } from '../actions/index.js';
const Input = styled.input`
font-size: 1.25em;
padding: 0.5em;
color: skyBlue;
bord... | 20.808081 | 71 | 0.618932 |
6dc0dfa1e62a8b66107793abc55fcf0f43c9b129 | 454 | h | C | Application/Core/Radio/mw_log_conf.h | blues/sparrow-lora | 14afebc3b7d940ac118dd13909a176a4ab469b60 | [
"MIT"
] | null | null | null | Application/Core/Radio/mw_log_conf.h | blues/sparrow-lora | 14afebc3b7d940ac118dd13909a176a4ab469b60 | [
"MIT"
] | 1 | 2022-03-28T22:24:47.000Z | 2022-03-28T22:29:44.000Z | Application/Core/Radio/mw_log_conf.h | blues/sparrow-lora | 14afebc3b7d940ac118dd13909a176a4ab469b60 | [
"MIT"
] | null | null | null | // Copyright 2022 Blues Inc. All rights reserved.
// Use of this source code is governed by licenses granted by the
// copyright holder including that found in the LICENSE file.
// Log configuration (used by SubGHz_Phy Middleware)
#pragma once
// Enable to see what's happening in the radio stack
//#define MW_LOG_ENA... | 28.375 | 65 | 0.737885 |
fec80a47be918f0df00698c92f2ee36a6036e991 | 1,488 | go | Go | ConcurrencyPatterns/pipeline.go | arunkbharathan/EPI2 | 086fdd7001f81c264119d66c337f8f3949d8e633 | [
"MIT"
] | 1 | 2020-05-28T17:10:01.000Z | 2020-05-28T17:10:01.000Z | ConcurrencyPatterns/pipeline.go | arunkbharathan/EPI2 | 086fdd7001f81c264119d66c337f8f3949d8e633 | [
"MIT"
] | null | null | null | ConcurrencyPatterns/pipeline.go | arunkbharathan/EPI2 | 086fdd7001f81c264119d66c337f8f3949d8e633 | [
"MIT"
] | null | null | null | package main
import "fmt"
func pipelines() {
generator := func(done <-chan interface{}, integers ...int) <-chan int {
fmt.Println("l")
intStream := make(chan int)
go func() {
defer close(intStream)
fmt.Println("a")
for _, i := range integers {
select {
case <-done:
return
case intStre... | 19.578947 | 74 | 0.596774 |
38a9ec3801876c0802e2b154e1573d1d2bd1e907 | 1,240 | php | PHP | Library/Page.class.php | ludovicroland/rolandl-php-framework | fd100a922333ec2c3236bdf41f58b56ff5538a35 | [
"MIT"
] | null | null | null | Library/Page.class.php | ludovicroland/rolandl-php-framework | fd100a922333ec2c3236bdf41f58b56ff5538a35 | [
"MIT"
] | null | null | null | Library/Page.class.php | ludovicroland/rolandl-php-framework | fd100a922333ec2c3236bdf41f58b56ff5538a35 | [
"MIT"
] | null | null | null | <?php
namespace Library;
class Page
extends ApplicationComponent
{
protected $contentFile;
protected $vars = array();
public function addVar($var, $value)
{
if (is_string($var) == false || is_numeric($var) == true || empty($var) == true)
{
throw new \InvalidArgumentException("The nam of th... | 20.327869 | 97 | 0.612097 |
e795d734b3ccecf113aa34627846dff8e531d3d1 | 10,968 | sql | SQL | queries/0-1-functioncategories.sql | zalsader/LinuxFSQuestions | 62a3cd06132f49278c767aa281d1d15c2fa45dde | [
"MIT"
] | null | null | null | queries/0-1-functioncategories.sql | zalsader/LinuxFSQuestions | 62a3cd06132f49278c767aa281d1d15c2fa45dde | [
"MIT"
] | null | null | null | queries/0-1-functioncategories.sql | zalsader/LinuxFSQuestions | 62a3cd06132f49278c767aa281d1d15c2fa45dde | [
"MIT"
] | null | null | null | update fsfunction set categoryId = (select id from fscategories where name = "The Filesystem types") where name in (
"positive_aop_returns",
"sb_end_write",
"sb_end_pagefault",
"sb_end_intwrite",
"sb_start_write",
"sb_start_pagefault",
"filemap_set_wb... | 32.740299 | 142 | 0.586707 |
6bb730d738dd9db703d9d2c46dd2523545231941 | 4,816 | hpp | C++ | include/intent/intent_service/IntentMatcher.hpp | open-intent-io/open-intent | 57d8c4fc89c038f51138d51e776880e728152194 | [
"MIT"
] | 47 | 2016-07-05T15:20:33.000Z | 2021-08-06T05:38:33.000Z | include/intent/intent_service/IntentMatcher.hpp | open-intent-io/open-intent | 57d8c4fc89c038f51138d51e776880e728152194 | [
"MIT"
] | 30 | 2016-07-03T22:42:11.000Z | 2017-11-17T15:58:10.000Z | include/intent/intent_service/IntentMatcher.hpp | open-intent-io/open-intent | 57d8c4fc89c038f51138d51e776880e728152194 | [
"MIT"
] | 8 | 2016-07-22T20:07:58.000Z | 2017-11-05T10:40:29.000Z | /*
|---------------------------------------------------------|
| ___ ___ _ _ |
| / _ \ _ __ ___ _ __ |_ _|_ __ | |_ ___ _ __ | |_ |
| | | | | '_ \ / _ \ '_ \ | || '_ \| __/ _ \ '_ \| __| |
| | |_| | |_) | __/ | | || || | | | || __/ | | | |_ |
| \___/| .__/ \... | 34.898551 | 80 | 0.577243 |
e242e8c7769244ab6edd79e9b21e9964f314dc89 | 7,099 | py | Python | apps/osis/tests/osispopulation__test.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | null | null | null | apps/osis/tests/osispopulation__test.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 4 | 2016-08-25T12:08:39.000Z | 2018-04-12T12:36:01.000Z | apps/osis/tests/osispopulation__test.py | rudecs/jumpscale_core7 | 30c03f26f1cdad3edbb9d79d50fbada8acc974f5 | [
"Apache-2.0"
] | 3 | 2016-03-08T07:49:34.000Z | 2018-10-19T13:56:43.000Z | #!/usr/bin/env python
import unittest
import re
import time
import sys
from JumpScale import j
import JumpScale.grid.osis
descr = """
populate osis for grid with fake data
"""
organization = "jumpscale"
author = "despiegk"
license = "bsd"
version = "1.0"
category = "osis.basic.testdata.populate,grid.testdata.populat... | 37.167539 | 123 | 0.567263 |
147d5c8f38593e13e2ed51a2231c69aa3d29f9c9 | 1,508 | tsx | TypeScript | fancy-todo-app/src/features/todos/details/TodoDetails.tsx | phoenix1528/Fancy-Todo-List | 4e2af21c2a5526f7e037ad1659cdcee496d269b1 | [
"MIT"
] | null | null | null | fancy-todo-app/src/features/todos/details/TodoDetails.tsx | phoenix1528/Fancy-Todo-List | 4e2af21c2a5526f7e037ad1659cdcee496d269b1 | [
"MIT"
] | 2 | 2022-02-21T11:58:30.000Z | 2022-02-21T11:58:33.000Z | fancy-todo-app/src/features/todos/details/TodoDetails.tsx | phoenix1528/Fancy-Todo-List | 4e2af21c2a5526f7e037ad1659cdcee496d269b1 | [
"MIT"
] | null | null | null | import sports from '../../../../src/sports.jpg';
import {
dateFormatterDe,
dateFormatterEn,
} from '../../../app/constants/DateFormatters';
import { ITodo } from '../../../app/models/ITodo';
interface Props {
todo: ITodo;
openForm: (id: string) => void;
cancelSelectTodo: () => void;
}
export de... | 31.416667 | 79 | 0.57626 |
d9004433a22a150bb3fe8b021fd0061b39525e53 | 199 | sql | SQL | sql/updates/0.11/5865_mangos_command.sql | Ambal/mangos | 9833ce4e393ca36668751dbcc9dfcf7cae8ff4ff | [
"OpenSSL"
] | 1 | 2019-01-19T06:35:40.000Z | 2019-01-19T06:35:40.000Z | sql/updates/0.11/5865_mangos_command.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | sql/updates/0.11/5865_mangos_command.sql | mfooo/wow | 3e5fad4cfdf0fd1c0a2fd7c9844e6f140a1bb32d | [
"OpenSSL"
] | null | null | null | DELETE FROM `command` WHERE `name` = 'cast self';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('cast self',3,'Syntax: .cast self #spellid\r\nCast #spellid by target at target itself.');
| 39.8 | 91 | 0.693467 |
a39626d12c5c13c4f507390fc4f7413a1188cf80 | 2,001 | java | Java | src/main/java/com/nexmo/client/voice/ncco/SipEndpoint.java | olivenbaum1/vonage-java-sdk | 62b6abed10e1203055023cac2faaeb71ec32fe84 | [
"MIT"
] | null | null | null | src/main/java/com/nexmo/client/voice/ncco/SipEndpoint.java | olivenbaum1/vonage-java-sdk | 62b6abed10e1203055023cac2faaeb71ec32fe84 | [
"MIT"
] | null | null | null | src/main/java/com/nexmo/client/voice/ncco/SipEndpoint.java | olivenbaum1/vonage-java-sdk | 62b6abed10e1203055023cac2faaeb71ec32fe84 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2011-2018 Nexmo Inc
*
* 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, publ... | 30.784615 | 80 | 0.689155 |
19909caba79d08d2b742142d9fcd361ab030dbfe | 2,705 | dart | Dart | dart/captcha/lib/src/generated/code.pbgrpc.dart | appootb/protobuf | 49c8f32e135f4fba418cf09ebfd99001d260fd0d | [
"MIT"
] | 1 | 2021-03-18T07:48:36.000Z | 2021-03-18T07:48:36.000Z | dart/captcha/lib/src/generated/code.pbgrpc.dart | appootb/protobuf | 49c8f32e135f4fba418cf09ebfd99001d260fd0d | [
"MIT"
] | null | null | null | dart/captcha/lib/src/generated/code.pbgrpc.dart | appootb/protobuf | 49c8f32e135f4fba418cf09ebfd99001d260fd0d | [
"MIT"
] | null | null | null | ///
// Generated code. Do not modify.
// source: code.proto
//
// @dart = 2.3
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type
import 'dart:async' as $async;
import 'dart:core' as $core;
import 'package:grpc/service_api.dart'... | 33.8125 | 138 | 0.667283 |
e77a244f6262f726a7987225f301460ea95a88ed | 1,202 | php | PHP | console/fixtures/data/tab_school_class_child.php | ov3rseer/webfood | 7de0cf770884a445fdd523ce52663b43965bf614 | [
"BSD-3-Clause"
] | null | null | null | console/fixtures/data/tab_school_class_child.php | ov3rseer/webfood | 7de0cf770884a445fdd523ce52663b43965bf614 | [
"BSD-3-Clause"
] | null | null | null | console/fixtures/data/tab_school_class_child.php | ov3rseer/webfood | 7de0cf770884a445fdd523ce52663b43965bf614 | [
"BSD-3-Clause"
] | null | null | null | <?php
use common\models\reference\Child;
use common\models\reference\SchoolClass;
return [
'school-class-1#child-1' => [
'parent_id' => $this->getFixtureModel(SchoolClass::class, 'school-class-1')->primaryKey,
'child_id' => $this->getFixtureModel(Child::class, 'child-1')->primaryKey,
],
'... | 41.448276 | 96 | 0.630616 |
a110a7b435022b4549c96904c5c56c4d63c42dc6 | 6,665 | ts | TypeScript | src/personality/mc-server.ts | jbrowneuk/iris-bot | 921f9f6a576208aac48198ae739750212ea93419 | [
"MIT"
] | null | null | null | src/personality/mc-server.ts | jbrowneuk/iris-bot | 921f9f6a576208aac48198ae739750212ea93419 | [
"MIT"
] | 22 | 2018-04-25T21:40:05.000Z | 2022-03-25T21:05:56.000Z | src/personality/mc-server.ts | jbrowneuk/iris-bot | 921f9f6a576208aac48198ae739750212ea93419 | [
"MIT"
] | null | null | null | import { Message, TextChannel } from 'discord.js';
import * as fs from 'fs';
import { DependencyContainer } from '../interfaces/dependency-container';
import { Personality } from '../interfaces/personality';
import { MessageType } from '../types';
import {
announceCommand,
setCommand,
statusCommand
} from './con... | 27.655602 | 75 | 0.656414 |
c476b9e173ab8d68f2fbd673567f74289990e62d | 10,017 | cc | C++ | src/ir/auth_logic/souffle_emitter_test.cc | Cypher1/raksha | 0f52f108ceb8bc7b8be36a7bf8e9662188c57551 | [
"Apache-2.0"
] | null | null | null | src/ir/auth_logic/souffle_emitter_test.cc | Cypher1/raksha | 0f52f108ceb8bc7b8be36a7bf8e9662188c57551 | [
"Apache-2.0"
] | null | null | null | src/ir/auth_logic/souffle_emitter_test.cc | Cypher1/raksha | 0f52f108ceb8bc7b8be36a7bf8e9662188c57551 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2022 Google LLC.
*
* 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 to ... | 37.943182 | 193 | 0.745932 |
76a8b0301c872afe6a98760becebac9ea4aa6940 | 6,965 | swift | Swift | Sources/swift-json-menu/AppUILocalization.swift | iballistic/swift-json-menu | 7b4ec90ef50f1b12d8813045f1028419a935fd11 | [
"BSD-3-Clause"
] | null | null | null | Sources/swift-json-menu/AppUILocalization.swift | iballistic/swift-json-menu | 7b4ec90ef50f1b12d8813045f1028419a935fd11 | [
"BSD-3-Clause"
] | 1 | 2020-06-14T19:24:12.000Z | 2020-06-14T21:03:11.000Z | Sources/swift-json-menu/AppUILocalization.swift | iballistic/swift-json-menu | 7b4ec90ef50f1b12d8813045f1028419a935fd11 | [
"BSD-3-Clause"
] | null | null | null | //
// AppUILocalization.swift
// swift-json-menu
//
// Created by Telman Rustam on 2016-12-15.
// Copyright © 2016 Telman Rustam. All rights reserved.
//
import Foundation
public struct AppUILocalization {
//MARK: Localization for int and double type of cells
/// <#Description#>
/// - Parame... | 34.142157 | 138 | 0.581766 |
93ed229bd7327c3bde49373d2a8d0a4cf504fa6d | 37,716 | cs | C# | base/Imported/Bartok/runtime/shared/GCs/SemispaceCollector.cs | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | base/Imported/Bartok/runtime/shared/GCs/SemispaceCollector.cs | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | base/Imported/Bartok/runtime/shared/GCs/SemispaceCollector.cs | sphinxlogic/Singularity-RDK-2.0 | 2968c3b920a5383f7360e3e489aa772f964a7c42 | [
"MIT"
] | null | null | null | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
/*******************************************************************/
/* WARNING */
/* This file should be identical in the Bartok and Singularity */
/* depots. Master copy resides in... | 47.38191 | 93 | 0.499549 |
d4ae14b80dc3cc1d99444c3c1b7ddec90d5254ff | 1,405 | dart | Dart | lib/sharedWidgets/passwordFormField.dart | lscbot/vudu_mojo_app | 4f3e5e28ac6ef50e3ebeb906c74945f9574a6dcb | [
"Apache-2.0"
] | null | null | null | lib/sharedWidgets/passwordFormField.dart | lscbot/vudu_mojo_app | 4f3e5e28ac6ef50e3ebeb906c74945f9574a6dcb | [
"Apache-2.0"
] | null | null | null | lib/sharedWidgets/passwordFormField.dart | lscbot/vudu_mojo_app | 4f3e5e28ac6ef50e3ebeb906c74945f9574a6dcb | [
"Apache-2.0"
] | 1 | 2021-08-05T01:55:25.000Z | 2021-08-05T01:55:25.000Z | import 'package:flutter/material.dart';
import 'package:vudu_mojo_app/sharedWidgets/validators.dart';
class PasswordFormField extends StatelessWidget {
final FocusNode? focusNode;
final Function(String?)? onSaved;
final TextEditingController controller;
final Color? iconColor;
final Function? onFieldSubmitte... | 30.543478 | 78 | 0.639858 |
b72cbe0cdb20542c671e93d4b43a752a288deb49 | 22,060 | cpp | C++ | ScannerBit/src/scanners/polychord/polychord.cpp | sebhoof/gambit_1.5 | f9a3f788e3331067c555ae1a030420e903c6fdcd | [
"Unlicense"
] | 2 | 2020-09-08T20:05:27.000Z | 2021-04-26T07:57:56.000Z | ScannerBit/src/scanners/polychord/polychord.cpp | sebhoof/gambit_1.5 | f9a3f788e3331067c555ae1a030420e903c6fdcd | [
"Unlicense"
] | 9 | 2020-10-19T09:56:17.000Z | 2021-05-28T06:12:03.000Z | ScannerBit/src/scanners/polychord/polychord.cpp | sebhoof/gambit_1.5 | f9a3f788e3331067c555ae1a030420e903c6fdcd | [
"Unlicense"
] | 5 | 2020-09-08T02:23:34.000Z | 2021-03-23T08:48:04.000Z | // GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// ScannerBit interface to PolyChord 1.17.1
///
/// *********************************************
///
/// Authors (add name and date if you modify):
//
/// \author Ben Farmer
/// (ben.farmer@... | 48.271335 | 182 | 0.614098 |
851787a944daf6bfd8cc57c6e48d4d29566d074c | 2,313 | kt | Kotlin | jvm/src/main/kotlin/com/jetbrains/util/ReadUtils.kt | JetBrains/format-ripper | a06ae623d56eda40e50786f3afe0203192b8c624 | [
"Apache-2.0"
] | 3 | 2022-02-15T09:58:13.000Z | 2022-02-17T16:23:27.000Z | jvm/src/main/kotlin/com/jetbrains/util/ReadUtils.kt | JetBrains/format-ripper | a06ae623d56eda40e50786f3afe0203192b8c624 | [
"Apache-2.0"
] | null | null | null | jvm/src/main/kotlin/com/jetbrains/util/ReadUtils.kt | JetBrains/format-ripper | a06ae623d56eda40e50786f3afe0203192b8c624 | [
"Apache-2.0"
] | 1 | 2022-03-18T19:58:00.000Z | 2022-03-18T19:58:00.000Z | package com.jetbrains.util
import java.nio.ByteBuffer
import java.nio.channels.SeekableByteChannel
fun SeekableByteChannel.Rewind(): SeekableByteChannel {
this.position(0)
return this
}
fun SeekableByteChannel.Skip(len: Long) {
this.Seek(len, SeekOrigin.Current)
}
fun SeekableByteChannel.Jump(len: UInt) {
... | 26.895349 | 117 | 0.713792 |
db7dd6e9393eab8530e4bd7cdce86b6056dcd3a2 | 8,457 | php | PHP | resources/views/products/products_view.blade.php | burgosa/mocks | 230a6babdb0dabcaf2e6dc81c797ef7ecfb64ee8 | [
"MIT"
] | null | null | null | resources/views/products/products_view.blade.php | burgosa/mocks | 230a6babdb0dabcaf2e6dc81c797ef7ecfb64ee8 | [
"MIT"
] | null | null | null | resources/views/products/products_view.blade.php | burgosa/mocks | 230a6babdb0dabcaf2e6dc81c797ef7ecfb64ee8 | [
"MIT"
] | null | null | null | @extends('app')
@section('content')
<div class="row">
<div class="col-md-6">
<h5>Product Name / New Product</h5>
</div>
<div class="col-md-6 text-right">
<a href="" class="btn btn-default">Cancel</a>
<a href="" class="btn btn-primary">Save</a>
</div>
</div>
<hr>
<div role="tabpanel">
<ul class="n... | 42.928934 | 115 | 0.389855 |
9e1a096da6efa5dfb8de454e7c96e992e458d715 | 2,174 | cs | C# | BinaryTools.Extensions.Core/System.Int32/Int32Extensions.cs | TheBinaryLoop/BinaryTools | d05c53194ae2cfd302ed07dd6b27191adcbe467a | [
"MIT"
] | null | null | null | BinaryTools.Extensions.Core/System.Int32/Int32Extensions.cs | TheBinaryLoop/BinaryTools | d05c53194ae2cfd302ed07dd6b27191adcbe467a | [
"MIT"
] | null | null | null | BinaryTools.Extensions.Core/System.Int32/Int32Extensions.cs | TheBinaryLoop/BinaryTools | d05c53194ae2cfd302ed07dd6b27191adcbe467a | [
"MIT"
] | 1 | 2019-02-05T06:36:12.000Z | 2019-02-05T06:36:12.000Z | using System;
namespace BinaryTools.Extensions.Core
{
/// <summary>
/// A collection of helpful extension methods for the <see cref="int"/> class.
/// </summary>
public static partial class Int32Extensions
{
/// <summary>
/// Converts the numeric value of this instance to its equiv... | 31.970588 | 101 | 0.475621 |
30bc51a433939f07e768cffdd555e433ad17b9d3 | 27 | lua | Lua | rt/configDir/mf/tryThis/1.0.lua | dirtyharrycallahan/Lmod | e7c4d07b4409d6dd9f1da90b609b7db7d56681ab | [
"MIT"
] | 1 | 2021-11-10T23:10:54.000Z | 2021-11-10T23:10:54.000Z | rt/configDir/mf/tryThis/1.0.lua | surak/Lmod | 67f421e4832de4c269c3645480f594fa4f60a1c4 | [
"MIT"
] | null | null | null | rt/configDir/mf/tryThis/1.0.lua | surak/Lmod | 67f421e4832de4c269c3645480f594fa4f60a1c4 | [
"MIT"
] | null | null | null | echoString("This is kewl")
| 13.5 | 26 | 0.740741 |
b06e37c0e730ef3ec5137eb75f1be4dc51b0227f | 2,031 | swift | Swift | 2019/Sources/Day11/input.swift | codertrix/Advent-of-Code | 546876eaaa2f3345669293a281c9b2754a277320 | [
"MIT"
] | null | null | null | 2019/Sources/Day11/input.swift | codertrix/Advent-of-Code | 546876eaaa2f3345669293a281c9b2754a277320 | [
"MIT"
] | null | null | null | 2019/Sources/Day11/input.swift | codertrix/Advent-of-Code | 546876eaaa2f3345669293a281c9b2754a277320 | [
"MIT"
] | null | null | null | let input = [3,8,1005,8,311,1106,0,11,0,0,0,104,1,104,0,3,8,1002,8,-1,10,101,1,10,10,4,10,108,0,8,10,4,10,1002,8,1,28,2,103,7,10,3,8,1002,8,-1,10,101,1,10,10,4,10,1008,8,1,10,4,10,1001,8,0,55,2,3,6,10,1,101,5,10,1,6,7,10,3,8,1002,8,-1,10,101,1,10,10,4,10,1008,8,0,10,4,10,1001,8,0,89,1,1108,11,10,2,1002,13,10,1006,0,92,... | 1,015.5 | 2,030 | 0.662728 |
794c5e5709f0fa399e10e068263f1d22b5afdd7b | 6,637 | php | PHP | cache/twig/94/945a714caa5317c0592899544c63cc55165f9036f5d9ab525b4d5c14922a7802.php | jganggini/grav-admin | 2cc23f1e91f2f55f8da9875c3b1e058ddad68b7e | [
"MIT"
] | null | null | null | cache/twig/94/945a714caa5317c0592899544c63cc55165f9036f5d9ab525b4d5c14922a7802.php | jganggini/grav-admin | 2cc23f1e91f2f55f8da9875c3b1e058ddad68b7e | [
"MIT"
] | null | null | null | cache/twig/94/945a714caa5317c0592899544c63cc55165f9036f5d9ab525b4d5c14922a7802.php | jganggini/grav-admin | 2cc23f1e91f2f55f8da9875c3b1e058ddad68b7e | [
"MIT"
] | 1 | 2020-10-12T23:44:32.000Z | 2020-10-12T23:44:32.000Z | <?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* pa... | 38.364162 | 274 | 0.561398 |
a7af596721a087ca993821c3f739461f4c4cf84f | 68 | css | CSS | css/style.css | mwallinger-tu/edge-path-bundling | 07062490b2e1cf0b42eb34db130a44c516dccdcb | [
"MIT"
] | 5 | 2021-10-30T10:58:06.000Z | 2021-12-18T10:35:57.000Z | css/style.css | mwallinger-tu/edge-path-bundling | 07062490b2e1cf0b42eb34db130a44c516dccdcb | [
"MIT"
] | 1 | 2021-10-29T19:13:41.000Z | 2021-10-29T19:13:41.000Z | css/style.css | mwallinger-tu/edge-path-bundling | 07062490b2e1cf0b42eb34db130a44c516dccdcb | [
"MIT"
] | null | null | null | #VizContainer {
width: 100%;
height: 70vh;
padding: 0;
} | 13.6 | 17 | 0.558824 |
212705d0895df1a09e412397d971b75f474668f6 | 1,108 | swift | Swift | UIExtensions-IS/Classes/SwipeGesture+AG.swift | islamshazly/UIExtensions-IS | 7c2875a4ac37f0547fe7622c8555819b7d6d41bb | [
"MIT"
] | 1 | 2018-11-25T16:54:22.000Z | 2018-11-25T16:54:22.000Z | UIExtensions-IS/Classes/SwipeGesture+AG.swift | islamshazly/UIExtensions-IS | 7c2875a4ac37f0547fe7622c8555819b7d6d41bb | [
"MIT"
] | null | null | null | UIExtensions-IS/Classes/SwipeGesture+AG.swift | islamshazly/UIExtensions-IS | 7c2875a4ac37f0547fe7622c8555819b7d6d41bb | [
"MIT"
] | 1 | 2018-11-25T16:54:22.000Z | 2018-11-25T16:54:22.000Z | //
// SwipeGesture+AG.swift
//
//
// Created by islam Elshazly on 8/29/18.
//
import UIKit
open class SwipeGesture: UISwipeGestureRecognizer {
private var swipeAction: ((UISwipeGestureRecognizer) -> Void)?
public var fingerCount: Int = 1 {
didSet {
numberOfTouchesRequired = fingerC... | 26.380952 | 75 | 0.623646 |
1fb7afb3ff6cb4da81d8fab46f1f2ca1ecb6b742 | 6,518 | sql | SQL | vagrant/catalog/dbinit.sql | cpwhidden/StuffMart | a192b8cad8942d0bfddb3af861f1e48c460e28cf | [
"MIT"
] | null | null | null | vagrant/catalog/dbinit.sql | cpwhidden/StuffMart | a192b8cad8942d0bfddb3af861f1e48c460e28cf | [
"MIT"
] | null | null | null | vagrant/catalog/dbinit.sql | cpwhidden/StuffMart | a192b8cad8942d0bfddb3af861f1e48c460e28cf | [
"MIT"
] | null | null | null | BEGIN TRANSACTION;
CREATE TABLE category (
id SERIAL NOT NULL,
name VARCHAR(100) NOT NULL,
PRIMARY KEY (id),
UNIQUE (name)
);
INSERT INTO "category" (name) VALUES('Clothes');
INSERT INTO "category" (name) VALUES('Shoes');
INSERT INTO "category" (name) VALUES('Tools');
INSERT INTO "category" (name) VALUES('Toys')... | 59.798165 | 111 | 0.717858 |
a38dc76061790f6b502cc2bea14c74c40d35f042 | 2,185 | java | Java | auth-server-code/src/main/java/com/gevinzone/authserver/code/config/AuthServerConfig.java | flyhigher139/spring-oauth-in-pratice | 87c7b0229bbb19bc610c5876a40e1c24d7022ad0 | [
"Apache-2.0"
] | null | null | null | auth-server-code/src/main/java/com/gevinzone/authserver/code/config/AuthServerConfig.java | flyhigher139/spring-oauth-in-pratice | 87c7b0229bbb19bc610c5876a40e1c24d7022ad0 | [
"Apache-2.0"
] | null | null | null | auth-server-code/src/main/java/com/gevinzone/authserver/code/config/AuthServerConfig.java | flyhigher139/spring-oauth-in-pratice | 87c7b0229bbb19bc610c5876a40e1c24d7022ad0 | [
"Apache-2.0"
] | null | null | null | package com.gevinzone.authserver.code.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframew... | 42.019231 | 116 | 0.82746 |
72d36d1a892fc4bb20add1c5b0fd8b37b30fe8e6 | 816 | cs | C# | ESharpCoreLib/Core/EObject.cs | danielwidmann/esharp | 1c2592a0b418ba30bc957e85de015869dedb0491 | [
"MIT"
] | 1 | 2018-12-24T07:50:32.000Z | 2018-12-24T07:50:32.000Z | ESharpCoreLib/Core/EObject.cs | danielwidmann/esharp | 1c2592a0b418ba30bc957e85de015869dedb0491 | [
"MIT"
] | null | null | null | ESharpCoreLib/Core/EObject.cs | danielwidmann/esharp | 1c2592a0b418ba30bc957e85de015869dedb0491 | [
"MIT"
] | null | null | null | using System;
using ECSharp;
using ECSharp.Core;
using ESharp.Annotations;
namespace ESharp
{
[Uses(typeof(ESharpRT))]
[Uses(typeof(EException))] // Some stuff could throw
[CustomHeaderFile("EObject.h")]
public class EObject
{
[ExternC]
public EObject()
{
}
[ExternC]
~EObject()
{
}
[Extern... | 12.179104 | 54 | 0.637255 |
1d71f0a78bd8584f4d8bfacd33d9d5296bdbc065 | 2,031 | asm | Assembly | Library/SpecUI/CommonUI/CSpec/cspecGadget.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/SpecUI/CommonUI/CSpec/cspecGadget.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/SpecUI/CommonUI/CSpec/cspecGadget.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CSpec (common code for several specific ui's)
FILE: cspecGadget.asm
ROUTINES:
Name Description
---- -----------
GLB OLBuildGadget... | 23.344828 | 80 | 0.590842 |
e2ec67a63cf7fb5c047312e7907602f989e9aa7e | 429 | py | Python | src/zad02/NotesService.py | TestowanieAutomatyczneUG/laboratorium-10-SzymonWilczewski | 0ddb3a32cabc4f2a6b395f7b727154bcaf3d19ff | [
"MIT"
] | null | null | null | src/zad02/NotesService.py | TestowanieAutomatyczneUG/laboratorium-10-SzymonWilczewski | 0ddb3a32cabc4f2a6b395f7b727154bcaf3d19ff | [
"MIT"
] | null | null | null | src/zad02/NotesService.py | TestowanieAutomatyczneUG/laboratorium-10-SzymonWilczewski | 0ddb3a32cabc4f2a6b395f7b727154bcaf3d19ff | [
"MIT"
] | null | null | null | from src.zad02.NotesStorage import NotesStorage
class NotesService:
def __init__(self):
self.notesStorage = NotesStorage()
def add(self, note):
return self.notesStorage.add(note)
def averageOf(self, name):
notes = self.notesStorage.getAllNotesOf(name)
return sum(map(lambd... | 25.235294 | 73 | 0.67366 |
db94b7642d47809f4f86505589e0130b22250fd3 | 601 | php | PHP | sidebar.php | yaushii/ML-Douaisis | 2f4f6c1e6cc33bd7aaf85ccbda312f50fcf44472 | [
"CC0-1.0",
"MIT"
] | null | null | null | sidebar.php | yaushii/ML-Douaisis | 2f4f6c1e6cc33bd7aaf85ccbda312f50fcf44472 | [
"CC0-1.0",
"MIT"
] | null | null | null | sidebar.php | yaushii/ML-Douaisis | 2f4f6c1e6cc33bd7aaf85ccbda312f50fcf44472 | [
"CC0-1.0",
"MIT"
] | null | null | null | <?php
/**
* The template for the sidebar containing the main widget area
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<aside id="secondary" class="sidebar widget-area" role="complementary">
<div class="pre">
<a href="http... | 28.619048 | 186 | 0.677205 |
ad0b0f890069bd44ae47b33f73ddecbe30a02cec | 559 | dart | Dart | lib/app/modules/login/login_module.dart | matheustgf10/e-wallet | 75c88fdb65e2a648a58309bb87a739dc82b8d19c | [
"MIT"
] | 1 | 2021-05-03T12:53:51.000Z | 2021-05-03T12:53:51.000Z | lib/app/modules/login/login_module.dart | matheustgf10/e-wallet | 75c88fdb65e2a648a58309bb87a739dc82b8d19c | [
"MIT"
] | null | null | null | lib/app/modules/login/login_module.dart | matheustgf10/e-wallet | 75c88fdb65e2a648a58309bb87a739dc82b8d19c | [
"MIT"
] | 1 | 2021-05-03T13:37:27.000Z | 2021-05-03T13:37:27.000Z | import 'package:ewallet/app/modules/login/login_page.dart';
import 'package:ewallet/app/modules/login/login_store.dart';
import 'package:ewallet/app/modules/login/repository/login_repository.dart';
import 'package:flutter_modular/flutter_modular.dart';
class LoginModule extends Module {
@override
final List<Bind> ... | 31.055556 | 76 | 0.733453 |
fbb2375179da85ffadeb84177527162ce74fde43 | 988 | lua | Lua | res/data/items/Miscellaneous.lua | rm-code/On-The-Roadside | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 30 | 2016-09-14T14:00:25.000Z | 2021-09-29T13:28:37.000Z | res/data/items/Miscellaneous.lua | rm-code/On-The-Roadside | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 128 | 2016-07-31T00:50:35.000Z | 2019-05-05T20:32:09.000Z | res/data/items/Miscellaneous.lua | rm-code/Hoost | e4017d8a272a6bf9a78d5290bdfcad9a214f6f53 | [
"MIT"
] | 2 | 2016-09-21T14:55:05.000Z | 2016-11-29T12:10:05.000Z | return {
{
id = "misc_nail",
idDesc = "misc_nail_desc",
itemType = "Miscellaneous",
weight = 0.1,
volume = 0.1,
equippable = false,
permanent = false
},
{
id = "misc_splintered_wood",
idDesc = "misc_sp... | 25.333333 | 49 | 0.453441 |
6af272d9433b50226e2a13e93e86edc4da4b3475 | 148 | h | C | FontAwesomeKitExample/FontAwesomeKitExample/StackIconCell.h | invoy/FontAwesomeKit | ed5eb02f4bcf76e218bb1c966c551a7b5240b6b4 | [
"MIT"
] | 2,530 | 2015-01-01T22:01:43.000Z | 2022-03-29T13:51:33.000Z | FontAwesomeKitExample/FontAwesomeKitExample/StackIconCell.h | NSGod/FontAwesomeKit | ffcc61b71c5ae5196705d3486e20e5391fb9396c | [
"MIT"
] | 66 | 2015-01-14T13:41:39.000Z | 2021-01-27T07:36:17.000Z | FontAwesomeKitExample/FontAwesomeKitExample/StackIconCell.h | NSGod/FontAwesomeKit | ffcc61b71c5ae5196705d3486e20e5391fb9396c | [
"MIT"
] | 369 | 2015-01-03T08:52:07.000Z | 2022-03-25T17:22:27.000Z | #import <UIKit/UIKit.h>
@interface StackIconCell : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *stackedImageView;
@end
| 18.5 | 67 | 0.797297 |
e0a09942e4e3c0546996e9a1aaf65e0e13783cd5 | 1,180 | swift | Swift | App/Xpense/User Subsystem/Login/ViewModel/LoginState.swift | fa21-collaborative-drone-interactions/ApodiniXpenseExample | bfddf2a6ba5e861a2d9cad41a000d744d2f95b8c | [
"MIT"
] | 4 | 2021-08-11T13:23:17.000Z | 2022-01-08T19:03:41.000Z | App/Xpense/User Subsystem/Login/ViewModel/LoginState.swift | fa21-collaborative-drone-interactions/ApodiniXpenseExample | bfddf2a6ba5e861a2d9cad41a000d744d2f95b8c | [
"MIT"
] | 1 | 2021-08-11T15:34:42.000Z | 2021-08-12T08:32:15.000Z | App/Xpense/User Subsystem/Login/ViewModel/LoginState.swift | fa21-collaborative-drone-interactions/ApodiniXpenseExample | bfddf2a6ba5e861a2d9cad41a000d744d2f95b8c | [
"MIT"
] | 1 | 2021-08-14T12:37:36.000Z | 2021-08-14T12:37:36.000Z | //
// This source file is part of the Apodini Xpense Example
//
// SPDX-FileCopyrightText: 2018-2021 Paul Schmiedmayer and project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
//
// SPDX-License-Identifier: MIT
//
import Foundation
// MARK: LoginState
/// The possible states of the login view
enum LoginS... | 25.652174 | 123 | 0.633051 |
3f657f0bb1286fd41bf76b44e8d750c0a1ce5aba | 344 | php | PHP | resources/views/components/clearance-status-chip.blade.php | kevinbaltazar/bpls | 381b2621848ca415679471af163909a3fe0c1ae6 | [
"MIT"
] | null | null | null | resources/views/components/clearance-status-chip.blade.php | kevinbaltazar/bpls | 381b2621848ca415679471af163909a3fe0c1ae6 | [
"MIT"
] | null | null | null | resources/views/components/clearance-status-chip.blade.php | kevinbaltazar/bpls | 381b2621848ca415679471af163909a3fe0c1ae6 | [
"MIT"
] | null | null | null | @props([
'status' => 'incomplete',
'statuses' => [
'incomplete' => 'info',
'pending' => 'warning',
'reviewed' => 'success',
'inspected' => 'success',
'approved' => 'success',
'rejected' => 'error',
]
])
<x-chip variant="{{ $statuses[$status] }}">
{{ ucwor... | 22.933333 | 43 | 0.465116 |
e83bc4f7a714b2fd9e2ec7827dc1974bd7a41384 | 569 | cs | C# | aspnet-core/src/NorthLion.Zero.Application/Editions/IEditionAppService.cs | TacoDevs/NorthLionAbpZeroNetCore | cea738f22e034b8bbbbe290437777ec996e050b0 | [
"MIT"
] | 2 | 2017-04-29T23:14:46.000Z | 2017-04-30T07:09:53.000Z | aspnet-core/src/NorthLion.Zero.Application/Editions/IEditionAppService.cs | periface/NorthLionAbpZeroNetCore | cea738f22e034b8bbbbe290437777ec996e050b0 | [
"MIT"
] | null | null | null | aspnet-core/src/NorthLion.Zero.Application/Editions/IEditionAppService.cs | periface/NorthLionAbpZeroNetCore | cea738f22e034b8bbbbe290437777ec996e050b0 | [
"MIT"
] | null | null | null | using System.Threading.Tasks;
using Abp.Application.Services;
using NorthLion.Zero.Editions.Dto;
using NorthLion.Zero.PaginatedModel;
namespace NorthLion.Zero.Editions
{
public interface IEditionAppService : IApplicationService
{
EditionOutput GetEditions(PaginatedInputDto input);
Task CreateEd... | 33.470588 | 62 | 0.759227 |
a1266da5d0ca321f8fafe48b970befeaa6d4b9d1 | 1,511 | tsx | TypeScript | packages/atoms/src/Text/Text.native.tsx | KrishnaKiranAlla/silicon-ui | 56a1587fcf2a0e55b107096adb09c3e2aa1007b5 | [
"Apache-2.0"
] | null | null | null | packages/atoms/src/Text/Text.native.tsx | KrishnaKiranAlla/silicon-ui | 56a1587fcf2a0e55b107096adb09c3e2aa1007b5 | [
"Apache-2.0"
] | null | null | null | packages/atoms/src/Text/Text.native.tsx | KrishnaKiranAlla/silicon-ui | 56a1587fcf2a0e55b107096adb09c3e2aa1007b5 | [
"Apache-2.0"
] | null | null | null | import React, { FC } from 'react';
import styled, { StyledComponent } from '@emotion/primitives';
import { TouchableOpacity } from 'react-native';
import {
color,
compose,
layout,
position,
shadow,
space,
typography
} from 'styled-system';
import {
StyledTextProps,
StyledViewProps,
TextProps,
spli... | 22.220588 | 78 | 0.66777 |
23e085922dbce8a9040f411f73ef471e7a68398e | 186 | js | JavaScript | lambda-resume-builder/src/Components/Assignments/styles.js | resume-builder-lambda/resume-build-front-end | 3f96f45b305d80247c6e77e962d4ff83e03bfaf0 | [
"MIT"
] | null | null | null | lambda-resume-builder/src/Components/Assignments/styles.js | resume-builder-lambda/resume-build-front-end | 3f96f45b305d80247c6e77e962d4ff83e03bfaf0 | [
"MIT"
] | 1 | 2022-02-10T18:05:52.000Z | 2022-02-10T18:05:52.000Z | lambda-resume-builder/src/Components/Assignments/styles.js | resume-builder-lambda/resume-build-front-end | 3f96f45b305d80247c6e77e962d4ff83e03bfaf0 | [
"MIT"
] | null | null | null | import { makeStyles } from '@material-ui/styles'
const useStyles = makeStyles({
card: {
maxWidth: 500
},
media: {
height: 300
}
})
export { useStyles }
| 14.307692 | 48 | 0.55914 |
4f142d1c50c5730fb58bd6a97028db449d5c6ef9 | 150 | sql | SQL | src/test/resources/sql/select/801a07f5.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/801a07f5.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/801a07f5.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:strings.sql ln:523 expect:false
select 'a\\bcd' as f1, 'a\\b\'cd' as f2, 'a\\b\'''cd' as f3, 'abcd\\' as f4, 'ab\\\'cd' as f5, '\\\\' as f6
| 50 | 109 | 0.533333 |
1a97fa515ee0222a37536b01aebedc9a1bba459a | 237 | py | Python | test.py | zhaozhongyu/PalDB | 3249df7819009622d252470d27a4ca8aac03fe27 | [
"Apache-2.0"
] | 2 | 2017-04-11T00:20:53.000Z | 2017-04-24T08:03:07.000Z | test.py | zhaozhongyu/PalDB | 3249df7819009622d252470d27a4ca8aac03fe27 | [
"Apache-2.0"
] | null | null | null | test.py | zhaozhongyu/PalDB | 3249df7819009622d252470d27a4ca8aac03fe27 | [
"Apache-2.0"
] | null | null | null | from Paldb.api import PalDB
c=PalDB.createWriter("D:\\paldb.db")
c.put("aaa", "aaaaaaa")
c.put("bbb", "bbbbbbb")
c.put(123, [1,2,3,4,5,])
c.close()
r = PalDB.createReader("D:\\paldb.db")
print(r.get("aaa"))
print(r.get(123))
r.close()
| 18.230769 | 38 | 0.637131 |
8515b15b1a783ef1a2c1fd7e2b080dcafa057061 | 12,734 | cs | C# | Parallelator/ImageEdit.xaml.cs | njegos-dukic/Job-Parallelator | 52803842516015ee9d0c7496318c9aac2f60c81b | [
"MIT"
] | null | null | null | Parallelator/ImageEdit.xaml.cs | njegos-dukic/Job-Parallelator | 52803842516015ee9d0c7496318c9aac2f60c81b | [
"MIT"
] | null | null | null | Parallelator/ImageEdit.xaml.cs | njegos-dukic/Job-Parallelator | 52803842516015ee9d0c7496318c9aac2f60c81b | [
"MIT"
] | null | null | null | using System;
using System.IO;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Windows.Storage;
using Windows.Storage.Pickers;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xam... | 32.819588 | 152 | 0.530784 |
a4aa85697d224b88d65d2cb7499b2618aca1c6dd | 5,044 | php | PHP | resources/views/livewire/show-product.blade.php | proDynaGroup/AppVenta | f2210d7055d76e12023b264ebbf051d71cca9092 | [
"MIT"
] | 1 | 2021-05-03T15:49:15.000Z | 2021-05-03T15:49:15.000Z | resources/views/livewire/show-product.blade.php | proDynaGroup/AppVenta | f2210d7055d76e12023b264ebbf051d71cca9092 | [
"MIT"
] | null | null | null | resources/views/livewire/show-product.blade.php | proDynaGroup/AppVenta | f2210d7055d76e12023b264ebbf051d71cca9092 | [
"MIT"
] | null | null | null | <div class="container">
<main class="flex-1 max-h-full p-5 overflow-hidden overflow-y-scroll" style="background-color:#f4f4f3; ">
<!-- Main content header -->
<div class="flex flex-col items-start justify-between pb-6 space-y-4 border-b lg:items-center lg:space-y-0 lg:flex-row" style="padding: 4em"... | 42.386555 | 203 | 0.404044 |