text
stringlengths
2
1.04M
meta
dict
package io.quarkus.kubernetes.deployment; import io.dekorate.kubernetes.decorator.Decorator; import io.dekorate.kubernetes.decorator.NamedResourceDecorator; import io.dekorate.kubernetes.decorator.ResourceProvidingDecorator; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.Serv...
{ "content_hash": "dfbcba2f169b58469c836da5afb185da", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 90, "avg_line_length": 29.677419354838708, "alnum_prop": 0.7543478260869565, "repo_name": "quarkusio/quarkus", "id": "9fc2d3e5ccb730f72621b7778ab3eca5e4df9c04", "size": "92...
namespace base { #if defined(OS_POSIX) namespace internal { // This class is friended by ThreadLocalStorage. class ThreadLocalStorageTestInternal { public: static bool HasBeenDestroyed() { return ThreadLocalStorage::HasBeenDestroyed(); } }; } // namespace internal #endif // defined(OS_POSIX) namespace ...
{ "content_hash": "95bd8a54959b4040de2850399ebbf93f", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 80, "avg_line_length": 34.082352941176474, "alnum_prop": 0.7190196755264067, "repo_name": "ric2b/Vivaldi-browser", "id": "9a3266919d6d70d519d6f6e2ef9c0af2d67f3564", "size"...
namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION // Definitions for locale::id of standard facets that are specialized. locale::id codecvt<char, char, mbstate_t>::id; #ifdef _GLIBCXX_USE_WCHAR_T locale::id codecvt<wchar_t, char, mbstate_t>::id; #endif codecvt<char, char, mbstate...
{ "content_hash": "5a5f79fd72c5cd907409171943326342", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 72, "avg_line_length": 27.696, "alnum_prop": 0.6221837088388215, "repo_name": "the-linix-project/linix-kernel-source", "id": "fdb0896caa29d7d3bbbf8bf83f1396a8dee7f1f8", "s...
/* * This file is part of Cleanflight, Betaflight and INAV. * * Cleanflight and Betaflight are free software. You can redistribute * this software and/or modify this software under the terms of the * GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at...
{ "content_hash": "36a38b26d83d9f415a00a19e5d388fc7", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 73, "avg_line_length": 40.69565217391305, "alnum_prop": 0.7393162393162394, "repo_name": "rtlopez/esp-fc", "id": "ba07b5b7475b73de29c5793fb4adaccede742a7d", "size": "936", ...
<!DOCTYPE html> <html> <head> <link href="css/awsdocs.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/awsdocs.min.js"></script> <meta charset="utf-8"> </head> <body> <div id="content" style="padding: 10px 3...
{ "content_hash": "3c5c59fc2229ab3d9d6d36dba24f377e", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 446, "avg_line_length": 65.43076923076923, "alnum_prop": 0.5116388431695273, "repo_name": "pdhodgkinson/AWSCloudFormationTemplateReference-dash-docset", "id": "ba40b7dbfa5782...
import tornado.web import tornado.websocket import tornado.ioloop # This is our WebSocketHandler - it handles the messages # from the tornado server class WebSocketHandler(tornado.websocket.WebSocketHandler): # the client connected def open(self): print "New client connected" self.write_message("You are conne...
{ "content_hash": "792059954dfe4cfe35ca7f83ef3789fc", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 59, "avg_line_length": 26.322580645161292, "alnum_prop": 0.7377450980392157, "repo_name": "juliansotoca/smartevents", "id": "140e0dbe14a41757bc4c183eb6be9a78656ae7ab", "siz...
namespace Yfer.ZedGraph.Extension.Test { partial class OscViewForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
{ "content_hash": "c092943e41d62d53e8db092fa8962ee3", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 164, "avg_line_length": 46.031007751937985, "alnum_prop": 0.5966655439541934, "repo_name": "yfer/ZedGraph.Extension", "id": "db0158f79b1643b9d6cea396d43e2a9a49f096a1", "si...
package configuration import ( "github.com/cloudfoundry/cli/cf/configuration/core_config" "github.com/cloudfoundry/cli/cf/models" ) func NewRepository() core_config.Repository { return core_config.NewRepositoryFromPersistor(NewFakePersistor(), func(err error) { panic(err) }) } func NewRepositoryWithAccessToken...
{ "content_hash": "442c79056544983ad04b06748ea68b1b", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 91, "avg_line_length": 23.146341463414632, "alnum_prop": 0.7565858798735511, "repo_name": "AmitRoushan/cli", "id": "f5f92f2a6109bf7511c0800dddbfa02b7ae240f5", "size": "949"...
export { TropicalWarning20 as default } from "../../";
{ "content_hash": "7e05d3f84a5208ad50c596f99776f2d1", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 54, "avg_line_length": 55, "alnum_prop": 0.6545454545454545, "repo_name": "georgemarshall/DefinitelyTyped", "id": "72fa8bb4b4929fcbb8f12548612f031ab9362baa", "size": "55", ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "e7f9a9852d60f8df0dd9484a2e3a109f", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 176, "avg_line_length": 45.26724137931034, "alnum_prop": 0.654351552085317, "repo_name": "v8-dox/v8-dox.github.io", "id": "c5b7b1f6ee5b4ee864d79bef4f539c78794a94eb", "size...
mip-yuezhua-video { max-height: 100%; overflow: auto; box-sizing: border-box; } mip-yuezhua-video a { color: #fff; } mip-yuezhua-video .mip-yuezhua-video-countdown { position: absolute; top: 5px; right: 5px; } #MIP-LLIGTBOX-MASK { position: fixed !important; top: 0 !important; left: 0 !important; ...
{ "content_hash": "4884156222419033e21834154e78cd65", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 48, "avg_line_length": 20.416666666666668, "alnum_prop": 0.6673469387755102, "repo_name": "mipengine/mip-extensions-platform", "id": "3edb39fb4d0422f17a0353e9408ed5b999eb439c...
package org.antlr.v4.codegen.model; import org.antlr.v4.Tool; import org.antlr.v4.codegen.OutputModelFactory; import org.antlr.v4.tool.Grammar; import org.antlr.v4.tool.ast.ActionAST; import java.util.HashMap; import java.util.Map; public abstract class OutputFile extends OutputModelObject { public final String f...
{ "content_hash": "b18532f8ba98e3d2bf2b1ea089152e07", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 68, "avg_line_length": 29.789473684210527, "alnum_prop": 0.7385159010600707, "repo_name": "chandler14362/antlr4", "id": "e238dae1b6d54c91687bbacfe107e2243fb89eac", "size": ...
package com.benstatertots.brewerydb.di; /** * From Android's architecture samples: * https://github.com/googlesamples/android-architecture-components/blob/master/GithubBrowserSample/app/src/main/java/com/android/example/github/di/ViewModelKey.java */ import android.arch.lifecycle.ViewModel; import java.lang.annot...
{ "content_hash": "4a7c1f2c131b65c6c960c9682a5bc508", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 165, "avg_line_length": 28.208333333333332, "alnum_prop": 0.8064992614475628, "repo_name": "stupergenius/BreweryDB-Android", "id": "fc6088b7851c99d0553a4bf29fe80cca5273d9ba",...
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <QClipboard> #include <string> #include <vector> Sign...
{ "content_hash": "9c9360f02274fc4bace6371ab824969a", "timestamp": "", "source": "github", "line_count": 274, "max_line_length": 156, "avg_line_length": 32.237226277372265, "alnum_prop": 0.6446280991735537, "repo_name": "digiwhite/hongkongcoin", "id": "07350fa691ae29665690fd7f24b90c8a3c29f1df", "siz...
using System; class Money { static void Main() { //read input int nStudents = int.Parse(Console.ReadLine()); int sSheets = int.Parse(Console.ReadLine()); double pPrice = double.Parse(Console.ReadLine()); int realm = 400; //logic double result; r...
{ "content_hash": "20538a238f42be2d83a35a49a8a98781", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 67, "avg_line_length": 20.772727272727273, "alnum_prop": 0.5536105032822757, "repo_name": "DanielaIvanova/01.CSharp-Fundamentals", "id": "c518d368bb994972ce7ca6f320b58972e8e7...
class Profiles::ChatNamesController < Profiles::ApplicationController before_action :chat_name_token, only: [:new] before_action :chat_name_params, only: [:new, :create, :deny] def index @chat_names = current_user.chat_names end def new end def create new_chat_name = current_user.chat_names.new...
{ "content_hash": "84fe81923ae456d46c2e21384a35624e", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 93, "avg_line_length": 23.125, "alnum_prop": 0.672972972972973, "repo_name": "dplarson/gitlabhq", "id": "2353f0840d672e13f1014dd4ef90c036fdd11d66", "size": "1480", "binar...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Victor { public static partial class Make { /// <summary> /// Makes a new eitherton. /// </summary> /// <typeparam name="A">Item type.</typeparam> ...
{ "content_hash": "2e8f7739b13ee29677773ec6da5fb041", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 81, "avg_line_length": 26.95, "alnum_prop": 0.5807050092764379, "repo_name": "TheBerkin/Victor", "id": "cf8063e8ad9555b88cdfdbdf3ecc86f7f0b91d04", "size": "541", "binary"...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.sql.models; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; /** The PrivateEndpo...
{ "content_hash": "5d14ccbdf97196ae37a6832f856093c5", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 76, "avg_line_length": 24.782608695652176, "alnum_prop": 0.6464912280701754, "repo_name": "Azure/azure-sdk-for-java", "id": "913fb225acedca500a0e0e250d7061af5165d435", "siz...
#region License #endregion using System.Text; using System.Patterns.UI.Forms; namespace System.Web.UI.WebControls { /// <summary> /// DropDownListEx /// </summary> public class DropDownListEx : DropDownList, IFormControl { private string _staticTextSeparator = ", "; pri...
{ "content_hash": "784d570140daa69e235b5b13377ed69c", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 173, "avg_line_length": 38.6958762886598, "alnum_prop": 0.4747568935660051, "repo_name": "Grimace1975/bclcontrib-web", "id": "e38f3ddb11bd41f57689f106484a579be9a1ca53", "s...
require 'helper' class TestUakari < Test::Unit::TestCase should "probably rename this file and start testing for real" do flunk "hey buddy, you should probably rename this file and start testing for real" end end
{ "content_hash": "7b19bf22da1541c1f765c95af7dd0feb", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 86, "avg_line_length": 31.714285714285715, "alnum_prop": 0.7567567567567568, "repo_name": "amro/uakari", "id": "c02693206af637df25ca51dc905cc7709c516e0a", "size": "222", "...
from functools import reduce def arrayPacking(a): return reduce(lambda x, y: x << 8 | y, a[::-1], 0)
{ "content_hash": "2b1a6b5fb1873928a0285f3e25eb4e1b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 54, "avg_line_length": 35, "alnum_prop": 0.638095238095238, "repo_name": "RevansChen/online-judge", "id": "6585e586ad29a0acea4041ec1520f0182665f78c", "size": "116", "binar...
require 'ubiquo_core' module UbiquoVersions class Engine < Rails::Engine include Ubiquo::Engine::Base initializer :load_extensions do require 'ubiquo_versions/extensions.rb' require 'ubiquo_versions/version.rb' end end end
{ "content_hash": "e3eae9abdc85e20aeb7a6880e118f5c1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 45, "avg_line_length": 19.53846153846154, "alnum_prop": 0.7125984251968503, "repo_name": "gnuine/ubiquo", "id": "de293723f9f11f92090cb4b6d479635b8422eac8", "size": "254", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_26) on Mon May 07 13:00:01 PDT 2012 --> <TITLE> Uses of Class org.apache.hadoop.mapreduce.lib.partition.BinaryPartitioner (Hadoop 0.20.2-cdh3u4 API) ...
{ "content_hash": "b75bc43a50ea553f79bbb0824478532a", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 348, "avg_line_length": 47.97790055248619, "alnum_prop": 0.6310456011054814, "repo_name": "Shmuma/hadoop", "id": "ae7b9e7641ed404aa1dc9fe0d01eac9b940a6c81", "size": "8684"...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using Microsoft.Owin.Security; using Microsoft.Owin.Security.ActiveDirectory; using Owin; using System.IdentityModel.Tokens; using TodoListService.Utils; namespace TodoListService { public partial class Startup { ...
{ "content_hash": "be02dba84dfb75b7add3ebc8ceda30b3", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 121, "avg_line_length": 34.45454545454545, "alnum_prop": 0.6561125769569042, "repo_name": "dstrockis/Bearer_WebAPI_GroupClaims", "id": "d93cf4f73361a21ecffdc1387c60e784d79c89...
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NationalIdValidation.Tests { [TestClass] public class EnglishNationalInsuranceUnitTests { private List<string> ValidIdNumbers { get; set; } private List<string> InvalidIdNumbers { ...
{ "content_hash": "589a46499c96f93648f040e1c22ae693", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 106, "avg_line_length": 30.28358208955224, "alnum_prop": 0.5140463282405126, "repo_name": "jakobnotseth/nationalidvalidation", "id": "b8c060dae31a5fdd7cecac63756a44618de6cd82...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright (c) 2015, Intel Corporation ; ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; * Redistribu...
{ "content_hash": "a8c3f0757d04683ab46ab70ab5fc5a75", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 72, "avg_line_length": 47.12820512820513, "alnum_prop": 0.6926006528835691, "repo_name": "lukego/intel-ipsec", "id": "db62415c30be16229ae4ea9e7d71549a0d4d3cdd", "size": "18...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Helicopter16: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Helicopter16;
{ "content_hash": "b9d122059f731ca0897bd80f52dcd92f", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 60, "avg_line_length": 37, "alnum_prop": 0.7747747747747747, "repo_name": "mcliment/DefinitelyTyped", "id": "9c22dbfbf7f0e80806586e6e4907c8716ebf041b", "size": "222", "bin...
//===--- DeclSpec.h - Parsed declaration specifiers -------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "content_hash": "672d47da21127d28b6784395abbf5fb0", "timestamp": "", "source": "github", "line_count": 2343, "max_line_length": 81, "avg_line_length": 35.87836107554418, "alnum_prop": 0.6782532148507667, "repo_name": "mirams/opencor", "id": "67d7b5c3fb479b48dc9ccc5bfaeeb6c5f2487218", "size": "8406...
"""Run AFL repeatedly with externally supplied generated packet from STDIN.""" import logging import sys import afl from ryu.controller import dpset from faucet import faucet from faucet import faucet_experimental_api import fake_packet ROUNDS = 1 logging.disable(logging.CRITICAL) def main(): """Run AFL repeat...
{ "content_hash": "7b3396889d8e82b1750cc28989093c2e", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 94, "avg_line_length": 30.22, "alnum_prop": 0.6591661151555261, "repo_name": "gizmoguy/faucet", "id": "703e72de0f185b60d81e08cc9fa3d1c8fce71a12", "size": "1535", "binary"...
/* Created by TheRacingLion (https://github.com/TheRacingLion) [ 03 / 03 / 2017 ] -*Read LICENSE to know more about permissions*- Config Validator. Checks if the config is valid before letting the bot start. */ const moment = require('moment') const chalk = require('chalk') const status = { online: `${chalk.gr...
{ "content_hash": "0343f00d05a7f4307016379dbcb9d181", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 219, "avg_line_length": 62.54320987654321, "alnum_prop": 0.688511646269246, "repo_name": "NovalFuzzy/Updated-Selfbot", "id": "096babec81c612796a528732ee27c1d128e01d1c", "si...
<?php // Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/) // // 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://w...
{ "content_hash": "cfdda4acc9822bf21d600c6da8a4ca0b", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 151, "avg_line_length": 41.73913043478261, "alnum_prop": 0.63515625, "repo_name": "LindaLawton/Google-APIs-PHP-Samples", "id": "84ed29bb2a120f05bec4d86d141ca5e1bcbe8268", "...
#include <linux/skbuff.h> #include <linux/string.h> #include <linux/module.h> #include <asm/byteorder.h> #include <net/irda/irda.h> #include <net/irda/wrapper.h> #include <net/irda/crc.h> #include <net/irda/irlap.h> #include <net/irda/irlap_frame.h> #include <net/irda/irda_device.h> /************************** FRAM...
{ "content_hash": "ba856d2029b57659e57937ccf925f04f", "timestamp": "", "source": "github", "line_count": 466, "max_line_length": 105, "avg_line_length": 26.233905579399142, "alnum_prop": 0.6386912065439673, "repo_name": "ut-osa/laminar", "id": "a7a7f191f1a86c94437b464f02fdaa5097787ba0", "size": "133...
// Copyright 2022 Google LLC // // 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 writi...
{ "content_hash": "9c43e2de65a4e4675cb79a147fe4c7e7", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 108, "avg_line_length": 27.604938271604937, "alnum_prop": 0.6592128801431127, "repo_name": "googleads/googleads-java-lib", "id": "51eaa448da3676eaba834a51f3d98cafacb6c046", ...
const assert = require('assert'); const Searcher = require('../resources/assets/js/Searcher.js'); const Board = require('../resources/assets/js/Board.js'); const Eventer = require('../resources/assets/js/Eventer.js'); const Championship = require('../resources/assets/js/Championship.js'); const ChampionshipMatch = requ...
{ "content_hash": "82975c35c34c4644fb0e70a775cab427", "timestamp": "", "source": "github", "line_count": 771, "max_line_length": 222, "avg_line_length": 37.30609597924773, "alnum_prop": 0.4824948718840177, "repo_name": "dankuck/who-guessers", "id": "b99d3cdb88e56b685bda40e86a37ffe945c2e553", "size":...
namespace chromeos { namespace { #define ENUM_CASE(x) case x: return std::string(#x) std::string IPConfigTypeAsString(IPConfigType type) { switch (type) { ENUM_CASE(IPCONFIG_TYPE_UNKNOWN); ENUM_CASE(IPCONFIG_TYPE_IPV4); ENUM_CASE(IPCONFIG_TYPE_IPV6); ENUM_CASE(IPCONFIG_TYPE_DHCP); ENUM_CASE(IPCON...
{ "content_hash": "d02e5b0ed564df7e7589e09833dac924", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 64, "avg_line_length": 28.4, "alnum_prop": 0.6580594679186228, "repo_name": "leiferikb/bitpop-private", "id": "4dd105e0f369a319a5fe08946193c6458099e930", "size": "1536", ...
package njson // JSON value parser state machine. // Just about at the limit of what is reasonable to write by hand. // Some parts are a bit tedious, but overall it nicely factors out the // otherwise common code from the multiple scanning functions // in this package (Compact, Indent, checkValid, nextValue, etc). // ...
{ "content_hash": "c79a410039465cdba6b5d9e3ca36f431", "timestamp": "", "source": "github", "line_count": 619, "max_line_length": 87, "avg_line_length": 26.709208400646204, "alnum_prop": 0.6652150244964616, "repo_name": "connectordb/njson", "id": "209d1a2bc2b482319181cc901fe82f4925658805", "size": "1...
package com.google.android.glass.sample.kittycompass; import com.google.android.glass.sample.kittycompass.model.Place; import com.google.android.glass.sample.kittycompass.util.MathUtils; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ValueAnimator; impo...
{ "content_hash": "ee5a4a8245e85c3a6d5357b503400d35", "timestamp": "", "source": "github", "line_count": 432, "max_line_length": 99, "avg_line_length": 41.46527777777778, "alnum_prop": 0.615530620219952, "repo_name": "mimming/kitty-compass", "id": "d8f75fe28072be47697c6d74087217881ddadea6", "size": ...
{% capture question %} Write a function in Scheme that rotates a list by k elements. Rotating a list by 1 consists of moving the first item to the end of the list. Rotating a list by k consists of moving the first k items to the end of the list. `k` can be any number (not constrained by the size of the list). (def...
{ "content_hash": "ea508b8fc0551f710e06bcfb4104c23f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 474, "avg_line_length": 52.34615384615385, "alnum_prop": 0.6414401175606171, "repo_name": "negativetwelve/markmiyashita.com", "id": "53a0b0b263307c1935e44c6217d25d907e498e93"...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.messages = exports.ruleName = undefined; exports.default = function (max) { return function (root, result) { var validOptions = (0, _utils.validateOptions)(result, ruleName, { actual: max, possible: [function (max...
{ "content_hash": "640e5bb195219df504e9b9a8f681667f", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 105, "avg_line_length": 33.753246753246756, "alnum_prop": 0.5906117737591381, "repo_name": "MattKraatz/MattKraatz.github.io", "id": "c2407c6fd8ad2070a1edccace13fd6617d8953e1"...
#ifndef ZDP_H #define ZDP_H #include <cstdint> namespace deCONZ { class Address; class ApsController; class Binding; } class ZDP_Binding { public: uint64_t srcExtAddress; bool isValid() const { return (isUnicastBinding || isGroupBinding) && srcEndpoint != 0; } union { uint16_t ...
{ "content_hash": "df776091dff2bc4cf56182c5ab4a1897", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 114, "avg_line_length": 27.728813559322035, "alnum_prop": 0.684596577017115, "repo_name": "dresden-elektronik/deconz-rest-plugin", "id": "48c46df68299929658167062056c8f7a5c25...
#pragma once #include <QtCore/QThread> #include <QtScript/QScriptEngine> namespace trikScriptRunner { class Threading; /// Thread object which executes a script with a QScriptEngine class ScriptThread : public QThread { Q_OBJECT public: /// Constructor /// @param threading - threading manager for this thread ...
{ "content_hash": "aba09fbad48ba4264b3e0ed920283886", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 101, "avg_line_length": 20.912280701754387, "alnum_prop": 0.735738255033557, "repo_name": "vrxfile/trikRuntime", "id": "1009e222f3eecee07b19d6028453ac22a3f63585", "size": "...
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>QueryDelete | ng-db-helper</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../asset...
{ "content_hash": "6b89e12658231c6ef6fa26d4c4772fc8", "timestamp": "", "source": "github", "line_count": 447, "max_line_length": 973, "avg_line_length": 53.608501118568235, "alnum_prop": 0.6483328464716438, "repo_name": "margarito/ng-db-helper", "id": "dd3d3e08eb7cf334949e40f0187e9d19597e4300", "siz...
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:exslt="http://exslt.org/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd" version="3.3" ID="P0b002ee180e5d63d"> <name ty...
{ "content_hash": "64ab426dd3c3cd83f4c1a8be204890a5", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 311, "avg_line_length": 47.028985507246375, "alnum_prop": 0.7665639445300462, "repo_name": "m4h7/juriscraper", "id": "67e84ed24cfc95165eb518aad31b39aef75ea2d8", "size": "6...
.class final Lcom/sprint/net/lte/ApnsInUse$1; .super Ljava/lang/Object; .source "ApnsInUse.java" # interfaces .implements Landroid/os/Parcelable$Creator; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/sprint/net/lte/ApnsInUse; .end annotation .annotation system Ldalvik/annotati...
{ "content_hash": "2316bc4cfffd165355cbff08d5b18e0e", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 130, "avg_line_length": 22.559139784946236, "alnum_prop": 0.680648236415634, "repo_name": "shumxin/FlymeOS_A5DUG", "id": "af8de0d05c420e0a068193f01d293a14cb34f64f", "size":...
'use strict' const postcss = require('postcss') const LENGTH = 4000 // Get the number of selectors for a given node. const getSelLength = node => { if (node.type === 'rule') { return node.selectors.length } if (node.type === 'atrule' && node.nodes) { return 1 + node.nodes.reduce((memo, n) => { re...
{ "content_hash": "3a4d5f43900a1cab3405b59ae2deaada", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 76, "avg_line_length": 23.4, "alnum_prop": 0.5746219592373438, "repo_name": "yibn2008/css-split", "id": "a7fc2da37c3d88fa307106e6f55106cefdd34b55", "size": "1531", "binar...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import ButtonBase from '../ButtonBase'; import withStyles from '../...
{ "content_hash": "b5ac2c79105c928413efc27f7c31316a", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 141, "avg_line_length": 31.49342105263158, "alnum_prop": 0.6360977647796114, "repo_name": "cdnjs/cdnjs", "id": "7c908b5259f0685b7cbe639936986d9ea87fbe23", "size": "4787", ...
namespace media { static const int kStreamCloseDelaySeconds = 5; // Default maximum number of output streams that can be open simultaneously // for all platforms. static const int kDefaultMaxOutputStreams = 16; // Default maximum number of input streams that can be open simultaneously // for all platforms. static co...
{ "content_hash": "9237ca3d50426786e14e16f1f91d906a", "timestamp": "", "source": "github", "line_count": 400, "max_line_length": 80, "avg_line_length": 35.47, "alnum_prop": 0.6977022836199606, "repo_name": "vadimtk/chrome4sdp", "id": "ea97f1556bdafadbe31d78a1133041273ff010a8", "size": "14945", "bi...
exports.polymorph = function(){ var len2func = []; for(var i=0; i<arguments.length; i++) if(typeof(arguments[i]) == "function") len2func[arguments[i].length] = arguments[i]; return function() { return len2func[arguments.length].apply(this, arguments); } }
{ "content_hash": "96290d2d71215527c3cd46cd98a43798", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 65, "avg_line_length": 28.454545454545453, "alnum_prop": 0.5782747603833865, "repo_name": "mshogin/oraclejs", "id": "6146c463aced34fc2117d110c744209bc13b3882", "size": "313...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0_16) on Mon Feb 16 20:04:26 EST 2009 --> <TITLE> All Classes </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style"> ...
{ "content_hash": "c4ed972516fb2dda39038bf12bdf6def", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 160, "avg_line_length": 45.12903225806452, "alnum_prop": 0.7634024303073624, "repo_name": "sumit784/Best-Buy_Developer_remix-java_api", "id": "4f715ea531297d554de4693f34b306b...
using System.Threading; using Bjd; using Xunit; using Bjd.Initialization; using System; using Bjd.Threading; using Xunit.Abstractions; namespace Bjd.Test { public class ThreadBaseTest : IDisposable { private class MyThread : ThreadBase { public MyThread(Kernel kernel) : base(kernel...
{ "content_hash": "edab12b8b3e0e5009adbee5e3720dbfd", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 77, "avg_line_length": 27.179347826086957, "alnum_prop": 0.4495100979804039, "repo_name": "darkcrash/bjd5", "id": "3e5ee7ba0e2fe6cd20441388f72162618d541d3d", "size": "5187...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("11...
{ "content_hash": "8217bd87874ee9c3b4cb8874482419d8", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.583333333333336, "alnum_prop": 0.7487719298245614, "repo_name": "zvet80/TelerikAcademyHomework", "id": "a858eeb6cbd3af935c28a038beed5c8e173fd97f", ...
$ErrorActionPreference = 'Stop'; Update-SessionEnvironment $npmPath = Get-Command npm | ForEach-Object { $_.Path } "Installing $env:chocolateyPackageName using nodejs..." Start-ChocolateyProcessAsAdmin $npmPath -statements install,"-g","typescript@4.0.2"
{ "content_hash": "c5df75c28adbc5f63ccd0998f85a9244", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 83, "avg_line_length": 36.857142857142854, "alnum_prop": 0.7674418604651163, "repo_name": "chocolatey/chocolatey-coreteampackages", "id": "5114dfacf9cceb263373c274311e280ca992...
package sponsor import "testing" // func TestSponsorDataPath(t *testing.T) { // t.Log("Testing sponsorDataPath function... (expected result: '" + paths.GetWebdir() + "/data/events/2018-new-york.yml')") // testDataPath := sponsorDataPath("chef") // if testDataPath != paths.GetWebDir()+"/data/sponsors/chef.yml" { //...
{ "content_hash": "208682de9f07f64d9722bc7db868f322", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 125, "avg_line_length": 39.47222222222222, "alnum_prop": 0.6833216045038705, "repo_name": "mattstratton/probablyfine", "id": "aaaeb76fae433dc9dc0e99382903fc0572886dad", "si...
This is a port of QRoundProgressBar (https://sourceforge.net/projects/qroundprogressbar) to Python 3 PyQt5. #### A Simple Example Install via PyPi: ``` sudo pip install qroundprogressbar ``` Install via Git clone: ``` git clone git@github.com:ozmartian/QRoundProgressBar.git cd QRoundProgressBar sudo pip install . ...
{ "content_hash": "74ddf0e666749d263ca1e3605b1803fc", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 107, "avg_line_length": 24.01492537313433, "alnum_prop": 0.7588564325668117, "repo_name": "ozmartian/QRoundProgressBar", "id": "d728e70575d5cdaf7dca4906e898b305cbb42e3f", "...
import jwt from "jsonwebtoken"; import { getSalt, getHash } from "../../../lib/promisifiedCrypto"; const config = { hashBytes: 64, saltBytes: 64, iterations: 1000, digest: "sha512" }; export const createCredentials = async function createCredentials(password) { try { const salt = await getSalt(config.sa...
{ "content_hash": "cab0d4719d0b784d99ae93018b71104f", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 77, "avg_line_length": 22.29787234042553, "alnum_prop": 0.6526717557251909, "repo_name": "lexnapoles/bayuk", "id": "94e315925bfd53ec40ecdf0fad17c1c42c99dff2", "size": "1048...
Version ------- This key is **required**. Version of the image. .. code:: yaml version: "1.4"
{ "content_hash": "b03c3da42666a6388842de39b299ac43", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 25, "avg_line_length": 9.363636363636363, "alnum_prop": 0.5631067961165048, "repo_name": "jboss-container-images/concreate", "id": "a1cbcee9c024e3c6c70623cf8f5591db38c5ccdc",...
""" docstring goes here. :copyright: Copyright 2014 by the Elephant team, see AUTHORS.txt. :license: Modified BSD, see LICENSE.txt for details. """ import unittest import neo import numpy as np from numpy.testing.utils import assert_array_almost_equal import quantities as pq import elephant.statistics as es class...
{ "content_hash": "99e5c266cf693d9e458f588f49b42cb5", "timestamp": "", "source": "github", "line_count": 304, "max_line_length": 84, "avg_line_length": 39.91776315789474, "alnum_prop": 0.5855789039967038, "repo_name": "SPP1665DataAnalysisCourse/elephant", "id": "f23c2073900a6ec438f8e457cd4cb4f40545d46...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
{ "content_hash": "6c185fcd4bf0c9a05186270ce33bbbb4", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 77, "avg_line_length": 37.582417582417584, "alnum_prop": 0.7228070175438597, "repo_name": "brunolauze/openpegasus-providers-old", "id": "4f026bd96525c7c35f211a6dc96bf7bf13ed4...
<link rel="import" href="../../bower_components/polymer/polymer.html"> <dom-module id="create-meetup"> <style> #slider { width: 100%; --paper-slider-disabled-active-color: --google-blue-700; } .page-title { margin-bottom: 0; } paper-button { width: 100%; background: ...
{ "content_hash": "5e8adf97572268b697318a1af31579b3", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 153, "avg_line_length": 29.75, "alnum_prop": 0.5742296918767507, "repo_name": "mikelseverson/Meetup_Planner", "id": "2ce1f2b87366c97a10be011da99ce6e45abbf3d9", "size": "32...
package org.apache.geode.internal.protocol.exception; import org.apache.geode.annotations.Experimental; /** * Indicates that a message didn't properly follow its protocol specification. */ @Experimental public class InvalidProtocolMessageException extends Exception { public InvalidProtocolMessageException(String...
{ "content_hash": "17b40e42ebc0d259c9946a4cd9b2e4bd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 78, "avg_line_length": 25.88888888888889, "alnum_prop": 0.7854077253218884, "repo_name": "pivotal-amurmann/geode", "id": "49786f8c80435ec424893998aff952b63ee4d4b4", "size":...
package com.kotcrab.vis.editor.event; /** * Posted when scene should reloed various types of resources * @author Kotcrab */ public class ResourceReloadedEvent { public static final int RESOURCE_TEXTURES = 0x0001; public static final int RESOURCE_TEXTURE_ATLASES = 0x0002; public static final int RESOURCE_PARTIC...
{ "content_hash": "36a7a3aeb2894d06759f4c5b663d787d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 61, "avg_line_length": 28.181818181818183, "alnum_prop": 0.7741935483870968, "repo_name": "billy1380/VisEditor", "id": "bb8d7e1cdae0c10afeedd68fb26de633a297a0c3", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Codebird Demo</title> <script src="../bower_components/angular/angular.min.js"></script> <script src="../bower_components/apiNG/dist/aping.min.js"></script> <script src="aping-config.js"></script> <script src="app.js"></scrip...
{ "content_hash": "e9804d9690b04a31dc59cafe5220f57c", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 181, "avg_line_length": 45.892857142857146, "alnum_prop": 0.6140077821011674, "repo_name": "JohnnyTheTank/apiNG-plugin-codebird", "id": "9f43a490fb2bb2eb9e982be0470ef1fe8ccf5...
"""Spectrogram augmentation for model regularization.""" from typing import Any, Dict import tensorflow_model_optimization as tfmot from kws_streaming.layers.compat import tf from tensorflow.python.keras.utils import control_flow_util # pylint: disable=g-direct-tensorflow-import from tensorflow.python.ops import arr...
{ "content_hash": "2a85b82eb8c70b3d74a56abb21ef8cc2", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 105, "avg_line_length": 31.89864864864865, "alnum_prop": 0.6613005719127304, "repo_name": "google-research/google-research", "id": "6db8b6b8c890c18ca2ef7bd55064f0e17d932083"...
require 'rubygems' require 'packetfu' # A factory for generating packet objects on demand module BNAT class PacketFactory # @param [String] a string of the interface name def initialize(interface) @interface = interface end #Get a Generic TCP Packet def get_tcp_packet tcp_packet ...
{ "content_hash": "a9457d79e17af45dfbc8d093586b74ad", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 69, "avg_line_length": 27.869565217391305, "alnum_prop": 0.6177847113884556, "repo_name": "claudijd/bnat", "id": "10fd579f3f0f110751798c7a39c272db3923350c", "size": "1923",...
angular.module('aa.shared') .config(function($translateProvider) { 'use strict'; $translateProvider .translations('en', { 'email_address': 'Email address', 'password': 'Password', 'password_repeat': 'Password repeat', 'your_password_contains': 'Your password contains', 'submit': ...
{ "content_hash": "0b6d5c4986d3700d573a1fc7a94caf47", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 89, "avg_line_length": 28.8, "alnum_prop": 0.6412037037037037, "repo_name": "ktor/training-advanced-angular", "id": "7a96303a8fad8ebad64c734d62da3eb2dec1c3bb", "size": "432...
package com.example.android.sunshine.app; /** * Created by lmedina on 11/5/2015. */ /* * Copyright (C) 2014 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 Licens...
{ "content_hash": "9a9afcac52a228c345ff8ea1d2dfc8ee", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 108, "avg_line_length": 45.06106870229008, "alnum_prop": 0.5974928002710487, "repo_name": "Luis-Medina/Project6_AndroidWear", "id": "0525eaca7529dc384fb49f9794e96d9eeb3859da...
def heard(data): print "Speech Recognition Data:", data lloyd = Runtime.createAndStart("lloyd", "ProgramAB") lloyd.startSession("kevin", "alice2") webgui = Runtime.create("WebGui","WebGui") webgui.autoStartBrowser(False) webgui.startService() wksr = Runtime.createAndStart("webkitspeechrecognition", "WebkitSpeechRec...
{ "content_hash": "a267038fdc6d71756bd46788380f86b4", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 83, "avg_line_length": 30.703703703703702, "alnum_prop": 0.7322074788902292, "repo_name": "MyRobotLab/pyrobotlab", "id": "a22200e766658f2608d3869df498b8886e60c88d", "size":...
<?php /** * @namespace */ namespace Zend\OpenId\Provider\User; /** * Abstract class to get/store information about logged in user in Web Browser * * @category Zend * @package Zend_OpenId * @subpackage Zend\OpenId\Provider\GenericProvider * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. ...
{ "content_hash": "ed5e3842d116fc50a671a49e359e642d", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 87, "avg_line_length": 21.976744186046513, "alnum_prop": 0.6476190476190476, "repo_name": "phphatesme/LiveTest", "id": "dfa2124782e5dc4f308503a48179dd9cf8a7d250", "size": "...
using System; using Alachisoft.NCache.Common.Pooling; using Alachisoft.NCache.IO; namespace Alachisoft.NCache.Serialization.Surrogates { /// <summary> /// Surrogate for types that inherit from <see cref="ICompactSerializable"/>. /// </summary> public abstract class ContextSensitiveSerializationSurrogat...
{ "content_hash": "4b6b498880b9ba6aadce8e13cc561280", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 99, "avg_line_length": 35.93043478260869, "alnum_prop": 0.5336398838334947, "repo_name": "Alachisoft/NCache", "id": "f937caa91656710dd0e222ea97b33c5fa1101b0a", "size": "47...
package org.cipres.treebase.dao.jdbc; import org.apache.log4j.Logger; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Types; import java.util.List; import org.springframework.jdbc.UncategorizedSQLException; /** * MatrixElementJDBC.java *...
{ "content_hash": "4fbe23634af537940d127fc6bb8c836c", "timestamp": "", "source": "github", "line_count": 216, "max_line_length": 92, "avg_line_length": 22.89351851851852, "alnum_prop": 0.627098078867543, "repo_name": "TreeBASE/treebasetest", "id": "89dec5e23cc541cf4713313373c52633970259ad", "size": ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _react = _interopRequireWildcard(require("react")); var _ink = require("ink"); var _context = _interopRequireWildcard(requi...
{ "content_hash": "dfc0a4f22cc804a9c32c782e3fd76b64", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 142, "avg_line_length": 36.791666666666664, "alnum_prop": 0.72480181200453, "repo_name": "BigBoss424/portfolio", "id": "4ba8da1c13c24fb93e1756d08c35f390622ba016", "size": "...
var app = require('app'); var BrowserWindow = require('browser-window'); var google = require('googleapis'); // Report crashes to our server. require('crash-reporter').start(); // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the javascript object is GCed....
{ "content_hash": "0c6c135f43d045fda8e89934b5cad1d5", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 78, "avg_line_length": 31.026315789473685, "alnum_prop": 0.7099236641221374, "repo_name": "raks437/rHangout", "id": "c8a2a1e85eeb84929990455ed7d768c83e9d0c4a", "size": "117...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
{ "content_hash": "c7ca0df04c53f8ee045391ab8107fdee", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 117, "avg_line_length": 40.241379310344826, "alnum_prop": 0.6066838046272494, "repo_name": "phongdong/match-all", "id": "afb41e9ba0d20718aebb8face3dcb0aff135bda3", "size": ...
package com.vmware.vim25; /** @author Steve Jin (sjin@vmware.com) */ public class PatchInstallFailed extends PlatformConfigFault { public boolean rolledBack; public boolean isRolledBack() { return this.rolledBack; } public void setRolledBack(boolean rolledBack) { this.rolledBack=rolledBack; ...
{ "content_hash": "34851debd3833ba8b97983df3c462eaf", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 59, "avg_line_length": 14.681818181818182, "alnum_prop": 0.7275541795665634, "repo_name": "mikem2005/vijava", "id": "f7113678557729e70a7cf2715504f2dc97f97ae5", "size": "196...
import os import rediswq from model_training import FraudDetectionModelTrainer # Initialize variables FILESTORE_PATH = "/mnt/fileserver/" TESTING_DATASET_PATH = FILESTORE_PATH + "datasets/testing/test_dataset.pkl" OUTPUT_DIR = FILESTORE_PATH + "output/" REPORT_PATH = OUTPUT_DIR + "report.txt" CLASS_LABEL = "TX_FRAUD_S...
{ "content_hash": "544e01c1de57bd485ee1b2a6c5d2b53c", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 75, "avg_line_length": 34.05172413793103, "alnum_prop": 0.6369620253164557, "repo_name": "GoogleCloudPlatform/kubernetes-engine-samples", "id": "16286cdef198b8976dd3a33ab2c32...
module Mokio class SeoTag < ActiveRecord::Base include Mokio::Concerns::Models::SeoTag end end
{ "content_hash": "3e5c885cf9bddb1cc2de4423556d24b2", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 43, "avg_line_length": 20.4, "alnum_prop": 0.7450980392156863, "repo_name": "versoft/mokio", "id": "1593999c811f487ee68801a6b3adb6a5822aca68", "size": "102", "binary": fal...
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this ...
{ "content_hash": "f166a8d20e95f8716325ec56608bdcdd", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 152, "avg_line_length": 44.88235294117647, "alnum_prop": 0.6076889471384884, "repo_name": "alexryndin/ambari", "id": "850a98bfee3e09dd651e1a10ffe5f1233baebe97", "size": "6...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema, crypto = require('crypto'); /** * A Validation function for local strategy properties */ var validateLocalStrategyProperty = function(property) { return ((this.provider !== 'local' && !this.updated) || pro...
{ "content_hash": "ebc9f839e9a77861a77c5aa0ed362433", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 78, "avg_line_length": 19.190751445086704, "alnum_prop": 0.6469879518072289, "repo_name": "ryanspillsbury90/HaleMeditates", "id": "676e4180c9ecda9aac56fc676ad286c789ee7cdf",...
<div class="row"> <form id="loginForm" action="login" class="col-md-8 col-md-offset-2" onsubmit="checkIframe(); return false"> <div> <p id="loginMessage" /> </div> <div class="form-group"> <input id="username" type="text" class="form-control input-lg" placeholder="Email"> </div> <di...
{ "content_hash": "519511d0bcf10561de094227a6c95118", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 110, "avg_line_length": 30.473684210526315, "alnum_prop": 0.6217616580310881, "repo_name": "Wirwing/play-chat", "id": "5d16badbc8af8cab3ad8b2b95d8861f82b77f901", "size": "5...
var slideshow; var slides; var lightboxTarget; var notes; var slideIndicator; var timerStart; var bookmarks = []; $.ready().then(function(){ var FoveaSlideshow = document.registerElement('fovea-slideshow'); slideshow = $('fovea-slideshow'); slides = $$('slide'); notes = $$('notes'); slideshow.setAttribute(...
{ "content_hash": "b1eeb25d3dbe5b1757f58d85331d262d", "timestamp": "", "source": "github", "line_count": 422, "max_line_length": 115, "avg_line_length": 25.98341232227488, "alnum_prop": 0.6142270861833106, "repo_name": "YarmoM/FoveaJS", "id": "1f4215d6c898ce5ed768f80040423bba3e5d34fa", "size": "1096...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "96ec49888da01de703211409bd9c090b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "a67504c78666d7673e4ed97bd989b1839713d368", "size": "194...
<?php $GLOBALS['_scb_data'] = array( 60, __FILE__, array( 'scbUtil', 'scbOptions', 'scbForms', 'scbTable', 'scbWidget', 'scbAdminPage', 'scbBoxesPage', 'scbPostMetabox', 'scbCron', 'scbHooks', ) ); if ( ! class_exists( 'scbLoad4' ) ) : /** * The main idea behind this class is to load the most recent versio...
{ "content_hash": "982b677dd0c66007e9d3e02f76a9d507", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 102, "avg_line_length": 21.666666666666668, "alnum_prop": 0.592967032967033, "repo_name": "DietBet/Dietbet", "id": "df20f54231335ecff7de6536741f56b50d6a1c4d", "size": "227...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Lecidea xanthococca subsp. xanthococca Sommerf. ### Remarks null
{ "content_hash": "928a1dc08f6102be8176f5e5e32be980", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 47, "avg_line_length": 11.692307692307692, "alnum_prop": 0.7302631578947368, "repo_name": "mdoering/backbone", "id": "3649a28a01201e1f8c6752af356b644562aefe03", "size": "22...
<sup><sup>*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*</sup></sup> #### 0.16.22 - 2019-03-24 - [4 commits](https://github.com/mockito/shipkit-example/compare/v0.16.21...v0.16.22) by [Marcin Stachniuk](https://github.com/mstachniuk) (2), [shipkit.org automated bot](https://github.com/...
{ "content_hash": "9fa1541362a6cc01ab855f013dd8390f", "timestamp": "", "source": "github", "line_count": 390, "max_line_length": 405, "avg_line_length": 82.13846153846154, "alnum_prop": 0.7206717862271337, "repo_name": "mockito/shipkit-example", "id": "edd384ed1ff45c9e5243b25fa40d30a126061ec8", "siz...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CapsLockIndicatorV3 { public partial class PaddingInputDialog : DarkModeForm { private Color controlBackColo...
{ "content_hash": "4d92a448e20309a16f38cc584ff1c2fc", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 140, "avg_line_length": 36.1, "alnum_prop": 0.6343490304709142, "repo_name": "jonaskohl/CapsLockIndicator", "id": "af85517430b76e2f23083af76a78efade890ac9b", "size": "3612...
/** * Created by alammar on 12/8/16. */ var shallowNeuralNetworkGrapher = function (inputNodeCount, outputNodeCount, svgElement, analyticsCategory) { this.inputNodeCount = inputNodeCount; this.outputNodeCount = outputNodeCount; this.svgElement = svgElement; this.graphWidth = 350; this.analyticsCat...
{ "content_hash": "d762d5fcfbbb72bd54011bbfd22de356", "timestamp": "", "source": "github", "line_count": 667, "max_line_length": 135, "avg_line_length": 32.47976011994003, "alnum_prop": 0.5535912112259971, "repo_name": "gautham20/gautham20.github.io", "id": "fbb5312239b2e4eaf7837d69cd10210c4d712bd6", ...
.storefront-single-product-pagination a { display: block; width: 48%; } .storefront-single-product-pagination a[rel="prev"] { float: left; } .storefront-single-product-pagination a[rel="next"] { float: right; } @media screen and (min-width: 768px) { .storefront-single-product-pagination { z-index...
{ "content_hash": "e8a1ba9ae2e33c0dacac8eda85006f31", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 68, "avg_line_length": 35.625, "alnum_prop": 0.5583959899749373, "repo_name": "williampansky/pants", "id": "8eb66621aababeabba16ba468b622404a4e557ca", "size": "3990", "b...
'use strict'; var minilog = require('minilog') , log = minilog('traverson'); /* * This transform is meant to be run at the very end of a get/post/put/patch/ * delete call. It just extracts the last response from the step and calls * t.callback with it. */ module.exports = function extractDoc(t) { log.debug('w...
{ "content_hash": "038bf17fc6252a5701be0caefb9aafae", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 79, "avg_line_length": 31.571428571428573, "alnum_prop": 0.6990950226244343, "repo_name": "traverson/traverson", "id": "1a8345ff39338d4373d42de93cec1da73e8e0d45", "size": "...
#ifndef __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__ #define __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__ #include <string> #include "messages.hh" #include "sc_report.hh" // for sc_severity namespace sc_core { typedef unsigned sc_actions; enum { SC_UNSPECIFIED = 0x0000, SC_DO_NOTHING = 0x0001, SC_THROW = 0...
{ "content_hash": "2f96bfc7d64375a7189ad7f20c1bad20", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 79, "avg_line_length": 34.33064516129032, "alnum_prop": 0.6408268733850129, "repo_name": "TUD-OS/gem5-dtu", "id": "a3bf314bbe940f60fdd5929d89051f8ee3c0e006", "size": "5804...
def welcome string if string.include? "CA" p "Welcome to California" else p "You should move to California" end end
{ "content_hash": "4dfbf0832e3457880db35020a3112294", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 35, "avg_line_length": 17.571428571428573, "alnum_prop": 0.7235772357723578, "repo_name": "ckLee8/phase-0", "id": "33b64dc381254b4523c9d2ba10bbb1ba48422226", "size": "218", ...
#import "TiProxy.h" #import "TiAnimation.h" #import "TiGradient.h" #import "LayoutConstraint.h" //By declaring a scrollView protocol, TiUITextWidget can access @class TiUIView; /** The protocol for scrolling. */ @protocol TiScrolling /** Tells the scroll view that keyboard did show. @param keyboardTop The keyb...
{ "content_hash": "f4fdb15cb5d88bb57ada2d6821ebe8c4", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 169, "avg_line_length": 27.612244897959183, "alnum_prop": 0.7806356245380636, "repo_name": "vanbungkring/ios-NoticeView", "id": "0704dd980dc462391bb6f2c0e3d6bbcae6a2dac4", ...
I am a software developer currently based in London, UK. Most of my early work experience was centered around server-side development, however the projects I have been involved in since have dealt with everything from UI design to communication protocol implementation. While I would still consider backend development a...
{ "content_hash": "92096200cd1a6535e776253b0edaca6e", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 402, "avg_line_length": 55.51282051282051, "alnum_prop": 0.7881447267128561, "repo_name": "mkcz/mkcz.net", "id": "4fff85b34186eb94e42fb8ad02a274f88d96145d", "size": "6590"...
#ifdef USE_TI_MEDIA #import "TiMediaAudioPlayerProxy.h" #import "TiUtils.h" #import "TiMediaAudioSession.h" #include <AudioToolbox/AudioToolbox.h> @implementation TiMediaAudioPlayerProxy #pragma mark Internal -(void)_initWithProperties:(NSDictionary *)properties { url = [[TiUtils toURL:[properties objectForKey:@"...
{ "content_hash": "f4748f3f8f2b4a47bf397eb08022550a", "timestamp": "", "source": "github", "line_count": 336, "max_line_length": 143, "avg_line_length": 23.270833333333332, "alnum_prop": 0.6958690369612482, "repo_name": "acktie/Tabbed-QR-Example", "id": "686ae013e5c4f0a936b43981d2e27e6cc0aa6e42", "s...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "3c47ad6d7449eca70724b6ed0e70e6e5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "40f9c78f38a8619dc4b7a59936aefa023dfc9748", "size": "21...
package notebook.kernel import xml.NodeSeq /** * Result of evaluating something in the REPL. * * The difference between Incomplete and Failure is Incomplete means * the expression failed to compile whereas Failure means an exception * was thrown during executing the code. */ sealed abstract class EvaluationRe...
{ "content_hash": "da5cd3c26d3a50d40839b6edd38ac29c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 70, "avg_line_length": 27.72222222222222, "alnum_prop": 0.8096192384769539, "repo_name": "bigdatagenomics/mango-notebook", "id": "f85a77324b3879d77a178d5c05ecdc3f4ae50a99", ...
.jchartfx { font-family: Arial, sans-serif; font-weight: normal; font-size: 8pt; line-height: normal; } .jchartfxToolTip { padding: 3px; font-size: 8pt; font-family: Arial, sans-serif; font-weight: bold; -moz-border-radius: 3px; border-radius: 3px; pointer-events: none; ...
{ "content_hash": "eec09c1407f5d5498fc0521c0830f396", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 49, "avg_line_length": 16.098859315589355, "alnum_prop": 0.6414737836561172, "repo_name": "jenidarnold/racquetball", "id": "303db15725b3edc10e747d7db97451c2b235e073", "siz...
<?php $year = date('Y'); $month = date('m'); echo json_encode(array( array( 'id' => 1, 'title' => "Conservatory Exhibit: The garden of india a country and culture revealed", // Event Title 'start' => "2014-04-04", // Event Start Date 'url' => "event-detail.html" // Even...
{ "content_hash": "a5cb9747cf07d6fba5ddb5ea7e70f8df", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 109, "avg_line_length": 25.78846153846154, "alnum_prop": 0.48695003728560776, "repo_name": "nlkhagva/educenter.mn", "id": "2e18fdeb44eaec2766b950070785ff5f5fbc603e", "size"...
module.exports = function ascii_lowercase () { // eslint-disable-line camelcase // original by: Yury Shapkarin (https://shapkarin.me) // example 1: ascii_lowercase() // returns 1: 'abcdefghijklmnopqrstuvwxyz' const length = 26 let i = 65 + length + 6 return [...Array(length)] .reduce(function (a...
{ "content_hash": "acaae393142e1e7dd19c69d028125394", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 79, "avg_line_length": 30.692307692307693, "alnum_prop": 0.6516290726817042, "repo_name": "kvz/phpjs", "id": "a36b60226a6529a65f7a20da240227af599154e1", "size": "399", "b...
require "test_helper" class ShowcaseEchoRestServiceTest < PresenterTest def presenter service_presenter(:showcase, "Echo").rest end def test_name assert_equal "Echo", presenter.name end def test_methods refute_empty presenter.methods presenter.methods.each { |ref| assert_kind_of Gapic::Pres...
{ "content_hash": "cd5f3624e1a1c12399183c54f0b4db16", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 105, "avg_line_length": 30.410714285714285, "alnum_prop": 0.7369348209042865, "repo_name": "googleapis/gapic-generator-ruby", "id": "2e2d06874e5ca754ca4e404b65e1000af576bb18"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <TITLE> Uses of Class org.apache.poi.poifs.storage.RawDataBlock (POI API Documentation) </TITLE> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" ...
{ "content_hash": "d310ab72f8f7b613ab4fd96ce502cda5", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 335, "avg_line_length": 48.67942583732057, "alnum_prop": 0.6226656182425792, "repo_name": "xiwan/xlsEditor", "id": "e6e94b51a89bd6874c0d449d9ab54263868e9ca5", "size": "101...