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
991f74f183e79eb3636cd7fadda1a69e08a7ab01
618
h
C
engine/GameObject.h
LHolmberg/L3D
6020222700f3ee70cfbf02601bd93bfd59a8fb34
[ "MIT" ]
null
null
null
engine/GameObject.h
LHolmberg/L3D
6020222700f3ee70cfbf02601bd93bfd59a8fb34
[ "MIT" ]
null
null
null
engine/GameObject.h
LHolmberg/L3D
6020222700f3ee70cfbf02601bd93bfd59a8fb34
[ "MIT" ]
null
null
null
#pragma once #include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <string> #include <sstream> #include "Player.h" #include "Random.h" #include "math.h" #include "GLpch.h" #include "external/SOIL/stb_image_aug.h" #include <soil.h> class GameObject { public: void Startup(); ...
17.657143
69
0.731392
60da9165d4cf738c619a46bd8bb420a78ac3635e
1,462
swift
Swift
ChatApp/ChatApp/components/Components/MessageBubble.swift
emilhotkowski/chat-app
808840d35acd0dbe0a23fe1cc6618ad60bbd8146
[ "MIT" ]
null
null
null
ChatApp/ChatApp/components/Components/MessageBubble.swift
emilhotkowski/chat-app
808840d35acd0dbe0a23fe1cc6618ad60bbd8146
[ "MIT" ]
null
null
null
ChatApp/ChatApp/components/Components/MessageBubble.swift
emilhotkowski/chat-app
808840d35acd0dbe0a23fe1cc6618ad60bbd8146
[ "MIT" ]
null
null
null
// // MessageBubble.swift // ChatApp // // Created by Emil Hotkowski on 17/03/2022. // import SwiftUI struct MessageBubble: View { let message: Message @State private var showTime = false var body: some View { VStack(alignment: message.received ? .leading : .trailing) { HStack ...
29.836735
87
0.53762
e771d16713a8cefc925b8bd536cbec450ee024a2
2,320
js
JavaScript
client/src/components/AreasTable/AreasRow/AreasRow.js
cross-development/full-stack-app
fde0d749d39d71bc85bb6cc6f4af1b3d2006bda5
[ "MIT" ]
null
null
null
client/src/components/AreasTable/AreasRow/AreasRow.js
cross-development/full-stack-app
fde0d749d39d71bc85bb6cc6f4af1b3d2006bda5
[ "MIT" ]
null
null
null
client/src/components/AreasTable/AreasRow/AreasRow.js
cross-development/full-stack-app
fde0d749d39d71bc85bb6cc6f4af1b3d2006bda5
[ "MIT" ]
null
null
null
//Core import React from 'react'; import PropTypes from 'prop-types'; //Styles import { StyledTableBodyRow, StyledTableBodyCell } from './AreasRow.styles'; const AreasRow = ({ area, idx }) => ( <StyledTableBodyRow> <StyledTableBodyCell>{idx + 1}</StyledTableBodyCell> <StyledTableBodyCell>{area.legalEntity}</Style...
38.666667
76
0.799569
352a9c30913a3efe1212ae0f4756a65c44b1cd04
55
asm
Assembly
test/movntq.asm
cryptoptusenix/assemblyline
fd4908f9eee237cbeebc2e17d2bdec1c7928a187
[ "Apache-2.0" ]
null
null
null
test/movntq.asm
cryptoptusenix/assemblyline
fd4908f9eee237cbeebc2e17d2bdec1c7928a187
[ "Apache-2.0" ]
9
2021-09-15T18:04:36.000Z
2021-09-28T01:22:15.000Z
test/movntq.asm
daviduwu9/AssemblyLine
ecabc96e254be5a1e02654258ba4a60ea708397a
[ "Apache-2.0" ]
null
null
null
SECTION .text GLOBAL test test: movntq [rax+0x5b], mm5
11
22
0.745455
851001338b1b517292f69818e5295f51c89e4407
233
swift
Swift
Tests/GampKitTests/Mocks/MockRequest.swift
brightdigit/GampK
723593dbf5bc666ca0f9936927d0b4b225031ca0
[ "MIT" ]
2
2020-06-25T12:00:54.000Z
2021-02-19T07:31:03.000Z
Tests/GampKitTests/Mocks/MockRequest.swift
brightdigit/GampK
723593dbf5bc666ca0f9936927d0b4b225031ca0
[ "MIT" ]
12
2020-03-10T17:44:58.000Z
2021-11-30T14:54:30.000Z
Tests/GampKitTests/Mocks/MockRequest.swift
brightdigit/GampKit
723593dbf5bc666ca0f9936927d0b4b225031ca0
[ "MIT" ]
null
null
null
import Foundation import GampKit class MockRequest: Request { var body: Data? var sent = false var actualError: Error? init(body: Data?, actualError: Error?) { self.body = body self.actualError = actualError } }
15.533333
42
0.686695
df57c79804f2819fb37bfdca5b174dfca5bef462
455
rb
Ruby
spec/support/models.rb
jpawlyn/similar_models
7ffc4c79007f4b1ee0df99331593ca44a3cc360d
[ "MIT" ]
null
null
null
spec/support/models.rb
jpawlyn/similar_models
7ffc4c79007f4b1ee0df99331593ca44a3cc360d
[ "MIT" ]
null
null
null
spec/support/models.rb
jpawlyn/similar_models
7ffc4c79007f4b1ee0df99331593ca44a3cc360d
[ "MIT" ]
null
null
null
class Post < ActiveRecord::Base has_many :author_posts has_many :authors, through: :author_posts has_and_belongs_to_many :tags has_similar_models :authors has_similar_models :tags, as: :similar_posts_by_tag has_similar_models :authors, :tags, as: :similar_posts_by_author_and_tag end class Tag < ActiveReco...
21.666667
74
0.793407
7888c72dfdd6de9816e94a7c04eb042f8e8c8d63
6,304
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_848.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_848.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_848.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x5f78, %rsi lea addresses_A_ht+0x11988, %rdi nop cmp $34566, %r10 mov $51, %rcx rep movsb nop nop nop nop and $29351, %rdx lea addresses_D_ht+0x9374, %rcx nop nop nop add %rbp, %rbp mov...
42.308725
2,999
0.657043
79a641d7b8d72677cdb1bfd372883f06c4c2c54b
327
lua
Lua
utils/main_caffe_convert.lua
erfannoury/fast-rcnn-torch
c81ad15ad9e3dcb2869dc2f90ebee19bffd5c1ec
[ "MIT" ]
null
null
null
utils/main_caffe_convert.lua
erfannoury/fast-rcnn-torch
c81ad15ad9e3dcb2869dc2f90ebee19bffd5c1ec
[ "MIT" ]
null
null
null
utils/main_caffe_convert.lua
erfannoury/fast-rcnn-torch
c81ad15ad9e3dcb2869dc2f90ebee19bffd5c1ec
[ "MIT" ]
null
null
null
require('nn') require('cudnn') require('inn') require('detection') caffeConverter = detection.CaffeModelConverter('./models/VGG16/VGG16_imgnet.lua','/mnt/mag5tb/data/detection/data/imagenet_models/VGG16.prototxt','/mnt/mag5tb/data/detection/data/imagenet_models/VGG16.v2.caffemodel','VGG16.v2','./') caffeConverter:conv...
36.333333
232
0.779817
99214f57ca75f5fd0f932df061e8cf5ace4763a7
2,209
h
C
lib/include/xnetwork/algorithms/community/tests/test_kclique.h
luk036/xnetwork
462c25da3aead6b834e6027f4d679dc47965b134
[ "MIT" ]
1
2020-03-31T06:10:58.000Z
2020-03-31T06:10:58.000Z
lib/include/xnetwork/algorithms/community/tests/test_kclique.h
luk036/xnetwork
462c25da3aead6b834e6027f4d679dc47965b134
[ "MIT" ]
null
null
null
lib/include/xnetwork/algorithms/community/tests/test_kclique.h
luk036/xnetwork
462c25da3aead6b834e6027f4d679dc47965b134
[ "MIT" ]
1
2020-04-08T05:56:26.000Z
2020-04-08T05:56:26.000Z
from itertools import combinations from nose.tools import assert_equal from nose.tools import raises #include <xnetwork.hpp> // as xn from xnetwork.algorithms.community import k_clique_communities auto test_overlapping_K5() { G = xn::Graph(); G.add_edges_from(combinations(range(5), 2)); // Add a five cliqu...
32.970149
80
0.617474
fd524e33a7130d932da525ee7063745d405862df
4,694
swift
Swift
ABLEManager/Sources/Models/PeripheralDevice.swift
ABLEsrls/A-BLEManager
d9d8ea9a70117cb9f5adc669cab334d08bf9fd51
[ "MIT" ]
2
2019-05-14T18:24:31.000Z
2019-07-23T11:23:24.000Z
ABLEManager/Sources/Models/PeripheralDevice.swift
ABLEsrls/ABLEManager
d9d8ea9a70117cb9f5adc669cab334d08bf9fd51
[ "MIT" ]
null
null
null
ABLEManager/Sources/Models/PeripheralDevice.swift
ABLEsrls/ABLEManager
d9d8ea9a70117cb9f5adc669cab334d08bf9fd51
[ "MIT" ]
1
2020-11-11T03:33:10.000Z
2020-11-11T03:33:10.000Z
// // PeripheralDevice.swift // ABLEManager // // Created by Riccardo Paolillo on 02/01/2019. // Copyright © 2019 ABLE. All rights reserved. // import CoreBluetooth import Foundation open class PeripheralDevice: Equatable, Comparable, Hashable, CustomStringConvertible, CustomDebugStringConvertible { public v...
29.522013
117
0.544738
227652bf6f0be1861a3bfd8942feca69dd97172b
4,877
html
HTML
pipermail/antlr-interest/2003-May/003984.html
hpcc-systems/website-antlr3
aa6181595356409f8dc624e54715f56bd10707a8
[ "BSD-3-Clause" ]
null
null
null
pipermail/antlr-interest/2003-May/003984.html
hpcc-systems/website-antlr3
aa6181595356409f8dc624e54715f56bd10707a8
[ "BSD-3-Clause" ]
null
null
null
pipermail/antlr-interest/2003-May/003984.html
hpcc-systems/website-antlr3
aa6181595356409f8dc624e54715f56bd10707a8
[ "BSD-3-Clause" ]
null
null
null
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE> [antlr-interest] Re: antlr vs. sableCC comparison </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:antlr-interest%40antlr.org?Subject=%5Bantlr-interest%5D%20Re%3A%20antlr%20vs.%20sableCC%20comparison&In-Repl...
40.305785
229
0.650195
604d9ab423ebfd7e83846b187a7e5e3e19e13861
315
html
HTML
templates/login.html
geoffreyvd/Offerte
3963ceea424b30bec8d05adba63e5c05a348aa82
[ "FSFAP" ]
4
2018-12-05T20:09:39.000Z
2022-01-23T17:03:36.000Z
templates/login.html
geoffreyvd/Offerte
3963ceea424b30bec8d05adba63e5c05a348aa82
[ "FSFAP" ]
null
null
null
templates/login.html
geoffreyvd/Offerte
3963ceea424b30bec8d05adba63e5c05a348aa82
[ "FSFAP" ]
null
null
null
<form class="form-signin"> <h2 class="form-signin-heading">Voer wachtwoord in</h2> <br> <input type="password" ng-model="paswoord" class="form-control" placeholder="Wachtwoord"> <br> <button class="btn btn-primary btn-block" ng-click="checkPass(paswoord);" type="submit">Log in</button> </form>
45
108
0.68254
9c6900155ed24f8fe529649efec319023432f5c4
715,938
js
JavaScript
lib/schemas.js
toptal/structured-data-testing-tool
0610ba0d42c5b90a26baa8daf8b24191ebbd4531
[ "0BSD" ]
null
null
null
lib/schemas.js
toptal/structured-data-testing-tool
0610ba0d42c5b90a26baa8daf8b24191ebbd4531
[ "0BSD" ]
1
2022-01-22T23:25:04.000Z
2022-01-22T23:25:04.000Z
lib/schemas.js
toptal/structured-data-testing-tool
0610ba0d42c5b90a26baa8daf8b24191ebbd4531
[ "0BSD" ]
1
2022-02-10T19:00:27.000Z
2022-02-10T19:00:27.000Z
const text = `{\n "Thing": {\n "name": "Thing",\n "description": "The most generic type of item.",\n "depth": 0\n },\n "Action": {\n "name": "Action",\n "description": "An action performed by a direct agent and indirect participants upon a direct object...",\n "depth": 1,\n "subClassOf...
98.913788
2,238
0.697491
f3355420de3fd111a212fcaa583911c00ac7b397
6,917
asm
Assembly
cpm2/RomWBW/Tools/simh/Z80Project/Z80 8bit CF Card Part 1/Code/CONIO.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
cpm2/RomWBW/Tools/simh/Z80Project/Z80 8bit CF Card Part 1/Code/CONIO.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
cpm2/RomWBW/Tools/simh/Z80Project/Z80 8bit CF Card Part 1/Code/CONIO.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
;*************************************************************************** ; PROGRAM: CONIO ; PURPOSE: Subroutines for console I/O ; ASSEMBLER: TASM 3.2 ; LICENCE: The MIT Licence ; AUTHOR : MCook ; CREATE DATE : 19 May 15 ;****************************************************************...
38.642458
100
0.366199
044261a12fb8b7c453cf45622433801f0ca0c1bd
695
swift
Swift
Sources/NativeMarkKit/style/Length.swift
bguidolim/NativeMarkKit
4849e7ab565ea87b7c62581bad51849b4d6c109d
[ "MIT" ]
34
2020-08-29T21:59:25.000Z
2022-01-30T07:35:18.000Z
Sources/NativeMarkKit/style/Length.swift
bguidolim/NativeMarkKit
4849e7ab565ea87b7c62581bad51849b4d6c109d
[ "MIT" ]
6
2021-01-01T22:49:52.000Z
2022-03-02T16:05:46.000Z
Sources/NativeMarkKit/style/Length.swift
bguidolim/NativeMarkKit
4849e7ab565ea87b7c62581bad51849b4d6c109d
[ "MIT" ]
3
2021-06-15T10:29:34.000Z
2021-09-30T12:41:37.000Z
import Foundation #if canImport(AppKit) import AppKit #elseif canImport(UIKit) import UIKit #else #error("Unsupported platform") #endif public enum Length: Equatable { case em(Em) case points(Points) public static prefix func -(rhs: Length) -> Length { switch rhs { case let .em(em): ...
20.441176
56
0.584173
3caa3b6f3911da23651c42aefbb7ed79e3df72d5
1,128
rs
Rust
rust/hello_macro.rs
esjeon/graveyard
50403303ed8b7a9193c16f3481a9a4c06dd588f5
[ "MIT" ]
3
2015-02-22T10:41:53.000Z
2021-09-10T13:52:23.000Z
rust/hello_macro.rs
esjeon/graveyard
50403303ed8b7a9193c16f3481a9a4c06dd588f5
[ "MIT" ]
null
null
null
rust/hello_macro.rs
esjeon/graveyard
50403303ed8b7a9193c16f3481a9a4c06dd588f5
[ "MIT" ]
null
null
null
use std::ops::{Add, Mul, Sub}; use std::vec::Vec; macro_rules! assert_equal_len { // The `tt` (token tree) designator is used for // operators and tokens. ($a:ident, $b: ident, $func:ident, $op:tt) => ( assert!($a.len() == $b.len(), "{:?}: dimension mismatch: {:?} {:?} {:?}", ...
26.232558
79
0.463652
75ada5eb9aa4c11c04196904cf90b9bb1e04551d
13,069
sql
SQL
sql/student_v2.sql
LoganDuncan/record-manager-web-app
3ef78aebb770a9eaf2406a9d2b7d4b5f2b899de2
[ "MIT" ]
null
null
null
sql/student_v2.sql
LoganDuncan/record-manager-web-app
3ef78aebb770a9eaf2406a9d2b7d4b5f2b899de2
[ "MIT" ]
null
null
null
sql/student_v2.sql
LoganDuncan/record-manager-web-app
3ef78aebb770a9eaf2406a9d2b7d4b5f2b899de2
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.8.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Feb 14, 2019 at 06:07 AM -- Server version: 10.1.32-MariaDB -- PHP Version: 7.0.30 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @...
74.255682
155
0.617798
dfd55cc2921bdc2a05b34406603f666880e8c958
569
ts
TypeScript
server/Config.ts
jschirrmacher/homagix
8d1716991f217c1da9871e5444d264dc7deb0631
[ "MIT" ]
1
2021-11-27T12:40:26.000Z
2021-11-27T12:40:26.000Z
server/Config.ts
jschirrmacher/homagix
8d1716991f217c1da9871e5444d264dc7deb0631
[ "MIT" ]
36
2018-11-25T14:40:45.000Z
2022-02-19T06:22:27.000Z
server/Config.ts
jschirrmacher/homagix
8d1716991f217c1da9871e5444d264dc7deb0631
[ "MIT" ]
1
2021-11-27T17:21:38.000Z
2021-11-27T17:21:38.000Z
import path from 'path' type Config = { nodeEnv: string baseDir: string dataDir: string migrationsPath: string PORT: number } export default function ( { logger } = { logger: console } as { logger: Console } ): Config { const baseDir = process.env.BASEDIR || process.cwd() const config = { nodeEnv:...
21.884615
58
0.671353
0cf5f33e0cfd554440d95e9093a443f85242c9cf
3,067
py
Python
biocodes/re_eval.py
yjc9696/biobert-my
ffc11c91f7032cffbcc7d9526159f0ff8e08c1f3
[ "Apache-2.0" ]
null
null
null
biocodes/re_eval.py
yjc9696/biobert-my
ffc11c91f7032cffbcc7d9526159f0ff8e08c1f3
[ "Apache-2.0" ]
3
2020-11-13T17:48:47.000Z
2022-02-09T23:43:16.000Z
biocodes/re_eval.py
yjc9696/biobert-my
ffc11c91f7032cffbcc7d9526159f0ff8e08c1f3
[ "Apache-2.0" ]
null
null
null
import argparse import numpy as np import pandas as pd import sklearn.metrics import sklearn.metrics parser = argparse.ArgumentParser(description='') parser.add_argument('--output_path', type=str, help='') parser.add_argument('--answer_path', type=str, help='') parser.add_argument('--task', type=str, default="binary"...
41.445946
164
0.661559
500167bcf66f4cdfcc2d4f4d1abfd096cf85e4f3
14,145
js
JavaScript
resources/assets/js/vue-i18n-locales.generated.js
RobHawk90/music-library
e3e92177fb8ea80078aaab3ab01af9a4ca8bf701
[ "MIT" ]
null
null
null
resources/assets/js/vue-i18n-locales.generated.js
RobHawk90/music-library
e3e92177fb8ea80078aaab3ab01af9a4ca8bf701
[ "MIT" ]
null
null
null
resources/assets/js/vue-i18n-locales.generated.js
RobHawk90/music-library
e3e92177fb8ea80078aaab3ab01af9a4ca8bf701
[ "MIT" ]
null
null
null
export default { 'en': { 'auth': { 'failed': 'These credentials do not match our records.', 'throttle': 'Too many login attempts. Please try again in {seconds} seconds.' }, 'pagination': { 'previous': '&laquo; Previous', 'next': 'Next &raquo;' }, 'passwords': { 'passw...
52.388889
110
0.610604
5aee6f4747217f857075f403f7a429978d2e4803
106
kt
Kotlin
src/main/kotlin/br/com/zup/bcb/DeletePixKeyRequest.kt
oliboni/orange-talents-01-template-pix-keymanager-grpc
15e98720f58a78d855a8d0568faa10adbae5c6c2
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/br/com/zup/bcb/DeletePixKeyRequest.kt
oliboni/orange-talents-01-template-pix-keymanager-grpc
15e98720f58a78d855a8d0568faa10adbae5c6c2
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/br/com/zup/bcb/DeletePixKeyRequest.kt
oliboni/orange-talents-01-template-pix-keymanager-grpc
15e98720f58a78d855a8d0568faa10adbae5c6c2
[ "Apache-2.0" ]
null
null
null
package br.com.zup.bcb data class DeletePixKeyRequest( val key: String, val participant: String )
17.666667
31
0.735849
c668ae69868ebd5a8d09aa6009437aa251aa1f89
320
rb
Ruby
app/services/destroy/collection_user.rb
ndlib/honeycomb
f5ebab3ecfda386fa516b49114e04054aebbfdae
[ "Apache-2.0" ]
5
2015-04-15T21:31:10.000Z
2018-12-14T17:05:38.000Z
app/services/destroy/collection_user.rb
ndlib/honeycomb
f5ebab3ecfda386fa516b49114e04054aebbfdae
[ "Apache-2.0" ]
487
2015-01-28T19:01:47.000Z
2021-11-09T19:21:42.000Z
app/services/destroy/collection_user.rb
ndlib/honeycomb
f5ebab3ecfda386fa516b49114e04054aebbfdae
[ "Apache-2.0" ]
1
2016-05-02T20:18:00.000Z
2016-05-02T20:18:00.000Z
module Destroy class CollectionUser # Destroy the object only def destroy!(collection_user:) collection_user.destroy! end # There are no additional cascades for CollectionUser, # so destroys the object only def cascade!(collection_user:) collection_user.destroy! end end end
21.333333
58
0.70625
734ae960d01475dabbc436f97b7697bafb97e219
842
lua
Lua
stringreader.lua
speedata/luaxpath
cd55bb4479b45ab4b8bc46981564aa04b3bb9098
[ "MIT" ]
null
null
null
stringreader.lua
speedata/luaxpath
cd55bb4479b45ab4b8bc46981564aa04b3bb9098
[ "MIT" ]
null
null
null
stringreader.lua
speedata/luaxpath
cd55bb4479b45ab4b8bc46981564aa04b3bb9098
[ "MIT" ]
null
null
null
local stringreader = {} function stringreader.new(self,str) local s = { str = str, pos = 1 } setmetatable(s, self) self.__index = self local tab = {} if utf8 then for _,c in utf8.codes(str) do table.insert(tab,utf8.char(c)) end else for ...
17.914894
45
0.602138
11be359f3a655a31c385cd1305dbc25a5912b1ab
5,839
asm
Assembly
transformy/tables/gen/0027.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
3
2019-09-18T05:34:22.000Z
2020-12-04T17:46:52.000Z
transformy/tables/gen/0027.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
null
null
null
transformy/tables/gen/0027.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
1
2020-01-17T01:04:24.000Z
2020-01-17T01:04:24.000Z
xor a ld hl, basescradr + #0876 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0896 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a...
17.173529
28
0.528515
229b63790fe2cf5088f3a22a2c7a2ab46423979d
176
html
HTML
WorkTimeTravelApp/www/templates/addHours.html
lopezoscar/WorkTimeTravel
eb5ebe74f01377fa33b49fb0ec2f9861accaa07b
[ "Unlicense" ]
null
null
null
WorkTimeTravelApp/www/templates/addHours.html
lopezoscar/WorkTimeTravel
eb5ebe74f01377fa33b49fb0ec2f9861accaa07b
[ "Unlicense" ]
null
null
null
WorkTimeTravelApp/www/templates/addHours.html
lopezoscar/WorkTimeTravel
eb5ebe74f01377fa33b49fb0ec2f9861accaa07b
[ "Unlicense" ]
null
null
null
<ion-view view-title="Add"> <ion-content class="background" scroll="false" > <hours-details hours-data="hoursData"></hours-details> </ion-content> </ion-view>
25.142857
62
0.647727
f73762a69dbb481fd2da7d2c4a5321b50ed73dd3
308
c
C
c/nxu/nxu.c
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
c/nxu/nxu.c
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
c/nxu/nxu.c
newnix/Forge
6d18105460fabc20592ed3c29813173cdb57d512
[ "BSD-3-Clause-Clear" ]
null
null
null
/* * nxu, by Newnix of Exile Heavy Industries * meant to be a minimalistic statically compiled * multi-call binary like busybox or toybox. * * It will not be compatible with any other binary utilities * but will have similar commands and flags with similar * utility, if not compatible utility. */
30.8
60
0.743506
4c3a8e12f81a87939674668405b64e1795d43de9
530
php
PHP
src/FondOfOryx/Zed/ReturnLabelsRestApiCompanyUnitAddressConnector/Persistence/ReturnLabelsRestApiCompanyUnitAddressConnectorRepositoryInterface.php
fond-of-oryx/return-labels-rest-api-company-unit-address-connector
fb9a5e17b76138958b0d333e4adfffdd53f7022c
[ "MIT" ]
null
null
null
src/FondOfOryx/Zed/ReturnLabelsRestApiCompanyUnitAddressConnector/Persistence/ReturnLabelsRestApiCompanyUnitAddressConnectorRepositoryInterface.php
fond-of-oryx/return-labels-rest-api-company-unit-address-connector
fb9a5e17b76138958b0d333e4adfffdd53f7022c
[ "MIT" ]
9
2021-03-01T16:12:46.000Z
2022-03-11T09:55:36.000Z
bundles/return-labels-rest-api-company-unit-address-connector/src/FondOfOryx/Zed/ReturnLabelsRestApiCompanyUnitAddressConnector/Persistence/ReturnLabelsRestApiCompanyUnitAddressConnectorRepositoryInterface.php
fond-of-oryx/fond-of-oryx
dd1d5d794f4984fc0038aaf30392694cb4d9fa8c
[ "MIT" ]
null
null
null
<?php namespace FondOfOryx\Zed\ReturnLabelsRestApiCompanyUnitAddressConnector\Persistence; use Generated\Shared\Transfer\CompanyUnitAddressTransfer; interface ReturnLabelsRestApiCompanyUnitAddressConnectorRepositoryInterface { /** * @param string $uuid * @param int $idCustomer * * @return \Ge...
26.5
84
0.760377
4a45445ae7dcbf71877937c07d1b29e1a0addd94
1,195
js
JavaScript
test/sankey/layout-nest-graph-test.js
sinstar2000/d3-sankey-diagram
f6a1ac6f8007421f95b5f4d69a851a71d9b4717c
[ "MIT" ]
86
2016-06-16T16:34:45.000Z
2022-03-25T18:12:35.000Z
test/sankey/layout-nest-graph-test.js
sinstar2000/d3-sankey-diagram
f6a1ac6f8007421f95b5f4d69a851a71d9b4717c
[ "MIT" ]
28
2016-10-21T14:06:28.000Z
2021-03-10T23:35:49.000Z
test/sankey/layout-nest-graph-test.js
sinstar2000/d3-sankey-diagram
f6a1ac6f8007421f95b5f4d69a851a71d9b4717c
[ "MIT" ]
25
2017-07-26T20:14:51.000Z
2022-01-19T04:40:59.000Z
import nestGraph from '../../src/sankeyLayout/nest-graph.js' import tape from 'tape' tape('nestGraph()', test => { // 0|---\ // \ // 1|-\ -| // \---|4 // 2|------| // ,-| // 3|---/ // const nodes = [ {id: '0', rank: 0, band: 0, depth: 0}, {id: '1', rank: 0, band: 1, depth: ...
24.387755
70
0.458577
39b85113d20330e2a716927abd1d5e6301334424
313
js
JavaScript
final/project/handlers/index.js
faiyazbits/hapi_sequelize_training
c7fd6de828f22182158de36bd281efa53f5d9e40
[ "MIT" ]
null
null
null
final/project/handlers/index.js
faiyazbits/hapi_sequelize_training
c7fd6de828f22182158de36bd281efa53f5d9e40
[ "MIT" ]
1
2021-05-11T17:20:15.000Z
2021-05-11T17:20:15.000Z
final/project/handlers/index.js
faiyazbits/hapi_sequelize_training
c7fd6de828f22182158de36bd281efa53f5d9e40
[ "MIT" ]
1
2020-06-11T16:58:10.000Z
2020-06-11T16:58:10.000Z
const UserHandler = require('./user.handler'); const UserProfileHandler = require('./user-profile.handler'); const UserAddressHandler = require('./user-address.handler'); module.exports = { UserHandler : UserHandler, UserProfileHandler : UserProfileHandler, UserAddressHandler : UserAddressHandler };
34.777778
61
0.757188
24cbce52e95fdb15bd5ab5eeca74e671b7e420b4
1,701
go
Go
private/services/ufs/describe_ufsvolume.go
yangyimincn/ucloud-sdk-go
687ef8cec28fbcfb9e69f1efb580c937ee363ac4
[ "Apache-2.0" ]
73
2016-04-08T01:29:08.000Z
2022-01-20T10:48:59.000Z
private/services/ufs/describe_ufsvolume.go
yangyimincn/ucloud-sdk-go
687ef8cec28fbcfb9e69f1efb580c937ee363ac4
[ "Apache-2.0" ]
146
2016-05-05T07:24:06.000Z
2022-03-30T10:59:54.000Z
private/services/ufs/describe_ufsvolume.go
yangyimincn/ucloud-sdk-go
687ef8cec28fbcfb9e69f1efb580c937ee363ac4
[ "Apache-2.0" ]
45
2016-04-18T11:24:10.000Z
2021-12-16T03:58:08.000Z
//Code is generated by ucloud code generator, don't modify it by hand, it will cause undefined behaviors. //go:generate ucloud-gen-go-api UFS DescribeUFSVolume package ufs import ( "github.com/ucloud/ucloud-sdk-go/ucloud/request" "github.com/ucloud/ucloud-sdk-go/ucloud/response" ) // DescribeUFSVolumeRequest is re...
25.772727
106
0.762493
745d88a60735ad5960616b8751de0bdc1a365b23
602
h
C
Modules/Mipf_Module_TubularTracking/CQF_TubularTrackingCom.h
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
4
2017-04-13T06:01:49.000Z
2019-12-04T07:23:53.000Z
Modules/Mipf_Module_TubularTracking/CQF_TubularTrackingCom.h
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
1
2017-10-27T02:00:44.000Z
2017-10-27T02:00:44.000Z
Modules/Mipf_Module_TubularTracking/CQF_TubularTrackingCom.h
linson7017/MIPF
adf982ae5de69fca9d6599fbbbd4ca30f4ae9767
[ "ECL-2.0", "Apache-2.0" ]
2
2017-09-06T01:59:07.000Z
2019-12-04T07:23:54.000Z
#ifndef CQF_TubularTrackingCom_h__ #define CQF_TubularTrackingCom_h__ #include "iqf_component.h" class TubularTracking; class CQF_TubularTrackingCom :public QF::IQF_Component { public: CQF_TubularTrackingCom(); ~CQF_TubularTrackingCom(); virtual void Release(); virtual bool Init(); virtual void...
23.153846
75
0.76412
2f5439923623a5eb298209840782a6e09c715653
6,272
php
PHP
resources/views/Layout/Nav.blade.php
NuwanTheekshana/Location
d255276f37160fad76371ff3f6ed3aaaaf3bdb74
[ "MIT" ]
null
null
null
resources/views/Layout/Nav.blade.php
NuwanTheekshana/Location
d255276f37160fad76371ff3f6ed3aaaaf3bdb74
[ "MIT" ]
3
2021-03-10T12:56:28.000Z
2022-02-27T02:12:30.000Z
resources/views/Layout/Nav.blade.php
NuwanTheekshana/Location
d255276f37160fad76371ff3f6ed3aaaaf3bdb74
[ "MIT" ]
null
null
null
<div class="wrapper"> <!-- Sidebar --> @if(Auth::user()->permission == "1") <nav id="sidebar"> <div class="sidebar-header"> <h3>Branch Location</h3> <strong><i class="fa fa-map-marker" aria-hidden="true"></i><i class="fas fa-map"></i></strong> ...
33.902703
249
0.362245
2f4953dc6d487d9168d1fdf676508fa08ff44c77
1,297
php
PHP
application/views/login-form.php
hrishikesh214/Blog
4e6db1ece36434100a208bcaf7127a45b55ef842
[ "MIT" ]
2
2021-01-25T04:10:57.000Z
2021-12-02T14:11:03.000Z
application/views/login-form.php
hrishikesh214/Blog
4e6db1ece36434100a208bcaf7127a45b55ef842
[ "MIT" ]
null
null
null
application/views/login-form.php
hrishikesh214/Blog
4e6db1ece36434100a208bcaf7127a45b55ef842
[ "MIT" ]
null
null
null
<?php require 'header.php'; ?> <div class="row"> <div class="col-lg-6"> <span class="text-danger"> <?php echo validation_errors(); ?> </span> <span class="text-danger"> <?php echo isset($error)? $error :"" ; ?> </span> </div> <div class="col-lg-6"> <div class="card border border"> <d...
27.595745
80
0.560524
6e34b8e0534f44906c8b1076f7ce055aefb562f2
5,284
html
HTML
examples/microdataTemplater/templaterTest.html
termi/Microdata-JS
17a928f0a1d6509d28c4008e67332c81514f1bfe
[ "MIT" ]
16
2015-02-25T19:47:31.000Z
2021-01-10T18:02:29.000Z
examples/microdataTemplater/templaterTest.html
termi/Microdata-JS
17a928f0a1d6509d28c4008e67332c81514f1bfe
[ "MIT" ]
null
null
null
examples/microdataTemplater/templaterTest.html
termi/Microdata-JS
17a928f0a1d6509d28c4008e67332c81514f1bfe
[ "MIT" ]
3
2016-05-05T12:05:59.000Z
2017-06-22T10:44:27.000Z
<!DOCTYPE html> <html> <head> <style> </style> <!--[if IE 8]> <script src="http://h123.ru/js/a.ie8.js"></script> <![endif]--> <script src="http://h123.ru/js/a.js"></script> <script src=../../__SRC/microdata-js.js></script> <script src="Date.prototype.format.js"></script> <!--script src=../../__SRC/microdata-js.j...
29.032967
256
0.647994
11ec76ad9d33f96f4c688cb9ba75e1f58b5ca886
3,577
rs
Rust
openfmb-messages-ext/src/generation/status.rs
openenergysolutions/openfmb-rs
ffe79b2bc68afb9b59abfce74265ec1a4e6b8087
[ "Apache-2.0", "BSD-3-Clause" ]
2
2021-08-20T12:14:08.000Z
2021-12-30T16:16:43.000Z
openfmb-messages-ext/src/generation/status.rs
openenergysolutions/openfmb-rs
ffe79b2bc68afb9b59abfce74265ec1a4e6b8087
[ "Apache-2.0", "BSD-3-Clause" ]
3
2021-07-29T21:18:29.000Z
2021-08-20T16:55:57.000Z
openfmb-messages-ext/src/generation/status.rs
openenergysolutions/openfmb-rs
ffe79b2bc68afb9b59abfce74265ec1a4e6b8087
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
// SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc // // SPDX-License-Identifier: Apache-2.0 use crate::StatusProfileExt; use std::str::FromStr; use generationmodule::GenerationStatusProfile; use openfmb_messages::{ commonmodule::{MessageInfo, StatusMessageInfo}, *, }; use snafu::{OptionExt, ResultExt}...
27.945313
72
0.542913
99513bd8b7e902a6cac976a882c23d1b9a41a61e
673
h
C
Frameworks/LinkPresentation.framework/Headers/LPYouTubePlayerScriptMessageHandler.h
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
13
2021-08-12T22:57:13.000Z
2022-03-09T16:45:52.000Z
Frameworks/LinkPresentation.framework/Headers/LPYouTubePlayerScriptMessageHandler.h
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
20
2021-09-03T13:38:34.000Z
2022-03-17T13:24:39.000Z
Frameworks/LinkPresentation.framework/Headers/LPYouTubePlayerScriptMessageHandler.h
CarlAmbroselli/barcelona
9bd087575935485a4c26674c2414d7ef20d7e168
[ "Apache-2.0" ]
2
2022-02-13T08:35:11.000Z
2022-03-17T01:56:47.000Z
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <Foundation/Foundation.h> #import "WKScriptMessageHandler.h" @class LPYouTubePlayerView, NSString; @interface LPYouTubePlayerScriptMessageHandler : NSObject { LPYouT...
21.709677
83
0.756315
dcb8e444d9427d1e6bb27328592233177d408a03
4,166
lua
Lua
Creativity App/Client/login_check.lua
bodily11/personal_projects
f2aa4214773f3876d63f23923d867d71093801ec
[ "MIT" ]
1
2018-06-15T12:20:03.000Z
2018-06-15T12:20:03.000Z
Creativity App/Client/login_check.lua
bodily11/personal_projects
f2aa4214773f3876d63f23923d867d71093801ec
[ "MIT" ]
null
null
null
Creativity App/Client/login_check.lua
bodily11/personal_projects
f2aa4214773f3876d63f23923d867d71093801ec
[ "MIT" ]
null
null
null
local composer = require( "composer" ) local mui = require( "materialui.mui" ) local scene = composer.newScene() local loadsave = require( "loadsave" ) local json = require( "json" ) -- ----------------------------------------------------------------------------------- -- Code outside of the scene event functions below...
31.323308
116
0.524004
bf317230841dd27d9fb5119cc916fdcf23974cd3
2,905
rs
Rust
rust/opendp/src/trans/sum.rs
ChristianLebeda/opendp
7550cab363797163816ece07aafebeb5a4f54269
[ "MIT" ]
null
null
null
rust/opendp/src/trans/sum.rs
ChristianLebeda/opendp
7550cab363797163816ece07aafebeb5a4f54269
[ "MIT" ]
null
null
null
rust/opendp/src/trans/sum.rs
ChristianLebeda/opendp
7550cab363797163816ece07aafebeb5a4f54269
[ "MIT" ]
null
null
null
use std::cmp::Ordering; use std::collections::Bound; use std::iter::Sum; use std::ops::Sub; use crate::core::{Function, StabilityRelation, Transformation}; use crate::dist::{SymmetricDistance, AbsoluteDistance}; use crate::dom::{AllDomain, IntervalDomain, SizedDomain, VectorDomain}; use crate::error::*; use crate::tra...
35.426829
129
0.622719
5c0dff429a6f6b43b02189da6f3894c10005c6a6
69,955
asm
Assembly
ffmpeg.js/libavcodec/x86/h264_intrapred.asm
vivekjishtu/audioconverter.js
803d516a1238dd1ad7738c851a99737007f95cb5
[ "BSD-3-Clause" ]
82
2015-01-18T08:41:47.000Z
2022-02-08T19:23:19.000Z
FFmpeg-build/ffmpeg/libavcodec/x86/h264_intrapred.asm
hetissimpel/radioformac
af3145d12d88b925892937ecdac95d12b6439fda
[ "MIT" ]
5
2015-01-24T13:07:23.000Z
2021-03-19T13:37:17.000Z
FFmpeg-build/ffmpeg/libavcodec/x86/h264_intrapred.asm
hetissimpel/radioformac
af3145d12d88b925892937ecdac95d12b6439fda
[ "MIT" ]
25
2015-01-25T14:52:03.000Z
2021-09-05T23:59:49.000Z
;****************************************************************************** ;* H.264 intra prediction asm optimizations ;* Copyright (c) 2010 Jason Garrett-Glaser ;* Copyright (c) 2010 Holger Lubitz ;* Copyright (c) 2010 Loren Merritt ;* Copyright (c) 2010 Ronald S. Bultje ;* ;* This file is part of FFmpeg. ;* ;* F...
25.880503
95
0.460553
723ec9e999e8ca72af50831699a50e8e7ce8d559
6,739
rs
Rust
consensus/src/chained_bft/chained_bft_consensus_provider.rs
metajack/diem
2cffd4fae6e2bfb233b30b4948ed05a6e2bf7f93
[ "Apache-2.0" ]
1
2019-08-07T20:34:16.000Z
2019-08-07T20:34:16.000Z
consensus/src/chained_bft/chained_bft_consensus_provider.rs
metajack/diem
2cffd4fae6e2bfb233b30b4948ed05a6e2bf7f93
[ "Apache-2.0" ]
1
2019-08-07T23:37:24.000Z
2019-08-08T17:11:51.000Z
consensus/src/chained_bft/chained_bft_consensus_provider.rs
metajack/diem
2cffd4fae6e2bfb233b30b4948ed05a6e2bf7f93
[ "Apache-2.0" ]
1
2019-08-07T20:18:58.000Z
2019-08-07T20:18:58.000Z
// Copyright (c) The Libra Core Contributors // SPDX-License-Identifier: Apache-2.0 use crate::{ chained_bft::{ chained_bft_smr::ChainedBftSMR, network::ConsensusNetworkImpl, persistent_storage::PersistentStorage, }, consensus_provider::ConsensusProvider, counters, state_computer::E...
37.027473
100
0.637335
cb4e01eee479064a38c97350c1c7d4bf605de258
294
h
C
Brown/BLYSearchSongResultProtocol.h
jeremylevy/brown-ios
7457c1172c2b8417ad6bc68ac957d9b5ca4a508a
[ "MIT" ]
1
2018-04-18T05:28:33.000Z
2018-04-18T05:28:33.000Z
Brown/BLYSearchSongResultProtocol.h
jeremylevy/brown-ios
7457c1172c2b8417ad6bc68ac957d9b5ca4a508a
[ "MIT" ]
null
null
null
Brown/BLYSearchSongResultProtocol.h
jeremylevy/brown-ios
7457c1172c2b8417ad6bc68ac957d9b5ca4a508a
[ "MIT" ]
null
null
null
// // BLYSearchSongResultProtocol.h // Brown // // Created by Jeremy Levy on 28/11/2013. // Copyright (c) 2013 Jeremy Levy. All rights reserved. // #import <Foundation/Foundation.h> @protocol BLYSearchSongResultProtocol <NSObject> @property (strong, nonatomic) NSString * content; @end
18.375
56
0.727891
dfbcbc76c9158f21cae77fa729c937d087868aeb
19,256
ts
TypeScript
repos/fdbt-site/tests/pages/api/managePassengerGroup.test.ts
fares-data-build-tool/create-data
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
[ "MIT" ]
6
2021-06-22T09:01:17.000Z
2022-03-04T12:48:25.000Z
repos/fdbt-site/tests/pages/api/managePassengerGroup.test.ts
fares-data-build-tool/create-data
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
[ "MIT" ]
18
2021-08-04T09:23:10.000Z
2022-02-18T10:07:18.000Z
repos/fdbt-site/tests/pages/api/managePassengerGroup.test.ts
fares-data-build-tool/create-data
d4e73228e76a4c6dc24ef8ed78c73cc62cf45c77
[ "MIT" ]
1
2021-06-30T16:27:27.000Z
2021-06-30T16:27:27.000Z
import managePassengerGroup from '../../../src/pages/api/managePassengerGroup'; import { getMockRequestAndResponse } from '../../testData/mockData'; import * as session from '../../../src/utils/sessions'; import * as aurora from '../../../src/data/auroradb'; import { GS_PASSENGER_GROUP_ATTRIBUTE } from '../../../src/co...
36.12758
160
0.433268
cdfe0793a6d21aec2e7316e18ba718ac3bdc290e
2,592
rs
Rust
src/math/newlib/hypotf.rs
burrbull/libm
eaada24dd49bfd50fa04a21c09e67532d45b661d
[ "Apache-2.0", "MIT" ]
null
null
null
src/math/newlib/hypotf.rs
burrbull/libm
eaada24dd49bfd50fa04a21c09e67532d45b661d
[ "Apache-2.0", "MIT" ]
null
null
null
src/math/newlib/hypotf.rs
burrbull/libm
eaada24dd49bfd50fa04a21c09e67532d45b661d
[ "Apache-2.0", "MIT" ]
null
null
null
/* ef_hypot.c -- float version of e_hypot.c. * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * P...
28.8
75
0.428627
a113f82ffca239d18a08b7eeaa91745ca6fec1c4
282
go
Go
model/product.go
sudheerj/go-products-rest-demo
7ed0ad4a2227254b4df9af0595a4d15a635dfad0
[ "MIT" ]
5
2020-10-22T06:28:30.000Z
2021-06-15T09:45:51.000Z
model/product.go
sudheerj/go-products-rest-demo
7ed0ad4a2227254b4df9af0595a4d15a635dfad0
[ "MIT" ]
null
null
null
model/product.go
sudheerj/go-products-rest-demo
7ed0ad4a2227254b4df9af0595a4d15a635dfad0
[ "MIT" ]
3
2020-10-22T06:28:31.000Z
2021-07-21T12:40:29.000Z
package model import "gorm.io/gorm" type Product struct { gorm.Model Name string `json:"name" gorm:"unique"` ModelType string `json:"modelType"` Price uint32 `json:"price"` Color string `json:"color"` Reviews []Review `gorm:"ForeignKey:ProductID" json:"reviews"` }
18.8
65
0.698582
dd907b25e36d7e41b4766371cd9e5777b45509e9
4,339
php
PHP
application/controllers/dashboard.php
sanjaykumar27/expense_manager
6febc40560d5c91ccc884b0959eb2485ba93a171
[ "MIT" ]
null
null
null
application/controllers/dashboard.php
sanjaykumar27/expense_manager
6febc40560d5c91ccc884b0959eb2485ba93a171
[ "MIT" ]
null
null
null
application/controllers/dashboard.php
sanjaykumar27/expense_manager
6febc40560d5c91ccc884b0959eb2485ba93a171
[ "MIT" ]
null
null
null
<?php /* index -> go to dashboard view * categories() * */ defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('User_model'); $this->load->model('Dashboard_model...
29.924138
111
0.506338
01e8305cd6ef6407c51e807c34871e4944153c3e
506
asm
Assembly
demo/kitchen-sink/docs/assembly_x86.asm
websharks/ace-builds
423f576e59173fc866189da37f9c15458082a740
[ "BSD-3-Clause" ]
17,323
2015-01-01T05:03:21.000Z
2022-03-31T13:20:54.000Z
demo/kitchen-sink/docs/assembly_x86.asm
websharks/ace-builds
423f576e59173fc866189da37f9c15458082a740
[ "BSD-3-Clause" ]
2,307
2015-01-02T21:18:24.000Z
2022-03-31T23:32:25.000Z
demo/kitchen-sink/docs/assembly_x86.asm
websharks/ace-builds
423f576e59173fc866189da37f9c15458082a740
[ "BSD-3-Clause" ]
4,603
2015-01-01T18:41:52.000Z
2022-03-30T14:00:59.000Z
section .text global main ;must be declared for using gcc main: ;tell linker entry point mov edx, len ;message length mov ecx, msg ;message to write mov ebx, 1 ;file descriptor (stdout) mov eax, 4 ;system call number (sys_write) int 0x80 ;call kernel ...
26.631579
55
0.614625
485b1310bd3325095ebd9c7dc13b18fcf5aa6e0b
252
swift
Swift
Foodly/Foodly/OrderHistory/OrderHistoryModel/OrdersHistoryModels.swift
geniusjames/Foodly
0997fe007077b85e601033b3724792693a9a8301
[ "Apache-2.0" ]
null
null
null
Foodly/Foodly/OrderHistory/OrderHistoryModel/OrdersHistoryModels.swift
geniusjames/Foodly
0997fe007077b85e601033b3724792693a9a8301
[ "Apache-2.0" ]
null
null
null
Foodly/Foodly/OrderHistory/OrderHistoryModel/OrdersHistoryModels.swift
geniusjames/Foodly
0997fe007077b85e601033b3724792693a9a8301
[ "Apache-2.0" ]
null
null
null
// // OrdersHistoryModels.swift // Foodly // // Created by Geniusjames on 6/23/21. // import UIKit struct OrderHistoryModel { let restaurantName: String let totalPrice: String let restaurantImage: String let itemQuantity: String }
15.75
38
0.706349
5086a6fbd869302b68fd3e065d36916f6342b95b
1,658
go
Go
src/golang/practice/example37.go
youngzil/quickstart-golang
eee2e36cf61835d73b41e03464e0f40afc0c31af
[ "Apache-2.0" ]
1
2021-04-26T15:28:10.000Z
2021-04-26T15:28:10.000Z
src/golang/practice/example37.go
youngzil/quickstart-golang
eee2e36cf61835d73b41e03464e0f40afc0c31af
[ "Apache-2.0" ]
null
null
null
src/golang/practice/example37.go
youngzil/quickstart-golang
eee2e36cf61835d73b41e03464e0f40afc0c31af
[ "Apache-2.0" ]
null
null
null
package main import "fmt" func sum3(s []int, c chan int) { sum := 0 for _, v := range s { sum += v } c <- sum // 把 sum 发送到通道 c } func main() { //以下实例通过两个 goroutine 来计算数字之和,在 goroutine 完成计算后,它会计算两个结果的和: s := []int{7, 2, 8, -9, 4, 0} c := make(chan int) go sum3(s[:len(s)/2], c) go sum3(s[len(s)/2:], c) ...
19.057471
83
0.671291
1c704e5679326667c41ee387820be67c5cc6d61b
6,239
css
CSS
http/webroot/study/css/index.css
dingguanglei/nodejs-web-
4a1dc4237fe8454cb06be62f8944a1d6ab85f6d4
[ "MIT" ]
null
null
null
http/webroot/study/css/index.css
dingguanglei/nodejs-web-
4a1dc4237fe8454cb06be62f8944a1d6ab85f6d4
[ "MIT" ]
null
null
null
http/webroot/study/css/index.css
dingguanglei/nodejs-web-
4a1dc4237fe8454cb06be62f8944a1d6ab85f6d4
[ "MIT" ]
null
null
null
* { padding: 0; margin: 0; } body { margin: auto; position: relative; background-color: #f4f4f4; max-width: 1280px; min-height:100%; } a:hover, a:visited, a:link { text-decoration: none; -webkit-transition: color 0.2s; -moz-transition: color 0.2s; -ms-transition: color 0.2s;...
15.143204
88
0.5908
bb01488a0012162b4d7735a28387084d6ff44343
2,294
rs
Rust
src/gdma/dma_outfifo_status_ch2.rs
ducktec/esp32c3
64b9547e200a3ee7e6587d81178be8732e99bee9
[ "Apache-2.0", "MIT" ]
null
null
null
src/gdma/dma_outfifo_status_ch2.rs
ducktec/esp32c3
64b9547e200a3ee7e6587d81178be8732e99bee9
[ "Apache-2.0", "MIT" ]
null
null
null
src/gdma/dma_outfifo_status_ch2.rs
ducktec/esp32c3
64b9547e200a3ee7e6587d81178be8732e99bee9
[ "Apache-2.0", "MIT" ]
null
null
null
#[doc = "Reader of register DMA_OUTFIFO_STATUS_CH2"] pub type R = crate::R<u32, super::DMA_OUTFIFO_STATUS_CH2>; #[doc = "Reader of field `DMA_OUT_REMAIN_UNDER_4B_CH2`"] pub type DMA_OUT_REMAIN_UNDER_4B_CH2_R = crate::R<bool, bool>; #[doc = "Reader of field `DMA_OUT_REMAIN_UNDER_3B_CH2`"] pub type DMA_OUT_REMAIN_UNDER_3...
42.481481
80
0.677419
0bdf994132d7df75ba397a047b0319969b455e90
1,699
js
JavaScript
Log In Form Designs/ReactLoginForm/src/view/connect.js
dyjf97/DevHelpBox
e82dddfc6f23954ff02b0da7e83b07ca60b9d757
[ "MIT" ]
35
2019-10-12T16:46:44.000Z
2022-03-17T09:10:00.000Z
Log In Form Designs/ReactLoginForm/src/view/connect.js
dyjf97/DevHelpBox
e82dddfc6f23954ff02b0da7e83b07ca60b9d757
[ "MIT" ]
110
2019-10-12T13:03:27.000Z
2022-02-28T01:36:39.000Z
Log In Form Designs/ReactLoginForm/src/view/connect.js
dyjf97/DevHelpBox
e82dddfc6f23954ff02b0da7e83b07ca60b9d757
[ "MIT" ]
103
2019-10-12T10:23:50.000Z
2021-09-21T05:50:47.000Z
import {connect} from 'react-redux' import {IsArray} from '../global/utility' import {Map} from 'immutable' function GetDeep(paths) { return (state) => { const pathsSplitted = paths.split('/') return pathsSplitted.reduce((obj, path) => { if (path in obj) return obj[path] ...
28.316667
70
0.545026
9ad570a48a2d9674b0d459a52dab8dd3353ba7d4
1,004
sql
SQL
application/migrations/20171004151516_woocommerce_sync_variations.sql
arianvaldivieso/pos
dcd2a807108f1e5f913c90185e0d52512eeb3828
[ "MIT" ]
null
null
null
application/migrations/20171004151516_woocommerce_sync_variations.sql
arianvaldivieso/pos
dcd2a807108f1e5f913c90185e0d52512eeb3828
[ "MIT" ]
null
null
null
application/migrations/20171004151516_woocommerce_sync_variations.sql
arianvaldivieso/pos
dcd2a807108f1e5f913c90185e0d52512eeb3828
[ "MIT" ]
1
2022-01-11T11:46:46.000Z
2022-01-11T11:46:46.000Z
-- woocommerce_sync_variations -- CREATE TABLE `phppos_ecommerce_product_variations` ( `id` int(11) NOT NULL AUTO_INCREMENT, `variation_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `product_quantity` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci, UNIQUE KEY `product_variation...
62.75
152
0.816733
165a656b33de257820be07ccd1c1c5cb7cb08569
3,577
h
C
examples/spi_flash_filesystem/FileSystem/fs_priv.h
liamw9534/Jumper-nRF52-CppUTest
876eb77bf84a7b14970e41b9d626641bc1148192
[ "Apache-2.0" ]
1
2020-10-21T12:19:16.000Z
2020-10-21T12:19:16.000Z
examples/spi_flash_filesystem/FileSystem/fs_priv.h
liamw9534/Jumper-nRF52-CppUTest
876eb77bf84a7b14970e41b9d626641bc1148192
[ "Apache-2.0" ]
null
null
null
examples/spi_flash_filesystem/FileSystem/fs_priv.h
liamw9534/Jumper-nRF52-CppUTest
876eb77bf84a7b14970e41b9d626641bc1148192
[ "Apache-2.0" ]
1
2020-10-21T12:19:18.000Z
2020-10-21T12:19:18.000Z
/* Copyright 2018 Arribada * * 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.846774
110
0.700308
50a6539b661c77e3c19e2af818dc506360cf0307
389
go
Go
routers/router.go
Fsero/sinker_registry_api
c758c4ffee52afa05d1f47ec52f527aef95a35ea
[ "Apache-2.0" ]
null
null
null
routers/router.go
Fsero/sinker_registry_api
c758c4ffee52afa05d1f47ec52f527aef95a35ea
[ "Apache-2.0" ]
null
null
null
routers/router.go
Fsero/sinker_registry_api
c758c4ffee52afa05d1f47ec52f527aef95a35ea
[ "Apache-2.0" ]
null
null
null
// @APIVersion 1.0.0 // @Title probe API // @Description A simple probe registry API // @Contact fsero package routers import ( "bitbucket.org/fseros/sinker_registry_api/controllers" "github.com/astaxie/beego" ) func init() { ns := beego.NewNamespace("/v1", beego.NSNamespace("/probe", beego.NSInclude( &co...
17.681818
55
0.694087
f03ff005925224be3fdb7edb21130977774e1f37
14,317
py
Python
acme_compact.py
felixfontein/acme-compact
922df35fc70e6f157a51d572a02c12fa34caaa35
[ "MIT" ]
5
2015-12-19T20:09:53.000Z
2017-02-06T08:13:27.000Z
acme_compact.py
felixfontein/acme-compact
922df35fc70e6f157a51d572a02c12fa34caaa35
[ "MIT" ]
null
null
null
acme_compact.py
felixfontein/acme-compact
922df35fc70e6f157a51d572a02c12fa34caaa35
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Command line interface for the compact ACME library.""" import acme_lib import argparse import sys import textwrap def _gen_account_key(account_key, key_length, algorithm): key = acme_lib.create_key(key_length=key_length, algorithm=algorithm) acme_lib.write_file(account_key, key) d...
53.823308
258
0.605155
b696247b66884f6864ed74a351ff8b9b73c6f1b2
317
rb
Ruby
lib/chimper/models/lists.rb
buren/chimper
59672a070e9175282f0fa56cd4580b0e9fc7af8e
[ "MIT" ]
null
null
null
lib/chimper/models/lists.rb
buren/chimper
59672a070e9175282f0fa56cd4580b0e9fc7af8e
[ "MIT" ]
null
null
null
lib/chimper/models/lists.rb
buren/chimper
59672a070e9175282f0fa56cd4580b0e9fc7af8e
[ "MIT" ]
null
null
null
module Chimper class Lists < BaseModel include Enumerable def initialize(data) @data = AwesomeStruct.new( lists: data['lists'], total_items: data['total_items'] ) end def each(&block) @data.lists.each { |list| block.call(List.new(list)) } end end end
18.647059
60
0.589905
2991527359bfc458acdaf1b1330cd2b923490ccd
5,194
lua
Lua
tools/moonscite/lexers/ragel.lua
pigpigyyy/Dorothy
81dbf800d0e3b15c96d67e1fb72b88d3deae780f
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
3
2020-01-29T02:22:14.000Z
2022-03-03T08:13:45.000Z
tools/moonscite/lexers/ragel.lua
pigpigyyy/Dorothy
81dbf800d0e3b15c96d67e1fb72b88d3deae780f
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
null
null
null
tools/moonscite/lexers/ragel.lua
pigpigyyy/Dorothy
81dbf800d0e3b15c96d67e1fb72b88d3deae780f
[ "Zlib", "libtiff", "BSD-2-Clause", "Apache-2.0", "MIT", "Libpng", "curl", "BSD-3-Clause" ]
1
2021-05-20T09:04:32.000Z
2021-05-20T09:04:32.000Z
-- Copyright 2006-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -- Ragel LPeg lexer. module(..., package.seeall) local P, R, S = lpeg.P, lpeg.R, lpeg.S local ws = token('ragel_whitespace', space^1) -- Comment. local comment = token(l.COMMENT, '#' * nonnewline^0) -- Strings. local sq_str = delimited_range("...
35.82069
80
0.660762
698fc60b65d4b3a25846438246249fa930c4a9fc
432
lua
Lua
runtime/plugins/ftoptions/ftoptions.lua
IOAyman/micro
5af5140362e9eb4e2503aba5c1555004890a5226
[ "Apache-2.0", "MIT" ]
1
2021-01-10T15:21:35.000Z
2021-01-10T15:21:35.000Z
runtime/plugins/ftoptions/ftoptions.lua
Jipok/micro
5af5140362e9eb4e2503aba5c1555004890a5226
[ "Apache-2.0", "MIT" ]
null
null
null
runtime/plugins/ftoptions/ftoptions.lua
Jipok/micro
5af5140362e9eb4e2503aba5c1555004890a5226
[ "Apache-2.0", "MIT" ]
null
null
null
if GetOption("ftoptions") == nil then AddOption("ftoptions", true) end function onViewOpen(view) if not GetOption("ftoptions") then return end local ft = view.Buf.Settings["filetype"] if ft == "makefile" or ft == "go" then SetOption("tabstospaces", "off") elseif ft == "python"...
24
84
0.608796
410c8c5808599c2ac71ac00ed000b67498c111f7
6,600
h
C
Code/Framework/AzCore/AzCore/std/typetraits/has_member_function.h
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
11
2021-07-08T09:58:26.000Z
2022-03-17T17:59:26.000Z
Code/Framework/AzCore/AzCore/std/typetraits/has_member_function.h
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
29
2021-07-06T19:33:52.000Z
2022-03-22T10:27:49.000Z
Code/Framework/AzCore/AzCore/std/typetraits/has_member_function.h
RoddieKieley/o3de
e804fd2a4241b039a42d9fa54eaae17dc94a7a92
[ "Apache-2.0", "MIT" ]
4
2021-07-06T19:24:43.000Z
2022-03-31T12:42:27.000Z
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #ifndef AZSTD_TYPE_TRAITS_HAS_MEMBER_FUNCTION_INCLUDED #define AZSTD_TYPE_TRAITS_HAS_MEMBER_FUNCTIO...
81.481481
116
0.295758
29325a76d256ebf20059a60e6cd124418b6f3bb1
506
swift
Swift
20201217/20201217.playground/Pages/drop.xcplaygroundpage/Contents.swift
akio0911/til
fcc264b48905d3e883fc7ba839ac4eb437c877fb
[ "MIT" ]
null
null
null
20201217/20201217.playground/Pages/drop.xcplaygroundpage/Contents.swift
akio0911/til
fcc264b48905d3e883fc7ba839ac4eb437c877fb
[ "MIT" ]
null
null
null
20201217/20201217.playground/Pages/drop.xcplaygroundpage/Contents.swift
akio0911/til
fcc264b48905d3e883fc7ba839ac4eb437c877fb
[ "MIT" ]
null
null
null
//: [Previous](@previous) import Foundation import Combine // drop(untilOutputFrom:) | Apple Developer Documentation // https://developer.apple.com/documentation/combine/publisher/drop(untiloutputfrom:) let upstream = PassthroughSubject<Int,Never>() let second = PassthroughSubject<String,Never>() let cancellable = u...
22
85
0.743083
b1d04d61f684c34722172edf091bb5b7fdd91e6c
423
h
C
src/developer/debug/shared/arch.h
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/debug/shared/arch.h
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2019-12-04T15:13:37.000Z
2020-02-19T08:11:38.000Z
src/developer/debug/shared/arch.h
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SRC_DEVELOPER_DEBUG_SHARED_ARCH_H_ #define SRC_DEVELOPER_DEBUG_SHARED_ARCH_H_ #include <inttypes.h> namespace debug { enum class Arch : uint32_t...
24.882353
73
0.77305
3bf1eca6dc404e6374facadb8fa5c541fd56f20d
1,575
h
C
src/oidc-apis.h
redpesk-common/sec-gate-oidc
d8c611812b286e9736d6816344652999f00c3e50
[ "MIT" ]
null
null
null
src/oidc-apis.h
redpesk-common/sec-gate-oidc
d8c611812b286e9736d6816344652999f00c3e50
[ "MIT" ]
null
null
null
src/oidc-apis.h
redpesk-common/sec-gate-oidc
d8c611812b286e9736d6816344652999f00c3e50
[ "MIT" ]
null
null
null
/* * Copyright (C) 2015-2021 IoT.bzh Company * Author "Fulup Ar Foll" * * $RP_BEGIN_LICENSE$ * Commercial License Usage * Licensees holding valid commercial IoT.bzh licenses may use this file in * accordance with the commercial license agreement provided with the * Software or, alternatively, in accordance w...
37.5
130
0.742857
7f0cfcab32b59b1a01e3bb41e2a4ca5fa05ae269
11,980
rs
Rust
milli/src/update/index_documents/typed_chunk.rs
wave909/milli
ea15ad6c34492b32eb7ac06e69de02b6dc70a707
[ "MIT" ]
null
null
null
milli/src/update/index_documents/typed_chunk.rs
wave909/milli
ea15ad6c34492b32eb7ac06e69de02b6dc70a707
[ "MIT" ]
null
null
null
milli/src/update/index_documents/typed_chunk.rs
wave909/milli
ea15ad6c34492b32eb7ac06e69de02b6dc70a707
[ "MIT" ]
null
null
null
use std::borrow::Cow; use std::convert::TryInto; use std::fs::File; use heed::types::ByteSlice; use heed::{BytesDecode, RwTxn}; use roaring::RoaringBitmap; use super::helpers::{ self, roaring_bitmap_from_u32s_array, serialize_roaring_bitmap, valid_lmdb_key, CursorClonableMmap, }; use crate::heed_codec::facet:...
38.770227
97
0.580634
75f89c0ae76157301fb4a7dbebd04ea63a97113b
3,228
php
PHP
resources/views/front/layouts/rightMenu.blade.php
wangjacsi/opengeek
555e0b52e60ab1e4d105e9a81bfd6f30ea6c361d
[ "MIT" ]
null
null
null
resources/views/front/layouts/rightMenu.blade.php
wangjacsi/opengeek
555e0b52e60ab1e4d105e9a81bfd6f30ea6c361d
[ "MIT" ]
null
null
null
resources/views/front/layouts/rightMenu.blade.php
wangjacsi/opengeek
555e0b52e60ab1e4d105e9a81bfd6f30ea6c361d
[ "MIT" ]
null
null
null
<!-- Right-menu --> <div class="mCustomScrollbar" data-mcs-theme="dark"> <div class="popup right-menu"> <div class="right-menu-wrap"> <div class="user-menu-close js-close-aside"> <a href="#" class="user-menu-content js-clode-aside"> <span></span> ...
32.938776
101
0.462825
190480aa33e34ee94b0ac0008b8f0fa9c1ee4e3a
787
css
CSS
src/css/font-face.css
miquecg/miquecg.github.io
e5fba667b91548af31464971f7cd08855acf5aa3
[ "CC-BY-4.0" ]
1
2015-02-22T13:52:44.000Z
2015-02-22T13:52:44.000Z
src/css/font-face.css
miquecg/miquecg.github.io
e5fba667b91548af31464971f7cd08855acf5aa3
[ "CC-BY-4.0" ]
null
null
null
src/css/font-face.css
miquecg/miquecg.github.io
e5fba667b91548af31464971f7cd08855acf5aa3
[ "CC-BY-4.0" ]
null
null
null
/******************************************************************************* ICONOS *******************************************************************************/ @font-face { /* * http://stackoverflow.com/a/16978219 * * 1. IE9 compat modes * 2. IE6-IE8 * 3. Modern browsers * 4....
34.217391
83
0.468869
0eb80e9963a56643c32e91e392f9a487910464f0
507
tsx
TypeScript
demo/content/examples/mdx-components/FakeClock.tsx
AleksandrMolchagin/gatsby-project-kb
8221f6f9c67701f04efa576cd180a4b46dc49664
[ "MIT" ]
35
2021-01-29T15:58:12.000Z
2022-03-18T07:46:38.000Z
demo/content/examples/mdx-components/FakeClock.tsx
AleksandrMolchagin/gatsby-project-kb
8221f6f9c67701f04efa576cd180a4b46dc49664
[ "MIT" ]
43
2021-01-31T05:15:26.000Z
2022-03-26T06:13:15.000Z
demo/content/examples/mdx-components/FakeClock.tsx
AleksandrMolchagin/gatsby-project-kb
8221f6f9c67701f04efa576cd180a4b46dc49664
[ "MIT" ]
16
2021-03-04T03:59:00.000Z
2022-03-18T07:48:14.000Z
import React, { useState, useEffect } from 'react' interface DemoProps {} const Demo = ({}: DemoProps) => { const [date, setDate] = useState(new Date()) useEffect(() => { const timerId = setInterval(() => { setDate(new Date()) }, 1000) return () => { window.clearInterval(timerId) } ...
17.482759
65
0.546351
85ea371d94b80fd73cbcf9dbfa6e06f07d6051ca
3,011
h
C
code/editors/Oxy.SDK/RenderViewLE.h
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
6
2020-07-06T13:34:28.000Z
2021-07-12T10:36:23.000Z
code/editors/Oxy.SDK/RenderViewLE.h
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
null
null
null
code/editors/Oxy.SDK/RenderViewLE.h
Pavel3333/xray-oxygen
42331cd5f30511214c704d6ca9d919c209363eea
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
/****************************************************************************************************************** ***** Authors: Lord ***** Date of creation: 03.05.2018 ***** Description: File of impelmentation Render of DockPanel's element for integration in Main Form in Level Editor ***** Copyright: GSC, OxyGen Tea...
42.408451
167
0.699435
2df771be8bb1ee7b40d5e4bb3273e3eb4ac3ebf1
1,021
rs
Rust
src/vulkan/vk/vk_sampler_address_mode.rs
symil/lava
29697d763f76f3d2bb50787c6b7b3c8e5a687fac
[ "MIT" ]
6
2019-12-02T02:02:14.000Z
2020-06-21T15:47:38.000Z
src/vulkan/vk/vk_sampler_address_mode.rs
symil/lava
29697d763f76f3d2bb50787c6b7b3c8e5a687fac
[ "MIT" ]
14
2019-02-02T07:46:45.000Z
2020-06-23T14:01:14.000Z
src/vulkan/vk/vk_sampler_address_mode.rs
Anovs/lava
29697d763f76f3d2bb50787c6b7b3c8e5a687fac
[ "MIT" ]
null
null
null
// Generated by `scripts/generate.js` use utils::vk_traits::*; /// Wrapper for [VkSamplerAddressMode](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSamplerAddressMode.html). #[repr(i32)] #[derive(Debug, PartialEq, Copy, Clone)] pub enum VkSamplerAddressMode { Repeat = 0, MirroredRepe...
27.594595
136
0.703232
2f0da171240a0c9db60a8cc5e469677bccd122a8
20,659
php
PHP
data/Chunks/1800/90/1/1891-01-28.php
PHPCraftdream/astro_de421
28bf0273641aa4805b269eb5a67e43a7da2f4a0f
[ "MIT" ]
null
null
null
data/Chunks/1800/90/1/1891-01-28.php
PHPCraftdream/astro_de421
28bf0273641aa4805b269eb5a67e43a7da2f4a0f
[ "MIT" ]
null
null
null
data/Chunks/1800/90/1/1891-01-28.php
PHPCraftdream/astro_de421
28bf0273641aa4805b269eb5a67e43a7da2f4a0f
[ "MIT" ]
null
null
null
<?php return [2411760.5,2411792.5,-57884519.99521818,1877166.754029733,969219.2614250456,-28335.69021872702,-182.5521313176472,47.61607001872695,-3.800757753255485,0.180974026107994,-0.005126587274670353,-9.016668501070773E-5,2.398316564677449E-5,-1.905834625740549E-6,9.76796217708931E-8,-2.091661346151113E-9,-19448936...
20,659
20,659
0.85464
5fc5931ca7ca790b6f904ef2972483f376c0db45
842
css
CSS
website/policia/static/policia/css/buscar.css
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
website/policia/static/policia/css/buscar.css
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
website/policia/static/policia/css/buscar.css
garnachod/ConcursoPolicia
f123595afc697ddfa862114a228d7351e2f8fd73
[ "Apache-2.0" ]
null
null
null
fieldset { margin-bottom: 10px; margin-top: 10px; } fieldset .radio-inline { margin-right: 10px; } #search-by-form-group { margin-right: 80px; } #search-max { max-width:80px; } .twitter-thumbnail { height: 90px; width: 90px; border-radius: 50%; } .twitter-name { margin-top: 13px...
13.15625
51
0.617577
f03b44b7bd155b16cda8a428f739db53cb3a8257
138
py
Python
helios/workflows/__init__.py
thiagosfs/helios-server
1616f742c0d3ab8833aab4cfbcc45d9818c68716
[ "Apache-2.0" ]
525
2015-01-04T11:51:26.000Z
2022-03-31T17:15:20.000Z
helios/workflows/__init__.py
thiagosfs/helios-server
1616f742c0d3ab8833aab4cfbcc45d9818c68716
[ "Apache-2.0" ]
238
2015-01-02T17:50:37.000Z
2022-02-09T16:39:49.000Z
helios/workflows/__init__.py
thiagosfs/helios-server
1616f742c0d3ab8833aab4cfbcc45d9818c68716
[ "Apache-2.0" ]
238
2015-01-05T23:09:20.000Z
2022-03-21T16:47:33.000Z
""" Helios Election Workflows """ from helios.datatypes import LDObjectContainer class WorkflowObject(LDObjectContainer): pass
13.8
46
0.76087
92d334b11e4701f2166bacde3d4c7206f7332d45
9,094
c
C
GraphicsMagick-1.3.37/hp2xx/sources/to_ilbm.c
BluepixelDev/AndroidConnor
64b3b2f07e2e9eef1536e8053e996d52b5d01b59
[ "MIT" ]
null
null
null
GraphicsMagick-1.3.37/hp2xx/sources/to_ilbm.c
BluepixelDev/AndroidConnor
64b3b2f07e2e9eef1536e8053e996d52b5d01b59
[ "MIT" ]
null
null
null
GraphicsMagick-1.3.37/hp2xx/sources/to_ilbm.c
BluepixelDev/AndroidConnor
64b3b2f07e2e9eef1536e8053e996d52b5d01b59
[ "MIT" ]
null
null
null
/* Copyright (c) 1992 - 1994 Claus H. Langhans. All rights reserved. Distributed by Free Software Foundation, Inc. This file is part of HP2xx. HP2xx is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of us...
28.154799
85
0.639653
a3d6ecd05057fd75da75af697e283d6b907a9644
169
kt
Kotlin
rxandroidbluetooth/src/main/java/duoshine/rxandroidbluetooth/exception/BluetoothAdapterNullPointException.kt
duoshine/AndroidBluetoothPro
f9972dfdd213d0cffa39ebf898c61dc9b71ffef0
[ "Apache-2.0" ]
6
2020-01-08T04:57:59.000Z
2021-06-23T03:46:55.000Z
rxandroidbluetooth/src/main/java/duoshine/rxandroidbluetooth/exception/BluetoothAdapterNullPointException.kt
duoshine/AndroidBluetoothPro
f9972dfdd213d0cffa39ebf898c61dc9b71ffef0
[ "Apache-2.0" ]
null
null
null
rxandroidbluetooth/src/main/java/duoshine/rxandroidbluetooth/exception/BluetoothAdapterNullPointException.kt
duoshine/AndroidBluetoothPro
f9972dfdd213d0cffa39ebf898c61dc9b71ffef0
[ "Apache-2.0" ]
1
2020-11-09T11:17:00.000Z
2020-11-09T11:17:00.000Z
package duoshine.rxandroidbluetooth.exception /** *Created by chen on 2019 */ class BluetoothAdapterNullPointException (message: String) : BluetoothException(message)
28.166667
88
0.816568
9ea175642dbd5872f1748f2d58392ab9a9cbc5f4
2,298
swift
Swift
OntSwift/SmartContract/Nativevm/OntidContractTxBuilder.swift
hsiaosiyuan0/ontology-swift-sdk
3003613b8d14a6767c89aecf71db78b9cbacad96
[ "MIT" ]
null
null
null
OntSwift/SmartContract/Nativevm/OntidContractTxBuilder.swift
hsiaosiyuan0/ontology-swift-sdk
3003613b8d14a6767c89aecf71db78b9cbacad96
[ "MIT" ]
1
2019-07-22T03:28:23.000Z
2019-07-22T03:28:23.000Z
OntSwift/SmartContract/Nativevm/OntidContractTxBuilder.swift
hsiaosiyuan0/ontology-swift-sdk
3003613b8d14a6767c89aecf71db78b9cbacad96
[ "MIT" ]
1
2022-01-15T13:15:00.000Z
2022-01-15T13:15:00.000Z
// // OntidContractTxBuilder.swift // OntSwift // // Created by hsiaosiyuan on 2018/12/8. // Copyright © 2018 hsiaosiyuan. All rights reserved. // import Foundation public class OntidContractTxBuilder { public static let ontidContract = "0000000000000000000000000000000000000003" public init() {} public fu...
25.820225
80
0.689295
8ae7d13ae9c4c529155a5c695757b153764bdd1a
1,051
rs
Rust
tokio-postgres/src/macros.rs
seanlth/rust-postgres
9e497c7ce484466b115f266d6101f279af5617d7
[ "MIT" ]
null
null
null
tokio-postgres/src/macros.rs
seanlth/rust-postgres
9e497c7ce484466b115f266d6101f279af5617d7
[ "MIT" ]
null
null
null
tokio-postgres/src/macros.rs
seanlth/rust-postgres
9e497c7ce484466b115f266d6101f279af5617d7
[ "MIT" ]
1
2019-02-07T18:16:08.000Z
2019-02-07T18:16:08.000Z
/// Generates a simple implementation of `ToSql::accepts` which accepts the /// types passed to it. #[macro_export] macro_rules! accepts { ($($expected:pat),+) => ( fn accepts(ty: &$crate::types::Type) -> bool { match *ty { $($expected)|+ => true, _ => false ...
32.84375
78
0.43197
168ccae01844be23b717609da7caf97cdbc0443b
1,823
c
C
release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/libsmbclient/src/stat/stat_k.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
4
2017-05-17T11:27:04.000Z
2020-05-24T07:23:26.000Z
release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/libsmbclient/src/stat/stat_k.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
1
2018-08-21T03:43:09.000Z
2018-08-21T03:43:09.000Z
release/src-rt-6.x.4708/router/samba-3.5.8/testsuite/libsmbclient/src/stat/stat_k.c
afeng11/tomato-arm
1ca18a88480b34fd495e683d849f46c2d47bb572
[ "FSFAP" ]
5
2017-10-11T08:09:11.000Z
2020-10-14T04:10:13.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <libsmbclient.h> #define MAX_BUFF_SIZE 255 char g_workgroup[MAX_BUFF_SIZE]; char g_username[MAX_BUFF_SIZE]; char g_password[MAX_BUFF_SIZE]; char g_server[MAX_BUFF_SIZE]; char g_share[MAX_BUFF_SIZE]; void auth_f...
19.815217
82
0.66429
e7411f2ca4fefcef0f03988dad3e2e5cd8f8180c
431
js
JavaScript
pages/components/favicons.js
npmkit/npmkit-website
436043112cad5b764a8b79e8ab75918083e3dbdb
[ "MIT" ]
1
2018-07-12T20:05:06.000Z
2018-07-12T20:05:06.000Z
pages/components/favicons.js
npmkit/npmkit-website
436043112cad5b764a8b79e8ab75918083e3dbdb
[ "MIT" ]
4
2018-07-13T21:44:52.000Z
2018-07-18T12:06:12.000Z
pages/components/favicons.js
npmkit/npmkit-website
436043112cad5b764a8b79e8ab75918083e3dbdb
[ "MIT" ]
null
null
null
import React from 'react'; export default () => ( <React.Fragment> <link rel="shortcut icon" href="/static/favicon.ico" /> <link rel="apple-touch-icon" href="/static/favicon-128x128.png" /> {[256, 196, 128, 96, 32, 16].map(size => ( <link rel="icon" type="image/png" href={`/...
25.352941
70
0.542923
fb73d9f7b41ba1eae1b56d570acf73deb91f4da9
1,570
swift
Swift
SwiftUITips/ContentView2.swift
appke/playSwiftUI
8a355473b89c6d9f639784ad1ef93b5c1079865f
[ "MIT" ]
10
2020-10-29T03:45:29.000Z
2021-12-03T07:34:44.000Z
SwiftUITips/ContentView2.swift
appke/playSwiftUI
8a355473b89c6d9f639784ad1ef93b5c1079865f
[ "MIT" ]
null
null
null
SwiftUITips/ContentView2.swift
appke/playSwiftUI
8a355473b89c6d9f639784ad1ef93b5c1079865f
[ "MIT" ]
1
2020-10-27T13:25:15.000Z
2020-10-27T13:25:15.000Z
// // ContentView2.swift // SwiftUITips // // Created by MGBook on 2020/4/16. // Copyright © 2020 MGBook. All rights reserved. // import SwiftUI // 跨容器对齐,自定义Alignment // 系统自带的Aligment,跨容器无效 struct CustomHorizontalAlignment: AlignmentID { // 默认偏移量,默认左对齐,偏移量为 0 static func defaultValue(in context: ViewDimen...
23.088235
82
0.577707
7f7647283028943ca8db9f16103107b19d8cdb25
4,233
go
Go
config/k8s-configmap-collector/k8s_configmap_collector.go
luqmanMohammed/k8s-events-runner
88193e5c0aee78cdc865aa086f10fbc90cef6478
[ "MIT" ]
null
null
null
config/k8s-configmap-collector/k8s_configmap_collector.go
luqmanMohammed/k8s-events-runner
88193e5c0aee78cdc865aa086f10fbc90cef6478
[ "MIT" ]
null
null
null
config/k8s-configmap-collector/k8s_configmap_collector.go
luqmanMohammed/k8s-events-runner
88193e5c0aee78cdc865aa086f10fbc90cef6478
[ "MIT" ]
null
null
null
package k8sconfigmapcollector import ( "context" "encoding/json" config "github.com/luqmanMohammed/k8s-events-runner/config" "gopkg.in/yaml.v2" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" ) //K8sConfigMapCollector implents ConfigCollect...
36.491379
129
0.751713
6757993fd0cbb1e340bd65530c9ae53c4f7f487a
83
cql
SQL
src/server/src/main/resources/db/cassandra/017_add_custom_jmx_port.cql
viossat/cassandra-reaper
d001c47f61a171298337101052d76d336cd5851d
[ "Apache-2.0" ]
null
null
null
src/server/src/main/resources/db/cassandra/017_add_custom_jmx_port.cql
viossat/cassandra-reaper
d001c47f61a171298337101052d76d336cd5851d
[ "Apache-2.0" ]
3
2022-01-21T23:49:20.000Z
2022-02-26T00:46:54.000Z
src/server/src/main/resources/db/cassandra/017_add_custom_jmx_port.cql
fmarslan/cassandra-reaper
f5431fb45bace8e065033754ce9de86f44091434
[ "Apache-2.0" ]
null
null
null
-- -- Add custom JMX ports per cluster -- ALTER TABLE cluster ADD properties text;
16.6
40
0.73494
ddc819d4ff637bb68783d604d1394b02b7c69f86
28,830
php
PHP
application/models/bo/model_bonos.php
paloverde-grupo/jakkerp
c3865307bca7ad0bda547056ce5a8bf002167767
[ "Apache-2.0" ]
null
null
null
application/models/bo/model_bonos.php
paloverde-grupo/jakkerp
c3865307bca7ad0bda547056ce5a8bf002167767
[ "Apache-2.0" ]
null
null
null
application/models/bo/model_bonos.php
paloverde-grupo/jakkerp
c3865307bca7ad0bda547056ce5a8bf002167767
[ "Apache-2.0" ]
null
null
null
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class model_bonos extends CI_Model { function setUp($nombre,$descripcion,$inicio,$fin,$mes_desde_afiliacion,$mes_desde_activacion,$frecuencia,$estatus,$plan){ $bono = array( 'nombre' => $nombre, 'descripcion' => $descripcion, 'inicio'...
34.199288
217
0.625494
b906e373462c23e83f2f64dfd11926da74e6a843
59,755
c
C
sdk_linux/soc/src/mpp/component/hifb/drv/hi3516cv500/hifb_graphic_hal.c
openharmony-gitee-mirror/device_hisilicon_hispark_taurus
9b04ede169525cf3ac928b43b9aa0e858d1de772
[ "Apache-2.0" ]
null
null
null
sdk_linux/soc/src/mpp/component/hifb/drv/hi3516cv500/hifb_graphic_hal.c
openharmony-gitee-mirror/device_hisilicon_hispark_taurus
9b04ede169525cf3ac928b43b9aa0e858d1de772
[ "Apache-2.0" ]
null
null
null
sdk_linux/soc/src/mpp/component/hifb/drv/hi3516cv500/hifb_graphic_hal.c
openharmony-gitee-mirror/device_hisilicon_hispark_taurus
9b04ede169525cf3ac928b43b9aa0e858d1de772
[ "Apache-2.0" ]
1
2021-09-13T11:15:01.000Z
2021-09-13T11:15:01.000Z
/* * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later v...
35.420865
117
0.694703
8fd8520e386ed305922cc342b2d7586588bb5216
698
asm
Assembly
oeis/020/A020968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/020/A020968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/020/A020968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A020968: Expansion of 1/((1-7*x)*(1-8*x)*(1-11*x)). ; Submitted by Jamie Morken(s2) ; 1,26,455,6700,89661,1130766,13712035,161844800,1874156921,21406992706,242089527615,2717862993300,30349359729781,337562780465846,3743627395703195,41428143398876200,457728746687336241,5051402198472270186,55698140476085454775,613752674...
41.058824
493
0.82235
a07c2a271e4f4175ae83249a7ceb1c8f1780830e
2,792
asm
Assembly
src/stage2/stage2.asm
devcfei/bootstrap-x86
c16824b76df59bc9305cfee10b07baa6e2c41dd7
[ "Unlicense" ]
null
null
null
src/stage2/stage2.asm
devcfei/bootstrap-x86
c16824b76df59bc9305cfee10b07baa6e2c41dd7
[ "Unlicense" ]
null
null
null
src/stage2/stage2.asm
devcfei/bootstrap-x86
c16824b76df59bc9305cfee10b07baa6e2c41dd7
[ "Unlicense" ]
null
null
null
%define org_start 7c00h boot: org 0x7C00 mov ax, cs mov ds, ax mov es, ax ;mov ax, 07E0h ; 07E0h = (07C00h+200h)/10h, beginning of stack segment. mov ax, 0800h ; 0800h = (07E00h+200h)/10h, beginning of stack segment. mov ss, ax mov sp, 2000h ; 8k of stack space. call screenClean push 0000h call curso...
17.559748
74
0.61712
de8e0860e7ccb50f4eaf4fc2bcdfe9818af4556a
4,162
rs
Rust
cv-optimize/src/single_view_optimizer.rs
Muqito/cv
ccfea8d53b151c86956cd4c2099819aa41d8cecb
[ "MIT" ]
null
null
null
cv-optimize/src/single_view_optimizer.rs
Muqito/cv
ccfea8d53b151c86956cd4c2099819aa41d8cecb
[ "MIT" ]
null
null
null
cv-optimize/src/single_view_optimizer.rs
Muqito/cv
ccfea8d53b151c86956cd4c2099819aa41d8cecb
[ "MIT" ]
null
null
null
use crate::AdaMaxSo3Tangent; use cv_core::{FeatureWorldMatch, Pose, Projective, Se3TangentSpace, WorldToCamera}; use cv_geom::epipolar; use float_ord::FloatOrd; use itertools::izip; fn landmark_delta(pose: WorldToCamera, landmark: FeatureWorldMatch) -> Option<Se3TangentSpace> { let FeatureWorldMatch(bearing, world...
33.837398
98
0.605718
b88d548dd1f30ece53442d171b017056eb9708a3
4,941
html
HTML
app/templates/asistencias/registrar_asistencias.html
originaltebas/chmembers
983578ec8cb6d1da76e98b1467d996d6fac752ee
[ "MIT" ]
null
null
null
app/templates/asistencias/registrar_asistencias.html
originaltebas/chmembers
983578ec8cb6d1da76e98b1467d996d6fac752ee
[ "MIT" ]
2
2021-09-08T01:19:10.000Z
2022-03-11T23:59:40.000Z
app/templates/asistencias/registrar_asistencias.html
originaltebas/chmembers
983578ec8cb6d1da76e98b1467d996d6fac752ee
[ "MIT" ]
1
2019-04-09T10:42:20.000Z
2019-04-09T10:42:20.000Z
<!-- app/templates/asistencias/consultas_asistencias.html --> {% if current_user.is_authenticated %} {# En general a todo menos a Seguimiento y Ausencias pueden acceder Editores y Admin #} {% if current_user.get_urole() >= 1 %} {% set nombre = "Asitencia" %} {% set nombres = "Asistencias" %} <!-- Begin Page Content...
46.17757
133
0.51528
8abffab9bf2834ccba68b41dbe03df7577aebfc4
559
rs
Rust
src/lib.rs
dcao/babble
283057f7f832fc45fdeb7bd78740d2b66a1b1706
[ "MIT" ]
null
null
null
src/lib.rs
dcao/babble
283057f7f832fc45fdeb7bd78740d2b66a1b1706
[ "MIT" ]
2
2021-12-03T17:56:33.000Z
2021-12-14T23:30:07.000Z
src/lib.rs
dcao/babble
283057f7f832fc45fdeb7bd78740d2b66a1b1706
[ "MIT" ]
2
2021-10-16T22:04:14.000Z
2022-02-25T00:22:08.000Z
//! Library learning using [anti-unification] of e-graphs. //! //! [anti-unification]: https://en.wikipedia.org/wiki/Anti-unification_(computer_science) #![warn( clippy::all, clippy::pedantic, anonymous_parameters, elided_lifetimes_in_paths, missing_copy_implementations, missing_debug_implement...
21.5
89
0.735242
b0f4b00d9384878bbfdbc9e98d28d3d1adc972eb
2,366
sql
SQL
api/prisma/migrations/20210913110807_init/migration.sql
prasidh-agg/wavechat
74a9a91295ef3be63575f997a26ffb1168bf86f2
[ "MIT" ]
null
null
null
api/prisma/migrations/20210913110807_init/migration.sql
prasidh-agg/wavechat
74a9a91295ef3be63575f997a26ffb1168bf86f2
[ "MIT" ]
null
null
null
api/prisma/migrations/20210913110807_init/migration.sql
prasidh-agg/wavechat
74a9a91295ef3be63575f997a26ffb1168bf86f2
[ "MIT" ]
null
null
null
-- CreateEnum CREATE TYPE "UserRole" AS ENUM ('USER', 'ADMIN'); -- CreateTable CREATE TABLE "User" ( "id" TEXT NOT NULL, "pk" SERIAL NOT NULL, "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP(3) NOT NULL, "email" TEXT NOT NULL, "username" TEXT NOT NULL, "di...
28.166667
119
0.691462
ddd66f9faf4d6565caaf42928ff8795e8bacaf5b
3,697
php
PHP
resources/views/admin/list_buku.blade.php
onolaksono/perpustakaan
b403a8092e92cbc946098c1a14710b4b2e635c36
[ "MIT" ]
null
null
null
resources/views/admin/list_buku.blade.php
onolaksono/perpustakaan
b403a8092e92cbc946098c1a14710b4b2e635c36
[ "MIT" ]
null
null
null
resources/views/admin/list_buku.blade.php
onolaksono/perpustakaan
b403a8092e92cbc946098c1a14710b4b2e635c36
[ "MIT" ]
null
null
null
@extends('layouts.app2') @section('content') <!-- Page wrapper --> <div class="page-wrapper" style="height:1200px;"> <!-- Bread crumb --> <div class="row page-titles"> <div class="col-md-5 align-self-center"> <h3 class="text-primary">Dat...
56.015152
211
0.304842
bb1345b7984110596f7d50e8dd1e75c9fe760271
336
rb
Ruby
app/admin/article.rb
ranxiang/apollog2
ac57bdcc978d170db40407a551fda04c2868fe2a
[ "MIT" ]
null
null
null
app/admin/article.rb
ranxiang/apollog2
ac57bdcc978d170db40407a551fda04c2868fe2a
[ "MIT" ]
6
2020-02-28T17:51:44.000Z
2021-09-27T20:27:54.000Z
app/admin/article.rb
ranxiang/apollog2
ac57bdcc978d170db40407a551fda04c2868fe2a
[ "MIT" ]
null
null
null
ActiveAdmin.register Article do index do column :title column :body do |article| truncate(article.body) end column :published column :created_at column :updated_at actions end controller do def permitted_params params.permit(:article => [:title, :body, :published]) ...
16.8
60
0.657738
e77c4337e7de6df2831b115b1038d8bd86e55833
343
js
JavaScript
src/core/mesh/Tw2MeshLineArea.js
ion9/ccpwgl
c31632d0fb7d9f0be19a5eb5452e5d5f74a914c5
[ "MIT" ]
72
2015-02-20T06:08:45.000Z
2022-01-28T13:47:18.000Z
src/core/mesh/Tw2MeshLineArea.js
ion9/ccpwgl
c31632d0fb7d9f0be19a5eb5452e5d5f74a914c5
[ "MIT" ]
120
2015-02-23T11:42:49.000Z
2021-10-10T06:38:20.000Z
src/core/mesh/Tw2MeshLineArea.js
ion9/ccpwgl
c31632d0fb7d9f0be19a5eb5452e5d5f74a914c5
[ "MIT" ]
44
2015-02-20T06:49:24.000Z
2022-02-08T19:11:12.000Z
import {Tw2GeometryLineBatch} from '../batch'; import {Tw2MeshArea} from './Tw2MeshArea'; /** * Tw2MeshLineArea * * @class */ export class Tw2MeshLineArea extends Tw2MeshArea { constructor() { super(); } } /** * Render Batch Constructor * @type {Tw2RenderBatch} */ Tw2MeshLineArea.batchType ...
16.333333
49
0.673469
8136d9087acd29be49874561b0b3f530afaa5bce
4,670
rs
Rust
diesel/diesel/src/sqlite/connection/sqlite_value.rs
Bownairo/rhipster
a5682ca0793047494840484fbeb830851026916b
[ "MIT" ]
2
2016-09-16T22:21:54.000Z
2019-03-08T16:01:39.000Z
diesel/diesel/src/sqlite/connection/sqlite_value.rs
Bownairo/rhipster
a5682ca0793047494840484fbeb830851026916b
[ "MIT" ]
null
null
null
diesel/diesel/src/sqlite/connection/sqlite_value.rs
Bownairo/rhipster
a5682ca0793047494840484fbeb830851026916b
[ "MIT" ]
1
2022-03-09T09:34:31.000Z
2022-03-09T09:34:31.000Z
extern crate libsqlite3_sys as ffi; use std::marker::PhantomData; use std::ptr::NonNull; use std::{slice, str}; use crate::row::*; use crate::sqlite::{Sqlite, SqliteType}; use super::stmt::StatementUse; /// Raw sqlite value as received from the database /// /// Use existing `FromSql` implementations to convert this...
29.371069
95
0.554818
ddb7bd744bc35312fb1a352ac173c18345b8e5c9
170
php
PHP
src/AldrumoComServiceProvider.php
Aldrumo-Themes/aldrumo-com
37b16d6a2e4f76fd0ccda60c4e718edfaa194bff
[ "MIT" ]
null
null
null
src/AldrumoComServiceProvider.php
Aldrumo-Themes/aldrumo-com
37b16d6a2e4f76fd0ccda60c4e718edfaa194bff
[ "MIT" ]
null
null
null
src/AldrumoComServiceProvider.php
Aldrumo-Themes/aldrumo-com
37b16d6a2e4f76fd0ccda60c4e718edfaa194bff
[ "MIT" ]
null
null
null
<?php namespace AldrumoThemes\AldrumoCom; use Aldrumo\ThemeManager\Theme\ThemeServiceProvider; class AldrumoComServiceProvider extends ThemeServiceProvider { // }
15.454545
60
0.817647
b6feb054ca2f5d702733d0a8f2de44b3c348e957
20
rb
Ruby
test/okjson/t/err-naninf.rb
orhantoy/gson.rb
7e2fc18be18da8fede00fac8bbc91e2d1a9fcd03
[ "Apache-2.0" ]
3
2015-03-06T12:10:16.000Z
2019-07-04T04:44:50.000Z
test/okjson/t/err-naninf.rb
sferik/gson.rb
a976cef16afa2e460b6e3c82cce9a50ba467d133
[ "Apache-2.0" ]
2
2015-06-17T19:27:54.000Z
2018-02-26T19:31:18.000Z
test/okjson/t/err-naninf.rb
sferik/gson.rb
a976cef16afa2e460b6e3c82cce9a50ba467d133
[ "Apache-2.0" ]
4
2015-12-22T13:32:14.000Z
2022-01-28T17:40:46.000Z
[1.0/0,0.0/0,-1.0/0]
20
20
0.45
d0c50ccda69a0acff94331e9450a2e96f709c467
432
sql
SQL
flush.sql
bengineerdavis/cryptoware-pricing
13597ebe0afbbf175851e18912e395f757730f58
[ "MIT" ]
null
null
null
flush.sql
bengineerdavis/cryptoware-pricing
13597ebe0afbbf175851e18912e395f757730f58
[ "MIT" ]
null
null
null
flush.sql
bengineerdavis/cryptoware-pricing
13597ebe0afbbf175851e18912e395f757730f58
[ "MIT" ]
null
null
null
DROP TABLE IF EXISTS merchant CASCADE; DROP TABLE IF EXISTS ram_prod CASCADE; DROP TABLE IF EXISTS time CASCADE; DROP TABLE IF EXISTS region CASCADE; DROP TABLE IF EXISTS cpu_price CASCADE; DROP TABLE IF EXISTS crypto_data CASCADE; DROP TABLE IF EXISTS ram_price CASCADE; DROP TABLE IF EXISTS gpu_prod CASCADE; DROP TABL...
36
41
0.821759
165c124b75272b283bac456c1e1fa37727ffc57e
49
ts
TypeScript
src/helpers/SpecularLayer/index.ts
VoloshchenkoAl/custom-pointer
9c93f5561ef3992dd4ae8c8393c778492e3de681
[ "MIT" ]
15
2021-04-16T14:12:33.000Z
2022-03-10T06:33:15.000Z
src/helpers/SpecularLayer/index.ts
VoloshchenkoAl/custom-pointer
9c93f5561ef3992dd4ae8c8393c778492e3de681
[ "MIT" ]
null
null
null
src/helpers/SpecularLayer/index.ts
VoloshchenkoAl/custom-pointer
9c93f5561ef3992dd4ae8c8393c778492e3de681
[ "MIT" ]
2
2021-11-17T16:52:06.000Z
2022-02-20T16:43:02.000Z
export { SpecularLayer } from './SpecularLayer';
24.5
48
0.734694
eb2728391bf6d30e7ea618e98611e07c3ad44b47
253
sql
SQL
spesialist-felles/src/main/resources/db/migration/V10__rename_besvart_til_ferdigstilt.sql
navikt/helse-spesialist
e221266ef6c7edfd3335717925094aea11385c60
[ "MIT" ]
null
null
null
spesialist-felles/src/main/resources/db/migration/V10__rename_besvart_til_ferdigstilt.sql
navikt/helse-spesialist
e221266ef6c7edfd3335717925094aea11385c60
[ "MIT" ]
10
2021-05-06T06:26:33.000Z
2022-03-15T18:25:58.000Z
spesialist-felles/src/main/resources/db/migration/V10__rename_besvart_til_ferdigstilt.sql
navikt/helse-spesialist
e221266ef6c7edfd3335717925094aea11385c60
[ "MIT" ]
null
null
null
ALTER TABLE oppgave RENAME COLUMN besvart TO ferdigstilt; ALTER TABLE oppgave DROP COLUMN status; DROP TYPE oppgave_status; CREATE TYPE løsningstype_type AS ENUM('System', 'Saksbehandler'); ALTER TABLE oppgave ADD COLUMN løsningstype løsningstype_type;
42.166667
65
0.833992
b12f04ce4b5e992909991a3828dcde330ea6347f
1,062
swift
Swift
LabelSwapping/PrimoProgrammaSwift/main.swift
fede-da/SwiftFirstProjects
153b5e94183db8af50b4509b86947de85781cece
[ "MIT" ]
null
null
null
LabelSwapping/PrimoProgrammaSwift/main.swift
fede-da/SwiftFirstProjects
153b5e94183db8af50b4509b86947de85781cece
[ "MIT" ]
null
null
null
LabelSwapping/PrimoProgrammaSwift/main.swift
fede-da/SwiftFirstProjects
153b5e94183db8af50b4509b86947de85781cece
[ "MIT" ]
null
null
null
// // main.swift // PrimoProgrammaSwift // // Created by Federico D'Armini on 19/11/21. // //-----Vedi appunti----- import Foundation var source1 = StartPoint() var router1 = Router() var router2 = Router() var endPoints = [EndPoint(colore:"red"),EndPoint(colore:"orange"),EndPoint(colore:"yellow"),EndPoint(colore...
23.6
193
0.694915
d19257750a11119b308a5b72ff74cf3e49f6728f
1,191
swift
Swift
ConfluxSDK/ConfluxSDK/Extension/SMP+Extension.swift
R0uter/swift-conflux-wallet-sdk
6d88a88057c5b6c57a2b1db747a446b58db1721c
[ "MIT" ]
null
null
null
ConfluxSDK/ConfluxSDK/Extension/SMP+Extension.swift
R0uter/swift-conflux-wallet-sdk
6d88a88057c5b6c57a2b1db747a446b58db1721c
[ "MIT" ]
null
null
null
ConfluxSDK/ConfluxSDK/Extension/SMP+Extension.swift
R0uter/swift-conflux-wallet-sdk
6d88a88057c5b6c57a2b1db747a446b58db1721c
[ "MIT" ]
null
null
null
// // SMP+Extension.swift // ConfluxSDK // // Created by 区块链 on 2020/2/19. // Copyright © 2020 com.blockchain.dappbirds. All rights reserved. // extension BInt { public func toInt() ->Int? { return asInt() } internal init?(str: String, radix: Int) { self.init(0) let bint16 = BIn...
24.8125
71
0.548279
7a093faadd7e971423f4d1486baddbee93a362c8
1,257
rb
Ruby
.fastlane/beta-post-s3.rb
gemmakbarlow-secondary/ios-oss
dcd9218e45ec19a3318afac5a84e7861a034ffbb
[ "Apache-2.0" ]
8,505
2016-12-14T16:11:25.000Z
2022-03-31T12:01:03.000Z
.fastlane/beta-post-s3.rb
gemmakbarlow-secondary/ios-oss
dcd9218e45ec19a3318afac5a84e7861a034ffbb
[ "Apache-2.0" ]
1,059
2016-12-14T19:02:47.000Z
2022-03-25T21:36:58.000Z
.fastlane/beta-post-s3.rb
gemmakbarlow-secondary/ios-oss
dcd9218e45ec19a3318afac5a84e7861a034ffbb
[ "Apache-2.0" ]
1,414
2016-12-14T16:42:41.000Z
2022-03-08T08:30:12.000Z
#!/usr/bin/env ruby require 'json' require 'yaml' require 'plist' require 'fog-aws' # # Interfacing with the builds bucket on S3 # def fog @fog ||= Fog::Storage.new({ provider: 'AWS', aws_secret_access_key: ENV['AWS_SECRET_ACCESS_KEY'], aws_access_key_id: ENV['AWS_ACCESS_KEY_ID'] }) ...
16.539474
81
0.680191