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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2196cde4b8ad853457020165ecfb51ed22a3d899 | 75 | rs | Rust | src/common/mod.rs | andreytkachenko/opencm | fc4b1990be41317cde9c9e55b61df8d94fc873d2 | [
"MIT"
] | 3 | 2018-02-08T21:37:05.000Z | 2018-11-01T07:31:34.000Z | src/common/mod.rs | andreytkachenko/opencm | fc4b1990be41317cde9c9e55b61df8d94fc873d2 | [
"MIT"
] | null | null | null | src/common/mod.rs | andreytkachenko/opencm | fc4b1990be41317cde9c9e55b61df8d94fc873d2 | [
"MIT"
] | null | null | null | mod volatile_cell;
pub mod asm;
pub use self::volatile_cell::VolatileCell; | 18.75 | 42 | 0.8 |
3e57121b969b771d0035bbd8dfea65bdbd2bce6b | 1,811 | asm | Assembly | examples/T/T.asm | brickpool/hp35s | 14fc5881af7f72e1dbbf408d0201b411e16a9190 | [
"MIT"
] | 3 | 2020-12-08T08:13:46.000Z | 2021-12-15T06:06:57.000Z | examples/T/T.asm | brickpool/hp35s | 14fc5881af7f72e1dbbf408d0201b411e16a9190 | [
"MIT"
] | null | null | null | examples/T/T.asm | brickpool/hp35s | 14fc5881af7f72e1dbbf408d0201b411e16a9190 | [
"MIT"
] | null | null | null | ; This program calculates the sides, angles and area of a triangle
MODEL P35S
SEGMENT CODE
LBL T
A01:
RCL U ; RCL 4
SIN
RCL Z ; RCL 3
*
RCL X ; RCL 1
/
ASIN ; SIN^-1
STOP
STO W ; STO 6... | 17.247619 | 66 | 0.256764 |
d2c64d900db8fb16936f69f5841eff19d147039d | 5,526 | php | PHP | src/pocketmine/permission/Permission.php | LiteCoreTeam/pmmp-multi | 375731d63534b3bfd10b8eba006ca3d02c88d9e3 | [
"Apache-2.0"
] | 4 | 2020-10-14T11:49:51.000Z | 2020-11-17T07:02:54.000Z | src/pocketmine/permission/Permission.php | LiteCoreTeam/pmmp-multi | 375731d63534b3bfd10b8eba006ca3d02c88d9e3 | [
"Apache-2.0"
] | 1 | 2020-12-17T13:36:42.000Z | 2020-12-17T13:36:42.000Z | src/pocketmine/permission/Permission.php | LiteCoreTeam/pmmp-multi | 375731d63534b3bfd10b8eba006ca3d02c88d9e3 | [
"Apache-2.0"
] | 2 | 2021-08-12T11:01:46.000Z | 2021-08-19T13:11:00.000Z | <?php
/*
*
* ____ _ _ __ __ _ __ __ ____
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
* |_| \___/ \___... | 22.647541 | 136 | 0.622874 |
58d14508e3ce99ba25c9ca9fadbac4c988d1d5f9 | 536 | rs | Rust | tests/unescape.rs | magiclen/base64-url | 8da40a0e80a79d71e0841453b544211163a071c6 | [
"MIT"
] | 6 | 2020-05-10T20:18:25.000Z | 2022-03-05T05:07:01.000Z | tests/unescape.rs | magiclen/base64-url | 8da40a0e80a79d71e0841453b544211163a071c6 | [
"MIT"
] | 1 | 2019-01-20T17:46:41.000Z | 2019-01-20T18:03:43.000Z | tests/unescape.rs | magiclen/base64-url | 8da40a0e80a79d71e0841453b544211163a071c6 | [
"MIT"
] | null | null | null | extern crate base64_url;
use base64_url::base64;
#[test]
fn unescape() {
assert_eq!(
b"https://magiclen.org",
base64::decode(base64_url::unescape("aHR0cHM6Ly9tYWdpY2xlbi5vcmc").as_bytes())
.unwrap()
.as_slice()
);
}
#[test]
fn unescape_in_place() {
let mut base64_u... | 23.304348 | 95 | 0.66791 |
e80b955e85b4a5bb3b760d4de2485b440893b5b7 | 302 | css | CSS | css/seller.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | css/seller.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | css/seller.css | tassiLuca/silmarillion | 3db7cc41354049d5826d723d22144403d4be079f | [
"MIT",
"OLDAP-2.2.1",
"Unlicense"
] | null | null | null | div, button, h2, ul, li, main, p{
margin : 0;
padding: 0;
}
main {
background-image: url(../img/background/drag_wall.png);
height: 750px;
}
/********************* SELLER KEYPAD *********************/
main > section:nth-child(3) {
background: rgba(0, 71, 158, 0.44);
}
| 17.764706 | 69 | 0.490066 |
b607a1cf0253686a6a975ae6e35aae1ef97d0f99 | 42,914 | rb | Ruby | lib/dashboard/charting_and_reports/charts/series_data_manager.rb | Energy-Sparks/energy-sparks_analytics | 810ada0ffdc7a0934decb856d6431f1fcc07a85a | [
"MIT"
] | null | null | null | lib/dashboard/charting_and_reports/charts/series_data_manager.rb | Energy-Sparks/energy-sparks_analytics | 810ada0ffdc7a0934decb856d6431f1fcc07a85a | [
"MIT"
] | 38 | 2021-01-28T16:28:35.000Z | 2022-03-28T14:18:17.000Z | lib/dashboard/charting_and_reports/charts/series_data_manager.rb | Energy-Sparks/energy-sparks_analytics | 810ada0ffdc7a0934decb856d6431f1fcc07a85a | [
"MIT"
] | null | null | null | # Series Data Manager
# - acts as a single interface for all requests from the aggregation process
# - and other sources e.g. alerts for all energy related data
#
# sources of data:
# - raw smart meter/amr data on half hour boundaries, could be electricity or gas
# - slightly more derived versions of that data, for... | 43.260081 | 218 | 0.728783 |
348f767f6ed7c81811f9c446e43a8e352713b4b5 | 86 | asm | Assembly | avrsh/bin/Release/test7.asm | andresarmento/avrsim | b66b8e45c69fa3a120462e14b0924923675c9368 | [
"BSD-3-Clause"
] | 1 | 2019-04-30T15:06:04.000Z | 2019-04-30T15:06:04.000Z | avrsh/bin/Release/test7.asm | andresarmento/avrsim | b66b8e45c69fa3a120462e14b0924923675c9368 | [
"BSD-3-Clause"
] | null | null | null | avrsh/bin/Release/test7.asm | andresarmento/avrsim | b66b8e45c69fa3a120462e14b0924923675c9368 | [
"BSD-3-Clause"
] | null | null | null | .org 0x2000
SBI 0x04, 0 ;DDR4 - 0x04
SBI 0x04, 1
SBI 0x05, 0 ;PORTB - 0x05
| 17.2 | 29 | 0.581395 |
0a06d65ba3b7b0b5c0d8606ec438a360434d3a1f | 1,375 | tsx | TypeScript | src/style-functions/addStyleContent.tsx | aadityarajkumawat/draftjs-raw-parser | 268c53e91dd0b168bfef0c9a2d86c83c00a84678 | [
"MIT"
] | 1 | 2020-12-04T15:20:00.000Z | 2020-12-04T15:20:00.000Z | src/style-functions/addStyleContent.tsx | aadityarajkumawat/draftjs-raw-parser | 268c53e91dd0b168bfef0c9a2d86c83c00a84678 | [
"MIT"
] | null | null | null | src/style-functions/addStyleContent.tsx | aadityarajkumawat/draftjs-raw-parser | 268c53e91dd0b168bfef0c9a2d86c83c00a84678 | [
"MIT"
] | null | null | null | import React from 'react'
import { v4 as uid } from 'uuid'
import {
BOLD_ITALIC,
FinalStylesArrayI,
ITALIC,
RichStyle,
STRONG,
} from '../constants'
export const addStyleContent = (
finalStylesArray: Array<FinalStylesArrayI>,
text: string,
j: number,
type: RichStyle,
) => {
switch (type) {
case... | 24.553571 | 58 | 0.556364 |
f77c77665d322f8210e512897c1cfb9b3144cf26 | 10,517 | h | C | tweak-pickle/src/autogen/tweak.pb.h | CogentEmbedded/tweaktool | e790ec63f649304f1f6db6a003e0b4ffcea5456e | [
"MIT"
] | null | null | null | tweak-pickle/src/autogen/tweak.pb.h | CogentEmbedded/tweaktool | e790ec63f649304f1f6db6a003e0b4ffcea5456e | [
"MIT"
] | null | null | null | tweak-pickle/src/autogen/tweak.pb.h | CogentEmbedded/tweaktool | e790ec63f649304f1f6db6a003e0b4ffcea5456e | [
"MIT"
] | 1 | 2021-04-28T14:21:12.000Z | 2021-04-28T14:21:12.000Z | /* Automatically generated nanopb header */
/* Generated by nanopb-0.4.5 */
#ifndef PB_TWEAK_PB_TWEAK_PB_H_INCLUDED
#define PB_TWEAK_PB_TWEAK_PB_H_INCLUDED
#include <pb.h>
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
/* Bo... | 43.820833 | 172 | 0.755729 |
0cc6417c3e829823797e9f3e6ad674ead279d5e9 | 2,657 | py | Python | src/data_analysis_util.py | vikramnayyar/Customer-Identification-for-Bank-Marketing | 4727f6d8997d26836ad167616a8edb4898623c39 | [
"Apache-2.0"
] | null | null | null | src/data_analysis_util.py | vikramnayyar/Customer-Identification-for-Bank-Marketing | 4727f6d8997d26836ad167616a8edb4898623c39 | [
"Apache-2.0"
] | null | null | null | src/data_analysis_util.py | vikramnayyar/Customer-Identification-for-Bank-Marketing | 4727f6d8997d26836ad167616a8edb4898623c39 | [
"Apache-2.0"
] | null | null | null | """
The script declares functions used in 'data_analysis.py'
"""
import os
import yaml
from logzero import logger
import matplotlib.pyplot as plt
import seaborn as sns
from matplotlib.patches import Patch
import plotly.graph_objects as go
from utility import parse_config
config_path = "config/config.yaml"
con... | 34.064103 | 125 | 0.657132 |
1f4a39563f4f01751261a79c11058242d3a39f55 | 1,095 | css | CSS | web-ui/src/pages/DirectoryPage.css | Maroju100/check-ins | 7fca1930767c6d3854eb9a7f2b2e57cc2b0f4b73 | [
"Apache-2.0"
] | null | null | null | web-ui/src/pages/DirectoryPage.css | Maroju100/check-ins | 7fca1930767c6d3854eb9a7f2b2e57cc2b0f4b73 | [
"Apache-2.0"
] | null | null | null | web-ui/src/pages/DirectoryPage.css | Maroju100/check-ins | 7fca1930767c6d3854eb9a7f2b2e57cc2b0f4b73 | [
"Apache-2.0"
] | null | null | null | .add-member {
align-items: center;
display: flex;
}
.add-member-modal {
position: absolute;
min-width: 400px;
max-width: 600px;
background-color: #fff;
top: 50%;
left: 50%;
padding: 0.5rem;
transform: translate(-50%, -50%);
border: 2px solid #fff;
}
.add-member-modal h2 {
margin-block-end: 0re... | 17.109375 | 48 | 0.66484 |
c5b15e6a18fc79005635e40489142728696e9055 | 29,301 | sql | SQL | maindb.sql | giovanyrosales/mainadmin | 5ce888b4ee075d8729787b7a2e21eb1851c03e57 | [
"MIT"
] | 1 | 2022-02-08T14:38:23.000Z | 2022-02-08T14:38:23.000Z | maindb.sql | giovanyrosales/mainadmin | 5ce888b4ee075d8729787b7a2e21eb1851c03e57 | [
"MIT"
] | null | null | null | maindb.sql | giovanyrosales/mainadmin | 5ce888b4ee075d8729787b7a2e21eb1851c03e57 | [
"MIT"
] | null | null | null | CREATE DATABASE IF NOT EXISTS `maindb` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `maindb`;
-- MySQL dump 10.13 Distrib 5.7.12, for Win64 (x86_64)
--
-- Host: 127.0.0.1 Database: maindb
-- ------------------------------------------------------
-- Server version 5.7.24
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@C... | 42.465217 | 922 | 0.734241 |
c37917091522a5ed67deb4ece5119312bd0372ea | 2,449 | go | Go | cmd/root.go | CloudAutomationSolutions/invoicerender | c24a60d89a6b98c712a3b22c3b472489f059ee58 | [
"Apache-2.0"
] | 3 | 2019-11-01T10:21:43.000Z | 2021-03-19T13:16:38.000Z | cmd/root.go | CloudAutomationSolutions/invoicerender | c24a60d89a6b98c712a3b22c3b472489f059ee58 | [
"Apache-2.0"
] | null | null | null | cmd/root.go | CloudAutomationSolutions/invoicerender | c24a60d89a6b98c712a3b22c3b472489f059ee58 | [
"Apache-2.0"
] | null | null | null | /*
Copyright © 2019 NAME HERE <EMAIL ADDRESS>
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 in writi... | 28.811765 | 114 | 0.726419 |
584a90d4fd191bd15b29917784024f34e8ebffe9 | 647 | h | C | Network/serial_AT.h | byxlk/cherryFly | 388dee9e752b4cc17aeeedb9f6a4b58588a3859d | [
"MIT"
] | null | null | null | Network/serial_AT.h | byxlk/cherryFly | 388dee9e752b4cc17aeeedb9f6a4b58588a3859d | [
"MIT"
] | null | null | null | Network/serial_AT.h | byxlk/cherryFly | 388dee9e752b4cc17aeeedb9f6a4b58588a3859d | [
"MIT"
] | 1 | 2021-07-01T11:47:17.000Z | 2021-07-01T11:47:17.000Z | #ifndef __SERIAL_AT_H
#define __SERIAL_AT_H
#include "stm32f4xx.h"
/* Kernel includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "timers.h"
#include "semphr.h"
#define Normal (0x00)
#define ExecFail (1<<0)
#define SendTimeOut (1<<1)
#define ReceTimeOut (1<<2)
#define ParaErr (1<<3... | 19.606061 | 101 | 0.693972 |
189d713d88a3bf5bea07658c9fd8e343b9fbcc40 | 11,560 | sql | SQL | sql/dataManipulation.sql | llanesm/EHR-Lite | 91d5aeb2a27c997fc44ed60adadffc104985798c | [
"Apache-2.0"
] | null | null | null | sql/dataManipulation.sql | llanesm/EHR-Lite | 91d5aeb2a27c997fc44ed60adadffc104985798c | [
"Apache-2.0"
] | null | null | null | sql/dataManipulation.sql | llanesm/EHR-Lite | 91d5aeb2a27c997fc44ed60adadffc104985798c | [
"Apache-2.0"
] | null | null | null | -- Inserts --
--paitents
--Query for adding a new patient into the system. '$' used to denote variables
-- that will be data from backend Python
INSERT INTO patients (fname, lname, birthdate, preferredPharmacy, primaryCarePhysician)
VALUES ($fname, $lname, $birthdate, $preferredPharmacy, $providerIdNumber);
--pr... | 60.52356 | 267 | 0.759775 |
edffaf9550da14a6a1c29cbcf74d336c72175f43 | 413 | asm | Assembly | oeis/051/A051792.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/051/A051792.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/051/A051792.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A051792: a(n) = (-1)^(n-1)*a(n-1)+(-1)^(n-2)*a(n-2), a(1)=1, a(2)=1.
; Submitted by Jon Maiga
; 1,1,0,1,1,0,-1,1,2,-1,-3,2,5,-3,-8,5,13,-8,-21,13,34,-21,-55,34,89,-55,-144,89,233,-144,-377,233,610,-377,-987,610,1597,-987,-2584,1597,4181,-2584,-6765,4181,10946,-6765,-17711,10946,28657,-17711,-46368
mov $2,1
lpb $0
... | 24.294118 | 204 | 0.554479 |
963e46f4cf7badb8d947a816084fb8fef9285eff | 103 | php | PHP | vendor/get-stream/stream-laravel/src/GetStream/StreamLaravel/Exceptions/MissingDataException.php | RazzaFrazza/pokeGoApiTest | 09ddd553c5c38326db8fa1dfbf64e86dd37f74d3 | [
"MIT"
] | null | null | null | vendor/get-stream/stream-laravel/src/GetStream/StreamLaravel/Exceptions/MissingDataException.php | RazzaFrazza/pokeGoApiTest | 09ddd553c5c38326db8fa1dfbf64e86dd37f74d3 | [
"MIT"
] | null | null | null | vendor/get-stream/stream-laravel/src/GetStream/StreamLaravel/Exceptions/MissingDataException.php | RazzaFrazza/pokeGoApiTest | 09ddd553c5c38326db8fa1dfbf64e86dd37f74d3 | [
"MIT"
] | null | null | null | <?php namespace GetStream\StreamLaravel\Exceptions;
class MissingDataException extends \Exception {
}
| 20.6 | 51 | 0.825243 |
edc514ffdf6a1bd040bf3979db176430891ff8da | 1,059 | lua | Lua | deep_manipulation/common/curve_plot.lua | Fanleyrobot/ADT | d4d7693e7df971249d68bb75b78ed5d53cb21986 | [
"BSD-3-Clause"
] | 7 | 2019-07-29T09:50:31.000Z | 2021-12-22T11:37:52.000Z | deep_manipulation/common/curve_plot.lua | Fanleyrobot/ADT | d4d7693e7df971249d68bb75b78ed5d53cb21986 | [
"BSD-3-Clause"
] | null | null | null | deep_manipulation/common/curve_plot.lua | Fanleyrobot/ADT | d4d7693e7df971249d68bb75b78ed5d53cb21986 | [
"BSD-3-Clause"
] | null | null | null | --[[ File
@description:
The functions included in this file are for ploting curves.
@version: V0.10
@author: Fangyi Zhang email:gzzhangfangyi@gmail.com
@acknowledgement:
ARC Centre of Excellence for Robotic Vision (ACRV)
Queensland Univsersity of Technology (QUT)
@history:
V0.00 23/06/2015 develope... | 27.868421 | 84 | 0.719547 |
c6db00f048f0b0d79e614416faaebf6b7e2c289b | 770 | kt | Kotlin | testlib/src/commonMain/kotlin/maryk/test/ByteCollector.kt | marykdb/maryk | 2fa9601d42cd0eae5c3672b1c23b1777856dc5fa | [
"Apache-2.0"
] | 4 | 2020-08-26T10:38:21.000Z | 2021-11-02T05:31:05.000Z | testlib/src/commonMain/kotlin/maryk/test/ByteCollector.kt | marykdb/maryk | 2fa9601d42cd0eae5c3672b1c23b1777856dc5fa | [
"Apache-2.0"
] | null | null | null | testlib/src/commonMain/kotlin/maryk/test/ByteCollector.kt | marykdb/maryk | 2fa9601d42cd0eae5c3672b1c23b1777856dc5fa | [
"Apache-2.0"
] | null | null | null | package maryk.test
/** Collects bytes into a byteArray and enables to read them afterwards*/
open class ByteCollector {
var bytes: ByteArray? = null
private var writeIndex = 0
var readIndex = 0
val size: Int get() = bytes!!.size
fun reserve(count: Int) {
bytes.apply {
if (this... | 22 | 73 | 0.490909 |
cbab1b8439bb495dfa7d58d46c26a07f08b38908 | 5,192 | go | Go | pkg/monitor/metrics/application.go | Nicola115/kubevela | 9d93b990841c6f940065c03876560b04c16ff597 | [
"Apache-2.0"
] | 3 | 2022-02-21T04:42:37.000Z | 2022-02-26T23:21:03.000Z | pkg/monitor/metrics/application.go | Nicola115/kubevela | 9d93b990841c6f940065c03876560b04c16ff597 | [
"Apache-2.0"
] | null | null | null | pkg/monitor/metrics/application.go | Nicola115/kubevela | 9d93b990841c6f940065c03876560b04c16ff597 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021. The KubeVela Authors.
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 in writ... | 43.266667 | 127 | 0.773305 |
d4f33103f4cc066b892a11661cba6688904a1743 | 1,041 | rs | Rust | popstcl-core/src/vm/module.rs | InnPatron/Popstcl | cb1e1f8d71b64fd94964657d61eb7ce26ffc7d21 | [
"MIT"
] | null | null | null | popstcl-core/src/vm/module.rs | InnPatron/Popstcl | cb1e1f8d71b64fd94964657d61eb7ce26ffc7d21 | [
"MIT"
] | null | null | null | popstcl-core/src/vm/module.rs | InnPatron/Popstcl | cb1e1f8d71b64fd94964657d61eb7ce26ffc7d21 | [
"MIT"
] | null | null | null | use super::internal::*;
use std::rc::Rc;
use std::cell::{RefCell, Ref};
use ccrc::{Collectable, Tracer};
use std::fmt;
pub trait Module: Object {}
/// Interface to an Env for modules loaded by popstcl commands
#[derive(Clone, Debug, PartialEq)]
pub struct StdModule(Env);
impl StdModule {
pub fn new(env: Env) -> Std... | 19.277778 | 62 | 0.611912 |
5c833cd123d46efe54ac23b8849a4c729699a47f | 390 | asm | Assembly | _anim/obj43.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | null | null | null | _anim/obj43.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | 2 | 2019-06-13T14:26:59.000Z | 2019-10-10T13:15:14.000Z | _anim/obj43.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | null | null | null | ; ---------------------------------------------------------------------------
; Animation script - Roller enemy
; ---------------------------------------------------------------------------
dc.w byte_E190-Ani_obj43
dc.w byte_E196-Ani_obj43
dc.w byte_E19C-Ani_obj43
byte_E190: dc.b $F, 2, 1, 0, $FE, 1
byte_E... | 39 | 78 | 0.382051 |
755d2297789780b296868ad03108d1b89dd09ff7 | 3,427 | h | C | networkit/cpp/graph/RandomMaximumSpanningForest.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | networkit/cpp/graph/RandomMaximumSpanningForest.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | networkit/cpp/graph/RandomMaximumSpanningForest.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | #ifndef RANDOMMAXIMUMSPANNINGFOREST_H
#define RANDOMMAXIMUMSPANNINGFOREST_H
#include "Graph.h"
#include <limits>
#include "../structures/UnionFind.h"
#include "../auxiliary/Log.h"
#include "../auxiliary/Random.h"
#include "../base/Algorithm.h"
namespace NetworKit {
/**
* Computes a random maximum-weight spanning fo... | 28.322314 | 148 | 0.707324 |
1106fafd7eb553324bfcb81666a5fbdb6322ac84 | 244 | sql | SQL | query4.sql | julms/mta.SQL | fed73e301cfa19d6799b5ba06368911b979a93ee | [
"MIT"
] | null | null | null | query4.sql | julms/mta.SQL | fed73e301cfa19d6799b5ba06368911b979a93ee | [
"MIT"
] | null | null | null | query4.sql | julms/mta.SQL | fed73e301cfa19d6799b5ba06368911b979a93ee | [
"MIT"
] | null | null | null | SELECT st.name AS name, sum(feb.ff) - sum(jan.ff) AS diff_feb1_jan18
FROM stations AS st
INNER JOIN fares_jan18 AS jan
INNER JOIN fares_feb1 AS feb
ON st.name = jan.station and jan.remote = feb.remote
WHERE line = "Broadway"
GROUP BY st.name | 34.857143 | 68 | 0.758197 |
9ba03ca5c48e8a2fb6935587cafad903f4934cd7 | 173 | js | JavaScript | src/modules/preference/sdk/createPreference.js | brianneisler/moltres-template | d27a05abc0079e9c316e2eca869990b66501afa0 | [
"Apache-2.0"
] | 3 | 2020-07-31T12:21:26.000Z | 2021-11-01T22:16:16.000Z | src/modules/preference/sdk/createPreference.js | brianneisler/moltres-template | d27a05abc0079e9c316e2eca869990b66501afa0 | [
"Apache-2.0"
] | 1 | 2021-02-23T05:24:21.000Z | 2021-02-23T05:24:21.000Z | src/modules/preference/sdk/createPreference.js | brianneisler/moltres-template | d27a05abc0079e9c316e2eca869990b66501afa0 | [
"Apache-2.0"
] | null | null | null | import { createEntity } from '../../../core/sdk'
import { Preference } from '../schemas'
const createPreference = createEntity(Preference)
export default createPreference
| 24.714286 | 49 | 0.739884 |
2c24ab201cdbdd8d96c911e1a619660dc454a6b1 | 5,498 | kt | Kotlin | src/main/kotlin/org/jetbrains/numkt/math/SumsProductsDifferences.kt | devcrocod/kotlin-numpy | 1e755cfdb6c162e4ab071453791f70b029d6d2a5 | [
"Apache-2.0"
] | 311 | 2019-12-05T14:44:11.000Z | 2022-03-23T09:32:46.000Z | src/main/kotlin/org/jetbrains/numkt/math/SumsProductsDifferences.kt | devcrocod/kotlin-numpy | 1e755cfdb6c162e4ab071453791f70b029d6d2a5 | [
"Apache-2.0"
] | 22 | 2019-12-24T15:47:15.000Z | 2021-11-23T18:29:16.000Z | src/main/kotlin/org/jetbrains/numkt/math/SumsProductsDifferences.kt | devcrocod/kotlin-numpy | 1e755cfdb6c162e4ab071453791f70b029d6d2a5 | [
"Apache-2.0"
] | 13 | 2020-01-28T20:36:04.000Z | 2021-12-12T17:19:04.000Z | /*
* Copyright 2019 JetBrains s.r.o.
*
* 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.148649 | 114 | 0.66988 |
27d40b9dbc455757a234bbd7405e3f225d36d254 | 1,130 | sql | SQL | hasura/migrations/default/1631649292980_create_table_video_EventRtmpOutput/up.sql | VictorGMBraga/clowdr | e7ade2c742524f9a4006b7565ee9424fa4354acd | [
"BSD-3-Clause"
] | 49 | 2021-01-09T07:09:08.000Z | 2022-03-27T05:16:46.000Z | hasura/migrations/default/1631649292980_create_table_video_EventRtmpOutput/up.sql | VictorGMBraga/clowdr | e7ade2c742524f9a4006b7565ee9424fa4354acd | [
"BSD-3-Clause"
] | 333 | 2021-01-17T14:52:22.000Z | 2022-03-10T02:38:53.000Z | hasura/migrations/default/1631649292980_create_table_video_EventRtmpOutput/up.sql | VictorGMBraga/clowdr | e7ade2c742524f9a4006b7565ee9424fa4354acd | [
"BSD-3-Clause"
] | 15 | 2021-01-29T14:17:38.000Z | 2022-02-14T22:13:48.000Z | CREATE TABLE "video"."EventRtmpOutput" ("id" uuid NOT NULL DEFAULT gen_random_uuid(), "created_at" timestamptz NOT NULL DEFAULT now(), "updated_at" timestamptz NOT NULL DEFAULT now(), "url" text NOT NULL, "streamKey" text NOT NULL, "eventId" uuid NOT NULL, PRIMARY KEY ("id") , FOREIGN KEY ("eventId") REFERENCES "schedu... | 59.473684 | 533 | 0.769912 |
3eb47e260f81b3fe4e654c06299cda1266b46880 | 10,866 | h | C | headers/private/kernel/util/MinMaxHeap.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | headers/private/kernel/util/MinMaxHeap.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | headers/private/kernel/util/MinMaxHeap.h | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2013 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Paweł Dziepak, pdziepak@quarnos.org
*/
#ifndef KERNEL_UTIL_MIN_MAX_HEAP_H
#define KERNEL_UTIL_MIN_MAX_HEAP_H
#include <debug.h>
#include <SupportDefs.h>
template<typename Element, typename K... | 21.559524 | 77 | 0.727683 |
cb1dd1bd2d303d8c00d924149d9ba614596f6bf2 | 7,027 | h | C | ext/phalcon/datamapper/pdo/connection/pdointerface.zep.h | chipco/cphalcon | 1f4c94f9f99c401137b003c28fcffc128d5de16d | [
"BSD-3-Clause"
] | 1 | 2020-08-02T04:34:16.000Z | 2020-08-02T04:34:16.000Z | ext/phalcon/datamapper/pdo/connection/pdointerface.zep.h | chipco/cphalcon | 1f4c94f9f99c401137b003c28fcffc128d5de16d | [
"BSD-3-Clause"
] | null | null | null | ext/phalcon/datamapper/pdo/connection/pdointerface.zep.h | chipco/cphalcon | 1f4c94f9f99c401137b003c28fcffc128d5de16d | [
"BSD-3-Clause"
] | 1 | 2020-08-02T04:34:16.000Z | 2020-08-02T04:34:16.000Z |
extern zend_class_entry *phalcon_datamapper_pdo_connection_pdointerface_ce;
ZEPHIR_INIT_CLASS(Phalcon_DataMapper_Pdo_Connection_PdoInterface);
#if PHP_VERSION_ID >= 70200
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_datamapper_pdo_connection_pdointerface_begintransaction, 0, 0, _IS_BOOL, 0)
#else
ZEND_BEG... | 47.802721 | 166 | 0.884019 |
defc19c31726c6989c32ef1cbc5381fc189b36f0 | 8,114 | rs | Rust | aws/sdk/integration-tests/lambda/tests/naughty-strings-client-context.rs | LMJW/smithy-rs | 841f51113fb14e2922793951ce16bda3e16cb51f | [
"Apache-2.0"
] | null | null | null | aws/sdk/integration-tests/lambda/tests/naughty-strings-client-context.rs | LMJW/smithy-rs | 841f51113fb14e2922793951ce16bda3e16cb51f | [
"Apache-2.0"
] | null | null | null | aws/sdk/integration-tests/lambda/tests/naughty-strings-client-context.rs | LMJW/smithy-rs | 841f51113fb14e2922793951ce16bda3e16cb51f | [
"Apache-2.0"
] | null | null | null | #![allow(dead_code)]
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
// use http::HeaderValue;
const NAUGHTY_STRINGS: &str = include_str!("blns/blns.txt");
/// A list of lines to skipped when iterating over the blns. These lines should all fail whe... | 46.102273 | 283 | 0.433202 |
d009e0f5fe6d120c3e18a7b75328c5facebf3d73 | 294 | rb | Ruby | starfiles/testcallback.rb | harunlakodla/Flutter_Python-flutter_python | 9dfa020fd73bff3bcf965476060ca441349ba96b | [
"Apache-2.0"
] | 10 | 2020-02-02T21:47:34.000Z | 2022-02-05T23:55:15.000Z | starfiles/testcallback.rb | harunlakodla/Flutter_Python-flutter_python | 9dfa020fd73bff3bcf965476060ca441349ba96b | [
"Apache-2.0"
] | 1 | 2021-11-02T10:43:48.000Z | 2021-11-02T10:43:48.000Z | starfiles/testcallback.rb | harunlakodla/Flutter_Python-flutter_python | 9dfa020fd73bff3bcf965476060ca441349ba96b | [
"Apache-2.0"
] | null | null | null | def tt(a,b)
puts(a,b)
paraPkg = $CallBackObj.PrintHello("---------------",{'Name'=>'Zara', 'Age'=>7, 'Class'=>true},1234)
puts(paraPkg)
puts(paraPkg._Get(0))
puts(paraPkg._Get(1))
puts(paraPkg._Get(1)._ToTuple())
puts(paraPkg._Get(2))
return a,b
end
$g1 = 123
| 24.5 | 103 | 0.561224 |
2f4815f4b46159628d67af9b73d7263437c524ad | 402 | php | PHP | resources/views/albums/create.blade.php | hrarnob07/PhotoGallery-laravel5.5 | 3b1d8dea592a80be44864c4284e519f352faca99 | [
"MIT"
] | null | null | null | resources/views/albums/create.blade.php | hrarnob07/PhotoGallery-laravel5.5 | 3b1d8dea592a80be44864c4284e519f352faca99 | [
"MIT"
] | null | null | null | resources/views/albums/create.blade.php | hrarnob07/PhotoGallery-laravel5.5 | 3b1d8dea592a80be44864c4284e519f352faca99 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<h2>Create Form</h2>
{!! Form::open(['action' => 'AlbumsController@store','method'=>'POST','enctype'=>'multipart/form-data']) !!}
{{Form::text('name', '',['placeholder'=>'album name'])}}
{{Form::textarea('description', '',['placeholder'=>'album description'])}}
{{Form::... | 30.923077 | 109 | 0.616915 |
966de020efa69ac48595f7ce19ca216c1b22e7ca | 7,008 | php | PHP | application/views/operasional/subrogasi.php | XanaduNET/SPenjaminan | 2ced374f60d6714d4dab0a94a5428a7eb4d9a4d3 | [
"MIT"
] | null | null | null | application/views/operasional/subrogasi.php | XanaduNET/SPenjaminan | 2ced374f60d6714d4dab0a94a5428a7eb4d9a4d3 | [
"MIT"
] | null | null | null | application/views/operasional/subrogasi.php | XanaduNET/SPenjaminan | 2ced374f60d6714d4dab0a94a5428a7eb4d9a4d3 | [
"MIT"
] | null | null | null | <div class="mobile-menu-overlay"></div>
<div class="container-fluid">
<div class="main-container">
<h1 class="h3 mb-4 text-gray-800"><?=$title;?></h1>
<div>
<!--
<div><?=validation_errors()?></div>
<?=form_open('Nasabah/input', ['class' => 'form-horiz... | 41.467456 | 116 | 0.315782 |
06ae285cede0ae3a914a86e163592f354d252a3a | 738 | asm | Assembly | oeis/175/A175322.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/175/A175322.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/175/A175322.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A175322: a(n) = A053141(n)*A001109(n+1) = Sum_{k=A053141(n)+1..A001109(n+1)-1} k.
; Submitted by Jamie Morken(s1)
; 12,490,17136,584988,19889100,675741430,22955884992,779827644120,26491203224556,899921193951778,30570830043692400,1038508304094967860,35278711531352926572,1198437683891107427950,40711602541519349266176,1... | 41 | 488 | 0.813008 |
b1972f968a7ac83725a31a13a70cf99f8832b989 | 2,625 | c | C | hcash.c | SpiritedAwayLab/node-multi-hashing-lux | 0028e397759ccdb061f860b607148c055879c7ad | [
"MIT"
] | null | null | null | hcash.c | SpiritedAwayLab/node-multi-hashing-lux | 0028e397759ccdb061f860b607148c055879c7ad | [
"MIT"
] | null | null | null | hcash.c | SpiritedAwayLab/node-multi-hashing-lux | 0028e397759ccdb061f860b607148c055879c7ad | [
"MIT"
] | null | null | null | #include "hcash.h"
void hcash_hash(const char* input, char* output)
{
sph_blake512_context ctx_blake;
sph_bmw512_context ctx_bmw;
sph_groestl512_context ctx_groestl;
sph_jh512_context ctx_jh;
sph_keccak512_context ctx_keccak;
sph_skein512_context ctx_skein;
sph_luffa512_context ctx_luffa;
... | 32.407407 | 59 | 0.70781 |
daa63810ebe3ff50f3c55c43674a003ea0ecf968 | 344 | swift | Swift | SwiftOTP/Application/Constants.swift | brunophilipe/SwiftOTP | ce2c19ce835acbc18e4544f6024a847e0b0022f6 | [
"Apache-2.0"
] | 6 | 2018-10-29T18:34:14.000Z | 2021-06-14T09:30:02.000Z | SwiftOTP/Application/Constants.swift | brunophilipe/SwiftOTP | ce2c19ce835acbc18e4544f6024a847e0b0022f6 | [
"Apache-2.0"
] | null | null | null | SwiftOTP/Application/Constants.swift | brunophilipe/SwiftOTP | ce2c19ce835acbc18e4544f6024a847e0b0022f6 | [
"Apache-2.0"
] | 1 | 2019-10-30T08:46:03.000Z | 2019-10-30T08:46:03.000Z | //
// Constants.swift
// SwiftOTP
//
// Created by Bruno Philipe on 9/7/18.
// Copyright © 2018 Bruno Philipe. All rights reserved.
//
import Foundation
struct Constants
{
static let tokenStoreUUID = UUID(uuidString: "362AC457-297F-4F6C-8B13-34F6721E9D41")!
static let keychainGroupIdentifier = "R85D3K8ATT.com.b... | 21.5 | 86 | 0.744186 |
ddf4c5e584b013355f49f6671a07671377687302 | 6,660 | php | PHP | app/Http/Controllers/Api/QuestionController.php | saif22nemr/doctor_appointment | 7136714b9778cae821488893ad281657663f636a | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/QuestionController.php | saif22nemr/doctor_appointment | 7136714b9778cae821488893ad281657663f636a | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/QuestionController.php | saif22nemr/doctor_appointment | 7136714b9778cae821488893ad281657663f636a | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\Activity;
use App\Models\Choose;
use App\Models\Question;
use Illuminate\Http\Request;
class QuestionController extends ApiController
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Htt... | 32.019231 | 92 | 0.479279 |
3b925884d06fea95bcb18bd0186b434644f66bb4 | 2,331 | h | C | usr/src/uts/common/sys/waitq.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/common/sys/waitq.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | null | null | null | usr/src/uts/common/sys/waitq.h | AsahiOS/gate | 283d47da4e17a5871d9d575e7ffb81e8f6c52e51 | [
"MIT"
] | 1 | 2020-12-30T00:04:16.000Z | 2020-12-30T00:04:16.000Z | /*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | 25.615385 | 76 | 0.723724 |
fd9496fc516026e923e94e90950c9d443b5a5793 | 16,843 | c | C | sys/page.c | madiraju/xv6-soln | c802545c2d0f2c1b90a16a1ef8a09c599ba80fbf | [
"MIT"
] | 4 | 2016-01-17T20:01:04.000Z | 2017-11-03T20:51:36.000Z | sys/page.c | madiraju/xv6-soln | c802545c2d0f2c1b90a16a1ef8a09c599ba80fbf | [
"MIT"
] | null | null | null | sys/page.c | madiraju/xv6-soln | c802545c2d0f2c1b90a16a1ef8a09c599ba80fbf | [
"MIT"
] | null | null | null | #include<sys/page.h>
#include<sys/pmmgr.h>
#include<sys/utility.h>
#include<sys/sbunix.h>
#include<sys/process.h>
inline uint64_t pml4_index(uint64_t x){
return ((x>>39) & 0x1fful);
}
inline uint64_t pdp_index(uint64_t x){
return ((x>>30) & 0x1fful);
}
inline uint64_t pd_index(uint64_t x){
return ((x>>21) & 0x1ffu... | 28.118531 | 104 | 0.67108 |
b53bbda1f674a95e5d0a6957976d75f5938d1fdd | 3,746 | rs | Rust | core/storage/src/chain/mempool/mod.rs | cyberliem/zksync | fe774e147a6cd20213fbd438c840c5ecf3e76258 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-09-14T07:08:56.000Z | 2020-09-14T07:08:56.000Z | core/storage/src/chain/mempool/mod.rs | cyberliem/zksync | fe774e147a6cd20213fbd438c840c5ecf3e76258 | [
"Apache-2.0",
"MIT"
] | null | null | null | core/storage/src/chain/mempool/mod.rs | cyberliem/zksync | fe774e147a6cd20213fbd438c840c5ecf3e76258 | [
"Apache-2.0",
"MIT"
] | null | null | null | // Built-in deps
use std::collections::VecDeque;
// External imports
use diesel::prelude::*;
// Workspace imports
use models::node::{tx::TxHash, SignedFranklinTx};
// Local imports
use self::records::{MempoolTx, NewMempoolTx};
use crate::{schema::*, StorageProcessor};
pub mod records;
/// Schema for TODO
#[derive(Deb... | 34.685185 | 91 | 0.581687 |
d1969331a316ddb16ccb14cd98b777ae1418e24e | 2,430 | lua | Lua | prototypes/betterlights.lua | krissi/PickerVehicles | 6e0243c458265017e89b5bdc523ea95249a768bd | [
"MIT"
] | null | null | null | prototypes/betterlights.lua | krissi/PickerVehicles | 6e0243c458265017e89b5bdc523ea95249a768bd | [
"MIT"
] | null | null | null | prototypes/betterlights.lua | krissi/PickerVehicles | 6e0243c458265017e89b5bdc523ea95249a768bd | [
"MIT"
] | null | null | null | if settings.startup['picker-better-lights-cars'].value then
for _, vehicle in pairs(data.raw['car']) do
vehicle.light = {
{
minimum_darkness = 0.1,
intensity = 0.2,
size = 30
},
{
type = 'oriented',
... | 30 | 92 | 0.349794 |
d2724241ef6c67ac8a10878e367394d67ec6222e | 1,984 | php | PHP | src/Entity/QuestionCategory.php | WildCodeSchool/ambassadeurs-de-createurs | e49420714fbff47efe5783430dcd486a1b33ad4b | [
"Unlicense"
] | null | null | null | src/Entity/QuestionCategory.php | WildCodeSchool/ambassadeurs-de-createurs | e49420714fbff47efe5783430dcd486a1b33ad4b | [
"Unlicense"
] | null | null | null | src/Entity/QuestionCategory.php | WildCodeSchool/ambassadeurs-de-createurs | e49420714fbff47efe5783430dcd486a1b33ad4b | [
"Unlicense"
] | null | null | null | <?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass="App\Repository\QuestionCategoryRepository")
*/
class QuestionCategory
{... | 22.292135 | 92 | 0.580141 |
969d76b71dbbe9e32e89379b4d735ae3129634cc | 40,416 | html | HTML | images/2020-01-10/https_www.stratford.gov.uk_planning-regeneration_brownfield-land-register.cfm.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | images/2020-01-10/https_www.stratford.gov.uk_planning-regeneration_brownfield-land-register.cfm.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | images/2020-01-10/https_www.stratford.gov.uk_planning-regeneration_brownfield-land-register.cfm.png.html | digital-land/brownfield-land-screenshots | 97de203a6bc91a9d915f21bbcdd741fe30705e45 | [
"MIT"
] | null | null | null | <!DOCTYPE html><html lang="en" prefix="fb: http://ogp.me/ns/fb#"><head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-2334822-1"... | 42.858961 | 765 | 0.579919 |
cba880dede7e690e1f6ada77cfc0ef3816f44147 | 1,462 | go | Go | scanner/licenses_scanner.go | tmaczukin/goliscan | ffd3a8305182d83baa66de5d8993f775b32dd4de | [
"MIT"
] | 1 | 2018-09-30T23:03:31.000Z | 2018-09-30T23:03:31.000Z | scanner/licenses_scanner.go | tmaczukin/goliscan | ffd3a8305182d83baa66de5d8993f775b32dd4de | [
"MIT"
] | null | null | null | scanner/licenses_scanner.go | tmaczukin/goliscan | ffd3a8305182d83baa66de5d8993f775b32dd4de | [
"MIT"
] | null | null | null | package scanner
import (
"os"
"path/filepath"
"strings"
"github.com/ryanuber/go-license"
)
type LicensesScanner struct{}
func (l *LicensesScanner) GetLicenses(root string) (licenses map[string]*license.License, err error) {
pkgScanner := NewPackagesScanner()
pkgNames, err := pkgScanner.GetPackages(root)
if ... | 20.305556 | 123 | 0.698358 |
a1c307059c3ee5993630eca3fb446c246ebdb584 | 4,555 | c | C | drivers/spi/kirkwood_spi.c | WA2301/uboot-2011.06 | 0afa645d678b19206669ef606884bce5e3332077 | [
"Intel",
"Unlicense"
] | 10 | 2015-02-28T21:05:37.000Z | 2021-09-16T04:57:27.000Z | drivers/spi/kirkwood_spi.c | WA2301/uboot-2011.06 | 0afa645d678b19206669ef606884bce5e3332077 | [
"Intel",
"Unlicense"
] | 1 | 2021-02-24T05:16:58.000Z | 2021-02-24T05:16:58.000Z | drivers/spi/kirkwood_spi.c | WA2301/uboot-2011.06 | 0afa645d678b19206669ef606884bce5e3332077 | [
"Intel",
"Unlicense"
] | 7 | 2020-09-08T15:14:34.000Z | 2021-06-24T18:03:49.000Z | /*
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*
* Derived from drivers/spi/mpc8xxx_spi.c
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* mo... | 24.489247 | 78 | 0.682108 |
60fea0782b8accea07651cc8276186e6e3257f1d | 452 | kt | Kotlin | app/src/main/java/uk/nhs/nhsx/sonar/android/app/registration/ActivationCodeProvider.kt | wardog1uk/COVID-19-app-Android-BETA | ebcb3221b89333d9f555592aebc934d06608d784 | [
"MIT"
] | 864 | 2020-05-07T17:48:19.000Z | 2021-02-10T23:46:34.000Z | app/src/main/java/uk/nhs/nhsx/sonar/android/app/registration/ActivationCodeProvider.kt | wardog1uk/COVID-19-app-Android-BETA | ebcb3221b89333d9f555592aebc934d06608d784 | [
"MIT"
] | 50 | 2020-05-07T18:55:17.000Z | 2020-06-26T12:19:41.000Z | app/src/main/java/uk/nhs/nhsx/sonar/android/app/registration/ActivationCodeProvider.kt | wardog1uk/COVID-19-app-Android-BETA | ebcb3221b89333d9f555592aebc934d06608d784 | [
"MIT"
] | 184 | 2020-05-07T17:48:24.000Z | 2021-03-15T05:47:47.000Z | /*
* Copyright © 2020 NHSX. All rights reserved.
*/
package uk.nhs.nhsx.sonar.android.app.registration
import android.content.Context
import uk.nhs.nhsx.sonar.android.app.util.SharedPreferenceStringProvider
import javax.inject.Inject
class ActivationCodeProvider @Inject constructor(context: Context) :
SharedPr... | 26.588235 | 72 | 0.756637 |
0acd874001e7ba384d314f53dc083023f4894f7e | 1,368 | asm | Assembly | programs/oeis/037/A037251.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/037/A037251.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/037/A037251.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A037251: a(n) = n^3*(n^3 + 1)*(n-1).
; 0,0,72,1512,12480,63000,234360,707952,1838592,4257360,9009000,17728920,32864832,57948072,97919640,159516000,251719680,386279712,578306952,846949320,1216152000,1715507640,2381201592,3257057232,4395686400,5859750000,7723333800,10073444472,13011630912,16655735880,21141783000,266260... | 105.230769 | 1,239 | 0.876462 |
4a66e1d4dcdfe84bc5f51787550ea4f3ba4c1128 | 4,492 | js | JavaScript | static/jscript/player/flowplayer/core.js | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | null | null | null | static/jscript/player/flowplayer/core.js | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | null | null | null | static/jscript/player/flowplayer/core.js | Elshara/PHPFox-Legacy | df0cbf2be0b807d17f3c9fca8cde0ed03492e563 | [
"MIT"
] | null | null | null |
$Core.player =
{
aParams: {},
supportsVideo: function(){
return !!document.createElement('video').canPlayType;
},
canPlayVideo: function(){
var bCanPlay = false;
if (this.supportsVideo()){
var v = document.createElement('video');
if (v.canPlayType('video... | 29.552632 | 204 | 0.512467 |
477bc1a4b7f52dc6519760bd86474df0cb4a7a6e | 19,286 | html | HTML | original_views/terms.html | sarriaroman/Coolpa | bdf3a287de29539f5d4e905475c7c603a3c613dd | [
"Apache-2.0"
] | 2 | 2016-10-16T15:04:48.000Z | 2017-03-21T15:23:51.000Z | original_views/terms.html | sarriaroman/Coolpa | bdf3a287de29539f5d4e905475c7c603a3c613dd | [
"Apache-2.0"
] | null | null | null | original_views/terms.html | sarriaroman/Coolpa | bdf3a287de29539f5d4e905475c7c603a3c613dd | [
"Apache-2.0"
] | null | null | null | <% include header.html %>
<section id="slider-wrapper">
<div class="flexslider">
<ul class="slides">
<li>
<% if( user == undefined ) { %>
<img src="/images/top-header.jpg" alt="" />
<% } else { %>
... | 160.716667 | 1,433 | 0.733641 |
07f205af7cfcd1928466f554bc025d226ccbdfdc | 5,338 | rs | Rust | readerwriter/src/reader.rs | zaimusho/slingshot-pipeline | 3aac9c7962ce6e07d2efbea788ed118a62eff947 | [
"Apache-2.0"
] | 351 | 2019-05-06T20:30:37.000Z | 2022-03-05T17:26:20.000Z | readerwriter/src/reader.rs | zaimusho/slingshot-pipeline | 3aac9c7962ce6e07d2efbea788ed118a62eff947 | [
"Apache-2.0"
] | 141 | 2019-02-07T19:46:07.000Z | 2019-04-29T18:38:32.000Z | readerwriter/src/reader.rs | zaimusho/slingshot-pipeline | 3aac9c7962ce6e07d2efbea788ed118a62eff947 | [
"Apache-2.0"
] | 59 | 2019-05-09T23:49:50.000Z | 2022-03-21T05:20:35.000Z | use std::error::Error;
use std::fmt::{Display, Formatter};
/// Error kinds returns by the reader.
#[derive(Debug)]
pub enum ReadError {
InsufficientBytes,
TrailingBytes,
InvalidFormat,
Custom(Box<dyn Error + Send + Sync>),
}
impl Display for ReadError {
fn fmt(&self, f: &mut Formatter<'_>) -> Resu... | 28.854054 | 92 | 0.53728 |
21fc29ab02254584911b0b477d2a49f5d34b735c | 569 | html | HTML | ietf/templates/doc/drafts_for_ad.html | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-11-20T03:40:56.000Z | 2021-11-20T03:40:59.000Z | ietf/templates/doc/drafts_for_ad.html | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ietf/templates/doc/drafts_for_ad.html | ekr/ietfdb | 8d936836b0b9ff31cda415b0a423e3f5b33ab695 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | {% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin staticfiles %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}Documents for {{ ad_name }}{% endblock %}
{% block content... | 28.45 | 95 | 0.652021 |
9bb158a1190b5261349012c4855a7b08bb6b2efb | 523 | js | JavaScript | xxc/app/utils/limit-time-promise.js | lizhongyi1992/xuanxuan | 1db9353bdef379ee986418739785a2cd6fa39b5f | [
"ZPL-1.1"
] | 1 | 2017-07-16T11:04:07.000Z | 2017-07-16T11:04:07.000Z | xxc/app/utils/limit-time-promise.js | CoffeeDi/xuanxuan | 1db9353bdef379ee986418739785a2cd6fa39b5f | [
"ZPL-1.1"
] | 2 | 2017-11-13T01:34:49.000Z | 2019-07-28T07:49:51.000Z | xxc/app/utils/limit-time-promise.js | CoffeeDi/xuanxuan | 1db9353bdef379ee986418739785a2cd6fa39b5f | [
"ZPL-1.1"
] | 4 | 2019-11-05T09:17:25.000Z | 2021-03-31T09:10:27.000Z | /**
* 创建一个限时 Promise,超过一定的时间,如果传入的 Promise 仍然未能执行成功则返回的 Promise 直接失败
*
* @param {Promise} promise 要执行的 Promise
* @param {number} [timeout=15000] 限时,单位毫秒
* @param {string|Error} timeoutError 超时出错信息
* @return {Promise} 返回一个新的 Promise
*/
export default (promise, timeout = 15000, timeoutError = 'TIMEOUT') => {
c... | 29.055556 | 72 | 0.650096 |
d2d370a4a8ed6410d36a51118725e1a8d066fd9f | 2,342 | php | PHP | config/assets.config.php | agerecompany/zfc-communicator | 80071a77bdb6d2bc83457cc94ef6ef3432c38ce2 | [
"MIT"
] | null | null | null | config/assets.config.php | agerecompany/zfc-communicator | 80071a77bdb6d2bc83457cc94ef6ef3432c38ce2 | [
"MIT"
] | null | null | null | config/assets.config.php | agerecompany/zfc-communicator | 80071a77bdb6d2bc83457cc94ef6ef3432c38ce2 | [
"MIT"
] | null | null | null | <?php
namespace Agere\Communicator;
return [
/*'default' => [
'assets' => [
//'@cartDefault_css',
'@scheduler_js',
'@scheduler_css',
],
'options' => [
'mixin' => true,
],
],*/
'controllers' => [
'communicator' => [
... | 34.955224 | 68 | 0.407344 |
1f89c02ce2edd79fe93f7058111ebec7bdc04be8 | 1,682 | css | CSS | style2.css | mohammadhessami/portfolie | d457fc9d7ad6ab5612ea4d82992789a7b328340b | [
"MIT"
] | null | null | null | style2.css | mohammadhessami/portfolie | d457fc9d7ad6ab5612ea4d82992789a7b328340b | [
"MIT"
] | null | null | null | style2.css | mohammadhessami/portfolie | d457fc9d7ad6ab5612ea4d82992789a7b328340b | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css?family=Montserrat|Playfair+Display+SC");
@import url("https://fonts.googleapis.com/css?family=Amatic+SC");
.main {
background-image: url(w.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
#font h1 {
color: #dd4b39;
fo... | 14.254237 | 86 | 0.636742 |
dde0fd8d453756154cf7ebb7976b53431b94c50c | 1,907 | php | PHP | app/Http/Controllers/Admin/CategoriesController.php | hoanglee217/laravel-shop-gundam | a00c837ac20b724e107521b6f8747ef87fd62eaf | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/CategoriesController.php | hoanglee217/laravel-shop-gundam | a00c837ac20b724e107521b6f8747ef87fd62eaf | [
"MIT"
] | null | null | null | app/Http/Controllers/Admin/CategoriesController.php | hoanglee217/laravel-shop-gundam | a00c837ac20b724e107521b6f8747ef87fd62eaf | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
class CategoriesController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
... | 30.269841 | 101 | 0.588359 |
f79a03550a14c92406c4fed92a98bef3da395d42 | 662 | asm | Assembly | granary/x86/init.asm | Granary/granary | f9ac2b6af0864f420b93917dc21a38041905b3aa | [
"BSD-3-Clause"
] | 37 | 2015-03-13T08:29:46.000Z | 2022-03-04T06:54:29.000Z | granary/x86/init.asm | Granary/granary | f9ac2b6af0864f420b93917dc21a38041905b3aa | [
"BSD-3-Clause"
] | null | null | null | granary/x86/init.asm | Granary/granary | f9ac2b6af0864f420b93917dc21a38041905b3aa | [
"BSD-3-Clause"
] | 3 | 2015-10-16T21:18:01.000Z | 2022-03-04T06:54:31.000Z | /* Copyright 2012-2013 Peter Goodman, all rights reserved. */
#include "granary/x86/asm_defines.asm"
#include "granary/x86/asm_helpers.asm"
#include "granary/pp.h"
#if CONFIG_ENV_KERNEL
START_FILE
DECLARE_FUNC(granary_run_initialisers)
GLOBAL_LABEL(granary_run_initialisers:)
.cfi_startproc
push %rbp;
mo... | 20.6875 | 78 | 0.728097 |
b8bf35ca7b6ea46f2242e4f84155d0467f04b305 | 2,316 | kt | Kotlin | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Box.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 230 | 2020-11-11T14:52:11.000Z | 2022-03-31T05:04:52.000Z | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Box.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 17 | 2021-03-02T00:00:32.000Z | 2022-03-02T16:01:03.000Z | font-awesome/src/commonMain/kotlin/compose/icons/fontawesomeicons/solid/Box.kt | ravitejasc/compose-icons | 09f752ef051b1c47e60554f3893bbed5ddd8bc1f | [
"MIT"
] | 18 | 2021-02-08T06:18:41.000Z | 2022-03-22T21:48:23.000Z | package compose.icons.fontawesomeicons.solid
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.... | 42.109091 | 93 | 0.587651 |
ca3a1edb565fdea79bb3b2b1cc44ed91435980f3 | 694 | sql | SQL | SqlScripts/PickUp.sql | wiredmartian/feedcity | c24a78dbcd8b5a6ef4c176a198c714a0f22b3154 | [
"MIT"
] | null | null | null | SqlScripts/PickUp.sql | wiredmartian/feedcity | c24a78dbcd8b5a6ef4c176a198c714a0f22b3154 | [
"MIT"
] | null | null | null | SqlScripts/PickUp.sql | wiredmartian/feedcity | c24a78dbcd8b5a6ef4c176a198c714a0f22b3154 | [
"MIT"
] | null | null | null | CREATE TABLE PickupRequests (
Id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
UserId INT(6) UNSIGNED,
AcceptedBy INT(6) UNSIGNED,
DropOffZoneId INT(6) UNSIGNED,
Location VARCHAR(255) NOT NULL,
Latitude VARCHAR(50) NOT NULL,
Longitude VARCHAR(50) NOT NULL,
ContactName VARCHAR(255) NOT NULL... | 38.555556 | 80 | 0.730548 |
0b76fafcb456f46600cad89fe0e69cc5863c133f | 799 | sql | SQL | medium/_02_xtests/cases/seq1.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 9 | 2016-03-24T09:51:52.000Z | 2022-03-23T10:49:47.000Z | medium/_02_xtests/cases/seq1.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 173 | 2016-04-13T01:16:54.000Z | 2022-03-16T07:50:58.000Z | medium/_02_xtests/cases/seq1.sql | Zhaojia2019/cubrid-testcases | 475a828e4d7cf74aaf2611fcf791a6028ddd107d | [
"BSD-3-Clause"
] | 38 | 2016-03-24T17:10:31.000Z | 2021-10-30T22:55:45.000Z | autocommit off;
create class foo (id int, sq sequence(int, string));
insert into foo values (-1, NULL);
insert into foo values (0, {});
insert into foo values (2, {1});
insert into foo values (3, {2});
insert into foo values (7, {0, 1});
insert into foo values (8, {0, 2});
insert into foo values (9, {1, 1});
insert int... | 34.73913 | 57 | 0.635795 |
84f595bd18372ca0d0e62eed3d6a7dc80dba192a | 3,474 | h | C | source/vxRenderAspectDX12/LightManager.h | DennisWandschura/vxEngine | 1396a65f7328aaed50dd34634c65cac561271b9e | [
"MIT"
] | 1 | 2015-11-29T11:38:04.000Z | 2015-11-29T11:38:04.000Z | source/vxRenderAspectDX12/LightManager.h | DennisWandschura/vxEngine | 1396a65f7328aaed50dd34634c65cac561271b9e | [
"MIT"
] | null | null | null | source/vxRenderAspectDX12/LightManager.h | DennisWandschura/vxEngine | 1396a65f7328aaed50dd34634c65cac561271b9e | [
"MIT"
] | null | null | null | #pragma once
/*
The MIT License (MIT)
Copyright (c) 2015 Dennis Wandschura
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, co... | 36.1875 | 215 | 0.818653 |
3fd6c185a0bbb9b6392ae7672df13290c860f26b | 854 | h | C | samples/Common/SampleFramework_Linux.h | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | null | null | null | samples/Common/SampleFramework_Linux.h | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | 1 | 2017-10-24T12:19:52.000Z | 2017-10-24T12:19:52.000Z | samples/Common/SampleFramework_Linux.h | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | null | null | null | #ifndef _SAMPLES_COMMON_SAMPLE_FRAMEWORK_LINUX_H_
#define _SAMPLES_COMMON_SAMPLE_FRAMEWORK_LINUX_H_
#include <string>
#include <X11/Xlib.h>
#include <GLSlayer/FixXlibMacros.h>
class ISample;
class SampleFramework
{
public:
SampleFramework(const wchar_t* name, int wndWidth, int wndHeight);
~SampleFramework();
in... | 20.829268 | 67 | 0.79274 |
f086a67ce99ae006dd44a658e09c39278e62732c | 542 | js | JavaScript | Fx/Dim.js | georgski/Dissertation | c11fc82b1d17564c641d042bda4f406b64c43296 | [
"CC-BY-3.0"
] | 1 | 2018-09-14T13:13:20.000Z | 2018-09-14T13:13:20.000Z | Fx/Dim.js | georgski/Dissertation | c11fc82b1d17564c641d042bda4f406b64c43296 | [
"CC-BY-3.0"
] | null | null | null | Fx/Dim.js | georgski/Dissertation | c11fc82b1d17564c641d042bda4f406b64c43296 | [
"CC-BY-3.0"
] | null | null | null | /*
A script fading out a scene
*/
public var dimmingTexture : Texture2D;
public var dimSpeed = 0.2;
private var transparency = 0.0;
function OnGUI(){
//calculate transparency of the image covering screen
transparency += dimSpeed * Time.deltaTime;
transparency = Mathf.Clamp01(transparency);
... | 21.68 | 77 | 0.678967 |
9c035bcf3882962e92beac96b7a75966cc050698 | 578 | js | JavaScript | src/events/guild/roleDelete.js | jesandand/Musicv13 | d1ee4c76ddea83dadf7fa92532ce6642d32d47dc | [
"MIT"
] | 36 | 2021-12-05T22:01:56.000Z | 2022-03-29T18:52:13.000Z | src/events/guild/roleDelete.js | jesandand/Musicv13 | d1ee4c76ddea83dadf7fa92532ce6642d32d47dc | [
"MIT"
] | 31 | 2021-12-10T07:24:08.000Z | 2022-03-29T07:25:33.000Z | src/events/guild/roleDelete.js | jesandand/Musicv13 | d1ee4c76ddea83dadf7fa92532ce6642d32d47dc | [
"MIT"
] | 12 | 2021-12-12T09:47:30.000Z | 2022-02-18T00:31:09.000Z | module.exports = class RoleDelete extends Event {
constructor() {
super({
name: "roleDelete",
once: false,
});
}
async exec(role) {
const data = await this.client.getGuild({ guildID: role.guild.id });
let isDJ = data.djRoles.find((r) => r === role.id);
if (isDJ) {
let index ... | 27.52381 | 128 | 0.574394 |
9639500fc026beeb2a42734be89392861549cc9e | 1,324 | php | PHP | src/Helpers/PdfHelper.php | pereterradas/laravel-general-helper | fcab61e7613ba51dd637cadc51ba6655e1cb11f2 | [
"MIT"
] | 1 | 2022-02-25T06:37:27.000Z | 2022-02-25T06:37:27.000Z | src/Helpers/PdfHelper.php | pereterradas/laravel-general-helper | fcab61e7613ba51dd637cadc51ba6655e1cb11f2 | [
"MIT"
] | 1 | 2022-03-16T11:29:27.000Z | 2022-03-16T11:33:19.000Z | src/Helpers/PdfHelper.php | pereterradas/laravel-general-helper | fcab61e7613ba51dd637cadc51ba6655e1cb11f2 | [
"MIT"
] | 1 | 2022-03-16T11:28:22.000Z | 2022-03-16T11:28:22.000Z | <?php
namespace Sefirosweb\LaravelGeneralHelper\Helpers;
use Exception;
use Sefirosweb\LaravelGeneralHelper\Http\Models\SavedFile;
use Illuminate\Support\Facades\Auth;
class PdfHelper
{
public function __construct()
{
$this->pdf = app('dompdf.wrapper');
$this->set_option("enable_php", true);
... | 23.22807 | 93 | 0.579305 |
928900ad978cd8a233b6deb960fdb41c04d1d237 | 29,451 | c | C | hihope_neptune-oh_hid/00_src/v0.1/device/winnermicro/neptune/sdk_liteos/src/bt/host/btif/src/btif_sdp_server.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | 1 | 2022-02-15T08:51:55.000Z | 2022-02-15T08:51:55.000Z | hihope_neptune-oh_hid/00_src/v0.3/device/winnermicro/neptune/sdk_liteos/src/bt/host/btif/src/btif_sdp_server.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | hihope_neptune-oh_hid/00_src/v0.3/device/winnermicro/neptune/sdk_liteos/src/bt/host/btif/src/btif_sdp_server.c | dawmlight/vendor_oh_fun | bc9fb50920f06cd4c27399f60076f5793043c77d | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Copyright (C) 2014 Samsung System LSI
*
* 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... | 35.784933 | 106 | 0.610132 |
d962977825ee10116e04472c9f626db19148b35d | 5,320 | rs | Rust | src/sync/hmac_key.rs | sech9446/cloud-storage-rs | 8a5e8a88c3dc9dbb8b48f392a5a8e8e2a4016f4c | [
"MIT"
] | null | null | null | src/sync/hmac_key.rs | sech9446/cloud-storage-rs | 8a5e8a88c3dc9dbb8b48f392a5a8e8e2a4016f4c | [
"MIT"
] | null | null | null | src/sync/hmac_key.rs | sech9446/cloud-storage-rs | 8a5e8a88c3dc9dbb8b48f392a5a8e8e2a4016f4c | [
"MIT"
] | null | null | null | use crate::hmac_key::{HmacKey, HmacMeta, HmacState};
/// Operations on [`HmacKey`](HmacKey)s.
#[derive(Debug)]
pub struct HmacKeyClient<'a>(pub(super) &'a super::Client);
impl<'a> HmacKeyClient<'a> {
/// Creates a new HMAC key for the specified service account.
///
/// The authenticated user must have `st... | 40.610687 | 100 | 0.603383 |
1c4a03754e4b359ee17dfea20d652bf76038fa2f | 10,921 | css | CSS | ca.ets.sofeess.specml.style/resources/theme_specml.css | afpaz/specml | 0d4510354f5753bcfef07aec0edcfbc71e221efa | [
"Apache-2.0"
] | null | null | null | ca.ets.sofeess.specml.style/resources/theme_specml.css | afpaz/specml | 0d4510354f5753bcfef07aec0edcfbc71e221efa | [
"Apache-2.0"
] | null | null | null | ca.ets.sofeess.specml.style/resources/theme_specml.css | afpaz/specml | 0d4510354f5753bcfef07aec0edcfbc71e221efa | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2016-2019 ÉTS
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 29.757493 | 132 | 0.553338 |
0a3d82395a8eb81860b4a9746317b0a8a2d00274 | 8,090 | kt | Kotlin | jetpack_compose/WhatsAppCompose/app/src/main/java/com/project/pradyotprakash/whatsappcompose/modules/status/viewModel/StatusViewModel.kt | pradyotprksh/development_learning | b6c5494196842f3c273965063815ad222a18b4da | [
"MIT"
] | 9 | 2021-09-03T06:20:48.000Z | 2022-03-19T12:43:30.000Z | jetpack_compose/WhatsAppCompose/app/src/main/java/com/project/pradyotprakash/whatsappcompose/modules/status/viewModel/StatusViewModel.kt | pradyotprksh/development_learning | b6c5494196842f3c273965063815ad222a18b4da | [
"MIT"
] | null | null | null | jetpack_compose/WhatsAppCompose/app/src/main/java/com/project/pradyotprakash/whatsappcompose/modules/status/viewModel/StatusViewModel.kt | pradyotprksh/development_learning | b6c5494196842f3c273965063815ad222a18b4da | [
"MIT"
] | 6 | 2021-08-16T01:13:36.000Z | 2022-03-19T12:44:10.000Z | /*
* MIT License
*
* Copyright (c) 2021 Pradyot Prakash
*
* 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, ... | 35.955556 | 96 | 0.6 |
7aa7ab1709bad54ae3b033ce712cb4504078a85a | 223 | swift | Swift | src/sqlite/SQLiteTableState.swift | siyuyue/dflat | d39e5299ee55590e08f524612f0402cc023dc47c | [
"BSD-3-Clause"
] | 264 | 2020-06-29T23:15:53.000Z | 2022-02-17T06:26:34.000Z | src/sqlite/SQLiteTableState.swift | siyuyue/dflat | d39e5299ee55590e08f524612f0402cc023dc47c | [
"BSD-3-Clause"
] | 2 | 2020-11-04T18:18:40.000Z | 2022-01-06T04:26:28.000Z | src/sqlite/SQLiteTableState.swift | siyuyue/dflat | d39e5299ee55590e08f524612f0402cc023dc47c | [
"BSD-3-Clause"
] | 7 | 2020-07-02T09:50:20.000Z | 2021-08-03T22:37:31.000Z | // This is state shared by one table. However, since we will have a pivotal table,
// this state can end up be manipulated with multiple tables.
final class SQLiteTableState {
var tableCreated = Set<ObjectIdentifier>()
}
| 37.166667 | 82 | 0.762332 |
f69515daa3e59fc4ebd920e11897ebe3a38a85ed | 270 | sql | SQL | resources/sql/autopatches/20190416.chart.01.storage.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 8,840 | 2015-01-02T03:04:43.000Z | 2022-03-29T05:24:18.000Z | resources/sql/autopatches/20190416.chart.01.storage.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 73 | 2015-01-06T11:05:32.000Z | 2021-12-02T17:50:10.000Z | resources/sql/autopatches/20190416.chart.01.storage.sql | Rob--W/phabricator | 8272f3f7fa92179931a2fc7ca33909492cfc644d | [
"Apache-2.0"
] | 1,335 | 2015-01-04T03:15:40.000Z | 2022-03-30T23:34:27.000Z | CREATE TABLE {$NAMESPACE}_fact.fact_chart (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
chartKey BINARY(12) NOT NULL,
chartParameters LONGTEXT NOT NULL COLLATE {$COLLATE_TEXT},
UNIQUE KEY `key_chart` (chartKey)
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
| 38.571429 | 60 | 0.77037 |
d27ff3f7511be9310aa7ccf33bf45cfea779cc07 | 6,548 | php | PHP | src/Urbem/CoreBundle/Repository/Imobiliario/ConstrucaoRepository.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/CoreBundle/Repository/Imobiliario/ConstrucaoRepository.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | null | null | null | src/Urbem/CoreBundle/Repository/Imobiliario/ConstrucaoRepository.php | evandojunior/urbem3.0 | ba8d54109e51e82b689d1881e582fb0bce4375e0 | [
"MIT"
] | 1 | 2020-01-29T20:35:57.000Z | 2020-01-29T20:35:57.000Z | <?php
namespace Urbem\CoreBundle\Repository\Imobiliario;
use Urbem\CoreBundle\Repository\AbstractRepository;
class ConstrucaoRepository extends AbstractRepository
{
/**
* @return int
*/
public function getNextVal()
{
return $this->nextVal("cod_construcao");
}
/**
* @param ... | 44.243243 | 183 | 0.349572 |
9bdd67f2903880a811cd365e9de59c4a2efadce5 | 2,947 | js | JavaScript | unpackage/dist/build/.tmp/app-plus/pages/ali/ali.js | simplett/lanzeapp | 4e0d460d33cba54473f8b57f44ce6dac4b37f9db | [
"Apache-2.0"
] | 2 | 2020-04-17T02:30:04.000Z | 2020-04-17T02:30:06.000Z | unpackage/dist/build/.tmp/app-plus/pages/ali/ali.js | simplett/lanzeapp | 4e0d460d33cba54473f8b57f44ce6dac4b37f9db | [
"Apache-2.0"
] | null | null | null | unpackage/dist/build/.tmp/app-plus/pages/ali/ali.js | simplett/lanzeapp | 4e0d460d33cba54473f8b57f44ce6dac4b37f9db | [
"Apache-2.0"
] | null | null | null | (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/ali/ali"],{3370:function(e,t,n){"use strict";n.r(t);var r=n("914f"),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);t["default"]=a.a},"6f81":function(e,t,n){"use strict";(function(e){n("590e"),n("921b");r(n("66fd")... | 2,947 | 2,947 | 0.677978 |
50af85a810f547586153e70eeb5fb15ae84812f4 | 798 | asm | Assembly | programs/oeis/205/A205185.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/205/A205185.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/205/A205185.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A205185: Period 6: repeat [1, 8, 9, 8, 1, 0].
; 1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,8,1,0,1,8,9,... | 28.5 | 501 | 0.492481 |
c0551a10f0c35cf946c92016f9031bd345f1fc79 | 779 | kt | Kotlin | src/main/kotlin/br/com/zup/felipe/gadelha/api/v1/dto/response/PixRs.kt | FelipeGadelha/orange-talents-06-template-pix-keymanager-rest | 437df16c595bf76af516c293d2de43f32cb68a06 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/br/com/zup/felipe/gadelha/api/v1/dto/response/PixRs.kt | FelipeGadelha/orange-talents-06-template-pix-keymanager-rest | 437df16c595bf76af516c293d2de43f32cb68a06 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/br/com/zup/felipe/gadelha/api/v1/dto/response/PixRs.kt | FelipeGadelha/orange-talents-06-template-pix-keymanager-rest | 437df16c595bf76af516c293d2de43f32cb68a06 | [
"Apache-2.0"
] | null | null | null | package br.com.zup.felipe.gadelha.api.v1.dto.response
import br.com.zup.felipe.gadelha.AccountType
import br.com.zup.felipe.gadelha.FindAllPixRs
import br.com.zup.felipe.gadelha.PixKeyType
import java.time.LocalDateTime
import java.time.ZoneOffset
data class PixRs(
val pixId: String,
val keyPix: String,
v... | 29.961538 | 107 | 0.682927 |
24fac679f3f48bdb86d7fd0b7ade637490a449e3 | 12,695 | go | Go | internal/reporter/msteams/reporter.go | jemueldalino/samsahai | 85c77c327d591b1b0ec4408cf62e09559b05aef6 | [
"Apache-2.0"
] | null | null | null | internal/reporter/msteams/reporter.go | jemueldalino/samsahai | 85c77c327d591b1b0ec4408cf62e09559b05aef6 | [
"Apache-2.0"
] | 101 | 2020-05-06T08:47:50.000Z | 2021-07-21T06:06:44.000Z | internal/reporter/msteams/reporter.go | jemueldalino/samsahai | 85c77c327d591b1b0ec4408cf62e09559b05aef6 | [
"Apache-2.0"
] | null | null | null | package msteams
import (
"strings"
s2hv1beta1 "github.com/agoda-com/samsahai/api/v1beta1"
"github.com/agoda-com/samsahai/internal"
s2herrors "github.com/agoda-com/samsahai/internal/errors"
s2hlog "github.com/agoda-com/samsahai/internal/log"
"github.com/agoda-com/samsahai/internal/util/msteams"
"github.com/agod... | 35.166205 | 189 | 0.728318 |
04d3788bd9b821a3ab86a2b6400b2d25e1ff8d39 | 471 | sql | SQL | SQL/AVDB/GENRE.sql | hanwhhanwh/avgrabber | cb0975011520becff7596b69b5345cdddf52c8fc | [
"MIT"
] | null | null | null | SQL/AVDB/GENRE.sql | hanwhhanwh/avgrabber | cb0975011520becff7596b69b5345cdddf52c8fc | [
"MIT"
] | null | null | null | SQL/AVDB/GENRE.sql | hanwhhanwh/avgrabber | cb0975011520becff7596b69b5345cdddf52c8fc | [
"MIT"
] | null | null | null | -- DROP TABLE IF EXISTS `GENRE`
CREATE TABLE `GENRE`
(
`genre_no` INT NOT NULL AUTO_INCREMENT COMMENT '장르 고유번호'
, `genre_name` VARCHAR(100) NOT NULL COMMENT '장르 한글 이름' COLLATE 'utf8_general_ci'
, `genre_descript` MEDIUMTEXT NULL COMMENT '장르에 대한 상세 설명' COLLATE 'utf8_general_ci'
, `reg_date` DATETIME NOT NULL DEF... | 31.4 | 84 | 0.740977 |
1ae7ef3c35c8d007d522d5bc924e209e0d3f42a8 | 394 | asm | Assembly | oeis/266/A266912.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/266/A266912.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/266/A266912.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A266912: Numbers n which are anagrams of n+18.
; Submitted by Jamie Morken(s1)
; 13,24,35,46,57,68,79,102,113,124,135,146,157,168,179,202,213,224,235,246,257,268,279,302,313,324,335,346,357,368,379,402,413,424,435,446,457,468,479,502,513,524,535,546,557,568,579,602,613,624,635,646,657
add $0,1
mov $1,$0
mul $0,2
div... | 24.625 | 206 | 0.685279 |
2a4d51ac3dcd350a634dcf21dfeabd2893b6d4a9 | 2,685 | java | Java | openjdk11/test/jdk/java/awt/Headless/HeadlessBorderLayout.java | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | 2 | 2018-06-19T05:43:32.000Z | 2018-06-23T10:04:56.000Z | openjdk11/test/jdk/java/awt/Headless/HeadlessBorderLayout.java | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | openjdk11/test/jdk/java/awt/Headless/HeadlessBorderLayout.java | iootclab/openjdk | b01fc962705eadfa96def6ecff46c44d522e0055 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 42.619048 | 82 | 0.705028 |
56b98c995c1716dacc855bb5827a3a8fb8af95b9 | 1,331 | ts | TypeScript | src/app/components/core/filter/filter-alert/filter-alert.component.ts | DDC-NDRS/fledge-iot_fledge-gui | 8aaf1593ded35d7ddb10c8d292c4778c0c418d44 | [
"Apache-2.0"
] | 11 | 2020-05-02T06:40:01.000Z | 2021-12-26T04:17:25.000Z | src/app/components/core/filter/filter-alert/filter-alert.component.ts | DDC-NDRS/fledge-iot_fledge-gui | 8aaf1593ded35d7ddb10c8d292c4778c0c418d44 | [
"Apache-2.0"
] | 105 | 2018-01-03T12:47:50.000Z | 2020-01-21T16:35:56.000Z | src/app/components/core/filter/filter-alert/filter-alert.component.ts | DDC-NDRS/fledge-iot_fledge-gui | 8aaf1593ded35d7ddb10c8d292c4778c0c418d44 | [
"Apache-2.0"
] | 6 | 2020-03-30T02:45:36.000Z | 2022-03-21T13:30:54.000Z | import { Component, EventEmitter, Input, OnChanges, OnInit, Output } from '@angular/core';
@Component({
selector: 'app-filter-alert',
templateUrl: './filter-alert.component.html',
styleUrls: ['./filter-alert.component.css']
})
export class FilterAlertComponent implements OnInit, OnChanges {
@Input() filerDialo... | 28.934783 | 124 | 0.66266 |
74b735fb2fdda99786a34ab356a912752454eee4 | 800 | js | JavaScript | test.js | grARM/arms-lib-eslint | 19a7097832d488a2dd8a11e8be6e7e95224d2315 | [
"MIT"
] | null | null | null | test.js | grARM/arms-lib-eslint | 19a7097832d488a2dd8a11e8be6e7e95224d2315 | [
"MIT"
] | null | null | null | test.js | grARM/arms-lib-eslint | 19a7097832d488a2dd8a11e8be6e7e95224d2315 | [
"MIT"
] | null | null | null | var qbLint = require('./tool.js');
var qbIndex = require('./index.js');
var qbNode = require('./node.js');
var testApiGetRules = function () {
var rules = qbLint.getRules();
console.log('rules: ', rules, ' -- rules len: ', Object.keys(rules).length);
};
var testApiGetConfig = function () {
var config = q... | 22.857143 | 89 | 0.64875 |
3b8b108e2d8b2f63c1fffe690e1f75cdfac67f3a | 4,833 | h | C | src/heap.h | LLNL/gecko | 490ab7d9b7b4e0f007e10d2af2b022b96d427fee | [
"BSD-3-Clause"
] | 11 | 2020-01-21T15:31:16.000Z | 2021-07-24T05:28:33.000Z | src/heap.h | LLNL/gecko | 490ab7d9b7b4e0f007e10d2af2b022b96d427fee | [
"BSD-3-Clause"
] | null | null | null | src/heap.h | LLNL/gecko | 490ab7d9b7b4e0f007e10d2af2b022b96d427fee | [
"BSD-3-Clause"
] | null | null | null | #ifndef DYNAMIC_HEAP_H
#define DYNAMIC_HEAP_H
#include <algorithm>
#include <functional>
#include <map>
#include <vector>
template <
typename T, // data type
typename P, // priority type
class C = std::less<P>, // comparator for priorities
... | 22.584112 | 76 | 0.607283 |
85d3cd80b6ce2f0d4aa048730fff1790a86a4633 | 5,748 | js | JavaScript | src/tunnel/udp/index.js | blackcoffeecat/ngc-tunnel | fe104928a48dcededaaf43b92e4aab4da2ea1553 | [
"MIT"
] | null | null | null | src/tunnel/udp/index.js | blackcoffeecat/ngc-tunnel | fe104928a48dcededaaf43b92e4aab4da2ea1553 | [
"MIT"
] | null | null | null | src/tunnel/udp/index.js | blackcoffeecat/ngc-tunnel | fe104928a48dcededaaf43b92e4aab4da2ea1553 | [
"MIT"
] | null | null | null | import dgram from 'dgram';
import {EventEmitter} from 'events';
import tcp from 'net';
import pLimit from 'p-limit';
import {v4 as uuid} from 'uuid';
import Queue from 'yocto-queue';
import {closeCon, forClose, hasProp, onExit} from '../common.js';
EventEmitter.setMaxListeners(0);
export function createUdpSender({
... | 23.654321 | 87 | 0.543145 |
d2b3666c4781a97ce025e5c85529b17b858a4b3b | 17,732 | php | PHP | themes/default/views/reports/product_dailyinout.php | Nak-CloudNET/iCloudERP_v3.5_Kim_Gam | fdc4dd5e165f15c7f09fe3a66dc011459209ca56 | [
"Apache-2.0"
] | null | null | null | themes/default/views/reports/product_dailyinout.php | Nak-CloudNET/iCloudERP_v3.5_Kim_Gam | fdc4dd5e165f15c7f09fe3a66dc011459209ca56 | [
"Apache-2.0"
] | null | null | null | themes/default/views/reports/product_dailyinout.php | Nak-CloudNET/iCloudERP_v3.5_Kim_Gam | fdc4dd5e165f15c7f09fe3a66dc011459209ca56 | [
"Apache-2.0"
] | null | null | null | <script type="text/javascript">
$(document).ready(function(){
$('body').on('click', '#excel', function(e) {
e.preventDefault();
var k = false;
$.each($("input[name='val[]']:checked"), function(){
k = true;
});
$('#form_action').val($('#excel').attr('data-action'));
$('#action-form-submi... | 38.885965 | 253 | 0.425953 |
d7cc5460f314a067cd31f82caea045aff046d3b9 | 244 | sql | SQL | examples/pm-app/prisma/migrations/20211207153717_/migration.sql | mattstobbs/remix | 86921285b078f52a9672107559b3dccbb8408c1d | [
"MIT"
] | 14,966 | 2021-11-22T15:33:24.000Z | 2022-03-31T23:43:47.000Z | examples/pm-app/prisma/migrations/20211207153717_/migration.sql | mattstobbs/remix | 86921285b078f52a9672107559b3dccbb8408c1d | [
"MIT"
] | 1,536 | 2021-11-22T15:47:43.000Z | 2022-03-31T23:38:39.000Z | examples/pm-app/prisma/migrations/20211207153717_/migration.sql | mattstobbs/remix | 86921285b078f52a9672107559b3dccbb8408c1d | [
"MIT"
] | 1,290 | 2021-11-22T15:38:13.000Z | 2022-03-31T12:38:56.000Z | -- DropForeignKey
ALTER TABLE "Todo" DROP CONSTRAINT "Todo_todoListId_fkey";
-- AddForeignKey
ALTER TABLE "Todo" ADD CONSTRAINT "Todo_todoListId_fkey" FOREIGN KEY ("todoListId") REFERENCES "TodoList"("id") ON DELETE CASCADE ON UPDATE CASCADE;
| 40.666667 | 148 | 0.786885 |
d18e553fe0cc476f9a1088587589556fc61c9397 | 11,151 | rs | Rust | mini_template_macro/src/create_modifier.rs | Julian-Alberts/mini_template_rs | 5638a13f6743ce80e0173dff9c933fd547bbd38d | [
"Apache-2.0",
"MIT"
] | null | null | null | mini_template_macro/src/create_modifier.rs | Julian-Alberts/mini_template_rs | 5638a13f6743ce80e0173dff9c933fd547bbd38d | [
"Apache-2.0",
"MIT"
] | null | null | null | mini_template_macro/src/create_modifier.rs | Julian-Alberts/mini_template_rs | 5638a13f6743ce80e0173dff9c933fd547bbd38d | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::collections::HashMap;
use proc_macro2::TokenStream;
use proc_macro_crate::{crate_name, FoundCrate};
use syn::spanned::Spanned;
///## With body
/// ```
/// use mini_template::value::Value;
/// use mini_template_derive::create_modifier;
///
/// #[create_modifier]
/// fn fizz_buzz(n: usize) -> String {
/// ... | 35.4 | 185 | 0.516904 |
dd997c459ebe8e138f52bbc826868381ea7312bd | 14,106 | php | PHP | application/views/front/listing/filter.php | web-dev11/varvadhu.net | 3e92ac7f8d126150bc4fb07ef3eb0c7c1ddee76c | [
"Apache-2.0"
] | null | null | null | application/views/front/listing/filter.php | web-dev11/varvadhu.net | 3e92ac7f8d126150bc4fb07ef3eb0c7c1ddee76c | [
"Apache-2.0"
] | null | null | null | application/views/front/listing/filter.php | web-dev11/varvadhu.net | 3e92ac7f8d126150bc4fb07ef3eb0c7c1ddee76c | [
"Apache-2.0"
] | null | null | null | <script src="<?=base_url()?>template/front/js/jquery.inputmask.bundle.min.js"></script>
<div class="col-lg-4 size-sm">
<div class="sidebar">
<div class="">
<div class="card">
<div class="card-title b-xs-bottom">
<h3 class="heading heading-sm text-uppercase"><?... | 67.817308 | 213 | 0.375656 |
5c80dbddb6bf42b84122ced30555cb600ddada89 | 157 | h | C | designer/editor/delegate/AreaCheckBoxDelegate.h | DarksKnight/nim_duilib_designer | 100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7 | [
"Apache-2.0"
] | null | null | null | designer/editor/delegate/AreaCheckBoxDelegate.h | DarksKnight/nim_duilib_designer | 100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7 | [
"Apache-2.0"
] | null | null | null | designer/editor/delegate/AreaCheckBoxDelegate.h | DarksKnight/nim_duilib_designer | 100a2a4e796d0b5c4a4d7a3e33bf9fce3758a5b7 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "AreaLabelDelegate.h"
class AreaCheckBoxDelegate : public AreaLabelDelegate
{
public:
AreaCheckBoxDelegate(ui::Control* control);
}; | 19.625 | 53 | 0.796178 |
0ef39f1c50c737ea9f64a99350afd219aae80aaa | 1,439 | ts | TypeScript | server/app/Controllers/Http/AttributesController.ts | steferson-augusto/rpg | 64da3afc41819b3a3a84e1823f2d90b9a624bb8c | [
"MIT"
] | null | null | null | server/app/Controllers/Http/AttributesController.ts | steferson-augusto/rpg | 64da3afc41819b3a3a84e1823f2d90b9a624bb8c | [
"MIT"
] | null | null | null | server/app/Controllers/Http/AttributesController.ts | steferson-augusto/rpg | 64da3afc41819b3a3a84e1823f2d90b9a624bb8c | [
"MIT"
] | null | null | null | import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
import Attribute from 'App/Models/Attribute'
import { schema as Schema } from '@ioc:Adonis/Core/Validator'
import dices from 'App/Helpers/dices'
const schema = Schema.create({ dices: Schema.enumSet(dices) })
export default class AttributesController {... | 32.704545 | 86 | 0.647672 |
b26c6896c81ce8a3ae77a12aa9e867e3de2f6b0a | 620 | sql | SQL | services/headless-lms/migrations/20210723110245_add_public_spec_endpoint_path_and_comments_to_service_info.up.sql | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | 6 | 2021-09-23T05:28:58.000Z | 2022-03-11T09:25:05.000Z | services/headless-lms/migrations/20210723110245_add_public_spec_endpoint_path_and_comments_to_service_info.up.sql | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | 232 | 2021-07-09T07:13:31.000Z | 2022-03-31T13:35:09.000Z | services/headless-lms/migrations/20210723110245_add_public_spec_endpoint_path_and_comments_to_service_info.up.sql | rage/secret-project-331 | 3c78c02f2f1d2e4539522e73c3065ae8866604e3 | [
"Apache-2.0"
] | null | null | null | -- Add up migration script here
ALTER TABLE exercise_service_info
ADD COLUMN public_spec_endpoint_path VARCHAR(255);
UPDATE exercise_service_info
SET public_spec_endpoint_path = ''
WHERE public_spec_endpoint_path IS NULL;
ALTER TABLE exercise_service_info
ALTER COLUMN public_spec_endpoint_path
SET NOT NULL;
COMMENT ON ... | 51.666667 | 179 | 0.853226 |
a1edaca4046d85598ee454c39bf791f049a68a2d | 1,142 | h | C | project/race3d/src/Menus/MenuAbout.h | maximbilan/cpp_marmalade_sdk_the_pursuit_3d | b0e42bae7ba5c47c5bf2f9db22d973f3319cdb06 | [
"MIT"
] | 5 | 2015-01-05T17:03:00.000Z | 2016-04-07T07:43:32.000Z | project/race3d/src/Menus/MenuAbout.h | maximbilan/cpp_marmalade_sdk_the_pursuit_3d | b0e42bae7ba5c47c5bf2f9db22d973f3319cdb06 | [
"MIT"
] | null | null | null | project/race3d/src/Menus/MenuAbout.h | maximbilan/cpp_marmalade_sdk_the_pursuit_3d | b0e42bae7ba5c47c5bf2f9db22d973f3319cdb06 | [
"MIT"
] | null | null | null | #ifndef _MENUABOUT_H_
#define _MENUABOUT_H_
#include "IwGxFont.h"
#include "MenuElement.h"
class FontManager;
class TouchManager;
class SmoothScroll;
//-----------------------------------------------------------------------------------
// Menu About - constains information about authors and game
//-----------------... | 20.763636 | 85 | 0.623468 |
76e1f46d03411247c4fb8574987bf9d1bf48849d | 4,384 | h | C | alljoyn/alljoyn_core/router/packetengine/PacketEngineStream.h | WigWagCo/alljoyn | 1b148edd934882ca32fd319af86a5a927f9d35a7 | [
"0BSD"
] | null | null | null | alljoyn/alljoyn_core/router/packetengine/PacketEngineStream.h | WigWagCo/alljoyn | 1b148edd934882ca32fd319af86a5a927f9d35a7 | [
"0BSD"
] | null | null | null | alljoyn/alljoyn_core/router/packetengine/PacketEngineStream.h | WigWagCo/alljoyn | 1b148edd934882ca32fd319af86a5a927f9d35a7 | [
"0BSD"
] | null | null | null | /**
* @file
* PacketEngineStream is an implemenation of qcc::Stream used by PacketEngine.
*/
/******************************************************************************
* Copyright (c) 2011-2012, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software fo... | 34.793651 | 116 | 0.652828 |
122bfc262e277cf8017275def2525ec0edbaf062 | 1,800 | c | C | src/codec/codec_gtk.c | turenar/progbasictrain-report1 | 73ab33e14eb9bb1bd1716ef22716d9e2d35b08c6 | [
"MIT"
] | null | null | null | src/codec/codec_gtk.c | turenar/progbasictrain-report1 | 73ab33e14eb9bb1bd1716ef22716d9e2d35b08c6 | [
"MIT"
] | null | null | null | src/codec/codec_gtk.c | turenar/progbasictrain-report1 | 73ab33e14eb9bb1bd1716ef22716d9e2d35b08c6 | [
"MIT"
] | null | null | null | #include "config.inc.h"
#ifdef USE_GTK
#include "codecs.h"
#include <stdlib.h>
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <pbm.h>
#include "logger.h"
/**
* g_freeするだけの関数
* @param pixels データ
* @param unused 未使用
*/
static void free_pixels(guchar* pixels, gpointer unused);
pbm_error_t pbmcode... | 27.272727 | 113 | 0.693889 |
b056c09b7f20d51e66280f902804ba086128b663 | 646 | a51 | Assembly | a51test/(A2)MOV_C_bit.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | a51test/(A2)MOV_C_bit.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | a51test/(A2)MOV_C_bit.a51 | Aimini/51cpu | cdeb75510d1dcd867fbebe10e963c4dbecd5ff13 | [
"MIT"
] | null | null | null | MOV 0x20,#0x01
MOV 0x24,#0x02
MOV 0x2A,#0x04
MOV 0x2F,#0x08
MOV 0x80,#0x10
MOV 0x88,#0x20
MOV 0xA8,#0x40
MOV 0xF0,#0x80
DB 0xA5
;;;;;;;;;;;;;;;;;;;1
MOV 0xD0,#0
MOV C,0x20.0 ;1
MOV 0xD0,#0
MOV C,0x24.1 ;1
MOV 0xD0,#0
MOV C,0x2A.2 ;1
MOV 0xD0,#0
MOV C,0x2F.3 ;1
MOV 0xD0,#0
MOV C,0x80.4 ;1
MOV 0xD0,#0
MOV C,0x88.5 ... | 11.137931 | 20 | 0.619195 |
c0b0df5e6eacb778dee650fd7f052d2dfc42ef97 | 13,823 | sql | SQL | Is-201/SQL/Mandatory4, Vigilantes.sql | bragex/the-vigilantes | cef95795cb02e7ffea5fbb77134b06234ebe0e7f | [
"MIT"
] | 1 | 2017-08-30T08:27:26.000Z | 2017-08-30T08:27:26.000Z | Is-201/SQL/Mandatory4, Vigilantes.sql | bragex/the-vigilantes | cef95795cb02e7ffea5fbb77134b06234ebe0e7f | [
"MIT"
] | 1 | 2017-10-04T12:20:31.000Z | 2017-10-04T12:20:31.000Z | Is-201/SQL/Mandatory4, Vigilantes.sql | bragex/the-vigilantes | cef95795cb02e7ffea5fbb77134b06234ebe0e7f | [
"MIT"
] | 2 | 2017-10-04T10:46:09.000Z | 2019-04-05T08:58:59.000Z | drop database man4;
create database man4;
use man4;
/* Creates a table for users. */
create table `user` (
user_id varchar(5) primary key,
user_name varchar(40),
user_email varchar(30),
user_number int(12)
);
insert into `user` (user_id, user_name, user_email, user_number)
values ('us001', 'Morten', 'Mo... | 37.5625 | 113 | 0.6746 |
d0ed44f47f526daa365e91212460df319bd0f41b | 820 | asm | Assembly | oeis/142/A142828.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142828.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142828.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142828: Primes congruent to 30 mod 61.
; Submitted by Jon Maiga
; 457,701,823,1433,2287,2531,2897,3019,4483,5581,6679,7411,8387,8753,9241,9851,9973,10949,11071,11437,11681,12413,13267,13633,13877,13999,14243,14731,16073,16561,16927,17293,17659,17903,18269,18757,19001,19489,21319,21563,21929,22051,22783,23027,24247,2... | 35.652174 | 497 | 0.731707 |
9c4c5cfde77550de3c72209f72ee5dd795ccf5f3 | 1,239 | js | JavaScript | tests/pages/Login.spec.js | DiegoVictor/tindev-app | d69e3249117a12125227d12ccc430d747dbbe1ae | [
"MIT"
] | null | null | null | tests/pages/Login.spec.js | DiegoVictor/tindev-app | d69e3249117a12125227d12ccc430d747dbbe1ae | [
"MIT"
] | null | null | null | tests/pages/Login.spec.js | DiegoVictor/tindev-app | d69e3249117a12125227d12ccc430d747dbbe1ae | [
"MIT"
] | null | null | null | import React from 'react';
import { render, fireEvent, act } from '@testing-library/react-native';
import AsyncStorage from '@react-native-community/async-storage';
import faker from 'faker';
import MockAdapter from 'axios-mock-adapter';
import api from '~/services/api';
import Login from '~/pages/Login';
import { Use... | 26.934783 | 79 | 0.632768 |
189d39b549542bab9b583804d53bb8cb0aa0e344 | 4,071 | rb | Ruby | lib/synced_memory_store/subscriber.rb | shiftcommerce/synced_memory_store | 1fe627d8a785a801618da01275d3c142204d8dd8 | [
"MIT"
] | null | null | null | lib/synced_memory_store/subscriber.rb | shiftcommerce/synced_memory_store | 1fe627d8a785a801618da01275d3c142204d8dd8 | [
"MIT"
] | null | null | null | lib/synced_memory_store/subscriber.rb | shiftcommerce/synced_memory_store | 1fe627d8a785a801618da01275d3c142204d8dd8 | [
"MIT"
] | null | null | null | require 'redis'
require 'thread'
module SyncedMemoryStore
class Subscriber
include Singleton
def initialize
self.mutex = Mutex.new
self.subscriptions = []
self.subscribed = false
end
def subscribe(cache_instance)
subscriptions << cache_instance unless subscriptions.include?(c... | 28.87234 | 151 | 0.644805 |
219b1b4efe38a2547a3373927bcdf217c3b20946 | 184 | rs | Rust | cmd/starcoin/src/chain/verify/mod.rs | fengzeyan/starcoin | 6518ed5f16cf3c6111e0c2523a7f774f88658061 | [
"Apache-2.0"
] | 1 | 2021-04-23T05:49:08.000Z | 2021-04-23T05:49:08.000Z | cmd/starcoin/src/chain/verify/mod.rs | fengzeyan/starcoin | 6518ed5f16cf3c6111e0c2523a7f774f88658061 | [
"Apache-2.0"
] | null | null | null | cmd/starcoin/src/chain/verify/mod.rs | fengzeyan/starcoin | 6518ed5f16cf3c6111e0c2523a7f774f88658061 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) The Starcoin Core Contributors
// SPDX-License-Identifier: Apache-2.0
mod block;
mod epoch_info;
mod node;
pub use block::*;
pub use epoch_info::*;
pub use node::*;
| 16.727273 | 47 | 0.711957 |
d9c937099c8564a53802618996cced9e0f6e302c | 200 | sql | SQL | Create_table.sql | UltimateSheep/Express-app | 8e0ae81850547cbaffdbd9fec73d6d788702e560 | [
"MIT"
] | null | null | null | Create_table.sql | UltimateSheep/Express-app | 8e0ae81850547cbaffdbd9fec73d6d788702e560 | [
"MIT"
] | null | null | null | Create_table.sql | UltimateSheep/Express-app | 8e0ae81850547cbaffdbd9fec73d6d788702e560 | [
"MIT"
] | null | null | null | CREATE TABLE A_IMAGE (
id serial not null primary key,
name VARCHAR(255) NOT NULL,
image VARCHAR(199) NOT NULL,
date TIMESTAMP NOT NULL,
data bytea NOT NULL
) -- DROP TABLE A_IMAGE | 28.571429 | 35 | 0.69 |
a6fe69123cc7984389de20b30f5ccf1a27c101c8 | 574 | asm | Assembly | PRG/levels/Desert/W2HBA.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Desert/W2HBA.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Desert/W2HBA.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | ; Original address was $B1F6
; World 2 Boomerang/Fire Bro
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_180
.byte LEVEL2_BGPAL_01 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_LOCKED
.byte LEVEL4_BGBANK_INDEX(9) | L... | 41 | 85 | 0.681185 |