text
stringlengths
2
1.04M
meta
dict
class Draft < ActiveRecord::Base attr_accessible :content end
{ "content_hash": "e3cb38be2da9c9e4389be3c32d110a97", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 32, "avg_line_length": 21.333333333333332, "alnum_prop": 0.78125, "repo_name": "jay16/solife", "id": "8302ece4ba95b4395c49d3453fb1e1b320a95295", "size": "64", "binary": fa...
require 'spec_helper' include FixtureHelpers describe Puppet::Type.type(:eos_varp_interface).provider(:eos) do # Puppet RAL memoized methods let(:resource) do resource_hash = { ensure: :present, name: 'Vlan99', shared_ip: ['1.1.1.1', '2.2.2.2'], provider: described_class.name } ...
{ "content_hash": "7a8a17d961581538a0b0c0505636bc1f", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 79, "avg_line_length": 28.61392405063291, "alnum_prop": 0.57509400575094, "repo_name": "arista-eosplus/puppet-eos", "id": "22162d14b1bb4319f7eda78e545ecb708de3c993", "size...
const dotenv = require('dotenv').config(); const five = require('johnny-five'); const mqtt = require('mqtt'); let temp_sensor; let board = new five.Board({repl: false,}); let client = mqtt.connect(process.env.MQTT_SERVER); const pub_topic = process.env.UNIQ_TOPIC + "/temperature/ic"; const meta_topic = process.env....
{ "content_hash": "e8370e0f1d8b691c6591bb696f6f5743", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 74, "avg_line_length": 27.513513513513512, "alnum_prop": 0.5962671905697446, "repo_name": "ajfisher/embodied-bots", "id": "83edd8b19da3755c21a53009012a30dae6688bc3", "size"...
var TextGenerator = (function(){ /** @memberof Nehan @class TextGenerator @classdesc inline level generator, output inline level block. @constructor @extends {Nehan.LayoutGenerator} @param style {Nehan.StyleContext} @param stream {Nehan.TokenStream} @param child_generator {Neha...
{ "content_hash": "e767fd5b113219b49af9e8c74fa4e348", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 174, "avg_line_length": 37.584848484848486, "alnum_prop": 0.6616141256147706, "repo_name": "david43/nehan.js", "id": "a0b79fdc26ec53bbe7fa2951343e04767b397b25", "size": "1...
* ~~Remove Job class - it's useless (just stick with `Task`)~~ * As a conciquence, rename `runnable` to `task` * New server/client json protocol * Make internal data structures that we pass between layers more json-friendly (e.g., look in ```__str__``` of ```class Service``` in ```runnable.py```) * SSL conne...
{ "content_hash": "6f55989a6550c5854e22cc9d85ec5175", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 81, "avg_line_length": 27.607843137254903, "alnum_prop": 0.5284090909090909, "repo_name": "unix-beard/gloria", "id": "f5f8abbe47414a1e7c4f764c442721eb0fc39b14", "size": "14...
#include "config.h" #include "web/ValidationMessageClientImpl.h" #include "core/dom/Element.h" #include "core/frame/FrameView.h" #include "core/layout/LayoutObject.h" #include "platform/HostWindow.h" #include "public/platform/WebRect.h" #include "public/platform/WebString.h" #include "public/web/WebTextDirection.h" ...
{ "content_hash": "a5af997928966366de145e6eba2b7b7e", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 182, "avg_line_length": 35.80451127819549, "alnum_prop": 0.753884922301554, "repo_name": "Bysmyyr/chromium-crosswalk", "id": "ae87939ae4b0c1fc6aeff156bc9d4c3942292f04", "s...
package database import ( "time" "github.com/drone/drone/shared/model" "github.com/russross/meddler" ) type Userstore struct { meddler.DB } func NewUserstore(db meddler.DB) *Userstore { return &Userstore{db} } // GetUser retrieves a specific user from the // datastore for the given ID. func (db *Userstore) Ge...
{ "content_hash": "2ccf538747ed532d218ddf3054dd7a81", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 78, "avg_line_length": 23.914285714285715, "alnum_prop": 0.7128634010354441, "repo_name": "10fish/drone", "id": "25de08026020e36baee7b93413af8c6bd7bcfe60", "size": "2511",...
(function(require, module) { "use strict"; var AsyncExecutor = require('msl-core/util/AsyncExecutor.js'); var FilterStreamFactory = require('msl-core/msg/FilterStreamFactory.js'); var InputStream = require('msl-core/io/InputStream.js'); var MslConstants = require('msl-core/MslConstants.js'); ...
{ "content_hash": "2090f60a1827931a1a88f068d80f5b31", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 130, "avg_line_length": 36.93023255813954, "alnum_prop": 0.5264483627204031, "repo_name": "Netflix/msl", "id": "3a1ca563b67f0af79e1597410eb8853a66ef9eac", "size": "6979", ...
package org.ice4j.socket; import java.io.*; import java.net.*; import java.nio.channels.*; import org.ice4j.stack.*; /** * Implements a <tt>DatagramSocket</tt> which delegates its calls to a specific * <tt>DatagramSocket</tt>. * * @author Lyubomir Marinov */ public class DelegatingDatagramSocket extends Da...
{ "content_hash": "c7c03b7af37d327d66cad1fba2df7b37", "timestamp": "", "source": "github", "line_count": 933, "max_line_length": 84, "avg_line_length": 35.161843515541264, "alnum_prop": 0.6168688654514418, "repo_name": "jitsi/ice4j", "id": "9f5c70fc62e9c86f3a4096b84ccf50494dc3775a", "size": "33482",...
.bigger{ font-size: 200%; } tr.deprecated { background-color: green; } .clear{clear:both;} .left{ float:left; } p.code { font-family: "Courier New" Courier monospace; background-color: gainsboro; width: 100%; padding: 1em; } .footer { background-color: #2C3E50; color: #bac1c8; font-si...
{ "content_hash": "522c772c174c6caf7027a72235411542", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 48, "avg_line_length": 15.66326530612245, "alnum_prop": 0.6306188925081433, "repo_name": "PhenoImageShare/PhenoImageShare", "id": "8c852f56b1de7792151efdf5da69fd6b41e9275d", ...
import express from 'express'; import bodyParser from 'body-parser'; import { graphql } from 'graphql'; import schema from './schema'; const app = express(); let PORT = 3000; app.use(bodyParser.text({ type: 'application/graphql' })); app.post('/graphql', (req, res) => { console.log('graphql called', JSON.stringify(...
{ "content_hash": "692690ee870de19f127f805b8ac6bd6c", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 61, "avg_line_length": 24.85, "alnum_prop": 0.6740442655935613, "repo_name": "rgbycch/rgbycch-graphql", "id": "7fb2a73a7e7e2c84fbaaf7229e3d18d472274929", "size": "497", "...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:gravity="center_vertical" android:padding="5dp"> <ImageView ...
{ "content_hash": "c72d2b27e241eefd9080924eef74ca41", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 62, "avg_line_length": 33.08, "alnum_prop": 0.6577992744860943, "repo_name": "chenyuh/SmartSetting", "id": "388e39c0c89aaee112b0c0485c78b7678104701f", "size": "831", "bin...
use std; use ::math::aabbox::{ AABBox3, ExpandableToOther, }; use ::math::triangle::{ Triangle, }; use ::math::ray::Ray3; use ::math::vector::{ Vec3, Axis, }; use ::render::vertex::Vertex; pub struct KDNode { pub area: AABBox3, pub left: Option<Box<KDNode>>, pub right: Option<B...
{ "content_hash": "97597ea34f0330baab21bb99b78d4779", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 152, "avg_line_length": 33.03174603174603, "alnum_prop": 0.4877462758289284, "repo_name": "Gearoenix/Dust", "id": "f3325018f62aba7224a8dc5aa65881b0897c5850", "size": "4162...
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %> <%@ taglib uri="http://www.springf...
{ "content_hash": "1c620cfc178f512306864efb0c7cbb45", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 131, "avg_line_length": 36.79761904761905, "alnum_prop": 0.5645422193464898, "repo_name": "josephgvariam/jems", "id": "49603b408aa41badbc6922a16dc25738d7892bdf", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/basicDemo/basicDemo.iml" filepath="$PROJECT_DIR$/basicDemo/basicDemo.iml" /> <module fileurl="file://$PROJECT_DIR$/beginningSpring/beginningSpring.iml" f...
{ "content_hash": "32852193d8bf7659ab9739588557c4a5", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 144, "avg_line_length": 60.81818181818182, "alnum_prop": 0.7144992526158446, "repo_name": "liupeng3425/learnJavaEE", "id": "f1e790be4ea858f159b97d8b0d529177366f67dd", "size...
/** * Created by zhengHu on 16-10-8. * 单条信息展示组件 */ import React from 'react'; import SettlementZiTiForm from '../../components/settlement/SettlementZiTiForm'; import SettlementCardNoForm from '../../components/settlement/SettlementCardNoForm'; class ShadeForm extends React.Component { constructor(props) { supe...
{ "content_hash": "98dc89450d905e391bd3258f487cae20", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 154, "avg_line_length": 29.863636363636363, "alnum_prop": 0.6598173515981736, "repo_name": "HuZai/react_settlement", "id": "ce51a975791e1692d9bee82f8e06b7f841825d41", "size...
package org.kuali.kra.award; import org.apache.commons.lang.StringUtils; import org.kuali.kra.award.document.AwardDocument; import org.kuali.kra.award.home.Award; import org.kuali.kra.award.home.ValidAwardBasisPayment; import org.kuali.kra.award.home.ValidBasisMethodPayment; import org.kuali.kra.infrastructure.Consta...
{ "content_hash": "5a5ba04280c70aeea68189fe9734c4c6", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 222, "avg_line_length": 47.25, "alnum_prop": 0.6675485008818343, "repo_name": "vivantech/kc_fixes", "id": "d83cf5b2333999a477639c5d40428f4e8a5598a4", "size": "7427", "bi...
<resources> <string name="app_name">NetWorkTest</string> <string name="send_request">Send Request</string> </resources>
{ "content_hash": "9c692ad8140c3cfa741248ecc32d5445", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 53, "avg_line_length": 32, "alnum_prop": 0.703125, "repo_name": "songyang2088/A-week-to-develop-android-app-plan", "id": "57ae217049b1cfefe14d1ef6d51a5170a23a9024", "size": ...
from nose.tools import eq_ # package imports from openpyxl.shared.password_hasher import hash_password from openpyxl.worksheet import SheetProtection def test_hasher(): eq_('CBEB', hash_password('test')) def test_sheet_protection(): protection = SheetProtection() protection.password = 'test' eq_('C...
{ "content_hash": "d9045a70c7c02682707e6c2759aeaedd", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 57, "avg_line_length": 23.133333333333333, "alnum_prop": 0.7348703170028819, "repo_name": "chronossc/openpyxl", "id": "fd2fddf564085a8c2a98457fb2e20638cd06401a", "size": "1...
#ifndef AVCODEC_AVCODEC_H #define AVCODEC_AVCODEC_H /** * @file * @ingroup libavc * Libavcodec external API header */ #include <errno.h> #include "libavutil/samplefmt.h" #include "libavutil/attributes.h" #include "libavutil/avutil.h" #include "libavutil/buffer.h" #include "libavutil/cpu.h" #include "libavutil/c...
{ "content_hash": "7cd0e33f1d64cb9d07635d848c45d51e", "timestamp": "", "source": "github", "line_count": 5385, "max_line_length": 155, "avg_line_length": 32.76285979572888, "alnum_prop": 0.6561203437096153, "repo_name": "hzdetu/panoplayer_ios_static", "id": "3c83c012f56bd332f0bce464f5ca0de52137a651", ...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BLTools { /// <summary> /// Wait for a condition to be met or timeout /// </summary> public class TConditionAwaiter : AConditionAwaiter { protected Func<bool> ...
{ "content_hash": "e3231d376dd15022fffa8028d44b4961", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 107, "avg_line_length": 36.52205882352941, "alnum_prop": 0.585262734044695, "repo_name": "bollylu/BLTools.dns.20", "id": "dbeba92a30b54beaeeb0d24b4858b2b62090cea1", "size"...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.network.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.azure.c...
{ "content_hash": "f6a7ea9840d061dd6ce19f4a85761d4d", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 105, "avg_line_length": 30.28855721393035, "alnum_prop": 0.6596583442838371, "repo_name": "selvasingh/azure-sdk-for-java", "id": "fe4a88ac5675f50dc3cf7a282d6dab27c56c3272", ...
<!DOCTYPE html> <html> <head> <title>Filter</title> <script src="../build/react.js"></script> <script src="../build/react-dom.js"></script> <script src="../build/browser.min.js"></script> </head> <body> <div id="ex"></div> <script type="text/babel"> var SearchBar=React.createClass({ hanlderList...
{ "content_hash": "f632fa47ef3a3b7f02d229174392e900", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 185, "avg_line_length": 30.235849056603772, "alnum_prop": 0.6177847113884556, "repo_name": "toyluck/ReactDemo", "id": "5eb76a163181a371bfdb1e751706de7de1c275bd", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <installed facet="java" version="1.7"/> <installed facet="jst.utility" version="1.0"/> <installed facet="jpt.jpa" version="2.0"/> </faceted-project>
{ "content_hash": "6501e6ff75118c99d12e235131c4d20f", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 48, "avg_line_length": 36.333333333333336, "alnum_prop": 0.6467889908256881, "repo_name": "Laesod/binary-storage", "id": "39a201fa1e6b7cd02cb41dfc036fc369f355c1e8", "size": ...
package vtk.web.service; import java.util.Optional; import javax.servlet.http.HttpServletRequest; import vtk.repository.Resource; import vtk.security.Principal; /** * An Assertion states a fact about something. The only thing assertions share, * are the ability to check if there is a known conflict between thi...
{ "content_hash": "f905e0adbcaacfbdb3beeb1f11b87827", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 95, "avg_line_length": 33.720588235294116, "alnum_prop": 0.7078063672045355, "repo_name": "vtkio/vtk", "id": "19b8efd51aa8c098be859d2511fd4826ed4b9a63", "size": "3901", "...
#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include <unistd.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <sys/param.h> #include <sys/un.h> #include <sys/select.h> #include <atalk/logger.h> #include "db_param.h" #define DB_PARAM_FN "db_para...
{ "content_hash": "370426bf5c5ceb9b5f806b467e0d8e77", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 158, "avg_line_length": 31.55440414507772, "alnum_prop": 0.561247947454844, "repo_name": "Saresu/scripts", "id": "c89f8e5cec00890c2d9b4a3e8410241cc7b684a7", "size": "6267"...
<!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_45) on Mon Jun 24 22:25:09 UTC 2013 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.h...
{ "content_hash": "d1667358cc6393dd069f80eea12915a5", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 275, "avg_line_length": 44.92413793103448, "alnum_prop": 0.6129874117285846, "repo_name": "zqxjjj/NobidaBase", "id": "45ab6b3f14803928bf8546bf58becfb8612f9583", "size": "6...
FROM balenalib/photon-tx2-nx-debian:bullseye-build ENV GO_VERSION 1.16.14 RUN mkdir -p /usr/local/go \ && curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \ && echo "5e59056e36704acb25809bcdb27191f27593cb7aba4d716b523008135a1e764a go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c -...
{ "content_hash": "e53f886b53c7f90bc9d879d0a154b917", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 677, "avg_line_length": 64.09677419354838, "alnum_prop": 0.7267237040764972, "repo_name": "resin-io-library/base-images", "id": "843c283e1c1a290fbffd6a66b30eb1c3f9334624", ...
package org.sakaiproject.component.section; import java.io.Serializable; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; import org.sakaiproject.section.api.coursemanagement.User; /** * A detachabl...
{ "content_hash": "6d287b00db7e7995ad654338232c52e4", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 89, "avg_line_length": 20.76923076923077, "alnum_prop": 0.7185185185185186, "repo_name": "eemirtekin/Sakai-10.6-TR", "id": "b8a2d012a0db3b684e954dddb859b722308ef4aa", "size...
@interface WFBigCollectionViewCell () @end @implementation WFBigCollectionViewCell - (void)awakeFromNib { // Initialization code } @end
{ "content_hash": "9919f491bc1ac9e9daf074dd7461439c", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 39, "avg_line_length": 13.090909090909092, "alnum_prop": 0.7569444444444444, "repo_name": "bksshetty/iosappium-test", "id": "1bfb9d109e8b2e5445d202950f7926ed9d6029e2", "siz...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "52be174fce58e710d3b07a4e170ad39b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "19b38efc2a679bff429741346d2e26e58158a2c1", "size": "196...
package SNMP::Info::Layer2::HPVC; use strict; use Exporter; use SNMP::Info::Layer2; use SNMP::Info::LLDP; @SNMP::Info::Layer2::HPVC::ISA = qw/SNMP::Info::Layer2 SNMP::Info::LLDP Exporter/; @SNMP::Info::Layer2::HPVC::EXPORT_OK = qw//; use vars qw/$VERSION %GLOBALS %MIBS %FUNCS %MUNGE/; $VERSION = '3.34'; %MIBS ...
{ "content_hash": "b795796109ef1d3da88c986d39be8df2", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 78, "avg_line_length": 18.092391304347824, "alnum_prop": 0.64313607689997, "repo_name": "42wim/snmp-info", "id": "eeea25730a8ead5808f6a41a099354e308d02dcc", "size": "5001"...
package org.mifos.reports.business.service; import java.util.List; import org.mifos.framework.exceptions.ServiceException; import org.mifos.reports.cashconfirmationreport.BranchCashConfirmationCenterRecoveryBO; import org.mifos.reports.cashconfirmationreport.BranchCashConfirmationDisbursementBO; import org.mifos.re...
{ "content_hash": "3615f991a2d6866e89a3e37dece215c9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 120, "avg_line_length": 38.72727272727273, "alnum_prop": 0.8427230046948356, "repo_name": "vorburger/mifos-head", "id": "80d68501f8e6095de6eb2176e39bc07ed47483db", "size": ...
#ifndef CRYPTOPP_ZINFLATE_H #define CRYPTOPP_ZINFLATE_H #include "cryptlib.h" #include "secblock.h" #include "filters.h" #include "stdcpp.h" NAMESPACE_BEGIN(CryptoPP) //! \class LowFirstBitReader //! \since Crypto++ 1.0 class LowFirstBitReader { public: LowFirstBitReader(BufferedTransformation &store...
{ "content_hash": "f54e4d114e69f3291b216c108660e88e", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 144, "avg_line_length": 33.559006211180126, "alnum_prop": 0.7279289283731261, "repo_name": "OpenNetworking/gcoin-community", "id": "0767d4f95f65d418a602c5c7300914d837f3c7f2"...
I have to write the readme This code uses only the N64 side of the GameCube to N64 Controller adapter There's a lot of debug stuff in this code, but it's mostly functional, And a lot of uncommented code, but I think it's kinda easy to tell what's going on Check lines 175 through 178 That's where you set what the ...
{ "content_hash": "740703b00d84f02cdf0c9f3dc1c47e2b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 74, "avg_line_length": 25.923076923076923, "alnum_prop": 0.7685459940652819, "repo_name": "WhatAboutGaming/Twitch-Plays-Stuff", "id": "0e872136850cb976284342968df4d3e1f640735...
<?xml version="1.0" encoding="utf-8"?> <Weavers VerifyAssembly="true" VerifyIgnoreCodes="0x80131869,0x801318F3,0x80131040" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd"> <MethodTimer /> <Catel /> <LoadAssembliesOnStartup /> <ModuleInit /> </Weavers>
{ "content_hash": "ff63d22bd0064a6298f43e4004c07b8b", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 186, "avg_line_length": 44.857142857142854, "alnum_prop": 0.7484076433121019, "repo_name": "WildGums/LogViewer", "id": "4c6e8f83ef526d919d1f570fba31f1821f857029", "size": "3...
git_org=${1} git_user=${2} git_email=${3} tf_modules_repo=${4} cluster_name=${5} cluster_project_id=${6} env=${7} index=${8} sleep_time=20 sleep_index=$((${index}+1)) sleep_total=$((${sleep_time}*${sleep_index})) sleep $sleep_total random=$(echo $RANDOM | md5sum | head -c 20; echo) git clone -b main https://${git_user...
{ "content_hash": "77b8bf6292acc61d4755c0c8e433958f", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 131, "avg_line_length": 32.470588235294116, "alnum_prop": 0.677536231884058, "repo_name": "GoogleCloudPlatform/software-delivery-blueprint", "id": "421380bcf1f9363ed506b9e10b...
import csv def read_csv_file(csv_file_name): f = open(csv_file_name, 'r') csv_file = csv.reader(f) csv_data = [] for row in csv_file: csv_data.append(row) f.close() return csv_data
{ "content_hash": "f7e8c0500fe2994c0ed4e1fa100bcc34", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 33, "avg_line_length": 18.09090909090909, "alnum_prop": 0.628140703517588, "repo_name": "InnovateUKGitHub/innovation-funding-service", "id": "3424139628aa364f9f6d5963032d2f07...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="3;url=./"> <title>404</title> <style type="text/css"> body { background-image: url(../static/IMG/404.jpg); background-repeat: no-repeat; background-size: cover; } ...
{ "content_hash": "8bdeec13d74409290673e0bc03c0acee", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 57, "avg_line_length": 21.352941176470587, "alnum_prop": 0.5371900826446281, "repo_name": "sysuzjz/IBM-BigData-course-mainpage", "id": "dfbdf6bcb187a06320520ae720ba20f1db3f9b...
package org.webrtc.kite.apprtc.tests; import org.webrtc.kite.apprtc.checks.BitrateCheck; import org.webrtc.kite.apprtc.checks.PeerConnectionCheck; import org.webrtc.kite.apprtc.checks.RemoteVideoDisplayCheck; import org.webrtc.kite.apprtc.steps.JoinRoomStep; import org.webrtc.kite.stats.GetStatsStep; import org.webrt...
{ "content_hash": "e0c13d3ebf10a4221bdb30f848b5fbd2", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 86, "avg_line_length": 32.372093023255815, "alnum_prop": 0.75, "repo_name": "webrtc/KITE", "id": "c05f0101d2acd0547b8eb3df859dd3789914ab0d", "size": "1987", "binary": fal...
<!DOCTYPE html> <html class="writer-html5" lang="en" > <head> <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>numberlistp &mdash; Logtalk APIs v3.61.0-b01 documentation</t...
{ "content_hash": "265dcb05648812995cfebd9254b2ec36", "timestamp": "", "source": "github", "line_count": 749, "max_line_length": 335, "avg_line_length": 70.03738317757009, "alnum_prop": 0.6959662968470014, "repo_name": "LogtalkDotOrg/logtalk3", "id": "2486f7eee9581485bf9701ed7bd1cecc96697cfa", "size...
package compute // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unl...
{ "content_hash": "28d0c877e7a7bf4a14030b92dd591e3a", "timestamp": "", "source": "github", "line_count": 1822, "max_line_length": 255, "avg_line_length": 43.102085620197585, "alnum_prop": 0.778790811388988, "repo_name": "lomik/graphite-clickhouse", "id": "e6eb8334043e76269426ff4572c0aa582d0bb979", "...
static const char *phTextView = "placeHolderTextView"; @implementation UITextView (PlaceHolder) - (UITextView *)placeHolderTextView { return objc_getAssociatedObject(self, phTextView); } - (void)setPlaceHolderTextView:(UITextView *)placeHolderTextView { objc_setAssociatedObject(self, phTextView, placeHolderText...
{ "content_hash": "adf1c734028739735a58f4a14a941d96", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 103, "avg_line_length": 36.84615384615385, "alnum_prop": 0.7077244258872651, "repo_name": "lihj/Gift", "id": "5880cee0bd20aad63060555fe7ce40e8fc846f88", "size": "1627", "...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="la" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About VictoriousCoin</source> <translation type="unfinished"/> </message> <message> <location...
{ "content_hash": "e31ee38a0a5eae7fb9b9b7de5daeae05", "timestamp": "", "source": "github", "line_count": 3285, "max_line_length": 394, "avg_line_length": 35.8986301369863, "alnum_prop": 0.6110559922664021, "repo_name": "VictoriousCoin/Victorious-Coin", "id": "f1f5c25dc42a6b5aecb6c688436de9bfd0ae8156",...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Plus Parser (+a)</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../index.html" ...
{ "content_hash": "af014ac158f16d4f549a8e04aee252b0", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 901, "avg_line_length": 62.04390243902439, "alnum_prop": 0.6056293733784103, "repo_name": "arangodb/arangodb", "id": "9967944f9a68c6963101213ca7d8005a18d2ca1b", "size": "1...
<!DOCTYPE html> <html> <head> <title>Oscilloscope</title> <style> body { margin: 0; background-color: #1a1a1a; color: #dddddd; text-align: center; } canvas { display: block; } button { margin-top: 100px; padding: 1em 2em; font-size: 1.5em; } ...
{ "content_hash": "749ea78e3e6397c81d75ecd6546c1b7d", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 96, "avg_line_length": 22.07894736842105, "alnum_prop": 0.5887961859356377, "repo_name": "mathiasvr/audio-oscilloscope", "id": "5c37d547b1bea811dcc6a94e3c86d172246a3eca", "...
const webpack = require('webpack'); const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); module.exports = () => { return { entry: { 'create-hint': './src/index' }, mode: 'production', module: { rules: [ { test: /\.ts$/...
{ "content_hash": "c5c17c4e44693a21987854aa14becc5f", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 123, "avg_line_length": 33.717948717948715, "alnum_prop": 0.47300380228136885, "repo_name": "sonarwhal/sonar", "id": "eed0eb9af28987df5e7ccee29a934cfc097f272a", "size": "13...
import { FocusableOption, FocusKeyManager } from '@angular/cdk/a11y'; import { SelectionModel } from '@angular/cdk/collections'; import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, Renderer2 } from '@angular/core'; import { CanDisable, CanDisableRipple, HasTabIndex, Ma...
{ "content_hash": "9b308a9dc65a5cab58d59d93c1423eaa", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 201, "avg_line_length": 45.47422680412371, "alnum_prop": 0.7104964860575833, "repo_name": "farazaftab/sjhschool", "id": "37e549a30d8a455bf192653c7db6a0026f2980d8", "size": ...
package org.scalafmt class ScalafmtConfigTest extends org.scalatest.FunSuite { test("project.matcher") { val config = Scalafmt .parseHoconConfig( """ |project.excludeFilters = [ | "scalafmt-benchmarks/src/resources" | "/sbt-test/" | "bin/issue" ...
{ "content_hash": "d7de4379428b0c9ab1c418990c87c8ff", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 23.952380952380953, "alnum_prop": 0.588469184890656, "repo_name": "olafurpg/scalafmt", "id": "5c9e5ff66f0056844c1ad3d164543399612297cf", "size": "503...
package nl.knaw.dans.common.ldap.management; import java.io.IOException; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import javax.naming.Context; import javax.naming.NameNotFoundException; import javax.naming.NamingException; import javax.naming.directory.Attribute; import javax.na...
{ "content_hash": "ae06ac322c35135c8c52dff745ef4fc8", "timestamp": "", "source": "github", "line_count": 441, "max_line_length": 95, "avg_line_length": 29.616780045351472, "alnum_prop": 0.5792052675905367, "repo_name": "DANS-KNAW/dccd-legacy-libs", "id": "d1ec45b6c6fa42f192e6242c8fa05b4d36eebe80", "...
// // TPPublishCommentItem.m // TP // // Created by moxin on 2015-06-11 19:56:48 +0800. // Copyright (c) 2015年 VizLab. All rights reserved. // #import "TPPublishCommentItem.h" @interface TPPublishCommentItem() @end @implementation TPPublishCommentItem - (void)autoKVCBinding:(NSDictionary *)dictionary { ...
{ "content_hash": "3a6a21dcc6a53f9f1a094923175f37f3", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 52, "avg_line_length": 13.75, "alnum_prop": 0.6857142857142857, "repo_name": "CuiTrip/CuiTrip-IOS", "id": "378db2e102c12f3eec394a424845ff5264725bca", "size": "387", "bina...
module Enumerable def parallel_map queue = Queue.new self.map do |item| Thread.new do # NOTE: You can not do anything that is not thread safe in this block... queue << yield(item) end end.each(&:join) [].tap do |results| results << queue.pop until queue.empty? e...
{ "content_hash": "683a33c2270bff2a29801c568192f24b", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 80, "avg_line_length": 23.02173913043478, "alnum_prop": 0.5977337110481586, "repo_name": "Tapjoy/slugforge", "id": "2a83865adf793fac51da99b923246ec5f3c36e84", "size": "1059...
package rv.ui.screens; import java.awt.Color; import java.awt.geom.Rectangle2D; import rv.comm.rcssserver.GameState; import rv.world.WorldModel; /** * A 2D overlay that displays text on the screen * * @author justin */ public class TextOverlay implements GameState.GameStateChangeListener { private static final...
{ "content_hash": "78a6d378c1aeceed2022b12eaaa23495", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 84, "avg_line_length": 22.88888888888889, "alnum_prop": 0.7010517799352751, "repo_name": "magmaOffenburg/RoboViz", "id": "5059313431d63a4e269b543e2c8a682324ff0851", "size"...
Keycutter ========= Multiple rubygems accounts? Manage your keys with ease. Keycutter adds account management to rubygems, so you can manage gems for multiple accounts or organizations. Installation ------------ gem install keycutter Usage ----- Use the `gem keys` command to manage multiple API keys. Upon inst...
{ "content_hash": "2ed00ad2626393dd9bf5f7cd79981705", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 79, "avg_line_length": 21.442622950819672, "alnum_prop": 0.6934250764525994, "repo_name": "joshfrench/keycutter", "id": "580d23ebeaaba4c12004f050900aa419f7ef1828", "size": ...
#ifndef QUICKSTEP_UTILITY_LIP_FILTER_LIP_FILTER_ADAPTIVE_PROBER_HPP_ #define QUICKSTEP_UTILITY_LIP_FILTER_LIP_FILTER_ADAPTIVE_PROBER_HPP_ #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <vector> #include "catalog/CatalogTypedefs.hpp" #include "storage/StorageBlockInfo.hpp" #inc...
{ "content_hash": "f19f8f1894758d553c6c53467d6d3d55", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 101, "avg_line_length": 31.67699115044248, "alnum_prop": 0.6162871909484565, "repo_name": "tarunbansal/incubator-quickstep", "id": "e1a75d63a7b8dc6e14008143fa2c4dd708a284ab"...
/* $Id: conf.c,v 1.1 2014/03/05 21:15:11 weerd Exp $ */ /* * Copyright (c) 2004 Daniel Hartmeier * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code ...
{ "content_hash": "1357251bb403e14a62b13dfa48d69ac8", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 80, "avg_line_length": 31.554054054054053, "alnum_prop": 0.6338329764453962, "repo_name": "anavarro/undeadly", "id": "0e0cf27b2393018b9e07617cb8c04b6c60cbec3c", "size": "23...
package application import ( "github.com/actionpay/postmanq/analyser" "github.com/actionpay/postmanq/common" "github.com/actionpay/postmanq/consumer" ) // приложение, анализирующее неотправленные сообщения type Report struct { Abstract } // создает новое приложение func NewReport() common.Application { return n...
{ "content_hash": "ca5a26539cf0a54b2eb7a756749df483", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 87, "avg_line_length": 22.194444444444443, "alnum_prop": 0.7484355444305382, "repo_name": "actionpay/postmanq", "id": "9d315dba23aae54e647fcf34df26f0fe08573041", "size": "9...
package promql import ( "encoding/json" "fmt" "strconv" "strings" "github.com/pkg/errors" "github.com/prometheus/prometheus/model/labels" "github.com/prometheus/prometheus/promql/parser" "github.com/prometheus/prometheus/storage" "github.com/prometheus/prometheus/tsdb/chunkenc" ) func (Matrix) Type() parse...
{ "content_hash": "1abc373602ec9822a5d964e9b8e4768c", "timestamp": "", "source": "github", "line_count": 292, "max_line_length": 91, "avg_line_length": 23.517123287671232, "alnum_prop": 0.6707441386340469, "repo_name": "alileza/prometheus", "id": "81af1ad9da81784b4e75518084c6635658013030", "size": "...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Gard. Chron. ser. 2, 6:323. 1876 #### Original name null ### Remarks null
{ "content_hash": "83240e6cf512808553c93c847b61a9d1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.461538461538462, "alnum_prop": 0.6790123456790124, "repo_name": "mdoering/backbone", "id": "faa3f08ca9c915a5084f707184ec9113cf83e3a4", "size": "20...
/* * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.io; /** * Thrown when a serious I/O error has occurred. * * @author Xueming Shen * ...
{ "content_hash": "786e4820f061764dad7526c54ef4ffad", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 79, "avg_line_length": 17.84313725490196, "alnum_prop": 0.5989010989010989, "repo_name": "flyzsd/java-code-snippets", "id": "72900ae44558609d9a96efe90cc908c03b1021a4", "siz...
/* * File: EEPROM.h * Author: Phil * * Created on 25 April 2015, 20:30 */ #ifndef EEPROM_H #define EEPROM_H #define EEPROM_ADDR 0xAE unsigned char EEPROMReadRegister(unsigned char address); void EEPROMWriteRegister(unsigned char address, unsigned char data); #endif /* EEPROM_H */
{ "content_hash": "8f1833ba09753baaa102ae224b2cf3fd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 68, "avg_line_length": 16.38888888888889, "alnum_prop": 0.711864406779661, "repo_name": "ep1cman/FM", "id": "90ebdd9503fbdae8227888c902d27b3bca434a2a", "size": "295", "bi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSelfSignedCert = undefined; var _bluebirdLst; function _load_bluebirdLst() { return _bluebirdLst = require("bluebird-lst"); } /** @internal */ let createSelfSignedCert = exports.createSelfSignedCert = (() => { var...
{ "content_hash": "e770bf8c87c4c333282078786e9d92fc", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 269, "avg_line_length": 40.391304347826086, "alnum_prop": 0.6305166846071044, "repo_name": "erdanieee/imagePicker", "id": "1cd60a84cd239cd15163b86287ed609e43cdf096", "size"...
package mqtt import ( "bytes" "fmt" "strings" "sync" "text/template" "time" paho "github.com/eclipse/paho.mqtt.golang" "github.com/gofrs/uuid" "github.com/golang/protobuf/jsonpb" "github.com/golang/protobuf/proto" "github.com/pkg/errors" log "github.com/sirupsen/logrus" "github.com/brocaar/chirpstack-ap...
{ "content_hash": "c4d64a7f753e00e1b28dd23944bf0d99", "timestamp": "", "source": "github", "line_count": 536, "max_line_length": 110, "avg_line_length": 30.486940298507463, "alnum_prop": 0.7215592680986476, "repo_name": "brocaar/lora-gateway-bridge", "id": "e1915d329532a20e28133cad761254929652aa7b", ...
/** * DOC: atomic modeset support * * The functions here implement the state management and hardware programming * dispatch required by the atomic modeset infrastructure. * See intel_atomic_plane.c for the plane-specific atomic functionality. */ #include <drm/drmP.h> #include <drm/drm_atomic.h> #include <drm/d...
{ "content_hash": "7ffc05f717c1f82059f11b49e2eda11a", "timestamp": "", "source": "github", "line_count": 291, "max_line_length": 78, "avg_line_length": 28.3573883161512, "alnum_prop": 0.6737760542898691, "repo_name": "mikedlowis-prototypes/albase", "id": "d0b1c9afa35ef6a909e9146eeb61dd343f87e9e4", "...
> {%= description %} {%= include("install-npm", {save: true}) %} Jump to **[CLI instructions](#CLI)** ## Usage ```js var toQuotedString = require('{%= name %}'); ``` Say you want to turn this template into a javascript module: ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title...
{ "content_hash": "a0132e7e70273a9640525dbe46c18ac1", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 120, "avg_line_length": 16.571428571428573, "alnum_prop": 0.5928381962864722, "repo_name": "jonschlinkert/to-quoted-string", "id": "f2ea950bbb4fe9a9f89927be73f3d104b6973585",...
<div class="row"> <div class="col-lg-12"> <h1 class="page-header">Submeter Minicurso</h1> <?php if($success!=null): ?> <div class='alert alert-success text-center'> <button type='button' class='clos...
{ "content_hash": "b76ee5e95eefeac37215d4c8cfbf69b9", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 236, "avg_line_length": 64.94117647058823, "alnum_prop": 0.4131340579710145, "repo_name": "ccsa-ufrn/seminario-ccsa-old", "id": "edc2932a8d5c7041fa9b174e2c54e7fb46d56643", ...
struct wl_resource; namespace wl { extern const struct wp_viewport_interface kTestViewportImpl; class TestViewport : public ServerObject { public: explicit TestViewport(wl_resource* resource, wl_resource* surface); ~TestViewport() override; TestViewport(const TestViewport& rhs) = delete; TestViewport& opera...
{ "content_hash": "76bcf80dc68ba3038424f0f2c9711a23", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 69, "avg_line_length": 26.142857142857142, "alnum_prop": 0.7486338797814208, "repo_name": "ric2b/Vivaldi-browser", "id": "0cea33c68e57c0013aa5d9ca7d5d5e55dc010007", "size":...
class AddBackendToProjects < ActiveRecord::Migration def change add_column :projects, :scm_type, :string end end
{ "content_hash": "eeee18f0ec5f8f87929116d8f0dd523c", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 52, "avg_line_length": 24.2, "alnum_prop": 0.7520661157024794, "repo_name": "PatientKeeper/rixeye", "id": "885069f20977c22d7d659e9bfa4749c8eb33c69b", "size": "121", "binar...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DirectoryController.cs" company="70-53x"> // 70-53x // </copyright> // ----------------------------------------------------------------------------------------------------------...
{ "content_hash": "6303832cc5b2725bc7859da85bf5b202", "timestamp": "", "source": "github", "line_count": 336, "max_line_length": 149, "avg_line_length": 38.523809523809526, "alnum_prop": 0.5251854140914709, "repo_name": "mdmsua/70-53x", "id": "f64586d1207f3f8fb17fbffefa7ccb2394ce9379", "size": "1294...
ACCEPTED #### According to IRMNG Homonym List #### Published in null #### Original name null ### Remarks null
{ "content_hash": "3dbce0528480b2a377a5f9795ebd68bd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 18, "avg_line_length": 8.692307692307692, "alnum_prop": 0.6814159292035398, "repo_name": "mdoering/backbone", "id": "0bb9c029de9fb313b41e3de09fe6ea30b6213387", "size": "173...
var angular = require('angular'); var module = angular.module('ui.winwin'); var paneId = 0; module.directive('pane', [ function() { return { restrict: 'E', require: '^window', replace: true, transclude: true, scope: { caption: '@', active: '=?', onSelect: '&select', onDes...
{ "content_hash": "140404aa8ebcfd5cc115abbea65b8c51", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 77, "avg_line_length": 27.663366336633665, "alnum_prop": 0.5508231925554761, "repo_name": "surikaterna/winwin", "id": "240d4a29607bc032882abc7705c4b80a85ebd6d8", "size": "...
namespace { const char kArcAppPrefix[] = "arc://"; } namespace app_list { ArcAppResult::ArcAppResult(Profile* profile, const std::string& app_id, AppListControllerDelegate* controller, bool is_recommendation) : AppResult(profile, app...
{ "content_hash": "81e22997c623efca080a67ae79b007ea", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 80, "avg_line_length": 28, "alnum_prop": 0.6166294642857143, "repo_name": "was4444/chromium.src", "id": "951689b32ac2ac95dfd10407ab1200471a448daf", "size": "2431", "binar...
// these test out the execution API /** * given a sheet id & name, get the data converted to objects * @param {object} options args * @param {string} id the sheet id * @param {string} sheetName the sheetName * @return {[*]} the data */ function execGetData (options) { // maybe there are no arguments opti...
{ "content_hash": "c0bdb56ca9a9a6dbf7c6536f40aef039", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 125, "avg_line_length": 27.005555555555556, "alnum_prop": 0.5932935609956799, "repo_name": "brucemcpherson/GoingGas", "id": "c7d90665317d2ff7ef74cd910edf9778a1489ad8", "si...
ArJdbc::ConnectionMethods.module_eval do # Default connection method for MS-SQL adapter (`adapter: mssql`), # uses the (open-source) jTDS driver. # If you'd like to use the "official" MS's SQL-JDBC driver, it's preferable # to use the {#sqlserver_connection} method (set `adapter: sqlserver`). def mssql_conne...
{ "content_hash": "7bd196c32414d1204b3a044250532ac6", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 122, "avg_line_length": 43.65822784810127, "alnum_prop": 0.6688895331980285, "repo_name": "kares/activerecord-jdbc-adapter", "id": "2946f71d6e116dbc8bd750a6ad05cea9029a805e",...
/** * Created by yangm11 on 7/6/2017. */ 'use strict'; const fs = require('fs'); const path = require('path'); function listDir(dir) { let s = fs.statSync(dir); if (s.isFile()) { throw 'A directory expected'; } if (s.isDirectory()) { let arr = fs.readdirSync(dir); let res = { files: [], ...
{ "content_hash": "2df05b375dd13ba1995cf648d81061ef", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 57, "avg_line_length": 19.82051282051282, "alnum_prop": 0.5498059508408797, "repo_name": "mingzhangyang/commonUse", "id": "f892f3e0a997123677e82f6c8e98afcc2beb7d59", "size"...
package com.quillbytes.asserteasy.spec; import java.io.File; import java.net.URI; public interface RequestSpec<RequestType> { ResponseSpec get(String uri); ResponseSpec get(URI uri); ResponseSpec post(String uri); ResponseSpec post(URI uri); ResponseSpec put(String uri); ResponseSpec put(URI u...
{ "content_hash": "e274c1e5d3f634fbc64f3e0f7fd5cf1c", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 51, "avg_line_length": 29.115384615384617, "alnum_prop": 0.7199471598414795, "repo_name": "jaspercastillo/asserteasy", "id": "7ed7f64159addaf5ff6c05fba02324444dc905c7", "si...
require 'spec_helper' class PauseJob @queue = :test def self.perform(*args) end end describe ResquePauseHelper do context "when check queue status" do it "should return return false if don't have register on redis" do Resque.redis.del "pause:queue:queue1" expect(subject.paused?("queue1")).t...
{ "content_hash": "a97aa1bb6d43701162ffe9f85302a5b1", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 98, "avg_line_length": 29.9009009009009, "alnum_prop": 0.6514010244049413, "repo_name": "wandenberg/resque-pause", "id": "8ddd141253661bb293ff5abaa96ddae7fb8481cc", "size"...
<!-- partial HTML of patch panel app --> <div id="ov-sample-custom" ng-controller="OvSampleCustomCtrl"> <div class="button-panel"> <div class="my-button" ng-click="getData()"> Load Devices </div> </div> <div class="data-panel"> <div> <label>Devices: ...
{ "content_hash": "a1c33d0a615ef548ab9826888cf05960", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 91, "avg_line_length": 26.77777777777778, "alnum_prop": 0.4972337482710927, "repo_name": "wuwenbin2/onos_bgp_evpn", "id": "34204b4de3f2e852583e1fe73660d07897c2cf37", "size"...
package com.snowplowanalytics.snowplow.rdbloader package utils import scala.reflect.runtime.universe._ import scala.reflect.runtime.{universe => ru} import scala.util.control.NonFatal import cats.data._ import cats.implicits._ import org.json4s.JValue import org.json4s.jackson.{parseJson => parseJson4s} import io....
{ "content_hash": "fdce75768dc2c7146d9b51c3df822be2", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 144, "avg_line_length": 32.18781725888325, "alnum_prop": 0.6748146979971613, "repo_name": "acgray/snowplow", "id": "7eabe219b96a7a34e5d8da9ff7e79af6084aadac", "size": "704...
<!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": "38a7c52e96ff1af96153c473a0e6e4d0", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 379, "avg_line_length": 45.46153846153846, "alnum_prop": 0.6837751457040797, "repo_name": "sintefneodroid/droid", "id": "ea54d01a6c4e4f7921018af443ef31eed3e00739", "size":...
/** * Program Name: CookieSalesLN.java * Program Purpose: Track cookie sales for girl scouts. * Date Created: 1/9/2017 * Last Modified: 1/11/2017 * * @author Liam Nickell * @version 1.0.0 */ public class CookieSalesLN { public static void main(String[] args) { String[] names...
{ "content_hash": "d5150a940730ca924175d74c7abf7535", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 125, "avg_line_length": 34.54347826086956, "alnum_prop": 0.55359765051395, "repo_name": "liamnickell/ap-cs", "id": "2d24a4b0dc5e25b1217a6328cc2c5c5f680411db", "size": "476...
<?php class YdCrypt { /** * @var string */ static private $key = YII_DRESSING_HASH; /** * @param string $decrypted * @param bool $lowSecurity * @return string */ static public function encrypt($decrypted, $lowSecurity = false) { $key = self::getKey(); ...
{ "content_hash": "d397d903fd205fb9b42e15df4806cc20", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 150, "avg_line_length": 29.415584415584416, "alnum_prop": 0.5518763796909493, "repo_name": "cornernote/yii-dressing", "id": "3378fe7aca8dcd0f3059b7db1f57e01ed4f61a11", "siz...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>vst: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
{ "content_hash": "898bfcee20b35281e0ed306380f2de70", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 467, "avg_line_length": 41.98918918918919, "alnum_prop": 0.565010298661174, "repo_name": "coq-bench/coq-bench.github.io", "id": "f4fdaffd5bc8896ff2079fe7ecf1a5be2ff44eed", ...
$gitVersionExe = "C:\git_pub\ZendeskApi_v2\build\GitVersion\GitVersion.exe" cd C:\git_pub\ZendeskApi_v2\src #& $path /l console /output buildserver /updateAssemblyInfo $output = gitversion $joined = $output -join "`n" $versionInfo = $joined | ConvertFrom-Json $versionInfo | % { foreach ($property in $_.PSObject.Pro...
{ "content_hash": "e045488aa587d9dc52cb5276dd42287a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 119, "avg_line_length": 33.88235294117647, "alnum_prop": 0.7395833333333334, "repo_name": "mwarger/ZendeskApi_v2", "id": "e8c71eaca54349d0d4c9cf1caadc16525b293f7d", "size":...
//===================== Copyright (c) Valve Corporation. All Rights Reserved. ====================== using UnityEngine; using System.Collections; [RequireComponent(typeof(VRInteractable))] public class VRInteractableExample : MonoBehaviour { private TextMesh textMesh; private Vector3 oldPosition; private Quaterni...
{ "content_hash": "2a5d79b8deaa2b19d429797314be7f19", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 154, "avg_line_length": 24.915966386554622, "alnum_prop": 0.666779089376054, "repo_name": "zhutaorun/ViveUGUIModule", "id": "f7d9a26c062040400ddaf08bfcf12eb1b33828de", "si...
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: java.sql.PreparedStatement ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLE...
{ "content_hash": "ea4f9653d55e27050e4d1934e4b9487a", "timestamp": "", "source": "github", "line_count": 592, "max_line_length": 146, "avg_line_length": 37.32263513513514, "alnum_prop": 0.7001131477709889, "repo_name": "seem-sky/ph-open", "id": "f02f67f829f39d9946a7302f3cccd731d36aa9eb", "size": "22...
#include <stdlib.h> #ifndef __GST_MISTELIX_SOCKET_H__ #define __GST_MISTELIX_SOCKET_H__ int gst_mistelix_video_src_daemon_init (); int gst_mistelix_video_src_daemon_getfile (unsigned char** buffer, int* length, int* fixed); void gst_mistelix_video_src_daemon_shutdown (); #endif
{ "content_hash": "40c1da2f924a338a9315503c3493b196", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 88, "avg_line_length": 15.944444444444445, "alnum_prop": 0.7177700348432056, "repo_name": "GNOME/mistelix", "id": "61bdf09c4440dfc68b84e48878bad3e5b9285ede", "size": "1103"...
class UnorderedList: def __init__(self): self.head = None
{ "content_hash": "57d3336857a21483fcf77cbf9abea28d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 24, "avg_line_length": 23.333333333333332, "alnum_prop": 0.5857142857142857, "repo_name": "robin1885/algorithms-exercises-using-python", "id": "ea00d157abb4d8dc5c58983fd961293...
angular.module('vk-api-angular').directive('vkPoll', function () { return { restrict: 'AEC', template: '<div class="vk-widget vk-widget--poll" data-ng-attr-id="{{::id}}"></div>', scope: {}, link: function (scope, element, attrs) { scope.id = attrs.elementId || 'vk-widget-' + scope.$id; VK....
{ "content_hash": "fe25fc9e46a4579a84c1df12e128e542", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 89, "avg_line_length": 31.642857142857142, "alnum_prop": 0.5711060948081265, "repo_name": "kefir500/vk-api-angular", "id": "bdb8e61be55058506119abb9f4548b286292c4ce", "size...
layout: post date: 2016-04-09 title: "Pronovias YAMEL 2015 Sleeveless Court Train Mermaid/Trumpet" category: Pronovias tags: [Pronovias,Mermaid/Trumpet,Jewel,Court Train,Sleeveless,2015] --- ### Pronovias YAMEL Just **$329.99** ### 2015 Sleeveless Court Train Mermaid/Trumpet <table><tr><td>BRANDS</td><td>Pronovias</t...
{ "content_hash": "65a5708518a10d464ac4b3ce60231505", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 279, "avg_line_length": 84.66666666666667, "alnum_prop": 0.7236220472440945, "repo_name": "HOLEIN/HOLEIN.github.io", "id": "1e992e8a68c0a6a027c34f5d76da18c813579926", "size...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), errorHandler = require('./errors.server.controller'), Document = mongoose.model('Document'), _ = require('lodash'); /** * Create a Document */ exports.create = function(req, res) { var document = new Document(req.body); document....
{ "content_hash": "1702b3b03944e44aeda3d525af72447a", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 97, "avg_line_length": 19.39252336448598, "alnum_prop": 0.6385542168674698, "repo_name": "rajasekaran247/office", "id": "2b74ec9422c0455299864bacfc2d28248498b9a8", "size":...
=================== KairosDB Statistics =================== KairosDB writes internal metrics to the data store so you can monitor the server's performance. Because the metrics are stored in the data store you can use the UI to view the statistics. These internal metrics are written once per minute by default. You can...
{ "content_hash": "159664804aa925a1ad0e250903b33c67", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 211, "avg_line_length": 60.90625, "alnum_prop": 0.7573114417650076, "repo_name": "KCFTech/kairosdb", "id": "d0d7c890966b11f436258da3c937034e2b19bbec", "size": "1949", "bi...
package org.ambraproject.rhino.service.impl; import com.google.common.collect.ImmutableMap; import org.ambraproject.rhino.config.RuntimeConfiguration; import org.ambraproject.rhino.rest.response.ServiceResponse; import org.ambraproject.rhino.service.ConfigurationReadService; import org.ambraproject.rhino.util.GitInf...
{ "content_hash": "38619a66ea89af5a81f8571fbe939772", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 122, "avg_line_length": 31.571428571428573, "alnum_prop": 0.757396449704142, "repo_name": "PLOS/rhino", "id": "4772db7ba17322a1825f18876ea13a1046403b4d", "size": "4002", ...
// Copyright 2020 Google Inc. // // 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...
{ "content_hash": "7f9893468cd2691281c17585f1a978ce", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 85, "avg_line_length": 32.97560975609756, "alnum_prop": 0.6863905325443787, "repo_name": "GoogleCloudPlatform/dotnet-docs-samples", "id": "1c8be10ca2d2a77b3da28b144bfa994f346...
<?xml version="1.0" encoding="UTF-8"?> <!-- File: *RCSfile* Version: *Revision* Modified: *Date* (c) Copyright 2005-2014 by Mentor Graphics Corp. All rights reserved. ======================================================================== Licensed under the Apache License, Version 2.0 (the "L...
{ "content_hash": "cade510aa58063f327b9e94279f97f5c", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 150, "avg_line_length": 55.15151515151515, "alnum_prop": 0.7142857142857143, "repo_name": "kirisma/bridgepoint", "id": "05b88d84feea91d5d3caf3b8edd97930b2a321d1", "size": "...
package org.exem.flamingo.shared.util; import ch.qos.logback.ext.spring.web.WebLogbackConfigurer; import org.apache.commons.io.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import java.io.InputStream; import java.util.E...
{ "content_hash": "a3a5a3c4f66629d96317e2cfe673832b", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 155, "avg_line_length": 39.77914110429448, "alnum_prop": 0.5902220851326342, "repo_name": "EXEM-OSS/flamingo", "id": "53e422ffd2388d698d1b06f31568067fd7332454", "size": "6...
#ifndef PWENTRYV4_H_ #define PWENTRYV4_H_ #include "db/PwEntry.h" #include "db/v4/DefsV4.h" #include "db/v4/PwMetaV4.h" #include "crypto/CryptoManager.h" #include "util/ProgressObserver.h" #include <QMetaType> #include <QList> #include <bb/cascades/DataModel> #include <bb/cascades/QListDataModel> #include <QtXml/QXm...
{ "content_hash": "304e453edbab9be8aad95b0e1d1efe06", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 142, "avg_line_length": 35.77642276422764, "alnum_prop": 0.7196909442108851, "repo_name": "anmipo/keepassb", "id": "8549d454347c3e01b3561fb42959df502d7d7a73", "size": "890...
<!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_51) on Tue Aug 27 20:57:12 WEST 2013 --> <TITLE> Uses of Class net.floodlightcontroller.linkdiscovery.internal.LinkDiscoveryManager.MACRange </TITLE>...
{ "content_hash": "15c6a481fc3a0d9f1d0b28e5ebe79a11", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 432, "avg_line_length": 48.43888888888889, "alnum_prop": 0.6616584470696181, "repo_name": "fbotelho-university-code/poseidon", "id": "bdb00594d25082b6028accc9504bbe3225767ff...
from __future__ import absolute_import import exceptions import os import re import traceback import unittest from util import * _debug_mode = False class DebuggerTestCase(unittest.TestCase): def __init__(self,progname): self._progname = progname def setUp(self): self._debugger = Debugger() self._pr...
{ "content_hash": "efb835548f630ab88735d14dad31732a", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 92, "avg_line_length": 29.19375, "alnum_prop": 0.5690430314707772, "repo_name": "natduca/ndbg", "id": "8dd586073d9243b9ed5796c88d4a5e5e66a9082e", "size": "5247", "binary...
#region Using directives using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using Axiom.Animating; using Axiom.Core; using Axiom.Graphics; using Axiom.MathLib; using Axiom.Utility; using Axiom.Input; using Axiom.Configuration; #endregion namespace Multiverse.Base { publi...
{ "content_hash": "35965faf7eb5aa8e1f3520a72f9e3946", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 98, "avg_line_length": 29.759615384615383, "alnum_prop": 0.6646203554119547, "repo_name": "longde123/MultiversePlatform", "id": "8b2f3737c9dbf01e2fef9a8d75052b18aa672a99", ...