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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ed3d197e3cd391e3083716391349df6e20e85a6 | 3,159 | h | C | sdk_k64f/middleware/secure-subsystem/inc/fsl_sscp_commands.h | Sir-Branch/k64f-starter-template | f8959fd185f090363d180d69f84c2727e37cbeeb | [
"MIT"
] | 1 | 2020-08-23T20:24:19.000Z | 2020-08-23T20:24:19.000Z | sdk_k64f/middleware/secure-subsystem/inc/fsl_sscp_commands.h | Sir-Branch/xxxx-starter-template | f8959fd185f090363d180d69f84c2727e37cbeeb | [
"MIT"
] | 1 | 2020-08-24T00:41:48.000Z | 2020-08-24T02:17:44.000Z | sdk_k64f/middleware/secure-subsystem/inc/fsl_sscp_commands.h | Sir-Branch/xxxx-starter-template | f8959fd185f090363d180d69f84c2727e37cbeeb | [
"MIT"
] | null | null | null | /*
* Copyright 2018 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _FSL_SSCP_COMMANDS_H_
#define _FSL_SSCP_COMMANDS_H_
/*!
@defgroup sscp_cmd SSCP commands
@details This section describes the SSCP commands and parameters.
@ingroup sscp
*/
/*!
* @addtogroup sscp_cmd
* @{
*/
/*... | 26.771186 | 65 | 0.792339 |
04a6de087616d1ef45f80b260488b5da726450a3 | 827,764 | html | HTML | docs/da.html | bramp/khan-index | 4990a20645997bf32ceb62cd55fff46cf6db9d2d | [
"Apache-2.0"
] | null | null | null | docs/da.html | bramp/khan-index | 4990a20645997bf32ceb62cd55fff46cf6db9d2d | [
"Apache-2.0"
] | null | null | null | docs/da.html | bramp/khan-index | 4990a20645997bf32ceb62cd55fff46cf6db9d2d | [
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="da" xml:lang="da">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Khan Academy</title>
<style>
code{white-space: p... | 231.477629 | 800 | 0.779307 |
8fb8d791b52ec9ce590c37d7ed0494385df31650 | 159 | kt | Kotlin | testData/exec/sequence/src/filter/FilterIndexed.kt | bibaev/kotlin-stream-debugger | ef35c14bc9b242aaa7db22ef1f8f34e9a6cdea3d | [
"Apache-2.0"
] | 2 | 2019-02-08T11:22:49.000Z | 2019-07-26T12:51:36.000Z | testData/exec/sequence/src/filter/FilterIndexed.kt | bibaev/kotlin-stream-debugger | ef35c14bc9b242aaa7db22ef1f8f34e9a6cdea3d | [
"Apache-2.0"
] | null | null | null | testData/exec/sequence/src/filter/FilterIndexed.kt | bibaev/kotlin-stream-debugger | ef35c14bc9b242aaa7db22ef1f8f34e9a6cdea3d | [
"Apache-2.0"
] | 2 | 2018-06-03T03:36:51.000Z | 2019-09-16T06:15:19.000Z | package filter
fun main(args: Array<String>) {
// Breakpoint!
intArrayOf(1, 2, 3).asSequence().filterIndexed({ index, _ -> index % 2 == 0 }).count()
} | 26.5 | 90 | 0.622642 |
cb5c2245160d3f8c0f46a2a07f244337cc1ed024 | 353 | html | HTML | templates/faves.html | johnwesleyharding/Unit3Sprint3MVP | 17e769ab71cff0b19bfada4ef16417ecc5c3a2ff | [
"MIT"
] | null | null | null | templates/faves.html | johnwesleyharding/Unit3Sprint3MVP | 17e769ab71cff0b19bfada4ef16417ecc5c3a2ff | [
"MIT"
] | null | null | null | templates/faves.html | johnwesleyharding/Unit3Sprint3MVP | 17e769ab71cff0b19bfada4ef16417ecc5c3a2ff | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title> favorite dogs </title>
</head>
<body>
{%for dog in faves%}
<ul>
<li>
<img src = '{{dog[0]}}', alt = 'dog here'>
</li>
</ul>
{% en... | 17.65 | 58 | 0.371105 |
6ba2b1e169cbcfe481b80ad9aceca31671e8046f | 1,428 | h | C | Gui3d/ButtonPopup.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 32 | 2016-05-22T23:09:19.000Z | 2022-03-13T03:32:27.000Z | Gui3d/ButtonPopup.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 2 | 2016-05-30T19:45:58.000Z | 2018-01-24T22:29:51.000Z | Gui3d/ButtonPopup.h | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 17 | 2016-05-27T11:01:42.000Z | 2022-03-13T03:32:30.000Z | /*
ButtonPopup.h
This button displays it's child objects when active
(c)2005 Palestar Inc, Richard Lyle
*/
#ifndef BUTTONPOPUP_H
#define BUTTONPOPUP_H
#include "Gui3d/WindowButton.h"
#include "Gui3d/GUI3DDll.h"
//----------------------------------------------------------------------------
class DLL ButtonPopup ... | 20.695652 | 93 | 0.545518 |
3ab55339a3a98a636c9974ba92fd90088eaec34e | 1,852 | sql | SQL | oracle/ora/awr/awrload.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 44 | 2015-05-07T16:11:03.000Z | 2021-09-19T08:59:20.000Z | oracle/ora/awr/awrload.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 8 | 2015-05-08T03:38:03.000Z | 2020-05-22T11:00:47.000Z | oracle/ora/awr/awrload.sql | hyee/dbcli | a39fdffdc5a15b9a6e17dc8e6e852003a8dedf0d | [
"MIT"
] | 24 | 2015-05-07T16:17:41.000Z | 2022-01-02T13:10:29.000Z | /*[[Import AWR repository dump. Usage: @@NAME <directory_name> <file_name> [<new_dbid>]
--[[
@ARGS: 2
--]]
]]*/
SET SQLTIMEOUT 7200
DECLARE
dir VARCHAR2(128) := :V1;
file VARCHAR2(512) := :V2;
did INT := :V3;
root VARCHAR2(512);
dump BFILE;
len NUMBER;
stage VARCHAR... | 33.672727 | 113 | 0.599892 |
53c4c8ce09c29a66877a0fa58016384e8efb3f61 | 2,655 | java | Java | src/mappers/owl/OWLEquivalenceSCSPMapper.java | jrbn/webpie | 843807ef875b056b875cb250134730facc9c7cf1 | [
"Apache-2.0"
] | 2 | 2015-12-01T18:34:43.000Z | 2021-07-05T07:45:12.000Z | src/mappers/owl/OWLEquivalenceSCSPMapper.java | jrbn/webpie | 843807ef875b056b875cb250134730facc9c7cf1 | [
"Apache-2.0"
] | null | null | null | src/mappers/owl/OWLEquivalenceSCSPMapper.java | jrbn/webpie | 843807ef875b056b875cb250134730facc9c7cf1 | [
"Apache-2.0"
] | null | null | null | package mappers.owl;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import org.apache.hadoop.io.BytesWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.mapreduce.Mapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import readers.FilesTriplesReader;
... | 28.548387 | 70 | 0.73484 |
28606435e1e5e3f888988d0dc49fb37281a76692 | 9,578 | lua | Lua | modules/libraries/backend/pulseaudio/init.lua | SkyyySi/norsome2 | 74e5977868230ddc9185f1d27a3d849440e9fb15 | [
"Unlicense"
] | null | null | null | modules/libraries/backend/pulseaudio/init.lua | SkyyySi/norsome2 | 74e5977868230ddc9185f1d27a3d849440e9fb15 | [
"Unlicense"
] | null | null | null | modules/libraries/backend/pulseaudio/init.lua | SkyyySi/norsome2 | 74e5977868230ddc9185f1d27a3d849440e9fb15 | [
"Unlicense"
] | null | null | null | #!/usr/bin/env lua5.3
local awful = require("awful")
local wibox = require("wibox")
local gears = require("gears")
local naughty = require("naughty")
-- Define the base module
local pulseaudio = {
-- Create a new instance
new = function(self, selected_cli)
local object = {
-- There are multiple pulseaudio... | 29.29052 | 83 | 0.609313 |
36c879725b4f86e014b75746a619d3eddb655e2f | 1,727 | swift | Swift | iMarvel/iMarvel/Extensions/UIFont/UIFont.swift | rcasanovan/iMarvel | ddee93de99cc506e4cb9c206dfcd4129be021bc4 | [
"Apache-2.0"
] | 2 | 2019-03-01T16:37:52.000Z | 2019-09-07T23:07:41.000Z | iMarvel/iMarvel/Extensions/UIFont/UIFont.swift | rcasanovan/iMarvel | ddee93de99cc506e4cb9c206dfcd4129be021bc4 | [
"Apache-2.0"
] | null | null | null | iMarvel/iMarvel/Extensions/UIFont/UIFont.swift | rcasanovan/iMarvel | ddee93de99cc506e4cb9c206dfcd4129be021bc4 | [
"Apache-2.0"
] | null | null | null | //
// UIFont.swift
// iMarvel
//
// Created by Ricardo Casanova on 17/12/2018.
// Copyright © 2018 Wallapop. All rights reserved.
//
import UIKit
extension UIFont {
/**
* Get InterUI Black font
*/
public class func interUIBlackWithSize(size : CGFloat) -> UIFont? {
return UIFont(name... | 25.028986 | 78 | 0.599305 |
99412084ad8354eeac28b286ec51d9199233a7ad | 1,220 | h | C | include/Crc.h | Tomash667/carpglib | c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed | [
"MIT"
] | 4 | 2019-08-18T19:33:04.000Z | 2021-08-07T02:12:54.000Z | include/Crc.h | Tomash667/carpglib | c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed | [
"MIT"
] | 5 | 2019-08-14T05:45:56.000Z | 2021-03-15T07:47:24.000Z | include/Crc.h | Tomash667/carpglib | c8701b170e4e2cbdb4d52fe3b7c8529afb3e97ed | [
"MIT"
] | 2 | 2019-10-05T02:36:35.000Z | 2021-02-15T20:20:09.000Z | #pragma once
//-----------------------------------------------------------------------------
class Crc
{
public:
Crc() : m_crc(CRC32_NEGL) {}
void Update(const byte *input, size_t length);
uint Get() const { return ~m_crc; }
operator uint() const { return Get(); }
// Don't use for types with padding!
template<t... | 17.941176 | 79 | 0.602459 |
c020d6976db163d153fc03dd5ef32fc2e32e83a1 | 363 | kt | Kotlin | Todoey/app/src/main/java/com/example/todoey/app/TodoApplication.kt | antoniosj/Cool-Kids-Code-in-Android | 693f5d85915ef16c65f8852c330c93c4b5040cef | [
"MIT"
] | null | null | null | Todoey/app/src/main/java/com/example/todoey/app/TodoApplication.kt | antoniosj/Cool-Kids-Code-in-Android | 693f5d85915ef16c65f8852c330c93c4b5040cef | [
"MIT"
] | null | null | null | Todoey/app/src/main/java/com/example/todoey/app/TodoApplication.kt | antoniosj/Cool-Kids-Code-in-Android | 693f5d85915ef16c65f8852c330c93c4b5040cef | [
"MIT"
] | null | null | null | package com.example.todoey.app
import android.app.Application
import com.example.todoey.di.appModule
import com.example.todoey.domain.repository.local.LocalTaskRepository
import org.koin.android.ext.android.startKoin
class TodoApplication: Application() {
override fun onCreate() {
super.onCreate()
... | 27.923077 | 69 | 0.76584 |
2d9bf76d833a7ad373e9c323793079c0f834bed9 | 2,328 | rs | Rust | tests/basic.rs | piegamesde/woab | 2f98f741d82b4d694ad56bd69cd9f0539ee6715d | [
"MIT"
] | null | null | null | tests/basic.rs | piegamesde/woab | 2f98f741d82b4d694ad56bd69cd9f0539ee6715d | [
"MIT"
] | null | null | null | tests/basic.rs | piegamesde/woab | 2f98f741d82b4d694ad56bd69cd9f0539ee6715d | [
"MIT"
] | null | null | null | use gtk::prelude::*;
#[macro_use]
mod util;
#[derive(woab::Factories)]
struct Factories {
#[factory(extra(buf_left, buf_right))]
win_test: woab::BuilderFactory,
}
struct TestActor {
widgets: TestWidgets,
}
impl actix::Actor for TestActor {
type Context = actix::Context<Self>;
}
#[derive(Clone, woab... | 28.048193 | 97 | 0.63445 |
9c3671c681220bcde1cdf9ca479512cffa39b3a1 | 55 | js | JavaScript | FinalProject/JS/tinyMce.js | wornsoulbit/FinalProjectECom | f798391c424482a1e3367e2875ff80816a6f5748 | [
"MIT"
] | null | null | null | FinalProject/JS/tinyMce.js | wornsoulbit/FinalProjectECom | f798391c424482a1e3367e2875ff80816a6f5748 | [
"MIT"
] | null | null | null | FinalProject/JS/tinyMce.js | wornsoulbit/FinalProjectECom | f798391c424482a1e3367e2875ff80816a6f5748 | [
"MIT"
] | null | null | null | tinymce.init({
selector: 'textarea#page_text'
}); | 18.333333 | 34 | 0.654545 |
2f009a6b7725db5ca5c56bfcd533bb24ffeeb957 | 1,435 | php | PHP | database/migrations/2017_09_04_134538_formulario_cultivos.php | hudson940/EPI | 5520ef46cf26f31b29066bb88ef7ab3780885d2b | [
"Apache-2.0"
] | null | null | null | database/migrations/2017_09_04_134538_formulario_cultivos.php | hudson940/EPI | 5520ef46cf26f31b29066bb88ef7ab3780885d2b | [
"Apache-2.0"
] | null | null | null | database/migrations/2017_09_04_134538_formulario_cultivos.php | hudson940/EPI | 5520ef46cf26f31b29066bb88ef7ab3780885d2b | [
"Apache-2.0"
] | null | null | null | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class FormularioCultivos extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('formulario_cult... | 27.075472 | 75 | 0.530314 |
f7154e18ed66bdbc9f3e06766d10c78083b9ce31 | 1,658 | h | C | include/macekit/mat.h | XiaoMi/mace-kit | f151a857313b1cf9b1ff6aea0a66c1cd5fbb15d1 | [
"Apache-2.0"
] | 29 | 2019-12-31T11:49:07.000Z | 2022-02-25T12:49:06.000Z | include/macekit/mat.h | XiaoMi/mace-kit | f151a857313b1cf9b1ff6aea0a66c1cd5fbb15d1 | [
"Apache-2.0"
] | 3 | 2020-01-23T07:06:23.000Z | 2021-11-01T08:19:48.000Z | include/macekit/mat.h | XiaoMi/mace-kit | f151a857313b1cf9b1ff6aea0a66c1cd5fbb15d1 | [
"Apache-2.0"
] | 6 | 2020-01-02T08:37:19.000Z | 2021-09-28T06:26:35.000Z | // Copyright 2019 The MACE-KIT Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | 20.469136 | 75 | 0.69421 |
802c649de3b06cc5efd83c5094fb91cafe9cf529 | 546 | sql | SQL | packages/acs-kernel/sql/oracle/upgrade/upgrade-5.6.0d3-5.6.0d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/acs-kernel/sql/oracle/upgrade/upgrade-5.6.0d3-5.6.0d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | packages/acs-kernel/sql/oracle/upgrade/upgrade-5.6.0d3-5.6.0d4.sql | iuri/tutortronics | 463ea1535773d06ce34d269136eab3ecaffcb1cf | [
"Info-ZIP",
"ImageMagick"
] | null | null | null | alter table acs_data_links add relation_tag varchar2(100);
create index acs_data_links_rel_tag_idx on acs_data_links (relation_tag);
alter table acs_data_links drop constraint acs_data_links_un;
alter table acs_data_links add constraint acs_data_links_un unique
(object_id_one, object_id_two, relation_tag);
alter ta... | 49.636364 | 78 | 0.846154 |
2a2a74fd6ddb107f168169a6d87d4b4a26a1d857 | 15,368 | java | Java | src/main/java/com/publictransitanalytics/scoregenerator/workflow/Calculation.java | PublicTransitAnalytics/ScoreGenerator | cc8753ef3d2e89c4ef07faa16ec835d2494105b1 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/publictransitanalytics/scoregenerator/workflow/Calculation.java | PublicTransitAnalytics/ScoreGenerator | cc8753ef3d2e89c4ef07faa16ec835d2494105b1 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/publictransitanalytics/scoregenerator/workflow/Calculation.java | PublicTransitAnalytics/ScoreGenerator | cc8753ef3d2e89c4ef07faa16ec835d2494105b1 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2017 Public Transit Analytics.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 44.16092 | 94 | 0.689745 |
d24a63b6197cf309f43eebefdcebb396c6e0c3de | 536 | php | PHP | database/factories/ExpenseModelFactory.php | stefanaritonovic2394/e-wallet | dfc296421514c827c5419ddc79fdba96d75fc524 | [
"MIT"
] | null | null | null | database/factories/ExpenseModelFactory.php | stefanaritonovic2394/e-wallet | dfc296421514c827c5419ddc79fdba96d75fc524 | [
"MIT"
] | null | null | null | database/factories/ExpenseModelFactory.php | stefanaritonovic2394/e-wallet | dfc296421514c827c5419ddc79fdba96d75fc524 | [
"MIT"
] | null | null | null | <?php
use Faker\Generator as Faker;
use App\Expenses\Expense;
use Carbon\Carbon;
$factory->define(Expense::class, function (Faker $faker) {
return [
'entry_date' => Carbon::now()->format('Y-m-d'),
'amount' => $this->faker->randomNumber(4),
'expense_category_id' => random_int(1, 3),
... | 29.777778 | 61 | 0.576493 |
04a802c2fa9ece493b51b484e6767a94084bde97 | 4,458 | html | HTML | index.html | jorozco4/Team-Profile-Generator | 73d5a2a10ea8afea61e8cc8565b1bff1f87f333a | [
"MIT",
"Unlicense"
] | null | null | null | index.html | jorozco4/Team-Profile-Generator | 73d5a2a10ea8afea61e8cc8565b1bff1f87f333a | [
"MIT",
"Unlicense"
] | null | null | null | index.html | jorozco4/Team-Profile-Generator | 73d5a2a10ea8afea61e8cc8565b1bff1f87f333a | [
"MIT",
"Unlicense"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css"
/>
<link
rel="stylesheet"
... | 32.779412 | 89 | 0.557873 |
cf0fe288923742afdaed64120896313bd7c1216c | 197 | asm | Assembly | programs/oeis/169/A169869.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/169/A169869.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/169/A169869.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A169869: Maximum number of rational points on a smooth absolutely irreducible projective curve of genus n over the field F_2.
; 5,6,7,8,9,10,10,11,12,13,14
mov $1,$0
div $1,6
sub $0,$1
add $0,5
| 24.625 | 127 | 0.715736 |
13657f38ffb215d1bfd009e2b4efbe08eadb4672 | 265 | c | C | URI/1132.c | jumouramar/programming-challenges-repository | c1e137c05e888a543af149aba903f7d7f33b42e1 | [
"MIT"
] | null | null | null | URI/1132.c | jumouramar/programming-challenges-repository | c1e137c05e888a543af149aba903f7d7f33b42e1 | [
"MIT"
] | null | null | null | URI/1132.c | jumouramar/programming-challenges-repository | c1e137c05e888a543af149aba903f7d7f33b42e1 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
int x, y, soma=0;
scanf("%d %d", &x, &y);
if(y<x){
int aux = x;
x = y;
y = aux;
}
for(int i=x; i<=y; i++){
if(i%13!=0) soma+=i;
}
printf("%d\n", soma);
return 0;
} | 12.619048 | 28 | 0.366038 |
f302c798a21988d378dcc32ab198c63c24e24ce0 | 1,857 | kt | Kotlin | plugins/space/src/main/kotlin/com/intellij/space/vcs/review/list/SpaceReviewListVm.kt | XZVB12/intellij-community | 9080e5edce26e8614fed7a64243512adcd68962d | [
"Apache-2.0"
] | 1 | 2020-12-05T13:29:34.000Z | 2020-12-05T13:29:34.000Z | plugins/space/src/main/kotlin/com/intellij/space/vcs/review/list/SpaceReviewListVm.kt | XZVB12/intellij-community | 9080e5edce26e8614fed7a64243512adcd68962d | [
"Apache-2.0"
] | null | null | null | plugins/space/src/main/kotlin/com/intellij/space/vcs/review/list/SpaceReviewListVm.kt | XZVB12/intellij-community | 9080e5edce26e8614fed7a64243512adcd68962d | [
"Apache-2.0"
] | 1 | 2020-10-15T05:56:42.000Z | 2020-10-15T05:56:42.000Z | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.space.vcs.review.list
import circlet.client.api.ProjectKey
import circlet.client.api.TD_MemberProfile
import circlet.code.api.CodeReviewStateFilter
import ci... | 35.037736 | 140 | 0.806677 |
16afcfba661299e60268bd94d69885729c816de9 | 156 | ts | TypeScript | lib/providers/index.d.ts | FunFaSy/minter-sdk-js | 2b0f76481d86bab33cf3764ea4a2f97aa3727cba | [
"MIT"
] | 6 | 2021-12-09T17:55:25.000Z | 2021-12-13T08:51:55.000Z | lib/providers/index.d.ts | FunFaSy/minter-js-sdk | 2b0f76481d86bab33cf3764ea4a2f97aa3727cba | [
"MIT"
] | null | null | null | lib/providers/index.d.ts | FunFaSy/minter-js-sdk | 2b0f76481d86bab33cf3764ea4a2f97aa3727cba | [
"MIT"
] | null | null | null | /** @hidden @module */
import { Provider } from './provider';
import { JsonRpcProvider } from './json-rpc-provider';
export { Provider, JsonRpcProvider, };
| 31.2 | 54 | 0.685897 |
74cf2464531f0ca5a47b8fee7664299ec627dcd4 | 1,990 | js | JavaScript | angular/services/getSaveDataChr.js | lalit527/GameOfThrones | b5ba53d02f7802914a9da0841bb984ab59389f3e | [
"MIT"
] | null | null | null | angular/services/getSaveDataChr.js | lalit527/GameOfThrones | b5ba53d02f7802914a9da0841bb984ab59389f3e | [
"MIT"
] | null | null | null | angular/services/getSaveDataChr.js | lalit527/GameOfThrones | b5ba53d02f7802914a9da0841bb984ab59389f3e | [
"MIT"
] | null | null | null | gotApp.factory('getSaveDataChar', ['$q','$http', 'getAllDataService', '$interval', function($q, $http, getAllDataService, $interval) {
var main = this;
main.characters = 0;
main.charsArr = [];
var deferred = $q.defer()
var timerCharacter;
var getAllCharactersHelper = function(){
++m... | 36.181818 | 135 | 0.532161 |
c7d423fa068508464eb1bdffe43ab9ac7402f665 | 6,603 | py | Python | pyowl.py | vene/pyowl | edef4cfeb31c4ea52cc67dce581372e2270fce2a | [
"BSD-3-Clause"
] | 57 | 2017-02-11T09:17:47.000Z | 2021-02-21T11:07:28.000Z | pyowl.py | vene/pyowl | edef4cfeb31c4ea52cc67dce581372e2270fce2a | [
"BSD-3-Clause"
] | 3 | 2019-08-07T15:09:00.000Z | 2019-08-30T11:53:17.000Z | pyowl.py | vene/pyowl | edef4cfeb31c4ea52cc67dce581372e2270fce2a | [
"BSD-3-Clause"
] | 13 | 2017-02-12T21:43:59.000Z | 2019-09-15T03:10:06.000Z | # Author: Vlad Niculae <vlad@vene.ro>
# License: BSD 3 clause
from __future__ import print_function
from __future__ import division
import numpy as np
from sklearn.base import BaseEstimator, ClassifierMixin, RegressorMixin
from sklearn.utils.extmath import safe_sparse_dot
from sklearn.isotonic import isotonic_regres... | 31.442857 | 79 | 0.6335 |
aaa02b4077ce324a7b36c2759950c6c1912ace44 | 2,867 | swift | Swift | src/swift/abstract/AbstractMessage.swift | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 3 | 2019-07-16T13:19:50.000Z | 2020-01-06T10:42:23.000Z | src/swift/abstract/AbstractMessage.swift | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 15 | 2018-12-11T14:00:48.000Z | 2021-12-21T17:42:42.000Z | src/swift/abstract/AbstractMessage.swift | readdle/mailcore2 | cf95a1587cebd5b2257e6b6fa0e34149a4d70394 | [
"BSD-3-Clause"
] | 2 | 2015-05-26T18:07:22.000Z | 2017-04-04T10:01:17.000Z | import Foundation
import CMailCore
public class MCOAbstractMessage: NSObjectCompat, Convertible {
private var nativeInstance:CAbstractMessage;
public required init(mailCoreObject: CObject) {
self.nativeInstance = CAbstractMessage.init(cobject: mailCoreObject)
self.nativeInstance.retain()... | 36.291139 | 113 | 0.668643 |
816541fd0ac9aa27940ad0ee8d31a1aaaa0de62e | 2,467 | rs | Rust | typebinder/src/pipeline/mod.rs | impero-com/ts_export | 850f28f2286714e47ddc9179c56718b634cef279 | [
"X11"
] | 4 | 2021-02-22T17:01:07.000Z | 2021-02-24T09:43:14.000Z | typebinder/src/pipeline/mod.rs | impero-com/typebinder | a5414b57ce8d6dcd8b57c9ea08c7a1ab646c5380 | [
"X11"
] | 18 | 2021-03-04T16:07:51.000Z | 2021-11-03T17:04:55.000Z | typebinder/src/pipeline/mod.rs | impero-com/ts_export | 850f28f2286714e47ddc9179c56718b634cef279 | [
"X11"
] | 2 | 2021-03-08T15:16:39.000Z | 2021-03-19T15:28:24.000Z | //! The core logic of `typebinder`
use crate::{
contexts::type_solving::TypeSolvingContext, error::TsExportError, exporters::Exporter,
macros::context::MacroSolvingContext, path_mapper::PathMapper,
step_spawner::PipelineStepSpawner,
};
use syn::{punctuated::Punctuated, Path};
use self::module_step::{Modul... | 31.628205 | 167 | 0.643697 |
370b617b84f81d8ac5e8e40c37aa4f31151f9218 | 538 | kt | Kotlin | gradle-plugins/compose/src/test/test-projects/misc/jvmPreview/mpp/src/commonMain/kotlin/composable.kt | Thomas-Vos/compose-jb | 21cda3f3c68e801b2a4034f53ac8d1efcc4ed568 | [
"Apache-2.0"
] | 8,925 | 2020-11-05T09:59:11.000Z | 2022-03-31T16:37:23.000Z | gradle-plugins/compose/src/test/test-projects/misc/jvmPreview/mpp/src/commonMain/kotlin/composable.kt | Thomas-Vos/compose-jb | 21cda3f3c68e801b2a4034f53ac8d1efcc4ed568 | [
"Apache-2.0"
] | 1,410 | 2020-11-05T12:22:15.000Z | 2022-03-31T19:02:20.000Z | gradle-plugins/compose/src/test/test-projects/misc/jvmPreview/mpp/src/commonMain/kotlin/composable.kt | Thomas-Vos/compose-jb | 21cda3f3c68e801b2a4034f53ac8d1efcc4ed568 | [
"Apache-2.0"
] | 715 | 2020-11-05T10:01:14.000Z | 2022-03-31T02:47:48.000Z | /*
* Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/
import androidx.compose.material.Text
import androidx.compose.material.Button
import androidx.compose.runtime.*
@Composable
... | 25.619048 | 107 | 0.70632 |
2f6230ea578b28dadc375e0a15354f90cdf63b9f | 1,414 | php | PHP | imcoolwithit.com/www_old/components/com_content/views/info/view.html.php | egarzaswat/imcoolwithit.com | c13d8ee0e469de1784287e489730c902107316ab | [
"Apache-2.0"
] | 1 | 2018-12-26T08:20:06.000Z | 2018-12-26T08:20:06.000Z | imcoolwithit.com/www/components/com_content/views/info/view.html.php | egarzaswat/imcoolwithit.com | c13d8ee0e469de1784287e489730c902107316ab | [
"Apache-2.0"
] | null | null | null | imcoolwithit.com/www/components/com_content/views/info/view.html.php | egarzaswat/imcoolwithit.com | c13d8ee0e469de1784287e489730c902107316ab | [
"Apache-2.0"
] | 1 | 2021-08-29T13:17:52.000Z | 2021-08-29T13:17:52.000Z | <?php
/**
* @package Joomla.Site
* @subpackage com_content
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* HTML Article View class for the Content comp... | 29.458333 | 101 | 0.602546 |
fc2ea93e894edb74eac5b33df1d268d99c37b973 | 2,536 | kt | Kotlin | bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/filled/Lightbulb.kt | wiryadev/BootstrapIconsCompose | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | [
"MIT"
] | 1 | 2021-07-20T14:37:00.000Z | 2021-07-20T14:37:00.000Z | bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/filled/Lightbulb.kt | wiryadev/bootstrap-icons-compose | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | [
"MIT"
] | null | null | null | bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/filled/Lightbulb.kt | wiryadev/bootstrap-icons-compose | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | [
"MIT"
] | null | null | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 47.849057 | 97 | 0.600552 |
ab60613d770ea0fe124bdf8e87b18cf0bc3072c9 | 1,822 | kt | Kotlin | app/src/main/java/com/ss/profilepercentageviewdemo/MainActivity.kt | smartSenseSolutions/ProfilePercentageView | d1a5af29e4b2042dbd5e28454fb08df1bc888fc6 | [
"Apache-2.0"
] | 19 | 2021-12-30T05:22:13.000Z | 2022-01-10T03:37:17.000Z | app/src/main/java/com/ss/profilepercentageviewdemo/MainActivity.kt | smartSenseSolutions/ProfilePercentageView | d1a5af29e4b2042dbd5e28454fb08df1bc888fc6 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/ss/profilepercentageviewdemo/MainActivity.kt | smartSenseSolutions/ProfilePercentageView | d1a5af29e4b2042dbd5e28454fb08df1bc888fc6 | [
"Apache-2.0"
] | 2 | 2021-12-30T06:58:58.000Z | 2022-01-03T13:14:02.000Z | package com.ss.profilepercentageviewdemo
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.TypedValue
import androidx.databinding.DataBindingUtil
import com.ss.profilepercentageviewdemo.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private l... | 39.608696 | 117 | 0.756312 |
d280712b4394818e6991d4b04e3f4bbf5eb6471a | 674 | php | PHP | plugins/mybbs.php | xoopscube/sitemap | dcdf4ab4b9cacd359900ea844a71325ecae10850 | [
"MIT"
] | null | null | null | plugins/mybbs.php | xoopscube/sitemap | dcdf4ab4b9cacd359900ea844a71325ecae10850 | [
"MIT"
] | null | null | null | plugins/mybbs.php | xoopscube/sitemap | dcdf4ab4b9cacd359900ea844a71325ecae10850 | [
"MIT"
] | null | null | null | <?php
// FILE :: mybbs.php
// AUTHOR :: suin <tms@s10.xrea.com>
// WEB :: AmethystBlue <http://www.suin.jp/>
// DATE :: 2005-02-15
function b_sitemap_mybbs(){
$db =& Database::getInstance();
$myts =& MyTextSanitizer::getInstance();
$sitemap = [];
$i = 0;
$url = "index.php?bbs_id=";
$sql = 'SELECT bbs_id, bbs_... | 29.304348 | 106 | 0.605341 |
82bf69fe1fdcabb5a147a0670b854bafc1a71b25 | 565 | asm | Assembly | lang/italian/fnam.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | lang/italian/fnam.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | lang/italian/fnam.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; English texts for File Name Menu 1988 Tony Tebby QJUMP
section language
include 'dev8_mac_text'
mkiobl fnnf\
0,0,{This file cannot be found. Use Qram} \40
0,1,{FILES menu to check the directory.} ;40
mkiobl fniu\
0,0... | 28.25 | 67 | 0.497345 |
967bdada4096d8b58d41d398edaffcca508a9156 | 840 | php | PHP | plugins/kurtjensen/passage/models/UserGroupsKeys.php | vittron/october | 73249fb5c610215947e7c301c1d49b0136c767af | [
"MIT"
] | null | null | null | plugins/kurtjensen/passage/models/UserGroupsKeys.php | vittron/october | 73249fb5c610215947e7c301c1d49b0136c767af | [
"MIT"
] | 5 | 2019-05-31T08:46:25.000Z | 2022-02-26T11:16:17.000Z | plugins/kurtjensen/passage/models/UserGroupsKeys.php | vittron/october | 73249fb5c610215947e7c301c1d49b0136c767af | [
"MIT"
] | 4 | 2019-05-31T01:49:59.000Z | 2019-06-05T05:06:43.000Z | <?php namespace KurtJensen\Passage\Models;
use Model;
/**
* UserGroupsKeys Model
*/
class UserGroupsKeys extends Model
{
/**
* @var string The database table used by the model.
*/
public $table = 'kurtjensen_passage_groups_keys';
/**
* @var array Guarded fields
*/
protected $gu... | 20 | 56 | 0.508333 |
38a59798c7a88ae32297ba11053caa456d9dbd19 | 8,771 | h | C | android/android_9/device/google/cuttlefish_common/guest/hals/camera/CallbackNotifier.h | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | 2 | 2021-07-28T21:29:40.000Z | 2021-11-17T11:02:19.000Z | android/android_9/device/google/cuttlefish_common/guest/hals/camera/CallbackNotifier.h | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/device/google/cuttlefish_common/guest/hals/camera/CallbackNotifier.h | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2011 The Android Open Source Project
*
* 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 app... | 37.482906 | 80 | 0.683388 |
396a7baf54ce5a13870b3e278dc38c848cfaa3d6 | 1,952 | html | HTML | views/user-confirm.html | Pingze-github/common-oauth2-server | 0b25a4efaa0e22086a7ed793f9508658469ee7ad | [
"MIT"
] | 42 | 2017-08-16T08:29:30.000Z | 2021-12-25T14:26:44.000Z | views/user-confirm.html | Pingze-github/common-oauth2-server | 0b25a4efaa0e22086a7ed793f9508658469ee7ad | [
"MIT"
] | 4 | 2017-11-27T18:49:12.000Z | 2020-05-20T15:25:49.000Z | views/user-confirm.html | Pingze-github/common-oauth2-server | 0b25a4efaa0e22086a7ed793f9508658469ee7ad | [
"MIT"
] | 22 | 2017-09-30T02:58:11.000Z | 2020-05-27T17:28:32.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Confirm Authorization to: <%- clientName %></title>
</head>
<body>
<form id="confirm-form">
<h3>User Authorization</h3>
<div>
<p>Dear <%- username %>, application <%- clientName %> wan... | 36.148148 | 154 | 0.519467 |
0a251b43b7d50dd315d5abb6dd37e6e9715b8cde | 1,056 | ts | TypeScript | projects/smarti18n/src/lib/services/config/config.service.spec.ts | rafapaulin/smarti18n | 88ad335241add428db6c74f60cb8aa3351f95810 | [
"MIT"
] | 2 | 2018-07-18T20:18:17.000Z | 2018-08-16T14:29:08.000Z | projects/smarti18n/src/lib/services/config/config.service.spec.ts | rafapaulin/smarti18n | 88ad335241add428db6c74f60cb8aa3351f95810 | [
"MIT"
] | 5 | 2018-07-15T13:56:59.000Z | 2018-10-12T15:54:53.000Z | projects/smarti18n/src/lib/services/config/config.service.spec.ts | rafapaulin/smarti18n | 88ad335241add428db6c74f60cb8aa3351f95810 | [
"MIT"
] | null | null | null | import { TestBed, getTestBed } from '@angular/core/testing';
import { ConfigService } from './config.service';
describe('ConfigService', () => {
let service: ConfigService;
beforeEach(() => {
TestBed.configureTestingModule({
providers: [ConfigService]
});
service = getTestBed().get(ConfigServic... | 23.466667 | 61 | 0.600379 |
b6d937c6bf167ae0e8646a47e76aaee72e16392d | 1,417 | swift | Swift | swift-sdk/CommerceItem.swift | brunosylvain/swift-sdk | 8c22e0390b47ff3fecf0ae6b2b71fefa180eb904 | [
"MIT"
] | null | null | null | swift-sdk/CommerceItem.swift | brunosylvain/swift-sdk | 8c22e0390b47ff3fecf0ae6b2b71fefa180eb904 | [
"MIT"
] | null | null | null | swift-sdk/CommerceItem.swift | brunosylvain/swift-sdk | 8c22e0390b47ff3fecf0ae6b2b71fefa180eb904 | [
"MIT"
] | null | null | null | //
// Created by Tapash Majumder on 6/6/18.
// Copyright © 2018 Iterable. All rights reserved.
//
import UIKit
/**
`CommerceItem` represents a product. These are used by the commerce API; see [IterableAPI trackPurchase:items:dataFields:]
*/
@objcMembers public class CommerceItem: NSObject {
/** id of this pro... | 26.240741 | 123 | 0.587862 |
8f66fabe0970cb1a944b255833a955e912bc14cd | 1,205 | swift | Swift | WeChatSwift/Discover/Shake/ShakeType.swift | InHisName/WeChatSwift | 3bbd4bf1abc741226aad5b05c333eb6db819bff9 | [
"MIT"
] | 132 | 2019-07-15T11:14:28.000Z | 2022-02-21T02:56:26.000Z | WeChatSwift/Discover/Shake/ShakeType.swift | InHisName/WeChatSwift | 3bbd4bf1abc741226aad5b05c333eb6db819bff9 | [
"MIT"
] | 6 | 2019-08-19T09:48:33.000Z | 2021-11-03T01:34:20.000Z | WeChatSwift/Discover/Shake/ShakeType.swift | InHisName/WeChatSwift | 3bbd4bf1abc741226aad5b05c333eb6db819bff9 | [
"MIT"
] | 33 | 2019-08-04T15:16:47.000Z | 2022-01-07T07:06:04.000Z | //
// ShakeType.swift
// WeChatSwift
//
// Created by xu.shuifeng on 2019/8/8.
// Copyright © 2019 alexiscn. All rights reserved.
//
import UIKit
enum ShakeType: String {
case people
case music
case tv
var image: UIImage? {
let name = "Shake_icon_\(self.rawValue)_38x34_"
retur... | 23.627451 | 67 | 0.573444 |
403ed8c759891b08ee51690d9702e340ed6f4833 | 2,620 | py | Python | instascrape/exceptions.py | tnychn/instascrape | 7aaf3c1a1786bbe80059ed6e0d93442a19a6f475 | [
"MIT"
] | 80 | 2020-05-28T17:22:14.000Z | 2022-03-25T07:15:51.000Z | instascrape/exceptions.py | AlphaXenon/InstaScrape | 7aaf3c1a1786bbe80059ed6e0d93442a19a6f475 | [
"MIT"
] | 23 | 2020-05-25T12:45:40.000Z | 2022-03-06T05:44:41.000Z | instascrape/exceptions.py | AlphaXenon/InstaScrape | 7aaf3c1a1786bbe80059ed6e0d93442a19a6f475 | [
"MIT"
] | 14 | 2020-06-28T05:52:28.000Z | 2022-03-28T04:27:50.000Z | class InstascrapeError(Exception):
"""Base exception class for all of the exceptions raised by Instascrape."""
class ExtractionError(InstascrapeError):
"""Raised when Instascrape fails to extract specified data from HTTP response."""
def __init__(self, message: str):
super().__init__("Failed to e... | 35.890411 | 131 | 0.719084 |
b993f45f6a9f937a4388acc8d42ab23fdbb386d1 | 1,332 | h | C | Sources/Samples/Stealth/AIController.h | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Stealth/AIController.h | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | Sources/Samples/Stealth/AIController.h | jdelezenne/Sonata | fb1b1b64a78874a0ab2809995be4b6f14f9e4d56 | [
"MIT"
] | null | null | null | /*=============================================================================
AIController.h
Project: Sonata Engine
Copyright �by7
Julien Delezenne
=============================================================================*/
#ifndef _SE_AICONTROLLER_H_
#define _SE_AICONTROLLER_H_
#include "Common.h"
#include "Ga... | 22.965517 | 85 | 0.713213 |
245669d5bef444836dd48fa69213d4f5975d1bd7 | 761 | sql | SQL | sql_metadb/derived_tables/instance_languages.sql | eliana-flo/folio-analytics | 9734eb0500467fbaf0d83c72d8bde926efb277ac | [
"Apache-2.0"
] | 2 | 2019-07-22T17:36:11.000Z | 2019-11-11T17:46:45.000Z | sql_metadb/derived_tables/instance_languages.sql | eliana-flo/folio-analytics | 9734eb0500467fbaf0d83c72d8bde926efb277ac | [
"Apache-2.0"
] | 8 | 2019-03-25T13:01:12.000Z | 2019-12-13T20:38:27.000Z | sql_metadb/derived_tables/instance_languages.sql | eliana-flo/folio-analytics | 9734eb0500467fbaf0d83c72d8bde926efb277ac | [
"Apache-2.0"
] | 13 | 2019-08-09T21:59:13.000Z | 2020-03-10T14:35:54.000Z | -- Create derived table for Instance languages
DROP TABLE IF EXISTS instance_languages;
CREATE TABLE instance_languages AS
SELECT
instances.id AS instance_id,
jsonb_extract_path_text(instances.jsonb, 'hrid') AS instance_hrid,
languages.jsonb #>> '{}' AS instance_language,
languages.ordinality AS langu... | 30.44 | 121 | 0.806833 |
0187ac8a31342e2aa3e96a82c3c5b17a37b25d38 | 622 | rs | Rust | src/models/game_play_coordinates.rs | tarkah/rust-nhl-stats-api | 2ca5165af8b3513b5574895f4397b2f7e7a8a1be | [
"MIT"
] | 4 | 2019-08-08T02:12:04.000Z | 2020-12-01T07:30:44.000Z | src/models/game_play_coordinates.rs | tarkah/rust-nhl-stats-api | 2ca5165af8b3513b5574895f4397b2f7e7a8a1be | [
"MIT"
] | null | null | null | src/models/game_play_coordinates.rs | tarkah/rust-nhl-stats-api | 2ca5165af8b3513b5574895f4397b2f7e7a8a1be | [
"MIT"
] | 1 | 2022-01-12T02:19:21.000Z | 2022-01-12T02:19:21.000Z | /*
* NHL API
*
* Documenting the publicly accessible portions of the NHL API.
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct GamePlayCoordinates {
#[serde(rename = "x", skip_serializing_if ... | 20.064516 | 67 | 0.622186 |
f745b5f03770ee0202111348d9bd523106e66e6a | 3,560 | h | C | bsp/intel/peripheral/libupm/src/stepmotor/stepmotor.h | OpenSource-Infinix/android_hardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | 1 | 2017-09-22T01:41:30.000Z | 2017-09-22T01:41:30.000Z | bsp/intel/peripheral/libupm/src/stepmotor/stepmotor.h | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | null | null | null | bsp/intel/peripheral/libupm/src/stepmotor/stepmotor.h | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | 1 | 2018-02-24T19:09:04.000Z | 2018-02-24T19:09:04.000Z | /*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Credits to Adafruit.
* Based on Adafruit BMP085 library.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Softwa... | 28.943089 | 81 | 0.63764 |
c7c0ddf187a121fa94e350a87f3a1a34fe08c11c | 10,107 | py | Python | ball.py | adata111/brick-carnival | 38dcb03764e00b84010eaa61dbec79c087dc9295 | [
"BSD-2-Clause"
] | null | null | null | ball.py | adata111/brick-carnival | 38dcb03764e00b84010eaa61dbec79c087dc9295 | [
"BSD-2-Clause"
] | null | null | null | ball.py | adata111/brick-carnival | 38dcb03764e00b84010eaa61dbec79c087dc9295 | [
"BSD-2-Clause"
] | null | null | null | from headers import *
import globalVar
from globalVar import TOP, BOTTOM, LIVES, HT, WIDTH, LEFT, RIGHT, obj_bricks, paddle, ALT_LIVES
rows = HT
cols = WIDTH
class Ball:
"""docstring for Ball
contains all methods that can modify state of the ball.
"""
def __init__(self, x, y, vx, vy, m):
super().__init__()
sel... | 27.464674 | 264 | 0.610567 |
844035736fcfaf5b541d812e2981b13087aae9a3 | 210,006 | html | HTML | practices/ref/Asynchronous-programming-scenarios.html | yelu/cppnotes | 9756f1655e8e8d0695552904b3a54dac119e7554 | [
"BSD-3-Clause"
] | 2 | 2020-07-31T08:13:23.000Z | 2020-07-31T08:14:36.000Z | practices/ref/Asynchronous-programming-scenarios.html | yelu/cppnotes | 9756f1655e8e8d0695552904b3a54dac119e7554 | [
"BSD-3-Clause"
] | null | null | null | practices/ref/Asynchronous-programming-scenarios.html | yelu/cppnotes | 9756f1655e8e8d0695552904b3a54dac119e7554 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE html> <html class="hasSidebar hasPageActions hasBreadcrumb conceptual has-default-focus js-focus-visible theme-dark mathjax-complete" lang=en-us dir=ltr data-css-variable-support=true data-authenticated=false data-auth-status-determined=true data-target=docs x-ms-format-detection=none data-js-focus-visible st... | 203.494186 | 132,864 | 0.840662 |
b5a8e91fa97fd2d2e83527adcdf85966060d5ed1 | 556 | swift | Swift | ECGmonitor/UIViewBGCextension.swift | GilsonFrias/ECGmonitor- | aff233eeb49197d7a5b19be4081219f7759d059e | [
"MIT"
] | 1 | 2020-12-14T05:26:38.000Z | 2020-12-14T05:26:38.000Z | ECGmonitor/UIViewBGCextension.swift | GilsonFrias/ECGmonitor- | aff233eeb49197d7a5b19be4081219f7759d059e | [
"MIT"
] | null | null | null | ECGmonitor/UIViewBGCextension.swift | GilsonFrias/ECGmonitor- | aff233eeb49197d7a5b19be4081219f7759d059e | [
"MIT"
] | null | null | null | //
// UIViewBGCextension.swift
// ECGmonitor
//
// Created by Gilson on 2019/11/20.
// Copyright © 2019 Gilosn Frias . All rights reserved.
// Based on the Youtube video tutorial by Sean Allen: https://www.youtube.com/watch?v=3gUNg3Jhjwo
import Foundation
import UIKit
extension UIView {
func setGradientBackg... | 27.8 | 98 | 0.703237 |
6b7291886ab14e135dda11a8dd02b9ea0ce4c29b | 1,823 | rs | Rust | CXT/xsd10/src/model/simple_types/qname.rs | lumeohq/ez-xsd | b31f6f288e3fdd23ff16485e31c3c593eccb9289 | [
"Apache-2.0",
"MIT"
] | null | null | null | CXT/xsd10/src/model/simple_types/qname.rs | lumeohq/ez-xsd | b31f6f288e3fdd23ff16485e31c3c593eccb9289 | [
"Apache-2.0",
"MIT"
] | 12 | 2020-08-16T09:48:12.000Z | 2020-08-18T04:29:41.000Z | CXT/xsd10/src/model/simple_types/qname.rs | lumeohq/ez-xsd | b31f6f288e3fdd23ff16485e31c3c593eccb9289 | [
"Apache-2.0",
"MIT"
] | null | null | null | use std::fmt;
// xsd:QName
// The type xsd:QName represents an XML namespace-qualified name. A xsd:QName value consists of a prefix and a local part, separated by a colon, both of which are NCName values. The prefix and colon are optional, but if they are not present, it is assumed that either the name is namespace-qu... | 35.745098 | 393 | 0.605595 |
e9cf8a44693accd6f1b8512ef73deb8d17ee6ea3 | 3,048 | rs | Rust | service/tasks/src/worker/backend/mock.rs | replicante-io/replicante | 18b42665d8773968a650396ec6f8ca3bebd55a06 | [
"MIT"
] | 2 | 2018-03-23T13:40:20.000Z | 2021-11-03T11:36:42.000Z | service/tasks/src/worker/backend/mock.rs | replicante-io/replicante | 18b42665d8773968a650396ec6f8ca3bebd55a06 | [
"MIT"
] | null | null | null | service/tasks/src/worker/backend/mock.rs | replicante-io/replicante | 18b42665d8773968a650396ec6f8ca3bebd55a06 | [
"MIT"
] | null | null | null | use std::collections::HashMap;
use std::collections::VecDeque;
use std::sync::Arc;
use std::sync::Mutex;
use std::thread::sleep;
use std::time::Duration;
use serde::Serialize;
use super::super::TaskId;
use super::AckStrategy;
use super::Backend;
use super::Result;
use super::Task;
use super::TaskQueue;
/// Strategy ... | 23.8125 | 88 | 0.559055 |
716e9016c78c51389c580e68b4a071ce617c9591 | 2,033 | swift | Swift | DragView/DragView/ViewController.swift | motoom/ios-apps | 443e7f7423e6bd3ac67c020c3d1926dee31f7cb0 | [
"MIT"
] | null | null | null | DragView/DragView/ViewController.swift | motoom/ios-apps | 443e7f7423e6bd3ac67c020c3d1926dee31f7cb0 | [
"MIT"
] | null | null | null | DragView/DragView/ViewController.swift | motoom/ios-apps | 443e7f7423e6bd3ac67c020c3d1926dee31f7cb0 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// DragView
//
// Created by User on 2016-02-14.
// Copyright © 2016 motoom. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var fieldView: FieldView!
@IBOutlet weak var dragView: DragView!
@IBOutlet weak var dragLabel: UILabel!
... | 29.897059 | 90 | 0.580423 |
6b3b2f400f0d9ca0790f8f3d8745802feb262c26 | 3,449 | c | C | DeviceCode/Targets/OS/Toppers/hrp2/target/ev3_gcc/drivers/motor/src/motor_dri.c | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/OS/Toppers/hrp2/target/ev3_gcc/drivers/motor/src/motor_dri.c | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/OS/Toppers/hrp2/target/ev3_gcc/drivers/motor/src/motor_dri.c | Sirokujira/MicroFrameworkPK_v4_3 | a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e | [
"Apache-2.0"
] | 1 | 2019-12-05T18:59:01.000Z | 2019-12-05T18:59:01.000Z | /*
* d_pwm.c
*
* Created on: Sep 20, 2013
* Author: liyixiao
*/
#include "driver_common.h"
#include "motor_dri.h"
#include "platform.h"
#define InitGpio PWM_InitGpio
#define TRUE (1)
#define FALSE (0)
#undef SYSCFG0
#undef SYSCFG1
#undef PSC1
/**
* Define pointers of registers as 'volatile' to suppress ... | 22.108974 | 114 | 0.704842 |
9c3a3b32ecb7ede8f18b1f5aabd2c97a300cf8e8 | 428 | js | JavaScript | routes/index.js | cewinkler/portalchess | b06790bc2ec7466b5d488417f7b7b956f6422cd8 | [
"Apache-2.0"
] | null | null | null | routes/index.js | cewinkler/portalchess | b06790bc2ec7466b5d488417f7b7b956f6422cd8 | [
"Apache-2.0"
] | null | null | null | routes/index.js | cewinkler/portalchess | b06790bc2ec7466b5d488417f7b7b956f6422cd8 | [
"Apache-2.0"
] | null | null | null | var express = require('express');
var router = express.Router();
var db = require('mongoose').connection;
var async = require('asyncawait/async');
var await = require('asyncawait/await');
exports.index = function (req, res) {
res.locals = {
title: 'PortalChess',
};
return res.render('index/index', ... | 23.777778 | 40 | 0.581776 |
c3f136f2876b699603b37afe9d2f8c1b52299704 | 765 | rs | Rust | src/test/ui/issues/issue-20801.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 66,762 | 2015-01-01T08:32:03.000Z | 2022-03-31T23:26:40.000Z | src/test/ui/issues/issue-20801.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 76,993 | 2015-01-01T00:06:33.000Z | 2022-03-31T23:59:15.000Z | src/test/ui/issues/issue-20801.rs | Eric-Arellano/rust | 0f6f2d681b39c5f95459cd09cb936b6ceb27cd82 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 11,787 | 2015-01-01T00:01:19.000Z | 2022-03-31T19:03:42.000Z | // We used to ICE when moving out of a `*mut T` or `*const T`.
struct T(u8);
static mut GLOBAL_MUT_T: T = T(0);
static GLOBAL_T: T = T(0);
fn imm_ref() -> &'static T {
unsafe { &GLOBAL_T }
}
fn mut_ref() -> &'static mut T {
unsafe { &mut GLOBAL_MUT_T }
}
fn mut_ptr() -> *mut T {
unsafe { core::ptr::nu... | 20.131579 | 62 | 0.576471 |
85a4f695d605e6769278a81644c52b4fa33cde32 | 119 | kt | Kotlin | http/src/commonMain/kotlin/pw/binom/io/http/websocket/InvalidSecurityKeyException.kt | caffeine-mgn/pw.binom.io | 4811a4cf0a0b935772c7bd4416dec35d8556a3ab | [
"Apache-2.0"
] | 47 | 2019-05-15T07:44:27.000Z | 2022-03-22T07:15:09.000Z | http/src/commonMain/kotlin/pw/binom/io/http/websocket/InvalidSecurityKeyException.kt | caffeine-mgn/pw.binom.io | 4811a4cf0a0b935772c7bd4416dec35d8556a3ab | [
"Apache-2.0"
] | 17 | 2020-07-01T08:00:50.000Z | 2021-06-17T08:51:14.000Z | http/src/commonMain/kotlin/pw/binom/io/http/websocket/InvalidSecurityKeyException.kt | caffeine-mgn/pw.binom.io | 4811a4cf0a0b935772c7bd4416dec35d8556a3ab | [
"Apache-2.0"
] | 2 | 2019-12-09T07:25:49.000Z | 2020-07-06T09:54:51.000Z | package pw.binom.io.http.websocket
import pw.binom.io.IOException
class InvalidSecurityKeyException:IOException() | 23.8 | 47 | 0.823529 |
1bde984571b7f4f4e48121c1095f28ca435b7f01 | 6,195 | py | Python | PyFile/pyfile.py | chyka-dev/PyFile | a52e69c712c10934bc88c0b75b3f536e12303c83 | [
"MIT"
] | null | null | null | PyFile/pyfile.py | chyka-dev/PyFile | a52e69c712c10934bc88c0b75b3f536e12303c83 | [
"MIT"
] | null | null | null | PyFile/pyfile.py | chyka-dev/PyFile | a52e69c712c10934bc88c0b75b3f536e12303c83 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
import os
import six
from .pystring import PyString
class PyFile(object):
"""More human-friendly file access interface.
Works on Python2 and 3.
Usage:
file = File(".bashrc")
file.write("Hello, world!!")
print(file.read())
del file
"""
clas... | 26.934783 | 80 | 0.501211 |
859278aaa5184ffc80e18004d9ecef8a06a031dd | 2,199 | js | JavaScript | src/components/Organization/index.js | susithrj/Codelabz | 7503f1843e2b91395acd0b0256805ecaccdf0bb4 | [
"Apache-2.0"
] | null | null | null | src/components/Organization/index.js | susithrj/Codelabz | 7503f1843e2b91395acd0b0256805ecaccdf0bb4 | [
"Apache-2.0"
] | null | null | null | src/components/Organization/index.js | susithrj/Codelabz | 7503f1843e2b91395acd0b0256805ecaccdf0bb4 | [
"Apache-2.0"
] | 1 | 2021-02-19T18:02:57.000Z | 2021-02-19T18:02:57.000Z | import React, { useState } from "react";
import OrgSidebar from "./OrgSidebar/orgSidebar";
import { useMediaQuery } from "react-responsive";
import { Row, Col, Layout, Drawer, Button } from "antd";
import OrgInfoCard from "./OrgInfoCard/orgInfoCard";
import OrgUsersCard from "./OrgUsersCard/orgUsersCard";
const { Conte... | 28.192308 | 72 | 0.468849 |
759dac00d31bb10c8c87eeb7576411e1d021f687 | 300,947 | h | C | Include/10.0.19041.0/km/crt/arm_neon.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-29T06:22:17.000Z | 2021-11-28T08:21:38.000Z | Include/10.0.19041.0/km/crt/arm_neon.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | null | null | null | Include/10.0.19041.0/km/crt/arm_neon.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-30T04:15:11.000Z | 2021-11-28T08:48:56.000Z | /***
* arm_neon.h - declarations/definitions for ARM NEON specific intrinsics
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
*Purpose:
* This include file contains the declarations for ARM NEON intrinsic functions
*
****/
#pragma once
#include <sal.h>
#if !defined(_M_ARM)
#error This h... | 105.447442 | 338 | 0.614274 |
70174e4479038f22d5224d880c20cff7c245a064 | 817 | go | Go | evaluator/evaluator_map.go | wzshiming/gs | c097d7f734fbdd4b27de9b9178b1d2f6321f796e | [
"MIT"
] | 5 | 2018-04-20T16:05:21.000Z | 2021-01-16T15:40:42.000Z | evaluator/evaluator_map.go | wzshiming/gs | c097d7f734fbdd4b27de9b9178b1d2f6321f796e | [
"MIT"
] | null | null | null | evaluator/evaluator_map.go | wzshiming/gs | c097d7f734fbdd4b27de9b9178b1d2f6321f796e | [
"MIT"
] | null | null | null | package evaluator
import (
"fmt"
"github.com/wzshiming/gs/ast"
"github.com/wzshiming/gs/token"
"github.com/wzshiming/gs/value"
)
func (ev *Evaluator) evalMap(m *ast.Map, s value.Assigner) value.Value {
switch t := m.Body.(type) {
case *ast.Brace:
mr := value.Map{}
list := t.List
if len(list) != 1 {
r... | 17.76087 | 72 | 0.575275 |
3e727e35fdc429e6a7c905d1f46288b990a809bb | 1,038 | swift | Swift | Sources/ValueProvider/Miscellanious.swift | KizzyCode/persistentstate-swift | 22566951b25fe6dd5e0a2d109bda1492b9f6d032 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | Sources/ValueProvider/Miscellanious.swift | KizzyCode/persistentstate-swift | 22566951b25fe6dd5e0a2d109bda1492b9f6d032 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | Sources/ValueProvider/Miscellanious.swift | KizzyCode/persistentstate-swift | 22566951b25fe6dd5e0a2d109bda1492b9f6d032 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | import Foundation
/// A type that implements a default constructor
public protocol Default {
/// Creates a new default instance of `Self`
init()
}
/// A mapped value/dictionary ID
public protocol ID {
/// The ID bytes
var bytes: Data { get }
}
extension Data: ID {
public var bytes: Data { self }... | 23.590909 | 74 | 0.65896 |
b1a3423459d6cf222e93dd6f1620f8e3eb0da937 | 1,359 | h | C | Applications/TVSystemMenuService/TVSMModuleDataSource.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 11 | 2019-11-06T04:48:48.000Z | 2022-02-09T17:48:15.000Z | Applications/TVSystemMenuService/TVSMModuleDataSource.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 1 | 2020-04-16T01:41:56.000Z | 2020-04-16T04:32:00.000Z | Applications/TVSystemMenuService/TVSMModuleDataSource.h | lechium/tvOS130Headers | 6b47cdcd4a6f453b399aa9d742b5d0f7e3f732fd | [
"MIT"
] | 3 | 2019-12-22T20:17:53.000Z | 2021-01-25T09:47:49.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 1:58:35 PM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /Applications/TVSystemMenuService.app/TVSystemMenuService
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... | 36.72973 | 155 | 0.74908 |
84c5ee02cb1cd393b85356f2a49149b3e3d7c9cc | 2,037 | h | C | Project8/NodeList.h | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | Project8/NodeList.h | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | Project8/NodeList.h | nicky189/cs202 | ecfb9b92e094bfa29102e586ffd615d719b45532 | [
"MIT"
] | null | null | null | #ifndef NODELIST_H_
#define NODELIST_H_
#include "DataType.h"
class Node{
friend class NodeList; //allows direct accessing of link and data from class NodeList
public:
Node() :
m_next( NULL )
{
}
Node(const DataType & data, Node * next = NULL) :
m_next( next ),
m_data( data )
{
}
Node(const ... | 26.802632 | 144 | 0.552283 |
85f97ecaedcdf6e8bbfdbdab2e987dc30f8fd4a5 | 339 | h | C | support_classes.h | dzmat/sh5_viewer | 994a30b9aec149fe76dad592db5fef112e1c6df1 | [
"BSD-3-Clause"
] | null | null | null | support_classes.h | dzmat/sh5_viewer | 994a30b9aec149fe76dad592db5fef112e1c6df1 | [
"BSD-3-Clause"
] | null | null | null | support_classes.h | dzmat/sh5_viewer | 994a30b9aec149fe76dad592db5fef112e1c6df1 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SUPPORT_CLASSES_H
#define SUPPORT_CLASSES_H
#include <string>
#include <vector>
#include "coords.h"
class TStringList : public std::vector<std::string>
{
public:
const std::string value(const std::string inkey) const;
void setValue(const std::string &inkey, const std::string &val);
};
#endif //... | 15.409091 | 68 | 0.722714 |
cb75302f6e7c6c26c7a8c985e5d0dd3441f4d8a7 | 719 | html | HTML | foody/templates/users/addadmin.html | matthiasrossini/foody | 01549bdf18c87e08e959bc878c10e20ecdd08966 | [
"WTFPL"
] | 3 | 2020-11-19T09:00:12.000Z | 2020-12-07T14:29:49.000Z | foody/templates/users/addadmin.html | matthiasrossini/culinario.tech | 01549bdf18c87e08e959bc878c10e20ecdd08966 | [
"WTFPL"
] | null | null | null | foody/templates/users/addadmin.html | matthiasrossini/culinario.tech | 01549bdf18c87e08e959bc878c10e20ecdd08966 | [
"WTFPL"
] | 3 | 2020-11-19T08:56:53.000Z | 2020-12-03T08:28:05.000Z | <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>New admin</title>
</head>
<body>
<h1>Hello!</h1>
<br>
<h2>Please add a new admin.</h2>
<h3>Watch out! Admins have <em>level 2 access</em>, meaning they can access
the menu, change it, add new meals, and add... | 26.62963 | 79 | 0.531293 |
160e8e2272cbe37ccb7dc0295072f5e116574696 | 224 | ts | TypeScript | recoil/focus/index.ts | nick-danylchenko/Gravity-Patient-App-RI | ba95de150052eb2432a1ed03488ca099c450fec6 | [
"MIT"
] | 1 | 2021-12-01T15:36:11.000Z | 2021-12-01T15:36:11.000Z | recoil/focus/index.ts | nick-danylchenko/Gravity-Patient-App-RI | ba95de150052eb2432a1ed03488ca099c450fec6 | [
"MIT"
] | null | null | null | recoil/focus/index.ts | nick-danylchenko/Gravity-Patient-App-RI | ba95de150052eb2432a1ed03488ca099c450fec6 | [
"MIT"
] | 3 | 2021-08-20T15:15:38.000Z | 2021-09-06T15:11:31.000Z | import atom from "./atom";
import focusQuestionnaireState from "./questionnaire";
import focusServiceRequestState from "./serviceRequest";
export { focusQuestionnaireState, focusServiceRequestState };
export default atom;
| 28 | 61 | 0.8125 |
b91f8018ee003af27201ad92cc32e13a9db78ba1 | 2,224 | kt | Kotlin | app/src/main/java/com/alfanse/feedmycity/ui/donor/DonorDetailsViewModel.kt | sachinrana135/FeedMyCity | e31ca6b0011e117d513eeb1139665768c6ba95e4 | [
"Apache-2.0"
] | 1 | 2020-03-31T14:36:24.000Z | 2020-03-31T14:36:24.000Z | app/src/main/java/com/alfanse/feedmycity/ui/donor/DonorDetailsViewModel.kt | sachinrana135/FeedMyCity | e31ca6b0011e117d513eeb1139665768c6ba95e4 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/alfanse/feedmycity/ui/donor/DonorDetailsViewModel.kt | sachinrana135/FeedMyCity | e31ca6b0011e117d513eeb1139665768c6ba95e4 | [
"Apache-2.0"
] | null | null | null | package com.alfanse.feedmycity.ui.donor
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.alfanse.feedmycity.data.Resource
import com.alfanse.feedmycity.data.models.SaveDonorRequest
import com.alfanse.feedmycity.data.repository.FeedAppRepo... | 37.694915 | 98 | 0.698291 |
70ed2097452191187b6bcbd24fb1719e6a39e581 | 1,147 | h | C | artifact/storm/src/storm/transformer/ChoiceSelector.h | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/transformer/ChoiceSelector.h | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/transformer/ChoiceSelector.h | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #pragma once
#include "storm/models/sparse/StandardRewardModel.h"
#include "storm/models/sparse/NondeterministicModel.h"
namespace storm {
namespace transformer {
template<typename ValueType, typename RewardModelType = storm::models::sparse::StandardRewardModel<ValueType>>
class ChoiceSelector {... | 38.233333 | 167 | 0.675676 |
c6926ae2fbb4a785df89b3ebb5d5a07c19eb74a6 | 1,613 | swift | Swift | Tools/Tools/Extension/String-Extension.swift | XiaHaozheJose/Tools | df491aed5eacbe2011f5e6ad1ba7fd4de5db338b | [
"MIT"
] | 2 | 2018-11-20T19:29:58.000Z | 2018-12-30T10:13:41.000Z | Tools/Tools/Extension/String-Extension.swift | XiaHaozheJose/Tools | df491aed5eacbe2011f5e6ad1ba7fd4de5db338b | [
"MIT"
] | null | null | null | Tools/Tools/Extension/String-Extension.swift | XiaHaozheJose/Tools | df491aed5eacbe2011f5e6ad1ba7fd4de5db338b | [
"MIT"
] | null | null | null | //
// String-Extension.swift
// Tools
//
// Created by 浩哲 夏 on 2017/3/19.
// Copyright © 2017年 浩哲 夏. All rights reserved.
//
import Foundation
// MARK: - EnCryption
extension String{
/// Get Md5 With String
/// #import <CommonCrypto/CommonCrypto.h> to the ObjC-Swift bridging header that Xcode create... | 31.019231 | 99 | 0.636702 |
0ba3b3ef4f2af11f98bf5ede8f44c5dd8b51b223 | 1,342 | js | JavaScript | src/.vuepress/theme/content/global.js | codenotary/docs | e96bee61faf41afa0e5eff20bf66768c1ac62f75 | [
"Apache-2.0"
] | null | null | null | src/.vuepress/theme/content/global.js | codenotary/docs | e96bee61faf41afa0e5eff20bf66768c1ac62f75 | [
"Apache-2.0"
] | null | null | null | src/.vuepress/theme/content/global.js | codenotary/docs | e96bee61faf41afa0e5eff20bf66768c1ac62f75 | [
"Apache-2.0"
] | 1 | 2020-05-19T04:37:56.000Z | 2020-05-19T04:37:56.000Z | const cnHost = 'https://codenotary.com'
const cnProductURL = `${cnHost}/products`
const GlobalContent = {
footer: {
tables: [
{
title: 'PRODUCTS',
links: [
{
label: 'CNIL (Self-Hosted)', href: `${cnProductURL}/immutable-ledger`,
},
{
lab... | 23.54386 | 101 | 0.420268 |
3c5acd8c9ccf4288084a5f0b1785a3109ebd9934 | 270 | kt | Kotlin | booster-task-compression-pngquant/src/main/kotlin/com/didiglobal/booster/task/compression/pngquant/PngquantOptions.kt | xwc520/booster | 867541b39621cf8db3c785abb430f5ab9fa7d9ae | [
"Apache-2.0"
] | null | null | null | booster-task-compression-pngquant/src/main/kotlin/com/didiglobal/booster/task/compression/pngquant/PngquantOptions.kt | xwc520/booster | 867541b39621cf8db3c785abb430f5ab9fa7d9ae | [
"Apache-2.0"
] | null | null | null | booster-task-compression-pngquant/src/main/kotlin/com/didiglobal/booster/task/compression/pngquant/PngquantOptions.kt | xwc520/booster | 867541b39621cf8db3c785abb430f5ab9fa7d9ae | [
"Apache-2.0"
] | null | null | null | package com.didiglobal.booster.task.compression.pngquant
import com.didiglobal.booster.compression.CompressionOptions
import com.didiglobal.booster.compression.CompressionTool
class PngquantOptions(quality: Int, val speed: Int) : CompressionOptions(quality = quality)
| 38.571429 | 91 | 0.851852 |
0a89d3a27590be15490c3a27155eb9c2ff4bd500 | 2,074 | kt | Kotlin | collaboration-suite-utils/src/main/java/com/kaleyra/collaboration_suite_utils/network_observer/InternetObserver.kt | Bandyer/Kaleyra-Android-Collaboration-Suite-Utils | 216049e9b5e234e441c234e121d689c493591373 | [
"Apache-2.0",
"MIT"
] | null | null | null | collaboration-suite-utils/src/main/java/com/kaleyra/collaboration_suite_utils/network_observer/InternetObserver.kt | Bandyer/Kaleyra-Android-Collaboration-Suite-Utils | 216049e9b5e234e441c234e121d689c493591373 | [
"Apache-2.0",
"MIT"
] | null | null | null | collaboration-suite-utils/src/main/java/com/kaleyra/collaboration_suite_utils/network_observer/InternetObserver.kt | Bandyer/Kaleyra-Android-Collaboration-Suite-Utils | 216049e9b5e234e441c234e121d689c493591373 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (C) 2022 Kaleyra S.p.a. All Rights Reserved.
* See LICENSE.txt for licensing information
*/
package com.kaleyra.collaboration_suite_utils.network_observer
import android.Manifest
import androidx.annotation.RequiresPermission
import kotlinx.coroutines.*
import kotlinx.coroutines.channels.BufferOverf... | 32.40625 | 118 | 0.682739 |
9bc5927a4d73ff9b8030e6a7497c6ef60283ca1c | 2,427 | js | JavaScript | stories/Avatar.stories.js | knaut/feed | c811367f77e3312b9ce760a6d58297ca112d8b7d | [
"ISC"
] | 2 | 2019-10-14T16:26:56.000Z | 2020-04-22T07:10:44.000Z | stories/Avatar.stories.js | knaut/feed | c811367f77e3312b9ce760a6d58297ca112d8b7d | [
"ISC"
] | null | null | null | stories/Avatar.stories.js | knaut/feed | c811367f77e3312b9ce760a6d58297ca112d8b7d | [
"ISC"
] | null | null | null | import React from 'react'
import { storiesOf } from '@storybook/react'
import { Grommet, Box, Button, Grid } from 'grommet'
import { grommet, dark } from 'grommet/themes'
import StoryRouter from 'storybook-react-router'
import spoof from '../.storybook/user.json'
// COMPONENTS
import Avatar from '../src/components/Av... | 21.669643 | 52 | 0.561187 |
2f3550f45eaf39f60243ac6016b0a728b6dafd98 | 8,420 | php | PHP | src/DbAdmin/Traits/TableSelectTrait.php | lagdo/jaxon-dbadmin | fb4389223d1f7ad9aba0cd6e8256c95275942661 | [
"Apache-2.0"
] | null | null | null | src/DbAdmin/Traits/TableSelectTrait.php | lagdo/jaxon-dbadmin | fb4389223d1f7ad9aba0cd6e8256c95275942661 | [
"Apache-2.0"
] | null | null | null | src/DbAdmin/Traits/TableSelectTrait.php | lagdo/jaxon-dbadmin | fb4389223d1f7ad9aba0cd6e8256c95275942661 | [
"Apache-2.0"
] | null | null | null | <?php
namespace Lagdo\DbAdmin\DbAdmin\Traits;
use Lagdo\DbAdmin\Driver\Entity\TableSelectEntity;
use function intval;
use function count;
use function html_entity_decode;
use function strip_tags;
use function array_flip;
use function in_array;
use function substr;
trait TableSelectTrait
{
/**
* Print colum... | 28.542373 | 139 | 0.493349 |
92a53bbe3230805cbd0aabfaec80e7266334d195 | 5,129 | h | C | samples/WTL10/General/Drag'n'Drop/MainDlg.h | TimoKunze/EditControls | bab032907b47bafb0afdf700aebd5057be4662d6 | [
"MIT"
] | 4 | 2019-02-24T09:43:17.000Z | 2020-10-02T08:56:41.000Z | samples/WTL10/General/Drag'n'Drop/MainDlg.h | TimoKunze/EditControls | bab032907b47bafb0afdf700aebd5057be4662d6 | [
"MIT"
] | null | null | null | samples/WTL10/General/Drag'n'Drop/MainDlg.h | TimoKunze/EditControls | bab032907b47bafb0afdf700aebd5057be4662d6 | [
"MIT"
] | 1 | 2022-01-31T01:11:26.000Z | 2022-01-31T01:11:26.000Z | // MainDlg.h : interface of the CMainDlg class
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#import <libid:A8F9B8E7-E699-4fce-A647-72C877F8E632> version("1.11") named_guids, no_namespace, raw_dispinterfaces
class CMainDlg :
public CAxDialogImpl<CMainDlg>,
publi... | 48.386792 | 184 | 0.756678 |
fff1b15369026c91f150ff90f4ca694e4503356a | 3,871 | html | HTML | com/radityalabs/Python/origin/movie/15026.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | 3 | 2017-06-08T01:17:55.000Z | 2019-06-02T10:52:36.000Z | com/radityalabs/Python/origin/movie/15026.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | null | null | null | com/radityalabs/Python/origin/movie/15026.html | radityagumay/BenchmarkSentimentAnalysis_2 | e509a4e749271da701ce9da1d9f16cdd78dcdf40 | [
"Apache-2.0"
] | null | null | null | <HTML><HEAD>
<TITLE>Review for Happiness (1998)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0147612">Happiness (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Christopher+Null">Christ... | 55.3 | 203 | 0.706536 |
856c518ddc17d47df3306a90019bc32a499b8567 | 4,894 | js | JavaScript | web2py/applications/SEAD/static/js/gauge.js | seadsystem/website | d7e8110c012d94c494895fde9951eef728266798 | [
"MIT"
] | 5 | 2016-03-20T07:07:17.000Z | 2018-04-12T16:34:12.000Z | web2py/applications/SEAD/static/js/gauge.js | grant523/website | 1b5351e638a15a1c0c68e55f9162d1b8e62974bb | [
"MIT"
] | 22 | 2015-11-04T23:11:41.000Z | 2016-05-19T00:08:54.000Z | web2py/applications/SEAD/static/js/gauge.js | grant523/website | 1b5351e638a15a1c0c68e55f9162d1b8e62974bb | [
"MIT"
] | 4 | 2015-10-29T01:46:44.000Z | 2018-04-09T22:05:28.000Z | var gauge = function(room, mod_i, data_i) {
var today = room.data[data_i][0];
var yesterday = room.data[data_i][1];
var lastweek = room.data[data_i][2];
// console.log(today);
room.modules[mod_i].chart = Highcharts.chart(room.modules[mod_i].el_id , {
// $("#" + room.modu... | 36.522388 | 139 | 0.356559 |
7f05b528eab9659f8738ef6b9d766672843fbd75 | 459 | go | Go | opentelemetry/jaeger/exporter.go | morozovcookie/agat-banking-public | 2cc495beed6ff3cb3b1a5c151c0970a66f62f78d | [
"MIT"
] | null | null | null | opentelemetry/jaeger/exporter.go | morozovcookie/agat-banking-public | 2cc495beed6ff3cb3b1a5c151c0970a66f62f78d | [
"MIT"
] | null | null | null | opentelemetry/jaeger/exporter.go | morozovcookie/agat-banking-public | 2cc495beed6ff3cb3b1a5c151c0970a66f62f78d | [
"MIT"
] | null | null | null | package jaeger
import (
"github.com/pkg/errors"
"go.opentelemetry.io/otel/exporters/jaeger"
"go.opentelemetry.io/otel/sdk/trace"
)
// NewExporter returns a new NewExporter instance.
func NewExporter() (trace.SpanExporter, error) {
exporter, err := jaeger.New(
jaeger.WithAgentEndpoint(
jaeger.WithAgentHost("1... | 21.857143 | 50 | 0.718954 |
3ee1375f25a98ad1cacd039bd65fc795ef98a297 | 283 | h | C | MFC/SingleDocument/src/SDI/MazeGame.h | creatorsok2/Disk | cacb20f66892a4160325ceb9f928df74ddb96759 | [
"MIT"
] | null | null | null | MFC/SingleDocument/src/SDI/MazeGame.h | creatorsok2/Disk | cacb20f66892a4160325ceb9f928df74ddb96759 | [
"MIT"
] | null | null | null | MFC/SingleDocument/src/SDI/MazeGame.h | creatorsok2/Disk | cacb20f66892a4160325ceb9f928df74ddb96759 | [
"MIT"
] | 1 | 2020-07-06T15:09:09.000Z | 2020-07-06T15:09:09.000Z | #pragma once
#include "Maze.h"
class MazeFactory;
class MazeBuilder;
class MazeGame
{
public:
std::shared_ptr<Maze> CreateMaze(const MazeFactory& factory);
std::shared_ptr<Maze> CreateMaze(MazeBuilder& builder);
std::shared_ptr<Maze> CreateComplexMaze(MazeBuilder& builder);
}; | 20.214286 | 63 | 0.777385 |
a1e4f9de1a2c3d177810684e3270894543c2d4e4 | 1,124 | c | C | cours9/semaphore.c | Menelau/LOG645-Course-examples | ef35b7c10daa2610dd1b4da10658b4acb623d7b4 | [
"MIT"
] | null | null | null | cours9/semaphore.c | Menelau/LOG645-Course-examples | ef35b7c10daa2610dd1b4da10658b4acb623d7b4 | [
"MIT"
] | null | null | null | cours9/semaphore.c | Menelau/LOG645-Course-examples | ef35b7c10daa2610dd1b4da10658b4acb623d7b4 | [
"MIT"
] | 2 | 2021-09-23T15:56:33.000Z | 2021-12-15T12:15:23.000Z | #include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <semaphore.h>
long thread_count;
sem_t semaphore;
void* Semaphore_Function(void* args) {
long rank = (long) args;
sem_wait(&semaphore);
printf("Hello from thread %ld.\n", rank);
sleep(10); //... | 24.977778 | 91 | 0.662811 |
2da9f04f6e01b4b417fd7c582c1a39f7262da7c8 | 169 | htm | HTML | pySelenium/data.htm | LairdStreak/MyPyPlayGround | e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc | [
"MIT"
] | null | null | null | pySelenium/data.htm | LairdStreak/MyPyPlayGround | e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc | [
"MIT"
] | null | null | null | pySelenium/data.htm | LairdStreak/MyPyPlayGround | e999cfd179d457a6d17c81bf1bacaa7c90e3e1dc | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<!-- ... -->
</head>
<body>
<figure>
<embed type="image/svg+xml" src="bar_chart.svg" />
</figure>
</body>
</html> | 15.363636 | 56 | 0.485207 |
99f491278128a59175ea1fd6371f85204775fdb0 | 1,433 | sql | SQL | tests/data/7_test_multi_protocol.sql | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | 5 | 2021-08-04T13:56:38.000Z | 2022-03-17T01:20:14.000Z | tests/data/7_test_multi_protocol.sql | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | 28 | 2021-08-01T05:05:28.000Z | 2022-03-01T05:06:27.000Z | tests/data/7_test_multi_protocol.sql | dioptra-io/diamond-miner | fae066bef872f5c3eb4ef732dd90237c9cb5c003 | [
"MIT"
] | null | null | null | -- At TTL 1, we discover 1 node with UDP, 2 with ICMP
-- At TTL 2, we discover 1 node for both protocols
INSERT INTO probes__test_multi_protocol
VALUES (1, '::ffff:200.0.0.0', 1, 6, 1),
(1, '::ffff:200.0.0.0', 2, 6, 1),
(17, '::ffff:200.0.0.0', 1, 6, 1),
(17, '::ffff:200.0.0.0', 2, 6, 1);
-- We as... | 75.421053 | 125 | 0.503838 |
1f87ac7e901f886b39e339a2c43de4d236b46943 | 1,003 | html | HTML | exe/ex008b/index.html | caduce3/html-css | c76f56ff0b59e15e0513c396c0cd752c3721eb77 | [
"MIT"
] | 1 | 2021-12-05T14:28:44.000Z | 2021-12-05T14:28:44.000Z | exe/ex008b/index.html | caduce3/html-css | c76f56ff0b59e15e0513c396c0cd752c3721eb77 | [
"MIT"
] | null | null | null | exe/ex008b/index.html | caduce3/html-css | c76f56ff0b59e15e0513c396c0cd752c3721eb77 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Outras Formatações</title>
</head>
<body>
<h1>Outras formatações</h1>
<h2>Código-fonte</h2>
<p... | 29.5 | 74 | 0.567298 |
29cc5b6cf904da8511dbfc7a1c65d60fc1a7b591 | 139 | sql | SQL | Sql/2017-2018/A/19.sql | Wowol/Education | 95f1b86a0f70fd8cd0ce66bc546cd38871572a8b | [
"MIT"
] | null | null | null | Sql/2017-2018/A/19.sql | Wowol/Education | 95f1b86a0f70fd8cd0ce66bc546cd38871572a8b | [
"MIT"
] | null | null | null | Sql/2017-2018/A/19.sql | Wowol/Education | 95f1b86a0f70fd8cd0ce66bc546cd38871572a8b | [
"MIT"
] | null | null | null | --ZAD19
SELECT nazwisko, to_char(zatrudniony, 'Month, DD YYYY') as data_zatrudnienia FROM pracownicy WHERE id_zesp=20 ORDER BY id_prac
---- | 46.333333 | 126 | 0.784173 |
b4ac43710b9f42e55fe591c5688df28c05590c81 | 487 | sql | SQL | db/migrations/1_create_tables.sql | theduckfliesagain/QuizApp | f6c8879c08139a0d69dbd41e9e525e8b1afb3e43 | [
"PostgreSQL",
"MIT"
] | null | null | null | db/migrations/1_create_tables.sql | theduckfliesagain/QuizApp | f6c8879c08139a0d69dbd41e9e525e8b1afb3e43 | [
"PostgreSQL",
"MIT"
] | null | null | null | db/migrations/1_create_tables.sql | theduckfliesagain/QuizApp | f6c8879c08139a0d69dbd41e9e525e8b1afb3e43 | [
"PostgreSQL",
"MIT"
] | 2 | 2021-05-13T22:17:11.000Z | 2021-05-19T18:50:14.000Z | DROP TABLE IF EXISTS Users;
DROP TABLE IF EXISTS UserScore;
DROP TABLE IF EXISTS Quizzes;
CREATE TABLE Users (
id serial PRIMARY KEY,
name varchar(255) NOT NULL UNIQUE,
highscore decimal(3,2) DEFAULT 0
);
CREATE TABLE Quizzes (
id serial PRIMARY KEY,
category int,
difficulty varchar,
lengt... | 20.291667 | 39 | 0.702259 |
c7db6fa712bd0323814914bf4da3f6ca8f799968 | 554 | py | Python | blog/templatetags/filtersandtags.py | mkbeh/Site-Nordic-Walking- | ba98f41db09ed448ecc4db175f65ef4fa2d64979 | [
"MIT"
] | null | null | null | blog/templatetags/filtersandtags.py | mkbeh/Site-Nordic-Walking- | ba98f41db09ed448ecc4db175f65ef4fa2d64979 | [
"MIT"
] | 8 | 2021-04-08T21:57:55.000Z | 2022-03-12T00:50:38.000Z | blog/templatetags/filtersandtags.py | mkbeh/Site-Nordic-Walking- | ba98f41db09ed448ecc4db175f65ef4fa2d64979 | [
"MIT"
] | null | null | null | import re
from django import template
from django.template.defaultfilters import stringfilter
register = template.Library()
@register.filter(name='cutimages')
@stringfilter
def cut_images(value):
"""
Filter which cut `img` tags.
"""
pattern = re.compile(r'<p><img .*</p>')
return re.sub(pattern,... | 19.785714 | 55 | 0.658845 |
c7bfaba1843b0631d77d4ba23436e7a2107e5298 | 3,670 | py | Python | posthog/demo/revenue_data_generator.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | 1 | 2020-07-20T17:32:05.000Z | 2020-07-20T17:32:05.000Z | posthog/demo/revenue_data_generator.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | null | null | null | posthog/demo/revenue_data_generator.py | avoajaugochukwu/posthog | 7e7fd42b0542ebc4734aedb926df11d462e3dd4f | [
"MIT"
] | null | null | null | import random
import secrets
from dateutil.relativedelta import relativedelta
from django.utils.timezone import now
from posthog.constants import TREND_FILTER_TYPE_ACTIONS
from posthog.demo.data_generator import DataGenerator
from posthog.models import Action, ActionStep, Dashboard, DashboardItem, Person
class Reve... | 42.183908 | 119 | 0.562943 |
5b462188eb63ae9e0d903a828b1f239df87e8946 | 766 | h | C | src/bottompanel/compilewindow.h | cpp-lv425/PairStormIDE | 7c77ba052953241833e4e54f5fe616b9bcc4b4b6 | [
"MIT"
] | 4 | 2019-07-23T13:00:58.000Z | 2021-09-24T19:03:01.000Z | src/bottompanel/compilewindow.h | cpp-lv425/PairStormIDE | 7c77ba052953241833e4e54f5fe616b9bcc4b4b6 | [
"MIT"
] | 4 | 2019-07-23T12:33:11.000Z | 2019-08-20T11:39:16.000Z | src/bottompanel/compilewindow.h | cpp-lv425/PairStormIDE | 7c77ba052953241833e4e54f5fe616b9bcc4b4b6 | [
"MIT"
] | 1 | 2019-11-02T15:07:13.000Z | 2019-11-02T15:07:13.000Z | #ifndef COMPILEWINDOW_H
#define COMPILEWINDOW_H
#include <QWidget>
#include <QPlainTextEdit>
#include <QStringList>
#include <QListWidget>
namespace Ui
{
class CompileWindow;
}
class CompileWindow : public QWidget
{
Q_OBJECT
public:
explicit CompileWindow(QWidget *parent = nullptr);
~CompileWindow();
si... | 21.277778 | 82 | 0.766319 |
c64d7ec1ae3254eb1429bfdee2fc90d90029bc7a | 2,733 | rb | Ruby | app/models/rtf_exporter.rb | liuhualh/redcase | f2797d6d29fa682b7416cf7c19fbce0905c8cbe3 | [
"Apache-2.0"
] | 20 | 2017-05-20T16:48:58.000Z | 2022-01-20T01:00:49.000Z | app/models/rtf_exporter.rb | Sabsem/redcase | c1fdca95b73b04b57ae5fa11cbabbdf4a0246ab5 | [
"Apache-2.0"
] | 5 | 2017-05-22T11:55:50.000Z | 2021-04-29T08:08:00.000Z | app/models/rtf_exporter.rb | Sabsem/redcase | c1fdca95b73b04b57ae5fa11cbabbdf4a0246ab5 | [
"Apache-2.0"
] | 22 | 2017-08-04T15:30:15.000Z | 2021-07-28T01:03:35.000Z |
class Rtf_Exporter
unloadable
include RTF
@@cStyles = {}
@@pStyles = {}
private
def self.initializeClass
@@cStyles['CELL'] = CharacterStyle.new
@@cStyles['CELL'].font = Font.new(Font::ROMAN, 'Times New Roman')
@@cStyles['CELL'].bold = true
@@cStyles['HEADER'] = CharacterStyle.new
@@cStyles['HEADE... | 23.161017 | 71 | 0.59861 |
237c763777a4d88672ec095a010fe26bd7120899 | 4,027 | kt | Kotlin | app/src/main/java/org/simple/clinic/teleconsultlog/success/TeleConsultSuccessScreen.kt | ygnthetzaw/simple-android | 4e8382d4b45e75d8231a001ca0832cda4ae7c852 | [
"MIT"
] | 13 | 2018-06-22T20:36:04.000Z | 2018-07-10T07:51:12.000Z | app/src/main/java/org/simple/clinic/teleconsultlog/success/TeleConsultSuccessScreen.kt | ygnthetzaw/simple-android | 4e8382d4b45e75d8231a001ca0832cda4ae7c852 | [
"MIT"
] | 78 | 2018-05-11T09:14:19.000Z | 2018-07-10T11:52:18.000Z | app/src/main/java/org/simple/clinic/teleconsultlog/success/TeleConsultSuccessScreen.kt | ygnthetzaw/simple-android | 4e8382d4b45e75d8231a001ca0832cda4ae7c852 | [
"MIT"
] | 1 | 2018-06-25T20:44:41.000Z | 2018-06-25T20:44:41.000Z | package org.simple.clinic.teleconsultlog.success
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.jakewharton.rxbinding3.view.clicks
import com.spotify.mobius.functions.Cons... | 30.976923 | 120 | 0.771542 |
2603dbff074afdb188c6fcbedddf1660fa1e38ab | 861 | java | Java | Examples/src/main/java/com/groupdocs/metadata/examples/advanced_usage/managing_metadata_for_specific_formats/image/jpeg/JpegDetectBarcodes.java | groupdocs-metadata/GroupDocs.Metadata-for-Java | 2252697644505e1701c35d98299a0061c57d576c | [
"MIT"
] | 5 | 2017-12-15T19:32:16.000Z | 2021-07-02T06:20:18.000Z | Examples/src/main/java/com/groupdocs/metadata/examples/advanced_usage/managing_metadata_for_specific_formats/image/jpeg/JpegDetectBarcodes.java | groupdocs-metadata/GroupDocs.Metadata-for-Java | 2252697644505e1701c35d98299a0061c57d576c | [
"MIT"
] | null | null | null | Examples/src/main/java/com/groupdocs/metadata/examples/advanced_usage/managing_metadata_for_specific_formats/image/jpeg/JpegDetectBarcodes.java | groupdocs-metadata/GroupDocs.Metadata-for-Java | 2252697644505e1701c35d98299a0061c57d576c | [
"MIT"
] | 6 | 2017-11-21T07:55:00.000Z | 2021-09-16T04:19:25.000Z | // <copyright company="Aspose Pty Ltd">
// Copyright (C) 2011-2021 GroupDocs. All Rights Reserved.
// </copyright>
package com.groupdocs.metadata.examples.advanced_usage.managing_metadata_for_specific_formats.image.jpeg;
import com.groupdocs.metadata.Metadata;
import com.groupdocs.metadata.core.JpegRootPackage;
imp... | 31.888889 | 105 | 0.704994 |
878b9756e6f7a0d900ce7c791ff4d481b0f45f87 | 855 | html | HTML | src/main/default/lwc/question/question.html | splahitk/quiz-host-app | ee16925ef62d7b76e2b4c4664d69c8ca7e24f4a6 | [
"CC0-1.0"
] | 1 | 2021-11-01T15:55:34.000Z | 2021-11-01T15:55:34.000Z | src/main/default/lwc/question/question.html | splahitk/quiz-host-app | ee16925ef62d7b76e2b4c4664d69c8ca7e24f4a6 | [
"CC0-1.0"
] | 1 | 2020-01-20T05:06:06.000Z | 2020-01-20T05:06:06.000Z | src/main/default/lwc/question/question.html | splahitk/quiz-host-app | ee16925ef62d7b76e2b4c4664d69c8ca7e24f4a6 | [
"CC0-1.0"
] | 1 | 2022-02-26T13:47:33.000Z | 2022-02-26T13:47:33.000Z | <template>
<h1>{questionObject.Label__c}</h1>
<div class="answerContainer">
<div class="answer">
<div onclick={handleAnswerClick} data-answer="A">
<span>A. </span> {questionObject.Answer_A__c}
</div>
</div>
<div class="answer">
<div onc... | 32.884615 | 61 | 0.509942 |
0bdd6cc7dd472b7830337869263a3dbf7b3ff59e | 399 | js | JavaScript | src/components/animations/icons.js | subject026/subject026.github.io | 8ef6017f48e6bbee6c9a6ec71acbb979a27ce38c | [
"MIT"
] | null | null | null | src/components/animations/icons.js | subject026/subject026.github.io | 8ef6017f48e6bbee6c9a6ec71acbb979a27ce38c | [
"MIT"
] | null | null | null | src/components/animations/icons.js | subject026/subject026.github.io | 8ef6017f48e6bbee6c9a6ec71acbb979a27ce38c | [
"MIT"
] | null | null | null | import { TimelineMax, Power1 } from "gsap"
export const animateIcons = ({ cvIconRef, githubIconRef, twitterIconRef }) => {
const tl = new TimelineMax()
tl.staggerFrom(
[cvIconRef.current, githubIconRef.current, twitterIconRef.current],
0.6,
{
opacity: 0,
scale: 0,
x: 5,
y: 20,
... | 19 | 79 | 0.576441 |
134ba071fb5f02c4904dc670a6f0136a472e35b8 | 4,282 | h | C | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/view/inputmethod/CInputMethodSubtypeArray.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/view/inputmethod/CInputMethodSubtypeArray.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/inc/elastos/droid/view/inputmethod/CInputMethodSubtypeArray.h | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 31.028986 | 95 | 0.656235 |
163b389e91b9ce381ce43b77bd922f4308b69cbd | 913 | ts | TypeScript | app/components/menu-bar.component.ts | YaelMendes/GeoMapStories | df744aa757079074ddff3af8240d2f4905a67c54 | [
"MIT"
] | null | null | null | app/components/menu-bar.component.ts | YaelMendes/GeoMapStories | df744aa757079074ddff3af8240d2f4905a67c54 | [
"MIT"
] | null | null | null | app/components/menu-bar.component.ts | YaelMendes/GeoMapStories | df744aa757079074ddff3af8240d2f4905a67c54 | [
"MIT"
] | null | null | null | import {Component, Input, Injectable} from '@angular/core';
import {User} from '../objects/user';
import {DataService} from '../services/data.service';
import {VARIABLES} from '../AppSettings';
@Component({
selector: 'menu-bar',
templateUrl: '../html/menu-bar.component.html',
styleUrls: ['../css/menu-bar.compone... | 20.75 | 76 | 0.659365 |
407cc58f6332cad601adf4604b758ab8ec38d70e | 2,396 | py | Python | NVLL/analysis/word_freq.py | jennhu/vmf_vae_nlp | 95a39fa9f7a0659e432475e8dfb9a46e305d53b7 | [
"MIT"
] | 159 | 2018-08-31T15:57:36.000Z | 2022-03-27T15:31:38.000Z | NVLL/analysis/word_freq.py | jennhu/vmf_vae_nlp | 95a39fa9f7a0659e432475e8dfb9a46e305d53b7 | [
"MIT"
] | 9 | 2018-10-11T15:58:50.000Z | 2019-04-16T03:13:33.000Z | NVLL/analysis/word_freq.py | jennhu/vmf_vae_nlp | 95a39fa9f7a0659e432475e8dfb9a46e305d53b7 | [
"MIT"
] | 21 | 2018-09-01T17:57:20.000Z | 2021-12-17T03:31:01.000Z | import os
def count(dic, fname):
with open(fname, 'r') as fd:
lines = fd.read().splitlines()
filtered_sents = []
for l in lines:
words = l.split(" ")
_ratio = comp_unk_ratio(words)
if _ratio <= 0.05:
filtered_sents.append(words)
... | 26.32967 | 87 | 0.563022 |
05ce57a776cf54222703eb40ae51c4ca01836f54 | 122 | rb | Ruby | app/mailers/application_mailer.rb | ministryofjustice/parliamentary-questions | 6a60462031fad83876139a1028912b521a83897f | [
"MIT"
] | 2 | 2016-08-10T13:23:26.000Z | 2020-03-28T00:03:23.000Z | app/mailers/application_mailer.rb | ministryofjustice/parliamentary-questions | 6a60462031fad83876139a1028912b521a83897f | [
"MIT"
] | 144 | 2015-02-05T16:37:34.000Z | 2022-03-21T12:09:36.000Z | app/mailers/application_mailer.rb | ministryofjustice/parliamentary-questions | 6a60462031fad83876139a1028912b521a83897f | [
"MIT"
] | 6 | 2015-03-07T18:12:04.000Z | 2021-04-11T06:18:04.000Z | class ApplicationMailer < GovukNotifyRails::Mailer
default from: 'noreply@digital.justice.gov.uk'
layout 'mailer'
end
| 24.4 | 50 | 0.786885 |
cb22452611bb148e6407880269a36d280ff1415e | 895 | go | Go | api/api.go | ddanurwenda/relecho | 0e846d1726572be82ea80b27b231ccfb4409de22 | [
"MIT"
] | null | null | null | api/api.go | ddanurwenda/relecho | 0e846d1726572be82ea80b27b231ccfb4409de22 | [
"MIT"
] | null | null | null | api/api.go | ddanurwenda/relecho | 0e846d1726572be82ea80b27b231ccfb4409de22 | [
"MIT"
] | null | null | null | package api
import (
"github.com/ddanurwenda/relecho/api/handler"
"github.com/ddanurwenda/relecho/scores"
"github.com/ddanurwenda/relecho/todos"
"github.com/go-chi/chi"
chimid "github.com/go-chi/chi/middleware"
"github.com/go-rel/rel"
"github.com/goware/cors"
)
// NewMux api.
func NewMux(repository rel.Reposit... | 24.189189 | 54 | 0.713966 |
37e906fe9a0410cbdbfb46db3d08528993917a34 | 805 | lua | Lua | src/server/Library/UI/Panel/Scripts/Library/Components/OutlinedButton/init.lua | itech2018/commander | 36baa7e7bd57b60fc78faa4ed36a756b8d84f6c9 | [
"MIT"
] | null | null | null | src/server/Library/UI/Panel/Scripts/Library/Components/OutlinedButton/init.lua | itech2018/commander | 36baa7e7bd57b60fc78faa4ed36a756b8d84f6c9 | [
"MIT"
] | null | null | null | src/server/Library/UI/Panel/Scripts/Library/Components/OutlinedButton/init.lua | itech2018/commander | 36baa7e7bd57b60fc78faa4ed36a756b8d84f6c9 | [
"MIT"
] | null | null | null | local module = {}
local reaction = function(Button: guiobject, State: string)
module.Latte.Modules.Animator.Button.Outlined[State](Button)
end
module.new = function(Name: string, Text: string?, Parent: instance, Callback: (string) -> void)
local Comp = script.Comp:Clone()
Comp.Name = Name
Comp.Container.Title.Tex... | 33.541667 | 96 | 0.781366 |
875976c98067ea1107672f3853664f7fbeefff5a | 1,715 | html | HTML | app/install/view/public/base.html | finndy/finndycloud | 1863b2c060142a23b29f57b725f302b12d49524b | [
"ECL-2.0",
"Apache-2.0"
] | 48 | 2018-03-01T07:39:57.000Z | 2018-06-15T09:12:42.000Z | app/install/view/public/base.html | wangtaoceo/finndycloud | 374eb864d3a1e5c4945304453aafd39dacd53086 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2018-03-02T02:44:22.000Z | 2018-03-02T03:06:56.000Z | app/install/view/public/base.html | wangtaoceo/finndycloud | 374eb864d3a1e5c4945304453aafd39dacd53086 | [
"ECL-2.0",
"Apache-2.0"
] | 24 | 2018-03-01T10:58:02.000Z | 2018-05-25T01:47:24.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{$product_name}系统安装</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link type="text/css" rel="stylesheet" href="__STATIC__/assets/css/bootstrap.min.css">... | 47.638889 | 112 | 0.690379 |
35ceb26bd20d365340b5ab6bd0b7b6610a1bc3a8 | 4,640 | kt | Kotlin | app/src/main/java/io/github/amanshuraikwar/kryptonite/ui/MainActivity.kt | amanshuraikwar/kyptonite | 2717ac8905805b80696527ed3d123b1f0141c114 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/github/amanshuraikwar/kryptonite/ui/MainActivity.kt | amanshuraikwar/kyptonite | 2717ac8905805b80696527ed3d123b1f0141c114 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/github/amanshuraikwar/kryptonite/ui/MainActivity.kt | amanshuraikwar/kyptonite | 2717ac8905805b80696527ed3d123b1f0141c114 | [
"Apache-2.0"
] | null | null | null | package io.github.amanshuraikwar.kryptonite.ui
import android.os.Bundle
import android.view.View
import android.widget.ArrayAdapter
import android.widget.TextView
import android.widget.Toast
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.LinearLayoutM... | 33.868613 | 129 | 0.598491 |
e783b054262a29b6ab0c32c45f9d5a2ad77d7315 | 2,524 | js | JavaScript | public/front_assets/js/scripts.js | LoiHoDHV/webtintucnhom4phpmySql- | 1896c9233579ffab207dacd6502429e2402e89a0 | [
"MIT"
] | null | null | null | public/front_assets/js/scripts.js | LoiHoDHV/webtintucnhom4phpmySql- | 1896c9233579ffab207dacd6502429e2402e89a0 | [
"MIT"
] | null | null | null | public/front_assets/js/scripts.js | LoiHoDHV/webtintucnhom4phpmySql- | 1896c9233579ffab207dacd6502429e2402e89a0 | [
"MIT"
] | null | null | null | /*!
* Start Bootstrap - Blog Home v5.0.7 (https://startbootstrap.com/template/blog-home)
* Copyright 2013-2021 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-blog-home/blob/master/LICENSE)
*/
// This file is intentionally blank
// Use this file to add JavaScript to your project
... | 32.779221 | 202 | 0.472662 |