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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7293ad867e1ada02d74adf05793411ba2c8aae30 | 4,406 | cs | C# | CpuMonitor/Processes.cs | SiMoStro/HumbleCpuMonitor | 2a10db9282d5026b21b90524621413b8e8c059f1 | [
"MIT"
] | null | null | null | CpuMonitor/Processes.cs | SiMoStro/HumbleCpuMonitor | 2a10db9282d5026b21b90524621413b8e8c059f1 | [
"MIT"
] | null | null | null | CpuMonitor/Processes.cs | SiMoStro/HumbleCpuMonitor | 2a10db9282d5026b21b90524621413b8e8c059f1 | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using System.Linq;
using HumbleCpuMonitor.Win32;
using static HumbleCpuMonitor.Win32.Psapi;
using FT = System.Runtime.InteropServices.ComTypes.FILETIME;
namespace HumbleCpuMonitor
{
public class Pro... | 33.892308 | 151 | 0.551975 |
b040d9104205424c5158e808096d5c47161a331c | 39 | py | Python | src/compas/datastructures/graph/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 235 | 2017-11-07T07:33:22.000Z | 2022-03-25T16:20:00.000Z | src/compas/datastructures/graph/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 770 | 2017-09-22T13:42:06.000Z | 2022-03-31T21:26:45.000Z | src/compas/datastructures/graph/__init__.py | funkchaser/compas | b58de8771484aa0c6068d43df78b1679503215de | [
"MIT"
] | 99 | 2017-11-06T23:15:28.000Z | 2022-03-25T16:05:36.000Z | from .graph import Graph # noqa: F401
| 19.5 | 38 | 0.717949 |
5d90e81bf19edf19ce57074503f29e43b805b7df | 996 | hpp | C++ | include/ShaderAST/Expr/ExprQuestion.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 148 | 2018-10-11T16:51:37.000Z | 2022-03-26T13:55:08.000Z | include/ShaderAST/Expr/ExprQuestion.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 30 | 2019-11-30T11:43:07.000Z | 2022-01-25T21:09:47.000Z | include/ShaderAST/Expr/ExprQuestion.hpp | jarrodmky/ShaderWriter | ee9ce00a003bf544f8c8f23b5c07739e21cb3754 | [
"MIT"
] | 8 | 2020-04-17T13:18:30.000Z | 2021-11-20T06:24:44.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___AST_ExprQuestion_H___
#define ___AST_ExprQuestion_H___
#pragma once
#include "Expr.hpp"
namespace ast::expr
{
class Question
: public Expr
{
public:
SDAST_API Question( type::TypePtr type
, ExprPtr ctrlExpr
, ExprPtr trueExpr
, ExprPtr falseExpr );
S... | 17.172414 | 56 | 0.688755 |
c6d614a17dc12d56ea03512b337c5e1fdf8f136a | 15,584 | rs | Rust | sui_core/src/unit_tests/sui_json.rs | velvia/sui | 976b6bbc2573b375776995a6d3239cba5b73c26e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | sui_core/src/unit_tests/sui_json.rs | velvia/sui | 976b6bbc2573b375776995a6d3239cba5b73c26e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | sui_core/src/unit_tests/sui_json.rs | velvia/sui | 976b6bbc2573b375776995a6d3239cba5b73c26e | [
"Apache-2.0",
"CC-BY-4.0"
] | null | null | null | // Copyright (c) 2022, Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
use std::path::Path;
use move_core_types::{
account_address::AccountAddress, identifier::Identifier, value::MoveTypeLayout,
};
use serde_json::{json, Value};
use sui_types::base_types::{ObjectID, SuiAddress, TransactionDigest};
use su... | 33.016949 | 198 | 0.53587 |
38612eeb4348c933c465be80dda780cd9b276cf8 | 6,267 | php | PHP | wp-content/backup-1412383197-plugins/mojo-marketplace/inc/shortcode-generator.php | elperg/coketta-wp | 7c62e51f7a9c05298ffdf2ae512d7dfe46d18bb3 | [
"Artistic-2.0"
] | null | null | null | wp-content/backup-1412383197-plugins/mojo-marketplace/inc/shortcode-generator.php | elperg/coketta-wp | 7c62e51f7a9c05298ffdf2ae512d7dfe46d18bb3 | [
"Artistic-2.0"
] | null | null | null | wp-content/backup-1412383197-plugins/mojo-marketplace/inc/shortcode-generator.php | elperg/coketta-wp | 7c62e51f7a9c05298ffdf2ae512d7dfe46d18bb3 | [
"Artistic-2.0"
] | null | null | null | <?php
function mm_add_button( $icons ) {
$img = plugin_dir_url( dirname( __FILE__ ) ) . "img/mojo-icon-22.png";
$id = 'mm_sg_container';
$title = '';
$icons .= "<a class='thickbox button' title='" . $title . "' href='#TB_inline?width=640&inlineId=" . $id . "'>
<img style='position:relative; bottom: 2px;' src='" .... | 36.436047 | 269 | 0.617999 |
a12b173987ef3b23435c671b967d1beb35270315 | 545 | ts | TypeScript | src/app/modules/api/tickets/models/ticket-concern.model.ts | kamilk08/BookLoversClient | 905c89dff03331425c1efff90d28ca3f140521fc | [
"MIT"
] | null | null | null | src/app/modules/api/tickets/models/ticket-concern.model.ts | kamilk08/BookLoversClient | 905c89dff03331425c1efff90d28ca3f140521fc | [
"MIT"
] | null | null | null | src/app/modules/api/tickets/models/ticket-concern.model.ts | kamilk08/BookLoversClient | 905c89dff03331425c1efff90d28ca3f140521fc | [
"MIT"
] | null | null | null | export class TicketConcern {
public readonly value: number;
public readonly name: string
constructor(value: number, name: string) {
this.value = value;
this.name = name;
}
public static book() {
return new TicketConcern(1, 'Book');
}
public static author() {
return new TicketConcern(2, ... | 22.708333 | 94 | 0.695413 |
60ce725d35d4e128a870ec88728ad57efcaadee9 | 29,896 | sql | SQL | src/org.xtuml.bp.io.mdl.test/models/sql/BP50_evt.sql | rmulvey/bptest | 27a01bf313f7ef3746b6eb9da24ed8c79168323d | [
"Apache-2.0"
] | 1 | 2017-03-22T13:25:12.000Z | 2017-03-22T13:25:12.000Z | src/com.mentor.nucleus.bp.io.mdl.test/models/sql/BP50_evt.sql | NDGuthrie/bposs | 2c47abf74a3e6fadb174b08e57aa66a209400606 | [
"Apache-2.0"
] | 5 | 2017-03-09T20:43:52.000Z | 2017-10-10T19:01:08.000Z | src/com.mentor.nucleus.bp.io.mdl.test/models/sql/BP50_evt.sql | NDGuthrie/bposs | 2c47abf74a3e6fadb174b08e57aa66a209400606 | [
"Apache-2.0"
] | 30 | 2017-01-03T21:13:44.000Z | 2022-03-25T03:17:20.000Z | -- BP 6.1D content: domain syschar: 3
INSERT INTO S_DOM
VALUES (2470000,
'BP50_evt',
'This test deals with the new features of BP5.0 concering events.
Generates a pre-created event stored in an attribute from :
( All events are generated from instance.attribute unless otherwise indicated )
- Function
... | 13.847151 | 83 | 0.632794 |
851bf080118d5ddd9c448a1b6f8b286c0ac02977 | 2,917 | cs | C# | Source/MonoGame.Extended.Tests/Vector2ExtensionsTests.cs | Measurity/MonoGame.Extended | 7fadd78fd26bb8be68ec598c971d69285f58853f | [
"MIT"
] | 1 | 2020-01-09T02:39:40.000Z | 2020-01-09T02:39:40.000Z | Source/MonoGame.Extended.Tests/Vector2ExtensionsTests.cs | sslm74/MonoGame.Extended | 7fadd78fd26bb8be68ec598c971d69285f58853f | [
"MIT"
] | null | null | null | Source/MonoGame.Extended.Tests/Vector2ExtensionsTests.cs | sslm74/MonoGame.Extended | 7fadd78fd26bb8be68ec598c971d69285f58853f | [
"MIT"
] | 1 | 2020-01-08T23:39:45.000Z | 2020-01-08T23:39:45.000Z | using System;
using Microsoft.Xna.Framework;
using NUnit.Framework;
namespace MonoGame.Extended.Tests
{
[TestFixture]
public class Vector2ExtensionsTests
{
[Test]
public void Vector2_EqualsWithTolerence_Test()
{
var a = new Vector2(1f, 1f);
var b = new Vector... | 28.598039 | 87 | 0.533082 |
3872871b383f15087dfeb30fc02e58b7189e4c2e | 251 | php | PHP | app/Http/Controllers/Production/ProductionController.php | moinularif/mtrims | 170999adbb736f30c681517c72336bca6ebf9f69 | [
"MIT"
] | null | null | null | app/Http/Controllers/Production/ProductionController.php | moinularif/mtrims | 170999adbb736f30c681517c72336bca6ebf9f69 | [
"MIT"
] | null | null | null | app/Http/Controllers/Production/ProductionController.php | moinularif/mtrims | 170999adbb736f30c681517c72336bca6ebf9f69 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Production;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class ProductionController extends Controller
{
public function index(){
return view('production.layout.index');
}
}
| 17.928571 | 47 | 0.74502 |
a60b894d14aca696763bf969c8b3db1cba2a1b6b | 358 | rb | Ruby | Chapter 09/circuit-oneops-1-master/components/cookbooks/hadoop-yarn-v1/recipes/secondarynamenode_stop.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | 1 | 2018-04-11T20:26:13.000Z | 2018-04-11T20:26:13.000Z | Chapter 09/circuit-oneops-1-master/components/cookbooks/hadoop-yarn-v1/recipes/secondarynamenode_stop.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | null | null | null | Chapter 09/circuit-oneops-1-master/components/cookbooks/hadoop-yarn-v1/recipes/secondarynamenode_stop.rb | PacktPublishing/Practical-OneOps | 74f7e3b60051101a5560a69523b25b9868cc5bec | [
"MIT"
] | 1 | 2019-12-25T15:54:18.000Z | 2019-12-25T15:54:18.000Z | #
# Cookbook Name:: hadoop-yarn-v1
# Recipe:: secondarynamenode_stop
#
#
# stop secondarynamenode
ruby_block "Stop hadoop-secondarynamenode service" do
block do
Chef::Resource::RubyBlock.send(:include, Chef::Mixin::ShellOut)
shell_out!("service hadoop-secondarynamenode stop ",
:live_str... | 23.866667 | 71 | 0.692737 |
d965091c1b61a57e909515db8d4117dd623a9cf8 | 14,257 | rs | Rust | tests/all/closures.rs | spastorino/wasm-bindgen | a02f9e0eed3052bef6ad9847a09ae69b877c5bf3 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/all/closures.rs | spastorino/wasm-bindgen | a02f9e0eed3052bef6ad9847a09ae69b877c5bf3 | [
"Apache-2.0",
"MIT"
] | null | null | null | tests/all/closures.rs | spastorino/wasm-bindgen | a02f9e0eed3052bef6ad9847a09ae69b877c5bf3 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-06-08T16:52:38.000Z | 2020-06-08T16:52:38.000Z | use super::project;
#[test]
fn works() {
project()
.file("src/lib.rs", r#"
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]
extern crate wasm_bindgen;
use std::cell::Cell;
use wasm_bindgen::prelude::*;
#[wasm_bindgen(module = ".... | 27.683495 | 81 | 0.377358 |
3b63c2d532bae46f849410cd3d72d1c96ff72e2f | 1,353 | php | PHP | app/Http/Controllers/Api/CarController.php | darciofjunior/API-em-Laravel-com-SPA-em-VUE.JS | 2885984be30ccc8899b801a6487dc96f2b4e3715 | [
"MIT"
] | null | null | null | app/Http/Controllers/Api/CarController.php | darciofjunior/API-em-Laravel-com-SPA-em-VUE.JS | 2885984be30ccc8899b801a6487dc96f2b4e3715 | [
"MIT"
] | 2 | 2021-02-02T21:26:35.000Z | 2022-02-19T05:54:11.000Z | app/Http/Controllers/Api/CarController.php | darciofjunior/API-autenticada-com-JWT | 99c9f3f0cad4cfb998bba897cd8695059ad5baab | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Model\Car;
class CarController extends Controller
{
private $car;
public function __construct(Car $car)
{
$this->car = $car;
}
public function index()
{
if(!$c... | 22.180328 | 79 | 0.54102 |
b046300b981c773725f526bde993a097a7d89f16 | 530 | py | Python | apps/api/urls.py | rddimon/test-product-scanner | e614e4c801e9235710b7c2a6956615c47dfc66a4 | [
"MIT"
] | null | null | null | apps/api/urls.py | rddimon/test-product-scanner | e614e4c801e9235710b7c2a6956615c47dfc66a4 | [
"MIT"
] | 1 | 2017-12-14T06:52:30.000Z | 2017-12-14T07:18:23.000Z | apps/api/urls.py | rddimon/test-product-scanner | e614e4c801e9235710b7c2a6956615c47dfc66a4 | [
"MIT"
] | null | null | null | from django.conf.urls import url, include
from rest_framework import routers
from apps.api import views
from apps.api.viewsets import payment
router = routers.DefaultRouter()
router.register(r'number-of-products', payment.NumberOfProductsViewSet)
router.register(r'crawls-per-month', payment.CrawlsPerMonthViewSet)
ro... | 29.444444 | 72 | 0.775472 |
5da1aa668d1af27127b8511fba239273f559a099 | 1,972 | cpp | C++ | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | tests/src/test_BedWriter.cpp | bio-nim/pbbam | d3bf59e90865ef3b39bf50f19fd846db42bb0fe1 | [
"BSD-3-Clause-Clear"
] | null | null | null | // Author: Derek Barnett
#include <pbbam/bed/BedWriter.h>
#include <cstdio>
#include <algorithm>
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include <pbbam/FormatUtils.h>
#include <pbbam/GenomicInterval.h>
#include <pbbam/bed/BedReader.h>
#include "PbbamTestData.h"
using BedReader = PacBio::BED... | 30.338462 | 100 | 0.719574 |
580a5949c79495d79c5a5f513ab4f3f67fe72a03 | 630 | css | CSS | evaluaciones/evaluacion360/resultados/admin/impresion.css | elmerolero/evaluaciones | ab19eafc6424c7a8eaabd23739fcea691ec30878 | [
"MIT"
] | null | null | null | evaluaciones/evaluacion360/resultados/admin/impresion.css | elmerolero/evaluaciones | ab19eafc6424c7a8eaabd23739fcea691ec30878 | [
"MIT"
] | null | null | null | evaluaciones/evaluacion360/resultados/admin/impresion.css | elmerolero/evaluaciones | ab19eafc6424c7a8eaabd23739fcea691ec30878 | [
"MIT"
] | null | null | null | @media print{
header{
height: 95px;
margin: 0;
}
#datos-empleado{
height: 65px;
}
#Resultados{
font-size: 14px;
}
.preguntas{
padding: 1px 0px 1px 0px;
}
#Regresar{
display: none;
}
#contenedor{
width: 100%;
padding: 0;
}
#R1, #R2, #R3, #R4, #R5, #R6, #R7{
... | 12.115385 | 36 | 0.552381 |
b01fc9fd99dc545f5a8930fd38ef8ceac81d37f2 | 2,255 | py | Python | prototypes/pyplasma/plasma.py | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | 5 | 2018-10-26T07:08:16.000Z | 2019-05-10T06:47:37.000Z | prototypes/pyplasma/plasma.py | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | 9 | 2018-11-09T08:50:48.000Z | 2019-06-06T20:11:12.000Z | prototypes/pyplasma/plasma.py | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | null | null | null | from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
import sys, os
sys.path.append('../../python') #plasma, plasmatools
sys.path.append('../../corgi/pycorgi') #corgi mesh infrastucture
import corgi
import plasmatools as ptools
import pyplasma as plasma
from configSetup i... | 21.893204 | 83 | 0.536142 |
c2433467bd1b0081e5a4a19846b797b6b8ba23d4 | 207 | sh | Shell | test/tests/override-cmd/run.sh | benbc/docker-official-images | 2f94d1f1ec485351c29927eeddd96d9faf934bf8 | [
"Apache-2.0"
] | null | null | null | test/tests/override-cmd/run.sh | benbc/docker-official-images | 2f94d1f1ec485351c29927eeddd96d9faf934bf8 | [
"Apache-2.0"
] | 1 | 2016-01-25T16:54:08.000Z | 2016-01-25T22:21:10.000Z | test/tests/override-cmd/run.sh | donejs/official-images | 2e740cf7d21de486587aafd7d84d51f6f4201956 | [
"MIT"
] | null | null | null | #!/bin/bash
set -eo pipefail
image="$1"
# Test that we can override the CMD with echo
hello="world-$RANDOM-$RANDOM"
output="$(docker run --rm "$image" echo "Hello $hello")"
[ "$output" = "Hello $hello" ]
| 18.818182 | 56 | 0.652174 |
e230195b09628c333ad82258e4b8447b51077a50 | 2,260 | js | JavaScript | components/Layout/Header.js | josephdburdick/Joey-2013 | cdf91b8a402aa335bcf367467f7cb80b9e783e9e | [
"MIT"
] | null | null | null | components/Layout/Header.js | josephdburdick/Joey-2013 | cdf91b8a402aa335bcf367467f7cb80b9e783e9e | [
"MIT"
] | 1 | 2015-10-03T21:37:04.000Z | 2015-10-03T21:37:04.000Z | components/Layout/Header.js | josephdburdick/Joey-2013 | cdf91b8a402aa335bcf367467f7cb80b9e783e9e | [
"MIT"
] | null | null | null | import React from 'react';
import Navigation from './Navigation';
import history from '../../core/history.js';
import Link from '../Link';
import Button from '../Button';
import cx from 'classnames';
import s from './Header.css';
import Logo from '../Logo/Logo';
import Modal from '../Modal/Modal';
import {
name,
t... | 25.111111 | 102 | 0.558407 |
25617bdb3dfc635116235451961a3e4c0c23a90f | 182 | js | JavaScript | slyd/tests/unit/utils/slyd-api-test.js | ruairif/portia | 175b1f5bbec50fda6adda042481bd09c77d12bf0 | [
"BSD-3-Clause"
] | null | null | null | slyd/tests/unit/utils/slyd-api-test.js | ruairif/portia | 175b1f5bbec50fda6adda042481bd09c77d12bf0 | [
"BSD-3-Clause"
] | null | null | null | slyd/tests/unit/utils/slyd-api-test.js | ruairif/portia | 175b1f5bbec50fda6adda042481bd09c77d12bf0 | [
"BSD-3-Clause"
] | null | null | null | import slydApi from 'portia-web/utils/slyd-api';
module('slydApi');
// Replace this with your real tests.
test('it works', function() {
var result = slydApi();
ok(result);
});
| 18.2 | 48 | 0.67033 |
00035bf897bf7c6d59edf1bebaea09e32d3905ae | 933 | cs | C# | DemoProjects/NetCore/TodoApi/Store/AppDbContext/Entities/Todo.cs | twabbott/Projects | 0f4370611495a45b63a0a7570966baf67b91cc9b | [
"MIT"
] | 1 | 2018-10-30T17:38:23.000Z | 2018-10-30T17:38:23.000Z | DemoProjects/NetCore/TodoApi/Store/AppDbContext/Entities/Todo.cs | twabbott/Projects | 0f4370611495a45b63a0a7570966baf67b91cc9b | [
"MIT"
] | 110 | 2020-03-07T00:52:11.000Z | 2022-03-08T22:52:22.000Z | DemoProjects/NetCore/TodoApi/Store/AppDbContext/Entities/Todo.cs | twabbott/Projects | 0f4370611495a45b63a0a7570966baf67b91cc9b | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace TodoApi.Store.AppDbContext.Entities
{
public class Todo
{
[Key] // Not required (EFC will automati... | 26.657143 | 79 | 0.663451 |
b355c5045d4b2757a6af5375993068c8361b9be2 | 1,176 | swift | Swift | PrivacyPrompts/PhotoAccessProvider.swift | AnatoleZho/PrivacyPrompts | e28a3028aee99c40330d7646b731bc5f268f8966 | [
"MIT"
] | null | null | null | PrivacyPrompts/PhotoAccessProvider.swift | AnatoleZho/PrivacyPrompts | e28a3028aee99c40330d7646b731bc5f268f8966 | [
"MIT"
] | null | null | null | PrivacyPrompts/PhotoAccessProvider.swift | AnatoleZho/PrivacyPrompts | e28a3028aee99c40330d7646b731bc5f268f8966 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2017 Apple Inc. All Rights Reserved.
See LICENSE.txt for this sample’s licensing information
Abstract:
Demonstrates the APIs to check and request access to photos.
*/
import Foundation
import Photos
class PhotoAccessProvider: NSObject, PrivateDataAccessProvider {
var accessLevel: PrivateDa... | 28.682927 | 98 | 0.687925 |
c0b7d5556396dbe481714d8c1f37ca75fce41ada | 8,599 | ps1 | PowerShell | eng/common/scripts/Update-DocsMsMetadata.ps1 | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 43 | 2018-03-12T20:45:34.000Z | 2019-11-14T19:58:35.000Z | eng/common/scripts/Update-DocsMsMetadata.ps1 | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 117 | 2018-03-12T19:25:26.000Z | 2019-11-15T21:39:40.000Z | eng/common/scripts/Update-DocsMsMetadata.ps1 | billwert/azure-sdk-for-java | f907d9027d253cdfb37850852cf9cfe500d5c1f6 | [
"MIT"
] | 15 | 2018-03-21T17:10:35.000Z | 2019-09-26T18:33:48.000Z | <#
.SYNOPSIS
Updates package README.md for publishing to docs.microsoft.com
.DESCRIPTION
Given a PackageInfo .json file, format the package README.md file with metadata
and other information needed to release reference docs:
* Adjust README.md content to include metadata
* Insert the package verison number in the REA... | 36.591489 | 180 | 0.749855 |
0d371a7ca8a3565681f28bf2e7766a601a89b3a4 | 195 | sql | SQL | migrations/sqls/20180421013030-initial-down.sql | matchai/camperbot | b2851c18f39f58fb48ae1d5d269ee4b14a250d96 | [
"MIT"
] | 4 | 2018-04-30T05:09:12.000Z | 2018-05-14T21:18:39.000Z | migrations/sqls/20180421013030-initial-down.sql | matchai/camperbot | b2851c18f39f58fb48ae1d5d269ee4b14a250d96 | [
"MIT"
] | 19 | 2018-05-04T02:44:02.000Z | 2018-07-15T22:32:04.000Z | migrations/sqls/20180421013030-initial-down.sql | matchai/camperbot | b2851c18f39f58fb48ae1d5d269ee4b14a250d96 | [
"MIT"
] | 4 | 2018-05-01T19:43:00.000Z | 2018-06-29T02:49:44.000Z | -- Table was named users before :p
DROP TABLE IF EXISTS users_techs;
DROP TABLE IF EXISTS users;
DROP TABLE IF EXISTS accounts_techs;
DROP TABLE IF EXISTS accounts;
DROP TABLE IF EXISTS techs;
| 21.666667 | 36 | 0.784615 |
f79e777e506deae81e0ef63fdb80acb311ac573b | 311 | rb | Ruby | 20110826_TissotChecker/framework/scripts/mount/mount.compact_images.rb | andrehtissot/old_things | e947f6ca168939c3781de39bdf5799e49a0021a9 | [
"MIT"
] | null | null | null | 20110826_TissotChecker/framework/scripts/mount/mount.compact_images.rb | andrehtissot/old_things | e947f6ca168939c3781de39bdf5799e49a0021a9 | [
"MIT"
] | null | null | null | 20110826_TissotChecker/framework/scripts/mount/mount.compact_images.rb | andrehtissot/old_things | e947f6ca168939c3781de39bdf5799e49a0021a9 | [
"MIT"
] | null | null | null | pngs = get_files_recursively("build/resources/", /\.png$/i)
pngs.each do |png|
system "optipng #{ROOT_PATH}build/resources/#{png} -o 4 -quiet"
end
jpgs = get_files_recursively("build/resources/", /\.jpe?g$/i)
jpgs.each do |jpg|
system "jpegoptim --quiet #{ROOT_PATH}build/resources/#{jpg} > /dev/null"
end
| 31.1 | 75 | 0.700965 |
f4ec0fe0364dc585942d52a067d5a9f8f8c56c0e | 170 | ts | TypeScript | src/restaurant/restaurant.spec.ts | lamnv60533/nest-typeorm | 96e7d94c8d9bc0e2f0190b8827b824a6fa25ad6c | [
"MIT"
] | null | null | null | src/restaurant/restaurant.spec.ts | lamnv60533/nest-typeorm | 96e7d94c8d9bc0e2f0190b8827b824a6fa25ad6c | [
"MIT"
] | null | null | null | src/restaurant/restaurant.spec.ts | lamnv60533/nest-typeorm | 96e7d94c8d9bc0e2f0190b8827b824a6fa25ad6c | [
"MIT"
] | null | null | null | import { Restaurant } from './restaurant.entity';
describe('Restaurant', () => {
it('should be defined', () => {
expect(new Restaurant()).toBeDefined();
});
});
| 21.25 | 49 | 0.594118 |
da4fc072d382086a9ec69b93213b537691afa4a9 | 1,027 | cs | C# | src/Destiny.Core.Flow/Validation/Interceptor/ModelValidationMethodParameterValidator.cs | BaseCoreVueProject/Destiny.Core.Flow | 6977597680bff62c2367e5dbd2f29d75f5224600 | [
"Net-SNMP",
"Xnet"
] | 16 | 2020-11-03T13:15:51.000Z | 2022-02-03T08:15:32.000Z | src/Destiny.Core.Flow/Validation/Interceptor/ModelValidationMethodParameterValidator.cs | dotNetTreasury/Destiny.Core.Flow | 40a9078c2049cdfd41976cda326b951417c89c80 | [
"MIT"
] | null | null | null | src/Destiny.Core.Flow/Validation/Interceptor/ModelValidationMethodParameterValidator.cs | dotNetTreasury/Destiny.Core.Flow | 40a9078c2049cdfd41976cda326b951417c89c80 | [
"MIT"
] | 12 | 2020-11-13T08:38:01.000Z | 2022-03-30T07:50:56.000Z |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Destiny.Core.Flow.Validation.Interceptor
{
internal sealed class ModelValidationMethodParameterValidator : IMethodParameterValidator
{
private readonly IServiceProvider _provider;
public ModelValidationMethodParamet... | 29.342857 | 95 | 0.661149 |
aff8524799a2e94f4cc924fe90fee3d383128306 | 245 | py | Python | tesseract.py | Swarnava-Sadhukhan/Vehicle-Reg.-Details-using-Number-Plate | 71a11a1c348bd4707ec286cef690d197c877a864 | [
"MIT"
] | null | null | null | tesseract.py | Swarnava-Sadhukhan/Vehicle-Reg.-Details-using-Number-Plate | 71a11a1c348bd4707ec286cef690d197c877a864 | [
"MIT"
] | null | null | null | tesseract.py | Swarnava-Sadhukhan/Vehicle-Reg.-Details-using-Number-Plate | 71a11a1c348bd4707ec286cef690d197c877a864 | [
"MIT"
] | null | null | null | from PIL import Image
import pytesseract
pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe"
image = Image.open(your_image)
image_to_text = pytesseract.image_to_string(image, lang='eng')
print(image_to_text)
| 30.625 | 87 | 0.820408 |
1c8db79484bce0e31d50bf6ddece2b49e69e5d42 | 87 | sql | SQL | src/main/resources/db/migration/V_2016.06.21_21.24__BroConn_history.sql | valery1707/test-sorm | fa1c72eaa9cae33bd1a55c71b58aa5c8ac99a5ac | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V_2016.06.21_21.24__BroConn_history.sql | valery1707/test-sorm | fa1c72eaa9cae33bd1a55c71b58aa5c8ac99a5ac | [
"MIT"
] | null | null | null | src/main/resources/db/migration/V_2016.06.21_21.24__BroConn_history.sql | valery1707/test-sorm | fa1c72eaa9cae33bd1a55c71b58aa5c8ac99a5ac | [
"MIT"
] | null | null | null | ALTER TABLE bro_conn MODIFY history VARCHAR(200) COMMENT 'История состояния коннекта';
| 43.5 | 86 | 0.827586 |
ae193ecc2afa021a8bec141ade942154f5ad3601 | 8,792 | cs | C# | gui/Profiler.Data/EventTree.cs | dnikolaidis2/optick | 9c692bca0d542c768eb02db8f81f44d57f626e55 | [
"MIT"
] | 1,711 | 2019-04-15T16:39:00.000Z | 2022-03-31T22:06:38.000Z | gui/Profiler.Data/EventTree.cs | dnikolaidis2/optick | 9c692bca0d542c768eb02db8f81f44d57f626e55 | [
"MIT"
] | 69 | 2019-04-21T20:42:10.000Z | 2022-03-23T06:08:59.000Z | gui/Profiler.Data/EventTree.cs | dnikolaidis2/optick | 9c692bca0d542c768eb02db8f81f44d57f626e55 | [
"MIT"
] | 172 | 2019-04-23T05:08:55.000Z | 2022-03-31T17:30:35.000Z | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Threading;
using System.Windows.Media;
using System.ComponentModel;
namespace Profiler.Data
{
public struct FilterMode
{
public bool HideNotRelative { get; set; }
public bool... | 21.98 | 132 | 0.654117 |
c65b18529ecb5d78a5fdbc4845f3d1856bec32db | 3,341 | css | CSS | src/assets/css/mobile-gallery-settings.css | seatable/seatable-app-gallery | 6b0574ffd9c33243d1af1bc067a28b2802ca0b5e | [
"Apache-2.0"
] | null | null | null | src/assets/css/mobile-gallery-settings.css | seatable/seatable-app-gallery | 6b0574ffd9c33243d1af1bc067a28b2802ca0b5e | [
"Apache-2.0"
] | null | null | null | src/assets/css/mobile-gallery-settings.css | seatable/seatable-app-gallery | 6b0574ffd9c33243d1af1bc067a28b2802ca0b5e | [
"Apache-2.0"
] | null | null | null | .gallery-app-settings {
position: fixed;
z-index: 101;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
left: 0;
top: 0;
background-color: #F3F3F3;
}
.gallery-app-settings .dtable-gallery-app-title {
display: flex;
justify-content: space-between;
height: 50px;
width: 100%;
... | 20.496933 | 88 | 0.700688 |
b89669d75b82554c3a1ae23134ae3862681a798b | 306 | c | C | tools-src/gnu/gcc/gcc/testsuite/gcc.c-torture/compile/20021212-1.c | enfoTek/tomato.linksys.e2000.nvram-mod | 2ce3a5217def49d6df7348522e2bfda702b56029 | [
"FSFAP"
] | 178 | 2016-03-03T12:31:18.000Z | 2021-11-05T22:36:55.000Z | tools-src/gnu/gcc/gcc/testsuite/gcc.c-torture/compile/20021212-1.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 106 | 2016-03-03T13:11:42.000Z | 2018-09-27T13:01:51.000Z | tools-src/gnu/gcc/gcc/testsuite/gcc.c-torture/compile/20021212-1.c | unforgiven512/tomato | 96f09fab4929c6ddde5c9113f1b2476ad37133c4 | [
"FSFAP"
] | 69 | 2015-01-02T10:45:56.000Z | 2021-09-06T07:52:13.000Z | /* PR optimization/8334 */
/* Verify that GCC produces valid operands
after simplifying an addition. */
void foo(int m, int n, double *f)
{
int i, j, k = 1;
for (j = 0; j < n; j++) {
for (i = k; i < m; i++) {
f[i] = (double) (i * j);
f[i + j] = (double) ((i + 1) * j);
}
}
}
| 19.125 | 42 | 0.473856 |
444205daf4000403ba3fc459dc41eb80985b5f80 | 785 | py | Python | src/posts/urls.py | OmarYehia/django-social_network | 83fc6fd288fe23684409c43bf51c7fca01297481 | [
"MIT"
] | null | null | null | src/posts/urls.py | OmarYehia/django-social_network | 83fc6fd288fe23684409c43bf51c7fca01297481 | [
"MIT"
] | null | null | null | src/posts/urls.py | OmarYehia/django-social_network | 83fc6fd288fe23684409c43bf51c7fca01297481 | [
"MIT"
] | 1 | 2021-05-13T15:08:12.000Z | 2021-05-13T15:08:12.000Z | from django.urls import path
from .views import posts_index, like_unlike_post, post_delete_view, post_update_view, CommentDelete, post_notifications, follow_notifications, view_post
app_name = 'posts'
urlpatterns = [
path('', posts_index, name='posts-index'),
path('like/', like_unlike_post, name="like-unlike... | 46.176471 | 152 | 0.724841 |
07684e2ab815d622c5c74f7e22b751fe959dee2b | 102 | css | CSS | css/count.css | derrickqin/true-card-age-for-trello | 4038c2af7a75cea18aa432e74f07c2742910957c | [
"MIT"
] | 4 | 2020-09-30T00:32:32.000Z | 2021-05-04T12:34:59.000Z | css/count.css | derrickqin/true-card-age-for-trello | 4038c2af7a75cea18aa432e74f07c2742910957c | [
"MIT"
] | 1 | 2020-03-27T00:34:59.000Z | 2020-10-27T10:31:14.000Z | css/count.css | derrickqin/true-card-age-for-trello | 4038c2af7a75cea18aa432e74f07c2742910957c | [
"MIT"
] | 2 | 2020-03-06T10:45:50.000Z | 2020-05-28T00:52:16.000Z | /*
card count
*/
.list-header-num-cards {
display: inline-block!important;
white-space: nowrap;
}
| 12.75 | 34 | 0.686275 |
43ef186e7ae05c64f3b1fc0d927c31f9020cdecf | 941 | ts | TypeScript | hello-world/src/app/favorite/favorite.component.ts | Doodely/Udemy-Course | 8112a76ec99d5157c17a04fbee774fcc5cca79fd | [
"MIT"
] | null | null | null | hello-world/src/app/favorite/favorite.component.ts | Doodely/Udemy-Course | 8112a76ec99d5157c17a04fbee774fcc5cca79fd | [
"MIT"
] | null | null | null | hello-world/src/app/favorite/favorite.component.ts | Doodely/Udemy-Course | 8112a76ec99d5157c17a04fbee774fcc5cca79fd | [
"MIT"
] | null | null | null | /*
Shadow DOM:
- Specification that allows DOM tree encapsulation
- In component you can utilize
+ Emulated: utilizes shadowDOM
+ Native shadowDom: non-emulated and very dependant on browser
+ None: can leak styles
*/
import { Component, OnInit, Input, Output, EventEmitter, ViewEncapsulatio... | 24.763158 | 98 | 0.675877 |
a84b85991608035125d7d22cd8e4c6db21ee9ea8 | 5,287 | swift | Swift | ENcordNCU/StudentClass.swift | warren30815/ENcordNCU | db75cbbb626f6f0014fe8f97dcabf9d093caf74a | [
"MIT"
] | null | null | null | ENcordNCU/StudentClass.swift | warren30815/ENcordNCU | db75cbbb626f6f0014fe8f97dcabf9d093caf74a | [
"MIT"
] | null | null | null | ENcordNCU/StudentClass.swift | warren30815/ENcordNCU | db75cbbb626f6f0014fe8f97dcabf9d093caf74a | [
"MIT"
] | null | null | null | //
// StudentClass.swift
// Rec Walker
//
// Created by BnLab on 2017/9/30.
// Copyright © 2017年 BnLab. All rights reserved.
//
import UIKit
class StudentClass: UIViewController,UITableViewDataSource,UITableViewDelegate {
var Teachername = [String]()
var Practicename = [String]()
var ID = [Int](... | 37.496454 | 122 | 0.575752 |
47e572525dfcf34a5b5eaebe012c9493d20276d2 | 331 | rb | Ruby | spec/shared_examples/identity_detection_in_chile.rb | vovimayhem/mobile-subscriber-gem | 51fcdf4915101788d8c1e91eca11c4f9a18b8d92 | [
"MIT"
] | 1 | 2018-06-23T05:50:24.000Z | 2018-06-23T05:50:24.000Z | spec/shared_examples/identity_detection_in_chile.rb | vovimayhem/mobile-subscriber-gem | 51fcdf4915101788d8c1e91eca11c4f9a18b8d92 | [
"MIT"
] | null | null | null | spec/shared_examples/identity_detection_in_chile.rb | vovimayhem/mobile-subscriber-gem | 51fcdf4915101788d8c1e91eca11c4f9a18b8d92 | [
"MIT"
] | null | null | null | require "spec_helper"
shared_examples "of mobile subcriber identity detection from a valid chilean mobile network http request" do
it "the msisdn starts with '56'" do
expect(subject.msisdn).to start_with '56'
end
it "the mobile country code is '730'" do
expect(subject.mobile_country_code).to eq '730'... | 25.461538 | 108 | 0.740181 |
9ff24871cfaaa5871c5418fae4e09ba4c2761b0e | 664 | py | Python | setup.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | 3 | 2020-03-31T00:34:57.000Z | 2021-05-14T02:05:21.000Z | setup.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | null | null | null | setup.py | MSAdministrator/slack-url-utils | 59cd6f1ab0b77f607c24a7d4ecda45315e4c373e | [
"MIT"
] | 3 | 2020-03-31T16:52:07.000Z | 2021-05-14T02:05:23.000Z | from setuptools import setup, find_packages
def parse_requirements(requirement_file):
with open(requirement_file) as f:
return f.readlines()
setup(
name='slack-url-utils',
version='1.0.0',
packages=find_packages(exclude=['tests*']),
license='MIT',
description='A Python package of URL u... | 34.947368 | 91 | 0.710843 |
0a52a2746042f0bbfb3b8ff2b93a4be7e4cdd9d6 | 1,441 | cs | C# | Senai.Enderecos.WebApi/Repositories/EnderecoRepository.cs | geovannanogueira/VIACEP | 8764b09affc69489e11d4ab000038c1cf71e13af | [
"MIT"
] | null | null | null | Senai.Enderecos.WebApi/Repositories/EnderecoRepository.cs | geovannanogueira/VIACEP | 8764b09affc69489e11d4ab000038c1cf71e13af | [
"MIT"
] | 9 | 2020-09-07T14:34:35.000Z | 2022-03-24T20:22:09.000Z | enderecos/Senai.Enderecos.WebApi/Repositories/EnderecoRepository.cs | regiamariana/React-JS | 8c5db7130f2655c3295ed00d1a7166dee4b0044f | [
"MIT"
] | null | null | null | using Senai.Enderecos.WebApi.Domains;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Senai.Enderecos.WebApi.Repositories
{
public class EnderecoRepository
{
private string StringConexao = "Data Source=localhost; i... | 41.171429 | 191 | 0.637058 |
c68bad95c4e672ee2bedabc2bbab4e630ffbb47b | 737 | py | Python | src/database.py | Alchemication/third-eye | 0935c31cbe24c01dfbe9a8e02b2cef602a8eacbe | [
"MIT"
] | null | null | null | src/database.py | Alchemication/third-eye | 0935c31cbe24c01dfbe9a8e02b2cef602a8eacbe | [
"MIT"
] | null | null | null | src/database.py | Alchemication/third-eye | 0935c31cbe24c01dfbe9a8e02b2cef602a8eacbe | [
"MIT"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, scoped_session
from config import DB_FILE_PATH, LOG_DB_EVENTS
# Sql lite connection params, change connection params below to other DB for more production-ready code
engine = create_eng... | 49.133333 | 103 | 0.744912 |
0d96d6e5bf186d517ce2d2b08ea52c95db9ebb07 | 1,326 | rb | Ruby | spec/cases/mocker_spec.rb | EvilFaeton/linkedin | 05296fbccbc188de8dbc992ff12124cccc08ad27 | [
"MIT"
] | null | null | null | spec/cases/mocker_spec.rb | EvilFaeton/linkedin | 05296fbccbc188de8dbc992ff12124cccc08ad27 | [
"MIT"
] | null | null | null | spec/cases/mocker_spec.rb | EvilFaeton/linkedin | 05296fbccbc188de8dbc992ff12124cccc08ad27 | [
"MIT"
] | null | null | null | require 'helper'
class MyMocker < LinkedIn::Mocker
end
describe LinkedIn::Mocker do
before do
LinkedIn.debug = true
LinkedIn.mocking = true
end
let(:client){LinkedIn::Client.new('token', 'secret')}
it "should be able to mock search results" do
s = client.search
s.should be_an_instance_of(LinkedIn::Mash... | 26 | 97 | 0.729261 |
e2645575bef89ef217bb0819b873c44f17be3562 | 1,574 | js | JavaScript | app/containers/DiagramConstructPage/Canvas.js | 1412578/rctrdxex1 | c64c5fe566a39e8726e80dd6264836b3142c7640 | [
"MIT"
] | null | null | null | app/containers/DiagramConstructPage/Canvas.js | 1412578/rctrdxex1 | c64c5fe566a39e8726e80dd6264836b3142c7640 | [
"MIT"
] | null | null | null | app/containers/DiagramConstructPage/Canvas.js | 1412578/rctrdxex1 | c64c5fe566a39e8726e80dd6264836b3142c7640 | [
"MIT"
] | null | null | null | import React from 'react';
import {connect} from 'react-redux';
import {selectShape} from './selectors';
export class Canvas extends React.Component {
constructor(props){
super(props);
this.state = {
shapes: []
}
}
rect = () =>{
return {
type: "rect",... | 26.677966 | 138 | 0.467598 |
da30cab4cbc03aa42cd485ff30169a81e02369fa | 2,571 | php | PHP | cities/cities.php | saczmateusz/web-example-v2 | 497dd86b269fbc4f10f9f165538504c1368dbad6 | [
"MIT"
] | null | null | null | cities/cities.php | saczmateusz/web-example-v2 | 497dd86b269fbc4f10f9f165538504c1368dbad6 | [
"MIT"
] | null | null | null | cities/cities.php | saczmateusz/web-example-v2 | 497dd86b269fbc4f10f9f165538504c1368dbad6 | [
"MIT"
] | null | null | null | <?php
function getCities()
{
return json_decode(file_get_contents(__DIR__ . '/cities.json'), true);
}
function getCityById($id)
{
$cities = getCities();
foreach ($cities as $city) {
if ($city['id'] == $id) {
return $city;
}
}
return null;
}
function createCity($data)
{... | 21.974359 | 92 | 0.531311 |
8eef7dedec0a9064766d7f77a31806441b1caf02 | 47 | jbuilder | Ruby | app/views/api/events/show.json.jbuilder | cptleo92/MeetGreet | 02b4cda18e905418f67bbcc29ea51a7b4423f843 | [
"MIT"
] | null | null | null | app/views/api/events/show.json.jbuilder | cptleo92/MeetGreet | 02b4cda18e905418f67bbcc29ea51a7b4423f843 | [
"MIT"
] | null | null | null | app/views/api/events/show.json.jbuilder | cptleo92/MeetGreet | 02b4cda18e905418f67bbcc29ea51a7b4423f843 | [
"MIT"
] | null | null | null | json.partial! 'api/events/event', event: @event | 47 | 47 | 0.744681 |
75ad73ef53d6096b05853158b493ccb83d328175 | 273 | css | CSS | src/app/home/filter/color-modal/color-modal.component.css | open-student-environment/ose-client | 5b832d03fa0986c689f3d98edc06e3458705d248 | [
"MIT"
] | null | null | null | src/app/home/filter/color-modal/color-modal.component.css | open-student-environment/ose-client | 5b832d03fa0986c689f3d98edc06e3458705d248 | [
"MIT"
] | 16 | 2018-08-31T10:15:31.000Z | 2018-11-12T10:42:38.000Z | src/app/home/filter/color-modal/color-modal.component.css | open-student-environment/ose-client | 5b832d03fa0986c689f3d98edc06e3458705d248 | [
"MIT"
] | 1 | 2019-11-01T22:20:02.000Z | 2019-11-01T22:20:02.000Z | .color-picker {
display: flex;
align-items: center;
}
.gradient {
display: flex;
flex: 1;
height: 23px;
width: 100%;
margin: 12px;
/* background-image: linear-gradient(to right, red, yellow); */
}
.actions {
display: flex;
justify-content: flex-end;
} | 15.166667 | 65 | 0.637363 |
391178e7295957a95095df516f6e48435ac89ade | 1,951 | py | Python | src/export/objects/LanHostAccessPoint.py | Aloike/Freebox-Revolution-Monitoring | 2b21bb36e9dc9d6dbec1bddf22c1174a9280f28b | [
"MIT"
] | 1 | 2021-04-27T16:48:50.000Z | 2021-04-27T16:48:50.000Z | src/export/objects/LanHostAccessPoint.py | Aloike/Freebox-Revolution-Monitoring | 2b21bb36e9dc9d6dbec1bddf22c1174a9280f28b | [
"MIT"
] | 3 | 2021-09-28T11:46:30.000Z | 2021-09-28T13:02:14.000Z | src/export/objects/LanHostAccessPoint.py | Aloike/Freebox-Revolution-Monitoring | 2b21bb36e9dc9d6dbec1bddf22c1174a9280f28b | [
"MIT"
] | null | null | null | #!/usr/bin/python3
#-*- coding: utf-8 -*-
# coding: utf-8
# pylint: disable=C0103,C0111,W0621
from .. import _generic
from . import LanHostAccessPointEthInformation
from . import LanHostAccessPointWifiInformation
# ##############################################################################
# #####################... | 25.671053 | 80 | 0.541261 |
797f9aa8bbf226c0d1095ab0c6556b7b09293235 | 6,189 | php | PHP | resources/views/sales/layouts/customJs/familyAccess.blade.php | Motaweron-Web/skyPark | f963ee27c84498840e715671d2aa3a86f55621f2 | [
"MIT"
] | null | null | null | resources/views/sales/layouts/customJs/familyAccess.blade.php | Motaweron-Web/skyPark | f963ee27c84498840e715671d2aa3a86f55621f2 | [
"MIT"
] | null | null | null | resources/views/sales/layouts/customJs/familyAccess.blade.php | Motaweron-Web/skyPark | f963ee27c84498840e715671d2aa3a86f55621f2 | [
"MIT"
] | null | null | null | <script>
var table = $('.customDataTable').DataTable({
responsive: true,
paging: false
// "ordering": true,
// columnDefs: [{
// 'targets': [4, 5],
// 'orderable': false
// }, ]
});
accessWhenLoad()
functio... | 31.738462 | 99 | 0.405235 |
b0a31617ff1d0e29e4aefae33e29d7683639ff2d | 155 | py | Python | Chapter05/example03/usecmd.py | PacktPublishing/Daniel-Arbuckles-Mastering-Python | ecd1e78d95aedc832d8f5ceec4794374459e890a | [
"MIT"
] | 28 | 2017-08-10T18:21:52.000Z | 2021-11-22T11:13:01.000Z | Chapter05/example03/usecmd.py | PacktPublishing/Daniel-Arbuckles-Mastering-Python | ecd1e78d95aedc832d8f5ceec4794374459e890a | [
"MIT"
] | 2 | 2019-06-17T13:22:00.000Z | 2019-06-17T14:06:18.000Z | Chapter05/example03/usecmd.py | PacktPublishing/Daniel-Arbuckles-Mastering-Python | ecd1e78d95aedc832d8f5ceec4794374459e890a | [
"MIT"
] | 20 | 2017-07-07T16:25:50.000Z | 2022-01-11T15:57:18.000Z | import cmd
class Interface(cmd.Cmd):
prompt = 'Command: '
def do_foo(self, arg):
print(arg)
interface = Interface()
interface.cmdloop()
| 14.090909 | 26 | 0.645161 |
14624f637705a09ee0daf4dd86dd61f3a629cc5a | 452 | ts | TypeScript | resources/assets/typescript/app/app.component.ts | mbackonja/vivify-ToDoApp | 9d62ae51a17c3a73dd0980d28e72e4083e7ea002 | [
"MIT"
] | null | null | null | resources/assets/typescript/app/app.component.ts | mbackonja/vivify-ToDoApp | 9d62ae51a17c3a73dd0980d28e72e4083e7ea002 | [
"MIT"
] | null | null | null | resources/assets/typescript/app/app.component.ts | mbackonja/vivify-ToDoApp | 9d62ae51a17c3a73dd0980d28e72e4083e7ea002 | [
"MIT"
] | null | null | null | import { Component, OnInit } from '@angular/core';
import { AuthenticationService } from './authentication.service';
@Component({
selector: 'my-app',
template: require('./app.component.html')
})
export class AppComponent implements OnInit {
private loggedIn: boolean;
constructor(private authenticatio... | 25.111111 | 73 | 0.705752 |
617d68f9a696fd9f1b5c7f40da8674104d4f6ff9 | 566 | lua | Lua | campaign/scripts/power_action_mini.lua | MeAndUnique/KitNKadooble | 0943f7a9902aca4d6647b60a7cbba2953a629c08 | [
"MIT"
] | 8 | 2021-03-16T01:48:05.000Z | 2022-01-22T23:18:18.000Z | campaign/scripts/power_action_mini.lua | MeAndUnique/KitNKadooble | 0943f7a9902aca4d6647b60a7cbba2953a629c08 | [
"MIT"
] | 1 | 2022-01-31T23:06:10.000Z | 2022-01-31T23:06:10.000Z | campaign/scripts/power_action_mini.lua | MeAndUnique/KitNKadooble | 0943f7a9902aca4d6647b60a7cbba2953a629c08 | [
"MIT"
] | 1 | 2022-01-22T21:48:10.000Z | 2022-01-22T21:48:10.000Z | --
-- Please see the license.txt file included with this distribution for
-- attribution and copyright information.
--
local updateViewsOriginal;
local bIsItem;
function onInit()
bIsItem = getDatabaseNode().getPath():match("inventorylist");
updateViewsOriginal = super.updateViews;
super.updateViews = updateVie... | 19.517241 | 84 | 0.759717 |
2d30158e7ff30b09d8bdd7e524a1eb029d5d0fc3 | 1,734 | css | CSS | IndicatorsUI/MainUI/angular-app/src/app/map/practice-search/practice-search.component.css | publichealthengland/fingertips-open | 678089724a516138232d273c4c7f511ed3c5a338 | [
"MIT"
] | 2 | 2016-01-22T10:32:57.000Z | 2020-02-05T15:47:19.000Z | IndicatorsUI/MainUI/angular-app/src/app/map/practice-search/practice-search.component.css | PublicHealthEngland/fingertips-open | 678089724a516138232d273c4c7f511ed3c5a338 | [
"MIT"
] | 2 | 2021-05-06T15:49:22.000Z | 2022-03-02T01:00:49.000Z | IndicatorsUI/MainUI/angular-app/src/app/map/practice-search/practice-search.component.css | publichealthengland/fingertips-open | 678089724a516138232d273c4c7f511ed3c5a338 | [
"MIT"
] | 1 | 2016-05-09T15:43:57.000Z | 2016-05-09T15:43:57.000Z | .glyphicon {
display: none;
}
.googleMapNg {
position: relative;
background-color: #fff;
border: 1px solid #CCC;
width: 550px;
height: 600px;
margin-bottom: 10px;
margin-top: 10px;
clear: both;
overflow: hidden;
}
#default_search_header {
width: 400px;
padding-top: 10px... | 14.948276 | 35 | 0.629758 |
3395fd2de2f0d52c09334efc6d7a3752b0b936cd | 1,241 | h | C | includes/led.h | PixelNut/PixelNutApp | 75b2b1ffee82538beae6aa0f3795e647d9265aaf | [
"BSD-3-Clause"
] | null | null | null | includes/led.h | PixelNut/PixelNutApp | 75b2b1ffee82538beae6aa0f3795e647d9265aaf | [
"BSD-3-Clause"
] | null | null | null | includes/led.h | PixelNut/PixelNutApp | 75b2b1ffee82538beae6aa0f3795e647d9265aaf | [
"BSD-3-Clause"
] | null | null | null | // PixelNutApp LED Control
// Uses single LED for error/status.
//========================================================================================
/*
Copyright (c) 2015-2020, Greg de Valois
Software License Agreement (BSD License)
See license.txt for the terms of this license.
*/
#if defined(DPIN_LED)
#if defi... | 19.092308 | 90 | 0.549557 |
642f544b40b4e720e89c3e4592c46d35b032a261 | 1,514 | py | Python | pymtl3/stdlib/ifcs/XcelMsg.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | 1 | 2022-01-03T06:22:11.000Z | 2022-01-03T06:22:11.000Z | pymtl3/stdlib/ifcs/XcelMsg.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | null | null | null | pymtl3/stdlib/ifcs/XcelMsg.py | mondO/pymtl3 | 9869dda28c01926cee6da94ebdeac2a210150c62 | [
"BSD-3-Clause"
] | null | null | null | """
========================================================================
XcelMsg.py
========================================================================
Accelerator message type implementation.
Author : Yanghui Ou
Date : June 3, 2019
"""
from pymtl3 import *
def mk_xcel_msg( addr, data ):
return mk_xcel_... | 24.031746 | 72 | 0.557464 |
977bfdbf30454ba8362a54fe04170a9f625c814a | 1,825 | ts | TypeScript | packages/svg/src/icons/Iconpeach.ts | StringKe/IconPark | accda67be9ba31a4c07745eb6bc73e640df3e2be | [
"Apache-2.0"
] | null | null | null | packages/svg/src/icons/Iconpeach.ts | StringKe/IconPark | accda67be9ba31a4c07745eb6bc73e640df3e2be | [
"Apache-2.0"
] | null | null | null | packages/svg/src/icons/Iconpeach.ts | StringKe/IconPark | accda67be9ba31a4c07745eb6bc73e640df3e2be | [
"Apache-2.0"
] | null | null | null | /**
* @file IconPeach 桃子
* @author Auto Generated by IconPark
*/
/* tslint:disable: max-line-length */
/* eslint-disable max-len */
import {ISvgIconProps, IconWrapper} from '../runtime';
export default IconWrapper('IconPeach', (props: ISvgIconProps) => (
'<?xml version="1.0" encoding="UTF-8"?>'
+ '<svg wid... | 96.052632 | 463 | 0.659726 |
cd24becf93495154c79148ac2c439a1abe252014 | 160 | cs | C# | App/Interface/login/LineEdit_LoginUsername.cs | EnzoItaliano/Tamagotchi-LP | 324ceeac966f616e3ec5c53a887effc68dfce10e | [
"MIT"
] | null | null | null | App/Interface/login/LineEdit_LoginUsername.cs | EnzoItaliano/Tamagotchi-LP | 324ceeac966f616e3ec5c53a887effc68dfce10e | [
"MIT"
] | null | null | null | App/Interface/login/LineEdit_LoginUsername.cs | EnzoItaliano/Tamagotchi-LP | 324ceeac966f616e3ec5c53a887effc68dfce10e | [
"MIT"
] | null | null | null | using Godot;
using System;
public class LineEdit_LoginUsername : LineEdit {
public string get_LoginUsername_text() {
return Convert.ToString(Text);
}
}
| 13.333333 | 48 | 0.75625 |
a7468ed1a74364aca311e6a00ca469d3ae7e21ad | 163 | sql | SQL | no-more-silos/data/mssql/b00_create_db_demo.sql | jwfbean/demo-scene | 958f126d2225cd797e5b832daa9f45788243a751 | [
"Apache-2.0"
] | 1,150 | 2018-07-06T13:05:18.000Z | 2022-03-31T19:56:24.000Z | no-more-silos/data/mssql/b00_create_db_demo.sql | jwfbean/demo-scene | 958f126d2225cd797e5b832daa9f45788243a751 | [
"Apache-2.0"
] | 114 | 2018-08-21T16:55:24.000Z | 2022-03-07T09:53:56.000Z | no-more-silos/data/mssql/b00_create_db_demo.sql | jwfbean/demo-scene | 958f126d2225cd797e5b832daa9f45788243a751 | [
"Apache-2.0"
] | 732 | 2018-07-13T07:02:39.000Z | 2022-03-29T17:58:58.000Z | USE [master]
GO
CREATE DATABASE demo;
GO
ALTER DATABASE [demo] SET CONTAINMENT = PARTIAL
GO
USE [demo]
GO
CREATE USER connect_user WITH PASSWORD = 'Asgard123';
GO
| 14.818182 | 53 | 0.766871 |
c6cc98b3103b159d79deac9bc44c5feef2963767 | 2,093 | py | Python | Tools/disass/sample/apt1_cookiebag_parser.py | upxnoops/RE-Toolkit | 4d1faecbe6c4498c9d2a0b607aaaeef393076062 | [
"MIT"
] | null | null | null | Tools/disass/sample/apt1_cookiebag_parser.py | upxnoops/RE-Toolkit | 4d1faecbe6c4498c9d2a0b607aaaeef393076062 | [
"MIT"
] | null | null | null | Tools/disass/sample/apt1_cookiebag_parser.py | upxnoops/RE-Toolkit | 4d1faecbe6c4498c9d2a0b607aaaeef393076062 | [
"MIT"
] | null | null | null | #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
#############################################################################
## ##
## This file is part of Disass ##
## ... | 36.086207 | 118 | 0.474439 |
ddba39222c72236f9588fed1c44a5b9592b1f68c | 4,338 | java | Java | litho-widget/src/main/java/com/facebook/litho/widget/CardSpec.java | leochuan/litho | e26c11e77f5e370afe21bde4c73d7459fa04dd86 | [
"BSD-3-Clause"
] | 4 | 2020-04-21T10:24:00.000Z | 2020-04-21T11:22:30.000Z | litho-widget/src/main/java/com/facebook/litho/widget/CardSpec.java | leochuan/litho | e26c11e77f5e370afe21bde4c73d7459fa04dd86 | [
"BSD-3-Clause"
] | null | null | null | litho-widget/src/main/java/com/facebook/litho/widget/CardSpec.java | leochuan/litho | e26c11e77f5e370afe21bde4c73d7459fa04dd86 | [
"BSD-3-Clause"
] | 1 | 2021-11-10T10:01:33.000Z | 2021-11-10T10:01:33.000Z | /*
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | 39.081081 | 80 | 0.709313 |
fda9f141487e82e1ea3f54451410d234adc87f9e | 7,771 | css | CSS | Kairos/Perfil/PerfilEmpresa/assets/css/style.css | GabrielCoutz/Automa--es | 91860ef080c7b0e0b925cdff72cc58ce5acb5d88 | [
"MIT"
] | null | null | null | Kairos/Perfil/PerfilEmpresa/assets/css/style.css | GabrielCoutz/Automa--es | 91860ef080c7b0e0b925cdff72cc58ce5acb5d88 | [
"MIT"
] | null | null | null | Kairos/Perfil/PerfilEmpresa/assets/css/style.css | GabrielCoutz/Automa--es | 91860ef080c7b0e0b925cdff72cc58ce5acb5d88 | [
"MIT"
] | null | null | null | @font-face {
font-family: "San Francisco";
font-weight: 400;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}
#nomeEmpresaText, #FantasiaText, #cepEmpresaText,#numeroEmpresaText{
opacity: 0;
display: none;
transition: all 1s;
}
i... | 19.72335 | 183 | 0.630163 |
ef58696ea541a97f0fc88af8737659d8734206b7 | 1,975 | go | Go | protocol/lz4stream.go | Blueprint-Marketing/syncthing | 668b429615ad58cb74dc983834eaa0d1240a868a | [
"MIT"
] | null | null | null | protocol/lz4stream.go | Blueprint-Marketing/syncthing | 668b429615ad58cb74dc983834eaa0d1240a868a | [
"MIT"
] | null | null | null | protocol/lz4stream.go | Blueprint-Marketing/syncthing | 668b429615ad58cb74dc983834eaa0d1240a868a | [
"MIT"
] | 1 | 2018-12-06T03:46:09.000Z | 2018-12-06T03:46:09.000Z | package protocol
import (
"bytes"
"encoding/binary"
"errors"
"io"
"sync"
lz4 "github.com/bkaradzic/go-lz4"
)
const lz4Magic = 0x5e63b278
type lz4Writer struct {
wr io.Writer
mut sync.Mutex
buf []byte
}
func newLZ4Writer(w io.Writer) *lz4Writer {
return &lz4Writer{wr: w}
}
func (w *lz4Writer) Write(bs [... | 16.458333 | 61 | 0.608608 |
0726b6125a543a0f4c694d98cd6b31b082ee5646 | 4,421 | css | CSS | css/fail.css | JAIDEV123/Website | 951bf8f3163c4664b9272554c19638f95bf21ea8 | [
"MIT"
] | 4 | 2018-08-25T09:03:56.000Z | 2021-06-06T07:41:30.000Z | css/fail.css | JAIDEV123/Website | 951bf8f3163c4664b9272554c19638f95bf21ea8 | [
"MIT"
] | 16 | 2018-08-25T13:28:35.000Z | 2019-05-10T16:03:38.000Z | css/fail.css | JAIDEV123/Website | 951bf8f3163c4664b9272554c19638f95bf21ea8 | [
"MIT"
] | 9 | 2018-08-25T05:44:42.000Z | 2020-09-30T18:08:12.000Z | /* BEGIN CUSTOM DECLARATIONS */
@font-face {
font-family: "Bebas Neue";
src: url("../assets/fonts/BebasNeueRegular.ttf");
}
@font-face {
font-family: "Norwester";
src: url("../assets/fonts/norwester.tff"), url("../fonts/norwester.eot");
}
/* @import url('https://fonts.googleapis.com/css?family=Raleway... | 16.253676 | 77 | 0.577245 |
1a9d4e12e1c16fc7494016bea0f92767f03c7d9b | 3,504 | py | Python | facebook_scraper.py | vaibhav-karnwal/facebook-scraping | e591a2fa525655e8398cc1d17240796b7f3e8c37 | [
"MIT"
] | 2 | 2020-12-21T22:48:33.000Z | 2021-04-06T04:37:07.000Z | facebook_scraper.py | vaibhav-karnwal/facebook-scraping | e591a2fa525655e8398cc1d17240796b7f3e8c37 | [
"MIT"
] | null | null | null | facebook_scraper.py | vaibhav-karnwal/facebook-scraping | e591a2fa525655e8398cc1d17240796b7f3e8c37 | [
"MIT"
] | 1 | 2022-01-08T11:02:34.000Z | 2022-01-08T11:02:34.000Z | import argparse
import time
import json
import csv
import re
import pandas as pd
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from bs4 import BeautifulSoup
from requests_html import HTMLSession, HTML
from lxml.etree import ParserError
from credential import username, ... | 31.285714 | 154 | 0.649258 |
e0929a1f607b400412600c0013b817e484e6f5ce | 2,309 | c | C | apps/plugins/zxbox/interf.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 24 | 2015-03-10T08:43:56.000Z | 2022-01-05T14:09:46.000Z | apps/plugins/zxbox/interf.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 4 | 2015-07-04T18:15:33.000Z | 2018-05-18T05:33:33.000Z | apps/plugins/zxbox/interf.c | Rockbox-Chinese-Community/Rockbox-RCC | a701aefe45f03ca391a8e2f1a6e3da1b8774b2f2 | [
"BSD-3-Clause"
] | 15 | 2015-01-21T13:58:13.000Z | 2020-11-04T04:30:22.000Z | /*
* Copyright (C) 1996-1998 Szeredi Miklos
* Email: mszeredi@inf.bme.hu
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later... | 19.735043 | 71 | 0.623647 |
391579e3a63bd450c8f0d522cff98b53313b897b | 362 | py | Python | Python/Algorithm/DateValidation.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 148 | 2017-08-03T01:49:27.000Z | 2022-03-26T10:39:30.000Z | Python/Algorithm/DateValidation.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 3 | 2017-11-23T19:52:05.000Z | 2020-04-01T00:44:40.000Z | Python/Algorithm/DateValidation.py | piovezan/SOpt | a5ec90796b7bdf98f0675457fc4bb99c8695bc40 | [
"MIT"
] | 59 | 2017-08-03T01:49:19.000Z | 2022-03-31T23:24:38.000Z | from datetime import date
def verificacaoData():
while True:
dataForm = input('Digite a data atual no padrão dd/mm/aaaa: ')
if date.today().strftime("%d/%m/%Y") != dataForm:
print('Data informada difere da data atual.')
else:
print('Correto! Datas conferem!')
break
verificacaoData()
#... | 24.133333 | 66 | 0.665746 |
81c332155a8500bdb596cee121342a49facf84b7 | 732 | php | PHP | routes/web.php | Pablorth/voyage | 106d15d1b61045e43633d2d316f5f1f4963cdbef | [
"MIT"
] | null | null | null | routes/web.php | Pablorth/voyage | 106d15d1b61045e43633d2d316f5f1f4963cdbef | [
"MIT"
] | null | null | null | routes/web.php | Pablorth/voyage | 106d15d1b61045e43633d2d316f5f1f4963cdbef | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... | 26.142857 | 75 | 0.54918 |
df6945259905b3750dfde3fd5eed6e8bbc33cf9c | 162 | cs | C# | TemporalTwist/Interfaces/IJobProcessor.cs | blacktau/temporaltwist | eabf1cd82d4714082e995133cb4072d86fafeee7 | [
"BSD-3-Clause"
] | null | null | null | TemporalTwist/Interfaces/IJobProcessor.cs | blacktau/temporaltwist | eabf1cd82d4714082e995133cb4072d86fafeee7 | [
"BSD-3-Clause"
] | null | null | null | TemporalTwist/Interfaces/IJobProcessor.cs | blacktau/temporaltwist | eabf1cd82d4714082e995133cb4072d86fafeee7 | [
"BSD-3-Clause"
] | null | null | null | namespace TemporalTwist.Interfaces
{
using System;
public interface IJobProcessor
{
void Cancel();
void RunAsync(IJob job);
}
} | 14.727273 | 35 | 0.617284 |
fb040afa79906cc8ca3b59bf280b590cdb6591e8 | 1,769 | h | C | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/AnimGraph/NavigationHistory.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/AnimGraph/NavigationHistory.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/AnimGraph/NavigationHistory.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#if !defined(Q_MOC_RUN)
#include <MCore/Source/StandardHeaders.h>
#include <EMotionStu... | 29.483333 | 166 | 0.701526 |
4374247bdf8181082864d1bff503ded21316496c | 435 | ts | TypeScript | projects/ng-material-multilevel-menu/src/lib/materials.module.ts | alexIslander/ng-material-multilevel-menu | d97d43b2ddfb1f11c304977b154d1625194243a4 | [
"MIT"
] | 98 | 2018-08-05T15:51:44.000Z | 2021-12-07T08:02:44.000Z | projects/ng-material-multilevel-menu/src/lib/materials.module.ts | alexIslander/ng-material-multilevel-menu | d97d43b2ddfb1f11c304977b154d1625194243a4 | [
"MIT"
] | 140 | 2018-06-20T02:47:49.000Z | 2022-03-24T07:17:42.000Z | projects/ng-material-multilevel-menu/src/lib/materials.module.ts | alexIslander/ng-material-multilevel-menu | d97d43b2ddfb1f11c304977b154d1625194243a4 | [
"MIT"
] | 63 | 2018-08-29T22:03:50.000Z | 2021-12-21T07:53:44.000Z | import { NgModule } from '@angular/core';
import { MatRippleModule } from '@angular/material/core';
import { MatIconModule } from '@angular/material/icon';
import { MatListModule } from '@angular/material/list';
@NgModule({
imports: [
MatIconModule,
MatListModule,
MatRippleModule,
],
declarations: [... | 20.714286 | 57 | 0.687356 |
da699e26b12052eaf2c879bf75bdbaad610a4616 | 1,314 | swift | Swift | Sources/Core/Config/Environment.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | null | null | null | Sources/Core/Config/Environment.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | 11 | 2016-09-17T12:26:11.000Z | 2016-09-18T10:17:31.000Z | Sources/Core/Config/Environment.swift | OmnijarStudio/naamio | d8572f543c8454ea22f21552a203e3b63bd22938 | [
"MIT"
] | null | null | null | import Foundation
/// Gets the environment variable by name.
public func getEnvironmentVar(_ name: String) -> String? {
guard let rawValue = getenv(name) else {
return nil
}
return String(utf8String: rawValue)
}
/// Sets or overrides the environment variable, specified by name.
/// - Parame... | 33.692308 | 106 | 0.653729 |
a928207ac985e6b66d37fd41b73e945535858f72 | 576 | css | CSS | index.css | jratana1/bob-rpg | 60ad04edf78653c55ea273bb491ba51e3a61cd93 | [
"MIT"
] | null | null | null | index.css | jratana1/bob-rpg | 60ad04edf78653c55ea273bb491ba51e3a61cd93 | [
"MIT"
] | null | null | null | index.css | jratana1/bob-rpg | 60ad04edf78653c55ea273bb491ba51e3a61cd93 | [
"MIT"
] | null | null | null | .overlay {
position: absolute;
z-index: 1000;
color: blue;
background: rgba(189, 179, 179, 0.863);
padding: 30px;
visibility: hidden;
width: 40rem;
height: 3rem;
top: 30rem;
display: flex;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
border-ra... | 16.941176 | 43 | 0.590278 |
bc681f5ae31045f2388e6e172a7272c38fbd1b58 | 5,513 | dart | Dart | lib/screens/event/event_log.dart | kzawadi/arrive | 01a9393890059a0d245ce8f2e57d217c4c3bb2d1 | [
"BSD-3-Clause"
] | null | null | null | lib/screens/event/event_log.dart | kzawadi/arrive | 01a9393890059a0d245ce8f2e57d217c4c3bb2d1 | [
"BSD-3-Clause"
] | null | null | null | lib/screens/event/event_log.dart | kzawadi/arrive | 01a9393890059a0d245ce8f2e57d217c4c3bb2d1 | [
"BSD-3-Clause"
] | null | null | null | import 'package:at_events_flutter/common_components/bottom_sheet.dart';
import 'package:at_events_flutter/models/event_notification.dart';
import 'package:at_events_flutter/screens/map_screen/events_collapsed_content.dart';
import 'package:at_events_flutter/services/event_key_stream_service.dart';
import 'package:at_ev... | 34.242236 | 114 | 0.582623 |
3b1a1b9b9e110b91051c4254157d1ae04562e1e3 | 6,026 | dart | Dart | lib/main.dart | GreenAppers/cruzweb | 37ce55ff3b3faa9ef674607b21e49ab087cdf1a8 | [
"MIT"
] | 2 | 2019-08-09T07:33:17.000Z | 2020-02-13T16:02:43.000Z | lib/main.dart | GreenAppers/cruzweb | 37ce55ff3b3faa9ef674607b21e49ab087cdf1a8 | [
"MIT"
] | null | null | null | lib/main.dart | GreenAppers/cruzweb | 37ce55ff3b3faa9ef674607b21e49ab087cdf1a8 | [
"MIT"
] | null | null | null | // Copyright 2019 cruzweb developers
// Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
import 'dart:html';
import 'package:flutter/material.dart';
import 'package:clippy/browser.dart' as clippy;
import 'package:flutter_localizations/flutter_localizations.dart';
impo... | 32.572973 | 100 | 0.615334 |
731ff060d1a1b37307743e75f20a1d05a6722c91 | 7,698 | lua | Lua | libraries/AceSerializer-3.0/AceSerializer-3.0.lua | delirius325/SpeedyMount-BCC | 60b402d6f61320424fa50579c2207591cc64ee64 | [
"MIT"
] | 1 | 2021-07-17T14:46:19.000Z | 2021-07-17T14:46:19.000Z | libraries/AceSerializer-3.0/AceSerializer-3.0.lua | delirius325/SpeedyMount-BCC | 60b402d6f61320424fa50579c2207591cc64ee64 | [
"MIT"
] | 2 | 2021-11-01T04:31:20.000Z | 2021-11-01T04:31:53.000Z | libraries/AceSerializer-3.0/AceSerializer-3.0.lua | delirius325/SpeedyMount-BCC | 60b402d6f61320424fa50579c2207591cc64ee64 | [
"MIT"
] | null | null | null | --[[ $Id: AceSerializer-3.0.lua 494 2008-02-03 13:03:56Z nevcairiel $ ]]
local MAJOR,MINOR = "AceSerializer-3.0", 2
local AceSerializer, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not AceSerializer then return end
local strbyte = string.byte
local strchar = string.char
local tconcat = table.concat
local gsub = st... | 27.492857 | 133 | 0.647961 |
cdbd3516407b9c9bfb09ff0dae2befeda76a07d2 | 9,722 | cs | C# | Oracle.NoSQL.SDK/src/DataModel/DoubleValue.cs | oracle/nosql-dotnet-sdk | b28eec3c61bb4c4e1ffbc8740bedd4a5543c5430 | [
"UPL-1.0",
"MIT"
] | 1 | 2022-03-03T09:08:10.000Z | 2022-03-03T09:08:10.000Z | Oracle.NoSQL.SDK/src/DataModel/DoubleValue.cs | oracle/nosql-dotnet-sdk | b28eec3c61bb4c4e1ffbc8740bedd4a5543c5430 | [
"UPL-1.0",
"MIT"
] | 3 | 2021-12-10T21:45:01.000Z | 2022-03-17T02:13:25.000Z | Oracle.NoSQL.SDK/src/DataModel/DoubleValue.cs | oracle/nosql-dotnet-sdk | b28eec3c61bb4c4e1ffbc8740bedd4a5543c5430 | [
"UPL-1.0",
"MIT"
] | 2 | 2022-02-18T01:23:36.000Z | 2022-03-03T09:08:14.000Z | /*-
* Copyright (c) 2020, 2022 Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl/
*/
namespace Oracle.NoSQL.SDK
{
using System;
using System.Globalization;
using System.Text.Json;
using st... | 34.475177 | 78 | 0.495783 |
a3d16d9c15afde5a7f7c03c82a6dc0d4f84b72b7 | 376 | java | Java | spring-rest-full/src/main/java/org/baeldung/persistence/service/IFooService.java | zeesh49/tutorials | a93f2ca39ab76ef4439e11ced78d1a6f1b3bf0b2 | [
"MIT"
] | 6 | 2019-01-15T03:43:54.000Z | 2022-03-30T01:44:31.000Z | spring-rest-full/src/main/java/org/baeldung/persistence/service/IFooService.java | zeesh49/tutorials | a93f2ca39ab76ef4439e11ced78d1a6f1b3bf0b2 | [
"MIT"
] | 3 | 2021-01-21T01:26:55.000Z | 2021-12-09T22:31:33.000Z | spring-rest-full/src/main/java/org/baeldung/persistence/service/IFooService.java | zeesh49/tutorials | a93f2ca39ab76ef4439e11ced78d1a6f1b3bf0b2 | [
"MIT"
] | 8 | 2018-11-12T13:49:40.000Z | 2021-11-11T10:06:22.000Z | package org.baeldung.persistence.service;
import org.baeldung.persistence.IOperations;
import org.baeldung.persistence.model.Foo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
public interface IFooService extends IOperations<Foo> {
Foo retrieveByName(String name);
... | 25.066667 | 55 | 0.800532 |
c3dbd4a79079f5461a60b02b24431c1af221fd7c | 1,250 | cs | C# | EncodingNormalizer.UnitTest/ArgTest.cs | lindexi/EncodingNormalior | 179089e58b0bc3edefb91755bb4c081bae8afbb5 | [
"MIT"
] | 39 | 2018-06-26T01:51:03.000Z | 2022-03-10T07:02:53.000Z | EncodingNormalizer.UnitTest/ArgTest.cs | dotnet-campus/EncodingNormalior | 179089e58b0bc3edefb91755bb4c081bae8afbb5 | [
"MIT"
] | 12 | 2018-06-15T09:03:16.000Z | 2022-01-05T00:37:25.000Z | EncodingNormalizer.UnitTest/ArgTest.cs | lindexi/EncodingNormalior | 179089e58b0bc3edefb91755bb4c081bae8afbb5 | [
"MIT"
] | 10 | 2018-04-17T07:01:12.000Z | 2022-03-26T07:36:04.000Z | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EncodingNormalizer.UnitTest
{
[TestClass]
public class ArgTest
{
[TestMethod]
public void NoFolderArgTest()
{
//没有存在文件夹arg
string[] arg = new[]
{
"-f",
... | 24.509804 | 91 | 0.4536 |
03fc24efae991f3c8933fd4bd298cce2fc29f01c | 2,269 | swift | Swift | ImageMetalling-13/ImageMetalling-13/AppDelegate.swift | dnevera/ImageMetalling | d16b31f44a221dd37ca721a0ff8a84bbf2b04209 | [
"MIT"
] | 37 | 2015-11-01T06:16:35.000Z | 2022-02-12T22:44:28.000Z | ImageMetalling-13/ImageMetalling-13/AppDelegate.swift | dnevera/ImageMetalling | d16b31f44a221dd37ca721a0ff8a84bbf2b04209 | [
"MIT"
] | 1 | 2021-07-12T22:10:00.000Z | 2021-07-12T22:10:00.000Z | ImageMetalling-12/ImageMetalling-12/AppDelegate.swift | dnevera/ImageMetalling | d16b31f44a221dd37ca721a0ff8a84bbf2b04209 | [
"MIT"
] | 5 | 2017-06-14T10:30:42.000Z | 2018-10-22T21:57:47.000Z | //
// AppDelegate.swift
// ImageMetalling-12
//
// Created by denis svinarchuk on 12.06.16.
// Copyright © 2016 ImageMetalling. All rights reserved.
//
import Cocoa
import IMProcessing
import simd
enum IMPPrefs{
struct colors {
static let background = float4(x:0.1,y:0.1,z:0.1,w:1.0)
static le... | 29.467532 | 121 | 0.653151 |
6863f488e27741e029f196e796e416b155d35843 | 6,487 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_345.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_345.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_345.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 %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x740f, %rsi
lea addresses_D_ht+0xb1cb, %rdi
clflush (%rsi)
nop
nop
dec %r10
mov $89, %rcx
rep movsq
nop
nop
nop
add %rdi, %rdi
lea addresses_WT_ht+0x1643f, %rbx
nop
nop
nop
cm... | 35.064865 | 2,999 | 0.656081 |
9b570010be25242282cc6f641cb7335ab92a815b | 2,248 | sql | SQL | Module 2/module_2.sql | snalahi/SQL-for-Data-Science | e3c970a136df8db071be6e936fb5e5792c3112af | [
"MIT"
] | 1 | 2021-06-02T10:56:49.000Z | 2021-06-02T10:56:49.000Z | Module 2/module_2.sql | snalahi/SQL-for-Data-Science | e3c970a136df8db071be6e936fb5e5792c3112af | [
"MIT"
] | null | null | null | Module 2/module_2.sql | snalahi/SQL-for-Data-Science | e3c970a136df8db071be6e936fb5e5792c3112af | [
"MIT"
] | null | null | null | -- Query 1
-- Find all the tracks that have a length of 5,000,000 milliseconds or more.
-- How many tracks are returned?
Select Milliseconds,
count(TrackId) AS Tracks
From Tracks
Where Milliseconds >= 5000000
-- Query 2
-- Find all the invoices whose total is between $5 and $15 dollars.
-- How many total records are ... | 24.977778 | 124 | 0.746886 |
443697ff5e4be043883b688450f81a4e8c093f19 | 268 | py | Python | PythonExecicios/ex045.2.py | lucasohara98/Python_CursoemVideo | e5266abaf67ef3e27fe8928458b3860feb0ed46d | [
"MIT"
] | null | null | null | PythonExecicios/ex045.2.py | lucasohara98/Python_CursoemVideo | e5266abaf67ef3e27fe8928458b3860feb0ed46d | [
"MIT"
] | null | null | null | PythonExecicios/ex045.2.py | lucasohara98/Python_CursoemVideo | e5266abaf67ef3e27fe8928458b3860feb0ed46d | [
"MIT"
] | null | null | null | from random import randint
itens = ('Pedra', 'Papel', 'Tesoura')
computador = randint(0,2)
print(f'O computador escolheu {itens[computador]}')
jogador=(int(input('Qual é a sua jogada:')))
print('jogador jogou:')
print(f'o computador jogou:{itens[computador]}') | 33.5 | 52 | 0.701493 |
30894087a4739340a3a49c14524a3c817a868b1b | 1,405 | lua | Lua | modfiles/data/migrations/migration_1_1_5.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 49 | 2019-05-31T18:36:00.000Z | 2022-03-19T18:16:28.000Z | modfiles/data/migrations/migration_1_1_5.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 8 | 2019-11-20T19:44:41.000Z | 2021-10-02T19:35:07.000Z | modfiles/data/migrations/migration_1_1_5.lua | RSBat/FactoryPlanner | 475513572772ded16188f1231409e0c3d1625a4a | [
"MIT"
] | 27 | 2019-06-26T18:22:55.000Z | 2022-03-30T10:57:41.000Z | local migration = {}
function migration.global()
end
function migration.player_table(player_table)
player_table.ui_state.view_states = player_table.ui_state.view_state
player_table.preferences.toggle_column = false
end
function migration.subfactory(subfactory)
for _, floor in pairs(Subfactory.get_all_flo... | 29.893617 | 87 | 0.634875 |
edc2965edf2de920df47297679357a448d3e1355 | 106 | sql | SQL | 5.2.3/Database/Indexes/AFW_23_DETL_RESLT_RECHR_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | 1 | 2017-07-06T14:53:28.000Z | 2017-07-06T14:53:28.000Z | 5.2.3/Database/Indexes/AFW_23_DETL_RESLT_RECHR_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | 5.2.3/Database/Indexes/AFW_23_DETL_RESLT_RECHR_FK1.sql | lgcarrier/AFW | a58ef2a26cb78bb0ff9b4db725df5bd4118e4945 | [
"MIT"
] | null | null | null | SET DEFINE OFF;
CREATE INDEX AFW_23_DETL_RESLT_RECHR_FK1 ON AFW_23_DETL_RESLT_RECHR
(REF_RECHR)
LOGGING
/
| 17.666667 | 67 | 0.858491 |
43cb55cf722f92758b02d6840d040b315510ea12 | 2,727 | ts | TypeScript | client/src/components/create-broadcast/steps/configure/hooks/useTestCall.ts | sonhoangci/twilio-voice-notification-app | 3cf360c31e9b89b94c0909531172aa9dff8d5e06 | [
"Apache-2.0"
] | 20 | 2020-06-26T17:54:24.000Z | 2021-12-30T12:24:38.000Z | client/src/components/create-broadcast/steps/configure/hooks/useTestCall.ts | craigsdennis/twilio-voice-notification-app | 7de6e41289b58905843cf71d4cf43ac6faf779e7 | [
"Apache-2.0"
] | 28 | 2020-06-29T08:35:05.000Z | 2021-05-10T03:14:47.000Z | client/src/components/create-broadcast/steps/configure/hooks/useTestCall.ts | craigsdennis/twilio-voice-notification-app | 7de6e41289b58905843cf71d4cf43ac6faf779e7 | [
"Apache-2.0"
] | 21 | 2020-06-28T00:04:59.000Z | 2022-01-04T18:53:53.000Z | import { useCallback, useState, useMemo } from 'react';
import isEmpty from 'lodash.isempty';
import useFetch from 'use-http';
import { CallStatus } from '@/types';
import socketIOClient from 'socket.io-client';
const wasCallSuccesful = (callStatus: CallStatus) => {
return [
CallStatus.COMPLETED,
CallStatus.... | 28.705263 | 80 | 0.599927 |
c986c5a4659043b4d6dd937ebc53ecf71c559d8d | 1,005 | tsx | TypeScript | docs/src/docs/demos/core/Burger/burger.configurator.tsx | Rouby/mantine | b96200071f2bc4bff940a2a6cb8ed610c39545b2 | [
"MIT"
] | null | null | null | docs/src/docs/demos/core/Burger/burger.configurator.tsx | Rouby/mantine | b96200071f2bc4bff940a2a6cb8ed610c39545b2 | [
"MIT"
] | null | null | null | docs/src/docs/demos/core/Burger/burger.configurator.tsx | Rouby/mantine | b96200071f2bc4bff940a2a6cb8ed610c39545b2 | [
"MIT"
] | null | null | null | import React, { useState } from 'react';
import { Burger, ElementsGroup } from '@mantine/core';
import Configurator from '../../../../components/Configurator/Configurator';
function BurgerWrapper(props: React.ComponentPropsWithoutRef<typeof Burger>) {
const [opened, setOpened] = useState(false);
const title = open... | 27.916667 | 85 | 0.610945 |
253507f13c200c815cf6c0d6a963f2c1164fd50e | 1,558 | rb | Ruby | spec/plantmatters/gbif/species_matches_spec.rb | kspurgin/plantmatters | bd029e75d306f82f593c8357947a46dfc532e073 | [
"MIT"
] | null | null | null | spec/plantmatters/gbif/species_matches_spec.rb | kspurgin/plantmatters | bd029e75d306f82f593c8357947a46dfc532e073 | [
"MIT"
] | null | null | null | spec/plantmatters/gbif/species_matches_spec.rb | kspurgin/plantmatters | bd029e75d306f82f593c8357947a46dfc532e073 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
RSpec.describe Plantmatters::GBIF::SpeciesMatches do
let(:matches) { described_class.new(name: binomial) }
cc_vcr_opt = {cassette_name: 'matches_cercis_canadensis'}
as_vcr_opt = {cassette_name: 'matches_andropogon_scoparius'}
ds_vcr_opt = {cassette_name: 'matches_dicentra_spectab... | 27.821429 | 62 | 0.70154 |
3dce9e1b5bcc57e2837e4d4697728703f3dad1b8 | 886 | lua | Lua | test/tests/text escaping.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | test/tests/text escaping.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | test/tests/text escaping.lua | Reuh/anselme | 10af596a582f9b1d69495385469d092c1b7c95b9 | [
"0BSD"
] | null | null | null | local _={}
_[21]={}
_[20]={}
_[19]={}
_[18]={}
_[17]={}
_[16]={text="sub [text]",tags=_[21]}
_[15]={text="decorators # tag ~ condition $ fn",tags=_[20]}
_[14]={text="other codes \n \\ \9",tags=_[19]}
_[13]={text="quote \"",tags=_[18]}
_[12]={text="expression {a}",tags=_[17]}
_[11]={_[16]}
_[10]={_[15]}
_[9]={_[14]}
_[8... | 19.26087 | 59 | 0.417607 |
459e9c054a5b2d79b7932fe12e1c9017fe4d3bd3 | 1,116 | sql | SQL | 02-comparacao-char-varchar.sql | thiago-castilho/estudando-banco-de-dados | c8256dc011b373d274ad712f7ab0e50bd21b4291 | [
"Apache-2.0"
] | null | null | null | 02-comparacao-char-varchar.sql | thiago-castilho/estudando-banco-de-dados | c8256dc011b373d274ad712f7ab0e50bd21b4291 | [
"Apache-2.0"
] | null | null | null | 02-comparacao-char-varchar.sql | thiago-castilho/estudando-banco-de-dados | c8256dc011b373d274ad712f7ab0e50bd21b4291 | [
"Apache-2.0"
] | null | null | null | /* TIPAGEM DE TABELAS DE BANDO DE DADOS */
-- Caracteres literais: CHAR e VARCHAR
-- Números: FLOAT e INT
-- Fotos e documentos: BLOB
-- Textos extensos: TEXT
-- VAR de VARCHAR vem da palavra variant, ou seja, VARCHAR é dinâmico.
/* Dado CHAR(10) e VARCHAR(10), ambos preenchidos com joao. Os tamanhos serão, respecti... | 44.64 | 136 | 0.766129 |
b1828d3d2f9dc303c239282b62a2bc18139f293a | 20,528 | lua | Lua | builder/builder.lua | Anujan/opus-apps | be42cf74cd9d8a9bd405943dcfe35fc14c6984d4 | [
"MIT"
] | null | null | null | builder/builder.lua | Anujan/opus-apps | be42cf74cd9d8a9bd405943dcfe35fc14c6984d4 | [
"MIT"
] | null | null | null | builder/builder.lua | Anujan/opus-apps | be42cf74cd9d8a9bd405943dcfe35fc14c6984d4 | [
"MIT"
] | null | null | null | if not _G.turtle and not _G.commands then
error('Must be run on a turtle or a command computer')
end
local Adapter = require('core.inventoryAdapter')
local Event = require('opus.event')
local GPS = require('opus.gps')
local itemDB = require('core.itemDB')
local Schematic = require('builder.schematic')
... | 26.590674 | 104 | 0.649308 |
ed0905643418bd45d1a67cf3fce12e5ae262ce92 | 18,183 | h | C | platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/stl_algobase.h | arielscarpinelli/tuya-esp8266 | a514d624fc99b9471e910356d6cce9afc8345a50 | [
"BSD-3-Clause"
] | 39 | 2019-04-24T13:40:02.000Z | 2022-02-21T08:30:22.000Z | platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/stl_algobase.h | arielscarpinelli/tuya-esp8266 | a514d624fc99b9471e910356d6cce9afc8345a50 | [
"BSD-3-Clause"
] | 2 | 2020-02-11T23:29:47.000Z | 2020-06-05T17:29:41.000Z | platforms/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/xcc/g++/stl_algobase.h | arielscarpinelli/tuya-esp8266 | a514d624fc99b9471e910356d6cce9afc8345a50 | [
"BSD-3-Clause"
] | 31 | 2019-07-07T06:17:49.000Z | 2022-03-05T18:17:00.000Z | /*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this... | 34.502846 | 79 | 0.632844 |
628752bec6cb380b3a1bb6a8fc5fc307f721c727 | 254 | sql | SQL | backend/sql/columns.sql | praveenweb/data-dictionary | 589d0d9740c268203f36e7d99398082a56d5d13e | [
"MIT"
] | 82 | 2020-11-24T13:38:33.000Z | 2022-02-20T07:47:50.000Z | backend/sql/columns.sql | praveenweb/data-dictionary | 589d0d9740c268203f36e7d99398082a56d5d13e | [
"MIT"
] | 7 | 2020-11-24T15:12:13.000Z | 2021-04-08T17:48:55.000Z | backend/sql/columns.sql | praveenweb/data-dictionary | 589d0d9740c268203f36e7d99398082a56d5d13e | [
"MIT"
] | 4 | 2020-11-25T20:52:10.000Z | 2021-06-27T18:13:21.000Z | select
table_schema,
table_name,
column_name,
column_default,
is_nullable::bool,
data_type,
udt_name
from
information_schema.columns
where
columns.table_schema not in ('pg_catalog', 'information_schema', 'hdb_catalog') | 21.166667 | 83 | 0.716535 |
277f3015659fe8fa6e7c68d93aedbbe72dcc374b | 3,180 | kt | Kotlin | domain/src/test/java/com/telen/easylineup/domain/GetTeamCreationNextStepTests.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | null | null | null | domain/src/test/java/com/telen/easylineup/domain/GetTeamCreationNextStepTests.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | null | null | null | domain/src/test/java/com/telen/easylineup/domain/GetTeamCreationNextStepTests.kt | kaygenzo/EasyLineUp | 3941fb10aee593332bc942f96734971ab3e68600 | [
"Apache-2.0"
] | 1 | 2020-05-26T11:36:03.000Z | 2020-05-26T11:36:03.000Z | package com.telen.easylineup.domain
import android.view.View
import com.telen.easylineup.domain.model.TeamCreationStep
import com.telen.easylineup.domain.usecases.GetTeamCreationNextStep
import com.telen.easylineup.domain.usecases.GetTeamCreationStep
import io.reactivex.observers.TestObserver
import org.junit.Assert
i... | 47.462687 | 127 | 0.769497 |
9a58cb9b6ebc9ccd2f865f3f79e9d1e8440571cb | 484 | rb | Ruby | test/unit/converge/db/table/base_test.rb | azanar/converge | 7f18fc2ee9ead1d9df10f9f7fda87c3804614c49 | [
"MIT"
] | null | null | null | test/unit/converge/db/table/base_test.rb | azanar/converge | 7f18fc2ee9ead1d9df10f9f7fda87c3804614c49 | [
"MIT"
] | null | null | null | test/unit/converge/db/table/base_test.rb | azanar/converge | 7f18fc2ee9ead1d9df10f9f7fda87c3804614c49 | [
"MIT"
] | null | null | null | require File.expand_path('../../../../test_helper', __FILE__)
require 'converge/db/table/target'
class Converge::DB::Table::BaseTest < Test::Unit::TestCase
setup do
@mock_model = mock
@base = Class.new do
include Converge::DB::Table::Base
end
@table = @base.new(@mock_model)
end
test '#n... | 19.36 | 61 | 0.659091 |
8da9b9f785de5ecc7c33c40620c477f7e083848d | 3,626 | js | JavaScript | resources/js/Pages/Dashboard/Services/components/ServicesForm.js | aminlahiani/maccar_technologie | b50d59bfd08cca3247b53fa48279c5932825362c | [
"MIT"
] | null | null | null | resources/js/Pages/Dashboard/Services/components/ServicesForm.js | aminlahiani/maccar_technologie | b50d59bfd08cca3247b53fa48279c5932825362c | [
"MIT"
] | null | null | null | resources/js/Pages/Dashboard/Services/components/ServicesForm.js | aminlahiani/maccar_technologie | b50d59bfd08cca3247b53fa48279c5932825362c | [
"MIT"
] | null | null | null | import React from "react";
import Button from "@/Components/Button";
import Input from "@/Components/Input";
import Label from "@/Components/Label";
import ValidationErrors from "@/Components/ValidationErrors";
import { Link, useForm } from "@inertiajs/inertia-react";
export default function ServicesForm() {
const... | 38.989247 | 84 | 0.351351 |
38be8d41e1e994fb4af69820e1c52820f796a488 | 8,947 | php | PHP | application/models/Entries_model.php | er-ashish-chauhan/JobManagement | 3cb0e6b67ccec1e13fcf8cf25daf89bcb42fc321 | [
"MIT"
] | null | null | null | application/models/Entries_model.php | er-ashish-chauhan/JobManagement | 3cb0e6b67ccec1e13fcf8cf25daf89bcb42fc321 | [
"MIT"
] | null | null | null | application/models/Entries_model.php | er-ashish-chauhan/JobManagement | 3cb0e6b67ccec1e13fcf8cf25daf89bcb42fc321 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') or exit('No direct script access allowed');
class Entries_model extends CI_Model
{
private $table_users;
private $table_states;
public function __construct()
{
parent::__construct();
$this->table = 'admin';
$this->table_users = 'users';
$this->... | 36.81893 | 208 | 0.527663 |
f2167268765ffe76e761cc6761bc607ce690351d | 7,801 | cpp | C++ | src/nnfusion/core/operators/generic_op/generic_op_define/MaxPool.cpp | nox-410/nnfusion | 0777e297299c4e7a5071dc2ee97b87adcd22840e | [
"MIT"
] | 639 | 2020-09-05T10:00:59.000Z | 2022-03-30T08:42:39.000Z | src/nnfusion/core/operators/generic_op/generic_op_define/MaxPool.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 252 | 2020-09-09T05:35:36.000Z | 2022-03-29T04:58:41.000Z | src/nnfusion/core/operators/generic_op/generic_op_define/MaxPool.cpp | QPC-database/nnfusion | 99ada47c50f355ca278001f11bc752d1c7abcee2 | [
"MIT"
] | 104 | 2020-09-05T10:01:08.000Z | 2022-03-23T10:59:13.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "nnfusion/core/operators/generic_op/generic_op.hpp"
REGISTER_OP(MaxPool)
.infershape(nnfusion::op::infershape::unimplemented_and_not_used)
/*
.translate([](std::shared_ptr<graph::GNode> curr) -> std::string {
auto ... | 43.099448 | 182 | 0.483912 |
a42a84dcec57347bf5c1bacad673db2f488aeab8 | 446 | php | PHP | resources/views/layouts/_footer.blade.php | MonsterEdward/larabbs | 149be43565218a92f3e47b54e7eefb12394c2d61 | [
"MIT"
] | null | null | null | resources/views/layouts/_footer.blade.php | MonsterEdward/larabbs | 149be43565218a92f3e47b54e7eefb12394c2d61 | [
"MIT"
] | null | null | null | resources/views/layouts/_footer.blade.php | MonsterEdward/larabbs | 149be43565218a92f3e47b54e7eefb12394c2d61 | [
"MIT"
] | null | null | null | <footer class="footer">
<div class="container">
<p class="pull-left">
<a href="https://lihuang.monsteredward.com" target="_blank">My try</a>
</p>
{{--<p class="pull-right"><a href="mailto:edwardvewen@163.com">Contact to me</a></p> --}}
<p class="pull-right"><a href="mailto:{{ setting('contact_email') }}">联系... | 40.545455 | 96 | 0.623318 |
f42e5118666c0479404782a0ba18c316df9926af | 216 | cs | C# | POEditor.Net.Shared/Body/TermsListResponse.cs | roju-ai/POEditor.Net | a4de6768f7ad4162cb58e21a3183c805e8d4d181 | [
"MIT"
] | null | null | null | POEditor.Net.Shared/Body/TermsListResponse.cs | roju-ai/POEditor.Net | a4de6768f7ad4162cb58e21a3183c805e8d4d181 | [
"MIT"
] | null | null | null | POEditor.Net.Shared/Body/TermsListResponse.cs | roju-ai/POEditor.Net | a4de6768f7ad4162cb58e21a3183c805e8d4d181 | [
"MIT"
] | null | null | null | using POEditor.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace POEditor.Body
{
public class TermsListResponse : BaseResponseWithResult<TermsListResponseResult>
{
}
}
| 18 | 84 | 0.773148 |
02e25c9d7fb909ac840c45dff9a8a2c89b458ed1 | 703 | rs | Rust | testing/jormungandr-scenario-tests/src/programs.rs | eugene-babichenko/jormungandr | 75151bdcb77567597e2161dac17656b2a8fcd962 | [
"Apache-2.0",
"MIT"
] | 403 | 2019-01-10T11:45:16.000Z | 2022-03-27T07:23:30.000Z | testing/jormungandr-scenario-tests/src/programs.rs | eugene-babichenko/jormungandr | 75151bdcb77567597e2161dac17656b2a8fcd962 | [
"Apache-2.0",
"MIT"
] | 2,186 | 2019-01-07T14:57:01.000Z | 2022-03-31T00:40:26.000Z | testing/jormungandr-scenario-tests/src/programs.rs | eugene-babichenko/jormungandr | 75151bdcb77567597e2161dac17656b2a8fcd962 | [
"Apache-2.0",
"MIT"
] | 179 | 2019-01-10T13:17:08.000Z | 2022-02-08T11:31:14.000Z | use std::path::{Path, PathBuf};
use std::process::Command;
/// internal function to prepare an executable path name for `jormungandr` and `jcli`
///
/// if the program could not be found in the $PATH or the current path then this
/// function will panic so the tests are not executed.
pub fn prepare_command(exe: impl I... | 27.038462 | 85 | 0.651494 |
e1d10d2f53f500f6db24559a07930fa5357c0ac1 | 60,851 | cs | C# | DXInfo.DataTables/Editor.cs | zhenghua75/FairiesMemberManage | aee597086ab1016c406f630ac4edd5c329b248b1 | [
"Apache-2.0"
] | null | null | null | DXInfo.DataTables/Editor.cs | zhenghua75/FairiesMemberManage | aee597086ab1016c406f630ac4edd5c329b248b1 | [
"Apache-2.0"
] | null | null | null | DXInfo.DataTables/Editor.cs | zhenghua75/FairiesMemberManage | aee597086ab1016c406f630ac4edd5c329b248b1 | [
"Apache-2.0"
] | null | null | null | // <copyright>Copyright (c) 2014-2015 SpryMedia Ltd - All Rights Reserved</copyright>
//
// <summary>
// Editor class for reading tables as well as creating, editing and deleting rows
// </summary>
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Tex... | 32.892432 | 171 | 0.46466 |
e5962ef4a53bc8d4edb691eb6874d8488b682888 | 1,094 | swift | Swift | Sources/App/Config+Setup.swift | vkoskiv/NoMansCanvas | 5dca49ea5e396130739d8808a6fa1f118909c02b | [
"MIT"
] | 5 | 2022-02-01T19:48:14.000Z | 2022-02-04T11:39:45.000Z | Sources/App/Config+Setup.swift | vkoskiv/NoMansCanvas | 5dca49ea5e396130739d8808a6fa1f118909c02b | [
"MIT"
] | 1 | 2022-02-01T17:26:28.000Z | 2022-02-01T17:26:28.000Z | Sources/App/Config+Setup.swift | vkoskiv/NoMansCanvas | 5dca49ea5e396130739d8808a6fa1f118909c02b | [
"MIT"
] | null | null | null | import FluentProvider
import MySQLProvider
import Glibc
extension Config {
public func setup() throws {
setbuf(stdout, nil)
// allow fuzzy conversions for these types
// (add your own types here)
Node.fuzzy = [Row.self, JSON.self, Node.self]
try setupProviders()
try setupP... | 30.388889 | 102 | 0.714808 |
da8a14f8e4e72c5b04d4e4b17f6b68f955bee82d | 1,454 | php | PHP | src/MathInterface.php | autonomous411/php-expressions | 4dc7c3a4bb3f335a04cb05b0d41871529cfc9b73 | [
"MIT"
] | 5 | 2018-09-12T13:00:41.000Z | 2022-02-17T14:02:25.000Z | src/MathInterface.php | autonomous411/php-expressions | 4dc7c3a4bb3f335a04cb05b0d41871529cfc9b73 | [
"MIT"
] | 2 | 2021-02-01T09:04:48.000Z | 2021-02-01T10:14:59.000Z | src/MathInterface.php | autonomous411/php-expressions | 4dc7c3a4bb3f335a04cb05b0d41871529cfc9b73 | [
"MIT"
] | 3 | 2018-09-12T13:10:24.000Z | 2020-08-13T13:05:51.000Z | <?php
/**
* @file
*/
namespace Xylemical\Expressions;
/**
* Class MathInterface
*
* @package Xylemical\Expressions
*/
interface MathInterface
{
/**
* Add $a to $b.
*
* @param string $a
* @param string $b
* @param int $decimals
*
* @return string
*/
public functi... | 16.906977 | 52 | 0.488996 |