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
575dba07a9779b464e441d23c96da48c39a1db83
1,157
c
C
Udemy_Course_1/lonie_count_solution.c
pteczar/c_learning_1
b5f51307ecf7d4a476d216a87a593b2357d6850a
[ "MIT" ]
1
2022-01-20T17:15:39.000Z
2022-01-20T17:15:39.000Z
Udemy_Course_1/lonie_count_solution.c
pteczar/c_learning_1
b5f51307ecf7d4a476d216a87a593b2357d6850a
[ "MIT" ]
null
null
null
Udemy_Course_1/lonie_count_solution.c
pteczar/c_learning_1
b5f51307ecf7d4a476d216a87a593b2357d6850a
[ "MIT" ]
null
null
null
#include <stdio.h> int main() { FILE *fp; char filename[100]; char ch; int linecount, wordcount, charcount; // Initialize counter variables linecount = 0; wordcount = 0; charcount = 0; // Prompt user to enter filename printf("Enter a filename :"); fgets(filename, 1000, stdin); // Open file in rea...
20.660714
64
0.566984
90085b3d90e34b325db804cfa02dee7e41b82fba
5,147
swift
Swift
FOSSAsia/EventsBaseListViewController.swift
GodsEye-07/open-event-ios-development
3ad58d5a26988c5efbdc8e920b24099b3ba97db5
[ "MIT" ]
null
null
null
FOSSAsia/EventsBaseListViewController.swift
GodsEye-07/open-event-ios-development
3ad58d5a26988c5efbdc8e920b24099b3ba97db5
[ "MIT" ]
null
null
null
FOSSAsia/EventsBaseListViewController.swift
GodsEye-07/open-event-ios-development
3ad58d5a26988c5efbdc8e920b24099b3ba97db5
[ "MIT" ]
null
null
null
// // EventsBaseListViewController.swift // FOSSAsia // // Created by Jurvis Tan on 12/2/16. // Copyright © 2016 FossAsia. All rights reserved. // import UIKit import Pages class EventsBaseListViewController: UIViewController, EventListBrowsingByDate, UIViewControllerPreviewingDelegate { fileprivate var coll...
38.125926
191
0.684476
0b78677adaa1ddcbacf884f29508f3b4ea829e33
5,100
py
Python
focus/receiver.py
frederikhermans/focus
6228ba5fc8b41c74f2e22d5c2de20040b206d70a
[ "BSD-3-Clause" ]
6
2016-04-18T09:40:16.000Z
2021-01-05T22:03:54.000Z
focus/receiver.py
horizon00/focus
6228ba5fc8b41c74f2e22d5c2de20040b206d70a
[ "BSD-3-Clause" ]
1
2017-12-10T14:13:50.000Z
2017-12-10T14:13:50.000Z
focus/receiver.py
horizon00/focus
6228ba5fc8b41c74f2e22d5c2de20040b206d70a
[ "BSD-3-Clause" ]
5
2018-01-04T14:59:50.000Z
2018-10-20T14:40:21.000Z
# Copyright (c) 2016, Frederik Hermans, Liam McNamara # # This file is part of FOCUS and is licensed under the 3-clause BSD license. # The full license can be found in the file COPYING. import cPickle as pickle import sys import click import imageframer import numpy as np import rscode import focus def _grayscale(...
36.428571
81
0.610196
8598b20ca4643aa03186fb2618959f04dd1ee588
625
js
JavaScript
editor/icon-baseline-linear-scale-element/template.js
AgeOfLearning/material-design-icons
b1da14a0e8a7011358bf4453c127d9459420394f
[ "Apache-2.0" ]
null
null
null
editor/icon-baseline-linear-scale-element/template.js
AgeOfLearning/material-design-icons
b1da14a0e8a7011358bf4453c127d9459420394f
[ "Apache-2.0" ]
null
null
null
editor/icon-baseline-linear-scale-element/template.js
AgeOfLearning/material-design-icons
b1da14a0e8a7011358bf4453c127d9459420394f
[ "Apache-2.0" ]
null
null
null
export default (context, html) => html` <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24"><defs><path id="a" d="M0 0h24v24H0V0z"/></defs><clipPath id="b"><use xlink:href="#a" overflow="visible"/></clipPath><path clip-path="url(#b)" d="M19.5...
208.333333
582
0.6224
20238695db6c8ea6645548997ee3171353f09383
96
css
CSS
gulp-rev/app/css/components/circle-box-list.css
jackkunfu/try
c028ecfdb5662f9c215761e4551561c162ac0f7f
[ "MIT" ]
null
null
null
gulp-rev/app/css/components/circle-box-list.css
jackkunfu/try
c028ecfdb5662f9c215761e4551561c162ac0f7f
[ "MIT" ]
15
2021-03-08T19:51:18.000Z
2022-02-26T15:35:59.000Z
gulp-rev/app/css/components/circle-box-list.css
jackkunfu/try
c028ecfdb5662f9c215761e4551561c162ac0f7f
[ "MIT" ]
null
null
null
body{ text-align: center; } .circle-box { } .circle-box ul{ } .circle-box ul li { }
8.727273
21
0.541667
1b3fdfac1c3492d8dda5dcfb7371fea78593b0a1
7,279
swift
Swift
SeekPreview/SeekPreview.swift
Enricoza/SeekPreview
219e5068d67817a27a8f1f3de316e1b15e508fa5
[ "MIT" ]
null
null
null
SeekPreview/SeekPreview.swift
Enricoza/SeekPreview
219e5068d67817a27a8f1f3de316e1b15e508fa5
[ "MIT" ]
2
2021-03-17T21:04:34.000Z
2021-03-20T16:10:22.000Z
SeekPreview/SeekPreview.swift
Enricoza/SeekPreview
219e5068d67817a27a8f1f3de316e1b15e508fa5
[ "MIT" ]
null
null
null
// // PreviewSeekBar.swift // PreviewSeekBar // // Created by Enrico Zannini on 14/03/2021. // import UIKit /** * A view that can be attached to a seekbar (UISlider) to act as a Seek Preview for a video player. * * The view needs to be as wide as we want to slide the preview, it will internally resize and follo...
35.857143
171
0.656684
6eb60cf7b7e164787ff684f5b56e999048dedc36
56
sql
SQL
public_html/OrionBank/queries/UPDATE_USER_LASTNAME.sql
JMortonTan/IT202450
1a22a9f7815adc194a694d089da1b0e8b1ee115e
[ "MIT" ]
null
null
null
public_html/OrionBank/queries/UPDATE_USER_LASTNAME.sql
JMortonTan/IT202450
1a22a9f7815adc194a694d089da1b0e8b1ee115e
[ "MIT" ]
null
null
null
public_html/OrionBank/queries/UPDATE_USER_LASTNAME.sql
JMortonTan/IT202450
1a22a9f7815adc194a694d089da1b0e8b1ee115e
[ "MIT" ]
null
null
null
UPDATE Users SET last_name = :input WHERE id = :user_id;
56
56
0.75
df6a7b8b9640a44671033e9c1f3c07ff07a8b57c
322
rb
Ruby
lib/graphql/internal_representation.rb
daemonsy/graphql-ruby
7902732fe80f9d094a3b2d08d2ac8236f2e564f2
[ "MIT" ]
5,340
2015-02-10T00:43:13.000Z
2022-03-31T17:35:25.000Z
lib/graphql/internal_representation.rb
daemonsy/graphql-ruby
7902732fe80f9d094a3b2d08d2ac8236f2e564f2
[ "MIT" ]
3,327
2015-02-10T19:02:51.000Z
2022-03-31T23:11:32.000Z
lib/graphql/internal_representation.rb
daemonsy/graphql-ruby
7902732fe80f9d094a3b2d08d2ac8236f2e564f2
[ "MIT" ]
1,476
2015-02-26T22:50:27.000Z
2022-03-29T21:38:43.000Z
# frozen_string_literal: true require "graphql/internal_representation/document" require "graphql/internal_representation/node" require "graphql/internal_representation/print" require "graphql/internal_representation/rewrite" require "graphql/internal_representation/scope" require "graphql/internal_representation/visit...
40.25
50
0.872671
7f79475e53d63fa7a7be09fab5984222e99e708e
9,200
rs
Rust
samplecode/localattestation/attestation/src/func.rs
lacabra/rust-sgx-sdk
af16efe23834010668ff210160868e963c389458
[ "Apache-2.0" ]
4
2019-02-09T04:20:39.000Z
2021-04-22T21:37:29.000Z
samplecode/localattestation/attestation/src/func.rs
MiaZmy1221/rust_sgx_sdk
8f37c76c0928cfc0c5e0379cfac59e7afc4b07a0
[ "Apache-2.0" ]
null
null
null
samplecode/localattestation/attestation/src/func.rs
MiaZmy1221/rust_sgx_sdk
8f37c76c0928cfc0c5e0379cfac59e7afc4b07a0
[ "Apache-2.0" ]
2
2019-02-09T04:20:39.000Z
2020-02-06T02:02:56.000Z
// Copyright (C) 2017-2018 Baidu, Inc. All Rights Reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
40.350877
175
0.699565
d5b952fbc8c75876cc915046c4ad4e96c8ea9e3c
1,336
h
C
src/http/interfaces/server_interface.h
edenreich/http-component
d1de28b7f29d0fc56adac991786d06952d236287
[ "MIT" ]
null
null
null
src/http/interfaces/server_interface.h
edenreich/http-component
d1de28b7f29d0fc56adac991786d06952d236287
[ "MIT" ]
null
null
null
src/http/interfaces/server_interface.h
edenreich/http-component
d1de28b7f29d0fc56adac991786d06952d236287
[ "MIT" ]
null
null
null
#ifndef SERVER_INTERFACE_H #define SERVER_INTERFACE_H #include "../events/common_events.h" #include <string> namespace Http { namespace Interfaces { /** * The Server Interface */ class ServerInterface { public: /** * Virtual destructor. ...
21.901639
90
0.461826
0936ee7082fd0510c516fd65bcbcfd0072215553
31
sql
SQL
source/packr/testdata/7_test.up.sql
nkonev/migrate
719f17f88e714128b95a145a2ec69807e9722939
[ "MIT" ]
null
null
null
source/packr/testdata/7_test.up.sql
nkonev/migrate
719f17f88e714128b95a145a2ec69807e9722939
[ "MIT" ]
null
null
null
source/packr/testdata/7_test.up.sql
nkonev/migrate
719f17f88e714128b95a145a2ec69807e9722939
[ "MIT" ]
null
null
null
INSERT INTO test(i) VALUES (7);
31
31
0.709677
1fddb48d2bb2e4de99d5dafb913e421872d7623b
172
css
CSS
src/css/index.css
fperich/saltala-react-node-mysql
7a405a664179ee5f85c7a5e5916f0e14693d2319
[ "MIT" ]
null
null
null
src/css/index.css
fperich/saltala-react-node-mysql
7a405a664179ee5f85c7a5e5916f0e14693d2319
[ "MIT" ]
null
null
null
src/css/index.css
fperich/saltala-react-node-mysql
7a405a664179ee5f85c7a5e5916f0e14693d2319
[ "MIT" ]
null
null
null
body { font-size: 26px; margin-top: 60px; } .name { color: white; margin-right: 20px; } input, select { margin-bottom: 10px; margin-right: 10px; }
12.285714
24
0.581395
d5f6b851407ab580441961fcba5e8a9b724ae52c
1,125
h
C
libutils/utils/file_utils.h
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
1,398
2018-12-05T19:13:15.000Z
2022-03-29T08:26:03.000Z
libutils/utils/file_utils.h
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
53
2018-10-21T03:28:25.000Z
2021-03-16T03:50:54.000Z
libutils/utils/file_utils.h
Mu-L/confluo
e9b8621e99f56b1adf5675c4296c006d89e6e582
[ "Apache-2.0" ]
208
2018-10-28T03:05:46.000Z
2022-02-06T06:16:37.000Z
#ifndef UTILS_FILE_UTILS_H_ #define UTILS_FILE_UTILS_H_ #include <stdio.h> #include <dirent.h> #include <unistd.h> #include <cstdlib> #include <string> #include <errno.h> #include <ftw.h> #include <climits> #include <fcntl.h> #include <sys/stat.h> #include "assertions.h" namespace utils { class file_utils { publi...
20.833333
99
0.727111
ef8924b3313df18d7e2c383c1af3465b704bc4d4
9,310
sql
SQL
Initial/src/DBScript.sql
vkhorikov/LegacyProjects
c423e69c7a126472867c9cfbb3f7b72e37f45ed9
[ "MIT" ]
36
2018-03-29T02:24:20.000Z
2022-01-07T14:39:30.000Z
Initial/src/DBScript.sql
vkhorikov/LegacyProjects
c423e69c7a126472867c9cfbb3f7b72e37f45ed9
[ "MIT" ]
null
null
null
Initial/src/DBScript.sql
vkhorikov/LegacyProjects
c423e69c7a126472867c9cfbb3f7b72e37f45ed9
[ "MIT" ]
20
2019-02-11T12:23:18.000Z
2021-11-27T03:45:14.000Z
create database PackageDelivery go USE PackageDelivery GO /****** Object: Table [dbo].[ADDR_TBL] Script Date: 1/16/2018 11:34:47 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[ADDR_TBL]( [ID_CLM] [int] IDENTITY(1,1) NOT NULL, [STR] [char](300) NULL, [CT_ST]...
55.748503
702
0.396348
2b5eb30dcb76aa16197956275cf92ab04f81abcb
27,328
sql
SQL
dbscripts/insert.sql
openMF/egalite-web-service
ac4904b323c7440a4e651e73817abf4c9e80d8a1
[ "Apache-2.0" ]
1
2016-05-13T03:09:20.000Z
2016-05-13T03:09:20.000Z
dbscripts/insert.sql
openMF/egalite-web-service
ac4904b323c7440a4e651e73817abf4c9e80d8a1
[ "Apache-2.0" ]
null
null
null
dbscripts/insert.sql
openMF/egalite-web-service
ac4904b323c7440a4e651e73817abf4c9e80d8a1
[ "Apache-2.0" ]
9
2016-05-13T03:09:33.000Z
2019-02-02T21:16:18.000Z
INSERT INTO "IBSMFITEST"."AMTB_FUNCTION" (FUNC_ID,BASE_FUNC,FUNC_DESC,FUNC_COMMAND) VALUES ('FUN00001','UserManagement','List','listUsers'); INSERT INTO "IBSMFITEST"."AMTB_FUNCTION" (FUNC_ID,BASE_FUNC,FUNC_DESC,FUNC_COMMAND) VALUES ('FUN00002','UserManagement','Add','addUser'); INSERT INTO "IBSMFITEST"."AMTB_FUNCTION" ...
92.952381
460
0.758489
20a368a5eeec0a4197d528b6ea4bbd3e34d9541c
24,389
css
CSS
src/App.css
aurora-collective/aurora-front
121211d47e80f1928beac79d12046016c474375f
[ "Apache-2.0" ]
null
null
null
src/App.css
aurora-collective/aurora-front
121211d47e80f1928beac79d12046016c474375f
[ "Apache-2.0" ]
null
null
null
src/App.css
aurora-collective/aurora-front
121211d47e80f1928beac79d12046016c474375f
[ "Apache-2.0" ]
null
null
null
body,html{ margin:0; padding:0 } *{ -webkit-box-sizing:border-box; box-sizing:border-box } a{ color:#fff } html{ color:ivory; font-family:rubik; font-size:16px } body{ background-color:#000; background-image:url(./img/background.png); -webkit-animation:bganim 20s linear 0s infinite; animation:bg...
21.189401
133
0.65058
673d19073a68ece9813a6f10a3be8f2f07a279b2
1,467
swift
Swift
Durak/DurakServiceManager.swift
carolineberger/Durak
4aec12dddfc27b69d1bd9e732bbc9149b858742d
[ "MIT" ]
null
null
null
Durak/DurakServiceManager.swift
carolineberger/Durak
4aec12dddfc27b69d1bd9e732bbc9149b858742d
[ "MIT" ]
null
null
null
Durak/DurakServiceManager.swift
carolineberger/Durak
4aec12dddfc27b69d1bd9e732bbc9149b858742d
[ "MIT" ]
null
null
null
// // DurakServiceManager.swift // Durak // // Created by Caroline Berger on 14/06/2018. // Copyright © 2018 Caroline Berger. All rights reserved. // import Foundation import MultipeerConnectivity class DurakServiceManager : NSObject { // Service type must be a unique string, at most 15 characters long ...
32.6
194
0.718473
124f18a6a6fc938a01851bf4a6b9346cf7003ec2
495
asm
Assembly
programs/oeis/075/A075425.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/075/A075425.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/075/A075425.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A075425: Number of steps to reach 1 starting with n and iterating the map n ->rad(n)-1, where rad(n) is the squarefree kernel of n (A007947). ; 0,1,2,1,2,3,4,1,2,3,4,3,4,5,6,1,2,3,4,3,4,5,6,3,2,3,2,5,6,7,8,1,2,3,4,3,4,5,6,3,4,5,6,5,6,7,8,3,4,3,4,3,4,3,4,5,6,7,8,7,8,9,4,1,2,3,4,3,4,5,6,3,4,5,6,5,6,7,8,3,2,3,4,5,6,7,8,...
49.5
202
0.614141
680b55fe0c7327fc184dfffedcf339f3a8969a26
537
sql
SQL
lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2019.12.23.1__modify_table.sql
osgvsun/lubanlou
16d87a30edcb677bb399e001a2020e8527ba26f2
[ "BSD-3-Clause" ]
1
2022-01-20T04:42:37.000Z
2022-01-20T04:42:37.000Z
lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2019.12.23.1__modify_table.sql
osgvsun/lubanlou
16d87a30edcb677bb399e001a2020e8527ba26f2
[ "BSD-3-Clause" ]
null
null
null
lubanlou-master/lubanlou-provider/lubanlou-provider-oauth2/src/main/resources/db/migration/V2019.12.23.1__modify_table.sql
osgvsun/lubanlou
16d87a30edcb677bb399e001a2020e8527ba26f2
[ "BSD-3-Clause" ]
null
null
null
alter table cookie drop primary key; delete from cookie where client_id is null or client_id = 'null' or client_id = 'NULL' or username is null or username = 'NULL' or username = 'null'; alter table cookie add id int primary key auto_increment first; alter table cookie add constraint fk_cookie_client_id_oaut...
35.8
136
0.806331
84fd7ac46548921ae9033f15d124a4e7dd4c92dd
3,177
asm
Assembly
src/test/ref/font-hex-show.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/font-hex-show.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/font-hex-show.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Shows a font where each char contains the number of the char (00-ff) /// @file /// Commodore 64 Registers and Constants /// @file /// The MOS 6526 Complex Interface Adapter (CIA) /// /// http://archive.6502.org/datasheets/mos_6526_cia_recreated.pdf // Commodore 64 PRG executable file .file [name="font-hex-show.prg...
21.039735
262
0.548316
aa2c29b22f9602ebfdfd78edfba35f1bb9192b7b
346
lua
Lua
Projects/GenerateDatas/convert_lua/item.TbItemExtra/1040040001.lua
fanlanweiy/luban_examples
9ddca2a01e8db1573953be3f32c59104451cd96e
[ "MIT" ]
44
2021-05-06T06:16:55.000Z
2022-03-30T06:27:25.000Z
Projects/GenerateDatas/convert_lua/item.TbItemExtra/1040040001.lua
fanlanweiy/luban_examples
9ddca2a01e8db1573953be3f32c59104451cd96e
[ "MIT" ]
1
2021-07-25T16:35:32.000Z
2021-08-23T04:59:49.000Z
Projects/GenerateDatas/convert_lua/item.TbItemExtra/1040040001.lua
fanlanweiy/luban_examples
9ddca2a01e8db1573953be3f32c59104451cd96e
[ "MIT" ]
14
2021-06-09T10:38:59.000Z
2022-03-30T06:27:24.000Z
return { _name = 'InteractionItem', id = 1040040001, holding_static_mesh = "StaticMesh'/Game/X6GameData/Prototype/PrototypeAssets/StaticMesh/SM_Ball.SM_Ball'", holding_static_mesh_mat = "MaterialInstanceConstant'/Game/X6GameData/Prototype/PrototypeAssets/CustomizableGrid/Materials/Presets/M_Grid_preset_...
57.666667
172
0.809249
5cec5d0755ebf4f0c497288e33e72feb451b8152
4,049
css
CSS
css/theme/octo.css
pixelastic/talk-webperfs
8e64bcd65a1e560eea548477047c0c14ca44a0fb
[ "MIT" ]
null
null
null
css/theme/octo.css
pixelastic/talk-webperfs
8e64bcd65a1e560eea548477047c0c14ca44a0fb
[ "MIT" ]
null
null
null
css/theme/octo.css
pixelastic/talk-webperfs
8e64bcd65a1e560eea548477047c0c14ca44a0fb
[ "MIT" ]
null
null
null
/** * Octo theme for reveal.js. */ @font-face { font-family: "IntervalSansProRegular"; src: url("../../fonts/interval_regular-webfont.eot"); src: url("../../fonts/interval_regular-webfont.eot?#iefix") format("embedded-opentype"), url("../../fonts/interval_regular-webfont.woff") format("woff"), ...
23.270115
118
0.676957
0bc25237116d36d1b3724261d878f108f7fb3326
1,103
py
Python
abc199/d/main.py
KeiNishikawa218/atcoder
0af5e091f8b1fd64d5ca7b46b06b9356eacfe601
[ "MIT" ]
null
null
null
abc199/d/main.py
KeiNishikawa218/atcoder
0af5e091f8b1fd64d5ca7b46b06b9356eacfe601
[ "MIT" ]
null
null
null
abc199/d/main.py
KeiNishikawa218/atcoder
0af5e091f8b1fd64d5ca7b46b06b9356eacfe601
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 class UnionFind(): def __init__(self, n): self.parent = [-1 for _ in range(n)] # 正==子: 根の頂点番号 / 負==根: 連結頂点数 def find(self, x): if self.parent[x] < 0: return x else: self.parent[x] = self.find(self.parent[x]) return self....
23.978261
54
0.481414
e7e46d31c42a93c03c2df71128dd11ecc6e4322c
3,289
py
Python
lib/misc.py
cripplet/langmuir-hash
5b4aa8e705b237704dbb99fbaa89af8cc2e7a8b5
[ "MIT" ]
null
null
null
lib/misc.py
cripplet/langmuir-hash
5b4aa8e705b237704dbb99fbaa89af8cc2e7a8b5
[ "MIT" ]
null
null
null
lib/misc.py
cripplet/langmuir-hash
5b4aa8e705b237704dbb99fbaa89af8cc2e7a8b5
[ "MIT" ]
null
null
null
# custom libs from lib.args import getConf # Python libs from re import sub from os import mkdir from os.path import exists from getpass import getuser from socket import gethostname def genFrame(file): from classes.frame import Frame from lib.array import getGrid grid = getGrid(file) return(Frame(len(grid[0]), l...
28.353448
112
0.617817
f56c6fd191fa78fec47808b6b0354aa2e8d3f834
1,449
rs
Rust
src/screeps_ai/offer_manager/action/my_hook_impl.rs
yxwsbobo/screeps_src_rust
cddf310b9033d70c8cd1589804ab1497224a6a99
[ "MIT" ]
null
null
null
src/screeps_ai/offer_manager/action/my_hook_impl.rs
yxwsbobo/screeps_src_rust
cddf310b9033d70c8cd1589804ab1497224a6a99
[ "MIT" ]
null
null
null
src/screeps_ai/offer_manager/action/my_hook_impl.rs
yxwsbobo/screeps_src_rust
cddf310b9033d70c8cd1589804ab1497224a6a99
[ "MIT" ]
null
null
null
//use screeps::{objects::*, Transferable}; //unsafe impl Transferable for RoomObject {} //unsafe impl Withdrawable for RoomObject {} //unsafe impl Attackable for RoomObject {} //unsafe impl HasStore for RoomObject {} //unsafe impl HasId for RoomObject {} //unsafe impl StructureProperties for RoomObject {} //unsafe imp...
35.341463
85
0.665286
0b95ab4e62401288fe9f479867e2cab6f6c5d09c
373
py
Python
tests/conftest.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
tests/conftest.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
tests/conftest.py
scottmanderson/minerva
fe6a6857d892d9c7d881701c91990d9697bde00e
[ "MIT" ]
null
null
null
import pytest from app import create_app, db from config import TestConfig @pytest.fixture def test_client(): flask_app = create_app(TestConfig) with flask_app.test_client() as testing_client: with flask_app.app_context(): yield testing_client @pytest.fixture def init_database(test_clie...
18.65
51
0.72118
18127c90dba9ee39967f4f6b45a5051345c025a2
178
rs
Rust
question13/src/main.rs
masahikokawai/rust_compile_challenge
3b13f2ab71adcbc761bab3790110832fe1ce0709
[ "MIT" ]
null
null
null
question13/src/main.rs
masahikokawai/rust_compile_challenge
3b13f2ab71adcbc761bab3790110832fe1ce0709
[ "MIT" ]
null
null
null
question13/src/main.rs
masahikokawai/rust_compile_challenge
3b13f2ab71adcbc761bab3790110832fe1ce0709
[ "MIT" ]
null
null
null
// personが出力できるように構造体だけ修正してください #[derive(Debug)] struct Person<'a> { name: &'a str, } fn main() { let person = Person { name: "zakku" }; println!("{:?}", person); }
16.181818
42
0.578652
22d691563196c8b157757c1535f94599a8af4454
4,333
c
C
AED2/FinalProject/ABB/ABB.c
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
null
null
null
AED2/FinalProject/ABB/ABB.c
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
11
2020-01-28T22:59:24.000Z
2022-03-11T23:59:04.000Z
AED2/FinalProject/ABB/ABB.c
matheuscr30/UFU
e947e5a4ccd5c025cb8ef6e00b42ea1160742712
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include "ABB.h" Arv cria_vazia() { return NULL; } void libera_arvore(Arv *A) { if (A != NULL) { libera_arvore(&(*A)->sae); libera_arvore(&(*A)->sad); free(*A); } A = NULL; } void exibe_arvore(Arv A) { if (A == NULL) printf("<>"); printf("<"); ...
20.535545
121
0.519963
25c51ba65a0da4e79572a21a54851de8b97e2028
992
lua
Lua
jyx2/data/lua/jygame/ka33.lua
Leo-YJL/jynew
66fbefb65e8dee8b0ea17611e98d36d9d83cd3c3
[ "MIT" ]
null
null
null
jyx2/data/lua/jygame/ka33.lua
Leo-YJL/jynew
66fbefb65e8dee8b0ea17611e98d36d9d83cd3c3
[ "MIT" ]
null
null
null
jyx2/data/lua/jygame/ka33.lua
Leo-YJL/jynew
66fbefb65e8dee8b0ea17611e98d36d9d83cd3c3
[ "MIT" ]
null
null
null
if InTeam(1) == false then goto label0 end; Talk(3, "胡斐,你准备好了吗?", "talkname3", 0); if AskBattle() == true then goto label1 end; do return end; ::label1:: if TryBattle(4) == false then goto label2 end; LightScence(); Talk(3, "不错,你有这样的武艺,你爹也可放心了.来,把我杀了,替你爹报仇.", "talkname3",...
39.68
102
0.514113
d00f08109ab0bc768a950755ca35fca6cdefd797
199
rb
Ruby
db/migrate/20200418095948_remove_unneeded_fields.rb
farisshajahan/coronaport
076970a95dfa10d44c9e3c865d706ce5f4074740
[ "MIT" ]
null
null
null
db/migrate/20200418095948_remove_unneeded_fields.rb
farisshajahan/coronaport
076970a95dfa10d44c9e3c865d706ce5f4074740
[ "MIT" ]
48
2020-04-27T17:29:14.000Z
2022-03-31T01:06:37.000Z
db/migrate/20200418095948_remove_unneeded_fields.rb
coronasafe/coronapoint
7e835e1f6b9fbfd929ceb207fd6ddee4319e605b
[ "MIT" ]
2
2020-04-28T08:36:09.000Z
2021-04-12T20:17:50.000Z
class RemoveUnneededFields < ActiveRecord::Migration[6.0] def change drop_table :applications drop_table :non_medical_reqs drop_table :medical_reqs drop_table :travellers end end
22.111111
57
0.768844
c66f5894b9952d7b2637d058310f90365ee56bcb
308
rb
Ruby
lib/rakefile/grep.rb
bendiken/rakefile
574693a47a3436575fde44b92a8695a5369b9087
[ "Unlicense" ]
1
2016-05-09T12:05:59.000Z
2016-05-09T12:05:59.000Z
lib/rakefile/grep.rb
bendiken/rakefile
574693a47a3436575fde44b92a8695a5369b9087
[ "Unlicense" ]
null
null
null
lib/rakefile/grep.rb
bendiken/rakefile
574693a47a3436575fde44b92a8695a5369b9087
[ "Unlicense" ]
null
null
null
def egrep(pattern, files) Dir[files].each do |file| File.open(file).readlines.each_with_index do |line, lineno| puts "#{file}:#{lineno + 1}:#{line}" if line =~ pattern end end end desc 'Look for TODO and FIXME tags in the code base.' task :todo do egrep /#.*(FIXME|TODO)/, '**/*.rb' end
23.692308
63
0.636364
9b8fc07ea11670c9fa21d2efd5d414f1fcbf25bb
6,761
js
JavaScript
www/js/app.js
raviatobjectz/udacity_Corporate_Dashboard
21f7bcda6ddf58fdb2b387f18c6788f13d74eca1
[ "MIT" ]
null
null
null
www/js/app.js
raviatobjectz/udacity_Corporate_Dashboard
21f7bcda6ddf58fdb2b387f18c6788f13d74eca1
[ "MIT" ]
null
null
null
www/js/app.js
raviatobjectz/udacity_Corporate_Dashboard
21f7bcda6ddf58fdb2b387f18c6788f13d74eca1
[ "MIT" ]
null
null
null
var app=angular.module('CorporateDashboard', ['ngMaterial', 'ngMessages', 'smart-table']); app.controller('allTabs', function($scope, $timeout, $interval, $q, $filter) { $scope.pageHeading = "XYZ Corporate Dashboard"; $scope.selectedMenu = 1; google.charts.load('current', {packages: ['corechart', 'bar']}); $s...
30.183036
115
0.533057
5bf4701edb2909ecc7507e98cdbf5f2b66c13172
5,548
c
C
Code/Source/Game.c
polluks/Parrot
ef8ce4d3bbe76d1de8fcf3a1748d577e0cb11483
[ "MIT" ]
null
null
null
Code/Source/Game.c
polluks/Parrot
ef8ce4d3bbe76d1de8fcf3a1748d577e0cb11483
[ "MIT" ]
null
null
null
Code/Source/Game.c
polluks/Parrot
ef8ce4d3bbe76d1de8fcf3a1748d577e0cb11483
[ "MIT" ]
null
null
null
/** $Id: Game.c, 1.2 2020/05/07 08:54:00, betajaen Exp $ Parrot - Point and Click Adventure Game Player ============================================== Copyright 2020 Robin Southern http://github.com/betajaen/parrot Permission is hereby granted, free of charge, to any person obtaining a copy o...
24.121739
137
0.706741
80bbb840c30eea5d582f62f48dc9f307e64e6179
2,713
kt
Kotlin
app/src/main/java/com/vjgarcia/chucknorrisjokes/presentation/JokesStore.kt
vjgarciag96/chuck-norris-jokes
2914428c1a986148e1b19ef060682c85d146f2ca
[ "MIT" ]
null
null
null
app/src/main/java/com/vjgarcia/chucknorrisjokes/presentation/JokesStore.kt
vjgarciag96/chuck-norris-jokes
2914428c1a986148e1b19ef060682c85d146f2ca
[ "MIT" ]
null
null
null
app/src/main/java/com/vjgarcia/chucknorrisjokes/presentation/JokesStore.kt
vjgarciag96/chuck-norris-jokes
2914428c1a986148e1b19ef060682c85d146f2ca
[ "MIT" ]
1
2020-06-15T21:12:54.000Z
2020-06-15T21:12:54.000Z
package com.vjgarcia.chucknorrisjokes.presentation import com.jakewharton.rxrelay2.BehaviorRelay import com.jakewharton.rxrelay2.PublishRelay import com.vjgarcia.chucknorrisjokes.domain.* import com.vjgarcia.chucknorrisjokes.presentation.model.JokesEffects import com.vjgarcia.chucknorrisjokes.presentation.model.JokesM...
41.106061
122
0.733137
bbf03dfbc0597b6c02e1710339fe0b5ae74c8343
1,984
rs
Rust
crates/cli/src/main.rs
GODcoin/GODcoin-rs
73065ded9917896c26040c388b88f26f4367768e
[ "MIT" ]
3
2018-09-17T05:34:00.000Z
2019-05-30T07:36:20.000Z
crates/cli/src/main.rs
GODcoin/GODcoin-rs
73065ded9917896c26040c388b88f26f4367768e
[ "MIT" ]
2
2018-10-26T23:33:50.000Z
2019-05-23T22:28:44.000Z
crates/cli/src/main.rs
GODcoin/GODcoin-rs
73065ded9917896c26040c388b88f26f4367768e
[ "MIT" ]
null
null
null
use clap::{App, AppSettings, Arg, SubCommand}; use std::{ env, path::{Path, PathBuf}, }; mod keypair; mod wallet; use self::keypair::*; use self::wallet::*; fn main() { godcoin::init().unwrap(); let app = App::new("godcoin") .about("GODcoin core CLI") .version(env!("CARGO_PKG_VERSION"...
32.52459
86
0.503528
064dec3164bb80ee3b76d27fae203dbc8594db92
2,331
rs
Rust
app/src-tauri/src/main.rs
arturh85/factorio-bot-tauri
133aa25f8a42ff11dd019c9bfd70c96df8622f9e
[ "MIT" ]
1
2021-05-19T20:58:32.000Z
2021-05-19T20:58:32.000Z
app/src-tauri/src/main.rs
arturh85/factorio-bot-tauri
133aa25f8a42ff11dd019c9bfd70c96df8622f9e
[ "MIT" ]
102
2022-02-16T22:51:50.000Z
2022-03-31T20:58:42.000Z
app/src-tauri/src/main.rs
arturh85/factorio-bot-tauri
133aa25f8a42ff11dd019c9bfd70c96df8622f9e
[ "MIT" ]
null
null
null
#![warn(clippy::all, clippy::pedantic)] #![cfg_attr( all(not(debug_assertions), target_os = "windows"), windows_subsystem = "windows" )] #[macro_use] extern crate paris; mod commands; mod constants; use async_std::sync::{Arc, RwLock}; use async_std::task::JoinHandle; use factorio_bot::cli::handle_cli; use factori...
34.279412
77
0.715573
0687f384625fbf470d66c72bf61985ba1b6189b9
5,004
kt
Kotlin
atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AsmUtil.kt
deepmedia/kotlinx.atomicfu
450b056efa4c8e4f922f2a3f8d1958404513b1f7
[ "Apache-2.0" ]
null
null
null
atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AsmUtil.kt
deepmedia/kotlinx.atomicfu
450b056efa4c8e4f922f2a3f8d1958404513b1f7
[ "Apache-2.0" ]
null
null
null
atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AsmUtil.kt
deepmedia/kotlinx.atomicfu
450b056efa4c8e4f922f2a3f8d1958404513b1f7
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.atomicfu.transformer import org.objectweb.asm.* import org.objectweb.asm.Opcodes.* import org.objectweb.asm.Type.* import org.objectweb.asm.tree.* import org.objectweb.asm.util.* val Abstract...
33.810811
132
0.653477
08c75c6bd89142a65fb4a27874e2fcb8ee4b5c87
325
sql
SQL
backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5512030_sys_purchase_invoice_perf_imrpovements.sql
dram/metasfresh
a1b881a5b7df8b108d4c4ac03082b72c323873eb
[ "RSA-MD" ]
1,144
2016-02-14T10:29:35.000Z
2022-03-30T09:50:41.000Z
backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5512030_sys_purchase_invoice_perf_imrpovements.sql
vestigegroup/metasfresh
4b2d48c091fb2a73e6f186260a06c715f5e2fe96
[ "RSA-MD" ]
8,283
2016-04-28T17:41:34.000Z
2022-03-30T13:30:12.000Z
backend/de.metas.fresh/de.metas.fresh.base/src/main/sql/postgresql/system/70-de.metas.fresh/5512030_sys_purchase_invoice_perf_imrpovements.sql
vestigegroup/metasfresh
4b2d48c091fb2a73e6f186260a06c715f5e2fe96
[ "RSA-MD" ]
441
2016-04-29T08:06:07.000Z
2022-03-28T06:09:56.000Z
DROP INDEX IF EXISTS m_hu_assignment_document_idx; CREATE INDEX m_hu_assignment_document_idx ON public.m_hu_assignment USING btree (record_id, ad_table_id) TABLESPACE pg_default; COMMENT ON INDEX m_hu_assignment_document_idx IS 'have record_id first, because it''s much, much more distinctive than ad_table_i...
36.111111
86
0.821538
1fa0440bda43dfbff4eb9a69b31b12a2e7f4b689
1,045
html
HTML
manuscript/page-193/body.html
marvindanig/ecce-homo
998a2f772c3378ff3cfe8f606fa205bf052177b8
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
manuscript/page-193/body.html
marvindanig/ecce-homo
998a2f772c3378ff3cfe8f606fa205bf052177b8
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
manuscript/page-193/body.html
marvindanig/ecce-homo
998a2f772c3378ff3cfe8f606fa205bf052177b8
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
<div class="leaf flex"><div class="inner justify"><p class="no-indent ">thee all the speech and word shrines of the world, here would all existence become speech, here would all Becoming learn of thee how to speak.") This is my experience of inspiration. I do not doubt but that I should have to go back thousands of ye...
1,045
1,045
0.766507
d4642717f336993bdf72b8a6deb6a570cc41d3e7
1,398
kt
Kotlin
app/src/main/java/com/lagradost/shiro/ui/MyMiniControllerFragment.kt
deceptions/no
6f8d6a26f9cc380899582b4aa642fca9998a9d08
[ "MIT" ]
160
2021-09-13T15:25:41.000Z
2022-03-31T17:01:31.000Z
app/src/main/java/com/lagradost/shiro/ui/MyMiniControllerFragment.kt
Redddtt/no
45f132cd888ec6a4a6613b23cddc053f09103057
[ "MIT" ]
158
2021-09-14T15:54:21.000Z
2022-03-31T14:56:39.000Z
app/src/main/java/com/lagradost/shiro/ui/MyMiniControllerFragment.kt
Redddtt/no
45f132cd888ec6a4a6613b23cddc053f09103057
[ "MIT" ]
9
2021-09-16T23:56:35.000Z
2022-03-19T04:23:14.000Z
package com.lagradost.shiro.ui import android.os.Bundle import android.view.View import android.widget.LinearLayout import android.widget.ProgressBar import android.widget.RelativeLayout import com.google.android.gms.cast.framework.media.widget.MiniControllerFragment import com.jaredrummler.cyanea.Cyanea import com.la...
39.942857
133
0.723176
9c6b9d99a76cb6fde8a6ce4a84dda57e51191696
3,102
js
JavaScript
src/js/pmz/pmz-utils.js
RomanGolovanov/ametro-editor
5d323d91e4182c5b985220cc1fb8ea19a7365877
[ "MIT" ]
2
2016-09-16T07:55:41.000Z
2018-09-03T14:45:20.000Z
src/js/pmz/pmz-utils.js
RomanGolovanov/ametro-editor
5d323d91e4182c5b985220cc1fb8ea19a7365877
[ "MIT" ]
1
2018-09-05T22:44:05.000Z
2018-09-05T22:44:05.000Z
src/js/pmz/pmz-utils.js
RomanGolovanov/ametro-editor
5d323d91e4182c5b985220cc1fb8ea19a7365877
[ "MIT" ]
3
2018-09-05T23:14:38.000Z
2020-06-29T23:09:57.000Z
var PmzUtils = (function(){ 'use strict'; function asInt(text){ return text && text!=='?' ? parseInt(text) : null; } function asArray(text){ if(!text) return []; return text.split(',').map(function(item){ return item === '?' ? null : item; }); } function asIntArray(text){ return...
26.288136
81
0.537073
9c662e20f4a0664c46bff2cc2da174f189da037b
5,504
js
JavaScript
src/pages/driverList/ViewDriver.js
tharshan24/we4us-web
7c41cc668492e478fd35d19113f3a8756c7ef18f
[ "MIT" ]
null
null
null
src/pages/driverList/ViewDriver.js
tharshan24/we4us-web
7c41cc668492e478fd35d19113f3a8756c7ef18f
[ "MIT" ]
null
null
null
src/pages/driverList/ViewDriver.js
tharshan24/we4us-web
7c41cc668492e478fd35d19113f3a8756c7ef18f
[ "MIT" ]
null
null
null
import { useState, useEffect } from "react"; import { // CalendarToday, LocationSearching, MailOutline, PermIdentity, PhoneAndroid, // Publish, } from "@material-ui/icons"; import FeaturedPlayListIcon from '@mui/icons-material/FeaturedPlayList'; import { useParams, useHistory } from "react-router-dom"; // i...
30.921348
100
0.525981
4d98a040b542a9a83b85c4a68ec2d6b99c52dfab
466
html
HTML
primeiro_teste/numeros_um_a_cem.html
wtomalves/logica_programacao_inicial_1
2f4697b322780a5332413473ac143951d7ac70f3
[ "MIT" ]
null
null
null
primeiro_teste/numeros_um_a_cem.html
wtomalves/logica_programacao_inicial_1
2f4697b322780a5332413473ac143951d7ac70f3
[ "MIT" ]
null
null
null
primeiro_teste/numeros_um_a_cem.html
wtomalves/logica_programacao_inicial_1
2f4697b322780a5332413473ac143951d7ac70f3
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html lang="pt"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Um a Cem</title> </head> <body> <script> function pulaLinha(){ document.write("<br>") } function mostra(frase) { document.write(frase); ...
14.5625
72
0.538627
f5e7cc14776d08d1d9150097d9f61adfe56286de
8,809
swift
Swift
Raiblocks/New User Experience/SeedConfirmationViewController.swift
sarmadmakhdoom/nano-wallet-ios
5c8d2578003a86f56dbfeb7186a17002de32a8f3
[ "BSD-2-Clause" ]
null
null
null
Raiblocks/New User Experience/SeedConfirmationViewController.swift
sarmadmakhdoom/nano-wallet-ios
5c8d2578003a86f56dbfeb7186a17002de32a8f3
[ "BSD-2-Clause" ]
null
null
null
Raiblocks/New User Experience/SeedConfirmationViewController.swift
sarmadmakhdoom/nano-wallet-ios
5c8d2578003a86f56dbfeb7186a17002de32a8f3
[ "BSD-2-Clause" ]
null
null
null
// // SeedConfirmationViewController.swift // Nano // // Created by Zack Shapiro on 1/19/18. // Copyright © 2018 Nano Wallet Company. All rights reserved. // import UIKit import LocalAuthentication import MobileCoreServices import Cartography import Fabric class SeedConfirmationViewController: UIViewController ...
40.040909
535
0.658872
a452ee41d69219cf5190d4d0f185c319920f7ff3
1,030
lua
Lua
appuio/redis/node_ready.lua
isantospardo/charts
d96bee5151118159b042268fcb8b163ebc82d4af
[ "BSD-3-Clause" ]
11
2019-05-15T06:08:13.000Z
2021-10-16T09:59:25.000Z
appuio/redis/node_ready.lua
isantospardo/charts
d96bee5151118159b042268fcb8b163ebc82d4af
[ "BSD-3-Clause" ]
123
2018-06-01T14:03:18.000Z
2022-02-14T10:17:18.000Z
appuio/redis/node_ready.lua
isantospardo/charts
d96bee5151118159b042268fcb8b163ebc82d4af
[ "BSD-3-Clause" ]
25
2018-06-01T09:05:07.000Z
2021-10-21T05:37:33.000Z
local raw_state = redis.call("info", "replication") local split = function(text, delim) return text:gmatch("[^"..delim.."]+") end local collect = function(iter) local elements = {} for s in iter do table.insert(elements, s); end return elements end local has_prefix = function(text, prefix) return...
24.52381
74
0.662136
3316542a2058418ad1159222b80cb45ab969c4ba
1,230
py
Python
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
16
2017-01-17T15:20:43.000Z
2021-03-19T05:45:14.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
415
2016-12-20T17:20:45.000Z
2018-09-23T07:59:23.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
10
2016-12-20T13:24:50.000Z
2021-03-19T05:46:43.000Z
# # BitBake Graphical GTK User Interface # # Copyright (C) 2012 Intel Corporation # # Authored by Shane Wang <shane.wang@intel.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundat...
31.538462
73
0.662602
0b6439e111fde6d2d72ca7b4f1a3a62557d36d00
8,850
py
Python
code/reasoningtool/kg-construction/QueryUniprot.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
31
2018-03-05T20:01:10.000Z
2022-02-01T03:31:22.000Z
code/reasoningtool/kg-construction/QueryUniprot.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
1,774
2018-03-06T01:55:03.000Z
2022-03-31T03:09:04.000Z
code/reasoningtool/kg-construction/QueryUniprot.py
andrewsu/RTX
dd1de262d0817f7e6d2f64e5bec7d5009a3a2740
[ "MIT" ]
19
2018-05-10T00:43:19.000Z
2022-03-08T19:26:16.000Z
""" This module defines the class QueryUniprot which connects to APIs at http://www.uniprot.org/uploadlists/, querying reactome pathways from uniprot id. * map_enzyme_commission_id_to_uniprot_ids(ec_id) Description: map enzyme commission id to UniProt ids Args: ec_id (str): enzyme commissio...
40.410959
116
0.63209
123962b0374f10a73d0d6336ebe8faddd4bbcc26
1,017
h
C
Division-Engine/Engine/Rendering/3D/MaterialHandler.h
Dlee4428/Division-Engine
fea6b1d389fbd10cac78b8510fa5a2c3d66d4791
[ "MIT" ]
null
null
null
Division-Engine/Engine/Rendering/3D/MaterialHandler.h
Dlee4428/Division-Engine
fea6b1d389fbd10cac78b8510fa5a2c3d66d4791
[ "MIT" ]
null
null
null
Division-Engine/Engine/Rendering/3D/MaterialHandler.h
Dlee4428/Division-Engine
fea6b1d389fbd10cac78b8510fa5a2c3d66d4791
[ "MIT" ]
null
null
null
#ifndef MATERIALHANDLER_H #define MATERIALHANDLER_H #include "../Texture/TextureHandler.h" #include "../../Core/Entity/Entity.h" #include "../Shader/ShaderProgram.h" // Material Handler Class that binds all shader and textures class MaterialHandler : public Entity{ public: MaterialHandler(); virtual ~MaterialHandl...
29.057143
94
0.772861
b8c242f8ef523d8a05886a01b0afe8354e7bae21
4,908
swift
Swift
Animatify/Transitions/RowAnimator.swift
Shubham0812/Animatify-ios
74e9152e124dca3982ea65de0dee09e889466ef4
[ "Apache-2.0" ]
445
2020-06-15T03:05:49.000Z
2022-03-19T09:34:23.000Z
Animatify/Transitions/RowAnimator.swift
muizidn/Animatify-ios
fb587aed2e1378bba5a9e23a24227ac8a45994b1
[ "Apache-2.0" ]
25
2020-06-19T15:54:59.000Z
2021-10-30T17:30:00.000Z
Animatify/Transitions/RowAnimator.swift
muizidn/Animatify-ios
fb587aed2e1378bba5a9e23a24227ac8a45994b1
[ "Apache-2.0" ]
86
2020-06-18T09:38:41.000Z
2022-01-16T16:57:27.000Z
// // RowAnimator.swift // Animatify // // Created by Shubham Singh on 11/02/21. // Copyright © 2021 Shubham Singh. All rights reserved. // import Foundation import UIKit class RowAnimator: NSObject, UIViewControllerAnimatedTransitioning { static var animator = RowAnimator() enum RowTransitionMode: I...
45.444444
252
0.646903
b84a909ecfe8262025460936554de7520e88eaad
337
asm
Assembly
programs/oeis/335/A335048.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/335/A335048.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/335/A335048.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A335048: Minimum sum of primes (see Comments). ; 0,3,8,13,22,31,44,57,74,91,112,133,158,183,212,241,274,307,344,381,422,463,508,553,602,651,704,757,814,871,932,993,1058,1123,1192,1261,1334,1407,1484,1561,1642,1723,1808,1893,1982,2071,2164,2257,2354,2451,2552 mov $1,2 add $1,$0 mul $1,$0 lpb $0 sub $1,$0 gcd $0,2...
28.083333
211
0.688427
2cffdc3b96999e6655ac6e8888f152d958c0889d
2,653
kt
Kotlin
app/src/main/java/com/jpsison/formverifier/MainViewModel.kt
jpsison-io/form-verifier
4947e18ba2ad57d5ebedeaaa4a60a17a1b5587c4
[ "MIT" ]
null
null
null
app/src/main/java/com/jpsison/formverifier/MainViewModel.kt
jpsison-io/form-verifier
4947e18ba2ad57d5ebedeaaa4a60a17a1b5587c4
[ "MIT" ]
null
null
null
app/src/main/java/com/jpsison/formverifier/MainViewModel.kt
jpsison-io/form-verifier
4947e18ba2ad57d5ebedeaaa4a60a17a1b5587c4
[ "MIT" ]
null
null
null
package com.jpsison.formverifier import android.app.Application import androidx.lifecycle.AndroidViewModel import com.jpsison.formverify.FormVerifier import com.jpsison.formverify.Verify import java.util.* class MainViewModel(application: Application) : AndroidViewModel(application) { val birthdayFormat = "MMMM ...
27.071429
81
0.471542
a8e0e5969e4555669b18957d270e181491ca958b
4,713
swift
Swift
GroundSdk/Internal/ComponentCore.swift
FZehana/pod_groundsdk
3c9e8389c18d7478211c9c82ac0d64fa864fe95d
[ "BSD-3-Clause" ]
13
2019-05-29T00:17:09.000Z
2021-12-22T16:05:15.000Z
GroundSdk/Internal/ComponentCore.swift
FZehana/pod_groundsdk
3c9e8389c18d7478211c9c82ac0d64fa864fe95d
[ "BSD-3-Clause" ]
5
2019-05-08T01:11:42.000Z
2021-07-20T21:29:33.000Z
GroundSdk/Internal/ComponentCore.swift
FZehana/pod_groundsdk
3c9e8389c18d7478211c9c82ac0d64fa864fe95d
[ "BSD-3-Clause" ]
10
2019-05-07T18:43:29.000Z
2021-09-14T13:41:14.000Z
// Copyright (C) 2019 Parrot Drones SAS // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and t...
39.605042
120
0.701676
4d6138de0f3c64a84f482168951b9654e6ca0e2c
648
swift
Swift
TBLCategoriesTests/OperatorTests.swift
twobitlabs/TBLCategories
8869e12ce4abdff9d866cd6fc0cd5d3b293c2a75
[ "MIT" ]
5
2015-08-28T01:02:28.000Z
2021-03-03T02:36:11.000Z
TBLCategoriesTests/OperatorTests.swift
twobitlabs/TBLCategories
8869e12ce4abdff9d866cd6fc0cd5d3b293c2a75
[ "MIT" ]
null
null
null
TBLCategoriesTests/OperatorTests.swift
twobitlabs/TBLCategories
8869e12ce4abdff9d866cd6fc0cd5d3b293c2a75
[ "MIT" ]
5
2016-01-06T11:41:13.000Z
2021-05-25T15:31:59.000Z
import TBLCategories import Quick import Nimble class OperatorTests: QuickSpec { override func spec() { let bar = "bar" describe("nil coalesce operator") { it("should overwite if left side is nil") { var foo: String? = nil foo ??= bar e...
20.903226
64
0.455247
715bdd94a26e4aee0fc106adc7acffc40641e818
2,988
kt
Kotlin
2 Layouts/AboutMe/app/src/main/java/com/nbcc/aboutme/MainActivity.kt
Android-SrB-2020/homework-JT-Stevens
a362be05db8977babbb0274a816d43edc2b1f5d6
[ "MIT" ]
null
null
null
2 Layouts/AboutMe/app/src/main/java/com/nbcc/aboutme/MainActivity.kt
Android-SrB-2020/homework-JT-Stevens
a362be05db8977babbb0274a816d43edc2b1f5d6
[ "MIT" ]
null
null
null
2 Layouts/AboutMe/app/src/main/java/com/nbcc/aboutme/MainActivity.kt
Android-SrB-2020/homework-JT-Stevens
a362be05db8977babbb0274a816d43edc2b1f5d6
[ "MIT" ]
null
null
null
package com.nbcc.aboutme import android.content.Context import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.view.inputmethod.InputMethodManager import androidx.databinding.DataBindingUtil import com.nbcc.aboutme.databinding.ActivityMainBinding import org.w3c...
32.835165
101
0.678046
0bb638739c980ce790455d27735a6b270c8bac91
57,331
js
JavaScript
js/main.fae2fbf2.chunk.js
swk23C8/swk23c8.github.io
2f6b2ef279fbcf89bc05649a3b1649cf990cdaa4
[ "Unlicense" ]
null
null
null
js/main.fae2fbf2.chunk.js
swk23C8/swk23c8.github.io
2f6b2ef279fbcf89bc05649a3b1649cf990cdaa4
[ "Unlicense" ]
null
null
null
js/main.fae2fbf2.chunk.js
swk23C8/swk23c8.github.io
2f6b2ef279fbcf89bc05649a3b1649cf990cdaa4
[ "Unlicense" ]
null
null
null
(window.webpackJsonpdexontech = window.webpackJsonpdexontech || []).push([ [0], { 128: function(e, t, a) { e.exports = a(286) }, 160: function(e, t) {}, 162: function(e, t) {}, 178: function(e, t) {}, 181: function(e, t) {}, 257: function(e, t) { ...
58.620654
492
0.308542
bcaf410ee6e323ce494d4f79ba16fb607c31dad8
403
js
JavaScript
server/models/createTables/createUsersTable.js
hustlaviola/Auto-Mart
a90c5b2b4aab9113cd4850584d45b4c6c8e71405
[ "MIT" ]
null
null
null
server/models/createTables/createUsersTable.js
hustlaviola/Auto-Mart
a90c5b2b4aab9113cd4850584d45b4c6c8e71405
[ "MIT" ]
4
2019-10-02T11:42:08.000Z
2021-05-09T04:57:32.000Z
server/models/createTables/createUsersTable.js
hustlaviola/auto-mart
a90c5b2b4aab9113cd4850584d45b4c6c8e71405
[ "MIT" ]
null
null
null
const createUsersTable = ` CREATE TABLE IF NOT EXISTS users( id SERIAL PRIMARY KEY NOT NULL, email VARCHAR(70) UNIQUE NOT NULL, first_name VARCHAR (30) NOT NULL, last_name VARCHAR (30) NOT NULL, password VARCHAR(60) NOT NULL, address VARCHAR(255), is_admin BOOLEAN DEFAULT false, update...
26.866667
50
0.709677
e7538911fc06cefb78ecb0dc7a98558ab9017ceb
695
js
JavaScript
handler.js
clifflu/summit-lucky-draw
f1b8cebad0ab465fec11c61e329967641803d45c
[ "MIT" ]
null
null
null
handler.js
clifflu/summit-lucky-draw
f1b8cebad0ab465fec11c61e329967641803d45c
[ "MIT" ]
null
null
null
handler.js
clifflu/summit-lucky-draw
f1b8cebad0ab465fec11c61e329967641803d45c
[ "MIT" ]
null
null
null
const DOMAIN = process.env.DOMAIN; function wrappedWebRequest(fp, successPath, failPath) { function redir(path, cb) { cb(null, { statusCode: 303, headers: { location: `https://${DOMAIN}/${path}` } }); } return (evt, ctx, cb) => { fp(evt, ctx) .then(_ => redir(successP...
18.783784
55
0.555396
9c0d51af0a9f6e110e365c2a15645796d9f1d513
1,156
js
JavaScript
React/Challenge-2/src/components/search-header.js
SyamsulAlterra/Alta
13e8c185e91414e3f46e5d20f39370f8e58e7cd0
[ "MIT" ]
null
null
null
React/Challenge-2/src/components/search-header.js
SyamsulAlterra/Alta
13e8c185e91414e3f46e5d20f39370f8e58e7cd0
[ "MIT" ]
6
2021-09-02T18:50:40.000Z
2022-02-27T11:06:31.000Z
React/Challenge-2/src/components/search-header.js
SyamsulAlterra/Alta
13e8c185e91414e3f46e5d20f39370f8e58e7cd0
[ "MIT" ]
null
null
null
import React from "react"; import "../css/style.css"; import "../css/bootstrap.min.css"; class SearchHeader extends React.Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this); } onChange(e) { // e.preventDefault(); const input = e.target.value; this.props.o...
23.591837
107
0.478374
70a82abafa7c59946a62da174533c16e51e4e5c3
2,929
h
C
src/point.h
Wicwik/k-means
df99bd1e0d4436426de9dd82c2315d6ae40c4e47
[ "MIT" ]
null
null
null
src/point.h
Wicwik/k-means
df99bd1e0d4436426de9dd82c2315d6ae40c4e47
[ "MIT" ]
null
null
null
src/point.h
Wicwik/k-means
df99bd1e0d4436426de9dd82c2315d6ae40c4e47
[ "MIT" ]
null
null
null
#pragma once class Point { public: Point() : m_x{0} , m_y{0} , m_cluster{-1} , m_minimal_distance{__DBL_MAX__} { } Point(double x, double y) : m_x{x} , m_y{y} , m_cluster{-1} , m_minimal_distance{__DBL_MAX__} { } Point(const Point& other) : m_x{other.m_x} , m_y{other.m_y} , m_cluster{ot...
17.969325
74
0.613861
1bdfc6238e93739384e4a63e8f3b98dfaab89a34
335
asm
Assembly
programs/oeis/021/A021025.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/021/A021025.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/021/A021025.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A021025: Decimal expansion of 1/21. ; 0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7,6,1,9,0,4,7 add $0,5 mov $1,10 pow $1,$0 sub $1,6 mul $1,9 div $1,18 add $1,4 div $1,42 mod $...
23.928571
199
0.540299
e575c356f3099b38287a04bbc1a1cd7bfabf0fce
67,240
asm
Assembly
ioq3/build/release-js-js/baseq3/game/g_team.asm
RawTechnique/quake-port
2e7c02095f0207831a6026ec23b1c1d75c24f98d
[ "MIT" ]
1
2021-12-31T10:26:58.000Z
2021-12-31T10:26:58.000Z
ioq3/build/release-js-js/baseq3/game/g_team.asm
unfriendly/quake-port
2e7c02095f0207831a6026ec23b1c1d75c24f98d
[ "MIT" ]
28
2019-03-05T20:45:07.000Z
2019-03-05T20:45:57.000Z
ioq3/build/release-js-js/baseq3/game/g_team.asm
unfriendly/quake-port
2e7c02095f0207831a6026ec23b1c1d75c24f98d
[ "MIT" ]
null
null
null
export Team_InitGame code proc Team_InitGame 0 12 ADDRGP4 teamgame ARGP4 CNSTI4 0 ARGI4 CNSTU4 36 ARGU4 ADDRGP4 qk_memset CALLP4 pop ADDRGP4 g_gametype+12 INDIRI4 CNSTI4 4 EQI4 $57 ADDRGP4 $55 JUMPV LABELV $57 ADDRGP4 teamgame+8 CNSTI4 -1 ASGNI4 CNSTI4 1 ARGI4 CNSTI4 0 ARGI4 ADDRGP4 Team_SetFlagStatus CALLV pop ADDRGP4...
10.961852
45
0.831172
dd98eca6511e3fd7db1cc2c998342940041ca639
292
go
Go
04_quicksort/golang/04_recursive_max.go
filchyboy/grokking_algorithms_work
16dace97610e2cb0938704e2b8cfd6e92d6b024d
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
book04grokkingAlgo/04_quicksort/golang/04_recursive_max.go
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
book04grokkingAlgo/04_quicksort/golang/04_recursive_max.go
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
package main import "fmt" func max(list []int) int { if len(list) == 2 { if list[0] > list[1] { return list[0] } return list[1] } subMax := max(list[1:]) if list[0] > subMax { return list[0] } return subMax } func main() { fmt.Println(max([]int{1, 5, 10, 25, 16, 1})) }
12.695652
45
0.561644
9a9ce14cda49a7b5591769f1dac6318c4a393a98
288
lua
Lua
game/dota_addons/dota_imba_reborn/scripts/vscripts/components/modifiers/mutation/modifier_no_health_bar.lua
naowin/dota_imba
6cb1df7a5ddb69f624042dd277434f1b9608ac10
[ "Apache-2.0" ]
2
2017-08-16T08:38:02.000Z
2017-08-23T21:19:25.000Z
game/dota_addons/dota_imba_reborn/scripts/vscripts/components/modifiers/mutation/modifier_no_health_bar.lua
naowin/dota_imba
6cb1df7a5ddb69f624042dd277434f1b9608ac10
[ "Apache-2.0" ]
30
2017-08-11T07:32:36.000Z
2017-08-30T08:19:12.000Z
game/dota_addons/dota_imba_reborn/scripts/vscripts/components/modifiers/mutation/modifier_no_health_bar.lua
naowin/dota_imba
6cb1df7a5ddb69f624042dd277434f1b9608ac10
[ "Apache-2.0" ]
10
2017-08-12T09:23:13.000Z
2017-08-30T03:17:27.000Z
modifier_no_health_bar = class({}) function modifier_no_health_bar:IsHidden() return true end function modifier_no_health_bar:RemoveOnDeath() return false end function modifier_no_health_bar:CheckState() local state = { [MODIFIER_STATE_NO_HEALTH_BAR] = true, } return state end
20.571429
64
0.802083
e92d185a6bc768d3bbbbe90a8241e3cd5b9a6ddd
1,745
rb
Ruby
model/roomba/ai/path_finder.rb
WojciechKo/lecture-assignment-wmh
6207a34f236966e160757d08936cca0981000ae1
[ "Unlicense" ]
1
2018-06-15T11:05:37.000Z
2018-06-15T11:05:37.000Z
model/roomba/ai/path_finder.rb
WojciechKo/self-driving-vacuum-cleaner
6207a34f236966e160757d08936cca0981000ae1
[ "Unlicense" ]
null
null
null
model/roomba/ai/path_finder.rb
WojciechKo/self-driving-vacuum-cleaner
6207a34f236966e160757d08936cca0981000ae1
[ "Unlicense" ]
null
null
null
class PathFinder MOVES = [:left, :right, :up, :down] def initialize(mapper) @mapper = mapper end def path_to(field) (1..1000).each do |n| path = n_steps_paths(n).find { |vector, path| path.destination_field == field } return path[1].moves unless path.nil? end end private def n_s...
24.577465
90
0.508883
4c01b78ce28fa867e96753de193e2551cdcb7d18
2,624
swift
Swift
Tests/GraphTests/GraphTests.swift
pkrll/Graph.swift
46148cb857be1470776c866dbbddfb5f0fe1f7de
[ "Apache-2.0" ]
1
2019-02-03T22:32:10.000Z
2019-02-03T22:32:10.000Z
Tests/GraphTests/GraphTests.swift
pkrll/Graph.swift
46148cb857be1470776c866dbbddfb5f0fe1f7de
[ "Apache-2.0" ]
null
null
null
Tests/GraphTests/GraphTests.swift
pkrll/Graph.swift
46148cb857be1470776c866dbbddfb5f0fe1f7de
[ "Apache-2.0" ]
1
2019-01-13T17:07:04.000Z
2019-01-13T17:07:04.000Z
import XCTest @testable import Graph final class GraphTests: XCTestCase { func testNodeCreation() { let label = 0 let node = Node(withLabel: label) XCTAssertEqual(node.label, label) } func testNodeAddEdge() { let source = Node(withLabel: 0) let target = Node(withLabel: 1) XCTAssertEqual(source.number...
23.428571
74
0.690549
5c41797993fd8d9177897e84d8c74c15c5d03c3e
18,047
c
C
src/player-timed.c
lukexorz/angband
a7c4cd5ec9a43c638bd9d3a9d7fadda51739e21d
[ "CC-BY-3.0" ]
null
null
null
src/player-timed.c
lukexorz/angband
a7c4cd5ec9a43c638bd9d3a9d7fadda51739e21d
[ "CC-BY-3.0" ]
null
null
null
src/player-timed.c
lukexorz/angband
a7c4cd5ec9a43c638bd9d3a9d7fadda51739e21d
[ "CC-BY-3.0" ]
null
null
null
/** * \file player-timed.c * \brief Timed effects handling * * Copyright (c) 1997 Ben Harrison * Copyright (c) 2007 Andi Sidwell * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * F...
22.757881
80
0.645426
f0d8f300dda220dba7c8e98da601c1581273c260
3,597
swift
Swift
Demo/Demo/FirestoreModel/Fruit.swift
y-okudera/FirestoreDao
a6adf4a2f5b2d2e16d7817783970acc0b3c4878f
[ "MIT" ]
3
2020-05-26T01:35:21.000Z
2020-05-27T07:50:34.000Z
Demo/Demo/FirestoreModel/Fruit.swift
y-okudera/FirestoreDao
a6adf4a2f5b2d2e16d7817783970acc0b3c4878f
[ "MIT" ]
null
null
null
Demo/Demo/FirestoreModel/Fruit.swift
y-okudera/FirestoreDao
a6adf4a2f5b2d2e16d7817783970acc0b3c4878f
[ "MIT" ]
null
null
null
// // Fruit.swift // Demo // // Created by okudera on 2020/05/25. // Copyright © 2020 yuoku. All rights reserved. // import Foundation import FirebaseFirestore import FirestoreDao /// Firestore field model sample struct Fruit: FirestoreModel { static let collectionPath: String = "fruit" let documentPath: ...
29.975
88
0.616625
4b6b08873c51e0047c1d349f331dc5566040fa38
1,038
lua
Lua
res/npc/npc_douglas/dl_npc_douglas.lua
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
279
2015-05-06T19:04:07.000Z
2022-03-21T21:33:38.000Z
res/npc/npc_douglas/dl_npc_douglas.lua
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
222
2016-10-26T15:56:25.000Z
2021-10-03T15:30:18.000Z
res/npc/npc_douglas/dl_npc_douglas.lua
tizian/Cendric2
5b0438c73a751bcc0d63c3af839af04ab0fb21a3
[ "MIT" ]
49
2015-10-01T21:23:03.000Z
2022-03-19T20:11:31.000Z
-- Dialogue for NPC "npc_douglas" loadDialogue = function(DL) if (not DL:isConditionFulfilled("npc_douglas", "talked")) then DL:setRoot(1) else DL:setRoot(2) end if (not DL:isConditionFulfilled("npc_douglas", "talked")) then DL:createNPCNode(1, -2, "DL_Douglas_Hi") -- Hey you! You look like you coul...
25.317073
121
0.702312
f07426eccdae8a79bc721acbbbff0f819238aafe
185
swift
Swift
MusicKit/MusicKit.swift
tengyifei/MusicKit
607aac723cd67ac9819c1f53fcae4f8f87c246b5
[ "MIT" ]
null
null
null
MusicKit/MusicKit.swift
tengyifei/MusicKit
607aac723cd67ac9819c1f53fcae4f8f87c246b5
[ "MIT" ]
null
null
null
MusicKit/MusicKit.swift
tengyifei/MusicKit
607aac723cd67ac9819c1f53fcae4f8f87c246b5
[ "MIT" ]
null
null
null
// Copyright (c) 2015 Ben Guo. All rights reserved. import Foundation public struct MusicKit { /// The global value of concert A public static var concertA: Double = 440.0 }
20.555556
52
0.702703
ac654411262d5c3ab8a98ae2fcbae1c477cd8dcb
1,032
sql
SQL
db/seeds.sql
scottgeleas/eManage
d3ad550b46c3a54b190888938551dc92aa8ce46c
[ "Unlicense" ]
null
null
null
db/seeds.sql
scottgeleas/eManage
d3ad550b46c3a54b190888938551dc92aa8ce46c
[ "Unlicense" ]
null
null
null
db/seeds.sql
scottgeleas/eManage
d3ad550b46c3a54b190888938551dc92aa8ce46c
[ "Unlicense" ]
null
null
null
USE company_db; INSERT INTO departments (`name`) VALUES ("Marketing"); INSERT INTO departments (`name`) VALUES ("Leadership"); INSERT INTO departments (`name`) VALUES ("Accounting"); INSERT INTO departments (`name`) VALUES ("R&D"); INSERT INTO roles (`title`, `salary`, `department_id`) VALUES ("Engineer", 100000, 4);...
35.586207
74
0.687016
e714ac708631ee96ad789bb2f3e80388bc73e4c7
2,254
js
JavaScript
neuraum/src/MainPage/index.js
leo-alexander/code-test
244b4e3cbac3242672b667a049686b55012ecb80
[ "MIT" ]
null
null
null
neuraum/src/MainPage/index.js
leo-alexander/code-test
244b4e3cbac3242672b667a049686b55012ecb80
[ "MIT" ]
null
null
null
neuraum/src/MainPage/index.js
leo-alexander/code-test
244b4e3cbac3242672b667a049686b55012ecb80
[ "MIT" ]
null
null
null
import React, { Component } from "react"; // import PropTypes from "prop-types"; import VendorTable from "./components/VendorTable" import styles from "./mainPage.css"; class MainPage extends Component { state = { houses: {}, error: false, success: false, sortBy: 'internal_id' } componentDidMoun...
28.175
105
0.575421
b098c1279d9893cec2f84cded02ecb4fd11da8cf
2,319
rs
Rust
src/validation/error.rs
akashgurava/oas3-rs
535523c99c44cb71c53100ec5fdaad1a468723ab
[ "MIT" ]
11
2020-11-06T12:38:52.000Z
2022-02-11T17:37:42.000Z
src/validation/error.rs
akashgurava/oas3-rs
535523c99c44cb71c53100ec5fdaad1a468723ab
[ "MIT" ]
null
null
null
src/validation/error.rs
akashgurava/oas3-rs
535523c99c44cb71c53100ec5fdaad1a468723ab
[ "MIT" ]
4
2021-03-06T13:02:58.000Z
2022-02-24T21:52:14.000Z
use std::fmt; use derive_more::{Display, Error}; use http::{Method, StatusCode}; use serde_json::Value as JsonValue; use super::Path; use crate::spec::{Error as SchemaError, SchemaType}; #[derive(Debug, Clone, PartialEq)] pub struct AggregateError { errors: Vec<Error>, } impl AggregateError { pub fn new(err...
25.766667
78
0.589047
b6a6e79a6ecfce5cd1cd3d1bc2e2d08590604a29
1,972
swift
Swift
NimbleMedium/Sources/Presentation/Modules/UserProfile/CreatedArticlesTab/UserProfileCreatedArticlesTab.swift
nimblehq/nimble-medium-ios
d0014f8fd9641ac919122c8b747b55dd0b0f6998
[ "MIT" ]
1
2022-03-09T04:36:41.000Z
2022-03-09T04:36:41.000Z
NimbleMedium/Sources/Presentation/Modules/UserProfile/CreatedArticlesTab/UserProfileCreatedArticlesTab.swift
nimblehq/nimble-medium-ios
d0014f8fd9641ac919122c8b747b55dd0b0f6998
[ "MIT" ]
221
2021-08-05T09:07:20.000Z
2021-12-03T04:48:28.000Z
NimbleMedium/Sources/Presentation/Modules/UserProfile/CreatedArticlesTab/UserProfileCreatedArticlesTab.swift
nimblehq/nimble-medium-ios
d0014f8fd9641ac919122c8b747b55dd0b0f6998
[ "MIT" ]
null
null
null
// // UserProfileCreatedArticlesTab.swift // NimbleMedium // // Created by Mark G on 06/10/2021. // import PagerTabStripView import SwiftUI import ToastUI struct UserProfileCreatedArticlesTab: View { @ObservedViewModel private var viewModel: UserProfileCreatedArticlesTabViewModelProtocol @State private v...
33.423729
92
0.643002
c8ce6cc5dbba6f3dee3de74236e620d3db05563c
6,756
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_368.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_368.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_368.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 %r13 push %r14 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x2679, %r15 xor %rsi, %rsi and $0xffffffffffffffc0, %r15 movntdqa (%r15), %xmm7 vpextrq $1, %xmm7, %r14 nop nop cmp $31794, %rbp lea addresses_D_ht+0xfe79, %rbx...
37.120879
2,999
0.658674
4a2ca0e4b691919a25a3a9fc623e1242f1e1eea8
3,844
js
JavaScript
node_modules/tingodb/lib/tindex.js
ahmedhussiney/WABAppService
939c0e06f152f1ca72938e0f08f614a30a3e3cce
[ "Apache-2.0" ]
47
2015-03-24T05:34:25.000Z
2022-03-22T16:51:21.000Z
node_modules/tingodb/lib/tindex.js
ahmedhussiney/WABAppService
939c0e06f152f1ca72938e0f08f614a30a3e3cce
[ "Apache-2.0" ]
2
2015-06-15T11:30:28.000Z
2017-12-05T12:14:12.000Z
node_modules/tingodb/lib/tindex.js
ahmedhussiney/WABAppService
939c0e06f152f1ca72938e0f08f614a30a3e3cce
[ "Apache-2.0" ]
22
2015-03-25T01:57:12.000Z
2020-02-27T04:00:34.000Z
var _ = require('lodash'); var BPlusTree = require('./bplustree'); function tindex (key,tcoll,options,name) { this.options = options || {}; this.name = name || key+'_'; this._unique = this.options.unique || false; this._c = tcoll; this._nuls = {}; this._array = this.options._tiarr || false; this.key = key[0][0]...
23.582822
102
0.599636
80f2bb7a68e563926a60b703c5db40d84324f423
1,222
swift
Swift
AlgorithmPractice/LeetCode-Go/50-PowxN.swift
YuanmuShi/AlgorithmPractice
32d87b34f59999b47212dca87156c43a6aee9a3e
[ "MIT" ]
null
null
null
AlgorithmPractice/LeetCode-Go/50-PowxN.swift
YuanmuShi/AlgorithmPractice
32d87b34f59999b47212dca87156c43a6aee9a3e
[ "MIT" ]
null
null
null
AlgorithmPractice/LeetCode-Go/50-PowxN.swift
YuanmuShi/AlgorithmPractice
32d87b34f59999b47212dca87156c43a6aee9a3e
[ "MIT" ]
null
null
null
// // 50-PowxN.swift // AlgorithmPractice // // Created by Jeffrey on 2021/1/19. // Copyright © 2021 Jeffrey. All rights reserved. // import Foundation /* 50. Pow(x, n) 实现 pow(x, n) ,即计算 x 的 n 次幂函数(即,xn)。 示例 1: 输入:x = 2.00000, n = 10 输出:1024.00000 示例 2: 输入:x = 2.10000, n = 3 输出:9.26100 示例 3: 输入:x...
14.209302
63
0.47054
996659eb5622878b9686f003b14a59ab91ae7075
536
h
C
ios/sdk/component/videoplayer/HippyVideoPlayer.h
mc-zone/Hippy
cd46465a1c7f3df6768e8593e4e456b280000a65
[ "Apache-2.0" ]
1
2021-04-21T02:11:00.000Z
2021-04-21T02:11:00.000Z
ios/sdk/component/videoplayer/HippyVideoPlayer.h
iyang519/Hippy
cd46465a1c7f3df6768e8593e4e456b280000a65
[ "MIT" ]
null
null
null
ios/sdk/component/videoplayer/HippyVideoPlayer.h
iyang519/Hippy
cd46465a1c7f3df6768e8593e4e456b280000a65
[ "MIT" ]
null
null
null
// // HippyVideoPlayer.h // Hippy // // Created by 万致远 on 2019/4/29. // Copyright © 2019 Tencent. All rights reserved. // #import "HippyView.h" #import <AVFoundation/AVFoundation.h> NS_ASSUME_NONNULL_BEGIN @interface HippyVideoPlayer : HippyView - (void)play; - (void)pause; - (void)seekToTime:(CMTime)time; @prop...
21.44
59
0.744403
4a448ea429e14998449bf77d3471155fb1fc4986
2,553
js
JavaScript
tests/integration/slider/slider_core.js
Teleburna/jquery-mobile
f075f58e80e71014bbeb94dc0d2efd4cd800a0ba
[ "CC0-1.0" ]
2,140
2015-01-01T15:29:54.000Z
2021-10-01T00:21:19.000Z
tests/integration/slider/slider_core.js
Teleburna/jquery-mobile
f075f58e80e71014bbeb94dc0d2efd4cd800a0ba
[ "CC0-1.0" ]
1,030
2015-01-01T12:40:58.000Z
2021-09-14T02:06:01.000Z
tests/integration/slider/slider_core.js
Teleburna/jquery-mobile
f075f58e80e71014bbeb94dc0d2efd4cd800a0ba
[ "CC0-1.0" ]
883
2015-01-02T16:58:12.000Z
2021-10-22T00:35:05.000Z
define( [ "qunit", "jquery" ], function( QUnit, $ ) { function defineTooltipTest( name, slider, hasValue, hasTooltip ) { QUnit.test( name, function( assert ) { var widget = slider.slider( "instance" ), track = slider.siblings( ".ui-slider-track" ), handle = track.children( ".ui-slider-handle" ), popup = sl...
37
102
0.631022
ddc3612361783e313e1f1a8fd84050c4e821ceab
94
sql
SQL
src/oc_erchef/schema/revert/reporting_schema_info.sql
riddopic/chef-server
35354f6c967f68f9cad99114df8bfbc21b0d9317
[ "Apache-2.0" ]
300
2015-01-22T22:53:16.000Z
2022-02-23T17:16:31.000Z
src/oc_erchef/schema/revert/reporting_schema_info.sql
riddopic/chef-server
35354f6c967f68f9cad99114df8bfbc21b0d9317
[ "Apache-2.0" ]
2,599
2015-01-22T22:04:09.000Z
2022-03-31T13:22:02.000Z
src/oc_erchef/schema/revert/reporting_schema_info.sql
riddopic/chef-server
35354f6c967f68f9cad99114df8bfbc21b0d9317
[ "Apache-2.0" ]
242
2015-05-02T12:08:11.000Z
2022-03-31T11:22:30.000Z
-- Revert reporting_schema_info BEGIN; DROP TABLE IF EXISTS reporting_schema_info; COMMIT;
11.75
43
0.808511
726ced452dde1464ec82f8f4fdc795536f8f74a6
366
lua
Lua
Loops/endless-loop-coroutine-with-delay.lua
NTUSPMS/BinooAPI
f371f2f3a424ca8a1ac3e9736e4b89bb7012d68b
[ "MIT" ]
null
null
null
Loops/endless-loop-coroutine-with-delay.lua
NTUSPMS/BinooAPI
f371f2f3a424ca8a1ac3e9736e4b89bb7012d68b
[ "MIT" ]
1
2018-02-14T03:49:17.000Z
2018-02-14T03:51:50.000Z
Loops/endless-loop-coroutine-with-delay.lua
NTUSPMS/BinooAPI
f371f2f3a424ca8a1ac3e9736e4b89bb7012d68b
[ "MIT" ]
1
2019-10-07T02:26:28.000Z
2019-10-07T02:26:28.000Z
-- delay variable in coroutine only works in v2.34 or later b = BinooAPI b:SendCommand("MESSAGE|HelloWorld!") return function() local x = 0 while true do x = x + 1 b:CreateLine(-10,10+x,0,10,10+x,0); -- wait 7 seconds coroutine.yield(7) x = x + 1 b:CreateLine(-20,10+x,0,20,10+x,0); -- w...
20.333333
59
0.620219
85f7715b98f7757ea8f441e7a8df94916feeed23
7,053
h
C
src/glsl/pathtracer_internal.h
johannes-braun/myrt
bb7d96e9f5de264054f4a27de78722d0763c21a8
[ "MIT" ]
1
2020-12-05T18:00:23.000Z
2020-12-05T18:00:23.000Z
src/glsl/pathtracer_internal.h
johannes-braun/myrt
bb7d96e9f5de264054f4a27de78722d0763c21a8
[ "MIT" ]
null
null
null
src/glsl/pathtracer_internal.h
johannes-braun/myrt
bb7d96e9f5de264054f4a27de78722d0763c21a8
[ "MIT" ]
null
null
null
#pragma once #include "intersect.h" #include "raymarch.h" // Forward declare visitor functions. bool visit_triangle(MYRT_INDEX_TYPE node_base_index, MYRT_INDEX_TYPE primitive_base_index, vec3 ro, vec3 rd, float maxt); bool visit_object_aabb(MYRT_INDEX_TYPE node_base_index, MYRT_INDEX_TYPE primitive_base_index, vec3 r...
33.908654
149
0.69318
84e99258a5e557c97eed87b16fe547871cc9b4a9
13
h
C
ZF/ZFLua_impl/zf3rd/zfautoscript_zf3rd_setup_lua_header_prefix.h
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
57
2016-06-12T11:05:55.000Z
2021-05-22T13:12:17.000Z
ZF/ZFLua_impl/zf3rd/zfautoscript_zf3rd_setup_lua_header_prefix.h
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
null
null
null
ZF/ZFLua_impl/zf3rd/zfautoscript_zf3rd_setup_lua_header_prefix.h
ZFFrameworkDist/ZFFramework
6b498e7b95ee6d6aaa28d8369eef8c2ff94daaf7
[ "MIT" ]
20
2016-05-26T04:47:37.000Z
2020-12-13T01:39:39.000Z
extern "C" {
6.5
12
0.538462
566bf76283454eeff5ffbff52efd6a487446c0cc
124
sql
SQL
src/main/resources/schema.sql
nirvana124/event-publisher
b12798dc49148f0f883e4e8ba724267160b0fa8f
[ "MIT" ]
null
null
null
src/main/resources/schema.sql
nirvana124/event-publisher
b12798dc49148f0f883e4e8ba724267160b0fa8f
[ "MIT" ]
null
null
null
src/main/resources/schema.sql
nirvana124/event-publisher
b12798dc49148f0f883e4e8ba724267160b0fa8f
[ "MIT" ]
null
null
null
DROP TABLE IF EXISTS USER; CREATE TABLE USER (id SERIAL PRIMARY KEY, first_name VARCHAR, last_name VARCHAR, mobile VARCHAR);
62
97
0.806452
3e4c3f4ec7b0201c8e0ae1ed394baf61821a2328
18,143
c
C
vlc_linux/vlc-3.0.16/src/input/stream.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/src/input/stream.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
vlc_linux/vlc-3.0.16/src/input/stream.c
Brook1711/biubiu_Qt6
5c4d22a1d1beef63bc6c7738dce6c477c4642803
[ "MIT" ]
null
null
null
/***************************************************************************** * stream.c ***************************************************************************** * Copyright (C) 1999-2004 VLC authors and VideoLAN * Copyright 2008-2015 Rémi Denis-Courmont * $Id: b94279b4316e127c2d0d4b0d146b524e62afff1c $ * ...
25.024828
93
0.518272
24fe08c571eacfced30dae5c705e12c192c18ac3
5,916
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48.log_8869_47.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48.log_8869_47.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48.log_8869_47.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 %r12 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x5251, %r9 nop sub $26963, %r13 mov $0x6162636465666768, %r8 movq %r8, %xmm1 movups %xmm1, (%r9) nop add $12758, %r9 lea addresses_A_ht+0x86d1, %r13 nop nop xor $59520, %rdi mov...
38.167742
2,999
0.656694
7f38ea4c5d991d6e4497e6b8babde7a3b6e3b4e0
2,982
go
Go
src/codechef/easy/section10/section11/bit2c/solution.go
wangsenyuan/learn-go
a2ee4862b006e78cfb993b4cac229d6c58b8c583
[ "Apache-2.0" ]
5
2020-06-04T03:44:24.000Z
2021-11-14T03:16:25.000Z
src/codechef/easy/section10/section11/bit2c/solution.go
wangsenyuan/learn-go
a2ee4862b006e78cfb993b4cac229d6c58b8c583
[ "Apache-2.0" ]
null
null
null
src/codechef/easy/section10/section11/bit2c/solution.go
wangsenyuan/learn-go
a2ee4862b006e78cfb993b4cac229d6c58b8c583
[ "Apache-2.0" ]
null
null
null
package main import ( "bufio" "fmt" "os" ) func readInt(bytes []byte, from int, val *int) int { i := from sign := 1 if bytes[i] == '-' { sign = -1 i++ } tmp := 0 for i < len(bytes) && bytes[i] != ' ' { tmp = tmp*10 + int(bytes[i]-'0') i++ } *val = tmp * sign return i } func readNum(scanner *bufio...
15.777778
61
0.518779
bf7ea575975fc4257b834c1760d7cfeaac659dd0
5,551
swift
Swift
Shared/Views/CommandView.swift
Holger-Mayer/Markdown
c7a210f1aa98dd03dd111444611906696f062875
[ "MIT" ]
null
null
null
Shared/Views/CommandView.swift
Holger-Mayer/Markdown
c7a210f1aa98dd03dd111444611906696f062875
[ "MIT" ]
null
null
null
Shared/Views/CommandView.swift
Holger-Mayer/Markdown
c7a210f1aa98dd03dd111444611906696f062875
[ "MIT" ]
null
null
null
// // CommandView.swift // MarkdownEditor // // Created by holgermayer on 03.11.20. // import SwiftUI struct CommandView: View { @Binding var markdownContent : String @Binding var selectedRange : NSRange var body: some View { HStack { Button("Chapter") { let tag...
50.463636
903
0.620609
9c2f377dc4b145eb3a4750cf2b4d2146b93066f6
1,395
js
JavaScript
src/Administration/Resources/app/administration/src/core/service/api/custom-field-set.service.js
logTom/platform
c4abfdc17d4583d3efd76498be395f5ec376828d
[ "MIT" ]
1
2021-01-13T21:58:08.000Z
2021-01-13T21:58:08.000Z
src/Administration/Resources/app/administration/src/core/service/api/custom-field-set.service.js
logTom/platform
c4abfdc17d4583d3efd76498be395f5ec376828d
[ "MIT" ]
243
2020-08-05T07:54:54.000Z
2022-03-25T17:53:20.000Z
src/Administration/Resources/app/administration/src/core/service/api/custom-field-set.service.js
logTom/platform
c4abfdc17d4583d3efd76498be395f5ec376828d
[ "MIT" ]
1
2020-01-17T10:23:14.000Z
2020-01-17T10:23:14.000Z
import CriteriaFactory from 'src/core/factory/criteria.factory'; import ApiService from '../api.service'; /** * @deprecated tag:v6.4.0 - use src/core/data-new/repository.data.js for handling entity data * * Gateway for the API end point "custom-field-set" * @class * @extends ApiService */ class CustomFieldSetApi...
34.02439
98
0.635125
e756dd326d378dc4baa05a2c0c44a2078959c642
2,110
js
JavaScript
src/api/parser/src/utils/__mocks__/supabase.js
nguyenhung15913/telescope
11268ac446a52cf3337e3ab607fa6c1e950afbd7
[ "BSD-2-Clause" ]
null
null
null
src/api/parser/src/utils/__mocks__/supabase.js
nguyenhung15913/telescope
11268ac446a52cf3337e3ab607fa6c1e950afbd7
[ "BSD-2-Clause" ]
14
2022-01-20T21:30:19.000Z
2022-01-27T22:23:01.000Z
src/api/parser/src/utils/__mocks__/supabase.js
AmasiaNalbandian/telescope
182e00e98053db6e6b8184c4b8d25f225d7e3f2e
[ "BSD-2-Clause" ]
1
2022-02-21T03:25:06.000Z
2022-02-21T03:25:06.000Z
const { hash } = require('@senecacdot/satellite'); const normalizeUrl = require('normalize-url'); const urlToId = (url) => hash(normalizeUrl(url)); let feeds = []; let feedIds = new Set(); module.exports = { __resetMockFeeds: () => { feeds = []; feedIds = new Set(); }, /** * @param {Array<Feed | { u...
28.513514
97
0.590995
39c7d39223f713edd6a469ad97cc55a22f948c3b
271
js
JavaScript
middleware/cookies.js
keepsteady2/QuillCMS
de5fdc740558f9a1877a65ca09fb54765b246af1
[ "MIT" ]
57
2019-01-03T13:02:31.000Z
2022-02-12T03:57:06.000Z
middleware/cookies.js
keepsteady2/QuillCMS
de5fdc740558f9a1877a65ca09fb54765b246af1
[ "MIT" ]
6
2019-01-24T08:30:40.000Z
2022-01-22T01:46:16.000Z
middleware/cookies.js
keepsteady2/QuillCMS
de5fdc740558f9a1877a65ca09fb54765b246af1
[ "MIT" ]
12
2019-05-02T16:47:56.000Z
2021-12-14T06:24:50.000Z
import axios from 'axios' // 解决服务端发送请求无法获得cookie的问题 export default function (ctx) { if (ctx.isServer) { axios.defaults.headers.common = {} Object.keys(ctx.req.headers).map((key) => { axios.defaults.headers.common[key] = ctx.req.headers[key] }) } }
22.583333
63
0.660517
abad3922ab4bc02e2663e799c1f9c21fefc9726c
248
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_inv.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
4
2021-12-23T15:34:05.000Z
2021-12-23T15:36:16.000Z
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_inv.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
2
2022-03-20T22:17:35.000Z
2022-03-24T16:10:00.000Z
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_inv.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math16 PUBLIC l_f16_invf PUBLIC invf16 EXTERN asm_f16_inv defc l_f16_invf = asm_f16_inv defc invf16 = asm_f16_inv ; SDCC bridge for Classic IF __CLASSIC PUBLIC _invf16 defc _invf16 = invf16 ENDIF
11.809524
33
0.717742
c3830185506bb0407a6bcd3d31caf6557033c575
1,131
go
Go
common.go
TipsyPixie/advent-of-code-2020
9e178f8e5d274483690750c3fe6b6c765bcae235
[ "Beerware" ]
null
null
null
common.go
TipsyPixie/advent-of-code-2020
9e178f8e5d274483690750c3fe6b6c765bcae235
[ "Beerware" ]
null
null
null
common.go
TipsyPixie/advent-of-code-2020
9e178f8e5d274483690750c3fe6b6c765bcae235
[ "Beerware" ]
null
null
null
package aoc import ( "bufio" "io/ioutil" "os" "testing" ) type Input interface { ReadLine() (string, bool, error) ReadAll() (string, error) Close() error } type fileInput struct { file *os.File scanner *bufio.Scanner } // to make sure fileInput implements Input var _ Input = (*fileInput)(nil) func From...
17.136364
60
0.647215
0bc299479722d533572217a6216eb2f5e70a58eb
50,867
js
JavaScript
custom-lib/ui-bootstrap-custom.js
B-Pratik/TakeMeThere
1cdcb4152f7db5e3c2d7f9641a34b05de704a437
[ "MIT" ]
null
null
null
custom-lib/ui-bootstrap-custom.js
B-Pratik/TakeMeThere
1cdcb4152f7db5e3c2d7f9641a34b05de704a437
[ "MIT" ]
null
null
null
custom-lib/ui-bootstrap-custom.js
B-Pratik/TakeMeThere
1cdcb4152f7db5e3c2d7f9641a34b05de704a437
[ "MIT" ]
null
null
null
/* jshint ignore:start */ angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.datepickerPopup","ui.bootstrap.datepicker","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.position","ui.bootstrap.dropdown","ui.bootstrap.tabindex","ui.bootstrap.tabs"]),angular.module("ui.bootstrap.tpls",["uib/te...
12,716.75
32,290
0.703029
9ad43f7c3c1a81db45f8d79cf5e7dd34a49e522f
1,190
css
CSS
styles/blog-post.css
sean-siddells/sean-siddells.github.io
d71d3311f30a5411bfa4a86d7fd8b130730e1da1
[ "MIT" ]
null
null
null
styles/blog-post.css
sean-siddells/sean-siddells.github.io
d71d3311f30a5411bfa4a86d7fd8b130730e1da1
[ "MIT" ]
null
null
null
styles/blog-post.css
sean-siddells/sean-siddells.github.io
d71d3311f30a5411bfa4a86d7fd8b130730e1da1
[ "MIT" ]
null
null
null
/* h1 { font-size: 80px; font-family: "Press Start 2P", monospace; text-align: center; color: rgba(102, 173, 255, 0.808); font-style: italic; } */ h2 { font-size: 200%; font-style: italic; } .pink-text { color: rgb(255, 155, 252); } body { background: #afe2eb69; ...
15.866667
46
0.537815
bcc90a2fdf7a8ac2034716cb72d8f695ed8adabb
1,060
js
JavaScript
src/components/account/account.js
AAlsop12/AACredit
03cdaafc009ecc106cac6df17b2e7dbc9ae348e2
[ "MIT" ]
null
null
null
src/components/account/account.js
AAlsop12/AACredit
03cdaafc009ecc106cac6df17b2e7dbc9ae348e2
[ "MIT" ]
null
null
null
src/components/account/account.js
AAlsop12/AACredit
03cdaafc009ecc106cac6df17b2e7dbc9ae348e2
[ "MIT" ]
null
null
null
import React, { Component } from 'react'; import { connect } from 'react-redux'; import * as actions from '../../actions'; class Account extends Component { componentDidMount() { const navbarLinks = [ { _id: 0, title: 'Credit Card', ...
17.666667
60
0.457547
b2ec6ef197e2fb9ff51a3b958346b6692ead91be
1,018
py
Python
donatello/utils.py
adrianchifor/donatello
5a384b3203965b16324e9d322e83a8f1f1b27fd1
[ "Apache-2.0" ]
7
2018-12-01T10:41:16.000Z
2021-04-08T19:04:46.000Z
donatello/utils.py
adrianchifor/donatello
5a384b3203965b16324e9d322e83a8f1f1b27fd1
[ "Apache-2.0" ]
4
2018-12-01T15:31:58.000Z
2018-12-01T23:59:52.000Z
donatello/utils.py
adrianchifor/donatello
5a384b3203965b16324e9d322e83a8f1f1b27fd1
[ "Apache-2.0" ]
2
2018-12-01T10:41:29.000Z
2018-12-02T15:56:30.000Z
import http.client def getFunctionPublicIP(): conn = http.client.HTTPSConnection('api.ipify.org', 443) conn.request('GET', '/?format=json') ip = conn.getresponse().read() print(ip) conn.close() return str(ip) def non_zero_balance(balance): """ Return the balance with zero-value coins...
24.829268
62
0.609037
9c7fd5e8c0ccfa43129f18b0610571a2dec36a55
450
js
JavaScript
src/Predict/JobCard.test.js
vanvalenlab/kiosk-frontend
db6ac731720fe0b7a2e9007ca9aa9745b0264287
[ "Apache-2.0" ]
1
2022-02-12T12:06:47.000Z
2022-02-12T12:06:47.000Z
src/Predict/JobCard.test.js
vanvalenlab/kiosk-frontend
db6ac731720fe0b7a2e9007ca9aa9745b0264287
[ "Apache-2.0" ]
55
2018-10-15T16:44:28.000Z
2022-02-14T19:00:41.000Z
src/Predict/JobCard.test.js
vanvalenlab/kiosk-frontend
db6ac731720fe0b7a2e9007ca9aa9745b0264287
[ "Apache-2.0" ]
1
2019-06-24T21:09:14.000Z
2019-06-24T21:09:14.000Z
import React from 'react'; import { render } from '@testing-library/react'; import '@testing-library/jest-dom'; import JobCard from './JobCard'; describe('<JobCard/> component tests', () => { it('<JobCard/> renders with default values', () => { const expectedName = 'ModelName'; const { getByText } = render(...
28.125
65
0.66
7f5b23b4d0759581973e4de767108f2490a08e1b
33,996
html
HTML
processing_libraries/minim/doc/ddf/minim/Controller.html
drakh/enterin_wodies
d352ee9f4444999c7fd169db341fbe4d7882cd7b
[ "CC0-1.0" ]
2
2017-06-01T22:24:17.000Z
2019-08-04T10:44:26.000Z
libraries/minim/doc/ddf/minim/Controller.html
nkmrh/BOX
425914f2afe8e1cb04114288f338b0278cf563ec
[ "MIT" ]
null
null
null
libraries/minim/doc/ddf/minim/Controller.html
nkmrh/BOX
425914f2afe8e1cb04114288f338b0278cf563ec
[ "MIT" ]
null
null
null
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_20) on Sun Oct 04 16:38:51 CDT 2009 --> <TITLE> Controller </TITLE> <META NAME="keywords" CONTENT="ddf.minim.Controller class"> <LINK REL ="stylesh...
35.4125
232
0.647635
41405ec0a7164cd9dddec12b252ca2d6c7880cbf
7,779
h
C
emulator/src/emu/debug/debugcmd.h
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/emu/debug/debugcmd.h
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/emu/debug/debugcmd.h
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Aaron Giles,Ryan Holtz /********************************************************************* debugcmd.h Debugger command interface engine. *********************************************************************/ #ifndef MAME_EMU_DEBUG_DEBUGCMD_H #define MAME_EMU_D...
44.451429
95
0.725672
7fc1a6466f68409df8167bd413b294a08d89eea2
22,727
rs
Rust
src/valid/type.rs
francesco-cattoglio/naga
33998799ae12dcc7cd8480a25f1b6c544d8770ab
[ "Apache-2.0", "MIT" ]
null
null
null
src/valid/type.rs
francesco-cattoglio/naga
33998799ae12dcc7cd8480a25f1b6c544d8770ab
[ "Apache-2.0", "MIT" ]
null
null
null
src/valid/type.rs
francesco-cattoglio/naga
33998799ae12dcc7cd8480a25f1b6c544d8770ab
[ "Apache-2.0", "MIT" ]
null
null
null
use super::Capabilities; use crate::{ arena::{Arena, BadHandle, Handle, UniqueArena}, proc::Alignment, }; bitflags::bitflags! { /// Flags associated with [`Type`]s by [`Validator`]. /// /// [`Type`]: crate::Type /// [`Validator`]: crate::valid::Validator #[repr(transparent)] pub struct ...
41.931734
114
0.452589