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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b2be9dedc797ee5542015e73f8dbbcf88ed2d88f | 282 | css | CSS | assets/css/login.css | Gasper3/symfony-blog | 2fb564b2a743b08e099f79be1beb197857afbc77 | [
"MIT"
] | null | null | null | assets/css/login.css | Gasper3/symfony-blog | 2fb564b2a743b08e099f79be1beb197857afbc77 | [
"MIT"
] | 9 | 2020-01-15T20:18:31.000Z | 2020-10-05T18:58:51.000Z | assets/css/login.css | Gasper3/symfony-blog | 2fb564b2a743b08e099f79be1beb197857afbc77 | [
"MIT"
] | null | null | null | .form-login {
display: flex;
align-items: center;
flex-direction: column;
width: 25%;
}
.checkbox {
width: 100%;
text-align: left;
margin-top: 0.5rem;
}
#inputEmail {
border-radius: 5px 5px 0 0;
}
#inputPassword {
border-radius: 0 0 5px 5px;
} | 14.1 | 31 | 0.595745 |
2def78d95b6e2a90d919af713ac1d37da9a0ca2f | 2,000 | cpp | C++ | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | #include "BasicFeature.hpp"
#include "Serialize.hpp"
using namespace std;
BasicFeature::BasicFeature()
: Feature(MaterialType::MATERIAL_TYPE_UNKNOWN, AlignmentRange::ALIGNMENT_RANGE_NEUTRAL), symbol('?'), colour(Colour::COLOUR_WHITE)
{
}
BasicFeature::BasicFeature(const MaterialType mat, const uchar new_symbol, cons... | 21.276596 | 130 | 0.7585 |
682cea39f2b6e366967292cabd95fc6ffb774369 | 204 | sql | SQL | sms-migration/src/main/resources/sql/sms/000/V1_11_00__p_pub_role_permission.sql | pleuvoir/sms-gateway | 1068b243e6b1714ca17de0222dc12c69c6d424a6 | [
"Apache-2.0"
] | 5 | 2018-11-05T03:13:27.000Z | 2019-08-06T06:56:27.000Z | sms-migration/src/main/resources/sql/sms/000/V1_11_00__p_pub_role_permission.sql | basic-history/sms-gateway | 1068b243e6b1714ca17de0222dc12c69c6d424a6 | [
"Apache-2.0"
] | null | null | null | sms-migration/src/main/resources/sql/sms/000/V1_11_00__p_pub_role_permission.sql | basic-history/sms-gateway | 1068b243e6b1714ca17de0222dc12c69c6d424a6 | [
"Apache-2.0"
] | null | null | null | ALTER TABLE PUB_ROLE_PERMISSION ADD UNIQUE (ROLE_ID, PERMISSION_ID);
ALTER TABLE PUB_ROLE_PERMISSION ADD CHECK (ROLE_ID IS NOT NULL);
ALTER TABLE PUB_ROLE_PERMISSION ADD CHECK (PERMISSION_ID IS NOT NULL); | 68 | 70 | 0.833333 |
56f37d1d96d6d8440aa71b4a171320cfafb46b9c | 501 | rs | Rust | src/engine/rendering_engine.rs | lionkeng/tigray | 0a6a370037ffe134f96b6578e9763bac50e9dac4 | [
"MIT"
] | 1 | 2021-12-25T22:54:23.000Z | 2021-12-25T22:54:23.000Z | src/engine/rendering_engine.rs | lionkeng/tigray | 0a6a370037ffe134f96b6578e9763bac50e9dac4 | [
"MIT"
] | null | null | null | src/engine/rendering_engine.rs | lionkeng/tigray | 0a6a370037ffe134f96b6578e9763bac50e9dac4 | [
"MIT"
] | null | null | null | use axum::{
body::{Bytes, Full},
http::{Response, StatusCode},
response::IntoResponse,
Json,
};
use serde_json::json;
use std::convert::Infallible;
pub struct AppError {
pub status: StatusCode,
pub error_message: String,
}
impl IntoResponse for AppError {
type Body = Full<Bytes>;
type BodyError = Inf... | 18.555556 | 50 | 0.658683 |
74c23a0fdd27e210f2effb6a3d72830840a71172 | 2,831 | css | CSS | src/pages/landing/tracks/styles.css | UPE-FIU/Landing-waves | fe2e4bdfdee7c5098aca9d12c7009c5ed72c4bb0 | [
"MIT"
] | 1 | 2020-01-07T20:48:25.000Z | 2020-01-07T20:48:25.000Z | src/pages/landing/tracks/styles.css | UPE-FIU/Landing-waves | fe2e4bdfdee7c5098aca9d12c7009c5ed72c4bb0 | [
"MIT"
] | 18 | 2019-07-12T19:34:13.000Z | 2022-02-18T05:08:50.000Z | src/pages/landing/tracks/styles.css | UPE-FIU/Landing-waves | fe2e4bdfdee7c5098aca9d12c7009c5ed72c4bb0 | [
"MIT"
] | 2 | 2019-08-05T02:12:37.000Z | 2021-03-05T01:02:50.000Z | .learning-tracks-container {
width: 100%;
}
.track-items-container {
display: flex;
flex-wrap: wrap;
width: 100%;
margin: 40px 0 0;
justify-content:space-evenly;
}
.faq-card-container {
width: 100%;
}
.fish img{
width: 150px;
display: block;
position: relati... | 19.128378 | 48 | 0.562699 |
66240156d89516ae659c3ee7adc4f28dbb7842a2 | 3,487 | py | Python | mva_tools/build_roc_simple.py | kpedro88/koza4ok | 32eaad4c7f352c53c4455e89123585607d4f4f74 | [
"MIT"
] | 11 | 2016-01-12T17:38:59.000Z | 2021-07-12T09:05:09.000Z | mva_tools/build_roc_simple.py | kpedro88/koza4ok | 32eaad4c7f352c53c4455e89123585607d4f4f74 | [
"MIT"
] | 9 | 2015-12-15T23:10:18.000Z | 2016-11-12T10:59:39.000Z | mva_tools/build_roc_simple.py | kpedro88/koza4ok | 32eaad4c7f352c53c4455e89123585607d4f4f74 | [
"MIT"
] | 7 | 2016-02-15T04:10:26.000Z | 2021-12-27T05:52:25.000Z | import sys
from array import array
import numpy as np
import ROOT
from ROOT import TH1F
xrange_bins = lambda nbins: xrange(1, nbins+1)
def build_roc(h_sig, h_bkg, verbose=0):
nbins_sig = h_sig.GetXaxis().GetNbins()
nbins_bkg = h_bkg.GetXaxis().GetNbins()
nbins = nbins_sig if nbins_sig == nbins_bkg else... | 26.618321 | 123 | 0.641239 |
b372ab4e30324f92aed03162c16fd4e5ff5a7e93 | 521 | py | Python | jp.atcoder/abc090/abc090_b/9150099.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc090/abc090_b/9150099.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc090/abc090_b/9150099.py | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | import sys
from bisect import bisect_left as bi_l
from bisect import bisect_right as bi_r
a, b = map(int, sys.stdin.readline().split())
def main():
palindromic_nums = []
for i in range(1, 10):
for j in range(10):
for k in range(10):
x = [i, j, k, j, i]
... | 23.681818 | 73 | 0.566219 |
251416fffdb2fa4356fc931e7af3c51c3a2f4703 | 1,171 | rb | Ruby | spec/mongoid/paresseux_spec.rb | chatgris/paresseux | 4bc789785af8916382642cdc32721a3406ce4120 | [
"MIT"
] | 1 | 2015-11-05T08:04:43.000Z | 2015-11-05T08:04:43.000Z | spec/mongoid/paresseux_spec.rb | chatgris/paresseux | 4bc789785af8916382642cdc32721a3406ce4120 | [
"MIT"
] | null | null | null | spec/mongoid/paresseux_spec.rb | chatgris/paresseux | 4bc789785af8916382642cdc32721a3406ce4120 | [
"MIT"
] | null | null | null | # encoding: utf-8
require "spec_helper"
class Article
VERSION = 2
include Mongoid::Document
include Mongoid::Paresseux
field :title, type: String
field :slug, type: String
end
class ArticleParesseux < Paresseux::Migration
def migration_1_to_2
model.slug = model.title.parameterize
end
end
describ... | 20.189655 | 56 | 0.683177 |
4deff818faab62f919e6bdc7d6bb1a3e1b02f10d | 1,010 | sql | SQL | sql/app_analysis.sql | Kevin-Zhouu/soup-developer-platform | 23cc3bd84584ffb30fc22bdfdcab99977de03731 | [
"MIT"
] | null | null | null | sql/app_analysis.sql | Kevin-Zhouu/soup-developer-platform | 23cc3bd84584ffb30fc22bdfdcab99977de03731 | [
"MIT"
] | null | null | null | sql/app_analysis.sql | Kevin-Zhouu/soup-developer-platform | 23cc3bd84584ffb30fc22bdfdcab99977de03731 | [
"MIT"
] | 1 | 2022-03-11T04:33:29.000Z | 2022-03-11T04:33:29.000Z | /*
Navicat Premium Data Transfer
Source Server : 127.0.0.1
Source Server Type : MySQL
Source Server Version : 50553
Source Host : localhost:3306
Source Schema : tp
Target Server Type : MySQL
Target Server Version : 50553
File Encoding : 65001
Date: 08/02/2019 22:12:3... | 29.705882 | 106 | 0.675248 |
6f5e9e557280f5cabb41e96bd228cadf93dc8ce3 | 138 | rb | Ruby | config/routes.rb | CardTapp/mongoidable | 366ef78299415a58de632badb5cfdbc95a0a38fb | [
"MIT"
] | null | null | null | config/routes.rb | CardTapp/mongoidable | 366ef78299415a58de632badb5cfdbc95a0a38fb | [
"MIT"
] | 26 | 2020-08-18T11:19:56.000Z | 2022-03-01T11:17:52.000Z | config/routes.rb | CardTapp/mongoidable | 366ef78299415a58de632badb5cfdbc95a0a38fb | [
"MIT"
] | null | null | null | # frozen_string_literal: true
Mongoidable::Engine.routes.draw do
resources :abilities, only: %i[index create]
resources :policies
end | 23 | 46 | 0.782609 |
85417f8b49122b01dd0ec10dfab37a3db45b16d2 | 398 | cs | C# | test/websites/MvcAttributeWebsite/Controllers/ViewFlushController.cs | luhis/NWebsec | b74ab38addc16df5ebac30f2113c82bf143a04ea | [
"BSD-3-Clause"
] | 531 | 2015-01-23T15:05:46.000Z | 2022-03-27T21:29:28.000Z | test/websites/MvcAttributeWebsite/Controllers/ViewFlushController.cs | luhis/NWebsec | b74ab38addc16df5ebac30f2113c82bf143a04ea | [
"BSD-3-Clause"
] | 185 | 2015-01-17T15:08:17.000Z | 2022-02-28T22:12:13.000Z | test/websites/MvcAttributeWebsite/Controllers/ViewFlushController.cs | luhis/NWebsec | b74ab38addc16df5ebac30f2113c82bf143a04ea | [
"BSD-3-Clause"
] | 85 | 2015-02-02T04:30:06.000Z | 2022-03-29T09:59:28.000Z | // Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Mvc;
using NWebsec.AspNetCore.Mvc.Csp;
namespace MvcAttributeWebsite.Controllers
{
[Csp, CspDefaultSrc(Self = true)]
public class ViewFlushController : Controller
{
publi... | 22.111111 | 99 | 0.670854 |
e76756356f796e660e527704d6e62a98aa676ef4 | 298 | php | PHP | app/Menu.php | jorgemorgado25/roscio2 | 7953f41e384f41efa44689aaba56615b70a8aea0 | [
"MIT"
] | null | null | null | app/Menu.php | jorgemorgado25/roscio2 | 7953f41e384f41efa44689aaba56615b70a8aea0 | [
"MIT"
] | null | null | null | app/Menu.php | jorgemorgado25/roscio2 | 7953f41e384f41efa44689aaba56615b70a8aea0 | [
"MIT"
] | null | null | null | <?php
namespace Roscio;
use Illuminate\Database\Eloquent\Model;
class Menu extends Model
{
protected $table = 'menus';
protected $fillable = ['categoria_plato_id', 'cantidad', 'fecha'];
public function Plato()
{
return $this->belongsTo('Roscio\Plato', 'plato_id');
}
}
| 17.529412 | 70 | 0.661074 |
5dbcd6f5f5fb732707e72a761ff1cc70ea0b752d | 1,202 | hpp | C++ | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | src/custom_topic/include/topic_pubsub/pub.hpp | IntelligentSystemsLabUTV/ros2_examples | b34d9238d680dd6b06177586f81bfed0bae31eb2 | [
"MIT"
] | null | null | null | /**
* Publisher definition.
*
* Roberto Masocco <robmasocco@gmail.com>
*
* November 22, 2021
*/
#ifndef PUB_HPP
#define PUB_HPP
#include <rclcpp/rclcpp.hpp> //! rclcpp base library
#include <ros2_examples_interfaces/msg/string.hpp> //! This time we use our own
#define PUB_PERIOD 300 // Publisher transmission ... | 26.130435 | 81 | 0.72629 |
7aec83651e92a4fa10244bfd4c059a59805e1387 | 4,963 | cs | C# | dotnet/test/WebDriver.Common.Tests/RenderedWebElementTest.cs | akiellor/selenium | 239490f9c5f3c7e7d4082bbe53c86eb5158d70a3 | [
"Apache-2.0"
] | 1 | 2018-08-24T18:01:34.000Z | 2018-08-24T18:01:34.000Z | dotnet/test/WebDriver.Common.Tests/RenderedWebElementTest.cs | akiellor/selenium | 239490f9c5f3c7e7d4082bbe53c86eb5158d70a3 | [
"Apache-2.0"
] | 1 | 2021-10-18T12:23:37.000Z | 2021-10-18T12:23:37.000Z | dotnet/test/WebDriver.Common.Tests/RenderedWebElementTest.cs | akiellor/selenium | 239490f9c5f3c7e7d4082bbe53c86eb5158d70a3 | [
"Apache-2.0"
] | 2 | 2018-04-30T21:35:30.000Z | 2021-05-14T08:11:46.000Z | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using System.Drawing;
using OpenQA.Selenium.Interactions;
namespace OpenQA.Selenium
{
[TestFixture]
public class RenderedWebElementTest : DriverTestFixture
{
[Test]
[Category("Javascript")... | 38.176923 | 111 | 0.572235 |
05dce9cd0e95ae0b9d69689b2fc1b8e59d699b78 | 543 | rb | Ruby | spec/views/api/tokens/show.json.rabl_spec.rb | unicorn-rideshare/unicorn | 3cbae7dd515686da78591617fc8f632321dc5fbb | [
"MIT"
] | null | null | null | spec/views/api/tokens/show.json.rabl_spec.rb | unicorn-rideshare/unicorn | 3cbae7dd515686da78591617fc8f632321dc5fbb | [
"MIT"
] | 4 | 2020-02-25T10:05:03.000Z | 2021-05-06T18:00:24.000Z | spec/views/api/tokens/show.json.rabl_spec.rb | unicorn-rideshare/unicorn | 3cbae7dd515686da78591617fc8f632321dc5fbb | [
"MIT"
] | 3 | 2018-03-05T18:22:38.000Z | 2019-09-15T18:23:46.000Z | require 'rails_helper'
describe 'api/tokens/show' do
let(:token) { FactoryGirl.create :token }
it 'should render token' do
@token = token
render
expect(JSON.parse(rendered)).to eq(
'id' => token.id,
'token' => token.token,
'uuid' => token.uuid,
'user' => Rabl::Renderer.new('use... | 27.15 | 81 | 0.517495 |
14be592f78c41ebe62d06564a7cfc8cc57a05989 | 633 | tsx | TypeScript | components/Link/index.tsx | MiroslavGannoha/about-me | 4cea9dcf3bc42e41b2db681b8438d00fe6baf15f | [
"MIT"
] | null | null | null | components/Link/index.tsx | MiroslavGannoha/about-me | 4cea9dcf3bc42e41b2db681b8438d00fe6baf15f | [
"MIT"
] | null | null | null | components/Link/index.tsx | MiroslavGannoha/about-me | 4cea9dcf3bc42e41b2db681b8438d00fe6baf15f | [
"MIT"
] | null | null | null | import NextLink, { LinkProps } from 'next/link';
import { useRouter } from 'next/router';
export const Link: React.FC<
LinkProps & { className?: string; activeClassName?: string }
> = ({ children, className, activeClassName, ...otherProps }) => {
const router = useRouter();
const activeClass =
activeClass... | 30.142857 | 139 | 0.635071 |
7958b04ce309c61313229795ed4d650893848a4a | 635 | php | PHP | resources/views/default/_partials/header.blade.php | softlab2/SleepingOwlAdmin | bf3f796fd94837818ea5dbecd764e48eee8780eb | [
"MIT"
] | 1 | 2020-05-15T07:18:12.000Z | 2020-05-15T07:18:12.000Z | resources/views/default/_partials/header.blade.php | softlab2/SleepingOwlAdmin | bf3f796fd94837818ea5dbecd764e48eee8780eb | [
"MIT"
] | 1 | 2021-10-05T21:14:56.000Z | 2021-10-05T21:14:56.000Z | resources/views/default/_partials/header.blade.php | softlab2/SleepingOwlAdmin | bf3f796fd94837818ea5dbecd764e48eee8780eb | [
"MIT"
] | 1 | 2019-03-19T03:32:00.000Z | 2019-03-19T03:32:00.000Z | <a href="{{ url(config('sleeping_owl.url_prefix')) }}" class="logo">
<span class="logo-lg">{!! AdminTemplate::getLogo() !!}</span>
<span class="logo-mini">{!! AdminTemplate::getLogoMini() !!}</span>
</a>
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sideb... | 28.863636 | 74 | 0.63622 |
54d82a7c8a52ec770c799aa46b7f70cfa5ac6826 | 270 | css | CSS | public/assets/css/amin.css | aminmohammadmazreali/BlogAria | 3cd061f1bb61b99c3bd1ba98e280f0e95f5a0725 | [
"MIT"
] | null | null | null | public/assets/css/amin.css | aminmohammadmazreali/BlogAria | 3cd061f1bb61b99c3bd1ba98e280f0e95f5a0725 | [
"MIT"
] | null | null | null | public/assets/css/amin.css | aminmohammadmazreali/BlogAria | 3cd061f1bb61b99c3bd1ba98e280f0e95f5a0725 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'Yekan';
src: url('/fonts/BYekan.eot');
src: local('BYekan'), url('fonts/BYekan.woff') format('woff'), url('fonts/BYekan.ttf') format('truetype'), url('BYekan.svg') format('svg');
font-weight: normal;
font-style: normal;
}
| 30 | 143 | 0.622222 |
68c03483e2ab531ebd80ea5a0b5d55722d835851 | 233 | rb | Ruby | app/models/addresses/neighborhood.rb | wilbert/addresses | fe797154cf6566b6f681dec55e966f7aed4987fa | [
"MIT"
] | 2 | 2017-04-03T01:53:48.000Z | 2020-10-30T17:57:09.000Z | app/models/addresses/neighborhood.rb | wilbert/addresses | fe797154cf6566b6f681dec55e966f7aed4987fa | [
"MIT"
] | 8 | 2018-07-31T19:32:08.000Z | 2022-03-08T21:39:28.000Z | app/models/addresses/neighborhood.rb | wilbert/addresses | fe797154cf6566b6f681dec55e966f7aed4987fa | [
"MIT"
] | 6 | 2016-07-28T17:45:17.000Z | 2020-02-14T18:47:08.000Z | # frozen_string_literal: true
module Addresses
class Neighborhood < ActiveRecord::Base
belongs_to :city
default_scope { order('name asc') }
has_many :zipcodes
validates :name, :city_id, presence: true
end
end
| 16.642857 | 45 | 0.712446 |
4d401d66ba2cf3ba5b275c203f8343a757555aca | 2,614 | swift | Swift | Sources/Mesgs/CourseMesg.swift | josephprogram/SwiftFitSDK | 86a2a56005e3a80abf1b7e1930fae5d31e6d8589 | [
"MIT"
] | 8 | 2018-12-20T02:19:35.000Z | 2021-07-15T13:45:03.000Z | Sources/Mesgs/CourseMesg.swift | josephprogram/SwiftFitSDK | 86a2a56005e3a80abf1b7e1930fae5d31e6d8589 | [
"MIT"
] | null | null | null | Sources/Mesgs/CourseMesg.swift | josephprogram/SwiftFitSDK | 86a2a56005e3a80abf1b7e1930fae5d31e6d8589 | [
"MIT"
] | 3 | 2019-09-17T09:24:56.000Z | 2019-09-18T00:43:27.000Z | public class CourseMesg : Mesg {
public enum FieldDefNum: UInt8 {
case Sport = 4
case Name = 5
case Capabilities = 6
case SubSport = 7
}
public init() {
super.init(mesg: Profile.getMesg(globalMesgNum: MesgNum.Course))
}
public init(_ mesg: Mesg)... | 31.493976 | 124 | 0.595256 |
ef35859ab5d5957700eb3487503bf0457bdcb5b8 | 33 | h | C | iRemeber/Pods/Headers/Private/WCDB/wal.h | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 1,208 | 2016-01-28T05:21:36.000Z | 2022-03-30T11:50:00.000Z | Pods/Headers/Private/WCDB/wal.h | zhaijunyu/TLChat | 9a1ec8b623356813a9179750f9f3ca2112d52ecd | [
"MIT"
] | 55 | 2016-03-04T11:18:34.000Z | 2021-10-21T07:37:59.000Z | Pods/Headers/Private/WCDB/wal.h | zhaijunyu/TLChat | 9a1ec8b623356813a9179750f9f3ca2112d52ecd | [
"MIT"
] | 423 | 2016-02-15T13:47:07.000Z | 2022-03-10T09:07:44.000Z | ../../../WCDB/sqlcipher/src/wal.h | 33 | 33 | 0.606061 |
a102593095281782bcf9f685c72098f2bfacdcc7 | 3,430 | swift | Swift | EmbeddedSocialTests/EntitiesTests/PhotoTests.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 10 | 2019-07-05T19:35:10.000Z | 2021-07-12T18:02:33.000Z | EmbeddedSocialTests/EntitiesTests/PhotoTests.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 365 | 2017-09-29T07:31:05.000Z | 2018-10-18T16:27:48.000Z | EmbeddedSocialTests/EntitiesTests/PhotoTests.swift | LDaneliukas/EmbeddedSocial-iOS-SDK | c1de4c64b9d744020d10bde8411db03968f24965 | [
"MIT"
] | 8 | 2019-08-07T07:13:30.000Z | 2021-11-10T10:11:30.000Z | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
import XCTest
@testable import EmbeddedSocial
class PhotoTests: XCTestCase {
override func setUp() {
super.setUp()
}
override fun... | 30.087719 | 108 | 0.570262 |
46ef7615a6f541a902469b8ed4f05023847b09a2 | 1,858 | py | Python | mgi/utils.py | ebelter/mgi | 37ea9cbddb3d64d3f0b9db4357f76f80a16d52e5 | [
"MIT"
] | null | null | null | mgi/utils.py | ebelter/mgi | 37ea9cbddb3d64d3f0b9db4357f76f80a16d52e5 | [
"MIT"
] | null | null | null | mgi/utils.py | ebelter/mgi | 37ea9cbddb3d64d3f0b9db4357f76f80a16d52e5 | [
"MIT"
] | null | null | null | import click, os, re
from pathlib import Path
from sqlalchemy import create_engine
from mgi.models import db
def create_db(url):
engine = create_engine(url)
db.metadata.create_all(engine)
#with engine.connect() as con, open(sql_fn, "r") as f:
# for line in f.readlines():
# con.execute(st... | 29.492063 | 156 | 0.68084 |
b89244d8e9aa71f84546f0055361daf88b746c0c | 313 | h | C | PlayPcm/WWPrivilegeControl.h | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | null | null | null | PlayPcm/WWPrivilegeControl.h | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | null | null | null | PlayPcm/WWPrivilegeControl.h | yamamoto2002/bitspersampleconv2 | 331a9fc531269e5dfdc78548e583f793a7687dc0 | [
"MIT"
] | 1 | 2020-11-12T06:55:18.000Z | 2020-11-12T06:55:18.000Z | #pragma once
#include <Windows.h>
class WWPrivilegeControl {
public:
WWPrivilegeControl(void) : hToken(nullptr) { }
~WWPrivilegeControl(void);
bool Init(void);
void Term(void);
bool SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege);
private:
HANDLE hToken;
};
| 18.411765 | 69 | 0.670927 |
a17202628a54c5425adcb2975fe86f88cd15dcfc | 132 | ts | TypeScript | src/errors.ts | uKaigo/zuraaa.js | 4a6261f14f3f581c183981e5e696bcbce3e6d7cc | [
"BSD-3-Clause"
] | 1 | 2021-04-04T21:29:21.000Z | 2021-04-04T21:29:21.000Z | src/errors.ts | uKaigo/zuraaa.js | 4a6261f14f3f581c183981e5e696bcbce3e6d7cc | [
"BSD-3-Clause"
] | null | null | null | src/errors.ts | uKaigo/zuraaa.js | 4a6261f14f3f581c183981e5e696bcbce3e6d7cc | [
"BSD-3-Clause"
] | null | null | null | export class ZuraaaException extends Error {}
/** O objeto não foi encontrado. */
export class NotFound extends ZuraaaException {}
| 26.4 | 48 | 0.772727 |
a13bc24362fdcabf95c5cdaf1a0b90d63cc55138 | 182 | ts | TypeScript | packages/design-system/src/mixins/query.ts | Ele-Peng/milkdown | 154dbe1fce5d1b3dcd029c7ec8a74cc0f814d068 | [
"MIT"
] | null | null | null | packages/design-system/src/mixins/query.ts | Ele-Peng/milkdown | 154dbe1fce5d1b3dcd029c7ec8a74cc0f814d068 | [
"MIT"
] | 1 | 2022-03-06T18:08:42.000Z | 2022-03-06T18:08:42.000Z | packages/design-system/src/mixins/query.ts | Ele-Peng/milkdown | 154dbe1fce5d1b3dcd029c7ec8a74cc0f814d068 | [
"MIT"
] | null | null | null | export const query = (_: unknown, width: string) => {
return {
[`@media only screen and (min-width: ${width})`]: {
'@mixin-content': {},
},
};
};
| 22.75 | 59 | 0.461538 |
a40e4040e13af402ef42224b490656e909572ddb | 116,892 | rs | Rust | 05_wordle/src/wordle.rs | yu-ichiro/rust-playground | e7f1293e150f0e04b5c32e6d19ebde456ab389f9 | [
"Apache-2.0"
] | null | null | null | 05_wordle/src/wordle.rs | yu-ichiro/rust-playground | e7f1293e150f0e04b5c32e6d19ebde456ab389f9 | [
"Apache-2.0"
] | null | null | null | 05_wordle/src/wordle.rs | yu-ichiro/rust-playground | e7f1293e150f0e04b5c32e6d19ebde456ab389f9 | [
"Apache-2.0"
] | null | null | null | use std::collections::HashSet;
pub fn words() -> HashSet<String> {
HashSet::from([
"aahed", "aalii", "aargh", "aarti", "abaca", "abaci", "aback", "abacs", "abaft", "abaka", "abamp", "aband", "abase", "abash", "abask", "abate", "abaya", "abbas", "abbed", "abbes", "abbey", "abbot", "abcee", "abeam", "abear",... | 14,611.5 | 116,754 | 0.555581 |
44df1ea1348f0a59920cdcaeb731ea0c852a7b54 | 638 | lua | Lua | app/src/main/assets/Files/games/default/files/mobs_animal/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/Files/games/default/files/mobs_animal/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null | app/src/main/assets/Files/games/default/files/mobs_animal/init.lua | sergcomp/mobilecraft-v-1.0 | b42d56cb0a24dabe32676a9b7c401b5e2ef1eaed | [
"Apache-2.0"
] | null | null | null |
local path = minetest.get_modpath("mobs_animal")
-- Animals
dofile(path .. "/chicken.lua") -- JKmurray
dofile(path .. "/cow.lua") -- KrupnoPavel
dofile(path .. "/sheep.lua") -- PilzAdam
dofile(path .. "/bunny.lua") -- ExeterDad
dofile(path .. "/kitten.lua") -- Jordach/BFD
dofile(path .. "/dog.lua") -- KrupnoPavel
do... | 24.538462 | 48 | 0.675549 |
f7375322d294c53f76e78d2383f8a4a2a2112244 | 473 | rb | Ruby | app/models/investigador.rb | gtrujillop/presupuesto_analytics | 657414d6f178c11c248e4ab557484b2703999879 | [
"MIT"
] | null | null | null | app/models/investigador.rb | gtrujillop/presupuesto_analytics | 657414d6f178c11c248e4ab557484b2703999879 | [
"MIT"
] | null | null | null | app/models/investigador.rb | gtrujillop/presupuesto_analytics | 657414d6f178c11c248e4ab557484b2703999879 | [
"MIT"
] | 1 | 2021-06-29T17:05:28.000Z | 2021-06-29T17:05:28.000Z | # == Schema Information
#
# Table name: investigadores
#
# id :bigint not null, primary key
# apellidos :string
# cedula :integer
# nombres :string
#
# Indexes
#
# uk_cedula_investigador (cedula) UNIQUE
# uk_nombres_apellidos_investigador (nombres,apellidos) UNIQUE
#
class Inves... | 19.708333 | 64 | 0.678647 |
38d1f0f29580c4af26118d54d5beafc94c907d57 | 1,965 | php | PHP | resources/views/admin/adform/edit.blade.php | xingyonghe/bohanCMS | 729016e207064a1ed84d3f5a19dc0250fedcdc00 | [
"MIT"
] | null | null | null | resources/views/admin/adform/edit.blade.php | xingyonghe/bohanCMS | 729016e207064a1ed84d3f5a19dc0250fedcdc00 | [
"MIT"
] | null | null | null | resources/views/admin/adform/edit.blade.php | xingyonghe/bohanCMS | 729016e207064a1ed84d3f5a19dc0250fedcdc00 | [
"MIT"
] | null | null | null | <div class="row">
<div class="col-lg-12">
<section class="panel">
<div class="panel-body">
<div class=" form">
{!! Form::open(['url' => route('admin.adform.update'),'class'=>'cmxform form-horizontal tasi-form form-datas']) !!}
<input type=... | 53.108108 | 139 | 0.402545 |
05ddd3c3d096c1965705a10e40ccb156bd30be61 | 321 | py | Python | test/ex1/ex1/common/misc.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | test/ex1/ex1/common/misc.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | test/ex1/ex1/common/misc.py | nrgxtra/web_framework | dd84968a77b84a03d66c5db190b28bffc479f05e | [
"MIT"
] | null | null | null | from ex1.expense_app.models import Expense
from ex1.profile_app.models import Profile
def get_profile():
return Profile.objects.first()
def get_budget_left():
user = Profile.objects.first()
expenses = Expense.objects.all()
result = user.budget - sum([ex.price for ex in expenses])
return result
... | 20.0625 | 61 | 0.722741 |
79c03574299ce8a97dd721ac44c5244cb6696f1b | 1,658 | php | PHP | src/Services/AdobeConnect/WebAPI/Commands/MeetingFeatureUpdate.php | peynman/press-adobeconnect | 105b63254c09850607475fefe19b88fd83d166c7 | [
"MIT"
] | null | null | null | src/Services/AdobeConnect/WebAPI/Commands/MeetingFeatureUpdate.php | peynman/press-adobeconnect | 105b63254c09850607475fefe19b88fd83d166c7 | [
"MIT"
] | null | null | null | src/Services/AdobeConnect/WebAPI/Commands/MeetingFeatureUpdate.php | peynman/press-adobeconnect | 105b63254c09850607475fefe19b88fd83d166c7 | [
"MIT"
] | null | null | null | <?php
namespace Larapress\AdobeConnect\Services\AdobeConnect\WebAPI\Commands;
use Larapress\AdobeConnect\Services\AdobeConnect\WebAPI\Command;
use Larapress\AdobeConnect\Services\AdobeConnect\WebAPI\Converter\Converter;
use Larapress\AdobeConnect\Services\AdobeConnect\WebAPI\Helpers\StatusValidate;
use Larapress\Adob... | 27.180328 | 102 | 0.625452 |
3851003b7713ad38269b9c8d09a5ef50bc42ba2e | 221 | php | PHP | storage/framework/views/44e77e1e3270b6c28c08d026a8a26ff7db86e783.php | alabirahad/bloodBank | 4ab774100ff95786c814f7da029f83a5a5deccb7 | [
"MIT"
] | null | null | null | storage/framework/views/44e77e1e3270b6c28c08d026a8a26ff7db86e783.php | alabirahad/bloodBank | 4ab774100ff95786c814f7da029f83a5a5deccb7 | [
"MIT"
] | null | null | null | storage/framework/views/44e77e1e3270b6c28c08d026a8a26ff7db86e783.php | alabirahad/bloodBank | 4ab774100ff95786c814f7da029f83a5a5deccb7 | [
"MIT"
] | null | null | null | <?php echo Form::select('term_id', $termList, null, ['class' => 'form-control js-source-states', 'id' => 'termId']); ?><?php /**PATH E:\Xampp\htdocs\afwc\resources\views/eventToApptMatrix/showTerm.blade.php ENDPATH**/ ?> | 221 | 221 | 0.683258 |
2fd30bbd15b0722c5160c27ab0b0eb48e83d7fcf | 537 | py | Python | tests/test_utils.py | smaeda-ks/twitter-python-ads-sdk-v2 | 2e9578c6f2e3ff431405677cf00d98b5f617d88c | [
"MIT"
] | null | null | null | tests/test_utils.py | smaeda-ks/twitter-python-ads-sdk-v2 | 2e9578c6f2e3ff431405677cf00d98b5f617d88c | [
"MIT"
] | null | null | null | tests/test_utils.py | smaeda-ks/twitter-python-ads-sdk-v2 | 2e9578c6f2e3ff431405677cf00d98b5f617d88c | [
"MIT"
] | null | null | null | from twitter_ads_v2.utils import CustomDecorators
def test_decorator_deprecated():
import warnings
class TestClass(object):
@classmethod
@CustomDecorators.deprecated('deprecated API')
def test(self):
pass
with warnings.catch_warnings(record=True) as log:
TestC... | 28.263158 | 63 | 0.66108 |
b0f2574cffd9be886cb958a4c195295adcfeb5dc | 4,572 | py | Python | main.py | njpd57/Proyecto-Ricoloso | cf423460bd21933afa5b761c084d5fcf71b21780 | [
"Apache-2.0"
] | null | null | null | main.py | njpd57/Proyecto-Ricoloso | cf423460bd21933afa5b761c084d5fcf71b21780 | [
"Apache-2.0"
] | null | null | null | main.py | njpd57/Proyecto-Ricoloso | cf423460bd21933afa5b761c084d5fcf71b21780 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python3.9
"""
____ _
| _ \ _ __ ___ _ _ ___ ___| |_ ___
| |_) | '__/ _ \| | | |/ _ \/ __| __/ _ \
| __/| | | (_) | |_| | __/ (__| || (_) |
|_| |_| \___/ \__, |\___|\___|\__\___/
|___/
____ _... | 50.8 | 193 | 0.209974 |
7df18cc394d5de77c63485a603cbbe45e124473d | 2,009 | css | CSS | main/static/main/login.css | TeselaGen/jbei-edd | 92792fb30bbd504143b2f75bf08d05b141a7ef6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | main/static/main/login.css | TeselaGen/jbei-edd | 92792fb30bbd504143b2f75bf08d05b141a7ef6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | main/static/main/login.css | TeselaGen/jbei-edd | 92792fb30bbd504143b2f75bf08d05b141a7ef6f | [
"BSD-3-Clause-LBNL"
] | null | null | null | .login_form {
margin: 100px auto;
padding: 20px 30px;
width: 400px;
}
.login_form > fieldset > div {
clear: both;
margin-bottom: 0.5em;
min-height: 1.5em;
padding: 0 0 5px 80px;
}
.login_form > fieldset > div > label,
.login_form > fieldset > p > label {
display: inline-block;
float:... | 21.602151 | 71 | 0.681434 |
2581f7b0969232382505050d1b22b90418f91ea9 | 2,941 | js | JavaScript | __test__/react.app.test.js | hrr41-FEC-krillin/viewER | dd4bfa257d0d2c97f3082e6e98196e2f03202849 | [
"ISC"
] | null | null | null | __test__/react.app.test.js | hrr41-FEC-krillin/viewER | dd4bfa257d0d2c97f3082e6e98196e2f03202849 | [
"ISC"
] | 3 | 2021-03-09T21:33:16.000Z | 2021-05-10T18:10:15.000Z | __test__/react.app.test.js | hrr41-FEC-krillin/viewER | dd4bfa257d0d2c97f3082e6e98196e2f03202849 | [
"ISC"
] | 1 | 2019-10-29T22:40:14.000Z | 2019-10-29T22:40:14.000Z | /** Configure Enzyme */
import { configure } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
configure({ adapter: new Adapter() });
/** Testing */
import 'jsdom-global/register';
import React from 'react';
import { shallow, mount, render} from 'enzyme';
import App from '../client/components/app.jsx';
i... | 28.553398 | 202 | 0.644339 |
28383587f1c8ecdfb1afa6a3b1facdf3e6ac76ea | 2,851 | dart | Dart | lib/core/presentation/widgets/warframe_container.dart | Juliotati/warframe | fd43cefa5a5ef3c6dbcb464c6ef54251e3d4b07c | [
"MIT"
] | 4 | 2021-04-15T01:04:31.000Z | 2022-02-03T12:56:43.000Z | lib/core/presentation/widgets/warframe_container.dart | Juliotati/warframe | fd43cefa5a5ef3c6dbcb464c6ef54251e3d4b07c | [
"MIT"
] | 28 | 2021-02-28T01:44:27.000Z | 2022-01-15T12:56:25.000Z | lib/core/presentation/widgets/warframe_container.dart | Juliotati/warframe | fd43cefa5a5ef3c6dbcb464c6ef54251e3d4b07c | [
"MIT"
] | null | null | null | part of presentation;
class WarframeContainer extends StatefulWidget {
const WarframeContainer({
Key? key,
this.withShadow = false,
this.height,
this.child,
this.width,
this.centerChild = false,
this.verticalPadding = 8.0,
this.horizontalPadding = 12.0,
this.horizontalMargin = 12.... | 27.679612 | 77 | 0.58611 |
e410c3d9f071cd9d30a2b52cec8a1211636b57c2 | 246 | cs | C# | src/Promenade.Service/Interfaces/Repositories/IScheduleRequestSubjectTextRepository.cs | haraldnagel/ocuda | 5d82406de7bb212ea4876847584e2e1051909abe | [
"MIT"
] | null | null | null | src/Promenade.Service/Interfaces/Repositories/IScheduleRequestSubjectTextRepository.cs | haraldnagel/ocuda | 5d82406de7bb212ea4876847584e2e1051909abe | [
"MIT"
] | 50 | 2018-07-06T17:47:26.000Z | 2022-02-22T19:44:20.000Z | src/Promenade.Service/Interfaces/Repositories/IScheduleRequestSubjectTextRepository.cs | haraldnagel/ocuda | 5d82406de7bb212ea4876847584e2e1051909abe | [
"MIT"
] | 3 | 2018-05-30T19:53:27.000Z | 2018-05-30T21:13:33.000Z | using System.Threading.Tasks;
namespace Ocuda.Promenade.Service.Interfaces.Repositories
{
public interface IScheduleRequestSubjectTextRepository
{
Task<string> GetByIdsAsync(int scheduleRequestSubjectId, int languageId);
}
} | 27.333333 | 81 | 0.780488 |
741676fbc73527f5f5d21c8a0b208563895bc128 | 252,976 | css | CSS | mnr-mta-app/platforms/android/app/src/main/assets/www/styles.9fe005744fb4cdc6d66f.css | bhuvneshkr/virtual-hack-MNR-MTA | f2fce452fe1040729ec390c7b288468d4ce1bc1e | [
"MIT"
] | null | null | null | mnr-mta-app/platforms/android/app/src/main/assets/www/styles.9fe005744fb4cdc6d66f.css | bhuvneshkr/virtual-hack-MNR-MTA | f2fce452fe1040729ec390c7b288468d4ce1bc1e | [
"MIT"
] | null | null | null | mnr-mta-app/platforms/android/app/src/main/assets/www/styles.9fe005744fb4cdc6d66f.css | bhuvneshkr/virtual-hack-MNR-MTA | f2fce452fe1040729ec390c7b288468d4ce1bc1e | [
"MIT"
] | null | null | null | @charset "UTF-8";@font-face{font-family:primeicons;font-display:auto;src:url(primeicons.9868d68fa1bf5f4b6119.eot);src:url(primeicons.9868d68fa1bf5f4b6119.eot?#iefix) format("embedded-opentype"),url(primeicons.e78e6d8e7dfc3a27e7ee.ttf) format("truetype"),url(primeicons.42a056b9cc42634d97e2.woff) format("woff"),url(prime... | 252,976 | 252,976 | 0.786482 |
4cb77c5a3043130ba1724ccf258e4984fafc9e8d | 2,583 | lua | Lua | sandbox/lib/jumpscale/JumpscaleLibs/clients/tarantool/models/user/test.lua | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 2 | 2019-05-09T07:21:25.000Z | 2019-08-05T06:37:53.000Z | sandbox/lib/jumpscale/JumpscaleLibs/clients/tarantool/models/user/test.lua | threefoldtech/threebot_prebuilt | 1f0e1c65c14cef079cd80f73927d7c8318755c48 | [
"Apache-2.0"
] | 664 | 2018-12-19T12:43:44.000Z | 2019-08-23T04:24:42.000Z | Jumpscale/clients/tarantool/models/user/test.lua | threefoldtech/jumpscale10 | 5fb073a82aeb0e66fc7d9660c45a1e31bc094bfa | [
"Apache-2.0"
] | 7 | 2019-05-03T07:14:37.000Z | 2019-08-05T12:36:52.000Z | box.cfg()
box.schema.space.create('user',{if_not_exists= true, engine="memtx"})
box.space.user:create_index('primary',{ parts = {1, 'unsigned'}, if_not_exists= true})
--create 2nd index for e.g. name
box.space.user:create_index('secondary', {type = 'tree', parts = {2, 'string'}, if_not_exists= true})
box.schema.use... | 27.774194 | 127 | 0.678281 |
4dde1e38e1612ecd7e7b2d431f7f35df1a5ddb4f | 8,862 | ps1 | PowerShell | extensions/DeployTabularModel/test/DeployTabularModelIntegration.Tests.ps1 | DrJohnT/AzureDevOpsExtensionsForSqlServer | 44d5857793d52074573886fdea679210134e8656 | [
"MIT"
] | 10 | 2019-06-24T22:48:35.000Z | 2021-12-23T23:05:14.000Z | extensions/DeployTabularModel/test/DeployTabularModelIntegration.Tests.ps1 | DrJohnT/AzureDevOpsExtensionsForSqlServer | 44d5857793d52074573886fdea679210134e8656 | [
"MIT"
] | 38 | 2019-05-21T19:26:39.000Z | 2022-02-06T21:50:00.000Z | extensions/DeployTabularModel/test/DeployTabularModelIntegration.Tests.ps1 | DrJohnT/AzureDevOpsExtensionsForSqlServer | 44d5857793d52074573886fdea679210134e8656 | [
"MIT"
] | 12 | 2019-06-21T06:22:02.000Z | 2021-01-11T19:23:41.000Z | BeforeAll {
# See https://github.com/Microsoft/azure-pipelines-task-lib/blob/master/powershell/Docs/TestingAndDebugging.md
$CurrentFolder = Split-Path -Parent $PSScriptRoot;
$psModules = Resolve-Path "$CurrentFolder\..\PublishDacPac\PublishDacPacTask\ps_modules";
Import-Module "$psModules\Vs... | 44.757576 | 139 | 0.640149 |
529c639fd4244ba21e39294a965538fb5a11c00d | 4,385 | rb | Ruby | lib/openttd/payload/tcp_server.rb | lantins/openttd-ruby | 3e1f51e10de3a5368d9a31008657679d1d5714c0 | [
"MIT"
] | 2 | 2016-03-12T21:32:04.000Z | 2021-04-07T05:37:00.000Z | lib/openttd/payload/tcp_server.rb | lantins/openttd-ruby | 3e1f51e10de3a5368d9a31008657679d1d5714c0 | [
"MIT"
] | null | null | null | lib/openttd/payload/tcp_server.rb | lantins/openttd-ruby | 3e1f51e10de3a5368d9a31008657679d1d5714c0 | [
"MIT"
] | null | null | null | module OpenTTD
module Payload
# callback
class TcpServerChat < OpenTTD::Encoding
uint8 :action_id
uint32le :client_id
uint8 :self_sent
stringz :message
uint64le :data
boolean_encoding :self_sent
lookup_encoding :action_id
def encodeing_lookup_map
... | 24.634831 | 111 | 0.639909 |
797939049927bdcd0aff722b8eaf25240e1b1d9e | 329 | php | PHP | _script/migration/migrations/20180327204104_manual_censor.php | Tekstove/tekstove-api | e25419d65015d40b455cacf4eee1a14056d84e45 | [
"MIT"
] | 1 | 2016-10-15T19:20:35.000Z | 2016-10-15T19:20:35.000Z | _script/migration/migrations/20180327204104_manual_censor.php | Tekstove/tekstove-api | e25419d65015d40b455cacf4eee1a14056d84e45 | [
"MIT"
] | 5 | 2017-07-16T17:04:59.000Z | 2019-01-13T13:02:09.000Z | _script/migration/migrations/20180327204104_manual_censor.php | Tekstove/tekstove-api | e25419d65015d40b455cacf4eee1a14056d84e45 | [
"MIT"
] | 1 | 2016-08-18T10:35:52.000Z | 2016-08-18T10:35:52.000Z | <?php
use Phinx\Migration\AbstractMigration;
class ManualCensor extends AbstractMigration
{
public function up()
{
$this->query(
"
ALTER TABLE
lyric
ADD
manual_censor TINYINT NOT NULL DEFAULT 0
"
);... | 17.315789 | 60 | 0.474164 |
b2cdf0dbf6e2a8005c7f03730ec4d221e38e94ba | 1,164 | css | CSS | src/css/App.css | buzakina/funbox | cfc560c1a0463c8a72d0851a2cad2453b8a3130c | [
"MIT"
] | null | null | null | src/css/App.css | buzakina/funbox | cfc560c1a0463c8a72d0851a2cad2453b8a3130c | [
"MIT"
] | null | null | null | src/css/App.css | buzakina/funbox | cfc560c1a0463c8a72d0851a2cad2453b8a3130c | [
"MIT"
] | null | null | null | @font-face {
font-family: 'exo';
src: url('../fonts/exo2thin.otf');
}
html, body {
height:100%;
}
html{
background-image: url('../img/bg_wrapper.png');
}
body{
font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif;
background: -moz-linear-gradient(top, rgba(0,... | 22.823529 | 120 | 0.606529 |
6d920b9accf6892c8836504f65ada91eb0a490a8 | 585 | ts | TypeScript | client/app/remote-control/connection-overlay/connection-overlay.component.ts | n4bb12/movie-remote-control | c7a482e3dbc21705ccc66cadf7867f62aeee696d | [
"ISC"
] | 2 | 2018-10-25T19:05:55.000Z | 2018-11-22T11:39:35.000Z | client/app/remote-control/connection-overlay/connection-overlay.component.ts | n4bb12/movie-remote-control | c7a482e3dbc21705ccc66cadf7867f62aeee696d | [
"ISC"
] | 8 | 2018-10-28T21:42:54.000Z | 2018-11-28T21:31:42.000Z | client/app/remote-control/connection-overlay/connection-overlay.component.ts | n4bb12/movie-remote-control | c7a482e3dbc21705ccc66cadf7867f62aeee696d | [
"ISC"
] | null | null | null | import { ChangeDetectionStrategy, Component } from "@angular/core"
import { WebsocketService } from "../websocket.service"
@Component({
selector: "ConnectionOverlay",
templateUrl: "./connection-overlay.component.html",
styleUrls: ["./connection-overlay.component.scss"],
changeDetection: ChangeDetectionStrateg... | 22.5 | 66 | 0.700855 |
a15b16429478123e039b214cbad2bea5c1cb036d | 1,303 | ts | TypeScript | src/store/channel/__tests__/actions.test.ts | ben-garcia/stack-client | 5d8d24163106b5e3dbb0e25969c8dc726b576fb7 | [
"MIT"
] | null | null | null | src/store/channel/__tests__/actions.test.ts | ben-garcia/stack-client | 5d8d24163106b5e3dbb0e25969c8dc726b576fb7 | [
"MIT"
] | 1 | 2022-02-26T20:53:24.000Z | 2022-02-26T20:53:24.000Z | src/store/channel/__tests__/actions.test.ts | ben-garcia/stack-client | 5d8d24163106b5e3dbb0e25969c8dc726b576fb7 | [
"MIT"
] | null | null | null | import {
getCurrentChannel,
updateChannelTopic,
updateChannelDescription,
} from '../actions';
describe('channel actions', () => {
const channel = {
createdAt: '',
description: 'description',
id: 1,
name: 'name',
private: false,
topic: 'topic',
updatedAt: '',
};
describe('getCu... | 27.723404 | 75 | 0.623945 |
0af015bb5dda684ac24bf5eff52afdf2d95c5b4d | 234 | kt | Kotlin | KotlinDemo/app/src/main/java/com/renyu/kotlindemo/model/IUserModel.kt | elina8013/android_demo | d8cef19d06a4f21f7cf2c277bbabba8cf10a8608 | [
"Apache-2.0"
] | 666 | 2015-03-18T02:09:34.000Z | 2021-08-25T06:24:27.000Z | KotlinDemo/app/src/main/java/com/renyu/kotlindemo/model/IUserModel.kt | shanjiaxiang/android_demo | d1afa66c30ae5b3c09a39f4c36c61640615177bb | [
"Apache-2.0"
] | 7 | 2017-04-26T07:06:49.000Z | 2019-07-08T08:05:13.000Z | KotlinDemo/app/src/main/java/com/renyu/kotlindemo/model/IUserModel.kt | shanjiaxiang/android_demo | d1afa66c30ae5b3c09a39f4c36c61640615177bb | [
"Apache-2.0"
] | 371 | 2015-03-18T02:09:33.000Z | 2021-09-10T02:41:05.000Z | package com.renyu.kotlindemo.model
import com.renyu.kotlindemo.bean.User
/**
* Created by Administrator on 2017/9/18.
*/
interface IUserModel {
fun setUserName(name: String)
fun setAge(age: Int)
fun getUser() : User?
} | 19.5 | 41 | 0.705128 |
457d524f881c145cca7afc17ae0586e8d7073a89 | 334 | py | Python | Tkinter/p15_37.py | myboyhood/python_learning | 9c4c81af783156f1a20b5d0dbd4f3291d62e0851 | [
"MIT"
] | null | null | null | Tkinter/p15_37.py | myboyhood/python_learning | 9c4c81af783156f1a20b5d0dbd4f3291d62e0851 | [
"MIT"
] | null | null | null | Tkinter/p15_37.py | myboyhood/python_learning | 9c4c81af783156f1a20b5d0dbd4f3291d62e0851 | [
"MIT"
] | null | null | null | from tkinter import *
root = Tk()
w = Canvas(root, width=400, height=200)
w.pack()
def paint(event):
x1, y1 = (event.x - 1), (event.y - 1)
x2, y2 = (event.x + 1), (event.y + 1)
w.create_oval(x1, y1, x2, y2, fill="blue")
w.bind("<B1-Motion>", paint)
Label(root, text="you can draw above").pack(side=BOTT... | 19.647059 | 56 | 0.601796 |
e1a65fa5fda87263eea4e8c6faf40d26b2ba9633 | 79,977 | cpp | C++ | test/decompiler/test_gkernel_decomp.cpp | ManDude/jak-project | 17deacebf4c14baa9a9beabd9dfc9cad70ba96df | [
"0BSD"
] | null | null | null | test/decompiler/test_gkernel_decomp.cpp | ManDude/jak-project | 17deacebf4c14baa9a9beabd9dfc9cad70ba96df | [
"0BSD"
] | null | null | null | test/decompiler/test_gkernel_decomp.cpp | ManDude/jak-project | 17deacebf4c14baa9a9beabd9dfc9cad70ba96df | [
"0BSD"
] | null | null | null | #include "gtest/gtest.h"
#include "FormRegressionTest.h"
using namespace decompiler;
TEST_F(FormRegressionTest, ExprMethod7Object) {
std::string func =
" sll r0, r0, 0\n"
" or v0, a0, r0\n"
" jr ra\n"
" daddu sp, sp, r0\n";
std::string type = "(function object int object)";
s... | 28.320467 | 100 | 0.382848 |
ddc4cadb5103d1ada48ad19b6ee6dd438045bac1 | 255 | java | Java | src/main/java/ua/nure/model/Role.java | GrinUA/course | 0286e50fdc1215a0eed0715eb9940b4eab3ec524 | [
"MIT"
] | null | null | null | src/main/java/ua/nure/model/Role.java | GrinUA/course | 0286e50fdc1215a0eed0715eb9940b4eab3ec524 | [
"MIT"
] | null | null | null | src/main/java/ua/nure/model/Role.java | GrinUA/course | 0286e50fdc1215a0eed0715eb9940b4eab3ec524 | [
"MIT"
] | null | null | null | package ua.nure.model;
public enum Role {
USER("user"),
ADMIN("admin");
private final String name;
Role(String name) {
this.name = name;
}
public String getName() {
return name;
}
/*USER,
ADMIN*/
}
| 12.75 | 30 | 0.533333 |
13e70000aaff024baeb8e6502597391cb4743b68 | 2,102 | rb | Ruby | app/controllers/legal_document_datasets_controller.rb | davehenton/sleepdata.org | 446431417662ecf11c43f77fdb87c69ca6ca1238 | [
"MIT"
] | 2 | 2019-09-27T13:02:54.000Z | 2021-02-16T16:09:33.000Z | app/controllers/legal_document_datasets_controller.rb | davehenton/sleepdata.org | 446431417662ecf11c43f77fdb87c69ca6ca1238 | [
"MIT"
] | 257 | 2015-01-05T21:52:53.000Z | 2018-11-09T19:05:12.000Z | app/controllers/legal_document_datasets_controller.rb | nsrr/www.sleepdata.org | f9686165ac4048bc1361e359cde1c2069dfe3f2a | [
"MIT"
] | 5 | 2019-02-12T20:27:36.000Z | 2022-03-31T02:17:32.000Z | # frozen_string_literal: true
# Allows organization editors to assign legal documents to datasets.
class LegalDocumentDatasetsController < ApplicationController
before_action :authenticate_user!
before_action :find_editable_organization_or_redirect
before_action :find_legal_document_dataset_or_redirect, only: [:... | 32.338462 | 132 | 0.778782 |
12c4cefa6e533a718fe419b88e9a95d2433d495a | 4,549 | cs | C# | L3dStrJahreszeiten/ProjectsViewModel.cs | lukhase/l3d-tools | 85da0137050caa64429e2935e196d62f79a534f8 | [
"MIT"
] | null | null | null | L3dStrJahreszeiten/ProjectsViewModel.cs | lukhase/l3d-tools | 85da0137050caa64429e2935e196d62f79a534f8 | [
"MIT"
] | null | null | null | L3dStrJahreszeiten/ProjectsViewModel.cs | lukhase/l3d-tools | 85da0137050caa64429e2935e196d62f79a534f8 | [
"MIT"
] | null | null | null | using Microsoft.WindowsAPICodePack.Dialogs;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace L3dStrJahreszeiten
{
public class ProjectsViewModel : BaseModel
{
private O... | 33.20438 | 96 | 0.486481 |
d624ad9ec122b5687853ed01f41b3c744e807dae | 1,189 | dart | Dart | pkg/analyzer/test/src/diagnostics/final_not_initialized_constructor_test.dart | derolf/sdk | eb4aaa1b13db9282cef349a6d9d49b48958d9468 | [
"BSD-3-Clause"
] | 2 | 2019-11-06T13:44:11.000Z | 2019-11-17T06:49:40.000Z | pkg/analyzer/test/src/diagnostics/final_not_initialized_constructor_test.dart | derolf/sdk | eb4aaa1b13db9282cef349a6d9d49b48958d9468 | [
"BSD-3-Clause"
] | 1 | 2021-01-21T14:45:59.000Z | 2021-01-21T14:45:59.000Z | pkg/analyzer/test/src/diagnostics/final_not_initialized_constructor_test.dart | derolf/sdk | eb4aaa1b13db9282cef349a6d9d49b48958d9468 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analyzer/src/error/codes.dart';
import 'package:test_reflective_loader/test_reflective_l... | 22.018519 | 79 | 0.696384 |
dafd41e46bfc37f51028677d96a24ca86c0de03b | 65 | ts | TypeScript | src/plugins/vue-events.ts | mornya/vue-export-component-demo | c1dd24c0fce227002541eb97db18cf990339a71b | [
"MIT"
] | null | null | null | src/plugins/vue-events.ts | mornya/vue-export-component-demo | c1dd24c0fce227002541eb97db18cf990339a71b | [
"MIT"
] | null | null | null | src/plugins/vue-events.ts | mornya/vue-export-component-demo | c1dd24c0fce227002541eb97db18cf990339a71b | [
"MIT"
] | null | null | null | import VueEvents from 'vue-events';
export default [VueEvents];
| 16.25 | 35 | 0.769231 |
ebe5a659a8bd3c7434385e8ba5b5d0af56711144 | 1,098 | css | CSS | data/htdocs/__panda/css/trace.css | aharenchie/Panda | 8a1a890fbdb69309cb61e215996f141d680de68f | [
"BSD-3-Clause"
] | null | null | null | data/htdocs/__panda/css/trace.css | aharenchie/Panda | 8a1a890fbdb69309cb61e215996f141d680de68f | [
"BSD-3-Clause"
] | null | null | null | data/htdocs/__panda/css/trace.css | aharenchie/Panda | 8a1a890fbdb69309cb61e215996f141d680de68f | [
"BSD-3-Clause"
] | null | null | null | @CHARSET "UTF-8";
body {
background: #fff;
font-size: 14px;
font-family: monospace;
height: 99%;
margin: 0px;
padding: 3px 20px 20px;
color: black;
}
.section {
margin: 0;
}
h3.hit-head {
margin: 0px 2px;
}
ol.timeline {
font-size: 14px;
}
ol.timeline li {
list-style-position: outside;
list-style-type:... | 12.917647 | 35 | 0.663024 |
0de3d629a14018a9f8112637b284d9eb2ff1a6a9 | 568 | cs | C# | MiX.Integrate.Shared/Entities/Messages/MessageStates.cs | mateuszligeza/MiX.Integrate.Api.Client | 1e2b0c8d4954357eaaf9b34ef6beb863784007df | [
"MIT"
] | null | null | null | MiX.Integrate.Shared/Entities/Messages/MessageStates.cs | mateuszligeza/MiX.Integrate.Api.Client | 1e2b0c8d4954357eaaf9b34ef6beb863784007df | [
"MIT"
] | null | null | null | MiX.Integrate.Shared/Entities/Messages/MessageStates.cs | mateuszligeza/MiX.Integrate.Api.Client | 1e2b0c8d4954357eaaf9b34ef6beb863784007df | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiX.Integrate.Shared.Entities.Messages
{
public enum MessageStates
{
Unknown = 0,
New = 1,
Pending = 2,
Queued = 3,
Sent = 4,
Postponed = 5,
SendFailed = 6,
Aborted = 7,
De... | 16.228571 | 48 | 0.65493 |
7299c4934a26f1db1b2119005c59112d3773830d | 2,522 | c | C | Chap06_Loops/knkcch06proj02.c | Yaachaka/C_book_solutions | c386df35701c07cae35d5511a061259de64ce005 | [
"Unlicense"
] | 1 | 2020-12-04T09:28:58.000Z | 2020-12-04T09:28:58.000Z | Chap06_Loops/knkcch06proj02.c | Yaachaka/C_book_solutions | c386df35701c07cae35d5511a061259de64ce005 | [
"Unlicense"
] | null | null | null | Chap06_Loops/knkcch06proj02.c | Yaachaka/C_book_solutions | c386df35701c07cae35d5511a061259de64ce005 | [
"Unlicense"
] | null | null | null | /*
@@@@ PROGRAM NAME: knkcch06proj02.c
@@@@ FLAGS: -std=c99
@@@@ PROGRAM STATEMENT: Write a program that asks the user to enter two
integers, then calculates and displays their greatest common divisor (GCD):
Enter two integers: 10 28
Greatest Common Divisor: 4
Hint: The classic algorithm for computing the GCD, known... | 33.626667 | 84 | 0.416733 |
5891d20047be7308ede5924a79b7e9b2c1aca541 | 136 | css | CSS | conference/02 - css - base (vanilla)/styles/utils/space.css | ranwahle/demos | 23d8c645b1601476b9939c4dacb5a2f4c2bb2731 | [
"MIT"
] | null | null | null | conference/02 - css - base (vanilla)/styles/utils/space.css | ranwahle/demos | 23d8c645b1601476b9939c4dacb5a2f4c2bb2731 | [
"MIT"
] | null | null | null | conference/02 - css - base (vanilla)/styles/utils/space.css | ranwahle/demos | 23d8c645b1601476b9939c4dacb5a2f4c2bb2731 | [
"MIT"
] | 2 | 2016-11-09T18:51:27.000Z | 2022-01-24T13:56:40.000Z | .space-p1 {
padding: var(--space);
}
.space-p2 {
padding: calc(var(--space) * 2);
}
.space-pr1 {
padding-right: var(--space);
}
| 11.333333 | 34 | 0.566176 |
8e8cb305af81124959928ebb3c77f54de8fdf709 | 2,077 | rb | Ruby | app/overrides/views_decorator.rb | lindensmith/spree_store_credits | 2d0ff822f7aef109f7638c1d59e618f9c8096dca | [
"BSD-3-Clause"
] | null | null | null | app/overrides/views_decorator.rb | lindensmith/spree_store_credits | 2d0ff822f7aef109f7638c1d59e618f9c8096dca | [
"BSD-3-Clause"
] | null | null | null | app/overrides/views_decorator.rb | lindensmith/spree_store_credits | 2d0ff822f7aef109f7638c1d59e618f9c8096dca | [
"BSD-3-Clause"
] | null | null | null | Deface::Override.new(
:virtual_path => "spree/admin/configurations/index",
:name => "store_credits_admin_configurations_menu",
:insert_bottom => "[data-hook='admin_configurations_menu']",
:text => "<%= configurations_menu_item(I18n.t('store_credits'), admin_store_credits_url, I18n.t('manage_store_credits')) %>"... | 43.270833 | 127 | 0.655753 |
bb29aa7e3dce89a07e26279602c08a9df112a1d2 | 477 | kts | Kotlin | plugins/parcelize/parcelize-runtime/build.gradle.kts | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 151 | 2019-11-06T03:32:39.000Z | 2022-03-25T15:06:58.000Z | plugins/parcelize/parcelize-runtime/build.gradle.kts | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-07-27T00:44:27.000Z | 2021-12-30T20:21:23.000Z | plugins/parcelize/parcelize-runtime/build.gradle.kts | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 69 | 2019-11-18T10:25:35.000Z | 2021-12-27T14:15:47.000Z | description = "Runtime library for the Parcelize compiler plugin"
plugins {
kotlin("jvm")
id("jps-compatible")
}
project.updateJvmTarget("1.6")
dependencies {
api(kotlinStdlib())
api(project(":kotlin-android-extensions-runtime"))
compileOnly(commonDependency("com.google.android", "android"))
}
s... | 17.035714 | 66 | 0.685535 |
641e3f5edcbee1527b18273390e91eb87d5349b9 | 5,948 | py | Python | src/sagemaker_xgboost_container/serving_mms.py | Wesley-Chorney/sagemaker-xgboost-container | 8156d8368e5c24f042dbfe602a9c1b14b3f33745 | [
"Apache-2.0"
] | null | null | null | src/sagemaker_xgboost_container/serving_mms.py | Wesley-Chorney/sagemaker-xgboost-container | 8156d8368e5c24f042dbfe602a9c1b14b3f33745 | [
"Apache-2.0"
] | null | null | null | src/sagemaker_xgboost_container/serving_mms.py | Wesley-Chorney/sagemaker-xgboost-container | 8156d8368e5c24f042dbfe602a9c1b14b3f33745 | [
"Apache-2.0"
] | null | null | null | # Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the 'license' file acc... | 43.735294 | 114 | 0.735373 |
6f491ad429622a2005cbc5bedaeba5aa3b19fca3 | 670 | rb | Ruby | test/support/feature_assertions.rb | thiagoa/ruby_pocket | 1bdd314e385687295428f23f000a6f9900b94aa6 | [
"MIT"
] | 12 | 2015-09-15T12:01:37.000Z | 2016-12-01T01:24:45.000Z | test/support/feature_assertions.rb | thiagoa/ruby_pocket | 1bdd314e385687295428f23f000a6f9900b94aa6 | [
"MIT"
] | null | null | null | test/support/feature_assertions.rb | thiagoa/ruby_pocket | 1bdd314e385687295428f23f000a6f9900b94aa6 | [
"MIT"
] | 1 | 2016-12-01T01:24:46.000Z | 2016-12-01T01:24:46.000Z | module FeatureAssertions
private
def build_favorite_regex(favorite)
tags = Regexp.union(*favorite.tags.map(&:name))
%r(#{favorite.id}.+#{favorite.name}.+#{tags})
end
def assert_shows_favorite(favorite, output)
message = "Favorite '#{favorite.name}' is not on the output. Should be."
favorite_re... | 29.130435 | 76 | 0.735821 |
c6e6350b4337b8c32a0182b550d5b482be98eecf | 296 | rb | Ruby | app/models/cart_product.rb | d4x337/reloaded | d2c69e5882f0abf1230d47f840338a82800e7095 | [
"BSD-3-Clause"
] | null | null | null | app/models/cart_product.rb | d4x337/reloaded | d2c69e5882f0abf1230d47f840338a82800e7095 | [
"BSD-3-Clause"
] | null | null | null | app/models/cart_product.rb | d4x337/reloaded | d2c69e5882f0abf1230d47f840338a82800e7095 | [
"BSD-3-Clause"
] | null | null | null | class CartProduct < ActiveRecord::Base
belongs_to :cart,:foreign_key => :cart_id
belongs_to :product, :foreign_key => :product_id
attr_accessible :cart_id,:product_id,:quantity,:single_price, :total_price, :nickname, :domain,:status
validates :cart_id, :product_id, :presence => true
end
| 42.285714 | 104 | 0.763514 |
da8fbc4c478a072b06e55756f3cc80141f526487 | 116,743 | php | PHP | 02 - PHP Version/page_icons_fontawesome.php | bowo-anakdesa/UI-Responsive-Bootstrap-Templates | c97218c5290950d2cf86c3cf29c4942cbe7a5c16 | [
"MIT"
] | 1 | 2019-05-10T02:28:31.000Z | 2019-05-10T02:28:31.000Z | 02 - PHP Version/page_icons_fontawesome.php | bowo-anakdesa/UI-Responsive-Bootstrap-Templates | c97218c5290950d2cf86c3cf29c4942cbe7a5c16 | [
"MIT"
] | null | null | null | 02 - PHP Version/page_icons_fontawesome.php | bowo-anakdesa/UI-Responsive-Bootstrap-Templates | c97218c5290950d2cf86c3cf29c4942cbe7a5c16 | [
"MIT"
] | null | null | null | <?php include 'inc/config.php'; ?>
<?php include 'inc/template_start.php'; ?>
<?php include 'inc/page_head.php'; ?>
<!-- Page content -->
<div id="page-content">
<!-- Font Awesome Header -->
<div class="content-header">
<div class="header-section">
<h1>
<i class="f... | 127.032644 | 363 | 0.59111 |
53772020c74693094381b95aaa2eaa130b189846 | 211 | rb | Ruby | db/migrate/20190531030109_create_moments.rb | davisjustinw/burnbucket | b6197f2d2536221b2dcdbcd3f47818561a1c823c | [
"MIT"
] | 1 | 2019-08-31T03:57:17.000Z | 2019-08-31T03:57:17.000Z | db/migrate/20190531030109_create_moments.rb | davisjustinw/burnbucket | b6197f2d2536221b2dcdbcd3f47818561a1c823c | [
"MIT"
] | 3 | 2020-06-25T06:31:44.000Z | 2021-09-27T22:01:51.000Z | db/migrate/20190531030109_create_moments.rb | davisjustinw/burnbucket | b6197f2d2536221b2dcdbcd3f47818561a1c823c | [
"MIT"
] | null | null | null |
class CreateMoments < ActiveRecord::Migration
def change
create_table :moments do |t|
t.string :memo
t.integer :value
t.datetime :timestamp
t.integer :bucket_id
end
end
end
| 16.230769 | 45 | 0.654028 |
03b52d7b39cbcea1a15571b9595472bb88f1c42e | 634 | asm | Assembly | programs/oeis/304/A304158.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/304/A304158.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/304/A304158.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A304158: a(n) is the second Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference (Fig. 3).
; 24,84,144,204,264,324,384,444,504,564,624,684,744,804,864,924,984,1044,1104,1164,1224,1284,1344,1404,1464,1524,1584,1644,1704,1764,1824,1884,1944,2004,2064,2124,2184,2244,2304,2364,2424,24... | 105.666667 | 482 | 0.774448 |
afad5084b701254f8ac0862fcd989124ba607fe5 | 2,575 | rs | Rust | src/bin/day3/main.rs | joeshaw/advent2019 | 3604995d6f2bc29c56cd8139ae7cca7e5d048164 | [
"MIT"
] | null | null | null | src/bin/day3/main.rs | joeshaw/advent2019 | 3604995d6f2bc29c56cd8139ae7cca7e5d048164 | [
"MIT"
] | null | null | null | src/bin/day3/main.rs | joeshaw/advent2019 | 3604995d6f2bc29c56cd8139ae7cca7e5d048164 | [
"MIT"
] | null | null | null | use std::collections::HashSet;
use std::env;
use std::fs::File;
use std::io::{prelude::*, BufReader};
use std::iter::FromIterator;
fn build_wire(path: &str) -> Vec<(i32, i32)> {
let mut vec = Vec::new();
let mut p = (0, 0);
for m in path.trim().split(",") {
let dir = m.chars().nth(0).unwrap();
... | 26.27551 | 72 | 0.516117 |
2ba9aa8d840a74de7cdf7fb2667e06ad36548026 | 105 | kt | Kotlin | Server/src/main/java/i/blog/modules/users/models/annotations/Token.kt | ExplodingFKL/Blog | 36ee137d27f6cd378a28753d2b557ff16b01e65b | [
"MIT"
] | null | null | null | Server/src/main/java/i/blog/modules/users/models/annotations/Token.kt | ExplodingFKL/Blog | 36ee137d27f6cd378a28753d2b557ff16b01e65b | [
"MIT"
] | null | null | null | Server/src/main/java/i/blog/modules/users/models/annotations/Token.kt | ExplodingFKL/Blog | 36ee137d27f6cd378a28753d2b557ff16b01e65b | [
"MIT"
] | null | null | null | package i.blog.modules.users.models.annotations
annotation class Token(
val admin: Boolean = false
) | 21 | 47 | 0.771429 |
07dd618c9189dd82c65d432f67ffb15d63eb705f | 3,383 | rb | Ruby | app/controllers/appointments_controller.rb | wsams/sparc-fulfillment | 612a014e457b774bc48825133f7f7f1266faa518 | [
"BSD-3-Clause"
] | null | null | null | app/controllers/appointments_controller.rb | wsams/sparc-fulfillment | 612a014e457b774bc48825133f7f7f1266faa518 | [
"BSD-3-Clause"
] | null | null | null | app/controllers/appointments_controller.rb | wsams/sparc-fulfillment | 612a014e457b774bc48825133f7f7f1266faa518 | [
"BSD-3-Clause"
] | 1 | 2015-07-23T15:30:45.000Z | 2015-07-23T15:30:45.000Z | # Copyright © 2011-2019 MUSC Foundation for Research Development~
# All rights reserved.~
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:~
# 1. Redistributions of source code must retain the above copyright notice, this l... | 35.989362 | 146 | 0.756134 |
8e98c088723a7e9a94639b8e9da23da5423f40fc | 5,634 | js | JavaScript | main.947cf13c4bb4d456e9e8.bundle.js | Angelk90/storybookrn | 5ec44d75de7c6da468f0a5a98557beb82959144d | [
"Apache-2.0",
"MIT"
] | null | null | null | main.947cf13c4bb4d456e9e8.bundle.js | Angelk90/storybookrn | 5ec44d75de7c6da468f0a5a98557beb82959144d | [
"Apache-2.0",
"MIT"
] | null | null | null | main.947cf13c4bb4d456e9e8.bundle.js | Angelk90/storybookrn | 5ec44d75de7c6da468f0a5a98557beb82959144d | [
"Apache-2.0",
"MIT"
] | null | null | null | (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{324:function(module,exports,__webpack_require__){__webpack_require__(325),__webpack_require__(475),module.exports=__webpack_require__(476)},391:function(module,exports){},476:function(module,exports,__webpack_require__){(function(module){var _react=__webpack_requ... | 2,817 | 5,573 | 0.839191 |
57956da41aafca687276a23ba5aea376b2432464 | 120 | dart | Dart | lib/my_drift_database/my_drift_database.dart | Sproute777/flutter_drift_explore | 5946cb13e4c0f2ed906488ce88b85bf0bc8c378e | [
"MIT"
] | 1 | 2022-03-21T21:05:20.000Z | 2022-03-21T21:05:20.000Z | lib/my_drift_database/my_drift_database.dart | Sproute777/flutter_drift_explore | 5946cb13e4c0f2ed906488ce88b85bf0bc8c378e | [
"MIT"
] | null | null | null | lib/my_drift_database/my_drift_database.dart | Sproute777/flutter_drift_explore | 5946cb13e4c0f2ed906488ce88b85bf0bc8c378e | [
"MIT"
] | null | null | null | export 'dao/dao.dart';
export 'tables/tables.dart';
export 'database/database.dart';
export 'construct_db/shared.dart';
| 24 | 34 | 0.766667 |
14bb89d04048a9629af21e9978f90ac927ce91b3 | 2,275 | ts | TypeScript | test/arrays.spec.ts | engineersamuel/isTruthy | 0d965d721cde6737f15767649aad038adc717ffd | [
"MIT"
] | null | null | null | test/arrays.spec.ts | engineersamuel/isTruthy | 0d965d721cde6737f15767649aad038adc717ffd | [
"MIT"
] | null | null | null | test/arrays.spec.ts | engineersamuel/isTruthy | 0d965d721cde6737f15767649aad038adc717ffd | [
"MIT"
] | null | null | null | import { expect } from 'chai';
import { isTruthy, isFalsy, Options } from '../src';
describe('arrays', () => {
describe('truthy arrays', () => {
type TestArg = {
val: any;
expectedResult: boolean;
options?: Options;
};
const testArgs: TestArg[] = [
{
val: [0],
expe... | 22.087379 | 85 | 0.483077 |
24b45d61057a4b52078319c73d59a653d3c5e246 | 4,116 | php | PHP | src/Views/grid.blade.php | shemgp/datagrid | 92bf909b2320c223c44daca2a81b27978189bb79 | [
"MIT"
] | null | null | null | src/Views/grid.blade.php | shemgp/datagrid | 92bf909b2320c223c44daca2a81b27978189bb79 | [
"MIT"
] | null | null | null | src/Views/grid.blade.php | shemgp/datagrid | 92bf909b2320c223c44daca2a81b27978189bb79 | [
"MIT"
] | 3 | 2017-04-23T09:44:29.000Z | 2019-01-31T03:18:56.000Z | <div class="dg-wrapper" {!! $id ? 'id="'. $id .'"' : null !!}>
@if ($grid->hasFilters())
{!! Form::open(['role' => 'form', 'method' => 'GET']) !!}
{!! Form::hidden('f[order_by]', $grid->getFilter('order_by', '')); !!}
{!! Form::hidden('f[order_dir]', $grid->getFilter('order_dir', 'ASC')); !!}
@foreach ($gri... | 33.193548 | 404 | 0.522109 |
127866f07f38f82e45ef4941ff67f9df4c6c1fe0 | 3,661 | cs | C# | Game/Assets/Game/Scripts/DestructibleExplosion.cs | gerlogu/Shooter | 9db47ea0d5be1ce28461a42e58efd6e62857fbf7 | [
"Apache-2.0"
] | null | null | null | Game/Assets/Game/Scripts/DestructibleExplosion.cs | gerlogu/Shooter | 9db47ea0d5be1ce28461a42e58efd6e62857fbf7 | [
"Apache-2.0"
] | null | null | null | Game/Assets/Game/Scripts/DestructibleExplosion.cs | gerlogu/Shooter | 9db47ea0d5be1ce28461a42e58efd6e62857fbf7 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Explosive element main script.
/// </summary>
[RequireComponent(typeof(AudioSource))]
public class DestructibleExplosion : MonoBehaviour
{
[Tooltip("Min explosion force")]
[SerializeField] private float minForce;
... | 32.39823 | 222 | 0.627697 |
20bacf42492e2e9f3eb8a4bc07383e216ea66125 | 1,810 | cs | C# | src/SimpleInjector/Diagnostics/ContainerRegisteredServiceDiagnosticResult.cs | Bouke/SimpleInjector | 91f002f4746c9303367a8e0cabeb6164c35fddbe | [
"MIT"
] | 1,175 | 2015-04-09T08:19:06.000Z | 2022-03-25T03:03:21.000Z | src/SimpleInjector/Diagnostics/ContainerRegisteredServiceDiagnosticResult.cs | Bouke/SimpleInjector | 91f002f4746c9303367a8e0cabeb6164c35fddbe | [
"MIT"
] | 926 | 2015-04-09T19:25:24.000Z | 2022-03-29T08:35:46.000Z | src/SimpleInjector/Diagnostics/ContainerRegisteredServiceDiagnosticResult.cs | Bouke/SimpleInjector | 91f002f4746c9303367a8e0cabeb6164c35fddbe | [
"MIT"
] | 205 | 2015-04-17T11:33:17.000Z | 2022-03-12T22:57:02.000Z | // Copyright (c) Simple Injector Contributors. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license information.
namespace SimpleInjector.Diagnostics
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
usin... | 46.410256 | 109 | 0.682873 |
58c3dacb6bd9bedbd600b91ed5bdb841d6584eb7 | 34 | css | CSS | dist/static/css/chunk-662181f4.c02d225e.css | hongzhidao/nginx-unit-dashboard | 8b96a64ccc9993e4407a90f773c4e448fc1d6d37 | [
"Apache-2.0"
] | 2 | 2020-10-15T02:49:24.000Z | 2021-01-22T15:24:41.000Z | dist/static/css/chunk-662181f4.c02d225e.css | hongzhidao/nginx-unit-dashboard | 8b96a64ccc9993e4407a90f773c4e448fc1d6d37 | [
"Apache-2.0"
] | null | null | null | dist/static/css/chunk-662181f4.c02d225e.css | hongzhidao/nginx-unit-dashboard | 8b96a64ccc9993e4407a90f773c4e448fc1d6d37 | [
"Apache-2.0"
] | null | null | null | .el-tabs__header{margin-left:80px} | 34 | 34 | 0.823529 |
b31f5ed154a1cfc40d2085a571aec56d3eb4b7ea | 506 | py | Python | Problem-No-15/Approach-No-1.py | sidhant-sriv/comp-project-grade-11 | a95a39e4624ec8f19e800296f3ab025de49b0d64 | [
"MIT"
] | 3 | 2020-10-23T05:21:23.000Z | 2022-01-10T10:58:42.000Z | Problem-No-15/Approach-No-1.py | sidhant-sriv/comp-project-grade-11 | a95a39e4624ec8f19e800296f3ab025de49b0d64 | [
"MIT"
] | 3 | 2020-10-25T10:44:32.000Z | 2020-10-25T16:44:15.000Z | Problem-No-15/Approach-No-1.py | sidhant-sriv/comp-project-grade-11 | a95a39e4624ec8f19e800296f3ab025de49b0d64 | [
"MIT"
] | 6 | 2020-10-23T05:18:56.000Z | 2021-01-14T09:32:35.000Z | '''
| Write a program to show if the entered character is uppercase or lowercase. |
|---------------------------------------------------------------------------------------------|
| Usage of isalpha(), islower() and isupper() |
'''
n = input("Enter charac... | 33.733333 | 95 | 0.416996 |
8eb4cb316b6b8921028b2092b14abc90b52cfc38 | 219 | js | JavaScript | utnPay/state/reducers/userId.js | pastorinoandres/utnPay | 062a718f50beff960137ce55102e4b4d944b4098 | [
"MIT"
] | null | null | null | utnPay/state/reducers/userId.js | pastorinoandres/utnPay | 062a718f50beff960137ce55102e4b4d944b4098 | [
"MIT"
] | null | null | null | utnPay/state/reducers/userId.js | pastorinoandres/utnPay | 062a718f50beff960137ce55102e4b4d944b4098 | [
"MIT"
] | null | null | null | import { handleAction } from 'redux-actions';
import { SET_USER_ID } from '../constants';
const setUserReducer = (state,action) => action.payload ;
export default handleAction(SET_USER_ID , setUserReducer, 37218703);
| 31.285714 | 68 | 0.753425 |
b36fab4e3e81cee1fc3cb896114d4c4efc5b8319 | 100 | rs | Rust | src/lib.rs | c-o-l-o-r/ssz-cli | ed2ec03c683e8e7b390f80f62965080f9f01ab63 | [
"Apache-2.0"
] | 1 | 2019-06-13T03:05:48.000Z | 2019-06-13T03:05:48.000Z | src/lib.rs | c-o-l-o-r/sszt | ed2ec03c683e8e7b390f80f62965080f9f01ab63 | [
"Apache-2.0"
] | 4 | 2019-06-10T16:58:50.000Z | 2019-06-10T17:00:42.000Z | src/lib.rs | c-o-l-o-r/sszt | ed2ec03c683e8e7b390f80f62965080f9f01ab63 | [
"Apache-2.0"
] | null | null | null | #[cfg(test)]
#[macro_use]
extern crate ssz_derive;
pub mod json;
mod ser;
mod value;
pub mod yaml;
| 11.111111 | 24 | 0.71 |
143f2d9b1bf626741cc42f723d845bc53033595e | 427 | ts | TypeScript | test/ServerlessPlugin.test.ts | misterjoshua/serverless-glob-merge-yaml | e30057eb493f51fa7ae0b0c22629df264997ee67 | [
"MIT"
] | 3 | 2020-12-14T03:26:19.000Z | 2022-02-22T03:27:12.000Z | test/ServerlessPlugin.test.ts | misterjoshua/serverless-glob-merge-yaml | e30057eb493f51fa7ae0b0c22629df264997ee67 | [
"MIT"
] | 15 | 2021-05-10T22:11:30.000Z | 2021-05-19T20:56:26.000Z | test/ServerlessPlugin.test.ts | misterjoshua/serverless-glob-merge-yaml | e30057eb493f51fa7ae0b0c22629df264997ee67 | [
"MIT"
] | null | null | null | import { ServerlessPlugin } from '../src/ServerlessPlugin';
import Serverless, { Options } from 'serverless';
it('should register variable resolvers', () => {
const plugin = new ServerlessPlugin(
({} as any) as Serverless,
({} as any) as Options
);
expect(plugin.variableResolvers).toHaveProperty('glob-m... | 28.466667 | 69 | 0.693208 |
5b9a6d6430e79c84bbb2e8e4c402f35bce30c69f | 4,912 | lua | Lua | lua/sputnik/node_defaults/sputnik/config_defaults.lua | LuaDist-testing/sputnik | 7e22546f229dcfc59c1fe6be3953fe5f3c975fee | [
"MIT",
"BSD-3-Clause"
] | 1 | 2017-12-15T06:24:50.000Z | 2017-12-15T06:24:50.000Z | lua/sputnik/node_defaults/sputnik/config_defaults.lua | LuaDist-testing/sputnik | 7e22546f229dcfc59c1fe6be3953fe5f3c975fee | [
"MIT",
"BSD-3-Clause"
] | null | null | null | lua/sputnik/node_defaults/sputnik/config_defaults.lua | LuaDist-testing/sputnik | 7e22546f229dcfc59c1fe6be3953fe5f3c975fee | [
"MIT",
"BSD-3-Clause"
] | 2 | 2020-06-19T15:47:12.000Z | 2021-01-26T08:07:41.000Z | module(..., package.seeall)
NODE = {
title="Configurations",
prototype="@Lua_Config",
}
NODE.fields = [[
content.proto = "concat"
]]
NODE.content = [=============[
-----------------------------------------------------------------------------
--------- The Basics -----------------------------------------------... | 38.077519 | 77 | 0.494503 |
dfc490f667e1129758c03971c852ba3d9a39a460 | 8,922 | lua | Lua | LanguageDetect/Parser.lua | listingtg/LanguageDetect | 067f2ed52c704f986265fe9834e0f59ddc6e1cb4 | [
"MIT"
] | null | null | null | LanguageDetect/Parser.lua | listingtg/LanguageDetect | 067f2ed52c704f986265fe9834e0f59ddc6e1cb4 | [
"MIT"
] | null | null | null | LanguageDetect/Parser.lua | listingtg/LanguageDetect | 067f2ed52c704f986265fe9834e0f59ddc6e1cb4 | [
"MIT"
] | null | null | null | local dbUnicodeBlocks = require('LanguageDetect.data.unicode_blocks')
--[[
* This class represents a text sample to be parsed.
*
* Largely inspired from the PHP Pear Package Text_LanguageDetect by Nicholas Pisarro
* Licence: http://www.debian.org/misc/bsd.license BSD
*
* @author github.com/listingtg
* @author ... | 22.305 | 98 | 0.577785 |
f60875c75cf897e0084395bae0c133aa63f02728 | 1,145 | cpp | C++ | src/tmp/student.cpp | asankagit/wacms | f6ecf9e1c740417a934acb8f6c53e2bb3388b5ee | [
"MIT"
] | 5 | 2021-10-14T07:27:31.000Z | 2022-01-04T17:20:15.000Z | src/tmp/student.cpp | asankagit/wacms | f6ecf9e1c740417a934acb8f6c53e2bb3388b5ee | [
"MIT"
] | null | null | null | src/tmp/student.cpp | asankagit/wacms | f6ecf9e1c740417a934acb8f6c53e2bb3388b5ee | [
"MIT"
] | null | null | null | // similar to MyClass, in this we are testing header file usage
#include <student.h>
#include "emscripten/bind.h"
using namespace emscripten;
Student::Student() {
}
void Student::setName(std::string name) {
this->name = name;
}
const std::string& Student::getName() {
for(int i=0; i<10000; i++) {
... | 21.203704 | 70 | 0.637555 |
a38f8ef56a3f6ce5f2c0bf9f64e9c36d831881b0 | 356 | ts | TypeScript | src/methods/chainable/remove_sibling.ts | vedmalex/b-plus-tree | 9c48cbc1f4d8d9b54f43fc2cba62b1e0581c4cf8 | [
"MIT"
] | null | null | null | src/methods/chainable/remove_sibling.ts | vedmalex/b-plus-tree | 9c48cbc1f4d8d9b54f43fc2cba62b1e0581c4cf8 | [
"MIT"
] | null | null | null | src/methods/chainable/remove_sibling.ts | vedmalex/b-plus-tree | 9c48cbc1f4d8d9b54f43fc2cba62b1e0581c4cf8 | [
"MIT"
] | null | null | null | import { Chainable } from './Chainable'
export function remove_sibling(a: Chainable, order: 'right' | 'left') {
const right = order
const left = order == 'left' ? 'right' : 'left'
if (a[right]) {
const b = a[right]
a[right] = b[right]
if (b[right]) {
b[right][left] = a
}
b[left] = undef... | 22.25 | 71 | 0.567416 |
b24a1095af1ac19304be0ae6d8c35ee0e0b15780 | 1,643 | rb | Ruby | attributes/default.rb | valyukov/selenium-cluster | 3ba4eb197f7d4babae6e7bfc091aac88d48a8cf3 | [
"Apache-2.0"
] | 1 | 2015-12-12T11:40:30.000Z | 2015-12-12T11:40:30.000Z | attributes/default.rb | valyukov/selenium-cluster | 3ba4eb197f7d4babae6e7bfc091aac88d48a8cf3 | [
"Apache-2.0"
] | null | null | null | attributes/default.rb | valyukov/selenium-cluster | 3ba4eb197f7d4babae6e7bfc091aac88d48a8cf3 | [
"Apache-2.0"
] | null | null | null | default[:selenium][:url] = 'http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar'
case node[:platform_family]
when 'windows'
default[:selenium][:path] = 'c:\\selenium\\'
else
default[:selenium][:path] = '/opt/selenium/'
end
default[:selenium][:jar] = "#{node[:selenium][:path]}... | 40.073171 | 118 | 0.710895 |
a4b990984a302b0aa9669add0d682369c692c0f4 | 3,915 | swift | Swift | MusicBox/View Controllers/Core/NotificationVC.swift | kyaw-codes/MusicBox | 847b462a152d29863b45a682d90cef9bcc499321 | [
"MIT"
] | 2 | 2021-03-08T17:27:22.000Z | 2021-03-24T13:18:04.000Z | MusicBox/View Controllers/Core/NotificationVC.swift | kyaw-codes/MusicBox | 847b462a152d29863b45a682d90cef9bcc499321 | [
"MIT"
] | null | null | null | MusicBox/View Controllers/Core/NotificationVC.swift | kyaw-codes/MusicBox | 847b462a152d29863b45a682d90cef9bcc499321 | [
"MIT"
] | 2 | 2021-03-24T13:18:06.000Z | 2021-06-08T11:46:39.000Z | //
// NotificationVC.swift
// MusicBox
//
// Created by Ko Kyaw on 26/02/2021.
//
import UIKit
import SwiftUI
class NotificationVC: UIViewController {
// MARK: - Properties
private var notifications = NotificationModel.notifications
private var datasource: UICollectionViewDiffableDataSource<Int, N... | 36.588785 | 170 | 0.704981 |
5f22aead34837326b7a76d59c4218cb32e5a4cff | 1,840 | sql | SQL | icingaweb2/mysql.schema.sql | arthurcrawford/monitor-base | 61ea8ca6c863b564a4f0a6f905b7976b5dddc76c | [
"MIT"
] | null | null | null | icingaweb2/mysql.schema.sql | arthurcrawford/monitor-base | 61ea8ca6c863b564a4f0a6f905b7976b5dddc76c | [
"MIT"
] | null | null | null | icingaweb2/mysql.schema.sql | arthurcrawford/monitor-base | 61ea8ca6c863b564a4f0a6f905b7976b5dddc76c | [
"MIT"
] | null | null | null | # Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+
CREATE TABLE `icingaweb_group`(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`parent` int(10) unsigned NULL DEFAULT NULL,
`ctime` timestamp NULL DEFAULT NULL,
`mtime` timestamp NULL ... | 42.790698 | 85 | 0.728261 |
79b79c8661bbf2c4cb1250c1ab47cac08bb5f69f | 9,925 | cpp | C++ | unittest/cppad-algo-derivatives.cpp | matthieuvigne/pinocchio | 01f211eceda3ac2e5edc8cf101690afb6f3184d3 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-06-22T15:42:45.000Z | 2021-06-22T15:42:45.000Z | unittest/cppad-algo-derivatives.cpp | matthieuvigne/pinocchio | 01f211eceda3ac2e5edc8cf101690afb6f3184d3 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | unittest/cppad-algo-derivatives.cpp | matthieuvigne/pinocchio | 01f211eceda3ac2e5edc8cf101690afb6f3184d3 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2021-03-21T09:14:26.000Z | 2021-03-21T09:14:26.000Z | //
// Copyright (c) 2018 CNRS
//
#include "pinocchio/fwd.hpp"
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include "pinocchio/algorithm/kinematics.hpp"
#include "pinocchio/algorithm/jacobian.hpp"
#include "pinocchio/algorithm/crba.hpp"
#include "pinocchio/algorithm/rnea.hpp"
#incl... | 35.446429 | 124 | 0.715768 |
8dd5f36e727d7a45fca71f5bee9c101482586553 | 1,964 | js | JavaScript | app/index.js | iAziz786/auth-sso | e22b6ce0d7e6781c413e3e20b6ab7cfb7afe79bb | [
"MIT"
] | null | null | null | app/index.js | iAziz786/auth-sso | e22b6ce0d7e6781c413e3e20b6ab7cfb7afe79bb | [
"MIT"
] | null | null | null | app/index.js | iAziz786/auth-sso | e22b6ce0d7e6781c413e3e20b6ab7cfb7afe79bb | [
"MIT"
] | null | null | null | const path = require("path")
const express = require("express")
// const cors = require("cors")
const passport = require("passport")
// const cookieSession = require("cookie-session")
const session = require("express-session")
const cookieParser = require("cookie-parser")
const ms = require("ms")
const bodyParser = req... | 30.215385 | 92 | 0.683299 |
38ce44568a85ec057f7d6bdfea58aadc52004eb2 | 987 | php | PHP | resources/views/tacticspanel/index.blade.php | tje3d/Guild | 208d17b3090656bf51e5b52cd15d8c9054c9dbe5 | [
"MIT"
] | 1 | 2017-04-11T13:08:02.000Z | 2017-04-11T13:08:02.000Z | resources/views/tacticspanel/index.blade.php | tje3d/Guild | 208d17b3090656bf51e5b52cd15d8c9054c9dbe5 | [
"MIT"
] | 7 | 2017-04-11T11:25:39.000Z | 2017-05-01T19:28:41.000Z | resources/views/tacticspanel/index.blade.php | tje3d/Guild | 208d17b3090656bf51e5b52cd15d8c9054c9dbe5 | [
"MIT"
] | null | null | null | @extends('layouts.panel')
@section('title', 'Tactics Manager')
@section('breadcrumb')
<li><a href="{{route('tactics')}}">Tactics</a></li>
<li class="active">Manager</li>
@stop
@section('content')
<div class="box">
<div class="box-body">
<div class="table-responsive">
<table class="table" id="datatable">
<t... | 22.431818 | 80 | 0.551165 |
eed085e2c00f64774bd8d816ddf4f16d9a2dea64 | 2,028 | lua | Lua | Assets/sgk/Lua/view/mapSceneUI/chatSetting.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | 1 | 2019-12-30T06:54:48.000Z | 2019-12-30T06:54:48.000Z | Assets/sgk/Lua/view/mapSceneUI/chatSetting.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | null | null | null | Assets/sgk/Lua/view/mapSceneUI/chatSetting.lua | freeGamePerson/dev_update | 80f75ff1ba6fd0d008e6a4989c2ba09e48129c38 | [
"BSD-3-Clause"
] | 3 | 2019-12-30T06:54:52.000Z | 2020-12-31T10:04:10.000Z | local chatSetting = {}
function chatSetting:Start()
self:initData()
self:initUi()
end
function chatSetting:initData()
self.dialogTab = {
{name = "mapSceneUI/item/channelSetting"},
{name = "mapSceneUI/item/myMsgSetting"},
{name = "mapSceneUI/item/blacklist"},
}
end
function cha... | 33.245902 | 114 | 0.685404 |
e237da8aad1e60e95f8cb5b13fffd733d6f62f53 | 4,781 | py | Python | src/rogerthat/api/news.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/rogerthat/api/news.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | src/rogerthat/api/news.py | goubertbrent/oca-backend | b9f59cc02568aecb55d4b54aec05245790ea25fd | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2020 Green Valley Belgium NV
#
# 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 appl... | 34.15 | 111 | 0.794813 |
d957c01ddd7abe65623a902f465f85d80ea8dae9 | 334 | dart | Dart | lib/widgets/widgets.dart | candraprasetya/rumah_jamur_app | 19c13b63675519757a60efca9677b3f84d7b325a | [
"Unlicense",
"MIT"
] | null | null | null | lib/widgets/widgets.dart | candraprasetya/rumah_jamur_app | 19c13b63675519757a60efca9677b3f84d7b325a | [
"Unlicense",
"MIT"
] | null | null | null | lib/widgets/widgets.dart | candraprasetya/rumah_jamur_app | 19c13b63675519757a60efca9677b3f84d7b325a | [
"Unlicense",
"MIT"
] | null | null | null | import 'dart:math';
import 'package:flutter/material.dart';
import 'package:rumah_jamur/utils/utils.dart';
import 'package:velocity_x/velocity_x.dart';
part 'textfield_widget.dart';
part 'button_widget.dart';
part 'container_widget.dart';
part 'barchart_widget.dart';
part 'back_button_widget.dart';
part 'icon_button_... | 25.692308 | 46 | 0.793413 |
31fe0b81c05a493a19332a64454be5ed15543525 | 1,383 | kt | Kotlin | app/src/main/java/com/zdog/demo/ui/shapes/Moon.kt | DavosLi3hn9g/legal-informaticsp | a80c79cc0afeae6161eefbe69d7ab9cbb3cbd85c | [
"MIT"
] | 21 | 2019-09-27T11:21:47.000Z | 2022-03-03T20:32:27.000Z | app/src/main/java/com/zdog/demo/ui/shapes/Moon.kt | DavosLi3hn9g/legal-informaticsp | a80c79cc0afeae6161eefbe69d7ab9cbb3cbd85c | [
"MIT"
] | null | null | null | app/src/main/java/com/zdog/demo/ui/shapes/Moon.kt | DavosLi3hn9g/legal-informaticsp | a80c79cc0afeae6161eefbe69d7ab9cbb3cbd85c | [
"MIT"
] | 5 | 2019-10-15T01:56:50.000Z | 2021-04-16T14:08:16.000Z | package com.zdog.demo.ui.shapes
import com.zdog.library.render.Anchor
import com.zdog.library.render.Shape
import com.zdog.library.render.TAU
import com.zdog.library.render.arc
import com.zdog.library.render.cos
import com.zdog.library.render.move
import com.zdog.library.render.sin
import com.zdog.library.render.tan
i... | 24.696429 | 49 | 0.535069 |
c9b2a45e6f1db50b6e6d507b8305d2af2410020d | 636 | ts | TypeScript | libs/client-dnbhub/src/lib/store/blog/blog.actions.ts | rfprod/mono | c511e1e1408cd3ed154b986a4cc3a0d6486b1dbc | [
"MIT"
] | null | null | null | libs/client-dnbhub/src/lib/store/blog/blog.actions.ts | rfprod/mono | c511e1e1408cd3ed154b986a4cc3a0d6486b1dbc | [
"MIT"
] | 12 | 2021-03-04T20:25:08.000Z | 2022-03-24T12:01:58.000Z | libs/client-dnbhub/src/lib/store/blog/blog.actions.ts | rfprod/mono | c511e1e1408cd3ed154b986a4cc3a0d6486b1dbc | [
"MIT"
] | 1 | 2021-07-28T12:35:44.000Z | 2021-07-28T12:35:44.000Z | import { actionPayloadConstructor } from '@mono/client-util';
import { BLOG_STATE_TOKEN, TAppBlogPayload, TAppSelectBlogPostPayload } from './blog.interface';
const createAction = actionPayloadConstructor(BLOG_STATE_TOKEN.toString());
const setAppBlogState = createAction<TAppBlogPayload>('set state');
const selectB... | 30.285714 | 96 | 0.801887 |
b5e4aa8baf278ddda26c80de2921c565f32ea13b | 365 | sql | SQL | SQLscripts/ESQL_GET_Water_Yields2.sql | beatedirks/MyGensos | b853fb6ca981171b102fe4fb6fac0317c25877c6 | [
"MIT"
] | null | null | null | SQLscripts/ESQL_GET_Water_Yields2.sql | beatedirks/MyGensos | b853fb6ca981171b102fe4fb6fac0317c25877c6 | [
"MIT"
] | null | null | null | SQLscripts/ESQL_GET_Water_Yields2.sql | beatedirks/MyGensos | b853fb6ca981171b102fe4fb6fac0317c25877c6 | [
"MIT"
] | null | null | null | SELECT "WS_LU_FutureFlow_Yields".capacity, "WS_LU_FutureFlow_Yields".yield FROM "ISL_ModelRuns" INNER JOIN "WS_LU_FutureFlow_Yields" ON "ISL_ModelRuns".climate_id = "WS_LU_FutureFlow_Yields".climate_id WHERE (("WS_LU_FutureFlow_Yields".year)=2030) AND "ISL_ModelRuns".modelrun_id = AND "WS_LU_FutureFlow_Yields".wrz_id... | 365 | 365 | 0.824658 |
bdd45d4cb3277b41e3e99bc3c08ff329aac85102 | 393 | asm | Assembly | oeis/101/A101803.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/101/A101803.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/101/A101803.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A101803: Nearest integer to n*(phi-1), where phi is golden ratio 1.618033988749895... (A001622).
; Submitted by Jamie Morken(s1)
; 0,1,1,2,2,3,4,4,5,6,6,7,7,8,9,9,10,11,11,12,12,13,14,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,23,24,25,25,26,27,27,28,28,29,30,30,31,32,32,33,33,34,35,35,36,36,37,38,38,39,40,40,41,41... | 39.3 | 210 | 0.656489 |
141b6dfdd743dc802f25a94c0ae621551b8f4f32 | 963 | tsx | TypeScript | src/forms/lib/ColorPickerField.tsx | bowbridge/ui5-react-toolkit | 572062aef5426d42975ff1411c4fe410a55f58b2 | [
"MIT"
] | null | null | null | src/forms/lib/ColorPickerField.tsx | bowbridge/ui5-react-toolkit | 572062aef5426d42975ff1411c4fe410a55f58b2 | [
"MIT"
] | null | null | null | src/forms/lib/ColorPickerField.tsx | bowbridge/ui5-react-toolkit | 572062aef5426d42975ff1411c4fe410a55f58b2 | [
"MIT"
] | null | null | null | import { ColorPicker } from '@ui5/webcomponents-react';
import React from 'react';
import { Controller } from 'react-hook-form';
import { ColorPickerPropTypes } from '@ui5/webcomponents-react/webComponents/ColorPicker';
import { BaseFieldProps } from '../types/form/baseprops';
export interface ColorPickerFieldProps
... | 23.487805 | 90 | 0.627207 |
afdfc88e519f844d49856d8646cb12c864aaf580 | 329 | py | Python | django_project/bucket_list/migrations/0005_remove_task_owner.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | django_project/bucket_list/migrations/0005_remove_task_owner.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | django_project/bucket_list/migrations/0005_remove_task_owner.py | ugauniyal/Bucket-List-App | 03ccff11d2ac8be1b875fb9f1d7da54bf9006f6f | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2020-12-13 06:02
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bucket_list', '0004_auto_20201213_0600'),
]
operations = [
migrations.RemoveField(
model_name='task',
name='owner',
... | 18.277778 | 51 | 0.592705 |