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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
05c6d77e7667cad697221a4964d241fc05ccc199 | 10,713 | py | Python | tests/core/test_view.py | STejas6/core | 0576d50093b4520915636a216ebb26aa72aea9d5 | [
"MIT"
] | 95 | 2018-02-22T23:54:00.000Z | 2021-04-17T03:39:21.000Z | tests/core/test_view.py | STejas6/core | 0576d50093b4520915636a216ebb26aa72aea9d5 | [
"MIT"
] | 840 | 2018-01-27T04:26:20.000Z | 2021-01-24T12:28:58.000Z | tests/core/test_view.py | STejas6/core | 0576d50093b4520915636a216ebb26aa72aea9d5 | [
"MIT"
] | 100 | 2018-02-23T00:19:55.000Z | 2020-08-28T07:59:31.000Z | import glob
import time
from jinja2 import FileSystemLoader
from config import cache
from masonite.app import App
from masonite.drivers import CacheDiskDriver
from masonite.exceptions import RequiredContainerBindingNotFound, ViewException
from masonite.managers.CacheManager import CacheManager
from masonite.view impo... | 39.09854 | 122 | 0.662279 |
40c81f2bb351b03ad39fea6caa755fc86857848e | 33,123 | ts | TypeScript | src/stdlib.ts | erikvullings/sd.js | c9803245de1dc673f3f30b71723617db9e60616e | [
"MIT"
] | null | null | null | src/stdlib.ts | erikvullings/sd.js | c9803245de1dc673f3f30b71723617db9e60616e | [
"MIT"
] | null | null | null | src/stdlib.ts | erikvullings/sd.js | c9803245de1dc673f3f30b71723617db9e60616e | [
"MIT"
] | null | null | null | // Copyright 2019 Bobby Powers. All rights reserved.
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.
// DO NOT EDIT: auto-generated by ./support/build-stdlib.js
import { Map } from 'immutable';
/* tslint:disable: max-line-length */
export const xmileModels = Map<st... | 36.479075 | 100 | 0.26145 |
446b6bdff4d4aac132485087c94178da817f52aa | 47 | py | Python | AtCoder/ABC107/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 1 | 2018-11-25T04:15:45.000Z | 2018-11-25T04:15:45.000Z | AtCoder/ABC107/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | null | null | null | AtCoder/ABC107/A.py | takaaki82/Java-Lessons | c4f11462bf84c091527dde5f25068498bfb2cc49 | [
"MIT"
] | 2 | 2018-08-08T13:01:14.000Z | 2018-11-25T12:38:36.000Z | N, i = map(int, input().split())
print(N-i+1)
| 11.75 | 32 | 0.553191 |
b66370d3c2052470f24965fdffdb9d3d215465c7 | 354 | asm | Assembly | programs/oeis/245/A245353.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/245/A245353.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/245/A245353.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A245353: Sum of digits of n written in fractional base 9/7.
; 0,1,2,3,4,5,6,7,8,7,8,9,10,11,12,13,14,15,12,13,14,15,16,17,18,19,20,15,16,17,18,19,20,21,22,23,16,17,18,19,20,21,22,23,24,23,24,25,26,27,28,29,30,31,22,23,24,25,26,27,28,29,30,27,28,29,30,31
lpb $0
add $1,530
lpb $0
dif $0,9
mul $0,7
lpe
... | 25.285714 | 193 | 0.615819 |
72dd213505eb24868b41fa3f431c453dd8674f68 | 1,405 | cs | C# | OneScriptDocumenter/TypesDictionary.cs | EvilBeaver/OneScriptDocumenter | b8ad852b13b39998495ed2d5b8297c2b1d72e57a | [
"MIT"
] | 6 | 2016-07-27T06:10:54.000Z | 2018-01-05T14:26:26.000Z | OneScriptDocumenter/TypesDictionary.cs | EvilBeaver/OneScriptDocumenter | b8ad852b13b39998495ed2d5b8297c2b1d72e57a | [
"MIT"
] | 7 | 2017-10-05T11:07:01.000Z | 2019-07-04T10:14:02.000Z | OneScriptDocumenter/TypesDictionary.cs | EvilBeaver/OneScriptDocumenter | b8ad852b13b39998495ed2d5b8297c2b1d72e57a | [
"MIT"
] | 4 | 2016-06-12T03:58:25.000Z | 2017-10-07T14:52:01.000Z | using System.Collections.Generic;
using Newtonsoft.Json;
namespace OneScriptDocumenter
{
class TypeInfo
{
public string fullName = "";
public string ShortName = "";
public string nameEng = "";
public string nameRus = "";
}
class TypesDictionary
{
readonly L... | 23.032787 | 88 | 0.483274 |
dd91ea274ad9d39f126840b1ea6efe0b0e3254a9 | 1,785 | java | Java | giraph-core/src/main/java/org/apache/giraph/utils/ByteStructVertexIdMessageIterator.java | kaiyuan-li/giraph | 2c63aa2321a570f7dfcc659f565d18afb63a2e3c | [
"ECL-2.0",
"Apache-2.0"
] | 411 | 2015-01-07T02:56:29.000Z | 2022-02-19T13:49:58.000Z | giraph-core/src/main/java/org/apache/giraph/utils/ByteStructVertexIdMessageIterator.java | kaiyuan-li/giraph | 2c63aa2321a570f7dfcc659f565d18afb63a2e3c | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2016-11-28T22:27:01.000Z | 2021-05-14T15:42:21.000Z | giraph-core/src/main/java/org/apache/giraph/utils/ByteStructVertexIdMessageIterator.java | kaiyuan-li/giraph | 2c63aa2321a570f7dfcc659f565d18afb63a2e3c | [
"ECL-2.0",
"Apache-2.0"
] | 234 | 2015-01-04T08:22:07.000Z | 2022-03-07T07:16:03.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE 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 ... | 29.75 | 76 | 0.741737 |
2cb5d4826a4f9b02144241f3aa8cd3e8fb3a3159 | 1,262 | swift | Swift | iOS/Auto Layout/AutoLayout - Constraints/AutoLayout - Constraints/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 122 | 2019-09-05T14:27:42.000Z | 2022-03-29T19:49:05.000Z | iOS/Auto Layout/AutoLayout - Constraints/AutoLayout - Constraints/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 1 | 2019-09-30T11:21:58.000Z | 2019-09-30T11:21:58.000Z | iOS/Auto Layout/AutoLayout - Constraints/AutoLayout - Constraints/ViewController.swift | DuongToBSV/tutorials | 4908cc11b641de3e219d66ef61c1b61e6d63d10c | [
"WTFPL"
] | 32 | 2019-11-14T11:50:08.000Z | 2022-03-02T16:09:19.000Z | //
// ViewController.swift
// AutoLayout - Constraints
//
// Created by Tibor Bödecs on 2017. 10. 31..
// Copyright © 2017. Tibor Bödecs. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
weak var square: UIView!
override func loadView() {
super.loadView()
le... | 34.108108 | 155 | 0.657686 |
642a99074d38d44f874c56c53e73970eec03b88e | 231 | py | Python | scripts/item/consume_2433828.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/item/consume_2433828.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/item/consume_2433828.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Created by MechAviv
# White Heaven Sun Damage Skin | (2433828)
if sm.addDamageSkin(2433828):
sm.chat("'White Heaven Sun Damage Skin' Damage Skin has been added to your account's damage skin collection.")
sm.consumeItem() | 46.2 | 115 | 0.74026 |
be3d62ff4e0fbcffd0234404eb84c21c21f44928 | 1,244 | tsx | TypeScript | src/Components/FlashBanner.tsx | artsyjian/reaction | 90caeb8382ce49d8c233dea70b28afb15acaeba9 | [
"MIT"
] | null | null | null | src/Components/FlashBanner.tsx | artsyjian/reaction | 90caeb8382ce49d8c233dea70b28afb15acaeba9 | [
"MIT"
] | null | null | null | src/Components/FlashBanner.tsx | artsyjian/reaction | 90caeb8382ce49d8c233dea70b28afb15acaeba9 | [
"MIT"
] | null | null | null | import React from "react"
import { Banner, Sans } from "@artsy/palette"
interface Props {
messageCode: FlashMessageKey
}
export type FlashMessageKey =
/* email confirmed */
| "confirmed"
/* email already confirmed */
| "already_confirmed"
/* email confirmation token was invalid */
| "invalid_token"
/*... | 27.644444 | 71 | 0.680868 |
cefb296240886eb17a3a8d8ef677a9721d30e299 | 403 | sh | Shell | .github/api-extractor-action/prepare-repo-for-api-extractor.sh | znikola/spartacus | 53d86b38da578aa5cadc9fc0d980fddecfc12cb9 | [
"Apache-2.0"
] | 367 | 2018-09-26T21:50:39.000Z | 2020-03-21T16:33:21.000Z | .github/api-extractor-action/prepare-repo-for-api-extractor.sh | znikola/spartacus | 53d86b38da578aa5cadc9fc0d980fddecfc12cb9 | [
"Apache-2.0"
] | 9,011 | 2020-03-23T18:20:54.000Z | 2022-03-31T23:54:30.000Z | .github/api-extractor-action/prepare-repo-for-api-extractor.sh | znikola/spartacus | 53d86b38da578aa5cadc9fc0d980fddecfc12cb9 | [
"Apache-2.0"
] | 181 | 2018-10-02T21:39:12.000Z | 2020-03-23T13:28:47.000Z | #!/usr/bin/env bash
set -e
BRANCH=develop
if [ "$1" != "" ] ; then
BRANCH=$1
fi
DIR=self
if [ "$2" != "" ] ; then
DIR=$2
fi
COMMIT=$BRANCH
if [ "$3" != "" ] ; then
COMMIT=$3
fi
if [ "$DIR" != "self" ] ; then
rm -rf $DIR
git clone --single-branch --branch $BRANCH https://github.com/SAP/spartacus.git $DIR
... | 13.896552 | 86 | 0.585608 |
9374d8f5226894e3b5575d2852bcafab77e71adf | 39,727 | cs | C# | HalconDotNet/HalconDotNet/HTemplate.cs | yanglei50/OpenHalcon | e390f45e06a52d4f01dc5a1de153081c6e08f423 | [
"Apache-2.0"
] | 57 | 2019-12-17T10:04:04.000Z | 2022-03-16T09:36:35.000Z | HalconDotNet/HalconDotNet/HTemplate.cs | waynehuang/OpenHalcon | e390f45e06a52d4f01dc5a1de153081c6e08f423 | [
"Apache-2.0"
] | 2 | 2020-04-27T04:30:10.000Z | 2021-05-18T08:39:29.000Z | HalconDotNet/HalconDotNet/HTemplate.cs | waynehuang/OpenHalcon | e390f45e06a52d4f01dc5a1de153081c6e08f423 | [
"Apache-2.0"
] | 35 | 2019-12-21T08:44:27.000Z | 2022-03-18T18:13:22.000Z | // Decompiled with JetBrains decompiler
// Type: HalconDotNet.HTemplate
// Assembly: halcondotnetxl, Version=17.12.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8
// MVID: 39799324-2494-4A83-8C57-2731D25BAE81
// Assembly location: C:\Program Files\MVTec\HALCON-17.12-Progress\bin\dotnet35\halcondotnetxl.dll
usin... | 46.194186 | 127 | 0.591311 |
df735e4f01980d913b9757ea52ce2901d5f696f4 | 888 | cs | C# | WebPresence.Presentation/ViewModels/ContentMenu/OpenAuthorizeAttribute.cs | nodoubt223rd/WebPresence-CMS | 5714d354d09544634d0dee8cbd04ae4d7c6bedbd | [
"MIT"
] | null | null | null | WebPresence.Presentation/ViewModels/ContentMenu/OpenAuthorizeAttribute.cs | nodoubt223rd/WebPresence-CMS | 5714d354d09544634d0dee8cbd04ae4d7c6bedbd | [
"MIT"
] | null | null | null | WebPresence.Presentation/ViewModels/ContentMenu/OpenAuthorizeAttribute.cs | nodoubt223rd/WebPresence-CMS | 5714d354d09544634d0dee8cbd04ae4d7c6bedbd | [
"MIT"
] | null | null | null | using System.Web.Mvc;
using System.Web.Routing;
namespace WebPresence.Presentation.ViewModels.ContentMenu
{
public class OpenAuthorizeAttribute : AuthorizeAttribute
{
public OpenAuthorizeAttribute(AuthorizeAttribute attribute)
{
Order = attribute.Order;
Roles = attribut... | 28.645161 | 99 | 0.68018 |
cc5792a37d44fb58d64fdd0ff14a3a500a07e3cb | 1,278 | gemspec | Ruby | pod-detection/logstash/vendor/bundle/jruby/1.9/gems/shoulda-3.5.0/shoulda.gemspec | NICTA/pod-detection | 00980311406692721e5b18dfc5e296d78e11fcb4 | [
"Apache-2.0"
] | 2 | 2019-02-04T18:17:17.000Z | 2019-02-13T16:34:51.000Z | shoulda.gemspec | rmm5t/shoulda | 203447e142d6eae00ad83f775b7691b189cce19c | [
"MIT"
] | 6 | 2016-10-19T17:42:36.000Z | 2016-11-21T20:53:00.000Z | shoulda.gemspec | rmm5t/shoulda | 203447e142d6eae00ad83f775b7691b189cce19c | [
"MIT"
] | 3 | 2015-09-05T13:16:27.000Z | 2016-07-15T17:47:25.000Z | $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'shoulda/version'
Gem::Specification.new do |s|
s.name = 'shoulda'
s.version = Shoulda::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Tammer Saleh", "Joe Ferris", "Ryan McGeary", "Dan Croak",
"Matt Jank... | 41.225806 | 83 | 0.624413 |
bb567f1480ca50d13688b485f9f37bf89c3c9bc1 | 5,323 | cs | C# | CustomTracksBakery/Kn5MaterialToBake.cs | Ultrawipf/actools | fb5217be59811fc8e219c4fc143c488e20d3b3e2 | [
"MS-PL"
] | 209 | 2016-05-05T17:09:46.000Z | 2022-03-27T11:47:37.000Z | CustomTracksBakery/Kn5MaterialToBake.cs | Ultrawipf/actools | fb5217be59811fc8e219c4fc143c488e20d3b3e2 | [
"MS-PL"
] | 51 | 2016-08-01T00:56:16.000Z | 2022-03-29T12:54:56.000Z | CustomTracksBakery/Kn5MaterialToBake.cs | Ultrawipf/actools | fb5217be59811fc8e219c4fc143c488e20d3b3e2 | [
"MS-PL"
] | 50 | 2016-07-31T23:33:53.000Z | 2022-03-19T10:21:03.000Z | using AcTools.Kn5File;
using AcTools.Render.Base;
using AcTools.Render.Base.Cameras;
using AcTools.Render.Base.Materials;
using AcTools.Render.Base.Objects;
using AcTools.Render.Kn5Specific.Textures;
using CustomTracksBakery.Shaders;
using JetBrains.Annotations;
using SlimDX;
using SlimDX.Direct3D11;
namespace Custom... | 42.584 | 147 | 0.637798 |
25adfa969e08c7a5af2b9d5abe33d2f85d373d64 | 4,281 | js | JavaScript | resources/assets/js/pages/myCourses/Page.js | BreFranca/e-learning-back-end | 32a5afb90f9ca26cba3803342812bcef85a4260a | [
"MIT"
] | null | null | null | resources/assets/js/pages/myCourses/Page.js | BreFranca/e-learning-back-end | 32a5afb90f9ca26cba3803342812bcef85a4260a | [
"MIT"
] | null | null | null | resources/assets/js/pages/myCourses/Page.js | BreFranca/e-learning-back-end | 32a5afb90f9ca26cba3803342812bcef85a4260a | [
"MIT"
] | null | null | null | import React from 'react'
import {connect} from 'react-redux'
import axios from 'axios'
import {
Button,
Container,
Grid,
Header,
Icon,
Segment,
Card,
Image, Progress
} from 'semantic-ui-react'
import PageHeader from '../../common/pageHeader'
import Navigation from '../../common/navigati... | 38.567568 | 157 | 0.402242 |
93ea12e05df8de7ae79bda29bf3a6e94938645db | 582 | cs | C# | src/Modules/Pootis-Bot.Module.WelcomeMessage/Entities/WelcomeMessageServer.cs | Voltstro/Pootis-Bot | 7cd6865dff0cd908c02f8cad5c3fbf825fa461d4 | [
"MIT"
] | 14 | 2020-04-30T04:25:40.000Z | 2021-12-31T03:17:56.000Z | src/Modules/Pootis-Bot.Module.WelcomeMessage/Entities/WelcomeMessageServer.cs | Voltstro/Pootis-Bot | 7cd6865dff0cd908c02f8cad5c3fbf825fa461d4 | [
"MIT"
] | 3 | 2020-05-17T12:17:15.000Z | 2021-05-12T13:34:18.000Z | src/Modules/Pootis-Bot.Module.WelcomeMessage/Entities/WelcomeMessageServer.cs | Voltstro/Pootis-Bot | 7cd6865dff0cd908c02f8cad5c3fbf825fa461d4 | [
"MIT"
] | 6 | 2020-04-21T23:40:27.000Z | 2021-11-26T05:20:24.000Z | namespace Pootis_Bot.Module.WelcomeMessage.Entities
{
public class WelcomeMessageServer
{
public ulong GuildId { get; set; }
public ulong ChannelId { get; set; }
public string WelcomeMessage { get; set; }
public bool WelcomeMessageEnabled { get; set; }
... | 25.304348 | 55 | 0.575601 |
a46c281b393a6b73f0e89c03af21353d5e37466c | 1,856 | php | PHP | src/V13/Reporting/CallDetailReportColumn.php | croxarens/BingAds-PHP-SDK | 025e159aff5baab9ee5931d2b914979d93deb694 | [
"Apache-2.0"
] | null | null | null | src/V13/Reporting/CallDetailReportColumn.php | croxarens/BingAds-PHP-SDK | 025e159aff5baab9ee5931d2b914979d93deb694 | [
"Apache-2.0"
] | null | null | null | src/V13/Reporting/CallDetailReportColumn.php | croxarens/BingAds-PHP-SDK | 025e159aff5baab9ee5931d2b914979d93deb694 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Microsoft\BingAds\V13\Reporting;
{
/**
* Defines the attributes and performance statistics columns that you can include in the CallDetailReportRequest.
* @link https://docs.microsoft.com/en-us/advertising/reporting-service/calldetailreportcolumn?view=bingads-13 CallDetailReportColumn Val... | 30.42623 | 147 | 0.616918 |
8e3cf7cc80e0295e0ff8b7cf90785011fdaf18f5 | 505 | rb | Ruby | app/controllers/rates_controller.rb | djlebersilvestre/brl-buying-cad | 612b8ceb8e1c24a8e5aecad023c77603d0fb17d1 | [
"Apache-2.0"
] | null | null | null | app/controllers/rates_controller.rb | djlebersilvestre/brl-buying-cad | 612b8ceb8e1c24a8e5aecad023c77603d0fb17d1 | [
"Apache-2.0"
] | null | null | null | app/controllers/rates_controller.rb | djlebersilvestre/brl-buying-cad | 612b8ceb8e1c24a8e5aecad023c77603d0fb17d1 | [
"Apache-2.0"
] | null | null | null | class RatesController < ApplicationController
def index
# TODO: cleanup the controller and the view
@rates_for_graph = ExchangeHouse.all.map do |house|
{ name: house.name.gsub(/CadRateFinder::/, ''),
data: get_rates_for_data_graph(house.rates.last(30)) }
end
end
private
def get_rates... | 22.954545 | 62 | 0.675248 |
d81111e78ef65c50ad9312feb42468dbe5edb3cf | 363 | dart | Dart | lib/main.dart | Abraxelx/flutter-phpmysql-googlemaps | 7eeed3cf10c52076ff44c247620b80984eee6128 | [
"MIT"
] | null | null | null | lib/main.dart | Abraxelx/flutter-phpmysql-googlemaps | 7eeed3cf10c52076ff44c247620b80984eee6128 | [
"MIT"
] | null | null | null | lib/main.dart | Abraxelx/flutter-phpmysql-googlemaps | 7eeed3cf10c52076ff44c247620b80984eee6128 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'widgets/Coordinates/map.dart';
void main() {
runApp(
new HomeApp(),
);
}
class HomeApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Tutorials',... | 18.15 | 40 | 0.672176 |
c7860f832a8d3b26361c1d541c21bf5c9f16e399 | 128 | sh | Shell | build_unicorn.sh | maurelian/cannon | 443a51bd52216a42379bc749d2ac894a726a97ad | [
"MIT"
] | null | null | null | build_unicorn.sh | maurelian/cannon | 443a51bd52216a42379bc749d2ac894a726a97ad | [
"MIT"
] | null | null | null | build_unicorn.sh | maurelian/cannon | 443a51bd52216a42379bc749d2ac894a726a97ad | [
"MIT"
] | null | null | null | #!/bin/bash
git clone https://github.com/geohot/unicorn.git
cd unicorn
UNICORN_ARCHS=mips make -j8
UNICORN_ARCHS=mips make -j8
| 18.285714 | 47 | 0.78125 |
ff33fba7d42263a1ab60715f05be4517834edd1a | 10,139 | py | Python | src/vsc/model/solvegroup_swizzler_range.py | fvutils/pyvsc | a828f3c779e3af7dbe30e873010615b8ab0ef488 | [
"Apache-2.0"
] | 54 | 2020-03-28T17:54:00.000Z | 2022-03-27T08:53:13.000Z | src/vsc/model/solvegroup_swizzler_range.py | fvutils/pyvsc | a828f3c779e3af7dbe30e873010615b8ab0ef488 | [
"Apache-2.0"
] | 124 | 2020-04-10T03:06:03.000Z | 2022-03-24T18:35:46.000Z | src/vsc/model/solvegroup_swizzler_range.py | fvutils/pyvsc | a828f3c779e3af7dbe30e873010615b8ab0ef488 | [
"Apache-2.0"
] | 17 | 2020-04-09T21:47:58.000Z | 2022-02-23T19:37:37.000Z | '''
Created on Sep 18, 2021
@author: mballance
'''
import random
from vsc.model.bin_expr_type import BinExprType
from vsc.model.expr_bin_model import ExprBinModel
from vsc.model.expr_fieldref_model import ExprFieldRefModel
from vsc.model.expr_literal_model import ExprLiteralModel
from vsc.model.expr_model import Expr... | 39.146718 | 121 | 0.458921 |
72e3c08776fa3c05e4ce03ee5057df4846ed9d4e | 569 | cs | C# | UnityProject/Assets/Scripts/Actors/AI/HostileAI.cs | coreymason/ECS-189L-Project | f124510b69a6225281674be92cc9716f9aa91172 | [
"MIT"
] | null | null | null | UnityProject/Assets/Scripts/Actors/AI/HostileAI.cs | coreymason/ECS-189L-Project | f124510b69a6225281674be92cc9716f9aa91172 | [
"MIT"
] | 1 | 2019-06-09T17:56:41.000Z | 2019-06-09T17:56:41.000Z | UnityProject/Assets/Scripts/Actors/AI/HostileAI.cs | coreymason/ECS-189L-Project | f124510b69a6225281674be92cc9716f9aa91172 | [
"MIT"
] | null | null | null | using Pathfinding;
using UnityEngine;
[RequireComponent(typeof(AIPath))]
[RequireComponent(typeof(AIDestinationSetter))]
public abstract class HostileAI : MonoBehaviour
{
protected AIPath AiPath;
protected AIDestinationSetter AiDestinationSetter;
protected Transform Target;
protected void Start()
... | 23.708333 | 66 | 0.720562 |
2ddc3926f56ca430a6010b06aa281010c24f4d89 | 19,328 | cpp | C++ | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | /*
* Minetest
* Copyright (C) 2010-2014 celeron55, Perttu Ahola <celeron55@gmail.com>
* Copyright (C) 2010-2014 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following condi... | 24.16 | 96 | 0.623086 |
bbcf7e5821329671403ae489879a6159c99280b3 | 2,048 | sql | SQL | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v25_to_v31/11 Create Constraints/40650 EducationContent [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | null | null | null | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v25_to_v31/11 Create Constraints/40650 EducationContent [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | 9 | 2020-06-12T16:07:31.000Z | 2022-01-20T16:13:12.000Z | EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v25_to_v31/11 Create Constraints/40650 EducationContent [PK, IX, D].sql | Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility | 0d990a4d5cec37eec2015ef53e8d9e4fdec8750a | [
"Apache-2.0"
] | 3 | 2020-05-19T13:25:35.000Z | 2022-02-26T01:21:18.000Z | -- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
PRINT N'Creating primary key [EducationContent_PK]... | 46.545455 | 140 | 0.814941 |
f8368b739e4850b9ecd394d3e317d555c5c674cf | 10,104 | dart | Dart | lib/view/news_list.dart | gms-sam/newsapp | d05526cd814bd48065507983c5e82da4ba17f22e | [
"MIT"
] | null | null | null | lib/view/news_list.dart | gms-sam/newsapp | d05526cd814bd48065507983c5e82da4ba17f22e | [
"MIT"
] | null | null | null | lib/view/news_list.dart | gms-sam/newsapp | d05526cd814bd48065507983c5e82da4ba17f22e | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:get/get.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:intl/intl.dart';
import 'package:newsapp/controller/home_page.dart';
import 'package:newsapp/m... | 40.578313 | 170 | 0.379157 |
e757caf8b12e7bfe511307d844df0c1b6c0ad88d | 1,828 | php | PHP | routes/web.php | rizwanafridi01/l6app | 10ec3e5c7b0aa5dd261a39a3af4f48243aca15d2 | [
"MIT"
] | null | null | null | routes/web.php | rizwanafridi01/l6app | 10ec3e5c7b0aa5dd261a39a3af4f48243aca15d2 | [
"MIT"
] | 8 | 2020-08-11T15:19:57.000Z | 2022-02-26T21:48:37.000Z | routes/web.php | rizwanafridi01/l6app | 10ec3e5c7b0aa5dd261a39a3af4f48243aca15d2 | [
"MIT"
] | null | null | null | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| ... | 32.642857 | 96 | 0.569475 |
e718399e835cd676c3df44c34655ea410b0c7624 | 6,052 | php | PHP | addons/Style/backend/views/style-goods/edit-all.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | null | null | null | addons/Style/backend/views/style-goods/edit-all.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | null | null | null | addons/Style/backend/views/style-goods/edit-all.php | Donsilor/gdzb | 5f30d6c6bdcaae16b71012f21e6948c172801330 | [
"Apache-2.0"
] | 1 | 2022-03-06T19:23:33.000Z | 2022-03-06T19:23:33.000Z | <?php
use common\helpers\Html;
use yii\widgets\ActiveForm;
use yii\base\Widget;
use common\helpers\Url;
use addons\Style\common\models\Goods;
use addons\Style\common\enums\AttrTypeEnum;
use addons\Style\common\forms\StyleGoodsForm;
use common\enums\AuditStatusEnum;
/* @var $this yii\web\View */
/* @var $model addons... | 34 | 175 | 0.481989 |
b1b03901a26e8014365dc8713d113ceb1a2a7352 | 637 | swift | Swift | PixPic/Classes/DTO/StickersGroup.swift | johnik703/PixPic | d9f54dfc1078c0f4db9698cf0ea08a5a3c3d5a90 | [
"MIT"
] | 1,418 | 2016-07-26T14:09:37.000Z | 2022-02-21T03:09:13.000Z | PixPic/Classes/DTO/StickersGroup.swift | alghubari2017/alghubari2017 | d9f54dfc1078c0f4db9698cf0ea08a5a3c3d5a90 | [
"MIT"
] | 8 | 2016-07-27T08:13:37.000Z | 2018-10-24T10:04:44.000Z | PixPic/Classes/DTO/StickersGroup.swift | alghubari2017/alghubari2017 | d9f54dfc1078c0f4db9698cf0ea08a5a3c3d5a90 | [
"MIT"
] | 292 | 2016-07-27T11:44:32.000Z | 2022-03-12T16:29:48.000Z | //
// EffectsGroup.swift
// PixPic
//
// Created by Illya on 1/28/16.
// Copyright © 2016 Yalantis. All rights reserved.
//
class StickersGroup: PFObject {
@NSManaged var image: PFFile
@NSManaged var label: String
private static var onceToken: dispatch_once_t = 0
var stickersRelation: PFRelation!... | 18.735294 | 53 | 0.646782 |
af93a6ee9fb8f56c875213959c0b84e1cd07aefc | 8,710 | py | Python | mlflow/protos/databricks_artifacts_pb2.py | abhiramr/mlflow | 2bbdc20f2d90d551fb7d40f982f2f799da9feca8 | [
"Apache-2.0"
] | null | null | null | mlflow/protos/databricks_artifacts_pb2.py | abhiramr/mlflow | 2bbdc20f2d90d551fb7d40f982f2f799da9feca8 | [
"Apache-2.0"
] | null | null | null | mlflow/protos/databricks_artifacts_pb2.py | abhiramr/mlflow | 2bbdc20f2d90d551fb7d40f982f2f799da9feca8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: databricks_artifacts.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descr... | 68.582677 | 2,193 | 0.828817 |
394e4a362425acc6d7bca030cc1eff713e38a91d | 2,019 | py | Python | login/views.py | nikhilchaudhary0126/goodshare | c1578796b6376f02970f61ea418e9eb87dc5bb64 | [
"MIT"
] | 1 | 2022-02-26T09:25:39.000Z | 2022-02-26T09:25:39.000Z | login/views.py | nikhilchaudhary0126/goodshare | c1578796b6376f02970f61ea418e9eb87dc5bb64 | [
"MIT"
] | null | null | null | login/views.py | nikhilchaudhary0126/goodshare | c1578796b6376f02970f61ea418e9eb87dc5bb64 | [
"MIT"
] | null | null | null | from django.contrib.auth import authenticate, login
from django.contrib.auth.forms import AuthenticationForm
from django.shortcuts import render, redirect
from django.contrib import messages
from django.contrib.auth.forms import UserCreationForm
from django.contrib.auth.models import User
# Create your views here.
de... | 41.204082 | 103 | 0.623081 |
7ae51b1ddfbe0554422f078f83284fd667025376 | 833 | cs | C# | tests/Magick.NET.Tests/Drawables/DrawableAffineTests/TheTransformSkewYMethod.cs | aTiKhan/Magick.NET | 12f4c76560cf0d54caa4bb9f6e76a414a4f0eed2 | [
"Apache-2.0"
] | 2,279 | 2015-10-18T19:49:46.000Z | 2022-03-31T23:00:19.000Z | tests/Magick.NET.Tests/Drawables/DrawableAffineTests/TheTransformSkewYMethod.cs | aTiKhan/Magick.NET | 12f4c76560cf0d54caa4bb9f6e76a414a4f0eed2 | [
"Apache-2.0"
] | 801 | 2015-11-16T06:18:30.000Z | 2022-03-26T05:57:14.000Z | tests/Magick.NET.Tests/Drawables/DrawableAffineTests/TheTransformSkewYMethod.cs | aTiKhan/Magick.NET | 12f4c76560cf0d54caa4bb9f6e76a414a4f0eed2 | [
"Apache-2.0"
] | 391 | 2015-10-24T00:54:29.000Z | 2022-03-23T03:08:20.000Z | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class DrawableAffineTests
{
public class TheTransformSkewYMethod
{
[Fact]
pu... | 28.724138 | 66 | 0.571429 |
4dc01d881fb59c15d1cdeddd82846010b033621e | 7,389 | cs | C# | iot.solution.service/Implementation/ChartService.cs | iotconnect-apps/AppConnect-AirQualityMonitoring | 1d9d7d8182eb0c2bcfabdefe3685a50b92b4a8b0 | [
"MIT"
] | null | null | null | iot.solution.service/Implementation/ChartService.cs | iotconnect-apps/AppConnect-AirQualityMonitoring | 1d9d7d8182eb0c2bcfabdefe3685a50b92b4a8b0 | [
"MIT"
] | 6 | 2021-05-06T16:19:15.000Z | 2022-03-02T08:52:43.000Z | iot.solution.service/Implementation/ChartService.cs | iotconnect-apps/AppConnect-AirQualityMonitoring | 1d9d7d8182eb0c2bcfabdefe3685a50b92b4a8b0 | [
"MIT"
] | null | null | null | using iot.solution.data;
using iot.solution.model.Repository.Interface;
using iot.solution.service.Interface;
using System.Collections.Generic;
using Request = iot.solution.entity.Request;
using Response = iot.solution.entity.Response;
using System.Data;
using System.Data.Common;
using System.Reflection;
using compone... | 56.40458 | 192 | 0.662065 |
d30bc90040b75404d6eb7b40ba19d5f52d4d0498 | 201 | cs | C# | EIDSS v6.1/eidss.core/Reports/ReportVersion.cs | EIDSS/EIDSS-Legacy | 2f7f45f1882a899dde6f774c2d38b9f431ce42c1 | [
"BSD-2-Clause"
] | 2 | 2017-09-14T03:03:40.000Z | 2017-09-15T14:58:47.000Z | EIDSS v6.1/eidss.core/Reports/ReportVersion.cs | EIDSS/EIDSS-Legacy | 2f7f45f1882a899dde6f774c2d38b9f431ce42c1 | [
"BSD-2-Clause"
] | null | null | null | EIDSS v6.1/eidss.core/Reports/ReportVersion.cs | EIDSS/EIDSS-Legacy | 2f7f45f1882a899dde6f774c2d38b9f431ce42c1 | [
"BSD-2-Clause"
] | 2 | 2017-09-14T03:03:45.000Z | 2019-03-25T23:09:43.000Z | namespace EIDSS.Reports.Parameterized.Human.GG.Report
{
public enum ReportVersion
{
Version4 = 40,
Version5 = 50,
Version6 = 60,
Version61 = 61
}
} | 20.1 | 55 | 0.552239 |
9dca1e364f7e16702ba0e17a29a29213fa9aad94 | 2,660 | rs | Rust | src/internal.rs | oliver-giersch/reclaim | ab55cb7eb9078376597dcdbaa298daeb9bf22d0b | [
"Apache-2.0",
"MIT"
] | 4 | 2019-07-19T05:47:27.000Z | 2019-07-21T20:11:37.000Z | src/internal.rs | oliver-giersch/reclaim | ab55cb7eb9078376597dcdbaa298daeb9bf22d0b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/internal.rs | oliver-giersch/reclaim | ab55cb7eb9078376597dcdbaa298daeb9bf22d0b | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-15T15:54:59.000Z | 2021-07-15T15:54:59.000Z | //! Internal traits which may appear in public interfaces, but are not actually
//! exported by the crate.
use core::ptr::NonNull;
use core::sync::atomic::Ordering;
use typenum::Unsigned;
use crate::atomic::Atomic;
use crate::pointer::{Marked, MarkedPointer, MarkedPtr};
use crate::{AcquireResult, Reclaim, Shared};
... | 37.464789 | 100 | 0.474812 |
9a7f2baa423aaa01850510383dafec8c4d235ec9 | 37 | rb | Ruby | spec/dummy/app/models/test2.rb | oleg-kiviljov/sail | 4e09e52bcbb2382615213a3642dd477c260b6256 | [
"MIT"
] | 507 | 2018-09-10T16:45:32.000Z | 2022-02-28T09:34:44.000Z | spec/dummy/app/models/test2.rb | oleg-kiviljov/sail | 4e09e52bcbb2382615213a3642dd477c260b6256 | [
"MIT"
] | 238 | 2018-09-15T00:44:40.000Z | 2022-02-25T10:07:26.000Z | spec/dummy/app/models/test2.rb | land-of-apps/sail | 30fa8488851eef2508829c727d9d679eb8556714 | [
"MIT"
] | 40 | 2018-09-17T16:49:27.000Z | 2022-03-25T08:10:54.000Z | class Test2 < ApplicationRecord
end
| 9.25 | 31 | 0.810811 |
da521ae69edd10bf6b599ee69e4e3e09b2bc0907 | 1,939 | php | PHP | resources/views/Productos/createProduct.blade.php | JuanCamiloAA/PHPSena | c7728281b7f7b7d348aa99af38f51dc50755c528 | [
"MIT"
] | null | null | null | resources/views/Productos/createProduct.blade.php | JuanCamiloAA/PHPSena | c7728281b7f7b7d348aa99af38f51dc50755c528 | [
"MIT"
] | null | null | null | resources/views/Productos/createProduct.blade.php | JuanCamiloAA/PHPSena | c7728281b7f7b7d348aa99af38f51dc50755c528 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('tittle')
Productos
@endsection
@section('sub')
Lista de Productos
@endsection
@section('content')
<div class="col-md-12 d-flex justify-content-center">
<div class="card mt-5 shadow p-3 mb-5 bg-white rounded">
<div class="card-body">
<form class="user" acti... | 39.571429 | 193 | 0.501289 |
75e6e15c722a4dca8bb950404a068f9674ed1b0f | 525 | sh | Shell | SDFConv/code/sh/ad/train03_09.sh | zshyang/FieldConvolution | ca88df568a6f2143dcb85d22c005fce4562a7523 | [
"MIT"
] | 1 | 2021-01-03T18:53:06.000Z | 2021-01-03T18:53:06.000Z | SDFConv/code/sh/ad/train03_09.sh | zshyang/FieldConvolution | ca88df568a6f2143dcb85d22c005fce4562a7523 | [
"MIT"
] | null | null | null | SDFConv/code/sh/ad/train03_09.sh | zshyang/FieldConvolution | ca88df568a6f2143dcb85d22c005fce4562a7523 | [
"MIT"
] | null | null | null | CUDA_VISIBLE_DEVICES=2 python train.py --options experiments/ad/fold03.yml
CUDA_VISIBLE_DEVICES=2 python train.py --options experiments/ad/fold04.yml
CUDA_VISIBLE_DEVICES=2 python train.py --options experiments/ad/fold05.yml
CUDA_VISIBLE_DEVICES=2 python train.py --options experiments/ad/fold06.yml
CUDA_VISIBLE_DEVICES... | 65.625 | 74 | 0.84 |
587eae0b3526ed7e75538db55594db55d4c1f8fa | 841 | css | CSS | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/news/flow/news.flow.css | skyplaying/fis3 | ae540445226df219a8c1ed54265536fe603f4010 | [
"BSD-2-Clause"
] | 3,245 | 2015-06-30T10:29:58.000Z | 2022-03-27T17:19:39.000Z | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/news/flow/news.flow.css | skyplaying/fis3 | ae540445226df219a8c1ed54265536fe603f4010 | [
"BSD-2-Clause"
] | 1,257 | 2015-07-01T00:10:38.000Z | 2022-01-21T02:03:38.000Z | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/news/flow/news.flow.css | skyplaying/fis3 | ae540445226df219a8c1ed54265536fe603f4010 | [
"BSD-2-Clause"
] | 1,038 | 2015-06-30T10:29:58.000Z | 2022-02-07T08:06:53.000Z | /* For 300px layout */
.flow-on .mod-news {
width: auto;
}
.flow-on .mod-news .news-tab .ui-nav {
width: auto;
}
.flow-on .mod-news .news-tab .ui-nav .wrap {
width: auto;
}
.flow-on .mod-news .news-tab .nav-item {
width: 66px;
}
.flow-on .mod-news .scroll-pane {
width: auto;
}
.flow-on .mod-news .ne... | 19.55814 | 48 | 0.618312 |
8eab28b95c07e96323f0e05556baac2148ca2f07 | 607 | js | JavaScript | app/main/config/index.js | CoquiCash/CoquiDEX | e0f5a6233031f3b6f108d11d3d10add1baa9990d | [
"MIT"
] | 1 | 2018-10-07T18:55:09.000Z | 2018-10-07T18:55:09.000Z | app/main/config/index.js | CoquiCash/CoquiDEX | e0f5a6233031f3b6f108d11d3d10add1baa9990d | [
"MIT"
] | 78 | 2018-09-19T07:29:42.000Z | 2019-02-11T13:53:33.000Z | app/main/config/index.js | CoquiCash/CoquiDEX | e0f5a6233031f3b6f108d11d3d10add1baa9990d | [
"MIT"
] | 7 | 2018-09-25T09:32:41.000Z | 2020-05-06T13:27:59.000Z | const ipc = require('electron-better-ipc');
const Config = require('../../lib/config-manager');
const loadPaths = require('./paths').default;
const loadDefault = require('./config-default').default;
const loadCoinsData = require('./coins-data').default;
const loadSymbol = require('./symbol').default;
let config = null... | 24.28 | 56 | 0.693575 |
302c63b6731de7374673d0b2648413e6dea04d4f | 189 | sql | SQL | persistence/sql/migrations/20201116133000000000_set_null_time.postgres.down.sql | mig5/hydra | 2d5449019cd7ae02745658a8c8ee16cf3c2ccc8f | [
"Apache-2.0"
] | 10,611 | 2017-02-08T01:43:36.000Z | 2022-03-31T18:42:08.000Z | persistence/sql/migrations/20201116133000000000_set_null_time.postgres.down.sql | mig5/hydra | 2d5449019cd7ae02745658a8c8ee16cf3c2ccc8f | [
"Apache-2.0"
] | 1,629 | 2017-02-09T12:39:37.000Z | 2022-03-31T23:45:57.000Z | persistence/sql/migrations/20201116133000000000_set_null_time.postgres.down.sql | mig5/hydra | 2d5449019cd7ae02745658a8c8ee16cf3c2ccc8f | [
"Apache-2.0"
] | 1,406 | 2017-02-11T19:34:40.000Z | 2022-03-31T18:42:11.000Z | ALTER TABLE hydra_oauth2_authentication_session ALTER COLUMN authenticated_at SET DEFAULT NOW();
ALTER TABLE hydra_oauth2_authentication_session ALTER COLUMN authenticated_at SET NOT NULL;
| 63 | 96 | 0.883598 |
663645f1e003d6a86ea30ed9494cb91618b5ef02 | 966 | py | Python | routes/cabang.py | Bellakurnia/PKLLapan | 520f7df32bd1390f1b7d67df0cd9359736ee55c1 | [
"MIT"
] | null | null | null | routes/cabang.py | Bellakurnia/PKLLapan | 520f7df32bd1390f1b7d67df0cd9359736ee55c1 | [
"MIT"
] | 1 | 2021-09-29T17:18:24.000Z | 2021-09-29T17:18:24.000Z | routes/cabang.py | Bellakurnia/PKLLapan | 520f7df32bd1390f1b7d67df0cd9359736ee55c1 | [
"MIT"
] | null | null | null | # importing the requests library
import requests
import json
# api-endpoint
URL = "http://maps.googleapis.com/maps/api/geocode/json"
# location given here
location = "IPB Dramaga"
# defining a params dict for the parameters to be sent to the API
PARAMS = {'address':location}
# sending get request and saving the... | 26.833333 | 65 | 0.733954 |
c6b5e72b9368a5fc3b55233992a3535bbc248403 | 788 | css | CSS | src/Components/LoadingAnimation/BasicLoadingIcon.css | rgerkin/datajoint-labbook | db751f2ae5762c46dd04a9fd4dfa7267d655a4de | [
"MIT"
] | 6 | 2021-04-01T16:31:44.000Z | 2022-01-05T15:01:16.000Z | src/Components/LoadingAnimation/BasicLoadingIcon.css | rgerkin/datajoint-labbook | db751f2ae5762c46dd04a9fd4dfa7267d655a4de | [
"MIT"
] | 82 | 2021-02-22T16:41:38.000Z | 2022-03-15T15:31:33.000Z | src/Components/LoadingAnimation/BasicLoadingIcon.css | rgerkin/datajoint-labbook | db751f2ae5762c46dd04a9fd4dfa7267d655a4de | [
"MIT"
] | 9 | 2021-03-08T15:47:49.000Z | 2021-12-21T19:11:03.000Z | .loadingOverlay {
position: absolute;
z-index: 900;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #FBFBFB;
}
.basicLoadingIcon {
position: relative;
border-radius: 50%;
border: 12px solid #92C3C9; /* container: LabBo... | 28.142857 | 107 | 0.703046 |
8eb96ac5372f647d383257a82e89f28888fb9632 | 7,200 | js | JavaScript | frontend/screens/ChatScreen.js | afifadayu/stupart | 036dc394521862f0b0e6edb7e72492fe7c513c2d | [
"MIT"
] | null | null | null | frontend/screens/ChatScreen.js | afifadayu/stupart | 036dc394521862f0b0e6edb7e72492fe7c513c2d | [
"MIT"
] | 3 | 2021-10-06T18:49:17.000Z | 2022-02-27T06:51:11.000Z | frontend/screens/ChatScreen.js | afifadayu/stupart | 036dc394521862f0b0e6edb7e72492fe7c513c2d | [
"MIT"
] | null | null | null | import React from 'react';
import 'react-native-gesture-handler';
import {
StyleSheet, Text, View, Image, TouchableOpacity, TextInput, ScrollView,
KeyboardAvoidingView, Keyboard
} from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
import displayPicture from '../assets/display-picture.jpg';
... | 29.268293 | 257 | 0.509861 |
2c833b6d3f60950bb1701df318077c484456e629 | 321 | py | Python | z3py/examples/install.1.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | 1 | 2021-08-01T07:28:03.000Z | 2021-08-01T07:28:03.000Z | z3py/examples/install.1.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | null | null | null | z3py/examples/install.1.py | rainoftime/rainoftime.github.io | d6316f153db0ed96309d81a5f32af9887c6f1a9a | [
"MIT"
] | null | null | null | def DependsOn(pack, deps):
return And([ Implies(pack, dep) for dep in deps ])
def Conflict(p1, p2):
return Or(Not(p1), Not(p2))
a, b, c, d, e, f, g, z = Bools('a b c d e f g z')
solve(DependsOn(a, [b, c, z]),
DependsOn(b, [d]),
DependsOn(c, [Or(d, e), Or(f, g)]),
Conflict(d, e),
a, z)... | 22.928571 | 54 | 0.523364 |
0a6efcd660937c2cc2026f1c2db4519b4981dddd | 399 | cs | C# | Assets/Kodluyoruz/Projects/EndlessRunner/Scripts/Managers/ERInitManager.cs | denoboi/KodluyoruzEducationalProject-Final | 3a91d5efb9d0d84abf615426cf0b20c6b2d18b01 | [
"MIT"
] | null | null | null | Assets/Kodluyoruz/Projects/EndlessRunner/Scripts/Managers/ERInitManager.cs | denoboi/KodluyoruzEducationalProject-Final | 3a91d5efb9d0d84abf615426cf0b20c6b2d18b01 | [
"MIT"
] | null | null | null | Assets/Kodluyoruz/Projects/EndlessRunner/Scripts/Managers/ERInitManager.cs | denoboi/KodluyoruzEducationalProject-Final | 3a91d5efb9d0d84abf615426cf0b20c6b2d18b01 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ERInitManager : MonoBehaviour
{
void Start()
{
//Init Game Here
SceneManager.LoadScene("EndlessRunnerUI", LoadSceneMode.Additive);
SceneManager.LoadScene("Endl... | 23.470588 | 76 | 0.724311 |
b071d52b58cd51d0b1382d454b90f109ba99f3dd | 9,437 | py | Python | tictactoe.py | karthikayan4u/Tic-Tac-Toe-with-AI | b377d213024f149f65518d150cf183a4a81a5f98 | [
"MIT"
] | null | null | null | tictactoe.py | karthikayan4u/Tic-Tac-Toe-with-AI | b377d213024f149f65518d150cf183a4a81a5f98 | [
"MIT"
] | null | null | null | tictactoe.py | karthikayan4u/Tic-Tac-Toe-with-AI | b377d213024f149f65518d150cf183a4a81a5f98 | [
"MIT"
] | null | null | null | import random
# AI algorithm for two-player games which is for "Hard" option here.
def minimax(predictive_cells, playing_player, play_decide, action):
# Checking for win.
if check(playing_player, predictive_cells):
return 10
# Checking for lose i.e opposition's win.
elif check('O' if playing_p... | 45.370192 | 120 | 0.540956 |
0ac56e10d9db393efb0c8773114230f35b1ecb89 | 1,046 | cs | C# | FlatBuffers-net.Tests/AssertExtensions.cs | evolutional/flatbuffers-net | 27e0fd14cba9e9afc740a6c360f1879034b3e072 | [
"Apache-2.0"
] | 46 | 2016-01-19T23:28:53.000Z | 2022-01-12T13:11:32.000Z | FlatBuffers-net.Tests/AssertExtensions.cs | evolutional/flatbuffers-net | 27e0fd14cba9e9afc740a6c360f1879034b3e072 | [
"Apache-2.0"
] | 57 | 2016-01-03T17:03:50.000Z | 2019-01-21T13:06:26.000Z | FlatBuffers-net.Tests/AssertExtensions.cs | evolutional/flatbuffers-net | 27e0fd14cba9e9afc740a6c360f1879034b3e072 | [
"Apache-2.0"
] | 7 | 2016-09-15T18:22:50.000Z | 2019-03-08T10:18:13.000Z | using System.Text;
using NUnit.Framework;
namespace FlatBuffers.Tests
{
public static class AssertExtensions
{
private static string NormalizeWhitespace(string value)
{
var lastChar = '\0';
var sb = new StringBuilder();
for (var i = 0; i < value.Length; ++i)... | 26.820513 | 72 | 0.438815 |
684eb2c2f8ec107e0fddfbfbe0ec964fd01e42a2 | 900,894 | lua | Lua | mjlib/gui/one_gui_eye_table.lua | kequanJiang/skynet_start | fdc7940f7ba2aa6d7953650eec8dfacab72a3a1e | [
"MIT"
] | 597 | 2017-03-15T09:12:32.000Z | 2021-01-15T06:10:47.000Z | mjlib/gui/one_gui_eye_table.lua | kequanJiang/skynet_start | fdc7940f7ba2aa6d7953650eec8dfacab72a3a1e | [
"MIT"
] | 23 | 2017-04-20T15:18:54.000Z | 2020-05-26T09:44:11.000Z | mjlib/gui/one_gui_eye_table.lua | kequanJiang/skynet_start | fdc7940f7ba2aa6d7953650eec8dfacab72a3a1e | [
"MIT"
] | 367 | 2017-03-26T03:01:07.000Z | 2021-02-19T13:25:16.000Z | return {[1]=true,[1114114]=true,[23003140]=true,[112132102]=true,[401211400]=true,[10]=true,[111411211]=true,[13]=true,[30212110]=true,[112132111]=true,[201130000]=true,[30212113]=true,[201130003]=true,[11141140]=true,[141230101]=true,[231211030]=true,[320012311]=true,[112132120]=true,[21430300]=true,[1114141]=true,[14... | 900,894 | 900,894 | 0.754609 |
4cfde61d27bc6ab0b3bd6bfc50abdacc2a5bb9fe | 3,792 | ps1 | PowerShell | Source/Backend/deploy/k8s/Deploy.ps1 | ivilches/SmartHotel360-Backend | 6431464b0a95e0a26adef574317600978bd9fac9 | [
"MIT"
] | null | null | null | Source/Backend/deploy/k8s/Deploy.ps1 | ivilches/SmartHotel360-Backend | 6431464b0a95e0a26adef574317600978bd9fac9 | [
"MIT"
] | null | null | null | Source/Backend/deploy/k8s/Deploy.ps1 | ivilches/SmartHotel360-Backend | 6431464b0a95e0a26adef574317600978bd9fac9 | [
"MIT"
] | null | null | null | Param(
[Parameter(Mandatory=$false)][string] $registry,
[Parameter(Mandatory=$false)][boolean] $clean = $false,
[Parameter(Mandatory=$false)][string] $imageTag = (git rev-parse --abbrev-ref HEAD),
[Parameter(Mandatory=$false)][string] $release,
[Parameter(Mandatory=$false)][string] $dockerOrg =... | 45.686747 | 358 | 0.675105 |
23bf1b33887ed38c771318547b28a004dfb388a8 | 72 | js | JavaScript | XilinxProcessorIPLib/drivers/mig_7series/doc/html/api/files.js | erique/embeddedsw | 4b5fd15c71405844e03f2c276daa38cfcbb6459b | [
"BSD-2-Clause",
"MIT"
] | 595 | 2015-02-03T15:07:36.000Z | 2022-03-31T18:21:23.000Z | XilinxProcessorIPLib/drivers/mig_7series/doc/html/api/files.js | erique/embeddedsw | 4b5fd15c71405844e03f2c276daa38cfcbb6459b | [
"BSD-2-Clause",
"MIT"
] | 144 | 2016-01-08T17:56:37.000Z | 2022-03-31T13:23:52.000Z | XilinxProcessorIPLib/drivers/mig_7series/doc/html/api/files.js | erique/embeddedsw | 4b5fd15c71405844e03f2c276daa38cfcbb6459b | [
"BSD-2-Clause",
"MIT"
] | 955 | 2015-03-30T00:54:27.000Z | 2022-03-31T11:32:23.000Z | var files =
[
[ "xmig_7series.h", "xmig__7series_8h.html", null ]
]; | 18 | 55 | 0.625 |
41092ad1802fd1f0fd703493a7d868e30952e547 | 1,389 | lua | Lua | Screensavers/Lines.lua | veso266/MineOS | a2d2c749141b49807602869d549f171dc0aa4602 | [
"MIT"
] | null | null | null | Screensavers/Lines.lua | veso266/MineOS | a2d2c749141b49807602869d549f171dc0aa4602 | [
"MIT"
] | null | null | null | Screensavers/Lines.lua | veso266/MineOS | a2d2c749141b49807602869d549f171dc0aa4602 | [
"MIT"
] | null | null | null |
local buffer = require("doubleBuffering")
local event = require("event")
-------------------------------------------------------------------------------------
local lineCount = 10
local backgroundColor = 0x0
local lineColor = 0xFFFFFF
local bufferWidth, bufferHeight = buffer.getResolution()
------------------------... | 22.403226 | 85 | 0.516919 |
72dee428e5042d43da517e80499d09a50c48da61 | 894 | cs | C# | OOP/ExtensionMethodsDelegatesLambdaLINQ/SubstringExtensionMain/SubstringExtension.cs | frostblooded/TelerikHomework | 0f272710d652c7e3a96bb14c071d872ad42ea3c3 | [
"MIT"
] | null | null | null | OOP/ExtensionMethodsDelegatesLambdaLINQ/SubstringExtensionMain/SubstringExtension.cs | frostblooded/TelerikHomework | 0f272710d652c7e3a96bb14c071d872ad42ea3c3 | [
"MIT"
] | 1 | 2016-11-29T17:37:18.000Z | 2016-11-29T17:49:56.000Z | OOP/ExtensionMethodsDelegatesLambdaLINQ/SubstringExtensionMain/SubstringExtension.cs | frostblooded/TelerikHomework | 0f272710d652c7e3a96bb14c071d872ad42ea3c3 | [
"MIT"
] | null | null | null | using System;
using System.Text;
namespace SubstringExtensionMain
{
public static class SubstringExtension
{
public static StringBuilder Substring(this StringBuilder original, int index, int length)
{
if (index > original.Length)
{
throw new ArgumentOutO... | 27.9375 | 122 | 0.521253 |
ddcd9e7db4a5fb5046ad7abf15b5d291eed18c1a | 2,782 | java | Java | uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/common/popups/footers/ModalFooterReOpenIgnoreButtons.java | mswiderski/uberfire-extensions | 09c7748fce43c33edeeca916fd64f4e84f5c1363 | [
"Apache-2.0"
] | null | null | null | uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/common/popups/footers/ModalFooterReOpenIgnoreButtons.java | mswiderski/uberfire-extensions | 09c7748fce43c33edeeca916fd64f4e84f5c1363 | [
"Apache-2.0"
] | null | null | null | uberfire-widgets/uberfire-widgets-commons/src/main/java/org/uberfire/ext/widgets/common/client/common/popups/footers/ModalFooterReOpenIgnoreButtons.java | mswiderski/uberfire-extensions | 09c7748fce43c33edeeca916fd64f4e84f5c1363 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 33.926829 | 124 | 0.692308 |
a3344bdab18db1e190a71c1fe002d58a022d64cd | 1,060 | ts | TypeScript | problemset/gas-station/index.ts | OUDUIDUI/leet-code | 50e61ce16d1c419ccefc075ae9ead721cdd1cdbb | [
"MIT"
] | 6 | 2022-01-17T03:19:56.000Z | 2022-01-17T05:45:39.000Z | problemset/gas-station/index.ts | OUDUIDUI/algorithm-brushing | 61a1b26dd46f2d9f4f90572e66475a52a18ec4d5 | [
"MIT"
] | null | null | null | problemset/gas-station/index.ts | OUDUIDUI/algorithm-brushing | 61a1b26dd46f2d9f4f90572e66475a52a18ec4d5 | [
"MIT"
] | null | null | null | /**
* 暴力解法
* @desc 时间复杂度 O(N^2) 空间复杂度 O(1)
* @param gas
* @param cost
*/
export function canCompleteCircuit(gas: number[], cost: number[]): number {
const len = gas.length
for (let i = 0; i < len; i++) {
if (drive(i))
return i
}
return -1
function drive(startIndex: number) {
let oil = 0... | 16.060606 | 76 | 0.510377 |
93db47fd71059296fbbd0c31fdbfa9fa730e0edd | 4,993 | cs | C# | gttcharts/Data/HealthReport.cs | moschi/gtt-charts | d5fa5f03e26f62416fb24ab359466f9c1d98f213 | [
"MIT"
] | 1 | 2021-03-17T11:29:18.000Z | 2021-03-17T11:29:18.000Z | gttcharts/Data/HealthReport.cs | moschi/gtt-charts | d5fa5f03e26f62416fb24ab359466f9c1d98f213 | [
"MIT"
] | 4 | 2021-03-11T05:39:31.000Z | 2021-03-15T13:54:30.000Z | gttcharts/Data/HealthReport.cs | moschi/gtt-charts | d5fa5f03e26f62416fb24ab359466f9c1d98f213 | [
"MIT"
] | 1 | 2021-03-11T10:17:54.000Z | 2021-03-11T10:17:54.000Z | using gttcharts.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gttcharts.Data
{
public class HealthReport
{
private readonly HealthReportOptions options;
private readonly IEnumerable<Issue> issues;
p... | 44.185841 | 182 | 0.577809 |
185924d06b16f411e43c09e2a88304f0d681419a | 1,031 | tsx | TypeScript | src/App.test.tsx | goel-sunny/react-maps-pwa | 58ccc883f2aee83e413347e23d24a9c5bcb6eee8 | [
"MIT"
] | 1 | 2021-02-16T05:21:18.000Z | 2021-02-16T05:21:18.000Z | src/App.test.tsx | goel-sunny/react-maps-pwa | 58ccc883f2aee83e413347e23d24a9c5bcb6eee8 | [
"MIT"
] | null | null | null | src/App.test.tsx | goel-sunny/react-maps-pwa | 58ccc883f2aee83e413347e23d24a9c5bcb6eee8 | [
"MIT"
] | null | null | null | import { render, screen } from "@testing-library/react";
import App from "./App";
import { BrowserRouter } from "react-router-dom";
import { unmountComponentAtNode } from "react-dom";
import { Provider } from "react-redux";
import { mockComponent } from "react-dom/test-utils";
describe("App Component Test", () => {
... | 24.547619 | 64 | 0.628516 |
cda964eeb6919a5b9635293867a6d226cf10a16d | 661 | cs | C# | Assets/other/AudioTest/AudioMixerController.cs | mukund333/sneal | abf915aed67f82fb7c385ddd9128b0323629fe57 | [
"MIT"
] | null | null | null | Assets/other/AudioTest/AudioMixerController.cs | mukund333/sneal | abf915aed67f82fb7c385ddd9128b0323629fe57 | [
"MIT"
] | null | null | null | Assets/other/AudioTest/AudioMixerController.cs | mukund333/sneal | abf915aed67f82fb7c385ddd9128b0323629fe57 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
public class AudioMixerController : MonoBehaviour
{
public AudioMixer masterMixer;
public float sfxLvl;
public float musicLvl;
public bool isActive=false;
void Update()
{
if(... | 16.948718 | 50 | 0.673222 |
e72afc869db03484317b241bd42307b65db61c87 | 490 | php | PHP | resources/views/components/messages.blade.php | Nerdbrygg/SimpleSMS | d69d06967ebd374bcf34b0e7de28b52f8510297f | [
"MIT"
] | null | null | null | resources/views/components/messages.blade.php | Nerdbrygg/SimpleSMS | d69d06967ebd374bcf34b0e7de28b52f8510297f | [
"MIT"
] | 3 | 2020-07-28T09:02:51.000Z | 2020-08-03T09:27:31.000Z | resources/views/components/messages.blade.php | Nerdbrygg/SimpleSMS | d69d06967ebd374bcf34b0e7de28b52f8510297f | [
"MIT"
] | null | null | null | <div>
@if ($title)
<h2>{{ $title }}</h2>
@endif
<ul class="list-unstyled">
@forelse ($messages as $sms)
<li>
<div class="d-flex justify-content-between">
<span>{{ $sms->destination }}</span>
<span>{{ $sms->created_at->diffF... | 27.222222 | 72 | 0.420408 |
e24125b320b2e96234adda42c11c9191f009e177 | 734 | py | Python | performance.py | charlesDavid009/shuffle_deck_algorithms | ec9160e0047d33493a130da7106bc01b00df1948 | [
"MIT"
] | 1 | 2021-03-18T22:12:47.000Z | 2021-03-18T22:12:47.000Z | performance.py | charlesDavid009/shuffle_deck_algorithms | ec9160e0047d33493a130da7106bc01b00df1948 | [
"MIT"
] | null | null | null | performance.py | charlesDavid009/shuffle_deck_algorithms | ec9160e0047d33493a130da7106bc01b00df1948 | [
"MIT"
] | null | null | null | import time
from generators import shuffle_generator
start = shuffle.start
def performance_time():
code_time = time.time_ns()
start
code_end = time.time_ns()
total_time = (code_end + code_time)
performance = (code_end - code_time)
print("\n ---------------------------------------------calcula... | 36.7 | 147 | 0.640327 |
e40e1d0eb36261e76ecb000bcd5d638006971eff | 905 | cs | C# | src/Compilers/Core/MSBuildTaskTests/TestUtilities/MSBuildUtil.cs | missymessa/roslyn | eef79a718aff8423fe01549d3bd759e8d9f58746 | [
"MIT"
] | 3 | 2019-04-08T16:09:56.000Z | 2019-04-08T16:17:20.000Z | src/Compilers/Core/MSBuildTaskTests/TestUtilities/MSBuildUtil.cs | YairHalberstadt/roslyn | c64c9661be60667b8582dd5c27fdb1f404492b6e | [
"MIT"
] | 3 | 2015-02-09T21:53:24.000Z | 2015-03-12T07:26:31.000Z | src/Compilers/Core/MSBuildTaskTests/TestUtilities/MSBuildUtil.cs | YairHalberstadt/roslyn | c64c9661be60667b8582dd5c27fdb1f404492b6e | [
"MIT"
] | 2 | 2018-01-24T20:31:16.000Z | 2020-05-27T09:30:07.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using Microsoft.Build.Framework;
using Moq;
using System;
using System.Collections.Generic;
using... | 28.28125 | 76 | 0.697238 |
1968ab3d3e6b2fbab03e36426d644267de5bf5b9 | 1,843 | lua | Lua | examples/udppingpong/system.lua | stetre/lunasdl | 32e98fd9ebb030edd23659bb2bb12f0ad9f8a436 | [
"MIT"
] | 2 | 2015-05-03T06:06:07.000Z | 2020-07-03T04:48:05.000Z | examples/udppingpong/system.lua | stetre/lunasdl | 32e98fd9ebb030edd23659bb2bb12f0ad9f8a436 | [
"MIT"
] | null | null | null | examples/udppingpong/system.lua | stetre/lunasdl | 32e98fd9ebb030edd23659bb2bb12f0ad9f8a436 | [
"MIT"
] | null | null | null | -- System agent script: system.lua
socket = require("socket")
local T1 = sdl.timer(10,"T1")
local player
local s, peerip, peerport, role
local function udprecv() -- socket 'read' callback
-- get the UDP datagram and the sender's address
local msg, fromip, fromport = s:receivefrom()
sdl.printf("received '%s... | 24.905405 | 67 | 0.670646 |
c353cec0b04b648c043dfbe39fd9e12fa25e2de1 | 1,169 | cs | C# | telephony-extensions/libraries/Microsoft.BotFramework.Composer.TelephonyCustomActions/CustomActionComponentRegistration.cs | lshade/botframework-telephony | 4090f90274db90c5808fafd07797dd81d1e617f8 | [
"MIT"
] | 39 | 2021-02-08T22:27:58.000Z | 2022-03-26T10:08:37.000Z | telephony-extensions/libraries/Microsoft.BotFramework.Composer.TelephonyCustomActions/CustomActionComponentRegistration.cs | QPC-database/botframework-telephony | d78264ff7fde82737238110880e3ce0a8afd4846 | [
"MIT"
] | 72 | 2021-02-09T19:49:29.000Z | 2022-03-23T15:19:56.000Z | telephony-extensions/libraries/Microsoft.BotFramework.Composer.TelephonyCustomActions/CustomActionComponentRegistration.cs | QPC-database/botframework-telephony | d78264ff7fde82737238110880e3ce0a8afd4846 | [
"MIT"
] | 26 | 2021-02-03T12:07:57.000Z | 2022-03-18T12:53:49.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using AdaptiveExpressions.Converters;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs.Debugging;
using Microsoft.Bot.Builder.Dialogs.Declarative;
using Microsoft.Bot.Builde... | 40.310345 | 119 | 0.776732 |
9fe1830e7049b67549fc4cf3828a43204d454c07 | 5,703 | py | Python | modeling_wDolly.py | mfatihaktas/deep-scheduler | ad567465399620ec379cfdaa67fbcd94ded03c75 | [
"MIT"
] | 11 | 2018-03-28T02:55:12.000Z | 2021-07-12T15:21:38.000Z | modeling_wDolly.py | mfatihaktas/deep-scheduler | ad567465399620ec379cfdaa67fbcd94ded03c75 | [
"MIT"
] | null | null | null | modeling_wDolly.py | mfatihaktas/deep-scheduler | ad567465399620ec379cfdaa67fbcd94ded03c75 | [
"MIT"
] | 5 | 2018-03-16T01:36:46.000Z | 2019-10-17T03:23:20.000Z | import numpy as np
from rvs import Dolly
from math_utils import *
from plot_utils import *
def Pr_Xnk_leq_x(X, n, k, x):
# log(INFO, "x= {}".format(x) )
cdf = 0
for i in range(k, n+1):
cdf += binom_(n, i) * X.cdf(x)**i * X.tail(x)**(n-i)
return cdf
def EXnk(X, n, k, m=1):
if k == 0:
return 0
i... | 33.745562 | 148 | 0.573032 |
3da95956125453de0d5b879555f7d97e5901dd41 | 3,710 | kt | Kotlin | platforms/android/modules/bridge-webview/src/test/java/com/salesforce/nimbus/bridge/webview/WebViewBridgeTest.kt | gatorboy/nimbus | a6b461dfc293e3eb1d6f8ea618172b306ba371e8 | [
"BSD-3-Clause"
] | null | null | null | platforms/android/modules/bridge-webview/src/test/java/com/salesforce/nimbus/bridge/webview/WebViewBridgeTest.kt | gatorboy/nimbus | a6b461dfc293e3eb1d6f8ea618172b306ba371e8 | [
"BSD-3-Clause"
] | null | null | null | platforms/android/modules/bridge-webview/src/test/java/com/salesforce/nimbus/bridge/webview/WebViewBridgeTest.kt | gatorboy/nimbus | a6b461dfc293e3eb1d6f8ea618172b306ba371e8 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2020, Salesforce.com, inc.
// All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
// For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
//
package com.salesforce.nimbus.bridge.webview
import android.webkit.WebSettings
import andro... | 30.916667 | 111 | 0.689218 |
dd8ea812eb8fffef21c69dbb7475d20151de588e | 1,762 | java | Java | Mage.Sets/src/mage/cards/a/ArmamentCorps.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 2 | 2019-07-03T07:54:13.000Z | 2019-07-03T07:54:28.000Z | Mage.Sets/src/mage/cards/a/ArmamentCorps.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 7 | 2020-03-04T21:58:30.000Z | 2022-01-21T23:15:47.000Z | Mage.Sets/src/mage/cards/a/ArmamentCorps.java | FateRevoked/mage | 90418ddafda100a3b4e57597aad31af5428d7116 | [
"MIT"
] | 3 | 2018-07-26T19:00:47.000Z | 2020-04-30T23:12:14.000Z |
package mage.cards.a;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.counter.DistributeCountersEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardT... | 32.62963 | 172 | 0.745176 |
b63f6e0fd866b69971e916e118be4c88c1ca309d | 74 | rs | Rust | rust/src/bin/main-swap_forget.rs | CryZe/completely-unscientific-benchmarks | 54637029f81a1286682125a14cf5463b2d2e1431 | [
"Apache-2.0",
"MIT"
] | 516 | 2018-05-12T08:50:16.000Z | 2022-03-24T21:08:21.000Z | rust/src/bin/main-swap_forget.rs | CryZe/completely-unscientific-benchmarks | 54637029f81a1286682125a14cf5463b2d2e1431 | [
"Apache-2.0",
"MIT"
] | 81 | 2018-05-14T12:26:56.000Z | 2021-11-17T09:05:25.000Z | rust/src/bin/main-swap_forget.rs | CryZe/completely-unscientific-benchmarks | 54637029f81a1286682125a14cf5463b2d2e1431 | [
"Apache-2.0",
"MIT"
] | 87 | 2018-05-14T12:12:36.000Z | 2022-02-16T11:08:16.000Z | use main::*;
fn main() {
main_impl(swap_forget_impl::Tree::new());
}
| 12.333333 | 45 | 0.608108 |
b97f4f7c7f3af9643d99598d304cd79e1e8f0287 | 8,688 | php | PHP | resources/views/user/review/create.blade.php | Ashraful-Hasan-Chowdhury/Travel-Assistant-System | d58b147d6fbd72dc5aa31c10371c895e502de902 | [
"MIT"
] | null | null | null | resources/views/user/review/create.blade.php | Ashraful-Hasan-Chowdhury/Travel-Assistant-System | d58b147d6fbd72dc5aa31c10371c895e502de902 | [
"MIT"
] | null | null | null | resources/views/user/review/create.blade.php | Ashraful-Hasan-Chowdhury/Travel-Assistant-System | d58b147d6fbd72dc5aa31c10371c895e502de902 | [
"MIT"
] | null | null | null | @extends('user.home')
@section('title', '- Write Review')
@section('rev', 'active')
@section('content')
<section class="ftco-section" >
<section class="ftco-section">
<div class="container">
<div class="row justify-content-center mb-5 pb-3">
<div class="col-md-7 heading-section text-center ftco-anim... | 40.788732 | 117 | 0.418738 |
9bbc0efea878f7828db42d62d1ce8670f2985d28 | 467 | sql | SQL | module.sql | s-oravec/sqlsn-stack | 640cc05a5c867a1ef8fe8e5cd20f1994509061c7 | [
"MIT"
] | 1 | 2015-03-05T06:30:13.000Z | 2015-03-05T06:30:13.000Z | module.sql | principal-engineering/sqlsn-stack | 640cc05a5c867a1ef8fe8e5cd20f1994509061c7 | [
"MIT"
] | 2 | 2015-11-19T21:16:38.000Z | 2016-01-13T13:05:42.000Z | module.sql | s-oravec/sqlsn-stack | 640cc05a5c867a1ef8fe8e5cd20f1994509061c7 | [
"MIT"
] | null | null | null | --module name and path
define l_path = "&1"
--save stack module path to module_config
spool "&&l_path./lib/command/module_config.sql"
set termout off
prompt define stack_module_path = "&&l_path"
set termout on
spool off
--module commands
define stack_create = "&&l_path./lib/command/create.sql"
define stack_push = "... | 24.578947 | 56 | 0.755889 |
ad267338e9065a5fc6ad6a63416e8256111e0d96 | 756 | kt | Kotlin | logging/src/main/kotlin/ru/inforion/lab403/common/logging/formatters/ColorMultiline.kt | inforion/kotlin-extensions | b74175ce4714b7afcd6ac5c8b9138d8b3bcafe08 | [
"MIT"
] | null | null | null | logging/src/main/kotlin/ru/inforion/lab403/common/logging/formatters/ColorMultiline.kt | inforion/kotlin-extensions | b74175ce4714b7afcd6ac5c8b9138d8b3bcafe08 | [
"MIT"
] | null | null | null | logging/src/main/kotlin/ru/inforion/lab403/common/logging/formatters/ColorMultiline.kt | inforion/kotlin-extensions | b74175ce4714b7afcd6ac5c8b9138d8b3bcafe08 | [
"MIT"
] | 1 | 2020-11-25T14:08:44.000Z | 2020-11-25T14:08:44.000Z | @file:Suppress("MemberVisibilityCanBePrivate")
package ru.inforion.lab403.common.logging.formatters
import ru.inforion.lab403.common.extensions.isWindowsOperatingSystem
import ru.inforion.lab403.common.logging.color
import ru.inforion.lab403.common.logging.logger.Record
import ru.inforion.lab403.common.logging.misc.C... | 36 | 97 | 0.761905 |
c965860487cfda0156b834927b0ccd506cdb28bb | 2,290 | tsx | TypeScript | src/test/DiffInfoComponent.test.tsx | ScottG489/metadiff-ui | 5e5225182aa75b871c304e632c0f73ce59fdfad7 | [
"MIT"
] | null | null | null | src/test/DiffInfoComponent.test.tsx | ScottG489/metadiff-ui | 5e5225182aa75b871c304e632c0f73ce59fdfad7 | [
"MIT"
] | 3 | 2021-10-16T22:59:16.000Z | 2022-02-26T18:06:54.000Z | src/test/DiffInfoComponent.test.tsx | ScottG489/metadiff-ui | 5e5225182aa75b871c304e632c0f73ce59fdfad7 | [
"MIT"
] | null | null | null | import React from 'react'
import { render, screen } from '@testing-library/react'
import '@testing-library/jest-dom'
import DiffInfoComponent from '../components/DiffInfoComponent'
import { DiffInfo } from '../types'
test('Displays appropriate values', async () => {
const diffInfo: DiffInfo = {
toFile: '... | 49.782609 | 92 | 0.676419 |
5d9f9f81221136850585ba427482db4aef9ce359 | 3,499 | cpp | C++ | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | 5 | 2018-04-02T07:16:20.000Z | 2021-08-01T05:25:37.000Z | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | null | null | null | MasterServer/LMasterServer_PacketProcess_Proc.cpp | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | 2 | 2015-08-21T07:31:41.000Z | 2018-05-10T12:36:32.000Z | /*
The MIT License (MIT)
Copyright (c) <2010-2020> <wenshengming>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... | 31.809091 | 117 | 0.823092 |
25b1840cc5e16d2e66e7e5fa4a64252f139389ea | 4,699 | cs | C# | Rocco.RelayServer/Rocco.RelayServer.Core.Server/ConnectionHandlers/SixtyNineProtocolHandler.cs | RoccoDevs/RoccoRelayServer | 1f86f795a5aa819646c2e5d2154d00e555966af0 | [
"MIT"
] | 4 | 2021-01-10T13:58:02.000Z | 2021-07-25T13:24:04.000Z | Rocco.RelayServer/Rocco.RelayServer.Core.Server/ConnectionHandlers/SixtyNineProtocolHandler.cs | RoccoDevs/RoccoRelayServer | 1f86f795a5aa819646c2e5d2154d00e555966af0 | [
"MIT"
] | null | null | null | Rocco.RelayServer/Rocco.RelayServer.Core.Server/ConnectionHandlers/SixtyNineProtocolHandler.cs | RoccoDevs/RoccoRelayServer | 1f86f795a5aa819646c2e5d2154d00e555966af0 | [
"MIT"
] | 1 | 2021-07-28T22:53:36.000Z | 2021-07-28T22:53:36.000Z | using System;
using System.Threading;
using System.Threading.Tasks;
using Bedrock.Framework.Protocols;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.Logging;
using Rocco.RelayServer.Core.Domain;
using Rocco.RelayServer.Core.Domain.Exceptions;
using Rocco.RelayServer.Core.Interfaces.Services;
using ... | 39.822034 | 120 | 0.559481 |
b6382bbe98be4bad6958f03e66d5aff21b74b441 | 784 | sh | Shell | src/rov/run_docker.sh | Colorado-School-of-Mines-Robotics-Club/MATE_ROV_2021-2022 | 914d29f4b80b23d0510529b0377cdfc6394c4951 | [
"MIT"
] | null | null | null | src/rov/run_docker.sh | Colorado-School-of-Mines-Robotics-Club/MATE_ROV_2021-2022 | 914d29f4b80b23d0510529b0377cdfc6394c4951 | [
"MIT"
] | 11 | 2022-01-27T05:58:44.000Z | 2022-03-13T05:31:15.000Z | src/rov/run_docker.sh | Colorado-School-of-Mines-Robotics-Club/MATE_ROV_2021-2022 | 914d29f4b80b23d0510529b0377cdfc6394c4951 | [
"MIT"
] | null | null | null | #! /bin/bash
#xhost +
docker run --runtime nvidia -it --rm -v /bin/systemctl:/bin/systemctl -v /run/systemd/system:/run/systemd/system -v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket -v /sys/fs/cgroup:/sys/fs/cgroup -v /usr/lib/gstreamer-1.0/:/usr/lib/gstreamer-1.0 --net=host --pid=host -v /dev:/dev ... | 156.8 | 661 | 0.744898 |
455a586b1f80c0f5f7820245d613a93732cd8a39 | 1,167 | py | Python | docs/examples/api/modifying_values_test.py | tomkralidis/mappyfile | 4313f9e52f5c54198988e62c3e2ebc9223f174ef | [
"MIT"
] | 48 | 2017-02-07T23:37:37.000Z | 2021-12-28T12:56:37.000Z | docs/examples/api/modifying_values_test.py | tomkralidis/mappyfile | 4313f9e52f5c54198988e62c3e2ebc9223f174ef | [
"MIT"
] | 135 | 2017-03-16T08:54:59.000Z | 2022-03-30T20:00:22.000Z | docs/examples/api/modifying_values_test.py | tomkralidis/mappyfile | 4313f9e52f5c54198988e62c3e2ebc9223f174ef | [
"MIT"
] | 23 | 2017-01-31T08:46:48.000Z | 2021-07-08T15:28:49.000Z | import mappyfile
def test():
mapfile = mappyfile.open("./docs/examples/raster.map")
# START OF API EXAMPLE
# update the map name
mapfile["name"] = "MyNewMap"
# update a layer name
layers = mapfile["layers"]
layer = layers[0]
layer["name"] = "MyLayer"
# update the error file path i... | 27.139535 | 75 | 0.624679 |
a3c9f19b8a9b0ecc262dd6efe615b7e25fceed86 | 2,811 | java | Java | src/main/java/neqsim/processSimulation/util/example/simpleTopSideProcess2.java | EvenSol/neqsim | d81df26b2937d4a6665e3c28626721aa55667a51 | [
"Apache-2.0"
] | null | null | null | src/main/java/neqsim/processSimulation/util/example/simpleTopSideProcess2.java | EvenSol/neqsim | d81df26b2937d4a6665e3c28626721aa55667a51 | [
"Apache-2.0"
] | null | null | null | src/main/java/neqsim/processSimulation/util/example/simpleTopSideProcess2.java | EvenSol/neqsim | d81df26b2937d4a6665e3c28626721aa55667a51 | [
"Apache-2.0"
] | null | null | null | package neqsim.processSimulation.util.example;
import neqsim.processSimulation.processEquipment.compressor.Compressor;
import neqsim.processSimulation.processEquipment.heatExchanger.Heater;
import neqsim.processSimulation.processEquipment.mixer.Mixer;
import neqsim.processSimulation.processEquipment.separator.GasScrub... | 41.338235 | 133 | 0.71576 |
2c6ba217b4bd5b741db7f37ab8667f532f5d4dbc | 869 | py | Python | 14_Day_Higher_order_functions/examples/single decorator.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 14_Day_Higher_order_functions/examples/single decorator.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | 14_Day_Higher_order_functions/examples/single decorator.py | diegofregolente/30-Days-Of-Python | e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267 | [
"Apache-2.0"
] | null | null | null | # def welcome():
# return 'Welcome to the Python' # basic function
#
# def uppercase_decorator(function): # parameter function
# def wrapper(): # function inside of uppercase
# func = function() # variable == function()
# make_uppercase = func.upper() # transforma o retorno da função chamada em ... | 29.965517 | 92 | 0.686997 |
2fd222c90b2044fbc56f65b90562959ea694ed7b | 4,265 | py | Python | arbre_binaire.py | Erwanexyz/Python | 1197c0a27530b60e6cbe048758bfe86f0e159e95 | [
"MIT"
] | 1 | 2017-09-07T09:14:55.000Z | 2017-09-07T09:14:55.000Z | arbre_binaire.py | Erwanexyz/Python | 1197c0a27530b60e6cbe048758bfe86f0e159e95 | [
"MIT"
] | null | null | null | arbre_binaire.py | Erwanexyz/Python | 1197c0a27530b60e6cbe048758bfe86f0e159e95 | [
"MIT"
] | null | null | null | class Noeud:
'''Noeud d'un arbre binaire'''
def __init__(self, valeur=None):
'''Créé un nœud avec une valeur (None par défaut)'''
# valeur (object) : valeur a stocker dans le nœud. On présume que valeur
# implémente une méthode pour être comparée à elle-même
self.valeur = va... | 37.086957 | 83 | 0.583587 |
09ff75768f53c1fb30e6061678e884817403e4f2 | 485 | dart | Dart | lib/di/RestClient.dart | interswitch-kenya-limited/mobpay-flutter | 6b3f283cb4719b554fb150679c4ec7e04c465fa5 | [
"BSD-3-Clause"
] | null | null | null | lib/di/RestClient.dart | interswitch-kenya-limited/mobpay-flutter | 6b3f283cb4719b554fb150679c4ec7e04c465fa5 | [
"BSD-3-Clause"
] | 1 | 2021-10-07T06:10:05.000Z | 2021-10-07T06:32:18.000Z | lib/di/RestClient.dart | interswitch-kenya-limited/mobpay-flutter | 6b3f283cb4719b554fb150679c4ec7e04c465fa5 | [
"BSD-3-Clause"
] | null | null | null | // import 'package:dio/dio.dart';
import 'package:dio/dio.dart' hide Headers;
import 'package:mobpay/api/TransactionPayload.dart';
import 'package:retrofit/dio.dart';
import 'package:retrofit/http.dart';
part 'RestClient.g.dart';
@RestApi()
abstract class RestClient {
factory RestClient(Dio dio, {String baseUrl}) =... | 26.944444 | 62 | 0.748454 |
cdd1dc27decbc63d2e0ab03c45abb0e168d8d04a | 1,470 | cs | C# | Assets/Scripts/UI/DraggableUI.cs | robidev/CyberSquirrelOne | 180a76dc676c103fe3c277e855fcc4066874762f | [
"MIT"
] | 1 | 2022-03-06T17:19:59.000Z | 2022-03-06T17:19:59.000Z | Assets/Scripts/UI/DraggableUI.cs | robidev/CyberSquirrelOne | 180a76dc676c103fe3c277e855fcc4066874762f | [
"MIT"
] | null | null | null | Assets/Scripts/UI/DraggableUI.cs | robidev/CyberSquirrelOne | 180a76dc676c103fe3c277e855fcc4066874762f | [
"MIT"
] | null | null | null | using UnityEngine;
using UnityEngine.EventSystems;
using System;
using System.Collections;
/// <summary>
/// When put it in some UI, it will be dragged as a window.
/// This is only used in overray canvas.
/// </summary>
[Serializable]
public partial class DraggableUI : MonoBehaviour, IDragHandler, IPointerDownHandl... | 25.344828 | 83 | 0.716327 |
cd5b23d5dd15c6a313c2d5ad1299c6084801122d | 1,893 | cs | C# | MultiModelObject.cs | KampinKarl1/MultiModelObjectShower | c18ec23ad0b9dd30275248a81c1b906ad97cb272 | [
"MIT"
] | null | null | null | MultiModelObject.cs | KampinKarl1/MultiModelObjectShower | c18ec23ad0b9dd30275248a81c1b906ad97cb272 | [
"MIT"
] | null | null | null | MultiModelObject.cs | KampinKarl1/MultiModelObjectShower | c18ec23ad0b9dd30275248a81c1b906ad97cb272 | [
"MIT"
] | null | null | null | using UnityEngine;
using System.Collections;
/// <summary>
/// Can give an object a bit of variety by changing the active shown object at start.
/// Example: Synty and PolyPerfect have characters with lots of gameobjects/character models; you can randomly choose those models with this script.
/// </summary>
public... | 28.681818 | 149 | 0.621236 |
0d786601828eeefb89ed38183094ca06cf8aee4a | 7,469 | cs | C# | OpenFeign.net/HttpProxy.cs | yrc-cloud/OpenFeign.net | 300cf7c5952fe31cdc00d9d134efa73b95de4262 | [
"MIT"
] | 1 | 2020-05-13T16:18:27.000Z | 2020-05-13T16:18:27.000Z | OpenFeign.net/HttpProxy.cs | yrc-cloud/OpenFeign.net | 300cf7c5952fe31cdc00d9d134efa73b95de4262 | [
"MIT"
] | null | null | null | OpenFeign.net/HttpProxy.cs | yrc-cloud/OpenFeign.net | 300cf7c5952fe31cdc00d9d134efa73b95de4262 | [
"MIT"
] | null | null | null | using OpenFeign.net.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.Collections.Concurrent;
using OpenFeig... | 38.5 | 134 | 0.560048 |
495e3870592b41bb8f808a81e4942ce05625afd2 | 85 | py | Python | client_django/makes/apps.py | kaparis/spa101 | 0c225d0676a13a33950aca5954c02b443237149d | [
"MIT"
] | null | null | null | client_django/makes/apps.py | kaparis/spa101 | 0c225d0676a13a33950aca5954c02b443237149d | [
"MIT"
] | null | null | null | client_django/makes/apps.py | kaparis/spa101 | 0c225d0676a13a33950aca5954c02b443237149d | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MakesConfig(AppConfig):
name = 'makes'
| 14.166667 | 33 | 0.741176 |
3f12dc0a8bcb7009ad955f61f9183915f25791f2 | 1,129 | php | PHP | application/views/v_index.php | fhdyt/TES_CODING | f4566f498446bc17b423b5833f36a57493168396 | [
"MIT"
] | null | null | null | application/views/v_index.php | fhdyt/TES_CODING | f4566f498446bc17b423b5833f36a57493168396 | [
"MIT"
] | null | null | null | application/views/v_index.php | fhdyt/TES_CODING | f4566f498446bc17b423b5833f36a57493168396 | [
"MIT"
] | null | null | null | <!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0">Starter Page</h1>
... | 33.205882 | 61 | 0.40124 |
05e7e76d6e1fca6bc6bee14678cf8bc1619a9c09 | 1,484 | py | Python | pirate/symbolic_regression/util.py | 212726320/PIRATE-1 | eac2d090286e0a5c13be4829259ea12cbda2f75c | [
"MIT"
] | null | null | null | pirate/symbolic_regression/util.py | 212726320/PIRATE-1 | eac2d090286e0a5c13be4829259ea12cbda2f75c | [
"MIT"
] | null | null | null | pirate/symbolic_regression/util.py | 212726320/PIRATE-1 | eac2d090286e0a5c13be4829259ea12cbda2f75c | [
"MIT"
] | 1 | 2022-01-27T22:34:45.000Z | 2022-01-27T22:34:45.000Z | # File: util
# File Created: Wednesday, 20th November 2019 3:56:01 pm
# Author: Steven Atkinson (212726320@ge.com)
from typing import Callable
import deap.gp
import torch
from ..data.experiment import Experiment
from ..function import Function
def get_residual_function(
op: Callable, experiment: Experiment, ps... | 28.538462 | 85 | 0.686658 |
0d445c40e961e989bef6635ce05da41fd48056ed | 552 | cs | C# | TemplateKafka.Producer/TemplateKafka.Producer.Infra.Data/Mappings/Entity/ProductStatusMap.cs | poferrari/estudo-kafka | d04eacfde6bac806efd5f585a6ce61569c6bac1a | [
"Apache-2.0"
] | 3 | 2020-08-25T17:13:40.000Z | 2020-11-04T19:08:37.000Z | TemplateKafka.Producer/TemplateKafka.Producer.Infra.Data/Mappings/Entity/ProductStatusMap.cs | poferrari/estudo-kafka | d04eacfde6bac806efd5f585a6ce61569c6bac1a | [
"Apache-2.0"
] | null | null | null | TemplateKafka.Producer/TemplateKafka.Producer.Infra.Data/Mappings/Entity/ProductStatusMap.cs | poferrari/estudo-kafka | d04eacfde6bac806efd5f585a6ce61569c6bac1a | [
"Apache-2.0"
] | null | null | null | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TemplateKafka.Producer.Domain.Products;
namespace TemplateKafka.Producer.Infra.Data.Mappings.Entity
{
public class ProductStatusMap : IEntityTypeConfiguration<ProductStatus>
{
public void Configure(Entity... | 29.052632 | 75 | 0.682971 |
43a2c364a7f5d2c6db467a2674dd2b95829e0a87 | 3,164 | tsx | TypeScript | contexts/AuthContext.tsx | ElisioWander/nextAuth | c39ab25894dc5783b476720b656e73cfdfab904b | [
"MIT"
] | null | null | null | contexts/AuthContext.tsx | ElisioWander/nextAuth | c39ab25894dc5783b476720b656e73cfdfab904b | [
"MIT"
] | null | null | null | contexts/AuthContext.tsx | ElisioWander/nextAuth | c39ab25894dc5783b476720b656e73cfdfab904b | [
"MIT"
] | null | null | null | import { createContext, ReactNode, useEffect, useState } from "react";
import { api } from "../services/apiClient";
import { setCookie, parseCookies, destroyCookie } from "nookies";
import Router from "next/router";
type User = {
email: string;
permissions: string[];
roles: string[];
};
//dados que serão passa... | 23.789474 | 94 | 0.609039 |
c614deb848cc38f7bef5086707b4e9a4fab7b6e0 | 232 | builder | Ruby | app/views/buckets/show.xml.builder | simonoff/s3-server | 736bda794be694d0b84716f6c415622c16be2698 | [
"MIT"
] | 1 | 2019-03-13T17:27:41.000Z | 2019-03-13T17:27:41.000Z | app/views/buckets/show.xml.builder | simonoff/s3-server | 736bda794be694d0b84716f6c415622c16be2698 | [
"MIT"
] | null | null | null | app/views/buckets/show.xml.builder | simonoff/s3-server | 736bda794be694d0b84716f6c415622c16be2698 | [
"MIT"
] | 2 | 2019-03-13T17:27:43.000Z | 2019-11-08T11:43:25.000Z | xml.instruct!(:xml, version: '1.0', encoding: 'UTF-8')
xml.ListBucketResult(xmlns: 'http://s3.amazonaws.com/doc/2006-03-01/') do |lbr|
lbr.Name @bucket.name
lbr.Prefix
lbr.Marker
lbr.MaxKeys 1000
lbr.IsTruncated false
end
| 25.777778 | 79 | 0.706897 |
23287f1e09ad3f7036415f1a1c0bee159672057d | 2,937 | css | CSS | src/styles.css | ZavadskiyAS/Resume | 5fa08065c8947599442bc6af4d709b17143f0ffd | [
"Unlicense"
] | null | null | null | src/styles.css | ZavadskiyAS/Resume | 5fa08065c8947599442bc6af4d709b17143f0ffd | [
"Unlicense"
] | null | null | null | src/styles.css | ZavadskiyAS/Resume | 5fa08065c8947599442bc6af4d709b17143f0ffd | [
"Unlicense"
] | null | null | null | * {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: #f5f7fa;
padding-top: 40px;
padding-bottom: 40px;
padding-left: 20px;
padding-right: 20px;
font-family: Montserrat;
}
.wrapper {
background: #fff;
display: flex;
max-width: 1200px;
margin: 0 auto;
box-shadow: 5px 9px ... | 13.919431 | 47 | 0.643173 |
cc1fcccbc56949bc64ee2cef4b78097007fb00df | 21,897 | h | C | ext/ant_ext/antmessage.h | ged/ruby-ant-wireless | 0dbfa4107560ed9beb4fba35975af87a84e0a80e | [
"MIT"
] | 1 | 2021-11-28T23:25:43.000Z | 2021-11-28T23:25:43.000Z | ext/ant_ext/antmessage.h | ged/ruby-ant-wireless | 0dbfa4107560ed9beb4fba35975af87a84e0a80e | [
"MIT"
] | null | null | null | ext/ant_ext/antmessage.h | ged/ruby-ant-wireless | 0dbfa4107560ed9beb4fba35975af87a84e0a80e | [
"MIT"
] | 1 | 2021-11-28T23:25:33.000Z | 2021-11-28T23:25:33.000Z | /*
This software is subject to the license described in the License.txt file
included with this software distribution. You may not use this file except
in compliance with this license.
Copyright (c) Dynastream Innovations Inc. 2016
All rights reserved.
*/
#ifndef ANTMESSAGE_H
#define ANTMESSAGE_H
#include "types.h"
#... | 49.096413 | 218 | 0.637211 |
dbdc7f03eed09db30f0f88c31e0b55f13cc753de | 9,018 | php | PHP | application/api/service/payment/Wxpay.php | ziyunCode/pay | 2f2275255813bc9fd47c23b0be95196ab10c589a | [
"Apache-2.0"
] | 1 | 2021-04-25T11:24:02.000Z | 2021-04-25T11:24:02.000Z | application/api/service/payment/Wxpay.php | ziyunCode/pay | 2f2275255813bc9fd47c23b0be95196ab10c589a | [
"Apache-2.0"
] | null | null | null | application/api/service/payment/Wxpay.php | ziyunCode/pay | 2f2275255813bc9fd47c23b0be95196ab10c589a | [
"Apache-2.0"
] | 1 | 2021-04-25T11:24:04.000Z | 2021-04-25T11:24:04.000Z | <?php
/**
* +----------------------------------------------------------------------
* | 草帽支付系统 [ WE CAN DO IT JUST THINK ]
* +----------------------------------------------------------------------
* | Copyright (c) 2018 http://www.iredcap.cn All rights reserved.
* +--------------------------------------------... | 29.374593 | 167 | 0.501109 |
5afb71de03d6aec91ab466eceb10bf258c654f05 | 3,784 | cs | C# | Source/Swarm2D.Engine.View/Graphics/SpriteCategory.cs | kiyakkoray/Swarm2D | 3903a271140946b1dc6f9d46c83370ee320ee125 | [
"MIT"
] | 7 | 2015-03-07T22:26:07.000Z | 2020-06-17T18:58:37.000Z | Source/Swarm2D.Engine.View/Graphics/SpriteCategory.cs | kiyakkoray/Swarm2D | 3903a271140946b1dc6f9d46c83370ee320ee125 | [
"MIT"
] | 2 | 2016-07-19T14:23:49.000Z | 2018-01-12T16:16:34.000Z | Source/Swarm2D.Engine.View/Graphics/SpriteCategory.cs | kiyakkoray/Swarm2D | 3903a271140946b1dc6f9d46c83370ee320ee125 | [
"MIT"
] | null | null | null | /******************************************************************************
Copyright (c) 2016 Koray Kiyakoglu
http://www.swarm2d.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software w... | 33.785714 | 128 | 0.539376 |
1484861f8a3c8cad679c2db34285d29f53dbfab7 | 143 | ts | TypeScript | projects/swimlane/ngx-ui/src/lib/utils/is-number/is-number.util.ts | owi1972/ngx-ui | b99d0b60daf7a7850b1e56ad25ce026ac27d007e | [
"MIT"
] | 647 | 2016-12-19T18:15:08.000Z | 2022-03-23T16:56:47.000Z | projects/swimlane/ngx-ui/src/lib/utils/is-number/is-number.util.ts | owi1972/ngx-ui | b99d0b60daf7a7850b1e56ad25ce026ac27d007e | [
"MIT"
] | 246 | 2017-01-13T15:46:59.000Z | 2022-03-14T16:59:07.000Z | projects/swimlane/ngx-ui/src/lib/utils/is-number/is-number.util.ts | owi1972/ngx-ui | b99d0b60daf7a7850b1e56ad25ce026ac27d007e | [
"MIT"
] | 133 | 2016-12-21T14:47:31.000Z | 2021-11-12T00:49:22.000Z | export const isNumber = (value: string | number): boolean => {
return !isNaN(parseInt(value as string, 10)) && isFinite(value as number);
};
| 35.75 | 76 | 0.685315 |
46f2ad78f8f1eabac0008a988ba2c1dceadccba2 | 320 | py | Python | happy_couple/__init__.py | streanger/happy_couple | 16cc621e48f524b44009a47e1e40b18ca7017ebf | [
"MIT"
] | null | null | null | happy_couple/__init__.py | streanger/happy_couple | 16cc621e48f524b44009a47e1e40b18ca7017ebf | [
"MIT"
] | null | null | null | happy_couple/__init__.py | streanger/happy_couple | 16cc621e48f524b44009a47e1e40b18ca7017ebf | [
"MIT"
] | null | null | null | from .happy_couple import script_path, static_file_path, time_template, show_image, create_blank_image, draw_tv_background_and_backlight, absoluteFilePaths, help_content, smooth_image, cat_images, create_new_dir, path_last_element, generate_images, create_image, simple_resize_img, paste_image, check_position, animation | 320 | 320 | 0.88125 |
bb31b81d6e58b2e3034619b38432dda6e3d27c45 | 2,423 | cs | C# | OneGet/Api/IHostAPI.cs | firegiant/oneget | 4b7d02901e15b5e9d146550ec3d6c1224835a3c0 | [
"Apache-2.0"
] | 1 | 2015-04-06T16:21:59.000Z | 2015-04-06T16:21:59.000Z | OneGet/Api/IHostAPI.cs | shyamalschandra/oneget | df56df1d8b2372ce05354127ee5df7887079ad5e | [
"Apache-2.0"
] | null | null | null | OneGet/Api/IHostAPI.cs | shyamalschandra/oneget | df56df1d8b2372ce05354127ee5df7887079ad5e | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | 33.191781 | 159 | 0.645068 |
a3b3ccd86690560ed61fd56dbdf194c1c5faad33 | 2,630 | java | Java | src/main/java/com/boyuanitsm/pay/wxpay/business/UnifiedOrderBusiness.java | boyuanitsm/pay | 3241a93f0ac6da7d60d0305c94de472af564dcaf | [
"Apache-2.0"
] | 216 | 2017-01-11T08:19:53.000Z | 2021-08-24T23:55:51.000Z | src/main/java/com/boyuanitsm/pay/wxpay/business/UnifiedOrderBusiness.java | yishionyang/pay | 3241a93f0ac6da7d60d0305c94de472af564dcaf | [
"Apache-2.0"
] | 4 | 2017-08-21T07:26:12.000Z | 2021-08-09T06:15:56.000Z | src/main/java/com/boyuanitsm/pay/wxpay/business/UnifiedOrderBusiness.java | yishionyang/pay | 3241a93f0ac6da7d60d0305c94de472af564dcaf | [
"Apache-2.0"
] | 90 | 2017-01-14T13:16:29.000Z | 2021-12-05T14:26:27.000Z | /*
* Copyright 2016-2017 Shanghai Boyuan IT Services Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 46.140351 | 236 | 0.790875 |
4cf74d7a6bf0f6f021ef0ac18d4162fcac96a52d | 6,133 | py | Python | PyStacks/PyStacks/cloudformation_helpers.py | 0xack13/PyStacks | 13136c43089c241680beb216a233d1846119dd7c | [
"MIT"
] | 11 | 2018-02-15T04:27:05.000Z | 2020-10-02T11:20:08.000Z | PyStacks/PyStacks/cloudformation_helpers.py | 0xack13/PyStacks | 13136c43089c241680beb216a233d1846119dd7c | [
"MIT"
] | 3 | 2018-02-15T05:46:54.000Z | 2018-03-05T04:46:51.000Z | PyStacks/PyStacks/cloudformation_helpers.py | 0xack13/PyStacks | 13136c43089c241680beb216a233d1846119dd7c | [
"MIT"
] | 8 | 2018-03-05T04:40:41.000Z | 2021-02-22T08:07:58.000Z | import logging
import os
import cloudformation
import auth
import sys
import yaml
def init_cf_action(parameters, parameters_file, stack_name, region, stack_file):
parameters_list_from_file = []
parameters_list_from_args = []
if parameters_file:
logging.info('Using passed in parameters for File f... | 29.917073 | 113 | 0.636556 |
74a46ff21e770b3f3a9356ee584d3f2b375c136b | 1,054 | go | Go | cmd/mysqlmd/mysql/mysql.go | h1z3y3/go-gin-api | ca6b1c040d0c8b4048a3c90f98d9047da7e48437 | [
"MIT"
] | 2 | 2021-11-17T00:37:42.000Z | 2022-02-16T09:44:25.000Z | cmd/mysqlmd/mysql/mysql.go | h1z3y3/go-gin-api | ca6b1c040d0c8b4048a3c90f98d9047da7e48437 | [
"MIT"
] | null | null | null | cmd/mysqlmd/mysql/mysql.go | h1z3y3/go-gin-api | ca6b1c040d0c8b4048a3c90f98d9047da7e48437 | [
"MIT"
] | 1 | 2022-02-12T03:35:30.000Z | 2022-02-12T03:35:30.000Z | package mysql
import (
"fmt"
"github.com/pkg/errors"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"gorm.io/gorm/schema"
)
var _ Repo = (*dbRepo)(nil)
type Repo interface {
i()
GetDb() *gorm.DB
DbClose() error
}
type dbRepo struct {
DbConn *gorm.DB
}
func New(dbAddr, dbUser, dbPass, dbName string) (Repo, error) ... | 16.46875 | 95 | 0.642315 |
a1429a3ae8718bb7d529d72c8b50d5ed7dfb3885 | 46 | ts | TypeScript | services/bid/src/events/listeners/queue-group-name.ts | bananobay/auction-website | 57784534f53beaa2138e8555b869ed7d256828f4 | [
"Unlicense"
] | 35 | 2021-04-11T12:32:08.000Z | 2022-03-28T12:11:45.000Z | services/bid/src/events/listeners/queue-group-name.ts | bananobay/auction-website | 57784534f53beaa2138e8555b869ed7d256828f4 | [
"Unlicense"
] | 1 | 2021-04-20T10:30:00.000Z | 2021-04-22T20:50:41.000Z | services/bid/src/events/listeners/queue-group-name.ts | bananobay/auction-website | 57784534f53beaa2138e8555b869ed7d256828f4 | [
"Unlicense"
] | 19 | 2021-04-20T05:07:18.000Z | 2022-03-03T12:16:44.000Z | export const queueGroupName = 'bids-service';
| 23 | 45 | 0.782609 |
4a29a4326b818fc356a4b34ec9c4386126d65c10 | 538 | sql | SQL | src/main/resources/db_scripts/user_preferences_boolean_notation_default_migration.sql | isaacphysics/isaac-api | 64d2d7bb85f807ae101385ffe988ed52959e422a | [
"Apache-2.0"
] | 3 | 2021-05-04T18:13:02.000Z | 2022-03-07T06:44:09.000Z | src/main/resources/db_scripts/user_preferences_boolean_notation_default_migration.sql | isaacphysics/isaac-api | 64d2d7bb85f807ae101385ffe988ed52959e422a | [
"Apache-2.0"
] | 206 | 2019-04-11T14:44:57.000Z | 2022-03-30T17:20:39.000Z | src/main/resources/db_scripts/user_preferences_boolean_notation_default_migration.sql | isaacphysics/isaac-api | 64d2d7bb85f807ae101385ffe988ed52959e422a | [
"Apache-2.0"
] | 1 | 2021-07-07T13:04:54.000Z | 2021-07-07T13:04:54.000Z | -- I would recommend running this in a transaction BEGIN; and ROLLBACK or COMMIT
DELETE FROM public.user_preferences WHERE preference_type = 'BOOLEAN_NOTATION';
INSERT INTO public.user_preferences (user_id, preference_type, preference_name, preference_value, last_updated)
SELECT
id,
'BOOLEAN_NOTATION',
CAS... | 31.647059 | 111 | 0.702602 |
38e3f688a52ceeec6c331cdb9cdc8e40d41211c0 | 479 | swift | Swift | Animaciones.playground/Contents.swift | carlos-santiago-2017/PlaygroundsSwift412 | 0638445ac5e61e74f0b672d6a731dd878df0902d | [
"MIT"
] | null | null | null | Animaciones.playground/Contents.swift | carlos-santiago-2017/PlaygroundsSwift412 | 0638445ac5e61e74f0b672d6a731dd878df0902d | [
"MIT"
] | null | null | null | Animaciones.playground/Contents.swift | carlos-santiago-2017/PlaygroundsSwift412 | 0638445ac5e61e74f0b672d6a731dd878df0902d | [
"MIT"
] | null | null | null | import UIKit
import PlaygroundSupport
let liveViewFrame = CGRect(x: 0, y: 0, width: 500, height: 500)
let liveView = UIView(frame: liveViewFrame)
liveView.backgroundColor = .white
PlaygroundPage.current.liveView = liveView
let smallFrame = CGRect(x: 0, y: 0, width: 100, height: 100)
let square = UIView(frame: smallFram... | 29.9375 | 63 | 0.759916 |