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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22a7226f0d0b991ac23b0478195652fe88b1dcfc | 292 | html | HTML | RequestDispatcher/WebContent/login.html | shub113/Servlet | dd23f47fa472b7428bb350b04fa7dfd125408648 | [
"MIT"
] | null | null | null | RequestDispatcher/WebContent/login.html | shub113/Servlet | dd23f47fa472b7428bb350b04fa7dfd125408648 | [
"MIT"
] | null | null | null | RequestDispatcher/WebContent/login.html | shub113/Servlet | dd23f47fa472b7428bb350b04fa7dfd125408648 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Login page</title>
</head>
<body>
<form action="serv1" method="post">
Username <input type="text" name="t1"><br/>
Password <input type="password" name="t2"><br/>
<input type="submit" value="Login">
</form>
</body>
</html> | 19.466667 | 49 | 0.633562 |
38e330bf356a60f8f1dd354590f46b7c89bc761c | 1,149 | c | C | libft/ft_memcpy.c | lucaslf02/libft | 6c1446e7cbcd32c7ffa58f575bc39d11f13c9865 | [
"MIT"
] | null | null | null | libft/ft_memcpy.c | lucaslf02/libft | 6c1446e7cbcd32c7ffa58f575bc39d11f13c9865 | [
"MIT"
] | null | null | null | libft/ft_memcpy.c | lucaslf02/libft | 6c1446e7cbcd32c7ffa58f575bc39d11f13c9865 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memcpy.c :+: :+: :+: ... | 37.064516 | 80 | 0.211488 |
e74da2d78d304199dfccbeca07631b9f42b9d6aa | 935 | js | JavaScript | reactPrimerosPasos/basicos/src/components/Producto.js | maxicosia/maxicosia.github.io | 36bd9d5dcb199b4cab890128624d45bb3450f34b | [
"MIT"
] | null | null | null | reactPrimerosPasos/basicos/src/components/Producto.js | maxicosia/maxicosia.github.io | 36bd9d5dcb199b4cab890128624d45bb3450f34b | [
"MIT"
] | 10 | 2020-05-08T22:33:38.000Z | 2022-03-02T10:14:24.000Z | reactPrimerosPasos/basicos/src/components/Producto.js | maxicosia/maxicosia.github.io | 36bd9d5dcb199b4cab890128624d45bb3450f34b | [
"MIT"
] | 1 | 2020-05-08T18:54:14.000Z | 2020-05-08T18:54:14.000Z | import React from "react";
const Producto = ({ producto, carrito, agregarProducto, productos }) => {
const { nombre, precio, id } = producto;
//Agregar producto al carrito
const seleccionarProducto = (id) => {
const producto = productos.filter((producto) => producto.id === id)[0];
agregarProducto([...ca... | 23.974359 | 75 | 0.586096 |
83b0c8aaad809c6965cb8f414430f7bb97cc823b | 1,007 | rs | Rust | sept/src/st/utf8_string_term.rs | vdods/sept-rs | 5cd3d8099f73c4171ad000ad1893d805f52b372b | [
"Apache-2.0"
] | null | null | null | sept/src/st/utf8_string_term.rs | vdods/sept-rs | 5cd3d8099f73c4171ad000ad1893d805f52b372b | [
"Apache-2.0"
] | null | null | null | sept/src/st/utf8_string_term.rs | vdods/sept-rs | 5cd3d8099f73c4171ad000ad1893d805f52b372b | [
"Apache-2.0"
] | null | null | null | use crate::{dy, st::{self, Inhabits, Stringify, TermTrait}};
impl dy::Deconstruct for String {
fn deconstruct(self) -> dy::Deconstruction {
// Deconstruct only the constructor, otherwise infinite recursion!
dy::ParametricDeconstruction::new(
st::Utf8String.deconstruct(),
vec... | 24.560976 | 95 | 0.607746 |
7a2e88068cd91961898195d225fdf06ef752414d | 286 | rb | Ruby | lib/bundle_outdated_formatter/formatter/json_formatter.rb | JunichiIto/bundle_outdated_formatter | 1c65bbf2829932395d14851daf67ce150bcbab8f | [
"MIT"
] | 15 | 2018-04-05T02:27:38.000Z | 2021-09-02T14:18:58.000Z | lib/bundle_outdated_formatter/formatter/json_formatter.rb | JunichiIto/bundle_outdated_formatter | 1c65bbf2829932395d14851daf67ce150bcbab8f | [
"MIT"
] | 6 | 2018-05-24T09:39:56.000Z | 2021-07-17T00:54:26.000Z | lib/bundle_outdated_formatter/formatter/json_formatter.rb | JunichiIto/bundle_outdated_formatter | 1c65bbf2829932395d14851daf67ce150bcbab8f | [
"MIT"
] | 3 | 2018-05-08T10:44:07.000Z | 2020-03-27T05:13:58.000Z | require 'json'
require 'bundle_outdated_formatter/formatter'
module BundleOutdatedFormatter
# Formatter for JSON
class JSONFormatter < Formatter
def convert
text = @pretty ? JSON.pretty_generate(@outdated_gems) : @outdated_gems.to_json
text.chomp
end
end
end
| 22 | 84 | 0.748252 |
1fa62bfa8f17f3b782124ba2ac0c7c9a697ea1ad | 5,471 | css | CSS | Code/css/index.css | HADB/OP-ChristmasGifts | bcc1e721a6b82aca524d10b9ac346258e8312729 | [
"MIT"
] | null | null | null | Code/css/index.css | HADB/OP-ChristmasGifts | bcc1e721a6b82aca524d10b9ac346258e8312729 | [
"MIT"
] | null | null | null | Code/css/index.css | HADB/OP-ChristmasGifts | bcc1e721a6b82aca524d10b9ac346258e8312729 | [
"MIT"
] | 2 | 2018-04-15T08:16:49.000Z | 2019-12-03T02:04:01.000Z | body {
background-color: #e61839;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
.hide {
display: none;
}
.header {
padding: 0;
}
.header .logo {
width: 100%;
position: absolute;
top: 0;
}
.pages {
position: absolute;
top: 17%;
width: 100%... | 14.247396 | 56 | 0.514348 |
0b4a7fb8ebee09432022b77e8750863d12e69e9f | 134 | py | Python | python/pangram.py | emiliot/hackerrank | 7a3081f6b0a33f8402c63b94a6a54728a9adf47e | [
"MIT"
] | null | null | null | python/pangram.py | emiliot/hackerrank | 7a3081f6b0a33f8402c63b94a6a54728a9adf47e | [
"MIT"
] | null | null | null | python/pangram.py | emiliot/hackerrank | 7a3081f6b0a33f8402c63b94a6a54728a9adf47e | [
"MIT"
] | null | null | null | s = input().strip()
res = [c for c in set(s.lower()) if c.isalpha()]
if len(res) == 26:
print("pangram")
else:
print("not pangram")
| 19.142857 | 48 | 0.604478 |
858f0c01f818eafb83ce33dee70e5cf4bf738aee | 435 | js | JavaScript | client/components/index.js | langyuxiansheng/biu-server-admin | 4ae8ebf3be07ef2e3f268fd15c508b991a062447 | [
"MIT"
] | 19 | 2019-09-29T09:21:52.000Z | 2022-01-21T04:12:26.000Z | client/components/index.js | langyuxiansheng/biu-server-admin | 4ae8ebf3be07ef2e3f268fd15c508b991a062447 | [
"MIT"
] | 3 | 2020-08-07T13:16:38.000Z | 2021-08-08T08:54:26.000Z | client/components/index.js | langyuxiansheng/biu-server-admin | 4ae8ebf3be07ef2e3f268fd15c508b991a062447 | [
"MIT"
] | 3 | 2020-04-10T05:19:04.000Z | 2021-06-25T01:38:37.000Z | /**
* 同一导出自定义的全局组件
*/
// 卡片布局容器
import CardContainer from './CardContainer';
// 图片显示
import ImgDialog from './ImgDialog';
import DialogContainer from './DialogContainer';
import AppTables from './AppTables';
import AppTreeTable from './AppTreeTable';
//预览文件
import ReadFileDialog from './ReadFileDialog';
export defau... | 19.772727 | 48 | 0.724138 |
50dcb33c9d639a9fb033436b30d38ccd729ddf23 | 3,088 | swift | Swift | Documentations/UIKit VIPER Architecture/UIKitViperArchitectureDemo/Scenes/Post Details/PostDetailsViewController.swift | VakhoKontridze/VCore | 7feb5f442da98199d891ef3f6a2236b418d683da | [
"MIT"
] | 29 | 2022-01-03T08:45:23.000Z | 2022-02-01T18:18:33.000Z | Documentations/UIKit VIPER Architecture/UIKitViperArchitectureDemo/Scenes/Post Details/PostDetailsViewController.swift | VakhoKontridze/VCore | 7feb5f442da98199d891ef3f6a2236b418d683da | [
"MIT"
] | null | null | null | Documentations/UIKit VIPER Architecture/UIKitViperArchitectureDemo/Scenes/Post Details/PostDetailsViewController.swift | VakhoKontridze/VCore | 7feb5f442da98199d891ef3f6a2236b418d683da | [
"MIT"
] | 1 | 2022-01-06T08:00:23.000Z | 2022-01-06T08:00:23.000Z | //
// PostDetailsViewController.swift
// UIKitViperArchitectureDemo
//
// Created by Vakhtang Kontridze on 17.06.22.
//
import UIKit
import VCore
// MARK: - Post Details View Controller
final class PostDetailsViewController: UIViewController, PostDetailsViewable {
// MARK: Subviews
private let scrollable... | 34.696629 | 164 | 0.693977 |
27da2550a91044ede2316504a43ef4acfb31bbfa | 1,129 | css | CSS | plugins/chili/skins/jquery.chili.toolbar.css | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | 2 | 2015-06-03T10:17:02.000Z | 2017-10-26T16:40:25.000Z | plugins/chili/skins/jquery.chili.toolbar.css | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | null | null | null | plugins/chili/skins/jquery.chili.toolbar.css | uzmcoco/Cotonti | ef7451118587deca574e58f1c96119deb7eca83b | [
"BSD-3-Clause"
] | 1 | 2019-07-14T18:23:27.000Z | 2019-07-14T18:23:27.000Z | .highlight {
/* resets */ margin: 0; padding: 0;
background-color: #E8E8E8;
overflow: hidden;
}
.highlight PRE {
margin: 0;
padding: 0 0 0 45px;
font: 12px "Consolas","Courier New",Courier,mono;
overflow: auto;
}
.highlight PRE ol {
/* resets */ margin: 0; padding: 0;
color: #222222;
list-style-... | 20.907407 | 53 | 0.638618 |
95d7112bcd13778368cb09ada52ed2a48b249f14 | 11 | css | CSS | apps/test_apps/controls/start-stop-toggle-button/client/css/app.css | metabench/jsgui | f4cda2f5728bdbeb641a8a4972e1659b8f711e96 | [
"MIT"
] | 3 | 2015-06-08T21:28:34.000Z | 2018-04-24T08:48:45.000Z | apps/window/client/css/app.css | metabench/jsgui | f4cda2f5728bdbeb641a8a4972e1659b8f711e96 | [
"MIT"
] | null | null | null | apps/window/client/css/app.css | metabench/jsgui | f4cda2f5728bdbeb641a8a4972e1659b8f711e96 | [
"MIT"
] | 3 | 2015-09-11T20:55:24.000Z | 2021-02-22T13:23:05.000Z |
// app.css | 5.5 | 10 | 0.545455 |
5bcc1dc33adc6854af509d71e2ed041bcfdf12a8 | 460 | h | C | 13_RTOSDemo/RX700_RX72N_RenesasSim_Renesas_e2studio_CS+/src/smc_workaround/u_bsp_lowlvl_ext.h | NoMaY-jp/FreeRTOS_examples_for_Renesas_R_CPUs | 69484b4bc97bb85e6cf1ef762d9b1e389dfdd38c | [
"MIT"
] | 4 | 2021-06-01T01:33:58.000Z | 2022-03-29T03:20:48.000Z | 13_RTOSDemo/RX700_RX72N_RenesasSim_Renesas_e2studio_CS+/src/smc_workaround/u_bsp_lowlvl_ext.h | NoMaY-jp/FreeRTOS_examples_for_Renesas_R_CPUs | 69484b4bc97bb85e6cf1ef762d9b1e389dfdd38c | [
"MIT"
] | null | null | null | 13_RTOSDemo/RX700_RX72N_RenesasSim_Renesas_e2studio_CS+/src/smc_workaround/u_bsp_lowlvl_ext.h | NoMaY-jp/FreeRTOS_examples_for_Renesas_R_CPUs | 69484b4bc97bb85e6cf1ef762d9b1e389dfdd38c | [
"MIT"
] | null | null | null | #ifndef U_BSP_LOWLVL_EXT_H
#define U_BSP_LOWLVL_EXT_H
#include "mcu/all/lowlvl.h"
/* Check ready flag to output one character to standard output
* (the E1 Virtual Console or a serial port via user own charput function) */
bool is_charput_ready (void);
/* Check ready flag to input one character from standard input
... | 30.666667 | 77 | 0.767391 |
bb550b57f59a91b0f0e28cff0d0094797df5dce8 | 1,629 | html | HTML | shio-app/src/main/resources/ui/templates/widget/payment/rede-card/rede-card-form.html | openshio/shiohara | d86b34e3c4d33feb47154092af82d51ed4a04595 | [
"Apache-2.0"
] | 113 | 2019-05-23T21:02:58.000Z | 2020-02-27T13:30:23.000Z | shio-app/src/main/resources/ui/templates/widget/payment/rede-card/rede-card-form.html | openshio/shiohara | d86b34e3c4d33feb47154092af82d51ed4a04595 | [
"Apache-2.0"
] | 198 | 2020-03-09T20:55:41.000Z | 2022-03-30T04:35:16.000Z | shio-app/src/main/resources/ui/templates/widget/payment/rede-card/rede-card-form.html | openshio/shiohara | d86b34e3c4d33feb47154092af82d51ed4a04595 | [
"Apache-2.0"
] | 15 | 2019-09-05T12:37:47.000Z | 2020-02-13T23:10:30.000Z |
<ul class="list-inline">
<li style="display: inline-block; margin-right: 10px;"><img
src="/img/widget/payment/f_diners.png" alt=""></li>
<li style="display: inline-block; margin-right: 10px;"><img
src="/img/widget/payment/f_mastercard.png" alt=""></li>
<li style="display: inline-block; margin-right: 10px;"><img... | 38.785714 | 123 | 0.674647 |
bb3a977d345e7abd372f59ef6ede072a0dda4dac | 6,166 | html | HTML | index.html | danielaraujo95/portifolio-pessoal | 309e9aad0bd816a78b71cb397eebeff747cc7e73 | [
"MIT"
] | null | null | null | index.html | danielaraujo95/portifolio-pessoal | 309e9aad0bd816a78b71cb397eebeff747cc7e73 | [
"MIT"
] | null | null | null | index.html | danielaraujo95/portifolio-pessoal | 309e9aad0bd816a78b71cb397eebeff747cc7e73 | [
"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>Portfólio</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="ht... | 42.524138 | 434 | 0.633798 |
1d2dcc33361a02585cd949199a9edafe13ec7f2e | 239 | lua | Lua | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/dish_patot_panak.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/dish_patot_panak.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/bin/scripts/object/custom_content/tangible/food/generic/dish_patot_panak.lua | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | object_tangible_food_generic_dish_patot_panak = object_tangible_food_generic_shared_dish_patot_panak:new {
}
ObjectTemplates:addTemplate(object_tangible_food_generic_dish_patot_panak, "object/tangible/food/generic/dish_patot_panak.iff")
| 39.833333 | 127 | 0.899582 |
9c3ce3bd60774c694df4d94d74f558519c1235fc | 3,249 | js | JavaScript | src/lib/components/AntdBadge.react.js | ReilYoung/feffery-antd-components | 594fb1284c7fec53da4dd1a64f0d505b71b859c3 | [
"MIT"
] | 1 | 2022-02-26T10:02:08.000Z | 2022-02-26T10:02:08.000Z | src/lib/components/AntdBadge.react.js | ReilYoung/feffery-antd-components | 594fb1284c7fec53da4dd1a64f0d505b71b859c3 | [
"MIT"
] | null | null | null | src/lib/components/AntdBadge.react.js | ReilYoung/feffery-antd-components | 594fb1284c7fec53da4dd1a64f0d505b71b859c3 | [
"MIT"
] | null | null | null | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Badge } from 'antd';
import 'antd/dist/antd.css';
// 定义徽标组件AntdBadge,api参数参考https://ant.design/components/badge-cn/
export default class AntdBadge extends Component {
render() {
// 取得必要属性或参数
let {
id,... | 24.428571 | 86 | 0.537396 |
284ce16f3e2bdfca103fa3a8c0bf0d394c0718e3 | 15 | sql | SQL | spec/test/03/deploy/01.sql | art-ws/db-evo | 0392d7683ad1e6390c1da92bd3b70725d4dd77a6 | [
"MIT"
] | null | null | null | spec/test/03/deploy/01.sql | art-ws/db-evo | 0392d7683ad1e6390c1da92bd3b70725d4dd77a6 | [
"MIT"
] | null | null | null | spec/test/03/deploy/01.sql | art-ws/db-evo | 0392d7683ad1e6390c1da92bd3b70725d4dd77a6 | [
"MIT"
] | null | null | null | \i './_t.sql';
| 7.5 | 14 | 0.4 |
e6ce0e6551578852f6e47126e601fd047391c7cd | 1,408 | sql | SQL | Sql/Schema/Tables/Articles/Articles.sql | Datasilk/Saber-Collector | e66b4cc489f5a649d62489b2a38155fe1822505c | [
"Apache-2.0"
] | null | null | null | Sql/Schema/Tables/Articles/Articles.sql | Datasilk/Saber-Collector | e66b4cc489f5a649d62489b2a38155fe1822505c | [
"Apache-2.0"
] | null | null | null | Sql/Schema/Tables/Articles/Articles.sql | Datasilk/Saber-Collector | e66b4cc489f5a649d62489b2a38155fe1822505c | [
"Apache-2.0"
] | null | null | null | BEGIN TRY
CREATE TABLE [dbo].[Articles]
(
[articleId] INT NOT NULL PRIMARY KEY,
[feedId] INT NULL DEFAULT 0,
[subjects] SMALLINT NULL DEFAULT 0,
[subjectId] INT NULL DEFAULT 0,
[domainId] INT NULL DEFAULT 0,
[score] SMALLINT NULL DEFAULT 0,
[images] SMALLINT NULL DEFA... | 38.054054 | 48 | 0.615057 |
39425f2f4cb152013fb309b253097c907a78e0ab | 630 | sql | SQL | resources/database/schema.sql | bsoliveira/slimapi | 4e741b5b9dcf0177ef466db70c1c952f6018abd3 | [
"CC0-1.0"
] | null | null | null | resources/database/schema.sql | bsoliveira/slimapi | 4e741b5b9dcf0177ef466db70c1c952f6018abd3 | [
"CC0-1.0"
] | null | null | null | resources/database/schema.sql | bsoliveira/slimapi | 4e741b5b9dcf0177ef466db70c1c952f6018abd3 | [
"CC0-1.0"
] | null | null | null | --
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated... | 30 | 105 | 0.726984 |
a07384c93e6f601fd0987241c409b99976c3d998 | 1,931 | lua | Lua | kong/db/dao/vaults.lua | liyangau/kong | 57f9ac4b92017ae34922773118e9d4caa9b19f08 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-03-12T22:13:37.000Z | 2022-03-12T22:13:37.000Z | kong/db/dao/vaults.lua | johnfishbein/kong | 6c0154e77985fc7b3bd5bdf6dfe924bf6dfd7ae3 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2022-02-16T15:57:27.000Z | 2022-03-29T00:06:06.000Z | kong/db/dao/vaults.lua | johnfishbein/kong | 6c0154e77985fc7b3bd5bdf6dfe924bf6dfd7ae3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | local constants = require "kong.constants"
local utils = require "kong.tools.utils"
local vault_loader = require "kong.db.schema.vault_loader"
local Vaults = {}
local type = type
local pairs = pairs
local concat = table.concat
local insert = table.insert
local tostring = tostring
local log = ngx.log
local WARN = ... | 21.943182 | 87 | 0.701191 |
0b740ea892a08bb96379c733e82f7e4324d439a4 | 684 | py | Python | examples/driving_in_traffic/scenarios/loop/scenario.py | zbzhu99/SMARTS | 652aa23e71bd4e2732e2742140cfcd0ec082a7da | [
"MIT"
] | 2 | 2021-12-13T12:41:54.000Z | 2021-12-16T03:10:24.000Z | examples/driving_in_traffic/scenarios/loop/scenario.py | zbzhu99/SMARTS | 652aa23e71bd4e2732e2742140cfcd0ec082a7da | [
"MIT"
] | null | null | null | examples/driving_in_traffic/scenarios/loop/scenario.py | zbzhu99/SMARTS | 652aa23e71bd4e2732e2742140cfcd0ec082a7da | [
"MIT"
] | null | null | null | from pathlib import Path
from smarts.sstudio import gen_scenario
from smarts.sstudio import types as t
traffic = t.Traffic(
flows=[
t.Flow(
route=t.RandomRoute(),
rate=60 * 60,
actors={t.TrafficActor(name="car", vehicle_type=vehicle_type): 1},
)
for vehi... | 20.117647 | 78 | 0.483918 |
2aa1e786bb780986bf73e07597b6124f6634abec | 1,308 | swift | Swift | Example/Peregrine_Example/PGRouteDefine.swift | joenggaa/Falcop | 21c1c2c71ffb3d584ca86f04735216152f9257b8 | [
"MIT"
] | 4 | 2020-01-06T06:47:12.000Z | 2021-03-05T01:24:59.000Z | Example/Peregrine_Example/PGRouteDefine.swift | joenggaa/Falcop | 21c1c2c71ffb3d584ca86f04735216152f9257b8 | [
"MIT"
] | 2 | 2019-09-02T14:42:14.000Z | 2020-03-08T03:31:36.000Z | Example/Peregrine_Example/PGRouteDefine.swift | joenggaa/Falcop | 21c1c2c71ffb3d584ca86f04735216152f9257b8 | [
"MIT"
] | null | null | null | //
// PGRouteDefine.swift
// Peregrine
//
// Created by Rake Yang on 2021/07/09.
// Copyright © 2020 BinaryParadise. All rights reserved.
/**
Generated automatic by Peregrine version 0.9.0
Don't modify manually ⚠️
*/
import Foundation
public class PGRouteDefine: NSObject {
@objc static let ap_tlbb_most_lik... | 40.875 | 98 | 0.731651 |
bb74b0d983ccc324bf501452fb1cbd29022ae366 | 716 | rs | Rust | tests/stopwords_test.rs | jaroslavgratz/rake-rs | 920167dff8d89ad4560c31d1a92f72e30bac5515 | [
"Apache-2.0",
"MIT"
] | 20 | 2018-03-17T12:29:31.000Z | 2022-03-04T11:50:03.000Z | tests/stopwords_test.rs | jaroslavgratz/rake-rs | 920167dff8d89ad4560c31d1a92f72e30bac5515 | [
"Apache-2.0",
"MIT"
] | 6 | 2019-03-10T10:00:50.000Z | 2020-06-22T10:23:24.000Z | tests/stopwords_test.rs | jaroslavgratz/rake-rs | 920167dff8d89ad4560c31d1a92f72e30bac5515 | [
"Apache-2.0",
"MIT"
] | 6 | 2019-03-10T00:48:40.000Z | 2022-01-28T19:31:31.000Z | extern crate rake;
use rake::StopWords;
#[test]
fn test_deref() {
let mut sw = StopWords::new();
sw.insert("What".to_string());
sw.insert("which".to_string());
sw.insert("Who".to_string());
sw.insert("tree".to_string());
sw.remove("tree");
assert_eq!(sw.contains("what"), true);
asser... | 23.866667 | 70 | 0.622905 |
eb50a84c1201a633f3f222a70f0c244bdfe90007 | 89 | rs | Rust | packages/lib-wasm/src/processing/navigator/mod.rs | unchartedsoftware/synthetic-data-showcase | b128e116d9a2d5119f98d86d20224009d94c79b1 | [
"MIT"
] | null | null | null | packages/lib-wasm/src/processing/navigator/mod.rs | unchartedsoftware/synthetic-data-showcase | b128e116d9a2d5119f98d86d20224009d94c79b1 | [
"MIT"
] | null | null | null | packages/lib-wasm/src/processing/navigator/mod.rs | unchartedsoftware/synthetic-data-showcase | b128e116d9a2d5119f98d86d20224009d94c79b1 | [
"MIT"
] | null | null | null | pub mod attributes_intersection;
pub mod navigate_result;
pub mod selected_attributes;
| 14.833333 | 32 | 0.842697 |
da0141a597e1af9184fde706de8062429db071a8 | 332 | lua | Lua | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | MatthewJHBerry/topaz | aa6f3a1b4be1f1ae1e71dde680d768d958e163a9 | [
"FTL"
] | null | null | null | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | MatthewJHBerry/topaz | aa6f3a1b4be1f1ae1e71dde680d768d958e163a9 | [
"FTL"
] | null | null | null | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | MatthewJHBerry/topaz | aa6f3a1b4be1f1ae1e71dde680d768d958e163a9 | [
"FTL"
] | 1 | 2020-05-28T21:35:05.000Z | 2020-05-28T21:35:05.000Z | -----------------------------------
-- Zone: Abyssea - Konschtat
-- NPC: Atma Fabricant
-----------------------------------
function onTrade(player, npc, trade)
end
function onTrigger(player, npc)
player:startEvent(2182)
end
function onEventUpdate(player, csid, option)
end
function onEventFinish(player, csid, ... | 18.444444 | 44 | 0.593373 |
cf9d4dea8d1074e5368d8a95ca059f33833070e1 | 1,043 | css | CSS | assets/plugins/noty/themes/sunset.min.css | radhsyn83/bubroto | a44c1ef2380454e8c1083466c927c60efae524af | [
"MIT"
] | null | null | null | assets/plugins/noty/themes/sunset.min.css | radhsyn83/bubroto | a44c1ef2380454e8c1083466c927c60efae524af | [
"MIT"
] | null | null | null | assets/plugins/noty/themes/sunset.min.css | radhsyn83/bubroto | a44c1ef2380454e8c1083466c927c60efae524af | [
"MIT"
] | null | null | null | .noty_theme__sunset.noty_bar{margin:4px 0;overflow:hidden;border-radius:2px;position:relative}.noty_theme__sunset.noty_bar .noty_body{padding:10px;font-size:14px;text-shadow:1px 1px 1px rgba(0,0,0,.1)}.noty_theme__sunset.noty_bar .noty_buttons{padding:10px}.noty_theme__sunset.noty_type__alert,.noty_theme__sunset.noty_t... | 1,043 | 1,043 | 0.872483 |
1e446bbc3cfb2b70c1ebf5673b9313adafce046a | 1,201 | css | CSS | schemtic/lib/worklib/protection/rclamp0524p/sym_1/symbol.css | McDeggy/KVM_prototype | a1bfbb434f31bda57135e5452663c361452f3a5b | [
"Unlicense"
] | null | null | null | schemtic/lib/worklib/protection/rclamp0524p/sym_1/symbol.css | McDeggy/KVM_prototype | a1bfbb434f31bda57135e5452663c361452f3a5b | [
"Unlicense"
] | null | null | null | schemtic/lib/worklib/protection/rclamp0524p/sym_1/symbol.css | McDeggy/KVM_prototype | a1bfbb434f31bda57135e5452663c361452f3a5b | [
"Unlicense"
] | null | null | null | P "CDS_LMAN_SYM_OUTLINE" "-125,275,200,-250" 0 0 0.00 0.00 22 0 0 0 0 0 0 0 0
L -125 275 -125 -250 -1 0
L -125 275 200 275 -1 0
L 200 275 200 -250 -1 0
L -125 -250 200 -250 -1 0
T 50 117 0 0 32 0 0 1 0 11 0
RCLAMP0524P
L -175 200 -125 200 -1 0
C -175 200 "1" -200 200 0 1 32 0 R
X "PIN_TEXT" "IN1" -115 200 0 0 24 0 0 0 ... | 32.459459 | 77 | 0.587011 |
6b38ef412d677e9b57ecd24985c768f7dd6508b6 | 4,082 | h | C | Gems/Atom/RHI/Metal/Code/Source/RHI/Fence.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T12:39:24.000Z | 2021-07-20T12:39:24.000Z | Gems/Atom/RHI/Metal/Code/Source/RHI/Fence.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/RHI/Metal/Code/Source/RHI/Fence.h | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <Atom/RHI/Fence.h>
#include <Atom/RHI/Scope.h>
#include <AzCore/Memory/PoolAll... | 34.888889 | 158 | 0.601666 |
3eec3151dcff351d38a3799101756b54b395f037 | 679 | h | C | headers/os/arch/x86_64/arch_debugger.h | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | headers/os/arch/x86_64/arch_debugger.h | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | headers/os/arch/x86_64/arch_debugger.h | Yn0ga/haiku | 74e271b2a286c239e60f0ec261f4f197f4727eee | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2005-2012, Haiku Inc.
* Distributed under the terms of the MIT License.
*/
#ifndef _ARCH_X86_64_DEBUGGER_H
#define _ARCH_X86_64_DEBUGGER_H
#include <posix/arch/x86_64/signal.h>
struct x86_64_debug_cpu_state {
struct savefpu extended_registers;
uint64 gs;
uint64 fs;
uint64 es;
uint64 ds;
uin... | 15.088889 | 50 | 0.734904 |
f23cdde1551f6adc180bc6e9342ec64c5f70127e | 502 | kt | Kotlin | app/src/main/java/live/hms/android100ms/ui/meeting/chat/ChatUtil.kt | apnerve/sample-app-android | c7dd4d06cb708fc000201203227c40b5287a7d40 | [
"MIT"
] | null | null | null | app/src/main/java/live/hms/android100ms/ui/meeting/chat/ChatUtil.kt | apnerve/sample-app-android | c7dd4d06cb708fc000201203227c40b5287a7d40 | [
"MIT"
] | null | null | null | app/src/main/java/live/hms/android100ms/ui/meeting/chat/ChatUtil.kt | apnerve/sample-app-android | c7dd4d06cb708fc000201203227c40b5287a7d40 | [
"MIT"
] | null | null | null | package live.hms.android100ms.ui.meeting.chat
fun addMessageToChatCollections(
collection: MutableList<ChatMessageCollection>,
message: ChatMessage
) {
if (collection.isNotEmpty()) {
val lastMessage = collection.last()
if (lastMessage.peerId == message.customerId) {
lastMessage.messages.add(message... | 25.1 | 66 | 0.739044 |
d45383d66c3a021c9c9768a3b0d28a1c7b9fdec4 | 3,933 | lua | Lua | scripts/states/creeperEffect.lua | nanderv/LD41 | 1ccfa25fa76dfcf86e0dc314c0e13f3116904f72 | [
"BSD-3-Clause"
] | null | null | null | scripts/states/creeperEffect.lua | nanderv/LD41 | 1ccfa25fa76dfcf86e0dc314c0e13f3116904f72 | [
"BSD-3-Clause"
] | null | null | null | scripts/states/creeperEffect.lua | nanderv/LD41 | 1ccfa25fa76dfcf86e0dc314c0e13f3116904f72 | [
"BSD-3-Clause"
] | null | null | null | --
-- Created by IntelliJ IDEA.
-- User: nander
-- Date: 21/04/2018
-- Time: 18:03
-- To change this template use File | Settings | File Templates.
--
--
-- Created by IntelliJ IDEA.
-- User: nander
-- Date: 21/04/2018
-- Time: 18:25
-- To change this template use File | Settings | File Templates.
--
local menu = {} ... | 28.708029 | 156 | 0.660564 |
c4758853193db0af39082af2350304ead32bed91 | 87 | sql | SQL | migrations/sqls/20200520071812-2faFix-down.sql | devcafe-latte/deadbolt | 100e26d8416a55a11baf4204fffbb7c453c62795 | [
"MIT"
] | null | null | null | migrations/sqls/20200520071812-2faFix-down.sql | devcafe-latte/deadbolt | 100e26d8416a55a11baf4204fffbb7c453c62795 | [
"MIT"
] | 6 | 2020-04-06T06:12:22.000Z | 2021-04-27T16:16:26.000Z | migrations/sqls/20200520071812-2faFix-down.sql | devcafe-latte/deadbolt | 100e26d8416a55a11baf4204fffbb7c453c62795 | [
"MIT"
] | null | null | null | ALTER TABLE `emailTwoFactor`
DROP `userToken`,
DROP `attempt`;
DROP TABLE `totpToken`; | 17.4 | 28 | 0.758621 |
3f3c134a06e7ec1ab30012b152cd65c7e5509c53 | 35 | sql | SQL | test/JDBC/input/views/sys-hash_indexes.sql | babelfish-for-postgresql/babelfish_extensions | 5d99ceee2dc1e1d1a18744a4405a6a86125631f0 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 115 | 2021-10-29T18:17:24.000Z | 2022-03-28T01:05:20.000Z | test/JDBC/input/views/sys-hash_indexes.sql | babelfish-for-postgresql/babelfish_extensions | 5d99ceee2dc1e1d1a18744a4405a6a86125631f0 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 81 | 2021-10-29T19:22:51.000Z | 2022-03-31T19:31:12.000Z | test/JDBC/input/views/sys-hash_indexes.sql | babelfish-for-postgresql/babelfish_extensions | 5d99ceee2dc1e1d1a18744a4405a6a86125631f0 | [
"PostgreSQL",
"Apache-2.0",
"BSD-3-Clause"
] | 53 | 2021-10-30T01:26:50.000Z | 2022-03-22T00:12:47.000Z | SELECT * FROM sys.hash_indexes;
GO
| 11.666667 | 31 | 0.771429 |
fe798e69e3d61738f93aae96906c785f8dbdb343 | 614 | asm | Assembly | programs/oeis/047/A047350.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/047/A047350.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/047/A047350.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A047350: Numbers that are congruent to {1, 2, 4} mod 7.
; 1,2,4,8,9,11,15,16,18,22,23,25,29,30,32,36,37,39,43,44,46,50,51,53,57,58,60,64,65,67,71,72,74,78,79,81,85,86,88,92,93,95,99,100,102,106,107,109,113,114,116,120,121,123,127,128,130,134,135,137,141
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
su... | 18.058824 | 197 | 0.534202 |
541deda0c94e70023deb426cefdc4234be254722 | 245 | go | Go | input/main.go | genofire/logmania | 29fb1c08011b244acc5e7ce298ae89a54f1261f9 | [
"MIT"
] | null | null | null | input/main.go | genofire/logmania | 29fb1c08011b244acc5e7ce298ae89a54f1261f9 | [
"MIT"
] | 8 | 2017-08-12T07:00:47.000Z | 2017-11-20T18:47:34.000Z | input/main.go | genofire/logmania | 29fb1c08011b244acc5e7ce298ae89a54f1261f9 | [
"MIT"
] | null | null | null | package input
import (
"github.com/bdlm/log"
)
var Register = make(map[string]Init)
type Input interface {
Listen()
Close()
}
type Init func(interface{}, chan *log.Entry) Input
func Add(name string, init Init) {
Register[name] = init
}
| 12.894737 | 50 | 0.693878 |
757e1c81f677107cc0656acbda35049a313beb2d | 3,409 | h | C | sqaodc/cuda/CUDAFormulas.h | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 51 | 2018-01-04T06:26:07.000Z | 2022-03-31T12:05:16.000Z | sqaodc/cuda/CUDAFormulas.h | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 63 | 2018-02-21T10:57:26.000Z | 2020-10-20T18:25:25.000Z | sqaodc/cuda/CUDAFormulas.h | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | 15 | 2018-01-18T16:56:15.000Z | 2021-09-16T12:19:43.000Z | #pragma once
#include <sqaodc/common/Common.h>
#include <sqaodc/cuda/DeviceFormulas.h>
namespace sqaod_cuda {
template<class real>
struct CUDADenseGraphFormulas : sqaod::cuda::DenseGraphFormulas<real> {
typedef sqaod::MatrixType<real> HostMatrix;
typedef sqaod::VectorType<real> HostVector;
typedef sqaod_... | 35.14433 | 95 | 0.664418 |
58c4366b5a404c2d1edd9b65186e0c62b084c303 | 4,291 | rs | Rust | src/state.rs | stepchowfun/paxos | 0f3a44d9b6743a55acbd0c42864d5b25c3d3c34d | [
"MIT"
] | 4 | 2019-05-24T12:29:44.000Z | 2022-03-02T06:50:18.000Z | src/state.rs | stepchowfun/paxos | 0f3a44d9b6743a55acbd0c42864d5b25c3d3c34d | [
"MIT"
] | null | null | null | src/state.rs | stepchowfun/paxos | 0f3a44d9b6743a55acbd0c42864d5b25c3d3c34d | [
"MIT"
] | null | null | null | use {
crate::util::fsync,
futures::{
future::{err, ok},
prelude::Future,
},
serde::{Deserialize, Serialize},
std::{
cmp::Ordering,
io::{Error, ErrorKind::InvalidData},
path::Path,
sync::{Arc, RwLock},
},
tokio::{fs, fs::File},
};
// A represen... | 25.849398 | 94 | 0.555348 |
26487774638930b991acf0caf5108d7140b55c96 | 433 | kt | Kotlin | app/src/main/java/nawrot/mateusz/lausannefleet/di/ActivityBuilderModule.kt | mateusz-nawrot/lausanne-fleet | 419ad899a080e828a66ab38b481f5a351c4755cb | [
"MIT"
] | null | null | null | app/src/main/java/nawrot/mateusz/lausannefleet/di/ActivityBuilderModule.kt | mateusz-nawrot/lausanne-fleet | 419ad899a080e828a66ab38b481f5a351c4755cb | [
"MIT"
] | null | null | null | app/src/main/java/nawrot/mateusz/lausannefleet/di/ActivityBuilderModule.kt | mateusz-nawrot/lausanne-fleet | 419ad899a080e828a66ab38b481f5a351c4755cb | [
"MIT"
] | null | null | null | package nawrot.mateusz.lausannefleet.di
import dagger.Module
import dagger.android.ContributesAndroidInjector
import nawrot.mateusz.lausannefleet.presentation.map.MapActivity
import nawrot.mateusz.lausannefleet.presentation.map.MapActivityModule
@Module
abstract class ActivityBuilderModule {
@ActivityScope
... | 25.470588 | 70 | 0.833718 |
7c4acfd792105f0c49a53bcb9928b731ad24c0da | 72,929 | sql | SQL | src/tests/sql_regression/Goodx.cashbook.inte_cashbook.sql | margrit2103/github-actions-for-ci | 3098130e92d4ef2bca31049ef3240663faeac540 | [
"MIT"
] | null | null | null | src/tests/sql_regression/Goodx.cashbook.inte_cashbook.sql | margrit2103/github-actions-for-ci | 3098130e92d4ef2bca31049ef3240663faeac540 | [
"MIT"
] | 16 | 2022-01-14T10:48:37.000Z | 2022-01-14T15:04:14.000Z | src/tests/sql_regression/Goodx.cashbook.inte_cashbook.sql | margrit2103/github-actions-for-ci | 3098130e92d4ef2bca31049ef3240663faeac540 | [
"MIT"
] | null | null | null | ---------------------------------------------------------------------------------------------------------------------------------------
\echo set global parameters: static for test
---------------------------------------------------------------------------------------------------------------------------------------
SE... | 89.593366 | 298 | 0.510839 |
1d835b21a623cd5e05fd2189659b01bdb3007b92 | 711 | asm | Assembly | data/pokemon/base_stats/heatran.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 2 | 2021-07-31T07:05:06.000Z | 2021-10-16T03:32:26.000Z | data/pokemon/base_stats/heatran.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | null | null | null | data/pokemon/base_stats/heatran.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db 0 ; species ID placeholder
db 91, 90, 106, 77, 130, 106
; hp atk def spd sat sdf
db FIRE, STEEL ; type
db 3 ; catch rate
db 255 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 10 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/heatran/fron... | 32.318182 | 259 | 0.714487 |
d0467efba70bbc7b26acdb09d54a84aa68ff4cf1 | 469 | lua | Lua | lovr-api/physics/HingeJoint/setLowerLimit.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 32 | 2017-01-13T23:15:10.000Z | 2022-02-12T11:36:53.000Z | lovr-api/physics/HingeJoint/setLowerLimit.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 55 | 2017-11-22T07:34:49.000Z | 2022-03-14T19:24:51.000Z | lovr-api/physics/HingeJoint/setLowerLimit.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 25 | 2017-10-06T21:57:27.000Z | 2022-03-14T19:17:19.000Z | return {
summary = 'Set the HingeJoint\'s lower angle limit.',
description = 'Sets the lower limit of the hinge angle. This should be greater than -π.',
arguments = {
{
name = 'limit',
type = 'number',
description = 'The lower limit, in radians.'
}
},
returns = {},
related = {
... | 23.45 | 92 | 0.616205 |
bb1e12044e2e6c1c0ce08fe9b392184efb9bd4bb | 224 | rb | Ruby | zoo-app/lib/zoo_app/animal_service_client.rb | azusa/pact-example | cfaf965d2022ada79bd8efa935f17c56eef34625 | [
"MIT"
] | null | null | null | zoo-app/lib/zoo_app/animal_service_client.rb | azusa/pact-example | cfaf965d2022ada79bd8efa935f17c56eef34625 | [
"MIT"
] | null | null | null | zoo-app/lib/zoo_app/animal_service_client.rb | azusa/pact-example | cfaf965d2022ada79bd8efa935f17c56eef34625 | [
"MIT"
] | null | null | null | require 'httparty'
class AnimalServiceClient
include HTTParty
base_uri 'http://animal-service.com'
def get_alligator
name = JSON.parse(self.class.get("/alligator").body)['name']
Alligator.new(name)
end
end
| 18.666667 | 64 | 0.723214 |
51d3512d2496ba24891e698fe7779ad301a46e09 | 63,889 | sql | SQL | watchithd.sql | xabdoux/Watchithd | 005862e3cdd2dc4d3af1b2b45c2ff01b211498f3 | [
"MIT"
] | null | null | null | watchithd.sql | xabdoux/Watchithd | 005862e3cdd2dc4d3af1b2b45c2ff01b211498f3 | [
"MIT"
] | null | null | null | watchithd.sql | xabdoux/Watchithd | 005862e3cdd2dc4d3af1b2b45c2ff01b211498f3 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.1.14
-- http://www.phpmyadmin.net
--
-- Client : 127.0.0.1
-- Généré le : Mer 27 Juillet 2016 à 22:42
-- Version du serveur : 5.6.17
-- Version de PHP : 5.5.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_... | 106.481667 | 1,562 | 0.620404 |
eb58fd652f9bf5ccf66f3b8016f551f12e5478a9 | 799 | rs | Rust | src/wrapper/facade/breakpoint_instance.rs | HarryCU/jvmti-rs | d071ba928de4263c217803f7f6e7e3702408bbb6 | [
"Apache-2.0"
] | 17 | 2020-08-25T16:53:17.000Z | 2022-02-09T12:59:14.000Z | src/wrapper/facade/breakpoint_instance.rs | HarryCU/jvmti-rs | d071ba928de4263c217803f7f6e7e3702408bbb6 | [
"Apache-2.0"
] | null | null | null | src/wrapper/facade/breakpoint_instance.rs | HarryCU/jvmti-rs | d071ba928de4263c217803f7f6e7e3702408bbb6 | [
"Apache-2.0"
] | null | null | null | use crate::{objects::*, errors::*, Transform, JVMTIFacadeEnv};
use crate::sys::jlocation;
use jni::strings::JNIString;
impl<'a> JVMTIFacadeEnv<'a> {
pub fn set_breakpoint_i<K, M, V>(&self, class: K, name: M, sig: V, location: jlocation) -> Result<()>
where
K: Transform<'a, JClass<'a>>,
... | 36.318182 | 107 | 0.585732 |
30d803db9ff7c3c21f50bcaa1ab5c926a409e3e9 | 831 | kts | Kotlin | subprojects/gradle/build-verdict/build.gradle.kts | StanlyT/avito-android | 96463f7714c0550e331d2a37fb32ad98fac9d62d | [
"MIT"
] | null | null | null | subprojects/gradle/build-verdict/build.gradle.kts | StanlyT/avito-android | 96463f7714c0550e331d2a37fb32ad98fac9d62d | [
"MIT"
] | null | null | null | subprojects/gradle/build-verdict/build.gradle.kts | StanlyT/avito-android | 96463f7714c0550e331d2a37fb32ad98fac9d62d | [
"MIT"
] | null | null | null | plugins {
id("convention.kotlin-jvm")
id("convention.publish-gradle-plugin")
id("convention.libraries")
id("convention.gradle-testing")
}
dependencies {
api(project(":gradle:build-verdict-tasks-api"))
implementation(gradleApi())
implementation(project(":common:throwable-utils"))
implem... | 27.7 | 86 | 0.681107 |
438c10a1a248d23c1aeefb17ed9b6a5132239521 | 10,857 | go | Go | cmd/commands/registration.go | agsdot/edu | 50e8993ef9a5218ee1a75b4117c4309ece76b3fa | [
"Apache-2.0"
] | null | null | null | cmd/commands/registration.go | agsdot/edu | 50e8993ef9a5218ee1a75b4117c4309ece76b3fa | [
"Apache-2.0"
] | null | null | null | cmd/commands/registration.go | agsdot/edu | 50e8993ef9a5218ee1a75b4117c4309ece76b3fa | [
"Apache-2.0"
] | null | null | null | package commands
import (
"errors"
"fmt"
"log"
"os"
"regexp"
"strconv"
"strings"
"time"
"github.com/gen2brain/beeep"
"github.com/harrybrwn/config"
"github.com/harrybrwn/edu/cmd/internal"
"github.com/harrybrwn/edu/cmd/internal/files"
"github.com/harrybrwn/edu/cmd/internal/opts"
"github.com/harrybrwn/edu/... | 24.019912 | 107 | 0.635166 |
e76cda2a62797d6965a188e394eed86e4f63327a | 200 | js | JavaScript | vite.config.js | raulshma/bitcoin-price-chart | 810d75ada69296732ee3882b9248892046b9ad42 | [
"MIT"
] | 5 | 2020-08-12T21:27:59.000Z | 2022-02-02T12:51:37.000Z | vite.config.js | raulshma/bitcoin-price-chart | 810d75ada69296732ee3882b9248892046b9ad42 | [
"MIT"
] | null | null | null | vite.config.js | raulshma/bitcoin-price-chart | 810d75ada69296732ee3882b9248892046b9ad42 | [
"MIT"
] | null | null | null | import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
base: '/bitcoin-price-chart/',
build: {
outDir: 'build',
},
plugins: [react()]
}) | 22.222222 | 40 | 0.66 |
9dd71fac75b849d02211ccd58050b9f05f9b57f2 | 3,086 | swift | Swift | Sources/SwiftUIToolbox/Extensions/Publishers/Publishers+CombineLatestCollection.swift | devQQ/SwiftUIToolbox | c4286ea7fd19c24b92e7bb24cbe418a38b331dae | [
"MIT"
] | null | null | null | Sources/SwiftUIToolbox/Extensions/Publishers/Publishers+CombineLatestCollection.swift | devQQ/SwiftUIToolbox | c4286ea7fd19c24b92e7bb24cbe418a38b331dae | [
"MIT"
] | null | null | null | Sources/SwiftUIToolbox/Extensions/Publishers/Publishers+CombineLatestCollection.swift | devQQ/SwiftUIToolbox | c4286ea7fd19c24b92e7bb24cbe418a38b331dae | [
"MIT"
] | null | null | null | //
// Publishers+CombineLatestCollection.swift
//
//
// Created by Q Trang on 8/1/20.
//
import Foundation
import Combine
extension Collection where Element: Publisher {
public func combineLatest(waitForAllPublishers wait: Bool = true) -> CombineLatestCollection<Self> {
CombineLatestCollection(self, w... | 33.912088 | 125 | 0.529488 |
05ed6f2f4a5b1e03f6a13209590ffe01035a3b08 | 625 | rb | Ruby | app/models/jwt_token.rb | pucinsk/reactive-dashboard-tut | fd00842a394948186362b02b6ba19c409976ecb0 | [
"MIT"
] | null | null | null | app/models/jwt_token.rb | pucinsk/reactive-dashboard-tut | fd00842a394948186362b02b6ba19c409976ecb0 | [
"MIT"
] | 8 | 2020-06-25T17:27:32.000Z | 2022-02-27T05:44:30.000Z | app/models/jwt_token.rb | pucinsk/reactive-dashboard-tut | fd00842a394948186362b02b6ba19c409976ecb0 | [
"MIT"
] | null | null | null | class JwtToken
HMACK = 'HS256'.freeze
def initialize(account:)
@account = account
end
class << self
def decode(token)
JWT.decode(token, hmac_secret, true, algorithm: HMACK)[0]
rescue JWT::DecodeError
{}
end
def hmac_secret
Rails.application.credentials.hmac_secret
en... | 14.534884 | 63 | 0.648 |
b369bf82d3e5a4654a432992d63a19c5f5a4a02c | 680 | rb | Ruby | db/migrate/20140611205429_create_plans.rb | cooperative-humans/localorbit | 7492489b20ea311b191c5b0f9a4d54680c5e3b6d | [
"MIT"
] | 16 | 2018-05-23T05:29:28.000Z | 2021-09-09T03:52:50.000Z | db/migrate/20140611205429_create_plans.rb | cooperative-humans/localorbit | 7492489b20ea311b191c5b0f9a4d54680c5e3b6d | [
"MIT"
] | 212 | 2018-05-18T20:57:07.000Z | 2022-03-30T22:40:13.000Z | db/migrate/20140611205429_create_plans.rb | cooperative-humans/localorbit | 7492489b20ea311b191c5b0f9a4d54680c5e3b6d | [
"MIT"
] | 10 | 2018-07-11T17:41:13.000Z | 2020-08-20T12:52:53.000Z | class CreatePlans < ActiveRecord::Migration
class Plan < ActiveRecord::Base; end
def up
create_table :plans do |t|
t.string :name
t.boolean :discount_codes, default: false
t.boolean :cross_selling, default: false
t.boolean :custom_branding, default: false
t.boolean :automatic_paym... | 28.333333 | 125 | 0.701471 |
1356c6318f7666f0eb0f44ab2ca01ea86b17c25f | 317 | kt | Kotlin | src/main/kotlin/io/hirasawa/server/bancho/packets/UserPresenceSinglePacket.kt | cg0/Hirasawa-Project | 6ad81ebbf603591c550480e94310cb33d7f94eef | [
"MIT"
] | 2 | 2020-04-18T02:23:04.000Z | 2020-05-20T21:41:04.000Z | src/main/kotlin/io/hirasawa/server/bancho/packets/UserPresenceSinglePacket.kt | cg0/Hirasawa-Project | 6ad81ebbf603591c550480e94310cb33d7f94eef | [
"MIT"
] | 126 | 2020-05-13T03:19:13.000Z | 2022-02-28T00:12:18.000Z | src/main/kotlin/io/hirasawa/server/bancho/packets/UserPresenceSinglePacket.kt | cg0/Hirasawa-Project | 6ad81ebbf603591c550480e94310cb33d7f94eef | [
"MIT"
] | null | null | null | package io.hirasawa.server.bancho.packets
import io.hirasawa.server.bancho.chat.ChatChannel
import io.hirasawa.server.bancho.serialisation.BanchoIntListWriter
class UserPresenceSinglePacket(id: Int):
BanchoPacket(BanchoPacketType.BANCHO_USER_PRESENCE_SINGLE) {
init {
writer.writeInt(id)
}
} | 28.818182 | 68 | 0.782334 |
898e25e85cb9c069009ddcae13fc9e10fb8a464e | 329 | kt | Kotlin | library/common/src/main/kotlin/com/fphoenixcorneae/ximalaya/common/router/main/MainRouterHelper.kt | FPhoenixCorneaE/Himalaya | 6aef0358f1ad02fb5ad18ce4adfb549ea2e74c13 | [
"Apache-2.0"
] | 1 | 2021-10-13T11:49:03.000Z | 2021-10-13T11:49:03.000Z | library/common/src/main/kotlin/com/fphoenixcorneae/ximalaya/common/router/main/MainRouterHelper.kt | FPhoenixCorneaE/Himalaya | 6aef0358f1ad02fb5ad18ce4adfb549ea2e74c13 | [
"Apache-2.0"
] | null | null | null | library/common/src/main/kotlin/com/fphoenixcorneae/ximalaya/common/router/main/MainRouterHelper.kt | FPhoenixCorneaE/Himalaya | 6aef0358f1ad02fb5ad18ce4adfb549ea2e74c13 | [
"Apache-2.0"
] | 1 | 2021-09-17T03:13:36.000Z | 2021-09-17T03:13:36.000Z | package com.fphoenixcorneae.ximalaya.common.router.main
import com.didi.drouter.api.DRouter
import com.fphoenixcorneae.ximalaya.common.constant.Route
/**
* @desc:MainRouterHelper
* @date:2021/07/30 16:53
*/
object MainRouterHelper {
fun navigation() = kotlin.run {
DRouter.build(Route.Main.MAIN).start(... | 21.933333 | 57 | 0.729483 |
9014a471d3963d9eed527777863327aa115aa3a1 | 1,535 | swift | Swift | Tests/TaskManager/Doubles/TaskSpy.swift | sgulseth/Tasker | b908b10199d3633b751db949f59d1fdb77cf11b5 | [
"MIT"
] | 18 | 2019-08-14T07:54:14.000Z | 2022-03-31T06:27:35.000Z | Tests/TaskManager/Doubles/TaskSpy.swift | sgulseth/Tasker | b908b10199d3633b751db949f59d1fdb77cf11b5 | [
"MIT"
] | 2 | 2020-06-03T08:47:48.000Z | 2020-06-06T14:17:16.000Z | Tests/TaskManager/Doubles/TaskSpy.swift | sgulseth/Tasker | b908b10199d3633b751db949f59d1fdb77cf11b5 | [
"MIT"
] | 1 | 2020-06-02T21:53:36.000Z | 2020-06-02T21:53:36.000Z | import Foundation
@testable import Tasker
var kTaskSpyCounter = AtomicInt()
class TaskSpy<T>: AnyTask<T> {
var executeCallCount: Int {
self.executeCallBackData.count
}
var executeCallBackData: SynchronizedArray<AnyResult> = []
override init(timeout: DispatchTimeInterval? = nil, execute: @esc... | 31.326531 | 116 | 0.64886 |
bd918c68bfa21bfee9de81877b2cf2379f09365a | 149 | swift | Swift | DoTo/Utill/Storage/DBKeys.swift | shndrs/DoTo | 1fcc2a88e4014e502aa72bd7248395566f824357 | [
"Apache-2.0"
] | 2 | 2020-12-12T09:59:30.000Z | 2021-01-23T07:31:50.000Z | DoTo/Utill/Storage/DBKeys.swift | shndrs/DoTo | 1fcc2a88e4014e502aa72bd7248395566f824357 | [
"Apache-2.0"
] | null | null | null | DoTo/Utill/Storage/DBKeys.swift | shndrs/DoTo | 1fcc2a88e4014e502aa72bd7248395566f824357 | [
"Apache-2.0"
] | null | null | null | //
// DBKeys.swift
// DoTo
//
// Created by Sahand Raeisi on 11/29/20.
//
import Foundation
enum DBKeys: String {
case todoList
}
| 9.933333 | 41 | 0.590604 |
c8f48d9c74a4f2473f4f8f662615b3822573123d | 474 | lua | Lua | model/wave.lua | locci/ProgramacaoParaJogosDigitais_Estrategia | 5eff7bd3ac43a81ef569c180bd8165f11fe0ed4e | [
"MIT"
] | 2 | 2019-10-04T00:51:34.000Z | 2019-10-24T22:16:30.000Z | model/wave.lua | locci/ProgramacaoParaJogosDigitais_Estrategia | 5eff7bd3ac43a81ef569c180bd8165f11fe0ed4e | [
"MIT"
] | null | null | null | model/wave.lua | locci/ProgramacaoParaJogosDigitais_Estrategia | 5eff7bd3ac43a81ef569c180bd8165f11fe0ed4e | [
"MIT"
] | null | null | null |
local Wave = require 'common.class' ()
function Wave:_init(spawns)
self.spawns = spawns
self.delay = 3
self.left = nil
self.pending = 0
end
function Wave:start()
self.left = self.delay
end
function Wave:update(dt)
self.left = self.left - dt
if self.left <= 0 then
self.left = self.left + self.delay... | 15.290323 | 38 | 0.681435 |
7ffe8d53372253ef7c79103b3298346a603047c0 | 1,328 | go | Go | pkg/tile/proxy_test.go | fafeitsch/Open-Traffic-Sandbox | 5682995e1956bcec07736007070d295f2a15007b | [
"MIT"
] | null | null | null | pkg/tile/proxy_test.go | fafeitsch/Open-Traffic-Sandbox | 5682995e1956bcec07736007070d295f2a15007b | [
"MIT"
] | null | null | null | pkg/tile/proxy_test.go | fafeitsch/Open-Traffic-Sandbox | 5682995e1956bcec07736007070d295f2a15007b | [
"MIT"
] | null | null | null | package tile
import (
"fmt"
"github.com/stretchr/testify/assert"
"net/http"
"net/http/httptest"
"net/url"
"testing"
)
func TestNewProxy(t *testing.T) {
t.Run("no redirect", func(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) {
writer.W... | 36.888889 | 128 | 0.685994 |
54720744bdc96f85b7b00ede8f55486c542f3dec | 3,387 | go | Go | lib/quotes/yahoo/yahoo.go | sboehler/knut | f5b754b08c9c0f97db3bb237c0fbac7deb33baa4 | [
"Apache-2.0"
] | 42 | 2020-11-28T22:35:53.000Z | 2022-03-05T19:15:44.000Z | lib/quotes/yahoo/yahoo.go | sboehler/knut | f5b754b08c9c0f97db3bb237c0fbac7deb33baa4 | [
"Apache-2.0"
] | 5 | 2021-01-03T21:51:47.000Z | 2021-11-22T13:53:51.000Z | lib/quotes/yahoo/yahoo.go | sboehler/knut | f5b754b08c9c0f97db3bb237c0fbac7deb33baa4 | [
"Apache-2.0"
] | 7 | 2020-11-23T23:15:22.000Z | 2022-02-20T12:08:31.000Z | // Copyright 2021 Silvio Böhler
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to ... | 22.430464 | 78 | 0.656038 |
6bae5909d181b665bd19a51b80c815cfc6dda5ce | 64 | h | C | Pods/Headers/Public/FastttCamera/IFTTTDeviceOrientation.h | dgrlucky/PointLegend | 523fdeba0b905f1ce8f89e843c52b269585e092d | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Public/FastttCamera/IFTTTDeviceOrientation.h | dgrlucky/PointLegend | 523fdeba0b905f1ce8f89e843c52b269585e092d | [
"Apache-2.0"
] | null | null | null | Pods/Headers/Public/FastttCamera/IFTTTDeviceOrientation.h | dgrlucky/PointLegend | 523fdeba0b905f1ce8f89e843c52b269585e092d | [
"Apache-2.0"
] | null | null | null | link ../../../FastttCamera/FastttCamera/IFTTTDeviceOrientation.h | 64 | 64 | 0.796875 |
df26c709be5352acd24876c159a43ed82f32fdc2 | 2,195 | rb | Ruby | lib/terjira/client/base.rb | potloc/terjira | 250e9d1c3909f11f395350232edcf189924eeb88 | [
"MIT"
] | 827 | 2016-11-23T11:58:38.000Z | 2022-03-24T03:40:25.000Z | lib/terjira/client/base.rb | mdheller/terjira | 96aca00f41278c5057141412831c6affb0b6f38e | [
"MIT"
] | 90 | 2016-12-18T21:22:03.000Z | 2022-02-24T11:41:24.000Z | lib/terjira/client/base.rb | mdheller/terjira | 96aca00f41278c5057141412831c6affb0b6f38e | [
"MIT"
] | 42 | 2016-12-19T14:58:37.000Z | 2022-03-16T12:48:34.000Z | require_relative 'jql_builder'
require_relative 'auth_option_builder'
module Terjira
module Client
# Abstract class to delegate jira-ruby resource class
class Base
extend JQLBuilder
extend AuthOptionBuilder
DEFAULT_CACHE_SEC = 60
DEFAULT_API_PATH = '/rest/api/2/'.freeze
AGILE_A... | 29.266667 | 86 | 0.569021 |
86502ec9713367b4f1cb452d57f0f2214dee1027 | 18,390 | rs | Rust | gui/src/rust/ide/src/double_representation/graph.rs | vitvakatu/enso | 99053decd8790a7c533d56065d92548fcb512503 | [
"Apache-2.0"
] | null | null | null | gui/src/rust/ide/src/double_representation/graph.rs | vitvakatu/enso | 99053decd8790a7c533d56065d92548fcb512503 | [
"Apache-2.0"
] | null | null | null | gui/src/rust/ide/src/double_representation/graph.rs | vitvakatu/enso | 99053decd8790a7c533d56065d92548fcb512503 | [
"Apache-2.0"
] | null | null | null | //! Code for retrieving graph description from AST.
use crate::prelude::*;
use crate::double_representation::definition::DefinitionInfo;
use crate::double_representation::definition::DefinitionProvider;
use crate::double_representation::node;
use crate::double_representation::node::LocatedNode;
use crate::double_repr... | 37.302231 | 110 | 0.601958 |
330ecd444c0b51c103fe8429f61156a567b6cff4 | 3,574 | py | Python | src/decorators/location_decorator.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/decorators/location_decorator.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null | src/decorators/location_decorator.py | AAU-PSix/canary | 93b07d23cd9380adc03a6aa1291a13eaa3b3008c | [
"MIT"
] | null | null | null |
from typing import List, Dict
from ts.c_syntax import CSyntax
from ts import Tree
from cfa import CFANode, CFA, CFAEdge
from cfa import LocalisedCFA, LocalisedNode
from .tweet_handler import TweetHandler
from .decoration_strategy import StandardDecorationStrategy, DecorationStrategy
from .conversion_strategy import Co... | 40.613636 | 141 | 0.665921 |
4a34b311c51fdd010d3e19ffc9940586213e4a46 | 222 | js | JavaScript | SistCoopJefeCajaApp/src/main/webapp/scripts/filters/nospace.js | Softgreen/SistCoop | 78a6c93fd82e4438eea157ca51410416672bc6b8 | [
"Apache-2.0"
] | null | null | null | SistCoopJefeCajaApp/src/main/webapp/scripts/filters/nospace.js | Softgreen/SistCoop | 78a6c93fd82e4438eea157ca51410416672bc6b8 | [
"Apache-2.0"
] | null | null | null | SistCoopJefeCajaApp/src/main/webapp/scripts/filters/nospace.js | Softgreen/SistCoop | 78a6c93fd82e4438eea157ca51410416672bc6b8 | [
"Apache-2.0"
] | null | null | null | define(['./module'], function (filters) {
'use strict';
filters.filter('nospace', function () {
return function (value) {
return (!value) ? '' : value.replace(/ /g, '');
};
});
});
| 22.2 | 59 | 0.481982 |
5efd0672d9053fa4e6bd2901e58a4d2d802a8d92 | 6,895 | asm | Assembly | Tools/System/Minnow5DataManipulation.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 5 | 2015-02-25T01:28:09.000Z | 2021-05-22T09:03:04.000Z | Tools/System/Minnow5DataManipulation.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 38 | 2015-02-10T18:37:11.000Z | 2017-10-03T03:08:50.000Z | Tools/System/Minnow5DataManipulation.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 2 | 2016-05-06T22:48:46.000Z | 2017-01-12T19:28:49.000Z | Minnow5.appendDataBlock : ; qword buffer (file) in eax, returns eax=blockptr
methodTraceEnter
pusha
push eax ; interface setting
mov eax, [eax+0x0]
call Minnow5.setInterfaceSmart
pop eax
mov eax, [eax+0x4]
mov dword [.base], eax
call Minnow5.findFreeBlock ; find a free block
mov dword [.block], ebx... | 20.893939 | 134 | 0.655112 |
229cd2247acd715c3b90c598230eafaa2756c9fe | 2,355 | html | HTML | src/app/material-component/chips/chips.component.html | pedrocabocalvet/digitalinvoice | f4661670f86f0643d5b85c16f62bb7b7166b0831 | [
"MIT"
] | null | null | null | src/app/material-component/chips/chips.component.html | pedrocabocalvet/digitalinvoice | f4661670f86f0643d5b85c16f62bb7b7166b0831 | [
"MIT"
] | 8 | 2020-07-20T01:09:14.000Z | 2022-03-02T07:55:47.000Z | src/app/material-component/chips/chips.component.html | odiazjs/gondolas-demo | 7a381be98e3b1c8852f448ac4b602c6e4b42111a | [
"MIT"
] | 1 | 2022-02-09T05:58:32.000Z | 2022-02-09T05:58:32.000Z |
<mat-card>
<mat-card-content>
<mat-card-title>Basic Chips</mat-card-title>
<mat-card-subtitle><code><mat-chip></code>displays a list of values as individual, keyboard accessible, chips. <code class=""><a href="https://material.angular.io/components/chips/overview">Official Component</a></code... | 45.288462 | 270 | 0.610616 |
1db492d6637db3801e0d9228b5fcc7ad778f48f4 | 8,814 | sql | SQL | lapg_db.sql | Demonicious/lapg | b7dac7baf2eeee612eeee2dddfa08c3285d45c58 | [
"MIT"
] | null | null | null | lapg_db.sql | Demonicious/lapg | b7dac7baf2eeee612eeee2dddfa08c3285d45c58 | [
"MIT"
] | null | null | null | lapg_db.sql | Demonicious/lapg | b7dac7baf2eeee612eeee2dddfa08c3285d45c58 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jul 14, 2019 at 03:22 PM
-- Server version: 5.7.26
-- PHP Version: 7.2.18
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CH... | 23.31746 | 215 | 0.576923 |
0e3ef04f165323356e50379ed0a4a3878e30426c | 704 | html | HTML | mysite/mysite/templates/try_table_navigation.html | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 31 | 2016-11-16T22:34:35.000Z | 2022-03-22T22:16:11.000Z | mysite/mysite/templates/try_table_navigation.html | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 6 | 2017-06-24T06:29:36.000Z | 2022-01-23T06:30:01.000Z | mysite/mysite/templates/try_table_navigation.html | ScienceStacks/JViz | c8de23d90d49d4c9bc10da25f4a87d6f44aab138 | [
"Artistic-2.0",
"Apache-2.0"
] | 4 | 2017-07-27T16:23:50.000Z | 2022-03-12T06:36:13.000Z | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Try JQuery Table Navigation</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<table id="mytable">
<tr>
<td><span><div class="data">60</div></span></td>
... | 24.275862 | 93 | 0.545455 |
31a3321848c26a6c8abd18e7a974c63a0db3fddd | 88 | kt | Kotlin | app/src/main/java/org/cuieney/videolife/kotlin/common/okhttp/CookiesManager.kt | daimaren/CloudPlayer | b9240c27d70760c357bb88c4f7acd4e9c529d528 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2019-10-27T17:23:21.000Z | 2021-03-30T03:01:38.000Z | app/src/main/java/org/cuieney/videolife/kotlin/common/okhttp/CookiesManager.kt | daimaren/CloudPlayer | b9240c27d70760c357bb88c4f7acd4e9c529d528 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | app/src/main/java/org/cuieney/videolife/kotlin/common/okhttp/CookiesManager.kt | daimaren/CloudPlayer | b9240c27d70760c357bb88c4f7acd4e9c529d528 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2018-02-11T07:56:10.000Z | 2018-02-11T07:56:10.000Z | package org.cuieney.videolife.kotlin.common
/**
* Created by cuieney on 2017/6/5.
*/
| 14.666667 | 43 | 0.704545 |
c6e2672b4a1414d7ed4af9443c5afac1204713c8 | 103 | rb | Ruby | test/dummy/db/seeds.rb | smashingboxes/cardboard_blog | 2dc085a67c6410812cee6730788f9e6160d76196 | [
"MIT"
] | null | null | null | test/dummy/db/seeds.rb | smashingboxes/cardboard_blog | 2dc085a67c6410812cee6730788f9e6160d76196 | [
"MIT"
] | null | null | null | test/dummy/db/seeds.rb | smashingboxes/cardboard_blog | 2dc085a67c6410812cee6730788f9e6160d76196 | [
"MIT"
] | null | null | null | puts "Generating Admin User"
AdminUser.create(email: "michael@smashingboxes.com", password: "password") | 51.5 | 74 | 0.796117 |
e0b2140d2ac3477b517fbc53ee4741f28fd8adb9 | 110 | swift | Swift | Tools/Bridgy/Sources/Bridgy/main.swift | BatchLabs/Batch-iOS-SDK | 17644488872e62ff09a9106592aecbf79c04e6e7 | [
"MIT"
] | 10 | 2020-12-03T17:08:02.000Z | 2022-03-16T16:22:45.000Z | Sources/Bridgy/main.swift | BatchLabs/Bridgy | 65715a1953aea77b652bb2820367543fe8e36839 | [
"MIT"
] | 6 | 2020-10-15T12:56:22.000Z | 2022-02-18T14:12:49.000Z | Sources/Bridgy/main.swift | BatchLabs/Bridgy | 65715a1953aea77b652bb2820367543fe8e36839 | [
"MIT"
] | 3 | 2020-12-16T16:15:11.000Z | 2021-12-22T15:03:00.000Z | import Darwin
do {
try CommandLine.run()
} catch {
print("Failed: \(error)")
exit(EXIT_FAILURE)
} | 13.75 | 29 | 0.618182 |
0054999f05a72f2f5b8e15efb46540b8997b7201 | 3,547 | sql | SQL | init.sql | julyerr/wenwo | 57bc03350dd715a2c04f9a574f3952b14dfa06eb | [
"MIT"
] | 1 | 2018-08-05T03:28:39.000Z | 2018-08-05T03:28:39.000Z | init.sql | julyerr/wenwo | 57bc03350dd715a2c04f9a574f3952b14dfa06eb | [
"MIT"
] | null | null | null | init.sql | julyerr/wenwo | 57bc03350dd715a2c04f9a574f3952b14dfa06eb | [
"MIT"
] | null | null | null | INSERT INTO `wenwo_admin_user` (`id`, `in_time`, `password`, `token`, `username`, `role_id`)
VALUES
(1, '2018-07-18 00:00:00', '$2a$10$Tudq82ap3RQ0oG8Ts/EL2.pPiwuWe.cS.EHnSbu30lie5fU76YaWS.', '70989be6-0e03-48fe-9153-1a60cbdbef3e', 'admin', 1);
INSERT INTO `wenwo_permission` (`id`, `name`, `pid`, `url`, `value`)
VAL... | 33.462264 | 146 | 0.541303 |
6704a7b7f5adce49dfc6d510bff86e380d092157 | 278 | kt | Kotlin | kotaro/src/commonMain/kotlin/math/Vector3i.kt | Pengiie/kotarOld | b9f75232ae7d2ad815478307d0c731d0f1ce9bbd | [
"Apache-2.0"
] | null | null | null | kotaro/src/commonMain/kotlin/math/Vector3i.kt | Pengiie/kotarOld | b9f75232ae7d2ad815478307d0c731d0f1ce9bbd | [
"Apache-2.0"
] | null | null | null | kotaro/src/commonMain/kotlin/math/Vector3i.kt | Pengiie/kotarOld | b9f75232ae7d2ad815478307d0c731d0f1ce9bbd | [
"Apache-2.0"
] | null | null | null | package dev.pengie.kotaro.math
class Vector3i(x: Int, y: Int, z: Int) : Vector3<Int>(x, y, z, ArithmeticInt) {
constructor() : this(0)
constructor(value: Int) : this(value, value, value)
override fun copy(x: Int, y: Int, z: Int): Vector3<Int> = Vector3i(x, y, z)
} | 34.75 | 79 | 0.643885 |
0e3a1fa6911fb97236da1ed645fbe345fb0b5239 | 5,205 | lua | Lua | lua/starfall/preprocessor.lua | Mijyuoon/starfall | f5faa0750c9b9f9848a9e68d0d7b1753210e9db0 | [
"BSD-3-Clause"
] | null | null | null | lua/starfall/preprocessor.lua | Mijyuoon/starfall | f5faa0750c9b9f9848a9e68d0d7b1753210e9db0 | [
"BSD-3-Clause"
] | null | null | null | lua/starfall/preprocessor.lua | Mijyuoon/starfall | f5faa0750c9b9f9848a9e68d0d7b1753210e9db0 | [
"BSD-3-Clause"
] | 2 | 2021-04-20T14:50:10.000Z | 2021-07-07T18:27:41.000Z | -------------------------------------------------------------------------------
-- SF Preprocessor.
-- Processes code for compile time directives.
-------------------------------------------------------------------------------
-- TODO: Make an @include-only parser
SF.Preprocessor = {}
SF.Preprocessor.directives = {}
... | 29.913793 | 92 | 0.640538 |
95bb40c2fdede4768fb90c9d98aab2c147822ec5 | 43,938 | sql | SQL | app/database/scripts/wellsearch/wells_replication_stored_functions.sql | cedar-technologies/gwells | 9023034698a9c25e5a49193242678c1aee3c6f4d | [
"Apache-2.0"
] | 1 | 2020-01-29T22:42:40.000Z | 2020-01-29T22:42:40.000Z | app/database/scripts/wellsearch/wells_replication_stored_functions.sql | cedar-technologies/gwells | 9023034698a9c25e5a49193242678c1aee3c6f4d | [
"Apache-2.0"
] | 1 | 2018-05-02T05:28:33.000Z | 2018-05-09T15:58:07.000Z | app/database/scripts/wellsearch/wells_replication_stored_functions.sql | cedar-technologies/gwells | 9023034698a9c25e5a49193242678c1aee3c6f4d | [
"Apache-2.0"
] | 1 | 2018-05-02T23:56:48.000Z | 2018-05-02T23:56:48.000Z | /*
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | 42.411197 | 155 | 0.584414 |
0b39211e58c62524837539f8c02eb738f733141e | 1,037 | py | Python | GraphSAGE/fix.py | attre2vec/attre2vec | f36a2581f3d17887d6201a76624d4ced93d6503f | [
"MIT"
] | null | null | null | GraphSAGE/fix.py | attre2vec/attre2vec | f36a2581f3d17887d6201a76624d4ced93d6503f | [
"MIT"
] | null | null | null | GraphSAGE/fix.py | attre2vec/attre2vec | f36a2581f3d17887d6201a76624d4ced93d6503f | [
"MIT"
] | null | null | null | import pickle
import networkx as nx
import numpy as np
import torch
for name in ('cora', 'citeseer', 'pubmed'):
with open(f'data/datasets/{name}.pkl', 'rb') as fin:
dataset = pickle.load(fin)
test_graph = dataset['original_graph']
e2i = dataset['edge2idx']
H = dataset['H']
node_fts = to... | 25.925 | 70 | 0.580521 |
041e19937a9136afc7671e70c9fc294e7170fc96 | 494 | js | JavaScript | build/build-static.js | 6thquake/taro-material | cca464154b056c7b3c8077002f9f9ced28a9ce31 | [
"MIT"
] | 3 | 2019-03-15T09:53:35.000Z | 2019-07-01T05:48:59.000Z | build/build-static.js | 6thquake/taro-material | cca464154b056c7b3c8077002f9f9ced28a9ce31 | [
"MIT"
] | null | null | null | build/build-static.js | 6thquake/taro-material | cca464154b056c7b3c8077002f9f9ced28a9ce31 | [
"MIT"
] | 1 | 2022-01-12T06:17:24.000Z | 2022-01-12T06:17:24.000Z | const ora = require('ora');
const fs = require('fs-extra');
const path = require('path');
const spinner = ora('copy h5 website to docs...');
spinner.start();
fs.emptyDirSync(path.resolve(__dirname, '../docs/h5'));
fs.copy(path.resolve(__dirname, '../dist'), path.resolve(__dirname, '../docs/h5'))
.then(() => {
... | 23.52381 | 82 | 0.637652 |
24ec54ed61287384aa5dfd670d77e1d7c9c600c7 | 1,333 | swift | Swift | Quotes/Shared/Network/APIService.swift | SumitKr88/NetworkSample-SwiftUI-Combine | 0f894716475cbf076806823f61e763576ea633b0 | [
"MIT"
] | null | null | null | Quotes/Shared/Network/APIService.swift | SumitKr88/NetworkSample-SwiftUI-Combine | 0f894716475cbf076806823f61e763576ea633b0 | [
"MIT"
] | null | null | null | Quotes/Shared/Network/APIService.swift | SumitKr88/NetworkSample-SwiftUI-Combine | 0f894716475cbf076806823f61e763576ea633b0 | [
"MIT"
] | null | null | null | //
// APIService.swift
// YoutubeRelica
//
// Created by Sumit Kumar on 06/02/22.
//
import Foundation
import Combine
protocol APIProtocol {
func publisher(for request: APIRequestBuilder) -> AnyPublisher<Data, APIError>
func publisher<T: Decodable>(for request: APIRequestBuilder,
... | 32.512195 | 142 | 0.64066 |
5e74a6512a1f04c7a8b61443f26741dad247fa04 | 2,422 | swift | Swift | ClearKeep/Modules/Home/Views/CkAvatarTopView.swift | telred-llc/clearkeep-ios | 1d720ea8a0d03f3f2930281bba2e3478750ab11e | [
"Apache-2.0"
] | 1 | 2019-12-18T05:11:09.000Z | 2019-12-18T05:11:09.000Z | ClearKeep/Modules/Home/Views/CkAvatarTopView.swift | mohsinalimat/clearkeep-ios | de52d19939effe7f4488e4db7efe809dc45e0770 | [
"Apache-2.0"
] | null | null | null | ClearKeep/Modules/Home/Views/CkAvatarTopView.swift | mohsinalimat/clearkeep-ios | de52d19939effe7f4488e4db7efe809dc45e0770 | [
"Apache-2.0"
] | 1 | 2019-12-18T05:11:10.000Z | 2019-12-18T05:11:10.000Z | //
// CkAvatarTopView.swift
// Riot
//
// Created by Hiếu Nguyễn on 12/29/18.
// Copyright © 2018 matrix.org. All rights reserved.
//
import UIKit
class CkAvatarTopView: MXKView {
@IBOutlet weak var imgAvatar: MXKImageView!
@IBOutlet weak var imgStatus: UIView!
class func instance() -> CkAvatarTopVi... | 34.112676 | 156 | 0.618497 |
ddb8e2d17d8c58ead390a1a7f93ff15be8d0cbf1 | 474 | go | Go | slide.go | emicklei/audiovisio | ad1f2ad35df6fce4274c18bd584224b89a0dccf1 | [
"MIT"
] | null | null | null | slide.go | emicklei/audiovisio | ad1f2ad35df6fce4274c18bd584224b89a0dccf1 | [
"MIT"
] | null | null | null | slide.go | emicklei/audiovisio | ad1f2ad35df6fce4274c18bd584224b89a0dccf1 | [
"MIT"
] | null | null | null | package audiovisio
type Slide struct {
ID string `yaml:"id"`
Title string `yaml:"title"`
Image string `yaml:"image"`
Sound string `yaml:"sound"`
PauseBeforeAudio int `yaml:"pause-before-audio"`
PauseAfterAudio int `yaml:"pause-after-audio"`
NextID string `yaml:"next"`
}
func (s Slide) withPauses(before, ... | 19.75 | 52 | 0.698312 |
6b4244e507218150c003a95bd4e5d185980977dd | 13,910 | c | C | asp/tinet/asp_sample/echos6.c | h7ga40/gr_citrus | 07d450b9cc857997c97519e962572b92501282d6 | [
"MIT"
] | null | null | null | asp/tinet/asp_sample/echos6.c | h7ga40/gr_citrus | 07d450b9cc857997c97519e962572b92501282d6 | [
"MIT"
] | null | null | null | asp/tinet/asp_sample/echos6.c | h7ga40/gr_citrus | 07d450b9cc857997c97519e962572b92501282d6 | [
"MIT"
] | null | null | null | /*
* TINET (TCP/IP Protocol Stack)
*
* Copyright (C) 2001-2017 by Dep. of Computer Science and Engineering
* Tomakomai National College of Technology, JAPAN
*
* 上記著作権者は,以下の (1)~(4) の条件か,Free Software Foundation
* によって公表されている GNU General Public License の Version 2 に記
* 述されている条件を満... | 28.504098 | 114 | 0.609777 |
cb8b3d39476b988461cc3bd81b209d2441d29158 | 2,859 | go | Go | cmd/gopmctl/main.go | brettbuddin/gopm | c1f851755872a27f9f7e2f6a1ff8664b6198506d | [
"MIT"
] | null | null | null | cmd/gopmctl/main.go | brettbuddin/gopm | c1f851755872a27f9f7e2f6a1ff8664b6198506d | [
"MIT"
] | null | null | null | cmd/gopmctl/main.go | brettbuddin/gopm | c1f851755872a27f9f7e2f6a1ff8664b6198506d | [
"MIT"
] | null | null | null | package main
import (
"fmt"
"os"
"strings"
"text/tabwriter"
"github.com/logrusorgru/aurora"
"github.com/spf13/cobra"
"github.com/stuartcarnie/gopm/config"
"github.com/stuartcarnie/gopm/rpc"
"google.golang.org/grpc"
)
type Control struct {
Configuration string
Address string
client rpc.GopmClient
}... | 23.056452 | 121 | 0.684855 |
adf4ad36ddafe7f08ece0e19b69af2bf4eb2694b | 6,596 | rs | Rust | src/render/renderer.rs | Akulen/wlroots-rs | 820cab0fcef4e354b817f9bbf8b005922d6bea7d | [
"MIT"
] | null | null | null | src/render/renderer.rs | Akulen/wlroots-rs | 820cab0fcef4e354b817f9bbf8b005922d6bea7d | [
"MIT"
] | null | null | null | src/render/renderer.rs | Akulen/wlroots-rs | 820cab0fcef4e354b817f9bbf8b005922d6bea7d | [
"MIT"
] | null | null | null | //! TODO Documentation
use std::time::Duration;
use libc::{c_float, c_int, c_void};
use {Area, Output, PixmanRegion};
use render::Texture;
use wlroots_sys::{wl_shm_format, wlr_backend, wlr_backend_get_egl, wlr_render_ellipse_with_matrix,
wlr_render_quad_with_matrix, wlr_render_rect, wlr_render_text... | 35.462366 | 98 | 0.532292 |
0bcfb65f371793f7e6f494b825fee38b4329d334 | 7,098 | js | JavaScript | src/parser.js | dragonhailstone/m42kup | d5561945a31c995e8b19d9c75ae2591ec3206bb9 | [
"MIT"
] | null | null | null | src/parser.js | dragonhailstone/m42kup | d5561945a31c995e8b19d9c75ae2591ec3206bb9 | [
"MIT"
] | null | null | null | src/parser.js | dragonhailstone/m42kup | d5561945a31c995e8b19d9c75ae2591ec3206bb9 | [
"MIT"
] | null | null | null | function input2pt(input) {
var levels = [],
stack = [];
function push(fragment) {
// normalize text
if (fragment.type == 'text'
&& stack.length
&& stack[stack.length - 1].type == 'text') {
var prepend = stack.pop();
fragment = {
type: 'text',
start: prepend.start,
end: fragment.end,
... | 21.251497 | 111 | 0.554945 |
1169a25bc573d99ea6608a9d343386656f55b5fb | 5,428 | rs | Rust | src/matching.rs | Finnerale/druid-enum-switcher | 8390a872272b421ad299043a784e36c52742151d | [
"MIT"
] | null | null | null | src/matching.rs | Finnerale/druid-enum-switcher | 8390a872272b421ad299043a784e36c52742151d | [
"MIT"
] | null | null | null | src/matching.rs | Finnerale/druid-enum-switcher | 8390a872272b421ad299043a784e36c52742151d | [
"MIT"
] | 1 | 2020-03-25T11:42:34.000Z | 2020-03-25T11:42:34.000Z | use crate::test_enum::TestEnum;
use druid::{widget::prelude::*, WidgetPod};
pub struct TestEnumMatcher {
content_first: Option<WidgetPod<f64, Box<dyn Widget<f64>>>>,
first_added: bool,
content_second: Option<WidgetPod<f64, Box<dyn Widget<f64>>>>,
second_added: bool,
content_third: Option<WidgetPod<... | 33.714286 | 100 | 0.481209 |
5c77f01a728cd2d68f516a63f8d3bec0bea595d2 | 979 | h | C | Applications/HomeUIService/HSSetupStepDelegate-Protocol.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | Applications/HomeUIService/HSSetupStepDelegate-Protocol.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | Applications/HomeUIService/HSSetupStepDelegate-Protocol.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class HFDiscoveredAccessory, HFSetupAccessoryResult, HMAccessorySetupCompletedInfo, NSError, NSSet;
@protocol HSSetupStepDelegate <NSObject>
- (void)retryPai... | 42.565217 | 130 | 0.774259 |
7fbd7067495888c3b2f5bb10c4fd93fde2bcdce2 | 1,567 | rs | Rust | workspace/simple-http-server/src/api/response_buffers/header_response_buffers/mod.rs | lemonrock/simple-http-server | 896967914efd7e67de9deea79e383d5e2d65f916 | [
"MIT"
] | null | null | null | workspace/simple-http-server/src/api/response_buffers/header_response_buffers/mod.rs | lemonrock/simple-http-server | 896967914efd7e67de9deea79e383d5e2d65f916 | [
"MIT"
] | null | null | null | workspace/simple-http-server/src/api/response_buffers/header_response_buffers/mod.rs | lemonrock/simple-http-server | 896967914efd7e67de9deea79e383d5e2d65f916 | [
"MIT"
] | 1 | 2018-12-02T20:45:33.000Z | 2018-12-02T20:45:33.000Z | // This file is part of simple-http-server. It is subject to the license terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/lemonrock/simple-http-server/master/COPYRIGHT. No part of simple-http-server, including this file, may be copied, modified, ... | 52.233333 | 409 | 0.813657 |
9ad01184afea8c1e3ec504b4f92c918bf2350580 | 288 | css | CSS | css/style.css | brandyraquel323/JavaScript-Timed-Quiz | 2d83f8c6e7bb13146d0caf1b75f5a91ac4f347db | [
"ADSL"
] | null | null | null | css/style.css | brandyraquel323/JavaScript-Timed-Quiz | 2d83f8c6e7bb13146d0caf1b75f5a91ac4f347db | [
"ADSL"
] | null | null | null | css/style.css | brandyraquel323/JavaScript-Timed-Quiz | 2d83f8c6e7bb13146d0caf1b75f5a91ac4f347db | [
"ADSL"
] | null | null | null | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
justify-content: space-between;
flex-wrap: wrap;
padding: 20px 35px;
display: flex;
}
header h1 {
font-weight: bold;
font-size: 30px;
color: #fce138;
margin: 0;
}
| 13.714286 | 35 | 0.538194 |
fc85aba7f5f9cda58c3c4d3e57b565d98b8249b9 | 1,935 | css | CSS | public/price/style.css | MisterSaidbek/trz-web | c3310de72624e5484720be722b07fb21a2be1b03 | [
"MIT"
] | null | null | null | public/price/style.css | MisterSaidbek/trz-web | c3310de72624e5484720be722b07fb21a2be1b03 | [
"MIT"
] | null | null | null | public/price/style.css | MisterSaidbek/trz-web | c3310de72624e5484720be722b07fb21a2be1b03 | [
"MIT"
] | null | null | null | * {
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
}
.price-title {
text-align: center;
border-bottom: 1px solid #707070;
}
.price-title h2 {
position: relative;
font-size: 36px;
text-transform: uppercase;
font-weight: bold;
}
.price-title h2::after {
content: "";
... | 16.260504 | 37 | 0.595866 |
613566f1930ebe099521b4a2749c9775c2ab7786 | 878 | css | CSS | web/modules/custom/toolbar_tasks/css/toolbar.css | paulsheldrake/components | 2f61eed760c8f38944db5d6e11a21e9c186aae5e | [
"MIT"
] | null | null | null | web/modules/custom/toolbar_tasks/css/toolbar.css | paulsheldrake/components | 2f61eed760c8f38944db5d6e11a21e9c186aae5e | [
"MIT"
] | null | null | null | web/modules/custom/toolbar_tasks/css/toolbar.css | paulsheldrake/components | 2f61eed760c8f38944db5d6e11a21e9c186aae5e | [
"MIT"
] | null | null | null | .toolbar-bar .toolbar-icon-edit:before {
background-image: url(../images/pencil.svg);
}
.toolbar-item::-moz-selection {
background: transparent;
}
.toolbar-item::selection {
background: transparent;
}
.toolbar-menu-administration .tabs__items li {
margin-bottom: 0;
}
.toolbar-menu-administration .tabs__ite... | 21.414634 | 66 | 0.725513 |
c34e8d465fd7724ea767d7527c6612a040dd6fe2 | 1,299 | go | Go | parse.go | mkeeler/pointerstructure | f252a8fd71c835fa8c8ead2ce2cc3a91e214cf83 | [
"MIT"
] | null | null | null | parse.go | mkeeler/pointerstructure | f252a8fd71c835fa8c8ead2ce2cc3a91e214cf83 | [
"MIT"
] | null | null | null | parse.go | mkeeler/pointerstructure | f252a8fd71c835fa8c8ead2ce2cc3a91e214cf83 | [
"MIT"
] | 1 | 2021-02-02T00:01:17.000Z | 2021-02-02T00:01:17.000Z | package pointerstructure
import (
"fmt"
"strings"
)
// Parse parses a pointer from the input string. The input string
// is expected to follow the format specified by RFC 6901: '/'-separated
// parts. Each part can contain escape codes to contain '/' or '~'.
func Parse(input string) (*Pointer, error) {
// Special ... | 22.396552 | 72 | 0.640493 |
9e9dd5978796a3c1d073a35cdc2594060765692b | 2,386 | rs | Rust | src/tooling/reader.rs | deltapi/aoc2020-rs | 770fc31e7ce9101a9073321d7c2d0aa016d12266 | [
"MIT"
] | 1 | 2020-12-04T21:23:40.000Z | 2020-12-04T21:23:40.000Z | src/tooling/reader.rs | deltapi/aoc2020-rs | 770fc31e7ce9101a9073321d7c2d0aa016d12266 | [
"MIT"
] | null | null | null | src/tooling/reader.rs | deltapi/aoc2020-rs | 770fc31e7ce9101a9073321d7c2d0aa016d12266 | [
"MIT"
] | null | null | null | use std::fs::File;
use std::io::{self, BufRead};
use std::path::Path;
pub fn read_file_to_vec(path: &str) -> Vec<usize> {
let mut entries = vec![];
if let Ok(lines) = read_lines(path) {
for line in lines {
if let Ok(ip) = line {
entries.push(ip.parse::<usize>().unwrap());
... | 25.655914 | 77 | 0.436714 |
94fa12b751c90a9a5abc5e0c97255cecb157e034 | 471 | swift | Swift | UnusedUserDefaultsKeyExmaple/UserDefaultsKeys.swift | funzin/UnusedUserDefaultsKeyExmaple | 14a62bf596e435a56ead9ac396595af98e32ab6b | [
"MIT"
] | null | null | null | UnusedUserDefaultsKeyExmaple/UserDefaultsKeys.swift | funzin/UnusedUserDefaultsKeyExmaple | 14a62bf596e435a56ead9ac396595af98e32ab6b | [
"MIT"
] | null | null | null | UnusedUserDefaultsKeyExmaple/UserDefaultsKeys.swift | funzin/UnusedUserDefaultsKeyExmaple | 14a62bf596e435a56ead9ac396595af98e32ab6b | [
"MIT"
] | null | null | null | //
// UserDefaultsKeys.swift
// UnusedUserDefaultsKey-Sample
//
// Created by nakazawa fumito on 2020/08/09.
// Copyright © 2020 nakazawa fumito. All rights reserved.
//
import Foundation
import SwiftyUserDefaults
extension DefaultsKeys {
var isHoge: DefaultsKey<Bool> { .init("is_hoge", defaultValue: false) }... | 27.705882 | 75 | 0.717622 |
d41ad30cbc280b64cd74c7731ee0c30b394047c9 | 15,625 | asm | Assembly | Library/Text/TextStorage/tsEC.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Text/TextStorage/tsEC.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Text/TextStorage/tsEC.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tsEC.asm
AUTHOR: John Wedgwood, Nov 19, 1991
ROUTINES:
Name Description
---- -----------
TS_ECCheckParams Exported parameter ch... | 25.95515 | 79 | 0.577024 |
b97d50986a7af31c223f00197c27106a0ee6d670 | 417 | swift | Swift | Sources/App/LocalePatch.swift | colinrblake/nsdateformatter.com | 997bcbbcb1246c224923679253fff38caed953bb | [
"MIT"
] | 199 | 2016-03-02T18:44:14.000Z | 2022-01-04T16:09:09.000Z | Sources/App/LocalePatch.swift | colinrblake/nsdateformatter.com | 997bcbbcb1246c224923679253fff38caed953bb | [
"MIT"
] | 28 | 2016-03-04T23:13:22.000Z | 2022-02-18T20:53:12.000Z | Sources/App/LocalePatch.swift | colinrblake/nsdateformatter.com | 997bcbbcb1246c224923679253fff38caed953bb | [
"MIT"
] | 31 | 2016-03-05T15:24:15.000Z | 2022-02-18T19:26:40.000Z | import Foundation
import CoreFoundation
// workaround a swift/linux bug that prevents Locale.availableLocales from working on Linux.
// https://bugs.swift.org/browse/SR-3634
func availableLocales() -> [String] {
let cflocales = CFLocaleCopyAvailableLocaleIdentifiers()
var results: [String] = []
for obj in unsafe... | 29.785714 | 92 | 0.7506 |
9bc844ac3d51e0f42c9f45fe57df955cc5d5c611 | 47 | js | JavaScript | examples/todos/src/components/Cleaner/index.js | sgrishchenko/readuz | 2cfc888209d23a4548e14332bffd78de0bf77a34 | [
"MIT"
] | 3 | 2019-03-05T20:57:54.000Z | 2020-06-30T23:31:20.000Z | examples/todos/src/components/Cleaner/index.js | sgrishchenko/readuz | 2cfc888209d23a4548e14332bffd78de0bf77a34 | [
"MIT"
] | 4 | 2020-01-15T16:01:33.000Z | 2021-09-01T11:15:15.000Z | examples/todos/src/components/Cleaner/index.js | sgrishchenko/readuz | 2cfc888209d23a4548e14332bffd78de0bf77a34 | [
"MIT"
] | 1 | 2019-07-23T12:07:34.000Z | 2019-07-23T12:07:34.000Z | // @flow
export { Cleaner } from './Cleaner';
| 11.75 | 36 | 0.595745 |
ed4dbef78fe55718a0af5d4bb6815ae3c29ec424 | 226 | swift | Swift | Mixed/Mixed/SwiftClass.swift | LionWY/Mixed | 7773cae65fb4705c68f5a0cca417faed71788e7e | [
"MIT"
] | null | null | null | Mixed/Mixed/SwiftClass.swift | LionWY/Mixed | 7773cae65fb4705c68f5a0cca417faed71788e7e | [
"MIT"
] | null | null | null | Mixed/Mixed/SwiftClass.swift | LionWY/Mixed | 7773cae65fb4705c68f5a0cca417faed71788e7e | [
"MIT"
] | null | null | null | //
// SwiftClass.swift
// Mixed
//
// Created by FOODING on 17/1/244.
// Copyright © 2017年 Noohle. All rights reserved.
//
import UIKit
class SwiftClass: NSObject {
func test() {
_ = OCClass()
}
}
| 11.894737 | 50 | 0.579646 |
b6481d47220974304a67323ae22f54739087638e | 423 | rb | Ruby | db/migrate/20170814220048_add_household_info_fields_to_snap_applications.rb | 18F/michigan-benefits | 7b4129d720cb5ce0975c9d792b8b40f5a4731117 | [
"MIT"
] | null | null | null | db/migrate/20170814220048_add_household_info_fields_to_snap_applications.rb | 18F/michigan-benefits | 7b4129d720cb5ce0975c9d792b8b40f5a4731117 | [
"MIT"
] | null | null | null | db/migrate/20170814220048_add_household_info_fields_to_snap_applications.rb | 18F/michigan-benefits | 7b4129d720cb5ce0975c9d792b8b40f5a4731117 | [
"MIT"
] | 1 | 2021-02-14T11:18:36.000Z | 2021-02-14T11:18:36.000Z | class AddHouseholdInfoFieldsToSnapApplications < ActiveRecord::Migration[5.1]
def change
add_column :snap_applications, :everyone_a_citizen, :boolean
add_column :snap_applications, :anyone_disabled, :boolean
add_column :snap_applications, :anyone_new_mom, :boolean
add_column :snap_applications, :anyon... | 42.3 | 77 | 0.803783 |
b11946a0a1ea98704da0e4a841dd287d92544eb5 | 65 | css | CSS | frontend/src/resources/views/pages/css/verify.css | ElkinCp5/MongoGraphic | 2ad3aee23447a5a402ca928a865f664384c4517f | [
"MIT"
] | null | null | null | frontend/src/resources/views/pages/css/verify.css | ElkinCp5/MongoGraphic | 2ad3aee23447a5a402ca928a865f664384c4517f | [
"MIT"
] | null | null | null | frontend/src/resources/views/pages/css/verify.css | ElkinCp5/MongoGraphic | 2ad3aee23447a5a402ca928a865f664384c4517f | [
"MIT"
] | null | null | null |
.card-auth.verify button{
width: 40%;
margin: 0 10px;
}
| 10.833333 | 25 | 0.584615 |
28e4b26375de7d97c120c25e2e72ae8fe4d3db43 | 149 | rb | Ruby | app/controllers/test_controller.rb | justinweiss/dgs_push_server | e407e208529e90e6b15950383b508183d54f3ff1 | [
"MIT"
] | 2 | 2015-10-16T17:26:55.000Z | 2015-12-23T00:04:23.000Z | app/controllers/test_controller.rb | justinweiss/dgs_push_server | e407e208529e90e6b15950383b508183d54f3ff1 | [
"MIT"
] | null | null | null | app/controllers/test_controller.rb | justinweiss/dgs_push_server | e407e208529e90e6b15950383b508183d54f3ff1 | [
"MIT"
] | 1 | 2022-01-26T16:51:58.000Z | 2022-01-26T16:51:58.000Z | class TestController < ApplicationController
def succeed
render :text => 'ok'
end
def fail
raise "Way to go, you broke it!"
end
end
| 14.9 | 44 | 0.671141 |
0618d58e149cd19dd5e525abdf942d1b914a09bb | 17,088 | rs | Rust | runtime/src/lib.rs | opensquare-network/opensquare | df9d1921a72644138a0fb8ceecbb565b98d16a61 | [
"Apache-2.0"
] | 11 | 2020-08-27T00:44:11.000Z | 2021-09-26T09:07:10.000Z | runtime/src/lib.rs | opensquare-network/opensquare | df9d1921a72644138a0fb8ceecbb565b98d16a61 | [
"Apache-2.0"
] | 13 | 2020-08-16T04:53:51.000Z | 2020-12-12T14:24:38.000Z | runtime/src/lib.rs | opensquare-network/opensquare | df9d1921a72644138a0fb8ceecbb565b98d16a61 | [
"Apache-2.0"
] | 5 | 2020-10-07T14:23:20.000Z | 2021-11-04T15:31:31.000Z | #![cfg_attr(not(feature = "std"), no_std)]
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit = "256"]
// Make the WASM binary available.
#[cfg(feature = "std")]
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
use sp_api::impl_runtime_apis;
use sp_c... | 34.313253 | 104 | 0.686973 |
70d384ec9375f38a303f0c21f18238d12b2a4037 | 890 | swift | Swift | Sources/CollectionViewSection.SetBoundarySupplementaryItemsError.swift | Anvipo/AnKit | 8077701f25a58a30163142c5c7e62e8b1532823c | [
"MIT"
] | 3 | 2021-11-11T10:18:49.000Z | 2021-12-07T17:52:38.000Z | Sources/CollectionViewSection.SetBoundarySupplementaryItemsError.swift | Anvipo/AnKit | 8077701f25a58a30163142c5c7e62e8b1532823c | [
"MIT"
] | null | null | null | Sources/CollectionViewSection.SetBoundarySupplementaryItemsError.swift | Anvipo/AnKit | 8077701f25a58a30163142c5c7e62e8b1532823c | [
"MIT"
] | null | null | null | //
// CollectionViewSection.SetBoundarySupplementaryItemsError.swift
// AnKit
//
// Created by Anvipo on 20.10.2021.
//
import Foundation
public extension CollectionViewSection {
/// Error, which could occure in `CollectionViewSection` `set(boundarySupplementaryItems:)` method.
enum SetBoundarySupplementaryItems... | 30.689655 | 100 | 0.792135 |