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
4454b6abe0370d8b2d8775ed54d8b4a40ff7e3de
214
py
Python
python_BJ/test1.py
DongUk-Park/im_coma
b5c1acdea3957dead6d884f5d4b257df3ae931aa
[ "MIT" ]
null
null
null
python_BJ/test1.py
DongUk-Park/im_coma
b5c1acdea3957dead6d884f5d4b257df3ae931aa
[ "MIT" ]
1
2022-03-22T02:30:53.000Z
2022-03-22T02:31:43.000Z
python_BJ/test1.py
DongUk-Park/im_coma
b5c1acdea3957dead6d884f5d4b257df3ae931aa
[ "MIT" ]
null
null
null
a,b,c = input().split() #ํ•œ๋ฒˆ์— ์—ฌ๋Ÿฌ๊ฐœ์˜ ์ž…๋ ฅ์„ ๋ฐ›๊ธฐ ์œ„ํ•ด .split() a = int(a) b = int(b) c = int(c) # ํŒŒ์ด์ฌ์€ ์ž…๋ ฅ์„ ๋ฐ›์„ ๋•Œ ๋ฌธ์ž์—ด๋กœ ์ž…๋ ฅ์„ ๋ฐ›๊ธฐ ๋•Œ๋ฌธ์— int๋กœ ํ˜•๋ณ€ํ™˜ if a>b: print(">") elif a==b: print("==") else: print("<")
15.285714
53
0.490654
56ac3c9c9122e6c59dcf3bff6c5416e41b4b3c42
3,411
rs
Rust
crates/spirv-std/src/arch/barrier.rs
Arc-blroth/rust-gpu
f500a8418e1b8e2928a193a7402bb0d7835791c8
[ "Apache-2.0", "MIT" ]
null
null
null
crates/spirv-std/src/arch/barrier.rs
Arc-blroth/rust-gpu
f500a8418e1b8e2928a193a7402bb0d7835791c8
[ "Apache-2.0", "MIT" ]
null
null
null
crates/spirv-std/src/arch/barrier.rs
Arc-blroth/rust-gpu
f500a8418e1b8e2928a193a7402bb0d7835791c8
[ "Apache-2.0", "MIT" ]
null
null
null
use crate::memory::{Scope, Semantics}; /// Wait for other invocations of this module to reach the current point /// of execution. /// /// All invocations of this module within Execution scope reach this point of /// execution before any invocation proceeds beyond it. /// /// When Execution is [`Scope::Workgroup`] or l...
43.177215
80
0.707124
5bbf5d4e991c0cfb534721717ef82e205034bdbd
3,672
css
CSS
public/frontend/css/list.css
TrungPham2810/truyennew
8ba0283209afb1c0b8a494be033c88925d7b71c9
[ "MIT" ]
null
null
null
public/frontend/css/list.css
TrungPham2810/truyennew
8ba0283209afb1c0b8a494be033c88925d7b71c9
[ "MIT" ]
null
null
null
public/frontend/css/list.css
TrungPham2810/truyennew
8ba0283209afb1c0b8a494be033c88925d7b71c9
[ "MIT" ]
null
null
null
.section-breadcrumb li:first-child:after { display: inline-block; vertical-align: middle; content: ">"; font-size: 15px; margin-left: 5px; font-weight: 100; } ul.menu.breadcrumb li { display: inline; padding: 10px 2px; } ul.menu.breadcrumb li a { color: #000; } .section-breadcrumb...
15.827586
85
0.590142
e007ae5939d98a94ab910c4ee571ba5e24c5d2cd
99
php
PHP
src/Core/Domain/UpdatedAt.php
opencrypter/api
9901f41a67751302c9ca582fad5f43c57e974197
[ "MIT" ]
3
2018-08-03T07:47:29.000Z
2019-01-27T11:00:12.000Z
src/Core/Domain/UpdatedAt.php
opencrypter/api
9901f41a67751302c9ca582fad5f43c57e974197
[ "MIT" ]
33
2018-07-17T16:25:21.000Z
2019-05-19T09:52:13.000Z
src/Core/Domain/UpdatedAt.php
opencrypter/api
9901f41a67751302c9ca582fad5f43c57e974197
[ "MIT" ]
null
null
null
<?php declare(strict_types=1); namespace Core\Domain; final class UpdatedAt extends DateTime { }
11
38
0.767677
2c9cf497f125e2c9d07587e86f42a6d73c994725
397
py
Python
chapter_11-Interfaces-FromProtocolsToABCs/sample_11_1.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
null
null
null
chapter_11-Interfaces-FromProtocolsToABCs/sample_11_1.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
null
null
null
chapter_11-Interfaces-FromProtocolsToABCs/sample_11_1.py
zixingkong/Fluent-Python
6f05ec5f27a1cf582ddc5a09959f446d455b6c4a
[ "MIT" ]
1
2022-03-14T15:04:58.000Z
2022-03-14T15:04:58.000Z
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name๏ผš sample_11.1 Description : date๏ผš 2022/2/18 ------------------------------------------------- """ class Vector2d: typecode = 'd' def __init__(self, x, y): self.x = float(x) self.y = fl...
19.85
49
0.375315
235bce3c095bf341878bf93bc6fcb08c02f765e4
8,390
lua
Lua
Milo Yip's ray-tracing bencmark/smallpt_lua/smallpt.lua
THISISAGOODNAME/miniRayTracing
48b8fc54df0f11d784bcd783885bc9b39d5ae7b1
[ "MIT" ]
2
2017-07-13T08:06:32.000Z
2018-11-22T05:04:44.000Z
Milo Yip's ray-tracing bencmark/smallpt_lua/smallpt.lua
THISISAGOODNAME/miniRayTracing
48b8fc54df0f11d784bcd783885bc9b39d5ae7b1
[ "MIT" ]
null
null
null
Milo Yip's ray-tracing bencmark/smallpt_lua/smallpt.lua
THISISAGOODNAME/miniRayTracing
48b8fc54df0f11d784bcd783885bc9b39d5ae7b1
[ "MIT" ]
null
null
null
function RandomLCG(seed) return function () seed = (214013 * seed + 2531011) % 4294967296 return seed * (1.0 / 4294967296.0) end end --------------------------------------- Vec = {} Vec.__index = Vec function Vec.new(x_, y_, z_) local self = { x = x_, y = y_, z = z_} setmetatable(self, Vec) return self end ...
28.831615
111
0.493325
9816b417b85814c0967ceff1a4383ff3d6a18a54
622
py
Python
sources/migrations/0011_auto_20170106_1632.py
jaymcgrath/ewe_ebooks
06ffa6c881d205ab00a55c195ee79bccd2da77ec
[ "MIT" ]
4
2016-12-05T18:32:48.000Z
2019-01-26T21:42:53.000Z
sources/migrations/0011_auto_20170106_1632.py
jaymcgrath/ewe_ebooks
06ffa6c881d205ab00a55c195ee79bccd2da77ec
[ "MIT" ]
14
2016-11-30T01:03:59.000Z
2019-01-26T21:37:25.000Z
sources/migrations/0011_auto_20170106_1632.py
jaymcgrath/ewe_ebooks
06ffa6c881d205ab00a55c195ee79bccd2da77ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-01-07 00:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sources', '0010_auto_20170106_1603'), ] operations = [ migrations.RemoveFie...
24.88
121
0.583601
b637a491716e29d00402e10fc1f712e83108a30f
2,018
rb
Ruby
lib/maven_pom/pom.rb
finn-no/maven_pom
30c4f9f38dc6c7b19d5a644e918742d1b8f01cb6
[ "MIT" ]
1
2015-11-05T01:00:54.000Z
2015-11-05T01:00:54.000Z
lib/maven_pom/pom.rb
finn-no/maven_pom
30c4f9f38dc6c7b19d5a644e918742d1b8f01cb6
[ "MIT" ]
null
null
null
lib/maven_pom/pom.rb
finn-no/maven_pom
30c4f9f38dc6c7b19d5a644e918742d1b8f01cb6
[ "MIT" ]
2
2015-04-09T18:17:54.000Z
2019-05-06T17:58:17.000Z
module MavenPom class Pom attr_reader :uri def initialize(str, uri) @pom = Nokogiri.XML(str) @uri = uri MavenPom.all[key] = self end def as_json(opts = nil) { :key => key, :name => name, :parent => parent, :packaging => packaging...
19.403846
116
0.5555
ff50b468006ef1acf085a7e58e05f893b9ed02fd
656
py
Python
layers/poky/meta/lib/oeqa/sdk/cases/perl.py
dtischler/px30-test
55dce0b7aff1c4a7dea3ac94f94cc9c67fba7c9f
[ "Apache-2.0" ]
53
2018-02-28T08:51:32.000Z
2022-02-28T06:49:23.000Z
meta/lib/oeqa/sdk/cases/perl.py
nareshgbhat/luv-yocto
48976c54238dda0791e274927371265d259c0e5a
[ "MIT" ]
27
2018-01-25T00:26:53.000Z
2020-08-09T05:20:04.000Z
meta/lib/oeqa/sdk/cases/perl.py
nareshgbhat/luv-yocto
48976c54238dda0791e274927371265d259c0e5a
[ "MIT" ]
51
2018-02-21T04:46:08.000Z
2022-03-02T04:20:41.000Z
import unittest from oeqa.sdk.case import OESDKTestCase class PerlTest(OESDKTestCase): @classmethod def setUpClass(self): if not (self.tc.hasHostPackage("nativesdk-perl") or self.tc.hasHostPackage("perl-native")): raise unittest.SkipTest("No perl package in the SDK") de...
36.444444
82
0.615854
89baae91903b47687d2513bcff5a7ea50e7738cc
10,440
swift
Swift
ApplepieDemo/ApplepieTests/UI/Router/APRouterTests.swift
cdtschange/ios-applepie
e0db0cb5b6564011e4f55342a701909e876853e3
[ "MIT" ]
3
2018-11-14T10:08:40.000Z
2021-02-03T07:20:49.000Z
ApplepieDemo/ApplepieTests/UI/Router/APRouterTests.swift
cdtschange/ios-applepie
e0db0cb5b6564011e4f55342a701909e876853e3
[ "MIT" ]
null
null
null
ApplepieDemo/ApplepieTests/UI/Router/APRouterTests.swift
cdtschange/ios-applepie
e0db0cb5b6564011e4f55342a701909e876853e3
[ "MIT" ]
1
2018-11-17T18:08:49.000Z
2018-11-17T18:08:49.000Z
// // APRouterTests.swift // ApplepieTests // // Created by ๅฑฑๅคฉๅคง็•œ on 2018/12/13. // Copyright ยฉ 2018 ๅฑฑๅคฉๅคง็•œ. All rights reserved. // import XCTest import Applepie import PromiseKit class APRouterTests: BaseTestCase { @objc(ViewController1) private class ViewController1: UIViewController {} @objc(Vie...
60.697674
160
0.609291
43bb19569b634ef339ee3fdba26c4b86ce79b570
1,148
tsx
TypeScript
src/components/homePage/functionalities.tsx
MargotDem/website-netlify
d2076758bc5b55d9b91dc6f192a2f12ab1f30bbe
[ "MIT" ]
null
null
null
src/components/homePage/functionalities.tsx
MargotDem/website-netlify
d2076758bc5b55d9b91dc6f192a2f12ab1f30bbe
[ "MIT" ]
null
null
null
src/components/homePage/functionalities.tsx
MargotDem/website-netlify
d2076758bc5b55d9b91dc6f192a2f12ab1f30bbe
[ "MIT" ]
null
null
null
import React from "react"; import Slides from "./slides"; const Functionalities = () => { return ( <div className="functionalities-container"> <section className="home-section"> <div className="home-section-top"> <h2>Simple, mais pas simpliste</h2> <p> Comme nous sav...
29.435897
84
0.56446
06bf9bebf1a6b0287bec229f815666d1c1f01952
870
py
Python
GetElementIsHidden.py
gnomesoup/pyDynamo
dea046e96f7973fcb6c28a274a3092b246457551
[ "Unlicense", "MIT" ]
null
null
null
GetElementIsHidden.py
gnomesoup/pyDynamo
dea046e96f7973fcb6c28a274a3092b246457551
[ "Unlicense", "MIT" ]
null
null
null
GetElementIsHidden.py
gnomesoup/pyDynamo
dea046e96f7973fcb6c28a274a3092b246457551
[ "Unlicense", "MIT" ]
null
null
null
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * clr.AddReference('RevitServices') import RevitServices from RevitServices.Persistence import DocumentManager clr.AddReference('RevitNodes') import Revit clr.ImportExtensions(Revit.Elements) doc = DocumentManager.Instance.CurrentDBDocument view...
24.166667
55
0.686207
e4aa306d5b8eecf2c73db3ad842e56d227454d41
338
rs
Rust
src/mpi_request.rs
sushant94/mpirs
f1e2e241fb94200f93eee7ad280f68049a1ee83a
[ "Apache-2.0", "MIT" ]
1
2019-02-25T15:53:15.000Z
2019-02-25T15:53:15.000Z
src/mpi_request.rs
sushant94/mpirs
f1e2e241fb94200f93eee7ad280f68049a1ee83a
[ "Apache-2.0", "MIT" ]
null
null
null
src/mpi_request.rs
sushant94/mpirs
f1e2e241fb94200f93eee7ad280f68049a1ee83a
[ "Apache-2.0", "MIT" ]
2
2019-02-23T11:39:11.000Z
2019-02-25T11:59:17.000Z
// MPIRequest structure #[derive(Debug, Clone, Default)] pub struct MPIRequest { src: Option<usize>, dest: Option<usize>, tag: Option<u64> } impl MPIRequest { pub fn new(src: usize, dest: usize, tag: u64) -> MPIRequest{ MPIRequest{ src: Some(src), dest: Some(dest), tag: Some(ta...
17.789474
64
0.588757
cc9569688c140cd3cc12d1da24a378d1780958e1
235
rb
Ruby
db/migrate/20190305161420_create_tips.rb
catmando/roll365
004ce355be088a3809fcf197f5e960b0bd34aac8
[ "MIT" ]
null
null
null
db/migrate/20190305161420_create_tips.rb
catmando/roll365
004ce355be088a3809fcf197f5e960b0bd34aac8
[ "MIT" ]
10
2020-02-29T04:03:54.000Z
2022-02-26T10:29:16.000Z
db/migrate/20190305161420_create_tips.rb
catmando/roll365
004ce355be088a3809fcf197f5e960b0bd34aac8
[ "MIT" ]
1
2019-08-15T21:35:11.000Z
2019-08-15T21:35:11.000Z
class CreateTips < ActiveRecord::Migration[5.2] def change create_table :tips do |t| t.string :name t.integer :company_id t.decimal :fee t.string :fire_ant_risk_level t.timestamps end end end
18.076923
47
0.646809
7f60ea9b78951071e82ea74d1836614b1a85a446
12,477
php
PHP
application/controllers/Petugas.php
rahmatrafli1/perpustakaan
827c495ec0caa71bd61228bdd3278db54198dd02
[ "MIT" ]
null
null
null
application/controllers/Petugas.php
rahmatrafli1/perpustakaan
827c495ec0caa71bd61228bdd3278db54198dd02
[ "MIT" ]
null
null
null
application/controllers/Petugas.php
rahmatrafli1/perpustakaan
827c495ec0caa71bd61228bdd3278db54198dd02
[ "MIT" ]
null
null
null
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Petugas extends CI_Controller { function __construct() { parent::__construct(); // cek session yang login, jika session status tidak sama dengan session petugas_login,maka halaman akan di alihkan kembali ke halaman login...
35.648571
149
0.562074
5aeec4098a7c63966614c2ef44ef528e2069f4d2
240
cs
C#
Tauron.Application.Wpf/AppCore/SimpleSplashScreen.cs
augustoproiete-bot/Project-Manager-Akka
1b2df6e34079a71121ab7e20dad4f2ec18afc9c4
[ "MIT" ]
null
null
null
Tauron.Application.Wpf/AppCore/SimpleSplashScreen.cs
augustoproiete-bot/Project-Manager-Akka
1b2df6e34079a71121ab7e20dad4f2ec18afc9c4
[ "MIT" ]
null
null
null
Tauron.Application.Wpf/AppCore/SimpleSplashScreen.cs
augustoproiete-bot/Project-Manager-Akka
1b2df6e34079a71121ab7e20dad4f2ec18afc9c4
[ "MIT" ]
null
null
null
๏ปฟnamespace Tauron.Application.Wpf.AppCore { public sealed class SimpleSplashScreen<TSplash> : ISplashScreen where TSplash : System.Windows.Window, new() { public System.Windows.Window Window => new TSplash(); } }
30
67
0.691667
7904924e644f6b006781706d6816f56a48b198c7
2,607
lua
Lua
test_scripts/API/ButtonSubscription/Versioning/007_UnsubscribeButton_PLAY_PAUSE_majorVersion_5.lua
LuxoftSDL/sdl_atf_test_scripts
2594ac912640008fb990594f377068d8e9e2e785
[ "BSD-3-Clause" ]
3
2016-03-17T02:26:56.000Z
2021-11-06T08:04:19.000Z
test_scripts/API/ButtonSubscription/Versioning/007_UnsubscribeButton_PLAY_PAUSE_majorVersion_5.lua
smartdevicelink/sdl_atf_test_scripts
2594ac912640008fb990594f377068d8e9e2e785
[ "BSD-3-Clause" ]
1,335
2016-03-14T18:29:40.000Z
2022-03-30T10:40:28.000Z
test_scripts/API/ButtonSubscription/Versioning/007_UnsubscribeButton_PLAY_PAUSE_majorVersion_5.lua
smartdevicelink/sdl_atf_test_scripts
2594ac912640008fb990594f377068d8e9e2e785
[ "BSD-3-Clause" ]
72
2016-03-30T13:44:17.000Z
2021-07-26T06:48:24.000Z
------------------------------------------------------------------------------------------------------------------------ -- Proposal: -- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0192-button_subscription_response_from_hmi.md ------------------------------------------------------------------...
51.117647
120
0.633679
114fe17217938b4471ff361de3da7e3a3c4fb1c0
321
lua
Lua
GameClient/FGUIProject/plugins/gen_lua_bind/LuaAPI/CS_UnityEngine_LightmapSettings.lua
HappGame/Think
ebf2d9e94a9df54278e0d182abc13f4dd9ff6202
[ "MIT" ]
1
2021-12-31T01:01:31.000Z
2021-12-31T01:01:31.000Z
GameClient/FGUIProject/plugins/gen_lua_bind/LuaAPI/CS_UnityEngine_LightmapSettings.lua
HappGame/Think
ebf2d9e94a9df54278e0d182abc13f4dd9ff6202
[ "MIT" ]
null
null
null
GameClient/FGUIProject/plugins/gen_lua_bind/LuaAPI/CS_UnityEngine_LightmapSettings.lua
HappGame/Think
ebf2d9e94a9df54278e0d182abc13f4dd9ff6202
[ "MIT" ]
null
null
null
---@class CS.UnityEngine.LightmapSettings : CS.UnityEngine.Object ---@field public lightmaps LightmapData[] ---@field public lightmapsMode number ---@field public lightProbes CS.UnityEngine.LightProbes ---@type CS.UnityEngine.LightmapSettings CS.UnityEngine.LightmapSettings = { } return CS.UnityEngine.LightmapSettings...
35.666667
65
0.803738
ef9139bec86c88124f0e6b9da8e3deefcb09003c
823
rs
Rust
src/bin/triangle2.rs
SiegeEngine/siege-mesh
369df0361bc98e3573bee308be76951d36f9e2c4
[ "MIT" ]
null
null
null
src/bin/triangle2.rs
SiegeEngine/siege-mesh
369df0361bc98e3573bee308be76951d36f9e2c4
[ "MIT" ]
null
null
null
src/bin/triangle2.rs
SiegeEngine/siege-mesh
369df0361bc98e3573bee308be76951d36f9e2c4
[ "MIT" ]
null
null
null
extern crate bincode; extern crate siege_mesh; use siege_mesh::{ColoredVertex, Mesh, VertexType}; pub fn main() { let mesh = define_mesh(); mesh.save(VertexType::Colored, "triangle2.mesh").unwrap(); println!("Saved."); } fn define_mesh() -> Mesh<ColoredVertex> { let vertices = vec![ ColoredVe...
22.861111
62
0.471446
9812b72e70eb0af16ea15bca043e246e57c8dc15
414
py
Python
noteapp/migrations/0002_alter_note_tags.py
saloni027/backend-coding-challenge
84366d0a9fbbace6d2a4c2fde20caa41ad060483
[ "MIT" ]
null
null
null
noteapp/migrations/0002_alter_note_tags.py
saloni027/backend-coding-challenge
84366d0a9fbbace6d2a4c2fde20caa41ad060483
[ "MIT" ]
null
null
null
noteapp/migrations/0002_alter_note_tags.py
saloni027/backend-coding-challenge
84366d0a9fbbace6d2a4c2fde20caa41ad060483
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-22 20:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('noteapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='note', name='tags', field...
21.789474
93
0.599034
c4f661c8c449dcd035b8b4d25db23c292483ffa0
106
swift
Swift
Tests/SwiftLintTests/TestSwiftSelfAware.swift
MontakOleg/SwiftLintAppCode
33bae022c6ba07fd2b2417bbec9628a98fdb39f1
[ "MIT" ]
45
2016-10-09T14:36:34.000Z
2022-03-06T21:04:36.000Z
Tests/SwiftLintTests/TestSwiftSelfAware.swift
MontakOleg/SwiftLintAppCode
33bae022c6ba07fd2b2417bbec9628a98fdb39f1
[ "MIT" ]
50
2017-01-11T11:35:12.000Z
2022-02-11T19:39:48.000Z
Tests/SwiftLintTests/TestSwiftSelfAware.swift
MontakOleg/SwiftLintAppCode
33bae022c6ba07fd2b2417bbec9628a98fdb39f1
[ "MIT" ]
12
2016-10-10T14:52:51.000Z
2022-02-08T17:53:26.000Z
public class TestSwiftSelfAware { var test: Int = 0 func test() { self.test = 32 } }
13.25
33
0.54717
7567b1e5156d0d3c394ed94ef87c034854859d7b
1,599
css
CSS
src/App.css
Sigfried/drugutil
61a6ac12a9317c86ef8292c7b73c0312d340287e
[ "Apache-2.0" ]
null
null
null
src/App.css
Sigfried/drugutil
61a6ac12a9317c86ef8292c7b73c0312d340287e
[ "Apache-2.0" ]
null
null
null
src/App.css
Sigfried/drugutil
61a6ac12a9317c86ef8292c7b73c0312d340287e
[ "Apache-2.0" ]
null
null
null
.App { text-align: center; } .App-logo { animation: App-logo-spin infinite 20s linear; height: 80px; } .App-header { background-color: #222; height: 150px; padding: 20px; color: white; } .App-intro { font-size: large; } @keyframes App-logo-spin { from { transform: rotate(0deg); } to { transform:...
12.895161
47
0.646029
dd8174ef4e34df65403db322b19a98fe82588a84
737
java
Java
IO/Output.java
himanshugawari/java-code
115ca4c35e7797b6c11fef9bf041350dbad89357
[ "MIT" ]
null
null
null
IO/Output.java
himanshugawari/java-code
115ca4c35e7797b6c11fef9bf041350dbad89357
[ "MIT" ]
null
null
null
IO/Output.java
himanshugawari/java-code
115ca4c35e7797b6c11fef9bf041350dbad89357
[ "MIT" ]
null
null
null
package IO; import java.lang.Math; class Output { // println , print // public static void main(String[] args) { // int x = 10, y = 20; // char z = 'a'; // String str = "GFG"; // System.out.println(x); // System.out.println(x + y); // System.out.println(x + " " + y); // System.out.print(str + " "); ...
23.774194
57
0.552239
a39781258c8294744eb166d772d6ec1c9d97b184
10,330
java
Java
src/main/java/com/jcraft/jsch/KeyPairDSA.java
danielgrahl/jsch
79ecf181fad5b1b7ea6479105d30eb08ea90bde8
[ "BSD-3-Clause" ]
null
null
null
src/main/java/com/jcraft/jsch/KeyPairDSA.java
danielgrahl/jsch
79ecf181fad5b1b7ea6479105d30eb08ea90bde8
[ "BSD-3-Clause" ]
null
null
null
src/main/java/com/jcraft/jsch/KeyPairDSA.java
danielgrahl/jsch
79ecf181fad5b1b7ea6479105d30eb08ea90bde8
[ "BSD-3-Clause" ]
null
null
null
/* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ /* Copyright (c) 2002-2018 ymnk, JCraft,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: 1. Redistributions of source code must retai...
30.293255
85
0.620716
1371279abd5333a751affd405955a211979159ca
2,499
h
C
src/tests/cornell_box.h
shiinamiyuki/LuisaCompute
f8358f8ec138950a84f570c0ede24cc76fc159de
[ "BSD-3-Clause" ]
31
2020-11-21T08:16:53.000Z
2021-09-05T13:46:32.000Z
src/tests/cornell_box.h
shiinamiyuki/LuisaCompute
f8358f8ec138950a84f570c0ede24cc76fc159de
[ "BSD-3-Clause" ]
1
2021-03-08T04:15:26.000Z
2021-03-19T04:40:02.000Z
src/tests/cornell_box.h
shiinamiyuki/LuisaCompute
f8358f8ec138950a84f570c0ede24cc76fc159de
[ "BSD-3-Clause" ]
4
2020-12-02T09:41:22.000Z
2021-03-06T06:36:40.000Z
// // Created by Mike Smith on 2021/7/27. // #pragma once static const char *obj_string = R"( # The original Cornell Box in OBJ format. # Note that the real box is not a perfect cube, so # the faces are imperfect in this data set. # # Created by Guedis Cardenas and Morgan McGuire at Williams College, 2011 # Released ...
16.66
73
0.532213
c4e3d07d776db49308d954d04a4ab6c874d5feef
8,647
dart
Dart
lib/src/widget/switch.dart
digitalnomadacademy/neumorphic_null_safety
c8edf2c9c6cfa51138ba218a701389a7e8424109
[ "Apache-2.0" ]
null
null
null
lib/src/widget/switch.dart
digitalnomadacademy/neumorphic_null_safety
c8edf2c9c6cfa51138ba218a701389a7e8424109
[ "Apache-2.0" ]
null
null
null
lib/src/widget/switch.dart
digitalnomadacademy/neumorphic_null_safety
c8edf2c9c6cfa51138ba218a701389a7e8424109
[ "Apache-2.0" ]
null
null
null
import 'package:flutter/widgets.dart'; import 'package:flutter_neumorphic/src/widget/animation/animated_scale.dart'; import '../../flutter_neumorphic.dart'; import '../neumorphic_box_shape.dart'; import '../theme/neumorphic_theme.dart'; import 'container.dart'; /// A style to customize the [NeumorphicSwitch] /// /// ...
30.024306
160
0.626229
c6b93c77cca2e59db6740fac50f93884f8354fd1
1,757
py
Python
tools/ipgeo/ipgeo.py
onurrozkaan/interrogator
799613bdb39cfdf00ad19381a8121be2a7291c2b
[ "MIT" ]
5
2019-03-09T09:45:58.000Z
2021-06-27T10:18:24.000Z
tools/ipgeo/ipgeo.py
ozkanonur/interrogator
799613bdb39cfdf00ad19381a8121be2a7291c2b
[ "MIT" ]
null
null
null
tools/ipgeo/ipgeo.py
ozkanonur/interrogator
799613bdb39cfdf00ad19381a8121be2a7291c2b
[ "MIT" ]
null
null
null
import urllib.request import sys import json from assets.styling.colors import * def getOutput(): print(purple + "Enter the Target IP:") sys.stdout.write(green + "> ") ip_input = input() with urllib.request.urlopen("http://ip-api.com/json/" + ip_input) as url: def is_input_ip(checker_value):...
45.051282
389
0.525327
b15cd49091c953b7367b285547445d5531de6d14
979
swift
Swift
AeroEditor/ChooseViewController.swift
nick-merrill/AeroEditor
93dc6fdd560b4ca0c850f38231c009484228eb0f
[ "MIT" ]
1
2020-09-30T06:49:27.000Z
2020-09-30T06:49:27.000Z
AeroEditor/ChooseViewController.swift
cloudrave/AeroEditor
93dc6fdd560b4ca0c850f38231c009484228eb0f
[ "MIT" ]
null
null
null
AeroEditor/ChooseViewController.swift
cloudrave/AeroEditor
93dc6fdd560b4ca0c850f38231c009484228eb0f
[ "MIT" ]
1
2021-02-06T21:40:05.000Z
2021-02-06T21:40:05.000Z
// // ChooseViewController.swift // AeroEditor // // Created by Nick Merrill on 8/10/15. // Copyright ยฉ 2015 Nick Merrill. All rights reserved. // import Cocoa class ChooseViewController: SubMainViewController { lazy var chooseSplitVC: ChooseSplitViewController = self.storyboard!.instantiateController(wi...
30.59375
182
0.715015
b012ad0c971c267943ac3d2a61abc9a5cd4191c0
1,264
py
Python
tests/test_headers.py
gezpage/chocs
cf64a792989e3f23dc7f400045898761511a229a
[ "MIT" ]
null
null
null
tests/test_headers.py
gezpage/chocs
cf64a792989e3f23dc7f400045898761511a229a
[ "MIT" ]
null
null
null
tests/test_headers.py
gezpage/chocs
cf64a792989e3f23dc7f400045898761511a229a
[ "MIT" ]
null
null
null
import pytest from chocs.headers import Headers def test_can_instantiate(): headers = Headers() assert isinstance(headers, Headers) def test_normalize_wsgi_headers(): headers = Headers({"HTTP_USER_AGENT": "Test Agent", "HTTP_ACCEPT": "plain/text"}) assert headers["User-Agent"] == "Test Agent" ...
26.333333
85
0.61788
a38f8e021babfcef47777307e514c3669335e83e
1,037
java
Java
src/main/java/it/smartcommunitylab/aac/repository/StringOrArraySerializer.java
civts/AAC
7e137c8ca2a6826168d02efa95c32b298dce6688
[ "Apache-2.0" ]
2
2020-01-22T18:19:09.000Z
2020-06-06T16:12:19.000Z
src/main/java/it/smartcommunitylab/aac/repository/StringOrArraySerializer.java
civts/AAC
7e137c8ca2a6826168d02efa95c32b298dce6688
[ "Apache-2.0" ]
24
2020-02-17T13:54:42.000Z
2022-03-31T15:00:12.000Z
src/main/java/it/smartcommunitylab/aac/repository/StringOrArraySerializer.java
civts/AAC
7e137c8ca2a6826168d02efa95c32b298dce6688
[ "Apache-2.0" ]
1
2019-07-08T08:27:09.000Z
2019-07-08T08:27:09.000Z
package it.smartcommunitylab.aac.repository; import java.io.IOException; import java.util.Set; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; import it.smartcommunitylab.aac.SystemKeys; public cl...
26.589744
113
0.643202
15d10270ff4b7e2f37b308103582beca8e0adfef
5,040
dart
Dart
lib/keystore/keystore.dart
cochainio/coefi
bfb3af0fa083c10540476e1b1fca63b5fbd4e0ca
[ "Apache-2.0" ]
null
null
null
lib/keystore/keystore.dart
cochainio/coefi
bfb3af0fa083c10540476e1b1fca63b5fbd4e0ca
[ "Apache-2.0" ]
null
null
null
lib/keystore/keystore.dart
cochainio/coefi
bfb3af0fa083c10540476e1b1fca63b5fbd4e0ca
[ "Apache-2.0" ]
null
null
null
import 'dart:convert'; import 'dart:typed_data'; import 'package:bip32/bip32.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:uuid/uuid.dart'; import 'package:uuid/uuid_util.dart'; import 'crypto.dart'; import 'mnemonic.dart'; export 'bip44.dart'; export 'crypto.dart'; export 'keystore.c...
31.304348
118
0.723016
c8a1040c7568ca83baa0835c0f2d9072714ac63f
847
css
CSS
AV/Blockchain/BlockExample.css
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
200
2015-02-08T05:27:52.000Z
2022-03-23T02:44:38.000Z
AV/Blockchain/BlockExample.css
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
119
2015-03-22T22:38:21.000Z
2022-03-15T04:38:52.000Z
AV/Blockchain/BlockExample.css
dwgillies/OpenDSA
e012925896070a86bd7c3a4cbb75fa5682d9b9e2
[ "MIT" ]
105
2015-01-03T08:55:00.000Z
2022-03-19T00:51:45.000Z
#outer { width: 100%; } #container { width: 269px; height: 225px; position: relative; display: table; } .instructions { border: 0; padding: 0; margin: 0; text-align: center; } .bsize { position: absolute; left: 10px; top: 42px; } #blockNum { position: absolute; ...
13.234375
26
0.569067
3af363a999350abc3e9e0da9e71b0a46f4d26edf
87,039
swift
Swift
libPhoneNumber/PhoneNumberUtil.swift
sereivoanyong/libPhoneNumber
62966ef401a19f92a429072ad4887a606bb8c585
[ "MIT" ]
null
null
null
libPhoneNumber/PhoneNumberUtil.swift
sereivoanyong/libPhoneNumber
62966ef401a19f92a429072ad4887a606bb8c585
[ "MIT" ]
null
null
null
libPhoneNumber/PhoneNumberUtil.swift
sereivoanyong/libPhoneNumber
62966ef401a19f92a429072ad4887a606bb8c585
[ "MIT" ]
null
null
null
// // PhoneNumberUtil.swift // // Created by Sereivoan Yong on 12/3/20. // import Foundation /// Simple ASCII digits map used to populate ALPHA_PHONE_MAPPINGS and /// ALL_PLUS_NUMBER_GROUPING_SYMBOLS. private let kAsciiDigitMappings: [Character: Character] = ["0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "...
49.821981
306
0.694413
f619649cdc5f0e650489a927b1e3198de377f5df
5,105
cpp
C++
GlobalIllumination/src/Material.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
GlobalIllumination/src/Material.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
GlobalIllumination/src/Material.cpp
raptoravis/voxelbasedgi
aaf2b02929edfaf72528c2f029696728c5f1d30f
[ "MIT" ]
null
null
null
#include <stdafx.h> #include <Demo.h> #include <Material.h> #define NUM_RENDER_STATES 27 // number of render-states that can be specified in material file struct MaterialInfo { const char *name; // info as string int mode; // info as int }; // render-states static const MaterialInfo renderStateList[NUM_RENDER_STAT...
26.045918
94
0.697747
b149686145c5f7eb3e955e98e7348ccbcc245399
1,453
py
Python
storage_engine/base.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
2
2021-05-29T06:57:24.000Z
2021-06-15T09:13:38.000Z
storage_engine/base.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
null
null
null
storage_engine/base.py
JackInTaiwan/ViDB
d658fd4f6a1ad2d7d36bb270fde2a373d3cc965d
[ "MIT" ]
null
null
null
import abc import json class BaseStorageEngine(metaclass=abc.ABCMeta): @abc.abstractmethod def init_storage(self): return NotImplemented @abc.abstractmethod def create_one(self, image:str, thumbnail:str, features, metadata:json): return NotImplemented @abc.abstractmethod d...
21.367647
84
0.689608
a105b1f9800a48c86492e84787793fc49ba3377c
355
ts
TypeScript
trash/trash1/clientSessionApp/redux/initialState.ts
adamwong246/SpaceTrash
79cd10113c9cab71781d0be2a02bd63cec19b73f
[ "MIT" ]
5
2020-04-06T00:56:46.000Z
2020-08-17T17:21:40.000Z
trash/trash1/clientSessionApp/redux/initialState.ts
adamwong246/SpaceTrash
79cd10113c9cab71781d0be2a02bd63cec19b73f
[ "MIT" ]
7
2020-08-23T22:30:37.000Z
2022-03-25T19:03:34.000Z
trash/trash1/clientSessionApp/redux/initialState.ts
adamwong246/SpaceTrash
79cd10113c9cab71781d0be2a02bd63cec19b73f
[ "MIT" ]
null
null
null
import * as React from "react"; export default { loadState: {}, commandQueues: {}, terminalLines: [ "booting spaceTrash session terminal", ], clock: { time: Date.now(), lastTime: 0, halted: false, }, userGeneratedView: null, usr: {}, userScripts: null, userFiles: [], openFile...
14.2
42
0.616901
29af3aa1b29c0f0324da8ab7510baf10e26cac9d
50
sql
SQL
SQLoginStatements/updatePersonnelnickName.sql
Damian2057/BookSystem
5507c1a0b1ab318f1be1b74c0fba0f545fc64ffc
[ "BSD-2-Clause" ]
1
2022-02-08T21:11:45.000Z
2022-02-08T21:11:45.000Z
SQLoginStatements/updatePersonnelnickName.sql
Damian2057/BookSystem
5507c1a0b1ab318f1be1b74c0fba0f545fc64ffc
[ "BSD-2-Clause" ]
null
null
null
SQLoginStatements/updatePersonnelnickName.sql
Damian2057/BookSystem
5507c1a0b1ab318f1be1b74c0fba0f545fc64ffc
[ "BSD-2-Clause" ]
null
null
null
update Personnel set nickName = (?) where id = (?)
50
50
0.66
02caa5f3c7d730e77ef9a47742232d53e52cf02f
1,041
cpp
C++
UVA/DP/uva_10819_knapsack.cpp
raphasramos/competitive-programming
749b6726bd9d517d9143af7e9236d3e5e8cef49b
[ "MIT" ]
3
2020-05-15T17:15:10.000Z
2021-04-24T17:54:26.000Z
UVA/DP/uva_10819_knapsack.cpp
raphasramos/competitive-programming
749b6726bd9d517d9143af7e9236d3e5e8cef49b
[ "MIT" ]
null
null
null
UVA/DP/uva_10819_knapsack.cpp
raphasramos/competitive-programming
749b6726bd9d517d9143af7e9236d3e5e8cef49b
[ "MIT" ]
1
2019-06-24T18:41:49.000Z
2019-06-24T18:41:49.000Z
#include <bits/stdc++.h> using namespace std; #define ff first #define ss second #define ll long long #define pq priority_queue #define mii map<int,int> typedef vector<int> vi; typedef pair<int,int> ii; typedef set<int> si; typedef vector<vi> vii; typedef vector<ii> vpi; typedef vector<ll> vll; int oo = (1e9) + 7; ...
20.82
71
0.513929
d00b9d8d7344ff904c32a720495edaf7a4c57d70
20,026
cpp
C++
Platformer 2D/Motor2D/j1Player.cpp
Scarzard/Game_Development_HO
fe3441c23df03c15120d159671f0cd41d7b8c370
[ "MIT" ]
null
null
null
Platformer 2D/Motor2D/j1Player.cpp
Scarzard/Game_Development_HO
fe3441c23df03c15120d159671f0cd41d7b8c370
[ "MIT" ]
null
null
null
Platformer 2D/Motor2D/j1Player.cpp
Scarzard/Game_Development_HO
fe3441c23df03c15120d159671f0cd41d7b8c370
[ "MIT" ]
1
2018-11-18T21:30:45.000Z
2018-11-18T21:30:45.000Z
#include "p2Log.h" #include "j1Player.h" #include "j1App.h" #include "j1Render.h" #include "j1Window.h" #include "j1Textures.h" #include "j1Map.h" #include "p2Log.h" #include <string> #include "j1Input.h" #include "j1Collision.h" #include "j1Scene.h" #include "Brofiler/Brofiler.h" #include <math.h> j1Player::j1Player...
28.897547
195
0.647159
c686f85d0964dfe80dced26956a649efb6fc6992
782
py
Python
new/servo_test.py
Deepakbaskar94/Autonomous_car_base_program
9ab79aacccabb4720f9eb419838497c565d01665
[ "Apache-2.0" ]
null
null
null
new/servo_test.py
Deepakbaskar94/Autonomous_car_base_program
9ab79aacccabb4720f9eb419838497c565d01665
[ "Apache-2.0" ]
null
null
null
new/servo_test.py
Deepakbaskar94/Autonomous_car_base_program
9ab79aacccabb4720f9eb419838497c565d01665
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ servo_test.py www.bluetin.io 16/01/2018 """ __author__ = "Mark Heywood" __version__ = "0.01" __license__ = "MIT" from gpiozero import Servo from time import sleep # Adjust the pulse values to set rotation range min_pulse = 0.000544 # Library default = 1/1000 max_pulse = 0.0024 # Library ...
17.772727
59
0.594629
464ee3c3704beb69accfa258b5f733c9a15ab965
435
php
PHP
app/Http/Resources/System/HostnameResource.php
gohunter/devfacturapro
225990f5bbc3d382eedcc80412aa2f2fe279780f
[ "MIT" ]
2
2021-11-21T17:34:36.000Z
2021-12-21T05:53:39.000Z
app/Http/Resources/System/HostnameResource.php
gohunter/devfacturapro
225990f5bbc3d382eedcc80412aa2f2fe279780f
[ "MIT" ]
1
2021-12-17T03:19:43.000Z
2021-12-17T03:19:43.000Z
app/Http/Resources/System/HostnameResource.php
gohunter/devfacturapro
225990f5bbc3d382eedcc80412aa2f2fe279780f
[ "MIT" ]
6
2021-04-10T03:13:16.000Z
2021-07-08T03:45:29.000Z
<?php namespace App\Http\Resources\System; use Illuminate\Http\Resources\Json\JsonResource; class HostnameResource extends JsonResource { /** * Transform the resource collection into an array. * * @param \Illuminate\Http\Request $request * @return mixed */ public function toArray($...
19.772727
55
0.586207
cccdd3edd70a1fd07eca22bcea3fb0abc99781a6
91
swift
Swift
Sources/xcbeautify/setup.swift
chriszielinski/xcbeautify
f7dfcdba7506284981db05aa68610fe0fdcaac8f
[ "MIT" ]
null
null
null
Sources/xcbeautify/setup.swift
chriszielinski/xcbeautify
f7dfcdba7506284981db05aa68610fe0fdcaac8f
[ "MIT" ]
null
null
null
Sources/xcbeautify/setup.swift
chriszielinski/xcbeautify
f7dfcdba7506284981db05aa68610fe0fdcaac8f
[ "MIT" ]
null
null
null
import Guaka func setupCommands() { GuakaConfig.helpGenerator = XcbeautifyHelp.self }
15.166667
51
0.769231
d1cefbb7bc025967eb3be6d54e25f84c3ca3142c
76
sql
SQL
aws-test/tests/aws_cloudfront_origin_request_policy/test-notfound-query.sql
blinkops/blink-aws-query
21b0d5eee6b0b5554c040867b9e25681e7ba6559
[ "Apache-2.0" ]
61
2021-01-21T19:06:48.000Z
2022-03-28T20:09:46.000Z
aws-test/tests/aws_cloudfront_origin_request_policy/test-notfound-query.sql
blinkops/blink-aws-query
21b0d5eee6b0b5554c040867b9e25681e7ba6559
[ "Apache-2.0" ]
592
2021-01-23T05:27:12.000Z
2022-03-31T14:16:19.000Z
aws-test/tests/aws_cloudfront_origin_request_policy/test-notfound-query.sql
blinkops/blink-aws-query
21b0d5eee6b0b5554c040867b9e25681e7ba6559
[ "Apache-2.0" ]
30
2021-01-21T18:43:25.000Z
2022-03-12T15:14:05.000Z
select * from aws_cloudfront_origin_request_policy where id = 'azlkokdp12w';
25.333333
41
0.842105
c65d268e17ddada13f57df3482c5e152addc4044
676
py
Python
localization/scripts/sort_loc.py
Ubastic/SlayTheSpire_Modify
0ed92839fff2b35fc602cb879c32aeb0af322cab
[ "Apache-2.0" ]
null
null
null
localization/scripts/sort_loc.py
Ubastic/SlayTheSpire_Modify
0ed92839fff2b35fc602cb879c32aeb0af322cab
[ "Apache-2.0" ]
2
2021-12-14T20:46:50.000Z
2021-12-14T21:40:10.000Z
localization/scripts/sort_loc.py
Ubastic/SlayTheSpire_Modify
0ed92839fff2b35fc602cb879c32aeb0af322cab
[ "Apache-2.0" ]
null
null
null
import json import sys import io from util import read_json, flatten, get_json_files, get_loc_dirs if sys.version_info.major < 3: raise Exception("must use python 3") def write_json(filename, data): # TODO: replace with util.write_json once sorting loc files is common. with io.open(filename, 'w', encoding=...
25.037037
103
0.702663
27dd78534660337a301edbd9d64e1f2e099dfe47
214
dart
Dart
null_safety/lib/LateConcept.dart
kaleliguray/Flutter
61c7948ce1df547cc096b09aabfba8afc8e98809
[ "MIT" ]
null
null
null
null_safety/lib/LateConcept.dart
kaleliguray/Flutter
61c7948ce1df547cc096b09aabfba8afc8e98809
[ "MIT" ]
null
null
null
null_safety/lib/LateConcept.dart
kaleliguray/Flutter
61c7948ce1df547cc096b09aabfba8afc8e98809
[ "MIT" ]
null
null
null
class LateConcept{ // we can not use variable like this due to "null safety" //int x; late int x; // with late, we tell that we will assing a variable later int y = 10; // or we can use without "late" }
21.4
72
0.658879
aa55cb5c923de708ca20f883425e603f80d7ab0b
1,245
swift
Swift
Appt/Helpers/ViewEmbedder.swift
appt-nl/appt-ios
1ed33c3390b682ad97b9d238727d1a4852e9e4d8
[ "MIT" ]
null
null
null
Appt/Helpers/ViewEmbedder.swift
appt-nl/appt-ios
1ed33c3390b682ad97b9d238727d1a4852e9e4d8
[ "MIT" ]
null
null
null
Appt/Helpers/ViewEmbedder.swift
appt-nl/appt-ios
1ed33c3390b682ad97b9d238727d1a4852e9e4d8
[ "MIT" ]
null
null
null
// // ViewEmbedder.swift // Appt // // Created by Yurii Kozlov on 5/14/21. // Copyright ยฉ 2021 Stichting Appt. All rights reserved. // import UIKit final class ViewEmbedder { class func embed(parent: UIViewController, container: UIView, child: UIViewController, previous: UIViewController?) { if let pr...
32.763158
142
0.669076
4355d9355bfebc05d2f42b2024b3c0af6603cd8e
1,371
ts
TypeScript
src/constants/strings.ts
aghasemi/woertchen
0fac35e1e2b9a4b95781bf0882722ca682356f4a
[ "MIT" ]
null
null
null
src/constants/strings.ts
aghasemi/woertchen
0fac35e1e2b9a4b95781bf0882722ca682356f4a
[ "MIT" ]
null
null
null
src/constants/strings.ts
aghasemi/woertchen
0fac35e1e2b9a4b95781bf0882722ca682356f4a
[ "MIT" ]
null
null
null
export const GAME_TITLE = 'Schweizerdeutsch Wordle' export const GAME_URL = 'https://sgwordle.now.sh' export const WIN_MESSAGES = [ 'Gut gemacht!', 'Super!', 'Geiles Gehirn, Gรผnter!', 'Mega', 'Stark', 'Voll gut ey', 'Du scheinst kluk zu sein', 'Weiter so', 'Toll!', 'Darauf eine Scheibe Vollkornbrot...
40.323529
218
0.773158
1ac898b1a051a8a96dda8efd1fdbb90bd45e58d1
364
py
Python
py_tdlib/constructors/input_inline_query_result_contact.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/input_inline_query_result_contact.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/input_inline_query_result_contact.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class inputInlineQueryResultContact(Type): id = None # type: "string" contact = None # type: "contact" thumbnail_url = None # type: "string" thumbnail_width = None # type: "int32" thumbnail_height = None # type: "int32" reply_markup = None # type: "ReplyMarkup" input_message_co...
30.333333
60
0.714286
28175147a3970d2a7e54e5f420a7f6788f501df3
1,695
ps1
PowerShell
Active-Directory/AD-generate-OID.ps1
badgumby/powershell-scripts
24cc5f15543c99e915fe61d03574db31e58aac35
[ "MIT" ]
null
null
null
Active-Directory/AD-generate-OID.ps1
badgumby/powershell-scripts
24cc5f15543c99e915fe61d03574db31e58aac35
[ "MIT" ]
null
null
null
Active-Directory/AD-generate-OID.ps1
badgumby/powershell-scripts
24cc5f15543c99e915fe61d03574db31e58aac35
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------------------ # You can create subsequent OIDs for new schema classes and attributes by appending a .X to the OID where X may be any number that you choose. # A common schema extension scheme generally uses the following structure: # If your ...
67.8
142
0.60236
1a2f8873b884c3ec3c3e0535fbe94b19ca1bf26e
4,198
py
Python
flicks/videos/tests/test_forms.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
1
2016-04-15T11:43:02.000Z
2016-04-15T11:43:02.000Z
flicks/videos/tests/test_forms.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2015-03-03T23:02:19.000Z
2019-03-30T04:45:51.000Z
flicks/videos/tests/test_forms.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2016-04-15T11:43:05.000Z
2016-04-15T11:43:15.000Z
from django.core.exceptions import ValidationError from django.test.client import RequestFactory from mock import patch from nose.tools import assert_raises, eq_, ok_ from waffle import Flag from flicks.base.regions import NORTH_AMERICA from flicks.base.tests import TestCase from flicks.videos.forms import VideoSearc...
36.504348
98
0.627203
0d4408fdffb4cd7e183f2fe1a89d4ac17533f8a5
305
asm
Assembly
programs/oeis/110/A110963.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/110/A110963.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/110/A110963.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A110963: Fractalization of Kimberling's sequence beginning with 1. ; 1,1,1,1,2,1,1,1,3,2,2,1,4,1,1,1,5,3,3,2,6,2,2,1,7,4,4,1,8,1,1,1,9,5,5,3,10,3,3,2,11,6,6,2,12,2,2,1,13,7,7,4,14,4,4 mul $0,2 mov $4,9 lpb $4,14 add $4,$0 div $0,2 mov $6,$4 add $4,45 gcd $4,2 lpe mov $1,$6 div $1,4 add $1,1
19.0625
116
0.577049
c9c472b466070cea0e0316cd206675b4818bf00e
83
ts
TypeScript
src/taskpane/components/IAppProps.ts
automate-this/M42-Outlook-TicketAddin
32720446affd43b3a4767c507d98d4c7c0a3c383
[ "MIT" ]
null
null
null
src/taskpane/components/IAppProps.ts
automate-this/M42-Outlook-TicketAddin
32720446affd43b3a4767c507d98d4c7c0a3c383
[ "MIT" ]
null
null
null
src/taskpane/components/IAppProps.ts
automate-this/M42-Outlook-TicketAddin
32720446affd43b3a4767c507d98d4c7c0a3c383
[ "MIT" ]
null
null
null
export interface IAppProps { title: string; isOfficeInitialized: boolean; }
20.75
33
0.73494
b36e1c2289027ada956cc59ba2f5a5624dfdd969
870
py
Python
arborlife/utils.py
rogerhurwitz/arborlife
36777200940a0be22340bea938cdad6b45c9ab6e
[ "MIT" ]
1
2020-11-17T17:16:20.000Z
2020-11-17T17:16:20.000Z
arborlife/utils.py
rogerhurwitz/arborlife
36777200940a0be22340bea938cdad6b45c9ab6e
[ "MIT" ]
6
2019-11-30T18:19:36.000Z
2019-12-16T06:50:53.000Z
arborlife/utils.py
rogerhurwitz/arborlife
36777200940a0be22340bea938cdad6b45c9ab6e
[ "MIT" ]
null
null
null
import math import numpy as np import scipy.stats as stats def calc_cubic(a, b, c, d): p = -b / (3 * a) q = math.pow(p, 3) + (b * c - 3 * a * d) / (6 * math.pow(a, 2)) r = c / (3 * a) x = ( math.pow( q + (math.pow(math.pow(q, 2) + (math.pow(r - math.pow(p, 2), 3)), 0.5)), 1 / 3, ...
29
108
0.514943
97ede007645c8831d9c0a559359d0ec4f48b2cb0
164
swift
Swift
Remy/Remy/Models/Vitals.swift
peachbiotech/remy
cffeb0b9e65f9e7782689f8a7b9618310469b4a7
[ "MIT" ]
null
null
null
Remy/Remy/Models/Vitals.swift
peachbiotech/remy
cffeb0b9e65f9e7782689f8a7b9618310469b4a7
[ "MIT" ]
null
null
null
Remy/Remy/Models/Vitals.swift
peachbiotech/remy
cffeb0b9e65f9e7782689f8a7b9618310469b4a7
[ "MIT" ]
null
null
null
// // Vitals.swift // Remy // // Created by Jia Chun Xie on 1/11/22. // import Foundation struct Vitals: Codable { var heartRate: Int var o2Sat: Int }
11.714286
39
0.621951
e2bad93ce8df5aafc95712be9a4601ac36fb93c7
270
sql
SQL
ConflitosBelicos/SQL/consultarOrganizacoes.sql
KleberASGC/Conflitos-Belicos
c384dc96f7d851c48ae74019b0058e87ddce878f
[ "MIT" ]
null
null
null
ConflitosBelicos/SQL/consultarOrganizacoes.sql
KleberASGC/Conflitos-Belicos
c384dc96f7d851c48ae74019b0058e87ddce878f
[ "MIT" ]
null
null
null
ConflitosBelicos/SQL/consultarOrganizacoes.sql
KleberASGC/Conflitos-Belicos
c384dc96f7d851c48ae74019b0058e87ddce878f
[ "MIT" ]
null
null
null
SELECT codigoOrg as Codigo_Organizaรงรฃo, COUNT(codigoOrg) as Quantidade_Mediacoes FROM entradMed WHERE codConflito NOT IN (SELECT codConflito FROM saidaMed) GROUP BY codigoOrg ORDER BY COUNT(codigoOrg) DESC LIMIT 5 DELETE FROM saidaMed WHERE codigoOrg = 2
19.285714
59
0.792593
5c7b5852391e958848935303e604a6754108c7ad
67,041
rs
Rust
dpx/src/dpx_pdfdev.rs
chirsz-ever/tectonic
1fbc8a7e1adedc2a819bffad0af94f3b04c88750
[ "MIT" ]
null
null
null
dpx/src/dpx_pdfdev.rs
chirsz-ever/tectonic
1fbc8a7e1adedc2a819bffad0af94f3b04c88750
[ "MIT" ]
null
null
null
dpx/src/dpx_pdfdev.rs
chirsz-ever/tectonic
1fbc8a7e1adedc2a819bffad0af94f3b04c88750
[ "MIT" ]
null
null
null
/* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. Copyright (C) 2002-2016 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu> This program is free software; you can redistribute it and/or modify it un...
32.782885
115
0.545099
2390f10fb51e33e0e948c3d34a3198c0688b9cb7
444
sql
SQL
sos21-database/migrations/20210302103321_add_project_index.sql
sohosai/sos21-backend
f1883844b0e5c68d6b3f9d159c9268142abc81b4
[ "Apache-2.0", "MIT" ]
10
2021-03-01T05:27:59.000Z
2022-03-27T11:52:11.000Z
sos21-database/migrations/20210302103321_add_project_index.sql
sohosai/sos21-backend
f1883844b0e5c68d6b3f9d159c9268142abc81b4
[ "Apache-2.0", "MIT" ]
39
2021-03-01T05:03:10.000Z
2021-11-28T17:56:44.000Z
sos21-database/migrations/20210302103321_add_project_index.sql
sohosai/sos21-backend
f1883844b0e5c68d6b3f9d159c9268142abc81b4
[ "Apache-2.0", "MIT" ]
1
2021-11-10T13:12:50.000Z
2021-11-10T13:12:50.000Z
ALTER TABLE projects ADD COLUMN index smallint UNIQUE CHECK (index BETWEEN 0 AND 999); UPDATE projects SET index = numbers.index FROM (SELECT id, (row_number() over () - 1) as index FROM projects) AS numbers WHERE projects.id = numbers.id; ALTER TABLE projects ALTER COLUMN index SET NOT NULL; CREATE SEQUENCE c...
44.4
86
0.763514
2ff889dfc6c15c1cdc3a57c85d132c3cf2bca7ec
5,854
py
Python
tests/unit/dataset/import_dataset_from_datalake_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
2
2020-06-19T23:07:38.000Z
2021-06-03T10:44:39.000Z
tests/unit/dataset/import_dataset_from_datalake_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
20
2020-04-07T07:48:42.000Z
2020-09-07T09:18:43.000Z
tests/unit/dataset/import_dataset_from_datalake_test.py
abeja-inc/abeja-platform-cli
bed60642ee46656a5bfec5577d876e54c88bfd3f
[ "Apache-2.0" ]
1
2021-06-01T13:38:19.000Z
2021-06-01T13:38:19.000Z
"""Tests related to ``model`` and ``deployment``""" import math import random from unittest import TestCase import requests_mock from click.testing import CliRunner from abejacli.config import ( ABEJA_API_URL, DATASET_CHUNK_SIZE, ORGANIZATION_ENDPOINT ) from abejacli.dataset import ( create_request_el...
34.034884
117
0.597882
d6d5e7de34ad580979de28b44fcabcdae522c49d
5,204
sql
SQL
contrib/pgcrypto/pgcrypto--1.2.sql
carloszab/postgresfc
7ccf1bd18a6ac96a4efbe58f01d1aa5352c691b1
[ "PostgreSQL" ]
63
2016-08-14T19:07:40.000Z
2022-03-14T22:55:43.000Z
contrib/pgcrypto/pgcrypto--1.2.sql
carloszab/postgresfc
7ccf1bd18a6ac96a4efbe58f01d1aa5352c691b1
[ "PostgreSQL" ]
6
2016-04-11T14:08:36.000Z
2018-11-11T01:41:42.000Z
contrib/pgcrypto/pgcrypto--1.2.sql
carloszab/postgresfc
7ccf1bd18a6ac96a4efbe58f01d1aa5352c691b1
[ "PostgreSQL" ]
14
2017-01-12T11:09:09.000Z
2019-04-19T09:58:20.000Z
/* contrib/pgcrypto/pgcrypto--1.2.sql */ -- complain if script is sourced in psql, rather than via CREATE EXTENSION \echo Use "CREATE EXTENSION pgcrypto" to load this file. \quit CREATE FUNCTION digest(text, text) RETURNS bytea AS 'MODULE_PATHNAME', 'pg_digest' LANGUAGE C IMMUTABLE STRICT; CREATE FUNCTION digest(byt...
23.87156
74
0.795158
586b2adbebedbfc6e0001fb35dded98f54a627fb
380
rb
Ruby
lib/redcap2omop/methods/models/redcap_event.rb
NUARIG/redcap2omop
31a3b2a1b88d6a8374419f51b57ad9d65820e1f0
[ "MIT" ]
2
2021-02-23T22:18:44.000Z
2021-09-08T01:04:54.000Z
lib/redcap2omop/methods/models/redcap_event.rb
NUARIG/redcap2omop
31a3b2a1b88d6a8374419f51b57ad9d65820e1f0
[ "MIT" ]
51
2020-11-10T12:29:03.000Z
2021-07-24T10:03:59.000Z
lib/redcap2omop/methods/models/redcap_event.rb
NUARIG/redcap2omop
31a3b2a1b88d6a8374419f51b57ad9d65820e1f0
[ "MIT" ]
null
null
null
module Redcap2omop::Methods::Models::RedcapEvent def self.included(base) base.send :include, Redcap2omop::SoftDelete # Associations base.send :belongs_to, :redcap_data_dictionary base.send :has_many, :redcap_event_maps base.send :include, InstanceMethods base.extend(ClassMethods) end mo...
20
50
0.747368
278eb027059177732b1aaf1ea6f5e1a0f562d4c2
1,133
rs
Rust
derive/src/lib.rs
MathieuTricoire/identifier
3ad560617205265c9512574f5156b47e4be6c22e
[ "Apache-2.0", "MIT" ]
3
2020-11-20T05:02:55.000Z
2022-02-13T16:42:18.000Z
derive/src/lib.rs
MathieuTricoire/identifier
3ad560617205265c9512574f5156b47e4be6c22e
[ "Apache-2.0", "MIT" ]
null
null
null
derive/src/lib.rs
MathieuTricoire/identifier
3ad560617205265c9512574f5156b47e4be6c22e
[ "Apache-2.0", "MIT" ]
1
2021-02-11T06:46:24.000Z
2021-02-11T06:46:24.000Z
mod identifier; mod internals; extern crate proc_macro; use proc_macro::TokenStream; use quote::quote; use syn::{parse_macro_input, DeriveInput}; #[proc_macro_derive(Identifier, attributes(identifier))] pub fn derive_identifier(input: TokenStream) -> TokenStream { let input = parse_macro_input!(input as DeriveIn...
29.815789
75
0.733451
699da0c85ebc4ed066f1f6d4a5cf0103b2e74249
440
rb
Ruby
config/environment.rb
fabienlimzk/sei23-project-three-lunch-buddy
29eb279c7d6727d260e820a30343f44dc99c145e
[ "FSFAP" ]
null
null
null
config/environment.rb
fabienlimzk/sei23-project-three-lunch-buddy
29eb279c7d6727d260e820a30343f44dc99c145e
[ "FSFAP" ]
null
null
null
config/environment.rb
fabienlimzk/sei23-project-three-lunch-buddy
29eb279c7d6727d260e820a30343f44dc99c145e
[ "FSFAP" ]
null
null
null
# Load the Rails application. require_relative 'application' # Initialize the Rails application. Rails.application.initialize! # SMTP settings for gmail ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :user_name => ENV['gmail_username'],...
29.333333
49
0.622727
2fc46d8307244629aad2c8b5503e2a8f6924a734
384
py
Python
art_gallery/point.py
chaitan94/2d-visibility-optimization
2d1cc4aee18265814b072d89560284086680965d
[ "MIT" ]
null
null
null
art_gallery/point.py
chaitan94/2d-visibility-optimization
2d1cc4aee18265814b072d89560284086680965d
[ "MIT" ]
null
null
null
art_gallery/point.py
chaitan94/2d-visibility-optimization
2d1cc4aee18265814b072d89560284086680965d
[ "MIT" ]
null
null
null
class Point: def __init__(self, x, y): self.x = float(x) self.y = float(y) def collinear(self, p, q): if p.x - self.x == 0 and q.x - self.x == 0: return True if p.x - self.x == 0 or q.x - self.x == 0: return False m1 = (p.y-self.y)/(p.x-self.x) m2 = (q.y-self.y)/(q.x-self.x) return m1 == m2 ...
22.588235
46
0.541667
4421f80394e045cf88406b4aa3a4e8476cf69b79
1,225
py
Python
ads/migrations/0003_auto_20160218_2343.py
japsu/tracontent
169fe84c49c1a30133e927f1be50abba171ebe68
[ "PostgreSQL", "Unlicense", "MIT" ]
null
null
null
ads/migrations/0003_auto_20160218_2343.py
japsu/tracontent
169fe84c49c1a30133e927f1be50abba171ebe68
[ "PostgreSQL", "Unlicense", "MIT" ]
7
2020-11-26T18:41:07.000Z
2022-01-18T09:27:00.000Z
ads/migrations/0003_auto_20160218_2343.py
tracon/tracontent
65bd8c15b7909a90ebe5ed28cbbf66683a4e3c2c
[ "MIT", "PostgreSQL", "Unlicense" ]
null
null
null
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ads', '0002_site_m2m'), ] operations = [ migrations.AlterField( model_name='banner', name='active', field=models.BooleanField(default=True, help_text=b'V...
38.28125
209
0.63102
0cf1db801568036532c7cde0681a2431bd3b07e7
252
rb
Ruby
spec/station_spec.rb
TiagoManuelPC/Oystercard
63bcfa9391d6612481c47c1a28ef74b3c6a9fe60
[ "MIT" ]
null
null
null
spec/station_spec.rb
TiagoManuelPC/Oystercard
63bcfa9391d6612481c47c1a28ef74b3c6a9fe60
[ "MIT" ]
null
null
null
spec/station_spec.rb
TiagoManuelPC/Oystercard
63bcfa9391d6612481c47c1a28ef74b3c6a9fe60
[ "MIT" ]
null
null
null
require 'station' describe Station do subject(:station) {described_class.new("London", 1)} it 'has a name' do expect(station.name).to eq("London") end it' has a zone' do expect(station.zone).to eq(1) end end
16.8
56
0.603175
05df34fc367e1ccca6387acc1b54ed269d52abe7
21
py
Python
openstack_dashboard/dashboards/admin/systemlogs/__init__.py
xuweiliang/Codelibrary
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/admin/systemlogs/__init__.py
xuweiliang/Codelibrary
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/admin/systemlogs/__init__.py
xuweiliang/Codelibrary
54e45b2daa205132c05b0ff5a2c3db7fca2853a7
[ "Apache-2.0" ]
null
null
null
__author__ = 'Zero'
10.5
20
0.666667
2003c19caf4c21741f7293766b0ae3d9eef44f56
11,896
py
Python
byconeer/biosamplesInserter.py
sofiapfund/bycon
d7993eaf99cfce46f3025718ab3aa3c0f812badd
[ "CC0-1.0" ]
null
null
null
byconeer/biosamplesInserter.py
sofiapfund/bycon
d7993eaf99cfce46f3025718ab3aa3c0f812badd
[ "CC0-1.0" ]
1
2021-03-18T12:17:59.000Z
2021-03-18T12:19:24.000Z
byconeer/biosamplesInserter.py
sofiapfund/bycon
d7993eaf99cfce46f3025718ab3aa3c0f812badd
[ "CC0-1.0" ]
null
null
null
#!/usr/local/bin/python3 import re, argparse import datetime, time import sys, base36 import json import pandas as pd from pymongo import MongoClient import random from os import path, environ, pardir from progress.bar import Bar from pydoc import locate # from jsonschema import validate # local dir_path = path.dirna...
37.05919
124
0.534633
4f12b4f46d6ad3adca1a17ab34476ea9986d807b
826
kt
Kotlin
kotlin-js-action/src/main/kotlin/internal/artifact/artifact-client.module_@actions_artifact.kt
rnett/kotlin-js-action
6b596b2fbb08c786b454cd93a2936daa891608bb
[ "Apache-2.0" ]
7
2021-05-06T20:28:20.000Z
2022-01-21T12:21:01.000Z
kotlin-js-action/src/main/kotlin/internal/artifact/artifact-client.module_@actions_artifact.kt
rnett/kotlin-js-action
6b596b2fbb08c786b454cd93a2936daa891608bb
[ "Apache-2.0" ]
null
null
null
kotlin-js-action/src/main/kotlin/internal/artifact/artifact-client.module_@actions_artifact.kt
rnett/kotlin-js-action
6b596b2fbb08c786b454cd93a2936daa891608bb
[ "Apache-2.0" ]
null
null
null
@file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS") @file:JsModule("@actions/artifact") @file:JsNonModule package internal.artifact import com.rnett.action.artifact.DownloadResponse import com.rnett.action.artifact.UploadResponse import k...
48.588235
150
0.822034
7facd65cf38831c966997e9994e677abf8b5e569
1,288
php
PHP
platform/common/Helpers/file_type_icons_helper.php
krishnaguragain/ciWebApp
4d68513a22553028e95d0fe917f356c0a49c78d7
[ "MIT" ]
4
2020-06-01T04:20:06.000Z
2021-02-25T01:48:11.000Z
platform/common/Helpers/file_type_icons_helper.php
krishnaguragain/ciWebApp
4d68513a22553028e95d0fe917f356c0a49c78d7
[ "MIT" ]
8
2020-06-06T00:40:49.000Z
2021-04-28T09:13:05.000Z
platform/common/Helpers/file_type_icons_helper.php
krishnaguragain/ciWebApp
4d68513a22553028e95d0fe917f356c0a49c78d7
[ "MIT" ]
2
2020-06-01T04:20:12.000Z
2020-08-06T02:22:15.000Z
<?php if (!function_exists('file_type_icon')) { function file_type_icon($path = null) { static $_icons; if (!isset($_icons)) { $icons = config('FileTypeIcons')->icons; $_icons = []; if (!empty($icons)) { foreach ($icons as $key => $icon) { ...
18.666667
56
0.384317
57e4a0617afe52a211190946c56ce6c3053d14f1
2,040
php
PHP
app/Models/Category.php
iamsuzon/thornior-alternative
768adf1d23d44210ca728db2e86acff1420bae2e
[ "MIT" ]
null
null
null
app/Models/Category.php
iamsuzon/thornior-alternative
768adf1d23d44210ca728db2e86acff1420bae2e
[ "MIT" ]
null
null
null
app/Models/Category.php
iamsuzon/thornior-alternative
768adf1d23d44210ca728db2e86acff1420bae2e
[ "MIT" ]
null
null
null
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Category extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'name', 'slug', 'status' ];...
25.822785
79
0.654412
ef5b20d43aa814ce9027aae10ef421f1b3b3da85
532
js
JavaScript
src/utils/util-object.js
chrisgfortes/octaform-validate
6013ceb352f4626eaeb0d9ed2ea627b91b701fba
[ "MIT" ]
null
null
null
src/utils/util-object.js
chrisgfortes/octaform-validate
6013ceb352f4626eaeb0d9ed2ea627b91b701fba
[ "MIT" ]
1
2021-08-31T19:57:58.000Z
2021-08-31T19:57:58.000Z
src/utils/util-object.js
chrisgfortes/octaform-validate
6013ceb352f4626eaeb0d9ed2ea627b91b701fba
[ "MIT" ]
null
null
null
const stringToPath = path => { const containsBracketNotation = /\[[0-9]+\]/g; if (path.match(containsBracketNotation)) { path = path.replace( containsBracketNotation, s => `.${s.substring(1, s.length - 1)}` ); } return path.split('.'); }; const get = (source, path, defaultArgument) => { r...
23.130435
78
0.614662
be5e447e38d63655cb7a037b7bb65f540b3d2b7e
240
ts
TypeScript
src/sharedTypes.ts
jauggy/storybook-background-issues
1beeb34b2d0ae6854572c354a7d75cd29f0246b3
[ "MIT" ]
1
2020-08-29T10:04:30.000Z
2020-08-29T10:04:30.000Z
src/sharedTypes.ts
jauggy/storybook-background-issues
1beeb34b2d0ae6854572c354a7d75cd29f0246b3
[ "MIT" ]
null
null
null
src/sharedTypes.ts
jauggy/storybook-background-issues
1beeb34b2d0ae6854572c354a7d75cd29f0246b3
[ "MIT" ]
null
null
null
/** * "primary"|"secondary", etc. */ export type Color = typeof colorArray[number]; const colorArray = [ "primary", "secondary", "success", "warning", "danger", "info", "light", "dark", ] as const; export { colorArray };
15
46
0.595833
2932615e8aa0936a4713d040c954a3c19e862fbc
7,509
rs
Rust
mayastor/src/core/block_device.rs
reitermarkus/mayastor
8b88fd46021ec25193080af6f8c29fda0d41f0ed
[ "Apache-2.0" ]
84
2021-06-26T11:42:12.000Z
2022-03-29T16:39:55.000Z
mayastor/src/core/block_device.rs
mayadata-io/mayastor
c95ab938343a019034967d2d6f964e1d587c8059
[ "Apache-2.0" ]
151
2021-06-28T08:11:53.000Z
2022-03-30T12:54:30.000Z
mayastor/src/core/block_device.rs
mayadata-io/mayastor
c95ab938343a019034967d2d6f964e1d587c8059
[ "Apache-2.0" ]
25
2021-07-05T04:42:31.000Z
2022-03-28T06:18:17.000Z
use super::{CoreError, DeviceEventSink, IoCompletionStatus, IoType}; use spdk_rs::{DmaBuf, DmaError, IoVec}; use async_trait::async_trait; use merge::Merge; use nix::errno::Errno; use std::os::raw::c_void; use uuid::Uuid; /// TODO #[derive(Debug, Default, Clone, Copy, Merge)] pub struct BlockDeviceIoStats { #[me...
24.864238
77
0.600213
0fa292e2c6968723d058c2148e77bd4d924fb5a2
803
sh
Shell
.github/scripts/k3sup.sh
rafaribe/k3s-cluster
aacfb9d8e6199c3118bf73f0978a3483d2beebe6
[ "MIT" ]
null
null
null
.github/scripts/k3sup.sh
rafaribe/k3s-cluster
aacfb9d8e6199c3118bf73f0978a3483d2beebe6
[ "MIT" ]
7
2022-02-06T13:00:00.000Z
2022-02-12T00:06:25.000Z
.github/scripts/k3sup.sh
rafaribe/home-ops
473111447a05fd55a1888822a654bcffc156b6a5
[ "MIT" ]
null
null
null
#!/usr/bin/env bash K3S_VERSION=v1.24.0-rc1+k3s1 K3S_SERVER_IP="10.0.1.200" K3S_USER="rafaribe" k3sup install --ip=$K3S_SERVER_IP --user=$K3S_USER --k3s-version="${K3S_VERSION}" --k3s-extra-args="--disable servicelb --disable traefik --disable local-storage --flannel-backend=none --disable-network-policy" --local-path...
34.913043
277
0.678705
7531d3e73ea54cbcc873a4a40ffbb294162d5836
1,361
css
CSS
assets/stylesheets/styles.css
mateomh/Vidyo_Conference_Test
fb6040b14faaad547fdeacab1b75bc94601ed4bc
[ "MIT" ]
2
2021-02-13T02:13:20.000Z
2021-02-15T21:21:57.000Z
assets/stylesheets/styles.css
mateomh/Vidyo_Conference_Test
fb6040b14faaad547fdeacab1b75bc94601ed4bc
[ "MIT" ]
1
2021-02-15T14:39:47.000Z
2021-02-15T14:39:47.000Z
assets/stylesheets/styles.css
mateomh/Vidyo_Conference_Test
fb6040b14faaad547fdeacab1b75bc94601ed4bc
[ "MIT" ]
null
null
null
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #444444; display: flex; justify-content: space-around; align-items: center; padding: 0; margin: 2vh; } .sidebar { display: flex; flex-direction: column; justify-content: space-around; align-ite...
15.122222
35
0.643644
dc046eb3c273b51defe681cf211a1122df73bad9
83
rb
Ruby
app/models/user_story.rb
sophieqgu/life-story
77e3d0d23fe0fd4e475e89c6c7bf6741fdbb6b53
[ "MIT" ]
null
null
null
app/models/user_story.rb
sophieqgu/life-story
77e3d0d23fe0fd4e475e89c6c7bf6741fdbb6b53
[ "MIT" ]
4
2021-02-19T02:00:05.000Z
2022-02-26T06:24:03.000Z
app/models/user_story.rb
sophieqgu/life-story
77e3d0d23fe0fd4e475e89c6c7bf6741fdbb6b53
[ "MIT" ]
null
null
null
class UserStory < ActiveRecord::Base belongs_to :user belongs_to :story end
20.75
37
0.746988
6b5591d1a12cc61ec2eb944bc687690e98907598
1,359
js
JavaScript
client/modules/Event/pages/EventDetailPage/EventDetailPage.js
Innogator/b-social
c3ad81780a813a1205259d34cf612ba7a7ad7f46
[ "MIT" ]
null
null
null
client/modules/Event/pages/EventDetailPage/EventDetailPage.js
Innogator/b-social
c3ad81780a813a1205259d34cf612ba7a7ad7f46
[ "MIT" ]
null
null
null
client/modules/Event/pages/EventDetailPage/EventDetailPage.js
Innogator/b-social
c3ad81780a813a1205259d34cf612ba7a7ad7f46
[ "MIT" ]
null
null
null
import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import styles from '../../components/EventListItem/EventListItem.css'; import { fetchEvent } from '../../EventActions'; import { getEvent } from '../../EventReducer'; export function EventDetailPage(p...
28.914894
79
0.685063
4587b24935f24ffdcda299047c2da705ecf90d2c
840
py
Python
dicotomia.py
lauralardies/ordenar
f1f926b4fc17a4ed798c0c0880ccac581bfa0d22
[ "Apache-2.0" ]
null
null
null
dicotomia.py
lauralardies/ordenar
f1f926b4fc17a4ed798c0c0880ccac581bfa0d22
[ "Apache-2.0" ]
null
null
null
dicotomia.py
lauralardies/ordenar
f1f926b4fc17a4ed798c0c0880ccac581bfa0d22
[ "Apache-2.0" ]
null
null
null
class Dicotomia(): def __init__(self, tabla) -> None: self.fin = len(tabla) - 1 self.tabla = tabla self.tablaordenada =[] def bubbleSort(self): for i in range(0, self.fin): for j in range(0, self.fin - i): if self.tabla[j] > self.tabla[j + 1]: ...
36.521739
65
0.495238
8cc9c656ba7c5eefb0b2f0123fd2f8b599680aa0
2,983
dart
Dart
examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart
Mayb3Nots/flutter
a31bed7890e502278723074c8f82d402f9f8041f
[ "BSD-3-Clause" ]
5
2021-02-23T01:42:16.000Z
2021-09-22T05:41:24.000Z
examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart
Mayb3Nots/flutter
a31bed7890e502278723074c8f82d402f9f8041f
[ "BSD-3-Clause" ]
20
2021-01-11T06:43:57.000Z
2022-03-31T03:32:41.000Z
examples/api/lib/cupertino/scrollbar/cupertino_scrollbar.0.dart
Mayb3Nots/flutter
a31bed7890e502278723074c8f82d402f9f8041f
[ "BSD-3-Clause" ]
3
2021-03-11T04:52:43.000Z
2021-09-18T02:53:16.000Z
// Copyright 2014 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Template: dev/snippets/config/templates/stateless_widget_scaffold.tmpl // // Comment lines marked with "โ–ผโ–ผโ–ผ" and "โ–ฒโ–ฒโ–ฒ" are used for authoring // of samp...
35.511905
100
0.567214
03f8f8e1808c7f23157b9c304248496e1aba6448
21,707
swift
Swift
Example/Pods/CaamDauForm/Form/Core/Row/Row.swift
testing2007/ZQSwiftTools
ef958346ee60341f79b2be646cfb0e9a1b344c40
[ "MIT" ]
2
2020-09-28T06:35:43.000Z
2020-12-16T08:46:11.000Z
Example/Pods/CaamDauForm/Form/Core/Row/Row.swift
testing2007/ZQSwiftTools
ef958346ee60341f79b2be646cfb0e9a1b344c40
[ "MIT" ]
1
2020-11-04T09:04:59.000Z
2020-11-06T00:58:35.000Z
Example/Pods/CaamDauForm/Form/Core/Row/Row.swift
testing2007/ZQSwiftTools
ef958346ee60341f79b2be646cfb0e9a1b344c40
[ "MIT" ]
null
null
null
//Created on 2018/12/6 by LCD :https://github.com/liucaide . /***** ๆจกๅ—ๆ–‡ๆกฃ ***** * Row UI ๆŽ’็‰ˆ็ป„ไปถ */ import UIKit import Foundation //MARK:-------------------- ๆ–ฐ็š„ ่กจๅ•ๅ่ฎฎ -------------------- public typealias RowDidSelectBlock = () -> Void public typealias RowCallBack = (Any?) -> Void public typealias RowCompleti...
29.982044
195
0.604644
4d014e37380fa2c92f11d18bc7a00cb9a6e7ba1f
740
cs
C#
ESIConnectionLibrary/ESIConnectionLibrary/Automapper Profiles/FleetsProfile.cs
Dusty-Meg/ESIConnectionLibrary
b45efc9c81ac34006d5226b029bd2babea0bec26
[ "MIT" ]
4
2018-02-28T03:01:50.000Z
2018-07-29T17:09:14.000Z
ESIConnectionLibrary/ESIConnectionLibrary/Automapper Profiles/FleetsProfile.cs
Dusty-Meg/ESIConnectionLibrary
b45efc9c81ac34006d5226b029bd2babea0bec26
[ "MIT" ]
23
2019-01-24T11:17:05.000Z
2022-03-21T16:24:17.000Z
ESIConnectionLibrary/ESIConnectionLibrary/Automapper Profiles/FleetsProfile.cs
Dusty-Meg/ESIConnectionLibrary
b45efc9c81ac34006d5226b029bd2babea0bec26
[ "MIT" ]
null
null
null
๏ปฟusing AutoMapper; using ESIConnectionLibrary.ESIModels; using ESIConnectionLibrary.PublicModels; namespace ESIConnectionLibrary.Automapper_Profiles { internal class FleetsProfile : Profile { public FleetsProfile() { CreateMap<EsiV1FleetWing, V1FleetWing>(); CreateMap<Es...
33.636364
69
0.683784
2fa83fccf35cfb2fd3210b9d776af61ccad5a8e3
9,497
py
Python
yarll/agents/tf1/knowledgetransfer/knowledge_transfer.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
62
2016-11-05T19:27:11.000Z
2018-09-20T13:29:39.000Z
yarll/agents/tf1/knowledgetransfer/knowledge_transfer.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
4
2020-07-09T16:46:19.000Z
2022-01-26T07:18:06.000Z
yarll/agents/tf1/knowledgetransfer/knowledge_transfer.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
18
2016-11-24T14:17:15.000Z
2018-07-04T16:33:00.000Z
import os import numpy as np import tensorflow as tf from yarll.agents.agent import Agent from yarll.agents.env_runner import EnvRunner from yarll.misc.utils import discount_rewards, FastSaver from yarll.misc.reporter import Reporter from yarll.misc.network_ops import create_accumulative_gradients_op, add_accumulative...
48.702564
166
0.621249
9837ebecc423aa21ac03f60dce3fdff0026fb9b2
771
swift
Swift
SwiftySyntaxTests/Sample.JSON.swift
ZkHaider/SwiftySyntax
c623c798df1c9f00c94d10c1dab5246b9349b56c
[ "MIT" ]
2
2021-09-12T21:13:24.000Z
2021-11-14T15:45:44.000Z
SwiftySyntaxTests/Sample.JSON.swift
ZkHaider/SwiftySyntax
c623c798df1c9f00c94d10c1dab5246b9349b56c
[ "MIT" ]
null
null
null
SwiftySyntaxTests/Sample.JSON.swift
ZkHaider/SwiftySyntax
c623c798df1c9f00c94d10c1dab5246b9349b56c
[ "MIT" ]
null
null
null
// // Sample.JSON.swift // SwiftySyntaxTests // // Created by Haider Khan on 10/13/19. // Copyright ยฉ 2019 zkhaider. All rights reserved. // import Foundation let sampleJSON: String = """ { "widget": { "debug": "on", "window": { "title": "Sample Konfabulator Widget", "name": "main_window", ...
18.804878
62
0.501946
5ac9a8cddfe685b6e2a773b076774cefae49d667
419
cs
C#
LCT/LCT.Application/Teams/Queries/GetTeamsQueryHandler.cs
AGranosik/LetChooseTeams
5363249451a8f91cb57f2809a362c88321a8ca8a
[ "MIT" ]
null
null
null
LCT/LCT.Application/Teams/Queries/GetTeamsQueryHandler.cs
AGranosik/LetChooseTeams
5363249451a8f91cb57f2809a362c88321a8ca8a
[ "MIT" ]
null
null
null
LCT/LCT.Application/Teams/Queries/GetTeamsQueryHandler.cs
AGranosik/LetChooseTeams
5363249451a8f91cb57f2809a362c88321a8ca8a
[ "MIT" ]
null
null
null
๏ปฟusing LCT.Core.Entities.Tournaments.Types; using MediatR; namespace LCT.Application.Teams.Queries { public class GetTeamsQuery : IRequest<List<string>> { } public class GetTeamsQueryHandler : IRequestHandler<GetTeamsQuery, List<string>> { public async Task<List<string>> Handle(GetTeamsQue...
26.1875
106
0.72315
e37070b4da0ad4a4d43c1127ff8f5937ba13b972
207
rb
Ruby
lib/dul_hydra/solr_helper.rb
duke-libraries/dul-hydra
3b2c831262add9a02ddd45468327fcf6922e6957
[ "BSD-3-Clause" ]
8
2015-01-28T03:16:06.000Z
2019-11-01T16:30:11.000Z
lib/dul_hydra/solr_helper.rb
duke-libraries/dul-hydra
3b2c831262add9a02ddd45468327fcf6922e6957
[ "BSD-3-Clause" ]
425
2015-01-05T15:19:18.000Z
2019-11-06T13:47:25.000Z
lib/dul_hydra/solr_helper.rb
duke-libraries/dul-hydra
3b2c831262add9a02ddd45468327fcf6922e6957
[ "BSD-3-Clause" ]
1
2015-11-02T16:53:34.000Z
2015-11-02T16:53:34.000Z
module DulHydra::SolrHelper def af_model_filter(solr_params, user_params) solr_params[:fq] ||= [] solr_params[:fq] << "+#{Ddr::IndexFields::ACTIVE_FEDORA_MODEL}:#{user_params[:model]}" end end
23
90
0.700483
6db770ca017d39a438911f7db811b4e85bdc4d9c
296
ts
TypeScript
lib/renderers/Form/Container.d.ts
lunlunshiwo/ax-editor-package
1f99b438c456e791dcd820c909a5691a52608dc2
[ "Apache-2.0" ]
1
2020-04-08T01:57:32.000Z
2020-04-08T01:57:32.000Z
lib/renderers/Form/Container.d.ts
lunlunshiwo/ax-editor-package
1f99b438c456e791dcd820c909a5691a52608dc2
[ "Apache-2.0" ]
null
null
null
lib/renderers/Form/Container.d.ts
lunlunshiwo/ax-editor-package
1f99b438c456e791dcd820c909a5691a52608dc2
[ "Apache-2.0" ]
null
null
null
/// <reference types="react" /> import Container from '../Container'; import { FormControlProps } from './Item'; export interface ContainerProps extends FormControlProps { } export declare class ContainerControlRenderer extends Container<ContainerProps> { renderBody(): JSX.Element | null; }
32.888889
81
0.760135
38957bd9872642afe129e20fc66afa1bd55cb5bb
3,889
php
PHP
models/Ticket.php
keiosweb/oc-support-plugin
45ec56220613679438314121ee303e5ef80f9f69
[ "MIT" ]
5
2016-02-02T05:41:20.000Z
2021-05-12T14:15:15.000Z
models/Ticket.php
keiosweb/oc-support-plugin
45ec56220613679438314121ee303e5ef80f9f69
[ "MIT" ]
null
null
null
models/Ticket.php
keiosweb/oc-support-plugin
45ec56220613679438314121ee303e5ef80f9f69
[ "MIT" ]
3
2016-01-18T13:16:02.000Z
2021-08-12T17:53:57.000Z
<?php namespace Keios\Support\Models; use Backend\Models\User; use Keios\Support\Classes\SupportHelpers; use Keios\Support\Classes\SupportMailer; use Model; /** * Ticket Model */ class Ticket extends Model { /** * @var string The database table used by the model. */ public $table = 'keios_support...
23.713415
81
0.524042
79adaed895c5753784a7b37f91bea99a02e096b7
2,028
php
PHP
resources/views/internet/mac_addresses/list.blade.php
michaela546/mars
07e2ad50dcf732f98aaee9688e18bc52f3c74362
[ "MIT" ]
null
null
null
resources/views/internet/mac_addresses/list.blade.php
michaela546/mars
07e2ad50dcf732f98aaee9688e18bc52f3c74362
[ "MIT" ]
null
null
null
resources/views/internet/mac_addresses/list.blade.php
michaela546/mars
07e2ad50dcf732f98aaee9688e18bc52f3c74362
[ "MIT" ]
null
null
null
<div id="mac-addresses-table"></div> <script type="application/javascript"> $(document).ready(function () { var deleteButton = function (cell, formatterParams, onRendered) { return $("<button type=\"button\" class=\"btn btn-sm btn-danger float-left\">@lang('internet.delete')</button>").click(fun...
50.7
156
0.495069
2c4be5b8c216efbf134873ad26befbe21f48a89b
9,195
py
Python
server/trydocpie.py
TylerTemp/trydocpie
4d48255cb05178c8d636fb085f69943dd87ea67f
[ "MIT" ]
null
null
null
server/trydocpie.py
TylerTemp/trydocpie
4d48255cb05178c8d636fb085f69943dd87ea67f
[ "MIT" ]
6
2021-03-09T01:55:42.000Z
2022-02-26T10:12:14.000Z
server/trydocpie.py
TylerTemp/trydocpie
4d48255cb05178c8d636fb085f69943dd87ea67f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #-*- coding: utf-8 -*- """ Usage: trydocpie web [<port>] trydocpie gen """ import logging # import time import json import shlex import sys import os import re import textwrap # import inspect import html try: from io import StringIO except ImportError: try: from cStringI...
34.438202
211
0.554214
74c4473c59083174163d3f6c16e3dfce15977f62
3,264
css
CSS
public/css/style.css
ezekiel37/expertsystem
ecacb2a78d43ca556ceb36ebc7d779a9e789b008
[ "MIT" ]
null
null
null
public/css/style.css
ezekiel37/expertsystem
ecacb2a78d43ca556ceb36ebc7d779a9e789b008
[ "MIT" ]
null
null
null
public/css/style.css
ezekiel37/expertsystem
ecacb2a78d43ca556ceb36ebc7d779a9e789b008
[ "MIT" ]
null
null
null
* { box-sizing: border-box; font-family: 'Roboto', sans-serif; } .hero{ display:flex; background-color: white; justify-content: center; align-items: center; overflow:hidden; } h1 { font-size: 1.5rem; font-weight: 400; color:#3B82F6; } h3{ font-size: 1.5rem; font-weight: 400; color:#3B82F6; } ...
17.089005
60
0.643382
3abc4a489bd0cb56e01112b151c200c050c1b524
158
swift
Swift
Frameworks/IpcCommon/Support/IpcMethodsRegisterer/IpcMethodHandlersRegisterer.swift
maxim4to/Mixbox
350a707b117621e5f461e63075d341c2c21b6117
[ "MIT" ]
3
2019-10-15T08:17:19.000Z
2019-11-15T08:15:50.000Z
Frameworks/IpcCommon/Support/IpcMethodsRegisterer/IpcMethodHandlersRegisterer.swift
maxim4to/Mixbox
350a707b117621e5f461e63075d341c2c21b6117
[ "MIT" ]
null
null
null
Frameworks/IpcCommon/Support/IpcMethodsRegisterer/IpcMethodHandlersRegisterer.swift
maxim4to/Mixbox
350a707b117621e5f461e63075d341c2c21b6117
[ "MIT" ]
null
null
null
#if MIXBOX_ENABLE_IN_APP_SERVICES import MixboxIpc public protocol IpcMethodHandlersRegisterer: class { func registerIn(ipcRouter: IpcRouter) } #endif
15.8
52
0.816456
1a62787ee76c35bb93375fd7a2815c9641b5c3fa
1,747
py
Python
05-07-a2/server_07_tone.py
hiro345g/raspi_magazine_201610_toku1
f5dde65409eaeef15e15e6e2d5c86cbf0ac88ef5
[ "MIT" ]
null
null
null
05-07-a2/server_07_tone.py
hiro345g/raspi_magazine_201610_toku1
f5dde65409eaeef15e15e6e2d5c86cbf0ac88ef5
[ "MIT" ]
null
null
null
05-07-a2/server_07_tone.py
hiro345g/raspi_magazine_201610_toku1
f5dde65409eaeef15e15e6e2d5c86cbf0ac88ef5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from flask import Flask, render_template, request import time, wiringpi # -- ๅฎšๆ•ฐๅฎฃ่จ€ -- # SPK_PIN = 5 # ๅœง้›ปใ‚นใƒ”ใƒผใ‚ซใƒผใฎGPIO็•ชๅท # -- ้–ขๆ•ฐ -- # def init(): """ wiringpiใจใ‚ฝใƒ•ใƒˆใ‚ฆใ‚งใ‚ขใƒˆใƒผใƒณใฎๅˆๆœŸๅŒ– """ wiringpi.wiringPiSetupGpio() # wiringpiๅˆๆœŸๅŒ– wiringpi.softToneCreate(SPK_PIN) # ใ‚ฝใƒ•ใƒˆใ‚ฆใ‚งใ‚ข...
24.605634
105
0.594734
711c1915f45532fab523f3e6ea35c5063f726ca6
2,400
lua
Lua
scripts/enemy_generator.lua
gabrielnaves/Fireboy-Ludum-Dare-40
3638f0d6fefb95525870ca03434b5c9394b96dc4
[ "MIT" ]
null
null
null
scripts/enemy_generator.lua
gabrielnaves/Fireboy-Ludum-Dare-40
3638f0d6fefb95525870ca03434b5c9394b96dc4
[ "MIT" ]
null
null
null
scripts/enemy_generator.lua
gabrielnaves/Fireboy-Ludum-Dare-40
3638f0d6fefb95525870ca03434b5c9394b96dc4
[ "MIT" ]
null
null
null
-- enemy = require("enemy.lua") enemyGenerator = {} enemyGenerator.enemies = {} enemyGenerator.enemyAmount = 0 -- Timers enemyGenerator.initialDelayTimer = 0 enemyGenerator.initialDelay = 4 enemyGenerator.enemyGenTimer = 0 enemyGenerator.startingGenTime = 4 enemyGenerator.enemyGenTime = 4 function enemyGenerator.upd...
32.432432
113
0.721667
af8a5e60b53f239fae73143bff4ffaa80fca775c
5,023
py
Python
core/randomdata.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
core/randomdata.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
core/randomdata.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
from hashlib import new import random import bisect import csv import datetime import time class StartDate: year = 2020 month = 1 date = 1 class EndDate: year = 2021 month = 1 date = 1 class graph: def __init__(self, gdict=None, res=[]): if gdict is None: gdict = {}...
31.198758
85
0.506868
8e51b8861eab47911303b826082c89ef4ad0970a
408
c
C
srclua5/ctrl/iuplua_filedlg.c
hleuwer/iup
6bafeb94b652c2a3ea1ef8ef3a9de6fd819e6b6e
[ "MIT" ]
1
2018-03-14T15:39:18.000Z
2018-03-14T15:39:18.000Z
srclua5/ctrl/iuplua_filedlg.c
hleuwer/iup
6bafeb94b652c2a3ea1ef8ef3a9de6fd819e6b6e
[ "MIT" ]
1
2019-01-14T07:02:42.000Z
2019-01-14T07:02:42.000Z
srclua5/ctrl/iuplua_filedlg.c
hleuwer/iup
6bafeb94b652c2a3ea1ef8ef3a9de6fd819e6b6e
[ "MIT" ]
3
2017-03-24T00:31:58.000Z
2018-12-27T09:41:59.000Z
#include <stdlib.h> #include <lua.h> #include <lauxlib.h> #include "iup.h" #include "iuplua.h" #include "iupfiledlg.h" #include "il.h" int iupfiledlglua_open(lua_State* L) { if (iuplua_opencall_internal(L)) IupNewFileDlgOpen(); return 0; } /* obligatory to use require"iupluafiled...
15.692308
47
0.659314
a38695c06c859e2497654214c773f5867e9a6971
2,858
tsx
TypeScript
frontend/pages/queries/QueryPage/components/TargetsInput/TargetsInputHostsTableConfig.tsx
groob/fleetdm-fleet
e286ee387ecb987ea402c86bda8084e023975727
[ "MIT" ]
1
2021-04-20T21:29:18.000Z
2021-04-20T21:29:18.000Z
frontend/pages/queries/QueryPage/components/TargetsInput/TargetsInputHostsTableConfig.tsx
clong/fleet
b11c6ffe319e1d394713def6cf9bd66bba4fd6bd
[ "MIT" ]
2
2022-03-24T04:36:15.000Z
2022-03-31T18:55:02.000Z
frontend/pages/queries/QueryPage/components/TargetsInput/TargetsInputHostsTableConfig.tsx
clong/fleet
b11c6ffe319e1d394713def6cf9bd66bba4fd6bd
[ "MIT" ]
null
null
null
/* eslint-disable react/prop-types */ import React from "react"; import { Cell, UseRowSelectInstanceProps } from "react-table"; import { IDataColumn } from "interfaces/datatable_config"; // @ts-ignore import Checkbox from "components/forms/fields/Checkbox"; import TextCell from "components/TableContainer/DataTable/T...
28.868687
84
0.601819
a3838802f2504ce3fa37436915c85dbe757d1687
9,454
java
Java
compiler/src/test-integration/java/io/neow3j/compiler/ByteStringIntegrationTest.java
neow3j/neow3j
dab05124e063032c9176471563416abba46cb1e7
[ "Apache-2.0" ]
135
2018-12-09T16:54:43.000Z
2022-03-21T18:42:27.000Z
compiler/src/test-integration/java/io/neow3j/compiler/ByteStringIntegrationTest.java
neow3j/neow3j
dab05124e063032c9176471563416abba46cb1e7
[ "Apache-2.0" ]
620
2018-12-18T13:08:36.000Z
2022-03-29T15:26:49.000Z
compiler/src/test-integration/java/io/neow3j/compiler/ByteStringIntegrationTest.java
neow3j/neow3j
dab05124e063032c9176471563416abba46cb1e7
[ "Apache-2.0" ]
27
2018-12-21T08:09:46.000Z
2022-02-09T03:24:37.000Z
package io.neow3j.compiler; import io.neow3j.protocol.core.stackitem.StackItem; import io.neow3j.types.ContractParameter; import io.neow3j.devpack.ByteString; import io.neow3j.protocol.core.response.InvocationResult; import io.neow3j.types.NeoVMStateType; import io.neow3j.types.StackItemType; import org.junit.ClassRul...
38.275304
97
0.672414
30e99fa8ce59598800f89a6be6e0f8f6d70612ad
2,941
php
PHP
resources/views/layouts/nav-header.blade.php
edgardominguez23/bookstore
6873bf0711a0f630a46f1c48f97b553687dfd2e8
[ "MIT" ]
null
null
null
resources/views/layouts/nav-header.blade.php
edgardominguez23/bookstore
6873bf0711a0f630a46f1c48f97b553687dfd2e8
[ "MIT" ]
null
null
null
resources/views/layouts/nav-header.blade.php
edgardominguez23/bookstore
6873bf0711a0f630a46f1c48f97b553687dfd2e8
[ "MIT" ]
null
null
null
<nav id="barraNaveg" class="navbar navbar-expand-lg navbar-dark bg-dark"> <a href="/" style="text-decoration:none"><h3 class="text-white mr-5">BookStore</h3></a> <form class="form-inline my-2 my-lg-0 ml-5" action="{{route('home.search')}}" method="GET"> <div class="input-group"> <input type="searc...
50.706897
167
0.533492
ed3d76ad8f56236c91611ee40baee869fb0bc222
865
h
C
openmit/tools/util/type_conversion.h
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
15
2017-06-28T08:39:51.000Z
2019-03-27T14:08:45.000Z
openmit/tools/util/type_conversion.h
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
null
null
null
openmit/tools/util/type_conversion.h
openmit/openmit
01e3262d69d47fbe38bad1ba95c7d1ade110d01e
[ "Apache-2.0" ]
3
2017-07-30T08:50:45.000Z
2017-10-24T14:41:30.000Z
/*! * Copyright 2016 by Contributors * \file type_conversion.h * \brief basic type conversion * \author ZhouYong */ #ifndef OPENMIT_TOOLS_UTIL_TYPE_CONVERSION_H_ #define OPENMIT_TOOLS_UTIL_TYPE_CONVERSION_H_ #include <sstream> #include <stdint.h> #include <string> namespace mit { /*! * \brief convert string t...
21.097561
54
0.710983
f93687b56a461d7b338de8059812cc1f19675a72
261
ps1
PowerShell
src/Internal/Test-Administrator.ps1
CodeblackNL/UPCluster
a1ee9887f8eab9c561c47e427f733cdf75ef616f
[ "MIT" ]
null
null
null
src/Internal/Test-Administrator.ps1
CodeblackNL/UPCluster
a1ee9887f8eab9c561c47e427f733cdf75ef616f
[ "MIT" ]
null
null
null
src/Internal/Test-Administrator.ps1
CodeblackNL/UPCluster
a1ee9887f8eab9c561c47e427f733cdf75ef616f
[ "MIT" ]
null
null
null
#Requires -Version 5.0 function Test-Administrator { return (New-Object -TypeName Security.Principal.WindowsPrincipal -ArgumentList ([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) }
52.2
202
0.796935