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
a448b7d05d2b1ac348d37fcdc4a61f3903012fb8
1,042
php
PHP
app/Models/SalesTicket.php
kingkpono/cspa
e4f92a50187432b5396a495781e40a9c218dc3a2
[ "MIT" ]
null
null
null
app/Models/SalesTicket.php
kingkpono/cspa
e4f92a50187432b5396a495781e40a9c218dc3a2
[ "MIT" ]
null
null
null
app/Models/SalesTicket.php
kingkpono/cspa
e4f92a50187432b5396a495781e40a9c218dc3a2
[ "MIT" ]
null
null
null
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Database\Eloquent\Model; class SalesTicket extends Model { use Notifiable; protected $fillable = [ 'client_id', 'service_type_id' ,'device','serial_number', 'device_description', 'ticket_contact_email', 'tic...
23.155556
138
0.642035
2fc395eba8c035561a54d7a02bdb4bf0ee47431e
940
dart
Dart
flutter/catsao/lib/entity/weather_entity.dart
shunwuyu/lesson_show
44c8fc05742611e30d84572abb91dc92b9a9fa72
[ "MIT" ]
41
2018-06-19T07:23:02.000Z
2021-12-26T13:33:16.000Z
flutter/catsao/lib/entity/weather_entity.dart
shunwuyu/lesson_show
44c8fc05742611e30d84572abb91dc92b9a9fa72
[ "MIT" ]
101
2019-07-01T05:49:46.000Z
2022-03-08T22:53:00.000Z
flutter/catsao/lib/entity/weather_entity.dart
shunwuyu/lesson_show
44c8fc05742611e30d84572abb91dc92b9a9fa72
[ "MIT" ]
21
2018-11-01T00:49:59.000Z
2021-04-27T07:18:37.000Z
class WeatherEntity { String country; String location; String tmp; String cond; String hum; String windDir; String windSc; String windSpd; String statusCode; String statusTxt; WeatherEntity({this.country, this.location, this.tmp, this.cond, this.hum, this.windDir, this.windSc, this.windSpd, th...
21.860465
88
0.631915
01e2879f4df2d077f8fcbd99632d1045244f2e6f
21,454
html
HTML
example/example/templates/base.html
carriemclaughlin/django-components
b761f6d56f56a29f28d5f7983cc15f6a7971acf4
[ "BSD-3-Clause" ]
null
null
null
example/example/templates/base.html
carriemclaughlin/django-components
b761f6d56f56a29f28d5f7983cc15f6a7971acf4
[ "BSD-3-Clause" ]
null
null
null
example/example/templates/base.html
carriemclaughlin/django-components
b761f6d56f56a29f28d5f7983cc15f6a7971acf4
[ "BSD-3-Clause" ]
1
2018-09-28T17:41:21.000Z
2018-09-28T17:41:21.000Z
<!DOCTYPE html> <html> <head> <title>{% block head_title %}Attendance Example{% endblock %}</title> {% block extra_head %} {% endblock %} <style> div.cmp { border: 2px solid grey; } body.no-js .cmp-deferred .js { display: none; } ...
42.149312
209
0.361564
976a3e7f93b6a0be1a1c7971f94ef4b9a64506b9
3,477
ksh
Shell
src/tests/sys/cddl/zfs/tests/snapshot/snapshot_009_pos.ksh
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/tests/sys/cddl/zfs/tests/snapshot/snapshot_009_pos.ksh
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/tests/sys/cddl/zfs/tests/snapshot/snapshot_009_pos.ksh
lastweek/source-freebsd
0821950b0c40cbc891a27964b342e0202a3859ec
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#! /usr/local/bin/ksh93 -p # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or ht...
26.340909
80
0.715272
e2a940f1b9a5bf4cbc169f3060b803d38775f156
699
py
Python
website/__init__.py
Jason13201/Lets-tidy-up-this-space
ca815f1e8227e7b60c9047c7a36d05355616021b
[ "MIT" ]
2
2021-03-15T04:34:29.000Z
2021-03-15T04:34:56.000Z
website/__init__.py
Jason13201/Lets-tidy-up-this-space
ca815f1e8227e7b60c9047c7a36d05355616021b
[ "MIT" ]
null
null
null
website/__init__.py
Jason13201/Lets-tidy-up-this-space
ca815f1e8227e7b60c9047c7a36d05355616021b
[ "MIT" ]
1
2021-03-15T04:35:18.000Z
2021-03-15T04:35:18.000Z
from flask import Flask from flask_bcrypt import Bcrypt from flask_login import LoginManager from config import DBPass, DBUsername from cassandra.cluster import Cluster from cassandra.auth import PlainTextAuthProvider app = Flask(__name__) app.config["SECRET_KEY"] = "enterasecretkeyhere" bcrypt = Bcrypt(app) login_m...
25.888889
69
0.805436
a37aa8bdac1562ca31b2857dd5cb880cb1cecf22
4,348
java
Java
src/example/java/cn/pipeline/example/DragonRenderer.java
LambdaInnovation/Pipeline
c88f26c6e8a3901dae104cf6461c35d4d373eb6c
[ "MIT" ]
10
2016-06-19T15:59:42.000Z
2022-03-14T15:14:35.000Z
src/example/java/cn/pipeline/example/DragonRenderer.java
LambdaInnovation/Pipeline
c88f26c6e8a3901dae104cf6461c35d4d373eb6c
[ "MIT" ]
7
2016-06-12T02:39:24.000Z
2016-06-26T10:52:32.000Z
src/example/java/cn/pipeline/example/DragonRenderer.java
LambdaInnovation/Pipeline
c88f26c6e8a3901dae104cf6461c35d4d373eb6c
[ "MIT" ]
null
null
null
package cn.pipeline.example; import cn.pipeline.api.GraphicPipeline; import cn.pipeline.api.Material; import cn.pipeline.api.Material.*; import cn.pipeline.api.ObjParser; import cn.pipeline.api.ObjParser.VertexAttr; import cn.pipeline.api.ShaderProgram; import cn.pipeline.api.mc.EntityRenderUtils; import cn.pipeline.a...
38.821429
131
0.642364
1aa07b641c2ed4b8873f39e2f95c0b9eb8ed4d0f
388
cs
C#
SimpleGames.TicTacToe.Tests/SimpleGames.TicTacToe.Position.Test.cs
Dmitry-Bychenko/SimpleGames.TicTacToe
18cbca1dced97d6f9013d1c857185bb965e612e8
[ "MIT" ]
null
null
null
SimpleGames.TicTacToe.Tests/SimpleGames.TicTacToe.Position.Test.cs
Dmitry-Bychenko/SimpleGames.TicTacToe
18cbca1dced97d6f9013d1c857185bb965e612e8
[ "MIT" ]
null
null
null
SimpleGames.TicTacToe.Tests/SimpleGames.TicTacToe.Position.Test.cs
Dmitry-Bychenko/SimpleGames.TicTacToe
18cbca1dced97d6f9013d1c857185bb965e612e8
[ "MIT" ]
null
null
null
 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SimpleGames.TicTacToe.Tests { [TestClass] public sealed class PositionTests { [TestMethod] public void OutcomeTest() { TicTacToePosition board = TicTacToePosition.Build( "a1", "a2", "a3", "b2", "b1", "c1", "b3", "c3", "c2"); ...
20.421053
62
0.646907
215f089cf35ceee5846d65f15465d4940bf73115
1,111
js
JavaScript
replate-app/src/components/Pickup Requests/AssignedPickupRequest.js
iDecisive/front-end-1
8fb303fbe7162a8f975ff45dbbe62c64c8789281
[ "MIT" ]
1
2020-10-16T16:14:36.000Z
2020-10-16T16:14:36.000Z
replate-app/src/components/Pickup Requests/AssignedPickupRequest.js
daniel-j-dev/front-end-1
8fb303fbe7162a8f975ff45dbbe62c64c8789281
[ "MIT" ]
2
2020-06-25T16:23:35.000Z
2020-06-25T16:34:56.000Z
replate-app/src/components/Pickup Requests/AssignedPickupRequest.js
daniel-j-dev/front-end-1
8fb303fbe7162a8f975ff45dbbe62c64c8789281
[ "MIT" ]
null
null
null
import React, { useContext } from 'react'; import MainContext from '../../contexts/MainContext'; import './assignedpickuprequest.css'; function AssignedPickupRequest(props) { let {item, index} = props; let {data, setData} = useContext(MainContext); let completeRequest = event => { event.preventDefault(); ...
20.962264
74
0.671467
7fbb04ed69c8fe6b89dcc24278b1b9c97f5bf834
1,647
php
PHP
API/Parsers/Public/Spells.php
Aprelius/vectra-website
b553760e182a7f0d4723882e7a71a6033a61d6f4
[ "MIT" ]
null
null
null
API/Parsers/Public/Spells.php
Aprelius/vectra-website
b553760e182a7f0d4723882e7a71a6033a61d6f4
[ "MIT" ]
null
null
null
API/Parsers/Public/Spells.php
Aprelius/vectra-website
b553760e182a7f0d4723882e7a71a6033a61d6f4
[ "MIT" ]
null
null
null
<?php if (!defined('IN_PARSERS') || !IN_PARSERS) { exit ; } $Amount = 1 ; if (!empty($_GET["amount"]) && stringToNum($_GET["amount"]) > 1) { $Amount = stringToNum($_GET["amount"]) ; } if (empty($_GET['spell'])) { echo 'ERROR: Missing arguement &spell' . chr(10) ; } else { $Spell = ...
27.915254
108
0.480874
8b4c46b6afc6f5e4dfa6a0dcca11d1e534b070e7
1,145
rb
Ruby
Formula/bioawk.rb
jeroen/homebrew-core
06f9b59ff6e7ec8c3be8ee26681867695e40b03f
[ "BSD-2-Clause" ]
1
2022-01-04T21:18:59.000Z
2022-01-04T21:18:59.000Z
Formula/bioawk.rb
jeroen/homebrew-core
06f9b59ff6e7ec8c3be8ee26681867695e40b03f
[ "BSD-2-Clause" ]
24
2019-07-24T19:22:19.000Z
2022-02-06T13:50:06.000Z
Formula/bioawk.rb
jeroen/homebrew-core
06f9b59ff6e7ec8c3be8ee26681867695e40b03f
[ "BSD-2-Clause" ]
12
2019-07-23T18:05:14.000Z
2022-03-19T13:56:03.000Z
class Bioawk < Formula desc "AWK modified for biological data" homepage "https://github.com/lh3/bioawk" url "https://github.com/lh3/bioawk/archive/v1.0.tar.gz" sha256 "5cbef3f39b085daba45510ff450afcf943cfdfdd483a546c8a509d3075ff51b5" bottle do cellar :any_skip_relocation # sha256 "7082d4073e07ba3dfa84...
33.676471
93
0.744978
b3001b605d248e64b4db5522adbf52faa85ab824
422
py
Python
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
follower_maze/events/operations.py
begor/follower_maze
d76315e5085d4566f5730d70b51559b2262bc827
[ "MIT" ]
null
null
null
from follower_maze.events import handler from follower_maze.events import parser def parse(payload: bytes): """ Parse given payload bytes into one of `types.Event` subclasses. """ return parser.EventParser(payload).parse() async def handle(payload: bytes): """ Parse event and handle ...
23.444444
71
0.687204
c6817af855c04ffbb1befe940b8712aaa45a0d26
1,397
kt
Kotlin
server/src/main/kotlin/com/transparency/config/DataConfig.kt
stefan-cimander/transparency
e8fe7289640df68f568d4f68e4600d563a7aa2cc
[ "MIT" ]
1
2017-08-05T02:24:27.000Z
2017-08-05T02:24:27.000Z
server/src/main/kotlin/com/transparency/config/DataConfig.kt
stefan-cimander/transparency
e8fe7289640df68f568d4f68e4600d563a7aa2cc
[ "MIT" ]
null
null
null
server/src/main/kotlin/com/transparency/config/DataConfig.kt
stefan-cimander/transparency
e8fe7289640df68f568d4f68e4600d563a7aa2cc
[ "MIT" ]
null
null
null
package com.transparency.config import org.apache.tomcat.dbcp.dbcp2.BasicDataSource import org.springframework.beans.factory.annotation.Autowired import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.PropertySource i...
38.805556
89
0.775233
da4ba942cefb814fcddc2f2e90b36c5fdef86b26
12,477
php
PHP
resources/views/temp/layanan.blade.php
wulanpratiwi/sushihouse
8532baa9914859315ff3f99faec2eb46505fd0e0
[ "MIT" ]
null
null
null
resources/views/temp/layanan.blade.php
wulanpratiwi/sushihouse
8532baa9914859315ff3f99faec2eb46505fd0e0
[ "MIT" ]
3
2021-03-10T15:50:07.000Z
2022-02-27T03:35:13.000Z
resources/views/temp/layanan.blade.php
wulanpratiwi/sushihouse
8532baa9914859315ff3f99faec2eb46505fd0e0
[ "MIT" ]
1
2020-04-25T06:31:54.000Z
2020-04-25T06:31:54.000Z
@extends('template') @section('content') <!-- Navbar --> <nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light" id="ftco-navbar"> <div class="container"> <a class="navbar-brand" href="/"> <span class="flaticon-pizza-1 mr-1"></span>SUSHI<br><small>...
51.9875
234
0.518714
be3e20ebf77d01dea0306bcfee00feaee8685061
2,471
ts
TypeScript
sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts
hectorhdzg/azure-sdk-for-js
b7ea09b24504ce820a819bcde802306fd37cce2a
[ "MIT" ]
2
2021-12-10T08:56:33.000Z
2021-12-10T08:56:35.000Z
sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts
hectorhdzg/azure-sdk-for-js
b7ea09b24504ce820a819bcde802306fd37cce2a
[ "MIT" ]
null
null
null
sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts
hectorhdzg/azure-sdk-for-js
b7ea09b24504ce820a819bcde802306fd37cce2a
[ "MIT" ]
1
2021-10-04T19:21:57.000Z
2021-10-04T19:21:57.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. import { createHttpHeaders, PipelineRequestOptions } from "@azure/core-rest-pipeline"; import { AccessToken, GetTokenOptions } from "@azure/core-auth"; import { MSI, MSIConfiguration } from "./models"; import { credentialLogger } from "../../ut...
30.506173
138
0.696074
a446b9419a557bf7e46fdebe856946d29a48f64b
2,579
php
PHP
app/Nova/SchlesingerSurveyQualification.php
770studio/tds-adbloom
2eefbcbe7f359c829d867355fba2ae5b4cd24f35
[ "MIT" ]
null
null
null
app/Nova/SchlesingerSurveyQualification.php
770studio/tds-adbloom
2eefbcbe7f359c829d867355fba2ae5b4cd24f35
[ "MIT" ]
null
null
null
app/Nova/SchlesingerSurveyQualification.php
770studio/tds-adbloom
2eefbcbe7f359c829d867355fba2ae5b4cd24f35
[ "MIT" ]
null
null
null
<?php namespace App\Nova; use Illuminate\Http\Request; use Illuminate\Support\Collection; use Laravel\Nova\Fields\ID; use Laravel\Nova\Fields\Text; class SchlesingerSurveyQualification extends Resource { /** * The model the resource corresponds to. * * @var string */ public static $model ...
21.672269
102
0.51299
a3760ae6041a278aee4f0e72b08483b3e7fe8b20
1,320
java
Java
java/org/l2jserver/gameserver/model/actor/instance/TrainerInstance.java
juninhorosa/L2JServer_C6_Interlude
f46627b75d86531fe863297544a5a4578388a6fe
[ "MIT" ]
6
2020-05-14T22:52:59.000Z
2022-02-24T01:37:23.000Z
java/org/l2jserver/gameserver/model/actor/instance/TrainerInstance.java
juninhorosa/L2JServer_C6_Interlude
f46627b75d86531fe863297544a5a4578388a6fe
[ "MIT" ]
2
2020-12-10T15:08:48.000Z
2021-12-01T01:01:46.000Z
java/org/l2jserver/gameserver/model/actor/instance/TrainerInstance.java
juninhorosa/L2JServer_C6_Interlude
f46627b75d86531fe863297544a5a4578388a6fe
[ "MIT" ]
15
2020-05-08T20:41:06.000Z
2022-02-24T01:36:58.000Z
/* * This file is part of the L2JServer project. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This pr...
27.5
71
0.710606
1a88fab4fc64ab14b58a3919ebec4cbe97d82f52
2,880
py
Python
generativemagic/checks/poker.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
generativemagic/checks/poker.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
generativemagic/checks/poker.py
misaka3/generativemagic
58f24a9fd95c94828281ed6c1267d570ee7c7b10
[ "MIT" ]
null
null
null
from generativemagic.arrays import np_index from generativemagic.checks.basic import Checker def cards_positions(deck, cards): positions = [np_index(deck, card) for card in cards] return sorted(positions) class IsGenericHand: def __init__(self, hands, can_second_deal, desired_cards): self.__hand...
35.121951
113
0.603819
2d7a0bc85cbb3d961fcf03b98e8d3ebec03ef45f
18,773
css
CSS
widgets/common/assets/gradients/glassy/glassyPurple/glassyPurple4.css
idutta2007/yiigems
4278e750db1f19d50615a5acc7a93c8802ff5618
[ "MIT" ]
1
2015-11-02T14:12:02.000Z
2015-11-02T14:12:02.000Z
widgets/common/assets/gradients/glassy/glassyPurple/glassyPurple4.css
idutta2007/yiigems
4278e750db1f19d50615a5acc7a93c8802ff5618
[ "MIT" ]
1
2015-11-01T08:58:53.000Z
2016-01-02T09:25:49.000Z
widgets/common/assets/gradients/glassy/glassyPurple/glassyPurple4.css
idutta2007/yiigems
4278e750db1f19d50615a5acc7a93c8802ff5618
[ "MIT" ]
null
null
null
.background_glassyPurple4, .hover_background_glassyPurple4:hover, .active_background_glassyPurple4:active:hover { background: #ff0bff; background-image: -moz-linear-gradient(top, rgb(240, 0, 240) 0%, rgb(213, 0, 213) 50%, rgb(186, 0, 186) 55%, rgb(255, 11, 255) 100%); background-image: -webkit-gradient(lin...
45.019185
216
0.684973
c4b457a7d61ab62179e13416dda2f179f7be4a5e
1,663
hh
C++
modules/Tsp/TspParticle.hh
ElonKou/genetic
507f739b44399b8dbae1bde4523fbb718704e223
[ "MIT" ]
null
null
null
modules/Tsp/TspParticle.hh
ElonKou/genetic
507f739b44399b8dbae1bde4523fbb718704e223
[ "MIT" ]
null
null
null
modules/Tsp/TspParticle.hh
ElonKou/genetic
507f739b44399b8dbae1bde4523fbb718704e223
[ "MIT" ]
null
null
null
#pragma once #include "TspAlgorithmBase.hh" typedef struct SpeedItem { int x; int y; } SpeedItem; class TspParticle : public TspAlgorithmBase { public: std::vector<SpeedItem> m_personal; // cur:A -> his:B (current vs personal history) std::vector<SpeedItem> m_global; ...
33.938776
178
0.595911
0dfb4a630e757afcc404d920e5ed42854902f693
6,679
cs
C#
Cranks.Result.Tests/ExtensionAndFactoryTests/Result.WithValueIf.Tests.cs
crazycrank/Cranks.Result
e6674170de88b4f7621ccaac38bc44b2cda97409
[ "MIT" ]
5
2021-03-17T21:38:27.000Z
2021-03-19T13:02:23.000Z
Cranks.Result.Tests/ExtensionAndFactoryTests/Result.WithValueIf.Tests.cs
crazycrank/ResultZ
e6674170de88b4f7621ccaac38bc44b2cda97409
[ "MIT" ]
2
2021-03-18T13:10:54.000Z
2021-05-17T01:06:11.000Z
Cranks.Result.Tests/ExtensionAndFactoryTests/Result.WithValueIf.Tests.cs
crazycrank/ResultZ
e6674170de88b4f7621ccaac38bc44b2cda97409
[ "MIT" ]
1
2021-03-15T14:10:04.000Z
2021-03-15T14:10:04.000Z
using Cranks.Result.Tests.Utils; using Moq; using Shouldly; using Xunit; namespace Cranks.Result.Tests.ExtensionAndFactoryTests { public class ResultWithValueIfTests { [Fact] public void WithValueIf_True_OnPassed_NowHasValue() { var result = Result.WithValue("oldValue") ...
36.102703
107
0.549933
45ab0cafa08e6e0155dad5d9beed6e7c1b803bd6
1,166
py
Python
estimateratio/estimate_ratio.py
anthony-aylward/estimateratio
0b4ed577150a27ee0f1e61f5d45ff14a4327090c
[ "MIT" ]
null
null
null
estimateratio/estimate_ratio.py
anthony-aylward/estimateratio
0b4ed577150a27ee0f1e61f5d45ff14a4327090c
[ "MIT" ]
null
null
null
estimateratio/estimate_ratio.py
anthony-aylward/estimateratio
0b4ed577150a27ee0f1e61f5d45ff14a4327090c
[ "MIT" ]
null
null
null
#=============================================================================== # estimate_ratio.py #=============================================================================== """Estimate the ratio of two random variables from a sample""" from math import sqrt from statistics import mean def estimate_ratio(x...
26.5
80
0.48542
4596b5ff0098ec1f335d9381c7fa4c8d2a142b71
10,719
py
Python
ama/dbscan_processor.py
k-zen/Ama
a5889996201dcb6a5b0ccd9cd0f369ce95aec6b6
[ "BSD-2-Clause" ]
null
null
null
ama/dbscan_processor.py
k-zen/Ama
a5889996201dcb6a5b0ccd9cd0f369ce95aec6b6
[ "BSD-2-Clause" ]
null
null
null
ama/dbscan_processor.py
k-zen/Ama
a5889996201dcb6a5b0ccd9cd0f369ce95aec6b6
[ "BSD-2-Clause" ]
1
2018-09-15T03:46:25.000Z
2018-09-15T03:46:25.000Z
# -*- coding: utf-8 -*- """ Clase perteneciente al módulo de procesamiento de datos e inferencias Ama. .. module:: dbscan_processor :platform: Unix :synopsis: Detección de clusters de tormenta utilizando el algoritmo DBSCAN. .. moduleauthor:: Andreas P. Koenzen <akc@apkc.net> """ import ama.utils as utils imp...
42.200787
131
0.612091
817349b5c3ba90b7c9cc555dc0699247165dd09d
383
php
PHP
module/Menu/view/helper/ShowMenu.php
imediasun/indigo
038900c3b538b552f15ed082de2f48e66215c2b0
[ "BSD-3-Clause" ]
null
null
null
module/Menu/view/helper/ShowMenu.php
imediasun/indigo
038900c3b538b552f15ed082de2f48e66215c2b0
[ "BSD-3-Clause" ]
null
null
null
module/Menu/view/helper/ShowMenu.php
imediasun/indigo
038900c3b538b552f15ed082de2f48e66215c2b0
[ "BSD-3-Clause" ]
null
null
null
<?php namespace Menu\View\Helper; use Zend\View\Helper\AbstractHelper; class ShowMenu extends AbstractHelper { public function __invoke($str, $find) { if (!is_string($str)){ return 'must be string'; } if (strpos($str, $find) === false){ retur...
16.652174
44
0.51436
bb4f9f2a2c370579ddca57847dbfcc390b499726
514
cshtml
C#
HairSalon/Views/Stylists/New.cshtml
antonyukmaryana/HairSalon
ae5a900ab8b2199abee42375e8ef0cc863e01a1a
[ "MIT" ]
null
null
null
HairSalon/Views/Stylists/New.cshtml
antonyukmaryana/HairSalon
ae5a900ab8b2199abee42375e8ef0cc863e01a1a
[ "MIT" ]
null
null
null
HairSalon/Views/Stylists/New.cshtml
antonyukmaryana/HairSalon
ae5a900ab8b2199abee42375e8ef0cc863e01a1a
[ "MIT" ]
null
null
null
@using HairSalon.Models; <h1> We are happy to welcome you at our Hair Salon</h1> <h2>Please enter information.</h2> <form action='/stylists/new' method='post'> <label for='stylistName'>Enter Stylist name:</label> <input id='stylistName' name='stylistName' type='text'> <label for='stylistDescription'>Enter Styli...
32.125
71
0.714008
d9385be71e87611db80e0e76e8ce00d3d77bb296
6,143
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1122.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1122.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1122.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x13a9b, %rsi lea addresses_WC_ht+0x14b4c, %rdi nop nop nop xor %r15, %r15 mov $36, %rcx rep movsw nop nop nop nop nop xor $14863, %r8 lea addresses_WC_ht+0x1e79b, %rsi lea add...
38.63522
2,999
0.661566
b05a6d7c5837d692d2c119a62cc1ca7614bb3f8b
5,924
py
Python
src/core/python/llnms/viewer/ui/NetworkSummaryPage.py
marvins/LLNMS
ebc15418e1a5dddafdb3e55cea4e8cb71f619b2d
[ "MIT" ]
null
null
null
src/core/python/llnms/viewer/ui/NetworkSummaryPage.py
marvins/LLNMS
ebc15418e1a5dddafdb3e55cea4e8cb71f619b2d
[ "MIT" ]
null
null
null
src/core/python/llnms/viewer/ui/NetworkSummaryPage.py
marvins/LLNMS
ebc15418e1a5dddafdb3e55cea4e8cb71f619b2d
[ "MIT" ]
1
2020-12-16T09:28:26.000Z
2020-12-16T09:28:26.000Z
#!/usr/bin/env python # System Libraries import curses, logging # LLNMS Libraries import CursesTable from NetworkAddWindow import NetworkAddWindow from UI_Window_Base import Base_Window_Type from WarningWindow import WarningWindow # ---------------------------------------- # # - Network Summary Window ...
32.021622
134
0.505402
c47171f2c1440e31b553a7d616ac860c2d1647e9
1,840
cc
C++
content/browser/ssl/ssl_host_state.cc
Crystalnix/BitPop
1fae4ecfb965e163f6ce154b3988b3181678742a
[ "BSD-3-Clause" ]
7
2015-05-20T22:41:35.000Z
2021-11-18T19:07:59.000Z
content/browser/ssl/ssl_host_state.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
1
2015-02-02T06:55:08.000Z
2016-01-20T06:11:59.000Z
content/browser/ssl/ssl_host_state.cc
quisquous/chromium
b25660e05cddc9d0c3053b3514f07037acc69a10
[ "BSD-3-Clause" ]
2
2015-12-08T00:37:41.000Z
2017-04-06T05:34:05.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/ssl/ssl_host_state.h" #include "base/logging.h" #include "base/lazy_instance.h" #include "content/public/browser/browser_co...
28.307692
80
0.707065
0a610d0fb9742a2bf3c0dff7d3ad41810ce073fb
294
lua
Lua
tests/libace/cpuid/01_BadId.lua
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
5
2016-06-14T17:56:47.000Z
2022-02-10T19:54:25.000Z
tests/libace/cpuid/01_BadId.lua
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
42
2016-06-21T20:48:22.000Z
2021-03-23T15:20:51.000Z
tests/libace/cpuid/01_BadId.lua
xguerin/ace
ad6e1bc4cb4f10d6cf5b782f623ec0eef13e000b
[ "MIT" ]
1
2016-10-02T02:58:49.000Z
2016-10-02T02:58:49.000Z
config = { var0 = { -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63 } }
36.75
99
0.442177
67446af6d02ef8cb2b41b74a665bf5a3163ac5b4
5,771
sql
SQL
nordb/sql/sitechan_policies.sql
MrCubanfrog/NorDB
8348733d10799e9ae40744fbd7b200fcc09a9a3a
[ "MIT" ]
1
2021-06-08T20:46:10.000Z
2021-06-08T20:46:10.000Z
nordb/sql/sitechan_policies.sql
MrCubanfrog/NorDB
8348733d10799e9ae40744fbd7b200fcc09a9a3a
[ "MIT" ]
null
null
null
nordb/sql/sitechan_policies.sql
MrCubanfrog/NorDB
8348733d10799e9ae40744fbd7b200fcc09a9a3a
[ "MIT" ]
null
null
null
/* +-----------------+ |SITECHAN POLICIES| +-----------------+ This file contains the sql commands for creating the correct policies for sitechan. */ /* ADMIN POLICIES -------------- */ --Admin policy. Allow admins to access sitechan freely CREATE POLICY admin_all_policy ON sitechan FOR ALL TO admins USING (tru...
60.114583
204
0.731936
b3636195601e99ba41fb230804c3fbe974a23e03
1,221
py
Python
utils/other.py
evicxixi/lens
b4fc43ee33877a2b1b299a971c01d1d3f9e594c5
[ "MIT" ]
2
2021-02-06T15:00:30.000Z
2021-08-03T11:59:24.000Z
utils/other.py
evicxixi/lens
b4fc43ee33877a2b1b299a971c01d1d3f9e594c5
[ "MIT" ]
null
null
null
utils/other.py
evicxixi/lens
b4fc43ee33877a2b1b299a971c01d1d3f9e594c5
[ "MIT" ]
1
2021-02-06T15:00:38.000Z
2021-02-06T15:00:38.000Z
import collections class ApiResponse(object): '''lensAPI响应 Variables: _status {dict} -- [description] } {[type]} -- [description] ''' _status = { -1: '失败', 0: '未知错误', 1: '成功', } def __init__(self, code=0, msg=None, msg_list=[], data={}): # supe...
24.42
81
0.517609
28b3ffbfef1be65a7d10ab7b25e8ef395c8ece1d
1,974
swift
Swift
code/JewelCase/Views/Discover/DiscoverMoviesView.swift
peterfriese/JewelCase
c3060e3117dc9661c0dc556f1c6b920f6bbc3dc9
[ "Apache-2.0" ]
43
2020-08-03T18:11:02.000Z
2022-03-04T20:16:32.000Z
code/JewelCase/Views/Discover/DiscoverMoviesView.swift
peterfriese/JewelCase
c3060e3117dc9661c0dc556f1c6b920f6bbc3dc9
[ "Apache-2.0" ]
null
null
null
code/JewelCase/Views/Discover/DiscoverMoviesView.swift
peterfriese/JewelCase
c3060e3117dc9661c0dc556f1c6b920f6bbc3dc9
[ "Apache-2.0" ]
2
2021-01-03T03:49:10.000Z
2021-06-04T10:27:34.000Z
// // DiscoverMoviesView.swift // JewelCase // // Created by Peter Friese on 28/07/2020. // import SwiftUI import URLImage import TMDB struct DiscoverMoviesView: View { @StateObject var viewModel = DiscoverViewModel() @Environment(\.presentationMode) var presentationMode @EnvironmentObject var movieStore: Mo...
24.073171
64
0.519757
38a1b25e8eb01156bea60885a4769a98465b9972
1,813
php
PHP
app/Http/Controllers/HomeController.php
cbnuke/FilesCollection
783dd0a3b33298064636594f8f79d4d1d34a5366
[ "MIT" ]
null
null
null
app/Http/Controllers/HomeController.php
cbnuke/FilesCollection
783dd0a3b33298064636594f8f79d4d1d34a5366
[ "MIT" ]
10
2020-08-07T14:53:42.000Z
2022-02-27T09:37:04.000Z
app/Http/Controllers/HomeController.php
cbnuke/FilesCollection
783dd0a3b33298064636594f8f79d4d1d34a5366
[ "MIT" ]
null
null
null
<?php namespace App\Http\Controllers; use App\File; use App\Storage; use Illuminate\Http\Request; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** ...
21.329412
109
0.503034
af268153ce3eb5628d4af8654240f1d7ab29b05d
141
py
Python
chapter04/test/test_module01.py
codingEzio/code_python_book_001
d9dd7a3d40c4c34c2ae8d08222aba989631abd88
[ "Unlicense" ]
null
null
null
chapter04/test/test_module01.py
codingEzio/code_python_book_001
d9dd7a3d40c4c34c2ae8d08222aba989631abd88
[ "Unlicense" ]
null
null
null
chapter04/test/test_module01.py
codingEzio/code_python_book_001
d9dd7a3d40c4c34c2ae8d08222aba989631abd88
[ "Unlicense" ]
null
null
null
# type this to run tests # 'python -m nose FILENAME -v' # 'nosetests FILENAME -v' def test_case01(): assert 'aaa'.upper() == 'AAA'
17.625
33
0.617021
75161eeff1cc1109659b6cf186979d03cd7d1ce2
6,539
css
CSS
style-C.css
momijimomimomi/NCUTEASS
76b9d21a039b9fac9b71eb8deca8737d11d20871
[ "Apache-2.0" ]
null
null
null
style-C.css
momijimomimomi/NCUTEASS
76b9d21a039b9fac9b71eb8deca8737d11d20871
[ "Apache-2.0" ]
null
null
null
style-C.css
momijimomimomi/NCUTEASS
76b9d21a039b9fac9b71eb8deca8737d11d20871
[ "Apache-2.0" ]
null
null
null
/*------------------------- BASIC SETTING -------------------------*/ @media (min-width: 768px) { /* line 6, ../sass/style-1.scss */ .container-fluid { width: 810px; } } /* line 10, ../sass/style-1.scss */ body { background-color: #aaa; padding-top: 50px; } /* line 15, ../sass/style-1.scss */ .co...
17.769022
66
0.554825
2cc9083c93096ee149b4f99399e2974c1e86373a
3,025
py
Python
deepclaw/sim2real/simulation/tasks/Claw_machine/toy.py
bionicdl-sustech/DeepClaw
5cc61289e6088adc03d502f07ec970d221e05857
[ "MIT" ]
5
2020-06-24T03:47:00.000Z
2021-10-13T03:35:38.000Z
deepclaw/sim2real/simulation/tasks/Claw_machine/toy.py
bionicdl-sustech/DeepClaw
5cc61289e6088adc03d502f07ec970d221e05857
[ "MIT" ]
null
null
null
deepclaw/sim2real/simulation/tasks/Claw_machine/toy.py
bionicdl-sustech/DeepClaw
5cc61289e6088adc03d502f07ec970d221e05857
[ "MIT" ]
3
2020-06-18T09:25:39.000Z
2021-04-18T03:51:08.000Z
from os.path import dirname, abspath from os import system, environ sim_path = dirname(dirname(dirname(dirname(abspath(__file__))))) scene_path = sim_path + '/Simulation/scene/' import sys sys.path.append(sim_path) from Simulation.src.camera import Camera from Simulation.src.env import Env from Simulation.src.franka im...
30.555556
75
0.644959
df55d08932a24ad14ec5d33c886b7bab91c0314c
1,388
cs
C#
WONKERZ/Assets/Scripts/Managers/ManagerLifecycle.cs
GreenCalx/LD49
203d1bedaf31c22f3c554000d73fe091329f99a0
[ "MIT" ]
null
null
null
WONKERZ/Assets/Scripts/Managers/ManagerLifecycle.cs
GreenCalx/LD49
203d1bedaf31c22f3c554000d73fe091329f99a0
[ "MIT" ]
null
null
null
WONKERZ/Assets/Scripts/Managers/ManagerLifecycle.cs
GreenCalx/LD49
203d1bedaf31c22f3c554000d73fe091329f99a0
[ "MIT" ]
null
null
null
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; /** * Handles objects that are not destroyed on scene change and remove duplicates of them * > To attach on object carrying unique managers that we want to carry from scene to scene */ public class Manager...
25.703704
90
0.628242
a00986ed609ba3d5fcd182f44bad550fc6a82e75
1,937
ts
TypeScript
lib/schema.ts
zimv/clickhouse-orm
bfe9f5dbb69b51bb2392fa20f35a6a9a3deabb20
[ "MIT" ]
9
2022-02-05T16:00:08.000Z
2022-03-29T11:08:50.000Z
lib/schema.ts
zimv/clickhouse-orm
bfe9f5dbb69b51bb2392fa20f35a6a9a3deabb20
[ "MIT" ]
2
2022-02-09T07:09:53.000Z
2022-02-18T09:09:49.000Z
lib/schema.ts
zimv/node-clickhouse-orm
bfe9f5dbb69b51bb2392fa20f35a6a9a3deabb20
[ "MIT" ]
null
null
null
import { getPureData, insertSQL } from './transformer'; import { DebugLog } from './log'; class dataInstance { private schema; constructor(schemaThis) { this.schema = schemaThis; this.proxyApply(); } proxyApply() { this.schema.columns.forEach((column) => { this.schema.proxyAttr(this.schema.ob...
25.155844
96
0.589055
fa42f7d64228c4762e9e0fc5e8e7546e729a0bb5
3,354
cpp
C++
src/seraphon/SaurusEternityWarden.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/seraphon/SaurusEternityWarden.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/seraphon/SaurusEternityWarden.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <seraphon/SaurusEternityWarden.h> #include <UnitFactory.h> #include "SeraphonPrivate.h" namespace S...
40.902439
154
0.640429
93cf27f2724b9fc1c19373e97588f9244eb7eb2f
30,607
cs
C#
WUnderK/Form1.Designer.cs
klimenta/WUnderK
55f96366ff10fc8746b253b65869b8cf355d6aca
[ "BSD-2-Clause" ]
null
null
null
WUnderK/Form1.Designer.cs
klimenta/WUnderK
55f96366ff10fc8746b253b65869b8cf355d6aca
[ "BSD-2-Clause" ]
null
null
null
WUnderK/Form1.Designer.cs
klimenta/WUnderK
55f96366ff10fc8746b253b65869b8cf355d6aca
[ "BSD-2-Clause" ]
null
null
null
namespace WUnderK { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
53.229565
177
0.613912
d6810c29d482a835e7ba39d87f49e709b9365f9a
812
cs
C#
testsubject/Program.cs
inorton/XR.Baboon
0732a54e10db65fb5bfeacbc3ed358fe3c0b3964
[ "MIT" ]
20
2015-01-23T22:04:22.000Z
2019-11-15T08:40:25.000Z
testsubject/Program.cs
inorton/XR.Baboon
0732a54e10db65fb5bfeacbc3ed358fe3c0b3964
[ "MIT" ]
16
2015-03-18T09:38:26.000Z
2020-04-02T13:51:30.000Z
testsubject/Program.cs
inorton/XR.Baboon
0732a54e10db65fb5bfeacbc3ed358fe3c0b3964
[ "MIT" ]
7
2015-02-02T10:02:30.000Z
2019-10-15T08:42:39.000Z
using System; namespace testsubject { class MainClass { public static void Main (string[] args) { for (int i = 0; i < 12; i++){ var x = new SplineFinder(); x.Reticulate(); GetCount (); } #if FALSE f...
18.044444
61
0.412562
a680c89e493805fea1271ec445df1138946955f9
2,504
rb
Ruby
lib/book.rb
reidashwill/ruby_library
58ff12bf49b87d79af8b391579c0e1314588b49c
[ "MIT" ]
null
null
null
lib/book.rb
reidashwill/ruby_library
58ff12bf49b87d79af8b391579c0e1314588b49c
[ "MIT" ]
2
2021-09-28T02:52:56.000Z
2022-02-26T08:05:01.000Z
lib/book.rb
reidashwill/ruby_library
58ff12bf49b87d79af8b391579c0e1314588b49c
[ "MIT" ]
2
2020-05-20T23:27:52.000Z
2020-05-21T23:16:39.000Z
class Book attr_reader :id attr_accessor :name def initialize(attributes) @name = attributes.fetch(:name) @id = attributes.fetch(:id) end def self.all returned_books = DB.exec("SELECT * FROM books") books = [] returned_books.each do |book| name = book.fetch("name") id = boo...
26.638298
198
0.611022
2fb88e1929d9b8ffe0a84fc88c2c6ff310a6ba11
228
py
Python
config.py
gtracy/APODEmail
328dbb610963c23af4e1ff9285cd7bf3dcce2b6c
[ "MIT" ]
1
2021-09-18T11:28:16.000Z
2021-09-18T11:28:16.000Z
config.py
gtracy/APODEmail
328dbb610963c23af4e1ff9285cd7bf3dcce2b6c
[ "MIT" ]
1
2020-01-11T22:27:00.000Z
2020-01-12T03:38:07.000Z
config.py
gtracy/APODEmail
328dbb610963c23af4e1ff9285cd7bf3dcce2b6c
[ "MIT" ]
null
null
null
API_SECRET = 'fluffernutterpie' # google reCAPTCHA sign-up # https://www.google.com/recaptcha/admin RECAPTCHA_KEY = '6LedVBUUAAAAANb2vWVUSByvl66ob3k9r-zSruCu' RECAPTCHA_PRIVATE_KEY = '6LedVBUUAAAAALWe4MQ2VJQhI9rKi6GJTukS6Hrl'
28.5
66
0.837719
72fc94a89d0e5e125395df4e807186d469dbbd62
511
cs
C#
Unity/Assets/Script/UI/FloatingText.cs
KorStrix/GGJ_2019
d1011abae523274e0b148209adeacd976b06b3d7
[ "MIT" ]
null
null
null
Unity/Assets/Script/UI/FloatingText.cs
KorStrix/GGJ_2019
d1011abae523274e0b148209adeacd976b06b3d7
[ "MIT" ]
null
null
null
Unity/Assets/Script/UI/FloatingText.cs
KorStrix/GGJ_2019
d1011abae523274e0b148209adeacd976b06b3d7
[ "MIT" ]
null
null
null
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FloatingText : MonoBehaviour { public Animator animator; public Text indicator; private void OnEnable() { AnimatorClipInfo[] clipInfo = animator.GetCurrentAnimatorClipInfo(0); ...
23.227273
77
0.690802
e2ac7240ca2c30c4ad4bb096d6f92779e45c4c10
2,084
py
Python
examples/ao2mo/10-diff_orbs_for_ijkl.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
501
2018-12-06T23:48:17.000Z
2022-03-31T11:53:18.000Z
examples/ao2mo/10-diff_orbs_for_ijkl.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
710
2018-11-26T22:04:52.000Z
2022-03-30T03:53:12.000Z
examples/ao2mo/10-diff_orbs_for_ijkl.py
robert-anderson/pyscf
cdc56e168cb15f47e8cdc791a92d689fa9b655af
[ "Apache-2.0" ]
273
2018-11-26T10:10:24.000Z
2022-03-30T12:25:28.000Z
#!/usr/bin/env python # # Author: Qiming Sun <osirpt.sun@gmail.com> # import tempfile import numpy import h5py from pyscf import gto, scf, ao2mo ''' Integral transformation for four different orbitals ''' mol = gto.Mole() mol.build( atom = [ ["C", (-0.65830719, 0.61123287, -0.00800148)], ["C", ( 0.73685...
30.202899
95
0.630038
4d58762d115eb02f59c966a2316a505ac497f34c
66
sql
SQL
src/test/resources/sql/insert/e14b4f88.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
66
2018-06-15T11:34:03.000Z
2022-03-16T09:24:49.000Z
src/test/resources/sql/insert/e14b4f88.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
13
2019-03-19T11:56:28.000Z
2020-08-05T04:20:50.000Z
src/test/resources/sql/insert/e14b4f88.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
28
2019-01-05T19:59:02.000Z
2022-03-24T11:55:50.000Z
-- file:plpgsql.sql ln:1761 expect:true insert into foo values(x)
22
39
0.757576
767e89f9f26e1a6263e51401223af806432d9844
127,286
rs
Rust
components/html/src/tokenizer/mod.rs
ZeroX-DG/moon
db24fd8b54a6bf28666cc05f6ee54a307c7079b8
[ "MIT" ]
170
2020-09-20T16:54:57.000Z
2022-03-29T02:27:14.000Z
components/html/src/tokenizer/mod.rs
ZeroX-DG/moon
db24fd8b54a6bf28666cc05f6ee54a307c7079b8
[ "MIT" ]
14
2020-09-18T15:27:07.000Z
2022-03-27T22:40:00.000Z
components/html/src/tokenizer/mod.rs
ZeroX-DG/moon
db24fd8b54a6bf28666cc05f6ee54a307c7079b8
[ "MIT" ]
7
2020-09-24T12:33:17.000Z
2022-03-17T12:49:00.000Z
pub mod state; pub mod token; use super::entities::ENTITIES; use io::input_stream::CharInputStream; use state::State; use std::collections::{HashSet, VecDeque}; use std::env; use token::Attribute; use token::Token; fn is_trace() -> bool { match env::var("TRACE_TOKENIZER") { Ok(s) => s == "true", _...
43.177069
127
0.371023
c63de056b313d10bed3db36f0b31ebffddf5782c
451
rb
Ruby
lib/monkey/types/return_value_type.rb
awcrotwell/monkey
0387dc0cef578064e377f7a796d8fae2ad7adb0a
[ "MIT" ]
null
null
null
lib/monkey/types/return_value_type.rb
awcrotwell/monkey
0387dc0cef578064e377f7a796d8fae2ad7adb0a
[ "MIT" ]
null
null
null
lib/monkey/types/return_value_type.rb
awcrotwell/monkey
0387dc0cef578064e377f7a796d8fae2ad7adb0a
[ "MIT" ]
null
null
null
# typed: strict # frozen_string_literal: true module Monkey class ReturnValueType extend T::Sig include ObjectType sig { returns(ObjectType) } attr_reader :value sig { params(value: ObjectType).void } def initialize(value) @value = value end sig { override.returns(String) } ...
16.107143
42
0.643016
7bfa4757f6bc63cc5625b6fd0d9ef1b0bb824b29
2,830
cc
C++
src/main/bandlog.cc
bandprotocol/bandprotocol
4a5861d14dba6a69af0e7ce9fc142beb9315dcb4
[ "Apache-2.0" ]
2
2020-02-13T17:50:46.000Z
2020-07-21T15:18:14.000Z
src/main/bandlog.cc
bandprotocol/bandchain-legacy
4a5861d14dba6a69af0e7ce9fc142beb9315dcb4
[ "Apache-2.0" ]
null
null
null
src/main/bandlog.cc
bandprotocol/bandchain-legacy
4a5861d14dba6a69af0e7ce9fc142beb9315dcb4
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the LICENSE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you ma...
25.267857
76
0.711661
46d051486212e868bbb8334744d8bacf3ba667b7
1,117
py
Python
examples/beta_GeTe.py
dquigley-warwick/PyGeTe
5afe22b00ee769541b7fd2051543b196ce043e3c
[ "CC0-1.0" ]
null
null
null
examples/beta_GeTe.py
dquigley-warwick/PyGeTe
5afe22b00ee769541b7fd2051543b196ce043e3c
[ "CC0-1.0" ]
null
null
null
examples/beta_GeTe.py
dquigley-warwick/PyGeTe
5afe22b00ee769541b7fd2051543b196ce043e3c
[ "CC0-1.0" ]
null
null
null
import numpy as np import ase.spacegroup as spg import PyGeTe as en ########################################### # Create the beta GeTe structure with ASE # ########################################### LAT = 6.009 # Lattice constant n = 4 # Repeats betaGeTe = spg.crystal(["Ge", "Te"], [(0.0, 0.0, 0.0), (0.5, 0....
34.90625
88
0.515667
2e3258fac6b152aaa4ba8eb6a44d0d9fd1ff7d81
3,819
dart
Dart
lib/routes/animation_switcher.dart
404nofound/Flutter-Github
f48b7b9d25e2a14d8eff76af5d8bc003523112c8
[ "Apache-2.0" ]
3
2019-09-30T04:30:08.000Z
2019-11-26T01:46:09.000Z
first_app/lib/routes/animation_switcher.dart
silence0201/Flutter-Demo
da6008fd23cad8ca9ed554227fb2dcab87c7d952
[ "MIT" ]
null
null
null
first_app/lib/routes/animation_switcher.dart
silence0201/Flutter-Demo
da6008fd23cad8ca9ed554227fb2dcab87c7d952
[ "MIT" ]
null
null
null
import 'package:flutter/material.dart'; class AnimatedSwitcherRoute extends StatefulWidget { @override _AnimatedSwitcherRouteState createState() => _AnimatedSwitcherRouteState(); } class _AnimatedSwitcherRouteState extends State<AnimatedSwitcherRoute> { int _count = 0; @override Widget build(BuildContext c...
26.157534
80
0.588898
b021aba85a5df9c794c09c6a6412ed361f4eca26
2,400
py
Python
pyTorch_app/flask_app/flask_mobility/tests/test_decorators.py
Takkoyanagi/insight_computer_vision
9c5f2a06ec924e101c0554635bf5bf49b27bb9eb
[ "MIT" ]
null
null
null
pyTorch_app/flask_app/flask_mobility/tests/test_decorators.py
Takkoyanagi/insight_computer_vision
9c5f2a06ec924e101c0554635bf5bf49b27bb9eb
[ "MIT" ]
null
null
null
pyTorch_app/flask_app/flask_mobility/tests/test_decorators.py
Takkoyanagi/insight_computer_vision
9c5f2a06ec924e101c0554635bf5bf49b27bb9eb
[ "MIT" ]
null
null
null
import unittest from flask import Flask, render_template_string from flask.ext.mobility import Mobility from flask.ext.mobility.decorators import mobile_template, mobilized class DecoratorsTestCase(unittest.TestCase): def setUp(self): app = Flask(__name__) Mobility(app) @app.route('/') ...
32.432432
76
0.641667
6ff5cd185743dd39d0ff7532bc3c8f798b145987
342
dart
Dart
newsprovider_app/lib/src/news/data/remote/server/news_provider.dart
woowrale/flutter-labs
ece3c2c3f2523f6fa2fbc87a08a1c80898aecb61
[ "MIT" ]
null
null
null
newsprovider_app/lib/src/news/data/remote/server/news_provider.dart
woowrale/flutter-labs
ece3c2c3f2523f6fa2fbc87a08a1c80898aecb61
[ "MIT" ]
null
null
null
newsprovider_app/lib/src/news/data/remote/server/news_provider.dart
woowrale/flutter-labs
ece3c2c3f2523f6fa2fbc87a08a1c80898aecb61
[ "MIT" ]
null
null
null
import 'package:newsprovider_app/src/news/data/remote/models/news_response.dart'; import 'package:newsprovider_app/src/news/data/remote/server/api_news.dart'; class NewsProvider implements ApiNews { List<Article>headLines = []; @override getTopHeadLines() { // TODO: implement getHeadLines throw Unimpl...
22.8
81
0.754386
4f32bfe76942d3431ee872f9b39ba426c49b7ad2
192
rb
Ruby
db/migrate/20190715214412_add_mqtt_throttle_email_sent_at_to_device.rb
EarthEngineering/Facetop-Web-App
d0bf9808a89b8a9df625abbfe3ebf04841f67286
[ "MIT" ]
493
2017-07-13T05:14:07.000Z
2022-03-13T21:04:34.000Z
db/migrate/20190715214412_add_mqtt_throttle_email_sent_at_to_device.rb
EarthEngineering/Facetop-Web-App
d0bf9808a89b8a9df625abbfe3ebf04841f67286
[ "MIT" ]
1,752
2017-07-06T14:56:37.000Z
2022-03-21T16:17:22.000Z
db/migrate/20190715214412_add_mqtt_throttle_email_sent_at_to_device.rb
EarthEngineering/Facetop-Web-App
d0bf9808a89b8a9df625abbfe3ebf04841f67286
[ "MIT" ]
231
2017-07-19T20:09:47.000Z
2022-03-11T07:05:28.000Z
class AddMqttThrottleEmailSentAtToDevice < ActiveRecord::Migration[5.2] def change add_column :devices, :mqtt_rate_limit_email_sent_at, :datetime end end
24
71
0.682292
4f1a330f298cc23e4def8b8e101a29d084948873
2,934
sql
SQL
minkspay_demo.sql
suvozit/minkspay-demo
448f4f5a3ea8d4c525410262a98e801c207f4a96
[ "MIT" ]
null
null
null
minkspay_demo.sql
suvozit/minkspay-demo
448f4f5a3ea8d4c525410262a98e801c207f4a96
[ "MIT" ]
null
null
null
minkspay_demo.sql
suvozit/minkspay-demo
448f4f5a3ea8d4c525410262a98e801c207f4a96
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Aug 28, 2019 at 11:04 PM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.3.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
24.45
131
0.669393
a3b52c343a2d949e8f691c38acc4695d12c716da
2,752
kt
Kotlin
src/lesson12/task1/OpenHashSet.kt
httpsKitty/KotlinAsFirst2021
50548f298f6a0ae90ada4e88c4a9e005aabdf1a2
[ "CC0-1.0" ]
null
null
null
src/lesson12/task1/OpenHashSet.kt
httpsKitty/KotlinAsFirst2021
50548f298f6a0ae90ada4e88c4a9e005aabdf1a2
[ "CC0-1.0" ]
null
null
null
src/lesson12/task1/OpenHashSet.kt
httpsKitty/KotlinAsFirst2021
50548f298f6a0ae90ada4e88c4a9e005aabdf1a2
[ "CC0-1.0" ]
null
null
null
@file:Suppress("UNUSED_PARAMETER") package lesson12.task1 /** * Класс "хеш-таблица с открытой адресацией" * * Общая сложность задания -- сложная, общая ценность в баллах -- 20. * Объект класса хранит данные типа T в виде хеш-таблицы. * Хеш-таблица не может содержать равные по equals элементы. * Подробности по о...
32
97
0.644985
46d8c643ef9ecaa23bfbd75e161952100e75aa81
358
py
Python
tests/farm/annotate/run_encodings.py
blueyed/coveragepy-bbmirror
fec75c18a87e8acf8a0d4f978b2ef4e1cea755de
[ "Apache-2.0" ]
null
null
null
tests/farm/annotate/run_encodings.py
blueyed/coveragepy-bbmirror
fec75c18a87e8acf8a0d4f978b2ef4e1cea755de
[ "Apache-2.0" ]
null
null
null
tests/farm/annotate/run_encodings.py
blueyed/coveragepy-bbmirror
fec75c18a87e8acf8a0d4f978b2ef4e1cea755de
[ "Apache-2.0" ]
2
2018-02-27T08:56:41.000Z
2020-12-22T22:10:38.000Z
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt copy("src", "out_encodings") run(""" coverage run utf8.py coverage annotate utf8.py """, rundir="out_encodings") compare("out_encodings", "gold_encoding...
32.545455
79
0.723464
a19c7898e6e247a52fb663d806b10f27edcdc80b
1,562
ts
TypeScript
src/layouts/PageTranslator/PageTranslator.utils/PageTranslationStorage.ts
vitonsky/linguist
f2ee9b13eb1b5c0df3ae22ae510a3f7c8ee84944
[ "BSD-3-Clause" ]
21
2021-11-29T22:01:56.000Z
2022-03-27T04:03:15.000Z
src/layouts/PageTranslator/PageTranslator.utils/PageTranslationStorage.ts
translate-tools/linguist
f2ee9b13eb1b5c0df3ae22ae510a3f7c8ee84944
[ "BSD-3-Clause" ]
83
2021-06-22T17:43:24.000Z
2022-03-25T23:55:34.000Z
src/layouts/PageTranslator/PageTranslator.utils/PageTranslationStorage.ts
vitonsky/linguist
f2ee9b13eb1b5c0df3ae22ae510a3f7c8ee84944
[ "BSD-3-Clause" ]
null
null
null
import { TypeOf } from 'io-ts'; import { browser } from 'webextension-polyfill-ts'; import { tryDecode, type } from '../../../lib/types'; import { AbstractVersionedStorage } from '../../../types/utils'; export class PageTranslationStorage extends AbstractVersionedStorage { static storageVersion = 1; public static ...
28.925926
78
0.739437
8e9fe7d97584e0bf17be4e98d9ca05b56baa3da8
1,163
js
JavaScript
2-intermediate/charity-finder/scripts/pagination.js
wksam/app-ideas
94cf0a7f69f940471877efd2a5e10bcda64490dc
[ "MIT" ]
2
2020-06-05T18:46:02.000Z
2020-06-05T18:46:25.000Z
2-intermediate/charity-finder/scripts/pagination.js
wksam/app-ideas
94cf0a7f69f940471877efd2a5e10bcda64490dc
[ "MIT" ]
null
null
null
2-intermediate/charity-finder/scripts/pagination.js
wksam/app-ideas
94cf0a7f69f940471877efd2a5e10bcda64490dc
[ "MIT" ]
null
null
null
document.querySelector('a[aria-label=Previous]').addEventListener('click', previous); document.querySelector('a[aria-label=Next]').addEventListener('click', next); function previous() { if(!api.hasPrevious) return; const id = api.getPreviousId(); getOrganizations(id); } function next() { if(!api.hasN...
36.34375
114
0.728289
38a6558aabdffc9ff929be794d588aa41fe25c4b
987
php
PHP
src/Response/Directives/Display/Templates/Template.php
nanuc/alexa-app
427b989bff430f3c633d2e4d3b4649937d89de28
[ "MIT" ]
86
2015-06-28T03:51:35.000Z
2019-05-27T18:56:03.000Z
src/Response/Directives/Display/Templates/Template.php
nanuc/alexa-app
427b989bff430f3c633d2e4d3b4649937d89de28
[ "MIT" ]
54
2016-01-03T19:36:40.000Z
2019-11-29T14:08:28.000Z
src/Response/Directives/Display/Templates/Template.php
nanuc/alexa-app
427b989bff430f3c633d2e4d3b4649937d89de28
[ "MIT" ]
51
2015-09-05T04:10:21.000Z
2019-08-15T02:44:45.000Z
<?php namespace Develpr\AlexaApp\Response\Directives\Display\Templates; abstract class Template { protected $type; protected $token; protected $backButton = true; protected $title; protected $textContent; protected $backgroundImage; protected $image; public function setBackButton($bac...
18.622642
65
0.601824
e77b744247db96ab57703de25fba022c90de46b0
1,975
php
PHP
tests/TestApplication/src/Entity/User.php
mrgoodbytes8667/EasyAdminBundle
b043fdcd971f0d0b2ee53ffba313c7414d448bb9
[ "MIT" ]
2,129
2015-01-13T22:56:40.000Z
2022-01-18T19:55:01.000Z
tests/TestApplication/src/Entity/User.php
mrgoodbytes8667/EasyAdminBundle
b043fdcd971f0d0b2ee53ffba313c7414d448bb9
[ "MIT" ]
2,643
2018-02-24T11:22:30.000Z
2022-03-31T10:44:02.000Z
tests/TestApplication/src/Entity/User.php
mrgoodbytes8667/EasyAdminBundle
b043fdcd971f0d0b2ee53ffba313c7414d448bb9
[ "MIT" ]
770
2018-02-25T10:23:38.000Z
2022-03-30T09:59:05.000Z
<?php namespace EasyCorp\Bundle\EasyAdminBundle\Tests\TestApplication\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="`user`") */ class User { /** * @ORM\Id * @ORM\GeneratedValu...
19.554455
90
0.557468
2e5b6500d442cfa9cc26512fab59ba2f8fedce91
2,509
kt
Kotlin
src/main/kotlin/cn/yiiguxing/plugin/translate/action/ChooseTranslatorAction.kt
niktrop/TranslationPlugin
b484e02d877e76040d9a3b7f47999b202d8e9cb6
[ "MIT" ]
null
null
null
src/main/kotlin/cn/yiiguxing/plugin/translate/action/ChooseTranslatorAction.kt
niktrop/TranslationPlugin
b484e02d877e76040d9a3b7f47999b202d8e9cb6
[ "MIT" ]
1
2021-02-17T15:14:30.000Z
2021-02-17T15:14:30.000Z
src/main/kotlin/cn/yiiguxing/plugin/translate/action/ChooseTranslatorAction.kt
niktrop/TranslationPlugin
b484e02d877e76040d9a3b7f47999b202d8e9cb6
[ "MIT" ]
1
2020-10-06T19:13:43.000Z
2020-10-06T19:13:43.000Z
package cn.yiiguxing.plugin.translate.action import cn.yiiguxing.plugin.translate.message import cn.yiiguxing.plugin.translate.util.TranslateService import com.intellij.openapi.actionSystem.* import com.intellij.openapi.actionSystem.ex.ComboBoxAction import com.intellij.openapi.project.DumbAware import com.intellij.op...
33.453333
119
0.669988
a0e5ba935feda485e4fef5127d5a71b0ed37d2a3
394
lua
Lua
cameratest/lua/catmullromcams/sh_gc_booster.lua
JessySztark/yume-dev
5982357c8eaa188a2b60f4bede23ecb591df0dde
[ "FSFAP" ]
null
null
null
cameratest/lua/catmullromcams/sh_gc_booster.lua
JessySztark/yume-dev
5982357c8eaa188a2b60f4bede23ecb591df0dde
[ "FSFAP" ]
null
null
null
cameratest/lua/catmullromcams/sh_gc_booster.lua
JessySztark/yume-dev
5982357c8eaa188a2b60f4bede23ecb591df0dde
[ "FSFAP" ]
null
null
null
if CatmullRomCams.SH.GCStarted then return end CatmullRomCams.SH.GCStarted = true function CatmullRomCams.SH.GarbageCollectionBooster() collectgarbage() return timer.Simple(30, CatmullRomCams.SH.GarbageCollectionBooster) end timer.Simple(30, CatmullRomCams.SH.GarbageCollectionBooster) -- Now unneeded! :4chan: Bu...
32.833333
161
0.817259
759fb8e0366fae06e36e4e531b932f6b444d144c
643
swift
Swift
LucidDreams/ImageDrawable.swift
cntrump/LucidDreams
f20edb482ee52c19f02dfdf2a61ac8f3068c3585
[ "AML" ]
2
2019-06-11T09:22:40.000Z
2020-03-17T21:16:17.000Z
LucidDreams/ImageDrawable.swift
cntrump/LucidDreams
f20edb482ee52c19f02dfdf2a61ac8f3068c3585
[ "AML" ]
null
null
null
LucidDreams/ImageDrawable.swift
cntrump/LucidDreams
f20edb482ee52c19f02dfdf2a61ac8f3068c3585
[ "AML" ]
2
2019-06-11T11:31:59.000Z
2020-03-17T21:16:18.000Z
/* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information Abstract: Contains functionality to render a `UIImage` as a `Drawable`. */ import UIKit /// Draws an image. struct ImageDrawable: Layout, Drawable { var image: UIImage var frame: ...
20.741935
65
0.634526
a56bdede00493fe93c88dac5551258d42fe43079
2,184
rs
Rust
stm32f4/src/stm32f412/fsmc.rs
dgoodlad/crabdac
9341949c83e4437dee55af80b4eb6ab0cac648b1
[ "MIT" ]
null
null
null
stm32f4/src/stm32f412/fsmc.rs
dgoodlad/crabdac
9341949c83e4437dee55af80b4eb6ab0cac648b1
[ "MIT" ]
null
null
null
stm32f4/src/stm32f412/fsmc.rs
dgoodlad/crabdac
9341949c83e4437dee55af80b4eb6ab0cac648b1
[ "MIT" ]
null
null
null
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - SRAM/NOR-Flash chip-select control register 1"] pub bcr1: crate::Reg<bcr1::BCR1_SPEC>, #[doc = "0x04 - SRAM/NOR-Flash chip-select timing register 1"] pub btr1: crate::Reg<btr::BTR_SPEC>, #[doc = "0x08 - SRAM/NOR-Flash c...
44.571429
67
0.663919
c53ca057102c1fe970e326c9bf106ddf7e03a452
643
css
CSS
OmniStack/week-8/frontend/src/pages/Login.css
Hygor/RocketSeatLE
6570f7908937baee775b3c7656009def5ba54c52
[ "Unlicense" ]
null
null
null
OmniStack/week-8/frontend/src/pages/Login.css
Hygor/RocketSeatLE
6570f7908937baee775b3c7656009def5ba54c52
[ "Unlicense" ]
1
2022-03-26T10:36:28.000Z
2022-03-26T10:36:28.000Z
OmniStack/week-8/frontend/src/pages/Login.css
Hygor/RocketSeatLE
6570f7908937baee775b3c7656009def5ba54c52
[ "Unlicense" ]
null
null
null
.login-container { height: 100vh; display: flex; align-items: center; justify-content: center; } .login-container form { width: 100%; max-width: 300px; display: flex; flex-direction: column; } .login-container input { margin-top: 1em; border: 1px solid #DDD; border-radius: .3em; height: 3em; ...
16.075
37
0.653188
0d691847a0a6b78aaf280e4f988fd91cb58237af
2,407
h
C
src/hash.h
joshuachp/project-compilers-2021
71553e8dfd9aa919d2da5b04d0228a67c227a58a
[ "MIT" ]
null
null
null
src/hash.h
joshuachp/project-compilers-2021
71553e8dfd9aa919d2da5b04d0228a67c227a58a
[ "MIT" ]
null
null
null
src/hash.h
joshuachp/project-compilers-2021
71553e8dfd9aa919d2da5b04d0228a67c227a58a
[ "MIT" ]
null
null
null
#ifndef HASH_TABLE #define HASH_TABLE #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdlib.h> typedef struct Item { char *key; int32_t value; struct Item *next; } Item; typedef struct Bucket { Item *head; Item *tail; } Bucket; // Initial capacity of a new hash table #def...
18.097744
59
0.672206
275c748531957153cd5ad3fe66c19f2ea216ade6
7,367
rs
Rust
examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/src/sink/mod.rs
tommilligan/cargo-raze
b20c29f8f6a0902a7aadf5424dd830cd045ac92d
[ "Apache-2.0" ]
null
null
null
examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/src/sink/mod.rs
tommilligan/cargo-raze
b20c29f8f6a0902a7aadf5424dd830cd045ac92d
[ "Apache-2.0" ]
null
null
null
examples/vendored/non_cratesio_library/cargo/vendor/futures-util-0.2.0/src/sink/mod.rs
tommilligan/cargo-raze
b20c29f8f6a0902a7aadf5424dd830cd045ac92d
[ "Apache-2.0" ]
2
2021-06-03T10:01:21.000Z
2022-02-02T14:19:43.000Z
//! Sinks //! //! This module contains a number of functions for working with `Sink`s, //! including the `SinkExt` trait which adds methods to `Sink` types. use futures_core::{Stream, IntoFuture}; use futures_sink::Sink; mod close; mod fanout; mod flush; mod err_into; mod map_err; mod send; mod send_all; mod with; mo...
33.035874
89
0.601059
72aaa94bfd624d556fba48b10ec84c6810dc5741
3,395
cs
C#
src/prod/test/System.Fabric/unit/Common/FabricUtility/InProc/PortHelper.cs
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/test/System.Fabric/unit/Common/FabricUtility/InProc/PortHelper.cs
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/test/System.Fabric/unit/Common/FabricUtility/InProc/PortHelper.cs
gridgentoo/ServiceFabricAzure
c3e7a07617e852322d73e6cc9819d266146866a4
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Test.C...
35.364583
116
0.444183
6e610931e44cc4bb0b886e3ae859cef418c3ca80
25,885
lua
Lua
game/dota_addons/friendly_fire/scripts/vscripts/util.lua
DarkoniusXNG/friendly_fire_dota2
9b76f6c7de1ff68a6478cdbd3cef7ea7de8fa61e
[ "MIT" ]
1
2018-09-21T03:29:40.000Z
2018-09-21T03:29:40.000Z
game/dota_addons/friendly_fire/scripts/vscripts/util.lua
DarkoniusXNG/friendly_fire_dota2
9b76f6c7de1ff68a6478cdbd3cef7ea7de8fa61e
[ "MIT" ]
null
null
null
game/dota_addons/friendly_fire/scripts/vscripts/util.lua
DarkoniusXNG/friendly_fire_dota2
9b76f6c7de1ff68a6478cdbd3cef7ea7de8fa61e
[ "MIT" ]
null
null
null
-- Given element and table, returns true if element is in the table. function TableContains(table1, element) if table1 == nil then return false end for k,v in pairs(table1) do if k == element then return true end end return false end function TableLength(t) if t == nil o...
35.703448
185
0.73784
6ee74e4b915ed65d1eec29571087d47bf80dbe41
1,565
swift
Swift
ToDoo/ToDoo/critter/CritterAssets.swift
Gerilimy/ECE651-Project
4ccc009358033cf591edaef1ff8c5e40812f6aa2
[ "MIT" ]
5,426
2018-04-23T18:32:11.000Z
2022-03-31T07:25:23.000Z
ToDoo/ToDoo/critter/CritterAssets.swift
chuxi-z/ECE651-Project
11ad8d70d7ad9fd64fc8ce521f1d77e52f9404c0
[ "MIT" ]
12
2018-04-27T13:50:54.000Z
2020-04-29T05:00:32.000Z
ToDoo/ToDoo/critter/CritterAssets.swift
chuxi-z/ECE651-Project
11ad8d70d7ad9fd64fc8ce521f1d77e52f9404c0
[ "MIT" ]
398
2018-04-27T11:59:22.000Z
2022-03-22T01:32:34.000Z
// // CritterAssets.swift // LoginCritter // // Created by Christopher Goldsby on 3/30/18. // Copyright © 2018 Christopher Goldsby. All rights reserved. // import UIKit extension UIImage { struct Critter { static let body = #imageLiteral(resourceName: "Body") static let doeEye = #imageLitera...
34.777778
76
0.609585
14205d86213fd010a240b5efad86090fe5159820
212
ts
TypeScript
src/removeElement.ts
newying61/js-utils
b5e1908b5d0dead1d15fe0bda69ec710e363662a
[ "MIT" ]
5
2019-11-19T12:44:39.000Z
2021-11-02T06:33:48.000Z
src/removeElement.ts
newying61/js-utils
b5e1908b5d0dead1d15fe0bda69ec710e363662a
[ "MIT" ]
1
2020-07-17T04:35:19.000Z
2020-07-17T04:35:19.000Z
src/removeElement.ts
newying61/js-utils
b5e1908b5d0dead1d15fe0bda69ec710e363662a
[ "MIT" ]
1
2021-12-10T13:18:11.000Z
2021-12-10T13:18:11.000Z
export function removeElement(node: Element) { if (!node) { return; } const parent = node.parentNode; if (!parent) { // If node not in DOM already return; } parent.removeChild(node); }
14.133333
46
0.617925
e22fc010589ccd6230e975965fd6452506902f24
1,857
js
JavaScript
src/utils/__tests__/bindCommands-test.js
lpan/react-term
abdc549918d34b6689ea35e11475b762021e6246
[ "MIT" ]
14
2016-08-21T22:18:34.000Z
2018-12-25T17:14:39.000Z
src/utils/__tests__/bindCommands-test.js
lpan/react-term
abdc549918d34b6689ea35e11475b762021e6246
[ "MIT" ]
7
2016-08-19T17:50:52.000Z
2017-02-03T19:13:54.000Z
src/utils/__tests__/bindCommands-test.js
lpan/react-term
abdc549918d34b6689ea35e11475b762021e6246
[ "MIT" ]
1
2016-08-08T01:55:33.000Z
2016-08-08T01:55:33.000Z
jest.unmock('../bindCommands'); import bindCommands from '../bindCommands'; import mockComponent from '../../__mocks__/component'; import {pick} from 'ramda'; const pickState = pick(['history', 'visibles']); describe('bindCommands()', () => { it('should bind commands to "this" and update the state', () => { co...
23.2125
75
0.536887
300a3b7f40f0106a1bdf711b0fa54196dff9fc88
3,423
kt
Kotlin
app/src/main/java/xyz/weatherpoints/weatherpoints/ui/MapsActivity.kt
orbitbot/weatherpoints
2cb203213716094bb8139146f1d850000643bd13
[ "MIT" ]
null
null
null
app/src/main/java/xyz/weatherpoints/weatherpoints/ui/MapsActivity.kt
orbitbot/weatherpoints
2cb203213716094bb8139146f1d850000643bd13
[ "MIT" ]
null
null
null
app/src/main/java/xyz/weatherpoints/weatherpoints/ui/MapsActivity.kt
orbitbot/weatherpoints
2cb203213716094bb8139146f1d850000643bd13
[ "MIT" ]
null
null
null
package xyz.weatherpoints.weatherpoints.ui import android.os.Bundle import android.widget.Toast import com.google.android.gms.maps.GoogleMap import com.google.android.gms.maps.OnMapReadyCallback import com.google.android.gms.maps.SupportMapFragment import io.reactivex.android.schedulers.AndroidSchedulers import io.rea...
39.802326
109
0.5948
cf36609064cc1f3fba4c8da28281e602a1bde19f
1,786
sql
SQL
pois.sql
GrupoPIIS/pois
702c42bb43e8a10c37a1f7dd76e8e5466932e1b6
[ "MIT" ]
null
null
null
pois.sql
GrupoPIIS/pois
702c42bb43e8a10c37a1f7dd76e8e5466932e1b6
[ "MIT" ]
null
null
null
pois.sql
GrupoPIIS/pois
702c42bb43e8a10c37a1f7dd76e8e5466932e1b6
[ "MIT" ]
1
2015-03-18T11:52:14.000Z
2015-03-18T11:52:14.000Z
-- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 24-03-2015 a las 00:07:29 -- Versión del servidor: 5.6.21 -- Versión de PHP: 5.6.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARAC...
26.656716
172
0.680851
443127ababa992a1158ecc86780f973e2ea79292
6,897
py
Python
tests/generation/vres/potentials/glaes/test_manager.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
tests/generation/vres/potentials/glaes/test_manager.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
tests/generation/vres/potentials/glaes/test_manager.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
import pytest from epippy.generation.vres.potentials.glaes import * # All these tests were run with a pixelRes set to 1000 def check_correctness(expected, actual): assert np.abs(actual - expected) / expected < 0.05 def test_get_glaes_prior_defaults_empty_config_list(): with pytest.raises(AssertionError): ...
39.1875
99
0.741047
4bbcba3f99be41d8174b62dabf87da70e8d40297
2,099
c
C
experiments/nursery.c
Lemmih/lhc
53bfa57b9b7275b7737dcf9dd620533d0261be66
[ "Unlicense" ]
193
2015-01-07T01:25:13.000Z
2022-01-07T13:52:13.000Z
experiments/nursery.c
lemmih/lhc
53bfa57b9b7275b7737dcf9dd620533d0261be66
[ "Unlicense" ]
9
2017-10-25T04:10:33.000Z
2019-06-27T06:30:34.000Z
experiments/nursery.c
lemmih/lhc
53bfa57b9b7275b7737dcf9dd620533d0261be66
[ "Unlicense" ]
19
2015-05-12T13:25:29.000Z
2021-02-13T21:01:38.000Z
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <time.h> /* 0: 21.4% 1 kb 16.65 1: 12.5% 2 kb 19.22 2: 6.9% 4 kb 20.94 3: 3.8% 8 kb 21.78 4: 2.0% 16 kb 22.35 5: 2.1% 32 kb 22.34 6: 11.4% 64 kb 20.18 7: 11.4% 128 kb 20.24 8: 13.1% 256 kb 19.86 9: 17.8% 512 kb 18.70...
25.91358
87
0.565984
e5f062ebe80e5607b9e4e1045d6babf1aa12da84
786
lua
Lua
2010/kuroScript/hl2rp/gamemount/mounts/writing/scheme/directory/cl_writing.lua
kurozael/project-archive
dcac1a9a8dee65c11f4a631ec08d6eef320f5ad0
[ "MIT" ]
null
null
null
2010/kuroScript/hl2rp/gamemount/mounts/writing/scheme/directory/cl_writing.lua
kurozael/project-archive
dcac1a9a8dee65c11f4a631ec08d6eef320f5ad0
[ "MIT" ]
null
null
null
2010/kuroScript/hl2rp/gamemount/mounts/writing/scheme/directory/cl_writing.lua
kurozael/project-archive
dcac1a9a8dee65c11f4a631ec08d6eef320f5ad0
[ "MIT" ]
2
2020-03-16T22:49:09.000Z
2022-01-02T23:04:32.000Z
--[[ Name: "cl_clocks.lua". Product: "HL2 RP". --]] local HELP = [[ <html> <font face="Arial" size="2"> <center> <font color="red" size="4">Writing and Paper</font> </center> <p> In HL2 RP you have the ability to write things down, to say make personal notes for yourself or leave them for others. To do so...
35.727273
157
0.694656
4d7b57e281f7e3bdf78f952f7cb0d1ccac250227
19,104
cs
C#
Squishy.Irc/Commands/DefaultCommands.cs
Domiii/Squishy.IRC
de8e1834cf43db5fbafb02a60cf964f6038863b3
[ "MIT" ]
1
2016-09-22T03:04:35.000Z
2016-09-22T03:04:35.000Z
Squishy.Irc/Commands/DefaultCommands.cs
Domiii/Squishy.IRC
de8e1834cf43db5fbafb02a60cf964f6038863b3
[ "MIT" ]
null
null
null
Squishy.Irc/Commands/DefaultCommands.cs
Domiii/Squishy.IRC
de8e1834cf43db5fbafb02a60cf964f6038863b3
[ "MIT" ]
null
null
null
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Reflection; using Squishy.Irc.Dcc; using Squishy.Irc.Protocol; using WCell.Util; using WCell.Util.Commands; namespace Squishy.Irc.Commands { /// <summary> /// TODO: Use localized strings /// The help comm...
27.330472
151
0.640128
852df16441f310e2e4f1083fbf959b2aec9449a2
662
dart
Dart
lib/src/entities/apps/configuracoes.dart
venosyd/opensyd_dart
16ea2288e548c3fdbc829c6bed789d834ca590a1
[ "MIT" ]
null
null
null
lib/src/entities/apps/configuracoes.dart
venosyd/opensyd_dart
16ea2288e548c3fdbc829c6bed789d834ca590a1
[ "MIT" ]
null
null
null
lib/src/entities/apps/configuracoes.dart
venosyd/opensyd_dart
16ea2288e548c3fdbc829c6bed789d834ca590a1
[ "MIT" ]
null
null
null
/// /// venosyd © 2016-2021. /// /// sergio lisan <sels@venosyd.com> /// library opensyd.entities.apps.config; import 'dart:async'; import 'package:opensyd_dart/opensyd_dart.dart'; /// class Configuracoes extends OpensydEntity { /// Configuracoes({String id}) : super(id, 'Configuracoes'); @override Configur...
22.066667
75
0.672205
f66a34d1a949367dc11ecfc7994fe18fdef5ba41
1,306
swift
Swift
Kuri/Template/Wireframe/WireframeTemplate.swift
ktanaka117/Kuri
b42d9265c08fff9fd3ed74cc389f9601bcc5ab32
[ "MIT" ]
null
null
null
Kuri/Template/Wireframe/WireframeTemplate.swift
ktanaka117/Kuri
b42d9265c08fff9fd3ed74cc389f9601bcc5ab32
[ "MIT" ]
null
null
null
Kuri/Template/Wireframe/WireframeTemplate.swift
ktanaka117/Kuri
b42d9265c08fff9fd3ed74cc389f9601bcc5ab32
[ "MIT" ]
1
2019-12-12T13:16:51.000Z
2019-12-12T13:16:51.000Z
import Foundation struct WireframeTemplate: Templatable { func interface() -> String { return [ "//", "// __WIREFRAME__.swift", "// Kuri", "//", "// Created by __USERNAME__ on __DATE__.", "// Copyright © 2016年 __USERNAME__. All ri...
27.208333
71
0.398928
61d358ca5f7f59e25a96ae886e351813d442a8dc
3,086
psm1
PowerShell
Configs/Petshop4AzureAutomation/Resources/xFileContent/DSCResources/MSFT_xFindAndReplace/MSFT_xFindAndReplace.psm1
grayzu/DSC_Examples
cd4b17ef540c104653b7dc6902d0ae7fd488ad13
[ "MIT" ]
null
null
null
Configs/Petshop4AzureAutomation/Resources/xFileContent/DSCResources/MSFT_xFindAndReplace/MSFT_xFindAndReplace.psm1
grayzu/DSC_Examples
cd4b17ef540c104653b7dc6902d0ae7fd488ad13
[ "MIT" ]
null
null
null
Configs/Petshop4AzureAutomation/Resources/xFileContent/DSCResources/MSFT_xFindAndReplace/MSFT_xFindAndReplace.psm1
grayzu/DSC_Examples
cd4b17ef540c104653b7dc6902d0ae7fd488ad13
[ "MIT" ]
3
2016-02-17T19:02:30.000Z
2016-11-23T00:46:42.000Z
<####################################################################################### # MSFT_xFindAndReplace : DSC Resource that will set/test/get the content of a file # by replacing any instances of a pattern with the specified string. #########################################################################...
28.574074
133
0.510693
3fd405cbe958773ce407feb36ddad0f149e0ca68
804
rb
Ruby
lib/refinery/photo_gallery.rb
szajbus/refinerycms-photo-gallery
90bf74636a15238bff3425414ef82a97a2ecc951
[ "MIT" ]
null
null
null
lib/refinery/photo_gallery.rb
szajbus/refinerycms-photo-gallery
90bf74636a15238bff3425414ef82a97a2ecc951
[ "MIT" ]
null
null
null
lib/refinery/photo_gallery.rb
szajbus/refinerycms-photo-gallery
90bf74636a15238bff3425414ef82a97a2ecc951
[ "MIT" ]
null
null
null
require 'refinerycms-core' require 'refinerycms-settings' module Refinery autoload :PhotoGalleryGenerator, 'generators/refinery/photo_gallery_generator' module PhotoGallery autoload :Version, 'refinery/photo_gallery/version' class << self attr_writer :root def root @root ||= Pathnam...
25.125
80
0.705224
e26553c04cafa5848c91fe927e2f045d42674ceb
806
py
Python
airbnb/random_request.py
agroszer/airbnb-python
7a8d343877c673e9db42f25647e678266655af09
[ "WTFPL" ]
null
null
null
airbnb/random_request.py
agroszer/airbnb-python
7a8d343877c673e9db42f25647e678266655af09
[ "WTFPL" ]
null
null
null
airbnb/random_request.py
agroszer/airbnb-python
7a8d343877c673e9db42f25647e678266655af09
[ "WTFPL" ]
null
null
null
import random import uuid import os class RandomRequest(object): def __init__(self): pass def get_random_user_agent(self): with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'files/supported_ios_versions.txt')) as f: ios_versions = f.read().splitlines() w...
32.24
118
0.676179
33a1d171955b6940a7227633bc07995d19e3a01f
1,804
c
C
sources/libc16image_rw_tif/tif_read_til_all.c
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
1
2019-04-14T20:19:18.000Z
2019-04-14T20:19:18.000Z
sources/libc16image_rw_tif/tif_read_til_all.c
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
null
null
null
sources/libc16image_rw_tif/tif_read_til_all.c
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
null
null
null
#include <math.h> /* ceil() */ #include "ptbl_returncode.h" #include "pri.h" #include "tif.h" int tif_read_til_all( TIF_IMAGE_RW *tp_read, void *vp_image, uint32_t ui32_width, uint32_t ui32_height, uint32_t ui32_tile_width, uint32_t ui32_tile_height, uint16_t ui16_channels, uint16_t ui16_bytes, int i_reverse_sw, int i...
22.271605
233
0.654102
63b84a91ee2eedeec3e0635a051e6e4257cf9c20
848
rs
Rust
wpilib/src/lib.rs
Redrield/first-rust-competition
54922c26f7793cb8929ce68c4da09ace392bf6ef
[ "Apache-2.0", "MIT" ]
null
null
null
wpilib/src/lib.rs
Redrield/first-rust-competition
54922c26f7793cb8929ce68c4da09ace392bf6ef
[ "Apache-2.0", "MIT" ]
null
null
null
wpilib/src/lib.rs
Redrield/first-rust-competition
54922c26f7793cb8929ce68c4da09ace392bf6ef
[ "Apache-2.0", "MIT" ]
null
null
null
// Copyright 2018 First Rust Competition Developers. // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // ...
25.69697
68
0.752358
6d71b4539e617ef002d764ba2a883b7d0919348c
15,985
ts
TypeScript
types/dwt/Dynamsoft.d.ts
CiaccoDavide/DefinitelyTyped
f4b63e02370940350887eaa82ac976dc2ecbf313
[ "MIT" ]
35,620
2015-11-04T04:20:38.000Z
2022-03-31T21:14:58.000Z
types/dwt/Dynamsoft.d.ts
CiaccoDavide/DefinitelyTyped
f4b63e02370940350887eaa82ac976dc2ecbf313
[ "MIT" ]
49,391
2015-11-04T05:15:18.000Z
2022-03-31T23:44:18.000Z
types/dwt/Dynamsoft.d.ts
CiaccoDavide/DefinitelyTyped
f4b63e02370940350887eaa82ac976dc2ecbf313
[ "MIT" ]
36,450
2015-11-04T04:30:18.000Z
2022-03-31T23:29:51.000Z
import { DynamsoftEnums } from "./Dynamsoft.Enum"; import { WebTwain } from "./WebTwain"; import { Settings } from "./Addon.OCRPro"; import { FileUploader } from "./Dynamsoft.FileUploader"; export namespace DynamsoftStatic { let Lib: DynamsoftLib; let MSG: Messages; let WebTwainEnv: WebTwainEnv; let ma...
33.441423
159
0.662183
6963a66452d75fe68ad37180ecc92316275f976c
1,562
ps1
PowerShell
SPOnPremises_ChangeVersioningAndRemoveOlderVersions.ps1
gambin/GSPShell
b7d98c1aa4170f70af5d72f8ee40ca560f4b07d7
[ "MIT" ]
null
null
null
SPOnPremises_ChangeVersioningAndRemoveOlderVersions.ps1
gambin/GSPShell
b7d98c1aa4170f70af5d72f8ee40ca560f4b07d7
[ "MIT" ]
null
null
null
SPOnPremises_ChangeVersioningAndRemoveOlderVersions.ps1
gambin/GSPShell
b7d98c1aa4170f70af5d72f8ee40ca560f4b07d7
[ "MIT" ]
null
null
null
cls Write-Host "** Atencao **" -BackgroundColor Blue -ForegroundColor White Write-Host "Este script ira alterar a configuracao do versionamento de listas e bibliotecas dos sites SharePoint!" -ForegroundColor Yellow Write-Host $major = Read-Host "Qual o numero de major versions que serao mantidas?" $minor = Read-Host ...
35.5
138
0.651088
5d355c64e2d141688a1135d92643686c9b6748f7
16,054
lua
Lua
Diminish/Diminish.lua
wardz/Diminish
04b3aa48022064b2c7b5032037dbe36827b894ba
[ "MIT" ]
10
2015-06-10T17:21:51.000Z
2021-10-31T04:17:42.000Z
Diminish/Diminish.lua
wardz/Diminish
04b3aa48022064b2c7b5032037dbe36827b894ba
[ "MIT" ]
15
2018-09-22T19:41:17.000Z
2022-03-21T18:26:34.000Z
Diminish/Diminish.lua
wardz/Diminish
04b3aa48022064b2c7b5032037dbe36827b894ba
[ "MIT" ]
3
2019-01-15T11:32:15.000Z
2021-04-11T23:25:15.000Z
local _, NS = ... local Timers = NS.Timers local Icons = NS.Icons local Info = NS.Info local IsInBrawl = _G.C_PvP.IsInBrawl local Diminish = CreateFrame("Frame") Diminish:RegisterEvent("PLAYER_LOGIN") Diminish:SetScript("OnEvent", function(self, event, ...) return self[event](self, ...) end) -- used for Diminish_...
37.334884
184
0.658403
238019accce87374e5ebcae40d57c5468b535976
2,472
js
JavaScript
src/components/Sections/AboutMeSection.js
moafaqS/personal-website
d25034b4a073994f6cd9b80c220847dfaf6c44fb
[ "RSA-MD" ]
null
null
null
src/components/Sections/AboutMeSection.js
moafaqS/personal-website
d25034b4a073994f6cd9b80c220847dfaf6c44fb
[ "RSA-MD" ]
null
null
null
src/components/Sections/AboutMeSection.js
moafaqS/personal-website
d25034b4a073994f6cd9b80c220847dfaf6c44fb
[ "RSA-MD" ]
null
null
null
import React from "react"; import styled from "styled-components"; import { H3, BodyIntro, BodyMain } from "../styles/textStyle"; export const AboutMeSection = () => { return ( <Wrapper> <ContentWrapper> <Title> <span>-</span> About Me <span>-</span> </Title> <Image src="/...
29.428571
80
0.590615
b7285c94a4931f7fbba78a48c327c88b26861917
745
cs
C#
backend-api/FishingRecorder/FishingRecorder.API/Controllers/UsersController.cs
tonysulfaro/fishing-recorder
c74834d6f01315eb3e9d9f5e0288baa17a7b02ec
[ "MIT" ]
null
null
null
backend-api/FishingRecorder/FishingRecorder.API/Controllers/UsersController.cs
tonysulfaro/fishing-recorder
c74834d6f01315eb3e9d9f5e0288baa17a7b02ec
[ "MIT" ]
2
2020-09-26T01:00:42.000Z
2020-09-27T18:57:51.000Z
backend-api/FishingRecorder/FishingRecorder.API/Controllers/UsersController.cs
tonysulfaro/fishing-recorder
c74834d6f01315eb3e9d9f5e0288baa17a7b02ec
[ "MIT" ]
null
null
null
using System.Collections.Generic; using System.Threading.Tasks; using FishingRecorder.API.Interfaces; using FishingRecorder.API.Models.Database; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace FishingRecorder.API.Controllers { [Route("api/[controller]")] [Authorize] [Ap...
26.607143
65
0.697987
f64b8f2df6e270accde5d2e10fb663f41551bf5e
88,297
ps1
PowerShell
tests/Unit/DSC_DnsServerSetting.Tests.ps1
matthew-dupre/DnsServerDsc
9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3
[ "MIT" ]
37
2015-06-24T06:08:45.000Z
2019-09-26T18:18:33.000Z
tests/Unit/DSC_DnsServerSetting.Tests.ps1
matthew-dupre/DnsServerDsc
9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3
[ "MIT" ]
126
2019-12-10T17:08:47.000Z
2021-03-26T19:43:43.000Z
tests/Unit/DSC_DnsServerSetting.Tests.ps1
matthew-dupre/DnsServerDsc
9ac3399e026e51e0ea4f06fed8c34484dd9a6eb3
[ "MIT" ]
80
2015-04-21T19:38:39.000Z
2019-09-24T19:49:08.000Z
$script:dscModuleName = 'DnsServerDsc' $script:dscResourceName = 'DSC_DnsServerSetting' function Invoke-TestSetup { try { Import-Module -Name DscResource.Test -Force -ErrorAction 'Stop' } catch [System.IO.FileNotFoundException] { throw 'DscResource.Test module dependency ...
53.513333
142
0.350001
6ddd0a5853a1c0d4986d94dd64ee39de186f3987
220
h
C
src/other_methods/bonn.h
chengengjie/salt
99f35e51c773c83877ed66d61c845bea24b19b3d
[ "MIT" ]
17
2018-06-14T10:45:26.000Z
2021-12-20T12:06:23.000Z
src/other_methods/bonn.h
chengengjie/salt
99f35e51c773c83877ed66d61c845bea24b19b3d
[ "MIT" ]
1
2022-01-25T09:40:34.000Z
2022-01-25T09:40:34.000Z
src/other_methods/bonn.h
chengengjie/salt
99f35e51c773c83877ed66d61c845bea24b19b3d
[ "MIT" ]
5
2020-04-03T16:32:11.000Z
2021-10-20T12:37:08.000Z
#pragma once #include "salt/base/tree.h" namespace salt { // Bonn algorithm class BonnBuilder { public: static double unitCap; void Run(const Net &net, Tree &saltTree, double epsilon); }; } // namespace salt
15.714286
61
0.695455
ef532f6671dd7f6c829e5f98eb0eaacdd45222a7
2,558
php
PHP
controllers/JobScoreController.php
roundhouse/Jobscore
5ecc65a61a9b294c20866a34d93e57c598c2d818
[ "MIT" ]
2
2016-10-31T11:18:51.000Z
2020-12-21T15:32:04.000Z
controllers/JobScoreController.php
roundhouse/Jobscore
5ecc65a61a9b294c20866a34d93e57c598c2d818
[ "MIT" ]
null
null
null
controllers/JobScoreController.php
roundhouse/Jobscore
5ecc65a61a9b294c20866a34d93e57c598c2d818
[ "MIT" ]
null
null
null
<?php /** * Job Score plugin for Craft CMS * * JobScore Controller * * @author Vadim Goncharov * @copyright Copyright (c) 2016 Vadim Goncharov * @link http://roundhouseagency.com * @package JobScore * @since 0.0.1 */ namespace Craft; class JobScoreController extends BaseController { /** ...
29.068182
101
0.601642
4381ce5189e7abfc2505362dd5e998cfe31e7f69
1,060
ts
TypeScript
test-js/calculator-test.ts
JanaSimjanovska/skwd9-niwd2-wdel6
117268c60d8f7bb83b645c2d0e1a72be294665ed
[ "MIT" ]
null
null
null
test-js/calculator-test.ts
JanaSimjanovska/skwd9-niwd2-wdel6
117268c60d8f7bb83b645c2d0e1a72be294665ed
[ "MIT" ]
null
null
null
test-js/calculator-test.ts
JanaSimjanovska/skwd9-niwd2-wdel6
117268c60d8f7bb83b645c2d0e1a72be294665ed
[ "MIT" ]
11
2021-11-01T20:08:45.000Z
2021-11-18T16:20:37.000Z
import { Calculator } from "./calculator"; // 1. Arrange const addExpected = 3; console.log(`Calling Calculator.add(1, 2). The Expected value is ${addExpected}`); // 2. Act const addResult = Calculator.add(1, 2); // 3. Assert console.log(addResult); console.log(addExpected === addResult ? "\x1b[32mPassed\x1b[0m" : "\...
27.894737
111
0.706604
dab2d67f71d4c4f492e52a05f12bf9102e72a2a5
519
php
PHP
database/seeds/PacientesTableSeeder.php
gabrieldesousah/Vitta
2a6effda803afdea3a230c7a9bfa0ecc641e22da
[ "MIT" ]
null
null
null
database/seeds/PacientesTableSeeder.php
gabrieldesousah/Vitta
2a6effda803afdea3a230c7a9bfa0ecc641e22da
[ "MIT" ]
null
null
null
database/seeds/PacientesTableSeeder.php
gabrieldesousah/Vitta
2a6effda803afdea3a230c7a9bfa0ecc641e22da
[ "MIT" ]
null
null
null
<?php use Illuminate\Database\Seeder; class PacientesTableSeeder extends Seeder { public function run() { //Queremos criar de 5 a 10 respostas por tópico //O laravel cria uma collection com o seguinte script: $pacientes = factory(\App\Paciente::class, 50)->create(); //Agora posso entrar n...
28.833333
100
0.666667
7500faabc544116cc1254194930da326063b685c
8,095
css
CSS
app/www/ui2/js/ui/farms/builder/builder.css
ePlusPS/scalr
3f2b1f07768c773be890c88f3a2a2d197c7eabc9
[ "Apache-2.0" ]
null
null
null
app/www/ui2/js/ui/farms/builder/builder.css
ePlusPS/scalr
3f2b1f07768c773be890c88f3a2a2d197c7eabc9
[ "Apache-2.0" ]
null
null
null
app/www/ui2/js/ui/farms/builder/builder.css
ePlusPS/scalr
3f2b1f07768c773be890c88f3a2a2d197c7eabc9
[ "Apache-2.0" ]
null
null
null
/*farm settings & add role buttons*/ .x-docked-tabs .x-btn-farm-settings { box-shadow: 0 -1px #85a7c6 inset; } .x-docked-tabs .x-btn-farm-settings .x-btn-inner { line-height: 48px; text-transform: none; font-family: OpenSansSemiBold; font-size: 14px; width: 154px; padding-left: 6px; } .x-b...
21.819407
101
0.677579
23b1dd8e0879640c9d09253ae002e714634c913d
815
js
JavaScript
app/client/templates/patients/create_patient/create_patient.js
TransWebT/miniPIMS
e1272f0cb0c119ec02cdd1b56d4c6637954a9a79
[ "Apache-2.0" ]
null
null
null
app/client/templates/patients/create_patient/create_patient.js
TransWebT/miniPIMS
e1272f0cb0c119ec02cdd1b56d4c6637954a9a79
[ "Apache-2.0" ]
null
null
null
app/client/templates/patients/create_patient/create_patient.js
TransWebT/miniPIMS
e1272f0cb0c119ec02cdd1b56d4c6637954a9a79
[ "Apache-2.0" ]
null
null
null
/*****************************************************************************/ /* CreatePatient: Event Handlers */ /*****************************************************************************/ Template.CreatePatient.events({ }); /*****************************************************************************/ /* Crea...
33.958333
79
0.300613
d249852ee9beb992b36d7906055b86dbc25c928f
957
swift
Swift
Sources/UserDefaultElement/UserDefaultElement.swift
3sidedcube/UserDefault
32b6d3647fb5429f2401e089e3df5fba02749038
[ "MIT" ]
null
null
null
Sources/UserDefaultElement/UserDefaultElement.swift
3sidedcube/UserDefault
32b6d3647fb5429f2401e089e3df5fba02749038
[ "MIT" ]
null
null
null
Sources/UserDefaultElement/UserDefaultElement.swift
3sidedcube/UserDefault
32b6d3647fb5429f2401e089e3df5fba02749038
[ "MIT" ]
null
null
null
// // UserDefaultsElement.swift // UserDefault // // Created by Ben Shutt on 16/11/2020. // Copyright © 2020 3 SIDED CUBE APP PRODUCTIONS LTD. All rights reserved. // import Foundation /// Define functionality for reading and writing an object in the `UserDefaults`. /// /// Some types will conform to this `protoc...
34.178571
94
0.714734
b31bf094a8f4a1ef050535b36b403d47d959b339
1,344
py
Python
replica/tagger.py
Kraymer/replica
b1ca7946ee525782081047e77af69b8ee69031da
[ "MIT" ]
12
2015-06-07T12:45:43.000Z
2022-01-06T17:49:32.000Z
replica/tagger.py
Kraymer/replica
b1ca7946ee525782081047e77af69b8ee69031da
[ "MIT" ]
5
2017-02-13T15:05:28.000Z
2021-03-15T21:56:42.000Z
replica/tagger.py
Kraymer/replica
b1ca7946ee525782081047e77af69b8ee69031da
[ "MIT" ]
1
2021-10-10T15:13:00.000Z
2021-10-10T15:13:00.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2012-2021 Fabrice Laporte - kray.me # The MIT License http://www.opensource.org/licenses/mit-license.php """File-level functions to read and write id3 tags. """ import copy import logging from mutagen import id3, mp3 def get_tags(filepath): """Get i...
26.352941
68
0.607887
ebab878c2f96c9dca456d980186c811ec20b34f1
52,853
css
CSS
assets/css/global.css
ioslide/PWA_XHY
00be485c6bbacc47eca576b265fa59e8ecb93dc8
[ "Apache-2.0" ]
null
null
null
assets/css/global.css
ioslide/PWA_XHY
00be485c6bbacc47eca576b265fa59e8ecb93dc8
[ "Apache-2.0" ]
null
null
null
assets/css/global.css
ioslide/PWA_XHY
00be485c6bbacc47eca576b265fa59e8ecb93dc8
[ "Apache-2.0" ]
null
null
null
@import url(../../css.css);h4,h5{text-transform:none}.main-menu ul a:after,u:after{bottom:-3px;left:0;content:""}.js .loader,.section-content,.works{-webkit-box-orient:unset;-webkit-box-direction:unset}.center-text,.js .loader,.logo,h1.center,h2.center,h3.center,h4.center,h5.center,h6.center{text-align:center}.cursor,....
52,853
52,853
0.795698